我的提问的文本状态改为标准状态

This commit is contained in:
zhoulingpo
2023-12-06 10:23:00 +08:00
parent 6ec8a1657f
commit 623575fa16
@@ -1035,7 +1035,7 @@
<el-table-column
prop="textStatus"
width="110"
label="文本状态">
label="标准状态">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus]
@@ -1150,7 +1150,7 @@
<el-table-column
prop="textStatus"
width="110"
label="文本状态">
label="标准状态">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus]
@@ -1224,7 +1224,7 @@
<el-table-column
show-overflow-tooltip
prop="standStatusShow"
label="文本状态"
label="标准状态"
width="110"
>
<template slot-scope="scope">
@@ -1322,7 +1322,7 @@ export default {
validFlag: '0',
menuId: 'nomenu'
},
textStatusMap: {},// 文本状态id与name对应
textStatusMap: {},// 标准状态id与name对应
textState: [],
standModel: false,
lawInfoTableLoading: true,
@@ -1415,8 +1415,8 @@ export default {
_this: this,
loading: "loading"
}, res => {
this.setMap(res.data.WBZTCLASS);// 文本状态
this.textState = res.data.WBZTCLASS // 文本状态
this.setMap(res.data.WBZTCLASS);// 标准状态
this.textState = res.data.WBZTCLASS // 标准状态
this.pubOptions = res.data.DYGGWT //问答公共问题
}, e => {
});
@@ -1530,7 +1530,7 @@ export default {
});
window.open(routeUrl.href, "_blank");
},
// 将文本状态的id与name对应
// 将标准状态的id与name对应
setMap(data) {
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)