手机端详情的文本状态改为标准状态
This commit is contained in:
@@ -133,10 +133,10 @@ export default {
|
||||
loading: true,
|
||||
page: 1,
|
||||
standList: [],
|
||||
standStateOptions: [], //标准文本状态
|
||||
lawsTextStateOptions: [], //政策文本状态
|
||||
standStateOptions: [], //标准标准状态
|
||||
lawsTextStateOptions: [], //政策标准状态
|
||||
standNatureOptions: [],
|
||||
textStatusMap: {},// 文本状态id与name对应
|
||||
textStatusMap: {},// 标准状态id与name对应
|
||||
natureMap:{},
|
||||
lawsMap:{},
|
||||
textStatus: '现行有效',
|
||||
@@ -587,7 +587,7 @@ export default {
|
||||
back(){
|
||||
this.$router.push('/phoneHome')
|
||||
},
|
||||
//将文本状态的id和name相对应
|
||||
//将标准状态的id和name相对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label);
|
||||
@@ -625,8 +625,8 @@ export default {
|
||||
this.$http.get("sys/dictype/getDicTypeListCode", {}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 标准文本状态
|
||||
this.lawsTextStateOptions = res.data.lawsTextState //政策文本状态
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 标准标准状态
|
||||
this.lawsTextStateOptions = res.data.lawsTextState //政策标准状态
|
||||
console.log(this.lawsTextStateOptions);
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.setMap(this.standStateOptions);
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
</template>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
||||
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">标准状态</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
||||
@@ -1978,7 +1978,7 @@ export default {
|
||||
FormatDate(date) {
|
||||
return moment(date).format('YYYY-MM-DD');
|
||||
},
|
||||
// 将文本状态的id与name对应
|
||||
// 将标准状态的id与name对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
@@ -3445,7 +3445,7 @@ export default {
|
||||
this.emergyKindOptions = res.data.ENERGYTYPES
|
||||
this.requestOptions = res.data.REQUESTTYPE
|
||||
this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系
|
||||
this.setMap(res.data.WBZTCLASS) // 文本状态
|
||||
this.setMap(res.data.WBZTCLASS) // 标准状态
|
||||
this.setMap(res.data.SARPROPERTY) // 标准性质
|
||||
}, e => {
|
||||
})
|
||||
|
||||
@@ -135,8 +135,8 @@ export default {
|
||||
standList: [],
|
||||
standardReleaseList: [],
|
||||
page: 1,
|
||||
standStateOptions: [], //存放文本状态
|
||||
textStatusMap: {},// 文本状态id与name对应
|
||||
standStateOptions: [], //存放标准状态
|
||||
textStatusMap: {},// 标准状态id与name对应
|
||||
loading: true,
|
||||
scrolled: "",
|
||||
moreFlag: false,
|
||||
@@ -310,7 +310,7 @@ export default {
|
||||
console.log(e);
|
||||
});
|
||||
},
|
||||
//将文本状态的id和name相对应
|
||||
//将标准状态的id和name相对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label);
|
||||
@@ -336,7 +336,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);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -479,7 +479,7 @@
|
||||
FormatDate(date) {
|
||||
return moment(date).format('YYYY-MM-DD');
|
||||
},
|
||||
// 将文本状态的id与name对应
|
||||
// 将标准状态的id与name对应
|
||||
setMap(data) {
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
@@ -1887,7 +1887,7 @@
|
||||
this.emergyKindOptions = res.data.ENERGYTYPES
|
||||
this.requestOptions = res.data.REQUESTTYPE
|
||||
this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系
|
||||
this.setMap(res.data.WBZTCLASS) // 文本状态
|
||||
this.setMap(res.data.WBZTCLASS) // 标准状态
|
||||
this.setMap(res.data.SARPROPERTY) // 标准性质
|
||||
}, e => {
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user