修改国家标准以及公共组件的文本状态改为标准状态

This commit is contained in:
zhoulingpo
2023-12-05 17:19:16 +08:00
parent 1f3593569f
commit 60835fdb45
@@ -288,10 +288,10 @@
<el-table-column
prop="textStatus"
width="110"
label="文本状态">
label="标准状态">
<!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>-->
<!-- </template>-->
<template slot-scope="scope">
@@ -466,7 +466,7 @@
:options="standSortOptions"
clearable/>
</el-form-item>
&lt;!&ndash; 文本状态&ndash;&gt;
&lt;!&ndash; 标准状态&ndash;&gt;
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
<el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
@@ -589,7 +589,7 @@
<el-input v-model="sarStandardsSearch.standEnName"
:placeholder="$t('m.searchAccordingToStandardEnglishName')" clearable :maxlength="500"></el-input>
</el-form-item>
<!-- 文本状态-->
<!-- 标准状态-->
<el-form-item :label="$t('m.standStateShow')" class="add-form-item form-item-disabled">
<el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable>
<el-option v-for="opt in standStateOptions" :value="opt.value === undefined ? '' :opt.value"
@@ -1015,9 +1015,9 @@
</el-select>
</el-form-item>-->
<el-form-item prop="standState" label-width="150px" class="add-form-item">
<template slot="label">文本状态</template>
<template slot="label">标准状态</template>
<el-select v-model="sarStandardsInfoEO.textStatus"
placeholder="请选择文本状态"
placeholder="请选择标准状态"
clearable>
<el-option
v-for="opt in standStateOptions"
@@ -1367,7 +1367,7 @@
</el-table-column>
<el-table-column
prop="textStatus"
label="文本状态"
label="标准状态"
width="130"
align="center">
<template slot-scope="scope">
@@ -1585,7 +1585,7 @@
</el-table-column>
<el-table-column
prop="textStatus"
label="文本状态"
label="标准状态"
width="100"
align="center">
<template slot-scope="scope">
@@ -1956,7 +1956,7 @@ export default {
modalshowflagRole: false,
modalshowflagZRBM: false,
textStatusMap: {}, // 文本状态id与name对应
textStatusMap: {}, // 标准状态id与name对应
treeList: [],
props: {
label: 'menuName',
@@ -2033,7 +2033,7 @@ export default {
standState: '',
standNature: '',//标准性质
synopsis: '', // 内容摘要
textStatus: '',//文本状态
textStatus: '',//标准状态
CLLX: ''
},
//高级搜索映射
@@ -2471,7 +2471,7 @@ export default {
{type: 'string', max: 500, message: '中文名称不能超过500个字符', trigger: 'change'}
],
textStatus: [
{required: true, message: '文本状态不能为空', trigger: 'change'}
{required: true, message: '标准状态不能为空', trigger: 'change'}
],
replaceStandNum: [
{type: 'string', max: 100, message: '代替标准编号不能超过100个字符', trigger: 'change'}
@@ -2831,7 +2831,7 @@ export default {
popoverCarHideModelCancel() {
this.modalShowFlag5 = false
},
// 将文本状态的id与name对应
// 将标准状态的id与name对应
setMap(data) {
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)
@@ -5573,7 +5573,7 @@ export default {
this.nylxOptions.options = res.data.NYLXCLASS;//能源类型
this.syrzOptions.options = res.data.SYRZCLASS;//适用认证
this.gkglbmOptions = res.data.GKGLBM;//归口管理部门
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standStateOptions = res.data.WBZTCLASS // 标准状态
// 模块结构单元变型号
this.dybxhOptions.options = res.data.DYBXH