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