修改国家标准以及公共组件的文本状态改为标准状态
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
show-overflow-tooltip
|
||||
width="130">
|
||||
<template slot-scope="scope">
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="stateName"
|
||||
label="文本状态">
|
||||
label="标准状态">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<loading :loading="replaceLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="textStatus"
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
width="130">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
@@ -191,8 +191,8 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
textStatus:'',//文本状态
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
textStatus:'',//标准状态
|
||||
textStatusMap: {}, // 标准状态id与name对应
|
||||
replaceLawsNumModel: false,
|
||||
sarBussionessLawsEO: {
|
||||
replaceLawsNum: ''
|
||||
@@ -234,12 +234,12 @@ export default {
|
||||
this.$http.get("sys/dictype/getDicTypeListCode", {}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 文本状态
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 标准状态
|
||||
this.setMap(this.standStateOptions);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 将文本状态的id与name对应
|
||||
// 将标准状态的id与name对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStatusShow"
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
width="130">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="textStatus"
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
width="130">
|
||||
<template slot-scope="scope">
|
||||
<span>
|
||||
@@ -198,8 +198,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
textStatus:'',//文本状态
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
textStatus:'',//标准状态
|
||||
textStatusMap: {}, // 标准状态id与name对应
|
||||
replaceLawsNumModel: false,
|
||||
sarBussionessLawsEO: {
|
||||
replaceLawsNum: ''
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 将文本状态的id与name对应
|
||||
// 将标准状态的id与name对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
@@ -387,7 +387,7 @@ export default {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standStateOptions = res.data.WBZTCLASS // 标准状态
|
||||
this.setMap(this.standStateOptions)
|
||||
}, e => {
|
||||
console.log("error");
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStatusShow"
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
width="130">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
Reference in New Issue
Block a user