diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index a5be0b950..beb4d7667 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -264,6 +264,7 @@ export default { item.NameList = NameList }) this.data = res.data + this.total = res.data.length }) }, pageChange (page) { diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue index fb7287909..cc91e1c98 100644 --- a/src/pages/config/pages/roleManage/index.vue +++ b/src/pages/config/pages/roleManage/index.vue @@ -71,6 +71,9 @@ prop="useFlag" label="角色状态" width="170px"> + + + + + + +
@@ -243,7 +257,8 @@ export default { SuperiorRoleModel: false, addFormRules: { name: [ - { required: true, message: '请输入角色名称', trigger: 'blur' } + { required: true, message: '请输入角色名称', trigger: 'blur' }, + {type: 'string', max: 100, message: '角色名称不能超过100个字符', trigger: 'blur'} ] }, addForm: { @@ -251,8 +266,19 @@ export default { parentId: '', // 上级ID remarks: '', // 角色描述 parent: '', + useFlag: '', id: '' }, + options: [ + { + value: "0", + label: "禁用", + }, + { + value: "1", + label: "启用", + } + ], addModel: false, treeData3: [], defaultProps3: { diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index c82632dd1..97452ae8a 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -52,7 +52,7 @@ - {{ sarStandardsInfoEO.textStatus || '-' }} + {{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}

{{ sarStandardsInfoEO.issueTime || '-' }}

{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}

@@ -136,6 +136,13 @@ {{ '-' }} + + {{ child.value ? child.value.substring(0,10) : '-' }} + { + this.$set(this.textStatusMap, item.value, item.label) + }) + console.log(this.textStatusMap, '文本状态的值') + }, statusClick () { let routeUrl = this.$router.resolve({ name: 'standInvolveProjectTwo', @@ -2614,6 +2629,7 @@ export default { this.emergyKindOptions = res.data.ENERGYTYPES this.requestOptions = res.data.REQUESTTYPE this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系 + this.setMap(res.data.WBZTCLASS) // 文本状态 }, e => { }) Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then((values) => { diff --git a/src/pages/localTool/standardRecognition/index.vue b/src/pages/localTool/standardRecognition/index.vue index ccc4f7be3..f4ece4368 100644 --- a/src/pages/localTool/standardRecognition/index.vue +++ b/src/pages/localTool/standardRecognition/index.vue @@ -259,10 +259,10 @@ export default { }, ], fileType: [ - { required: true, message: "文本状态称不能为空", trigger: "blur" }, + { required: true, message: "文本状态称不能为空", trigger: "change" }, ], fileName: [ - { required: true, message: '文件不能为空', trigger: 'blur' } + { required: true, message: '文件不能为空', trigger: 'change' } ] }, options: [ @@ -515,7 +515,8 @@ export default { message: "文件上传成功", type: "success", }); - // this.$refs['uploadFilesdfEo'].resetFields() + this.$refs['uploadFilesdfEo'].clearValidate('fileName') + this.$refs['uploadFilesdfEo'].clearValidate('standName') } else { this.defaultFileList = []; this.uploadFilesdfEo.attId = ""; diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 73d8c3e67..e7dbc3d63 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -532,15 +532,15 @@ > - - - + + + @@ -1248,15 +1248,15 @@ // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - qcdw: '', // 起草单位 - wssmr: '', // 我司署名人 + qcdw: [], // 起草单位 + wssmr: [], // 我司署名人 cysd: '', // 我司参与深度 - cllx: '', // 适用车型 - nylx: '',// 能源类型 - sycpx: '',// 适用产品线 - syrz: '', // 适用认证 - zrbm: '', // 责任部门 - zrgcs: '', // 责任工程师 + cllx: [], // 适用车型 + nylx: [],// 能源类型 + sycpx: [],// 适用产品线 + syrz: [], // 适用认证 + zrbm: [], // 责任部门 + zrgcs: [], // 责任工程师 cycvppsbm: '', // 关联模块--乘用车VPPS编码 cycvppscn: '', // 关联模块--乘用车vpps中文名称 kccvppsbm: '', // 关联模块--卡车VPPS编码 @@ -1336,10 +1336,10 @@ applyAuthOptions: [], // 适用认证 cysdOptions: [], // 我司参与深度 wssmrOptions: [], // 我司署名人 - qcdwOptions: [], // 起草单位 sycpxOptions: [], // 适用产品线 zrbmOptions: [], // 责任部门 zrgcsOptions: [], // 责任工程师 + qcdwOption: [], // 起草单位 txlbOptions: [], // 体系类别 data: [], // 标准列表数据 ListForm: {}, // 新增数据 @@ -1452,15 +1452,15 @@ // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - qcdw: '', // 起草单位 - wssmr: '', // 我司署名人 + qcdw: [], // 起草单位 + wssmr: [], // 我司署名人 cysd: '', // 我司参与深度 - cllx: '', // 适用车型 - nylx: '',// 能源类型 - sycpx: '',// 适用产品线 - syrz: '', // 适用认证 - zrbm: '', // 责任部门 - zrgcs: '', // 责任工程师 + cllx: [], // 适用车型 + nylx: [],// 能源类型 + sycpx: [],// 适用产品线 + syrz: [], // 适用认证 + zrbm: [], // 责任部门 + zrgcs: [], // 责任工程师 cycvppsbm: '', // 关联模块--乘用车VPPS编码 cycvppscn: '', // 关联模块--乘用车vpps中文名称 kccvppsbm: '', // 关联模块--卡车VPPS编码 @@ -1497,6 +1497,14 @@ console.log(bringData) const json = Object.assign(bringData, bringData.attrInfoCaseMap); this.form = JSON.parse(JSON.stringify(json)) + this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw.split(',') + this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr.split(',') + this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs.split(',') + this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm.split(',') + this.form.syrz = JSON.parse(JSON.stringify(json)).syrz.split(',') + this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx.split(',') + this.form.nylx = JSON.parse(JSON.stringify(json)).nylx.split(',') + this.form.cllx = JSON.parse(JSON.stringify(json)).cllx.split(',') this.defaultCheckedKeys = [this.form.standSystem]; this.defaultCheckedKeys1 = [this.form.cycvppsbm]; this.defaultCheckedKeys2 = [this.form.kccvppsbm]; @@ -2018,11 +2026,10 @@ this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 this.cysdOptions = res.data.WSCYSD // 我司参与深度 this.wssmrOptions = res.data.WSSMR // 我司署名人 - this.qcdwOptions = res.data.QCDW // 我司署名人 this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 - this.txlbOptions = res.data.TXLBCLASS // 体系类别 + this.qcdwOption = res.data.QCDW // 体系类别 }) this.busVsFunc() this.modelFunc() diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index cb381e056..3b853fd65 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -130,7 +130,6 @@