feat: There is no way the,  56810 解读流程完结之后,标准详情页面的条款没有了,需要手动关联

56806 解读流程跑完之后,分解单不归档,见附件 20220727091736846
This commit is contained in:
396572590@qq.com
2022-08-05 16:32:43 +08:00
parent 0ea6ae477c
commit 286273824d
@@ -880,6 +880,9 @@
label="适用车型"
width="90"
>
<template slot-scope="scope">
{{filterApplyArctic(scope.row)}}
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- prop="responsibleUnit"-->
@@ -2096,6 +2099,14 @@ export default {
props: {},
watch: {},
methods: {
filterApplyArctic(row){
console.log(row)
if(row.applyArctic){
return row.applyArctic.replaceAll('\"', '').replaceAll('\[', '').replaceAll('\]', '')
}else {
return ""
}
},
handleChangeList(data){
this.handleList = data
},
@@ -3139,28 +3150,19 @@ export default {
},
// 分解单----查看标准条款相关
selectSarStandItems(id, flag) {
this.tableLoading = true
this.standItemSearch.standId = this.sarStandardsInfoEO.id
this.standItemSearch.fileType = this.fileType
console.log("---------------------------------------------")
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
...this.standItemSearch,
pageSize: this.pageSize7, page: this.page7, order: this.order, orderBy: this.orderBy
}, {}, res => {
this.selectedItemList = []
if (res.ok) {
res.data.list.forEach(item => {
let k = (item.applyArctic || "").split(',')
for (let i in this.applyArcticOptions.options) {
for (let m = 0; m < k.length; m++) {
if (this.applyArcticOptions.options[i].value === k[m]) {
k[m] = this.applyArcticOptions.options[i].label
}
item.applyArctic = k.join(',')
}
}
item.applyArctic = item.applyArctic.replaceAll('\"', '').replaceAll('\[', '').replaceAll('\]', '')
})
if (res.data) {
this.standItemList = res.data.list;
this.total7 = res.data.count // 分页需要
this.tableLoading = false
}
}, e => {
})