外部署名推荐审批流程的文本状态改为标准状态

This commit is contained in:
zhoulingpo
2023-12-06 16:11:05 +08:00
parent 729a299ec1
commit 8351839bec
3 changed files with 6 additions and 6 deletions
@@ -418,7 +418,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -423,7 +423,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -312,7 +312,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="textStatus" prop="textStatus"
align="center" align="center"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template> </template>
@@ -403,7 +403,7 @@ export default {
item: "FOREIGN" item: "FOREIGN"
} }
], ],
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
standList:[], standList:[],
//查询添加标准相关数据 //查询添加标准相关数据
standardSearch: { standardSearch: {
@@ -461,7 +461,7 @@ export default {
_this:this _this:this
},res =>{ },res =>{
this.standOptions = res.data.STANDCLASSIFY this.standOptions = res.data.STANDCLASSIFY
this.standStateOptions = res.data.WBZTCLASS; // 文本状态 this.standStateOptions = res.data.WBZTCLASS; // 标准状态
this.setMap(this.standStateOptions); this.setMap(this.standStateOptions);
}, e => { }, e => {
}) })
@@ -540,7 +540,7 @@ export default {
}); });
} }
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label); this.$set(this.textStatusMap, item.value, item.label);