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