标准入库的文本状态改为标准状态

This commit is contained in:
zhoulingpo
2023-12-06 10:40:49 +08:00
parent 623575fa16
commit 249720c67a
5 changed files with 39 additions and 39 deletions
@@ -189,8 +189,8 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="verifySarStandard" label="文本状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select :disabled="disabledXX" :popper-append-to-body="false" v-model="form.textStatus" placeholder="请选择文本状态">
<el-form-item v-if="verifySarStandard" label="标准状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select :disabled="disabledXX" :popper-append-to-body="false" v-model="form.textStatus" placeholder="请选择标准状态">
<template v-if="form.standInData === '0'">
<el-option
v-for="item in standStateOptions0"
@@ -1318,7 +1318,7 @@
</el-table-column>
<el-table-column
prop="textStatus"
label="文本状态"
label="标准状态"
width="130">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
@@ -1485,7 +1485,7 @@
</el-table-column>
<el-table-column
prop="textStatus"
label="文本状态"
label="标准状态"
align="center"
min-width="30">
<template slot-scope="scope">
@@ -1653,7 +1653,7 @@
glwjFileList: [],
nodeList5: [],
filterText: '',
textStatusMap: {}, // 文本状态id与name对应
textStatusMap: {}, // 标准状态id与name对应
standardDrawer: false,
loadSarStandard: false,
verifySarStandard: false,
@@ -1770,7 +1770,7 @@
standId: '',
// 基础信息
country: '',
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: '0', // 标准类型
standSort: '', // 标准类别
@@ -1899,7 +1899,7 @@
{required: true, message: '请选择标准性质', trigger: 'change'}
],
textStatus: [
{required: true, message: '请选择文本状态', trigger: 'change'}
{required: true, message: '请选择标准状态', trigger: 'change'}
]
,
issueTime: [
@@ -1911,8 +1911,8 @@
countryOptions: [],//国家地区
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions0: [], // 文本状态 - 国内
standStateOptions1: [], // 文本状态 - 海外
standStateOptions0: [], // 标准状态 - 国内
standStateOptions1: [], // 标准状态 - 海外
standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构
busVppsChildOptions: [], // 车系体系架构子集合
@@ -2021,7 +2021,7 @@
this.form = {
// 基础信息
country: '',
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: val, // 标准类型
standSort: '', // 标准类别
@@ -2218,7 +2218,7 @@
this.form = {
// 基础信息
country: '',
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: val, // 标准类型
standSort: '', // 标准类别
@@ -2412,7 +2412,7 @@
})
},
// 将文本状态的id与name对应
// 将标准状态的id与name对应
setMap(data) {
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)
@@ -2432,7 +2432,7 @@
standEnName: this.form.standEnName, // 英文名称
standName: this.form.standName, // 中文名称
signFlag: '2', // 是否需要会签
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
// standInData: data.standInData ? data.standInData : '0', // 标准类型
// standSort: data.standSort ? data.standSort : '', // 标准类别
@@ -3900,7 +3900,7 @@
standOptions.push(item)
}
})
this.standStateOptions0 = standOptions // 文本状态
this.standStateOptions0 = standOptions // 标准状态
this.standStateOptions1 = res.data.WBZTCLASS
// this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
@@ -90,8 +90,8 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="文本状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择文本状态" disabled>
<el-form-item label="标准状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择标准状态" disabled>
<el-option
v-for="item in standStateOptions"
placeholder="请选择"
@@ -910,7 +910,7 @@ export default {
defaultCheckedKeys: [],
form: {
// 基础信息
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: '0', // 标准类型
standSort: '', // 标准类别
@@ -1013,7 +1013,7 @@ export default {
modelOptions: [], // 模块体系架构
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门
@@ -1419,7 +1419,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.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -89,8 +89,8 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="文本状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择文本状态" disabled>
<el-form-item label="标准状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择标准状态" disabled>
<el-option
v-for="item in standStateOptions"
placeholder="请选择"
@@ -883,7 +883,7 @@ export default {
defaultCheckedKeys: [],
form: {
// 基础信息
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: '0', // 标准类型
standSort: '', // 标准类别
@@ -980,7 +980,7 @@ export default {
modelOptions: [], // 模块体系架构
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门
@@ -1340,7 +1340,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.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -95,8 +95,8 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="文本状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择文本状态">
<el-form-item label="标准状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择标准状态">
<el-option
v-for="item in standStateOptions"
placeholder="请选择"
@@ -1545,7 +1545,7 @@
</el-table-column>
<el-table-column
prop="textStatus"
label="文本状态"
label="标准状态"
width="130">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
@@ -1639,8 +1639,8 @@ export default {
kwjFileList: [],
xdbFileList: [],
glwjFileList: [],
textStatus: '',//文本状态
textStatusMap: {}, // 文本状态id与name对应
textStatus: '',//标准状态
textStatusMap: {}, // 标准状态id与name对应
countryArr: '',
activeName: '1',
// 当前流程类型(1待办/2已办)
@@ -1754,7 +1754,7 @@ export default {
{ required: true, message: '请选择标准性质', trigger: 'change' }
],*/
textStatus: [
{required: true, message: '请选择文本状态', trigger: 'change'}
{required: true, message: '请选择标准状态', trigger: 'change'}
],
issueTime: [
{required: false, message: '请选择标准发布日期', trigger: 'change'}
@@ -1768,7 +1768,7 @@ export default {
},
form: {
// 基础信息
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: '0', // 标准类型
standSort: '', // 标准类别
@@ -1852,7 +1852,7 @@ export default {
countryOptions: [],//国家地区
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构
modelOptions: [], // 模块体系架构
@@ -3034,7 +3034,7 @@ export default {
}
})
},
// 将文本状态的id与name对应
// 将标准状态的id与name对应
setMap(data) {
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)
@@ -3057,7 +3057,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.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
@@ -90,8 +90,8 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="文本状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择文本状态" disabled>
<el-form-item label="标准状态" prop="textStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.textStatus" placeholder="请选择标准状态" disabled>
<el-option
v-for="item in standStateOptions"
placeholder="请选择"
@@ -877,7 +877,7 @@ export default {
defaultCheckedKeys: [],
form: {
// 基础信息
textStatus: '', // 文本状态
textStatus: '', // 标准状态
standYear: '', // 标准年份
standInData: '0', // 标准类型
standSort: '', // 标准类别
@@ -980,7 +980,7 @@ export default {
modelOptions: [], // 模块体系架构
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门
@@ -1381,7 +1381,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.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型