|
@@ -124,6 +124,7 @@
|
|
<table class="table table-bordered text-center table-striped">
|
|
<table class="table table-bordered text-center table-striped">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
|
|
+ <th>名次</th>
|
|
<th @click="useId">人员</th>
|
|
<th @click="useId">人员</th>
|
|
<th @click="usePass">良品</th>
|
|
<th @click="usePass">良品</th>
|
|
<th @click="useFail">坏品</th>
|
|
<th @click="useFail">坏品</th>
|
|
@@ -132,7 +133,8 @@
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody class="table-rank-0">
|
|
<tbody class="table-rank-0">
|
|
- <tr v-for="one in parto">
|
|
|
|
|
|
+ <tr v-for="one in parto" v-bind:class="{'red-bar' : one.isRed, 'green-bar': one.isGreen}">
|
|
|
|
+ <td>{{one.seq+1}}</td>
|
|
<td>{{one.workerName}}</td>
|
|
<td>{{one.workerName}}</td>
|
|
<td>{{one.passNum}}</td>
|
|
<td>{{one.passNum}}</td>
|
|
<td>{{one.failNum}}</td>
|
|
<td>{{one.failNum}}</td>
|