标准评估的文本状态改为标准状态
This commit is contained in:
@@ -362,7 +362,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
label="文本状态">
|
label="标准状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -690,7 +690,7 @@ export default {
|
|||||||
showColumn: true,
|
showColumn: true,
|
||||||
taskID: '',
|
taskID: '',
|
||||||
bpnId: '',
|
bpnId: '',
|
||||||
textStatusMap: {}// 文本状态id与name对应
|
textStatusMap: {}// 标准状态id与name对应
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -1294,7 +1294,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.getStandData();
|
this.getStandData();
|
||||||
},
|
},
|
||||||
// 将文本状态的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);
|
||||||
@@ -1356,7 +1356,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.countryOptions = res.data.COUNTRY;
|
this.countryOptions = res.data.COUNTRY;
|
||||||
this.standStateOptions = res.data.WBZTCLASS; // 文本状态
|
this.standStateOptions = res.data.WBZTCLASS; // 标准状态
|
||||||
this.setMap(this.standStateOptions);
|
this.setMap(this.standStateOptions);
|
||||||
});
|
});
|
||||||
this.getTree();
|
this.getTree();
|
||||||
|
|||||||
Reference in New Issue
Block a user