|
@@ -44,7 +44,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<el-table :data="CNASTableData" :border="true" style="width: 90%;margin: 0 auto;">
|
|
<el-table :data="CNASTableData" :border="true" style="width: 90%;margin: 0 auto;">
|
|
|
<!-- <el-table-column type="index" width="30" align="center"/> -->
|
|
<!-- <el-table-column type="index" width="30" align="center"/> -->
|
|
|
- <el-table-column type="index" width="40" :align="center">
|
|
|
|
|
|
|
+ <el-table-column type="index" width="40" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.$index+1 }} </span>
|
|
<span>{{ scope.$index+1 }} </span>
|
|
|
</template>
|
|
</template>
|
|
@@ -850,6 +850,7 @@ export default {
|
|
|
const firstArr = []
|
|
const firstArr = []
|
|
|
let secondArr = []
|
|
let secondArr = []
|
|
|
arr.forEach((it) => {
|
|
arr.forEach((it) => {
|
|
|
|
|
+ const newBianhao = it.tiao_kuan_bian_ha.split('.')[0]
|
|
|
if (firstArr.length == 0) {
|
|
if (firstArr.length == 0) {
|
|
|
secondArr.push('score')
|
|
secondArr.push('score')
|
|
|
secondArr.push('不符合项')
|
|
secondArr.push('不符合项')
|
|
@@ -858,21 +859,19 @@ export default {
|
|
|
secondArr = []
|
|
secondArr = []
|
|
|
secondArr.push(1)
|
|
secondArr.push(1)
|
|
|
secondArr.push(1)
|
|
secondArr.push(1)
|
|
|
- secondArr.push(it.tiao_kuan_bian_ha)
|
|
|
|
|
|
|
+ secondArr.push(newBianhao)
|
|
|
firstArr.push(secondArr)
|
|
firstArr.push(secondArr)
|
|
|
secondArr = []
|
|
secondArr = []
|
|
|
} else {
|
|
} else {
|
|
|
for (var i in firstArr) {
|
|
for (var i in firstArr) {
|
|
|
- const a = firstArr[i][2]
|
|
|
|
|
- const b = it.tiao_kuan_bian_ha
|
|
|
|
|
- if (firstArr[i][2] == it.tiao_kuan_bian_ha) {
|
|
|
|
|
|
|
+ if (firstArr[i][2] == newBianhao) {
|
|
|
firstArr[i][0] = firstArr[i][0] + 1
|
|
firstArr[i][0] = firstArr[i][0] + 1
|
|
|
firstArr[i][1] = firstArr[i][1] + 1
|
|
firstArr[i][1] = firstArr[i][1] + 1
|
|
|
break
|
|
break
|
|
|
} else if (i == firstArr.length - 1) {
|
|
} else if (i == firstArr.length - 1) {
|
|
|
secondArr.push(1)
|
|
secondArr.push(1)
|
|
|
secondArr.push(1)
|
|
secondArr.push(1)
|
|
|
- secondArr.push(it.tiao_kuan_bian_ha)
|
|
|
|
|
|
|
+ secondArr.push(newBianhao)
|
|
|
firstArr.push(secondArr)
|
|
firstArr.push(secondArr)
|
|
|
secondArr = []
|
|
secondArr = []
|
|
|
break
|
|
break
|