|
@@ -120,21 +120,23 @@
|
|
|
<div class="col-md-9 text-white" style="height: 30vh" id="redrank">
|
|
|
<div class="text-center text-lg big-letter" @click="clicktitle">{{title}}</div>
|
|
|
<div class="row">
|
|
|
- <div class="col-md-3" v-for="parto in parting">
|
|
|
+ <div class="col-md-4" v-for="parto in parting">
|
|
|
<table class="table table-bordered text-center table-striped">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th>人员</th>
|
|
|
- <th>良品</th>
|
|
|
- <th>坏品</th>
|
|
|
- <th>不良率</th>
|
|
|
+ <th @click="useId">人员</th>
|
|
|
+ <th @click="usePass">良品</th>
|
|
|
+ <th @click="useFail">坏品</th>
|
|
|
+ <th @click="useTotal">总量</th>
|
|
|
+ <th @click="useRate">不良率</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody class="table-rank-0">
|
|
|
<tr v-for="one in parto">
|
|
|
<td>{{one.workerName}}</td>
|
|
|
- <td>{{one.failNum}}</td>
|
|
|
<td>{{one.passNum}}</td>
|
|
|
+ <td>{{one.failNum}}</td>
|
|
|
+ <td>{{one.totalNum}}</td>
|
|
|
<td>{{one.failRate}} %</td>
|
|
|
</tr>
|
|
|
</tbody>
|