问答库的文本状态改为标准状态
This commit is contained in:
@@ -309,7 +309,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="110"
|
width="110"
|
||||||
label="文本状态">
|
label="标准状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
||||||
textStatusMap[scope.row.textStatus]
|
textStatusMap[scope.row.textStatus]
|
||||||
@@ -419,7 +419,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="110"
|
width="110"
|
||||||
label="文本状态">
|
label="标准状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
||||||
textStatusMap[scope.row.textStatus]
|
textStatusMap[scope.row.textStatus]
|
||||||
@@ -493,7 +493,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standStatusShow"
|
prop="standStatusShow"
|
||||||
label="文本状态"
|
label="标准状态"
|
||||||
width="110"
|
width="110"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -515,6 +515,8 @@
|
|||||||
<pagination
|
<pagination
|
||||||
v-show="this.lawInfoTableLoading === false"
|
v-show="this.lawInfoTableLoading === false"
|
||||||
style="position: relative;"
|
style="position: relative;"
|
||||||
|
:auto-size="true"
|
||||||
|
:page-size="handleSelectForm.pageSize"
|
||||||
:page="handleSelectForm.page"
|
:page="handleSelectForm.page"
|
||||||
:total="handleSelectForm.total"
|
:total="handleSelectForm.total"
|
||||||
@pageChange="handleSelectPageChange"
|
@pageChange="handleSelectPageChange"
|
||||||
@@ -592,14 +594,14 @@ export default {
|
|||||||
lawNumber: '', // 标准编号/政策编号
|
lawNumber: '', // 标准编号/政策编号
|
||||||
lawName: '', // 标准名称/政策名称
|
lawName: '', // 标准名称/政策名称
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: 20,
|
||||||
bpnId: '',
|
bpnId: '',
|
||||||
total: 0,
|
total: 0,
|
||||||
quoteIdList: '',
|
quoteIdList: '',
|
||||||
validFlag: '0',
|
validFlag: '0',
|
||||||
menuId: 'nomenu'
|
menuId: 'nomenu'
|
||||||
},
|
},
|
||||||
textStatusMap: {},// 文本状态id与name对应
|
textStatusMap: {},// 标准状态id与name对应
|
||||||
textState: [],
|
textState: [],
|
||||||
DYGGWT: [],
|
DYGGWT: [],
|
||||||
standModel: false,
|
standModel: false,
|
||||||
@@ -678,8 +680,8 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: "loading"
|
loading: "loading"
|
||||||
}, res => {
|
}, res => {
|
||||||
this.setMap(res.data.WBZTCLASS);// 文本状态
|
this.setMap(res.data.WBZTCLASS);// 标准状态
|
||||||
this.textState = res.data.WBZTCLASS // 文本状态
|
this.textState = res.data.WBZTCLASS // 标准状态
|
||||||
this.pubOptions = res.data.DYGGWT //问答公共问题
|
this.pubOptions = res.data.DYGGWT //问答公共问题
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -792,7 +794,7 @@ export default {
|
|||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
},
|
},
|
||||||
// 将文本状态的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)
|
||||||
|
|||||||
@@ -471,7 +471,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="110"
|
width="110"
|
||||||
label="文本状态">
|
label="标准状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
|
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
|
||||||
textStatusMap[scope.row.textStatus]
|
textStatusMap[scope.row.textStatus]
|
||||||
@@ -581,7 +581,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="110"
|
width="110"
|
||||||
label="文本状态">
|
label="标准状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
|
||||||
textStatusMap[scope.row.textStatus]
|
textStatusMap[scope.row.textStatus]
|
||||||
@@ -655,7 +655,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standStatusShow"
|
prop="standStatusShow"
|
||||||
label="文本状态"
|
label="标准状态"
|
||||||
width="110"
|
width="110"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -736,7 +736,7 @@ export default {
|
|||||||
validFlag: '0',
|
validFlag: '0',
|
||||||
menuId: 'nomenu'
|
menuId: 'nomenu'
|
||||||
},
|
},
|
||||||
textStatusMap: {},// 文本状态id与name对应
|
textStatusMap: {},// 标准状态id与name对应
|
||||||
textState: [],
|
textState: [],
|
||||||
DYGGWT: [],
|
DYGGWT: [],
|
||||||
standModel: false,
|
standModel: false,
|
||||||
@@ -814,8 +814,8 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: "loading"
|
loading: "loading"
|
||||||
}, res => {
|
}, res => {
|
||||||
this.setMap(res.data.WBZTCLASS);// 文本状态
|
this.setMap(res.data.WBZTCLASS);// 标准状态
|
||||||
this.textState = res.data.WBZTCLASS // 文本状态
|
this.textState = res.data.WBZTCLASS // 标准状态
|
||||||
this.pubOptions = res.data.DYGGWT //问答公共问题
|
this.pubOptions = res.data.DYGGWT //问答公共问题
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -863,7 +863,7 @@ export default {
|
|||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
},
|
},
|
||||||
// 将文本状态的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)
|
||||||
|
|||||||
Reference in New Issue
Block a user