|
|
@@ -843,13 +843,15 @@ export default {
|
|
|
return 90
|
|
|
} else if (value.includes('9')) {
|
|
|
return 100
|
|
|
+ } else if (value.includes('0')) {
|
|
|
+ return 0
|
|
|
}
|
|
|
},
|
|
|
// 不符合项条款统计数据
|
|
|
getNoData (arr, type, callBlack) {
|
|
|
const firstArr = []
|
|
|
let secondArr = []
|
|
|
-
|
|
|
+
|
|
|
arr.forEach((it) => {
|
|
|
const newBianhao = it.tiao_kuan_bian_ha.split('.')[0]
|
|
|
if (firstArr.length == 0) {
|
|
|
@@ -880,7 +882,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
type === 'CMA' ? (this.cmaSuorce = firstArr) : (this.source = firstArr)
|
|
|
callBlack()
|
|
|
},
|
|
|
@@ -969,7 +971,7 @@ export default {
|
|
|
} else if (!data.shi_fou_guo_shen_) {
|
|
|
jieduanvalue = '2'
|
|
|
} else {
|
|
|
- jieduanvalue = data.jie_dian_ren_wu_
|
|
|
+ jieduanvalue = data.jie_dian_ren_wu_ || '0'
|
|
|
}
|
|
|
this.activeIndex = this.jieduan(jieduanvalue)
|
|
|
this.jieduanValue = this.activeIndex
|
|
|
@@ -992,7 +994,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this_.$nextTick(() => {
|
|
|
- console.log('this_.CNASTableData', this_.CNASTableData, this_.getLoadEchartsTwo)
|
|
|
+ console.log('this_.CNASTableData', this_.CNASTableData, this_.getLoadEchartsTwo)
|
|
|
if (this_.CNASTableData.length > 0) {
|
|
|
this_.getNoData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsTwo)
|
|
|
this_.getPieData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsthree)
|