手机端 标准入库 标准清单发布
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
show-overflow-tooltip
|
||||
prop="textStatus"
|
||||
width="80px"
|
||||
label="文本状态">
|
||||
label="标准状态">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="dict.WBZTCLASS && dict.WBZTCLASS.length > 0 && scope.row.textStatus && scope.row.textStatus!== ''">
|
||||
{{ dict.WBZTCLASS.find(item => item.value === scope.row.textStatus).label }}
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
:disabled="disabled"
|
||||
></DatePickerFormItem>
|
||||
<SelectFormItem
|
||||
label="文本状态"
|
||||
label="标准状态"
|
||||
prop="textStatus"
|
||||
v-model="form.textStatus"
|
||||
:options="dict.WBZTCLASS || []"
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<van-field label="文本状态" v-model="textStatusMap[form.textStatus]" readonly />
|
||||
<van-field label="标准状态" v-model="textStatusMap[form.textStatus]" readonly />
|
||||
<el-form-item label="标准发布日期" prop="issueTime" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
@@ -462,7 +462,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
commentText: '',
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
textStatusMap: {}, // 标准状态id与name对应
|
||||
xgdFileMap: [],
|
||||
fbgbjbdFileMap: [],
|
||||
fbgywbdFileMap: [],
|
||||
@@ -518,7 +518,7 @@ export default {
|
||||
defaultCheckedKeys: [],
|
||||
form: {
|
||||
// 基础信息
|
||||
textStatus: '', // 文本状态
|
||||
textStatus: '', // 标准状态
|
||||
standYear: '', // 标准年份
|
||||
standInData: '0', // 标准类型
|
||||
standSort: '', // 标准类别
|
||||
@@ -618,7 +618,7 @@ export default {
|
||||
modelOptions: [], // 模块体系架构
|
||||
standSortOptions: [], // 标准类别
|
||||
standNatureOptions: [], // 标准性质
|
||||
standStateOptions: [], // 文本状态
|
||||
standStateOptions: [], // 标准状态
|
||||
standSystemOptions: [], // 标准体系
|
||||
applyArcticOptions: [], // 适用车型
|
||||
gkglbmOptions: [], // 归口管理部门
|
||||
@@ -652,7 +652,7 @@ export default {
|
||||
TreeSelect
|
||||
},
|
||||
methods: {
|
||||
// 将文本状态的id与name对应
|
||||
// 将标准状态的id与name对应
|
||||
setMap(data){
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
@@ -979,7 +979,7 @@ export default {
|
||||
this.countryOptions = res.data.COUNTRY//国家地区
|
||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standStateOptions = res.data.WBZTCLASS // 标准状态
|
||||
this.setMap(this.standStateOptions)
|
||||
// this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
|
||||
|
||||
Reference in New Issue
Block a user