政策入库 文本状态---标准状态

This commit is contained in:
zhoulingpo
2023-12-07 17:08:16 +08:00
parent 3f40228d09
commit 056be8c9e8
6 changed files with 35 additions and 35 deletions
@@ -3883,7 +3883,7 @@
standOptions.push(item) standOptions.push(item)
} }
}) })
this.standStateOptions0 = standOptions // 文本状态 this.standStateOptions0 = standOptions // 标准状态
this.standStateOptions1 = res.data.WBZTCLASS this.standStateOptions1 = res.data.WBZTCLASS
this.standSystemOptions = res.data.BZTXCLASS // 标准体系 this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
@@ -42,7 +42,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="标准状态" prop="lawsTextState" class="add-form-item form-item-disabled"> <el-form-item label="标准状态" prop="lawsTextState" class="add-form-item form-item-disabled">
<el-select :disabled="disabledXX" :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择文本状态"> <el-select :disabled="disabledXX" :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择标准状态">
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
placeholder="请选择" placeholder="请选择"
@@ -137,7 +137,7 @@
type="primary" type="primary"
:loading="loadSarStandard" :loading="loadSarStandard"
@click="handleSearchStandard"> @click="handleSearchStandard">
根据编号、名称、文本状态查询 根据编号、名称、标准状态查询
</el-button> </el-button>
</el-form-item> </el-form-item>
<el-form-item v-show="verifySarStandard" label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled">
@@ -704,7 +704,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
label="文本状态" label="标准状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.standStatusShow }}</span> <span>{{ scope.row.standStatusShow }}</span>
@@ -802,7 +802,7 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-formItem label="文本状态" prop="lawsTextState" class="search-item"> <el-formItem label="标准状态" prop="lawsTextState" class="search-item">
<el-select :disabled="disabledXX" v-model="standardSearchForm.lawsTextState" filterable clearable> <el-select :disabled="disabledXX" v-model="standardSearchForm.lawsTextState" filterable clearable>
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
@@ -877,7 +877,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
label="文本状态" label="标准状态"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.standStatusShow }}</span> <span>{{ scope.row.standStatusShow }}</span>
@@ -1019,7 +1019,7 @@
kwjFileList: [], kwjFileList: [],
glwjFileList: [], glwjFileList: [],
filterText:'', filterText:'',
textStatusMap: {}, // 文本状态id与name对应 textStatusMap: {}, // 标准状态id与name对应
standardDrawer: false, standardDrawer: false,
loadSarStandard: false, loadSarStandard: false,
verifySarStandard: false, verifySarStandard: false,
@@ -1232,7 +1232,7 @@
{type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'} {type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'}
], ],
lawsTextState: [ lawsTextState: [
{required: true, message: '文本状态不能为空', trigger: 'change'} {required: true, message: '标准状态不能为空', trigger: 'change'}
], ],
isRelateAccess: [ isRelateAccess: [
{required: true, message: '是否纳入认证清单不能为空', trigger: 'change'} {required: true, message: '是否纳入认证清单不能为空', trigger: 'change'}
@@ -1276,7 +1276,7 @@
{ required: true, message: '请选择标准性质', trigger: 'change' } { required: true, message: '请选择标准性质', trigger: 'change' }
], ],
textStatus: [ textStatus: [
{ required: true, message: '请选择文本状态', trigger: 'change' } { required: true, message: '请选择标准状态', trigger: 'change' }
] ]
, ,
issueTime: [ issueTime: [
@@ -1294,7 +1294,7 @@
countryOptions:[],//国家地区 countryOptions:[],//国家地区
standSortOptions: [], // 标准类别 standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质 standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态 standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系 standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构 busVppsOptions: [], // 车系体系架构
busVppsChildOptions: [], // 车系体系架构子集合 busVppsChildOptions: [], // 车系体系架构子集合
@@ -1440,7 +1440,7 @@
} }
return ""; return "";
}, },
// 将文本状态的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)
@@ -2330,7 +2330,7 @@
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.standSystemOptions = res.data.BZTXCLASS // 标准体系 // this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系 this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -60,7 +60,7 @@
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="lawsTextState" class="add-form-item form-item-disabled"> <el-form-item label="标准状态" prop="lawsTextState" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsTextState" disabled> <el-select :popper-append-to-body="false" v-model="form.lawsTextState" disabled>
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
@@ -750,7 +750,7 @@
modelOptions: [], // 模块体系架构 modelOptions: [], // 模块体系架构
standSortOptions: [], // 标准类别 standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质 standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态 standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系 standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型 applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门 gkglbmOptions: [], // 归口管理部门
@@ -1085,7 +1085,7 @@
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.standSystemOptions = res.data.BZTXCLASS // 标准体系 // this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系 this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -41,8 +41,8 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="lawsTextState" class="add-form-item form-item-disabled"> <el-form-item label="标准状态" prop="lawsTextState" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择文本状态"> <el-select :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择标准状态">
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
placeholder="请选择" placeholder="请选择"
@@ -136,7 +136,7 @@
<!-- type="primary"--> <!-- type="primary"-->
<!-- :loading="loadSarStandard"--> <!-- :loading="loadSarStandard"-->
<!-- @click="handleSearchStandard">--> <!-- @click="handleSearchStandard">-->
<!-- 根据编号、名称、文本状态查询--> <!-- 根据编号、名称、标准状态查询-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item v-show="verifySarStandard" label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled">
@@ -743,7 +743,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
label="文本状态" label="标准状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ textStatusMap[scope.row.textStatus] }}</span>
@@ -849,7 +849,7 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-formItem label="文本状态" prop="lawsTextState" class="search-item"> <el-formItem label="标准状态" prop="lawsTextState" class="search-item">
<el-select v-model="standardSearchForm.lawsTextState" filterable clearable> <el-select v-model="standardSearchForm.lawsTextState" filterable clearable>
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
@@ -922,7 +922,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
label="文本状态" label="标准状态"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.standStatusShow }}</span> <span>{{ scope.row.standStatusShow }}</span>
@@ -1070,7 +1070,7 @@
kwjFileList: [], kwjFileList: [],
glwjFileList: [], glwjFileList: [],
filterText:'', filterText:'',
textStatusMap: {}, // 文本状态id与name对应 textStatusMap: {}, // 标准状态id与name对应
standardDrawer: false, standardDrawer: false,
loadSarStandard: false, loadSarStandard: false,
verifySarStandard: true, verifySarStandard: true,
@@ -1284,7 +1284,7 @@
{type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'} {type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'}
], ],
lawsTextState: [ lawsTextState: [
{required: true, message: '文本状态不能为空', trigger: 'change'} {required: true, message: '标准状态不能为空', trigger: 'change'}
], ],
isRelateAccess: [ isRelateAccess: [
{required: true, message: '是否纳入认证清单不能为空', trigger: 'change'} {required: true, message: '是否纳入认证清单不能为空', trigger: 'change'}
@@ -1328,7 +1328,7 @@
{ required: true, message: '请选择标准性质', trigger: 'change' } { required: true, message: '请选择标准性质', trigger: 'change' }
], ],
textStatus: [ textStatus: [
{ required: true, message: '请选择文本状态', trigger: 'change' } { required: true, message: '请选择标准状态', trigger: 'change' }
] ]
, ,
issueTime: [ issueTime: [
@@ -1346,7 +1346,7 @@
countryOptions:[],//国家地区 countryOptions:[],//国家地区
standSortOptions: [], // 标准类别 standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质 standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态 standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系 standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构 busVppsOptions: [], // 车系体系架构
busVppsChildOptions: [], // 车系体系架构子集合 busVppsChildOptions: [], // 车系体系架构子集合
@@ -1583,7 +1583,7 @@
this.roleForm = mesg.roleForm this.roleForm = mesg.roleForm
this.commentText = mesg.commentText this.commentText = mesg.commentText
}, },
// 将文本状态的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)
@@ -2441,7 +2441,7 @@
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.standSystemOptions = res.data.BZTXCLASS // 标准体系 // this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系 this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -60,7 +60,7 @@
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="lawsTextState" class="add-form-item form-item-disabled"> <el-form-item label="标准状态" prop="lawsTextState" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsTextState" disabled> <el-select :popper-append-to-body="false" v-model="form.lawsTextState" disabled>
<el-option <el-option
v-for="item in lawsTextStateOptions" v-for="item in lawsTextStateOptions"
@@ -623,7 +623,7 @@
}, // 标准信息 }, // 标准信息
standSortOptions: [], // 标准类别 standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质 standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态 standStateOptions: [], // 标准状态
standSystemOptions: [], // 标准体系 standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型 applyArcticOptions: [], // 适用车型
categoryOptions: [], // 能源类型 categoryOptions: [], // 能源类型
@@ -873,7 +873,7 @@
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.standSystemOptions = res.data.BZTXCLASS // 标准体系 // this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.standSystemOptions = res.data.TXLBBUSS // 标准体系 this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
@@ -102,7 +102,7 @@
prop="textStatus" prop="textStatus"
width="100px" width="100px"
align="center" align="center"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template> </template>
@@ -220,7 +220,7 @@ export default {
newCarTime: "", //新车型实施日期 newCarTime: "", //新车型实施日期
oldCarTime: "", //在产车实施日期 oldCarTime: "", //在产车实施日期
applyCar: "", //适用车型 applyCar: "", //适用车型
textState: "", //文本状态 textState: "", //标准状态
id: "" id: ""
}] }]
}, },
@@ -236,7 +236,7 @@ export default {
user4: "", user4: "",
user5: "", user5: "",
standMap: new Map(), standMap: new Map(),
textStatusMap: {}// 文本状态id与name对应 textStatusMap: {}// 标准状态id与name对应
}; };
}, },
methods: { methods: {
@@ -455,7 +455,7 @@ export default {
this.pageSize = this.$store.getters.userInfo.configContent; this.pageSize = this.$store.getters.userInfo.configContent;
this.searchData(); this.searchData();
}, },
// 将文本状态的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);
@@ -473,7 +473,7 @@ export default {
_this: this _this: this
}, res => { }, res => {
this.countryOptions = res.data.COUNTRY; this.countryOptions = res.data.COUNTRY;
this.standStateOptions = res.data.WBZTCLASS; // 文本状态 this.standStateOptions = res.data.WBZTCLASS; // 标准状态
this.setMap(this.standStateOptions); this.setMap(this.standStateOptions);
}); });
this.getData(); this.getData();