From b5a03548c7cc5c97a525a46fe7349f71012f5378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 7 Jan 2022 16:10:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B5=B7=E5=A4=96=E6=97=A5=E6=9C=9F=20?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=8A=B6=E6=80=81=E5=B1=95=E7=A4=BA=20=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=B1=9E=E6=80=A7=E7=AE=A1=E7=90=86=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=97=A5=E6=9C=9F=E7=9A=84=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/standLawsAttrManage/index.vue | 2 +- .../foreignStandardsAndRegulations/index.vue | 31 +++++++------------ 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/src/pages/config/pages/standLawsAttrManage/index.vue b/src/pages/config/pages/standLawsAttrManage/index.vue index 60b75bec1..456f4dea9 100644 --- a/src/pages/config/pages/standLawsAttrManage/index.vue +++ b/src/pages/config/pages/standLawsAttrManage/index.vue @@ -103,7 +103,7 @@ - + diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index f8bb9b35a..197d52269 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -269,12 +269,12 @@ @@ -285,13 +285,13 @@ label="新车型实施日期"> @@ -302,13 +302,13 @@ label="在产车实施日期"> @@ -2591,7 +2591,6 @@ export default { this.modalShowFlag3 = false }, popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) { - console.log(checkedData) if (checkedData && checkedData.length != 0) { if (checkedData.length > 0) { this.sarStandardsInfoEO.DYBXH = checkedData.map(item => item.model).join(",") @@ -2613,7 +2612,6 @@ export default { }) }, choiceZRRS (type, title, id) { - console.log('2077',title) this.nodeList = [] this.nodeList.push(id) this.userType = type @@ -2621,7 +2619,6 @@ export default { this.modalShowRoleFlag = true }, checkedRole2 (data) { - console.log('1712',this.drawerTitle) let idList = '' let nameList = '' data.forEach( item => { @@ -2874,7 +2871,6 @@ export default { this.$nextTick(() => { Promise.all([this.queryDisplayLocation()]).then((values) => { const [displayLocation] = values - console.log('2717', displayLocation) const formFieldList = this.formFieldList this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item)) this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem]; @@ -2929,7 +2925,6 @@ export default { }) }) this.dynamicFormField = displayLocation - console.log('2771',this.dynamicFormField) this.loading = false }) }) @@ -3366,7 +3361,6 @@ export default { const formFieldList = this.formFieldList formFieldList.forEach((field) => { displayLocation.forEach((location) => { - console.log(location) let value = dynamicFormField[field.attrField] if (value && typeof value === 'number') { value = this.$dateFormat(value, 'yyyy-MM-dd') @@ -3810,11 +3804,8 @@ export default { // // 自定义属性字段高级搜索处理 //advanceSearchVOStr const advanceSearchVOList = []; - console.log('4333',this.advanceSearchMapping) for (let key in this.advanceSearchMapping) { - console.log('key',key) const value = this.advanceSearchMapping[key]; - console.log('value',value) if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX&&item.CLLX.length>0)) ){ advanceSearchVOList.push({ connect: "and", @@ -5103,10 +5094,10 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { + this.setMap(res.data.WBZTCLASS) this.allSelectOptions = res.data || {} this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standNatureOptions = res.data.SARPROPERTY // 标准性质 - this.standStateOptions = res.data.WBZTCLASS // 文本状态 this.standSystemOptions = res.data.BZTXCLASS // 标准体系 this.categoryOptions.options = res.data.NYLXCLASS // 能源类型 this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证 @@ -5127,11 +5118,11 @@ 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.dybxhOptions.options = res.data.DYBXH this.getGzzOption() - this.setMap(this.standStateOptions) }, e => { }) this.getDomesticStandardTable() From c92f6b2590afa62104e8fa350622da5807587eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 7 Jan 2022 16:58:59 +0800 Subject: [PATCH 2/3] =?UTF-8?q?736=20=20=E6=9B=B4=E6=94=B9=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 197d52269..e98735506 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2279,20 +2279,15 @@ export default { synopsis: [ {type: 'string', max: 1000, message: '文本说明不能超过1000个字符', trigger: 'change'} ], - standYear: [ - {required: true, message: '标准年份不能为空', trigger: 'change'}, - // {validator: this.verify.testNumberCode, trigger: 'change'}, - {type: 'string', max: 100, message: '标准年份不能超过100个字符', trigger: 'change'} + standEnName: [ + {required: true, message: '英文名称不能为空', trigger: 'change'}, + // {validator: this.verify.valiateEnName, trigger: 'blur'}, + {type: 'string', max: 500, message: '英文名称不能超过500个字符不', trigger: 'change'} ], standName: [ {required: false, message: '中文名称不能为空', trigger: 'change'}, {type: 'string', max: 500, message: '中文名称不能超过500个字符', trigger: 'change'} ], - standEnName: [ - {required: false, message: '英文名称不能为空', trigger: 'change'}, - {type: 'string', max: 500, message: '英文名称不能超过500个字符', trigger: 'change'} - // {validator: this.verify.valiateEnName, trigger: 'blur'} - ], textStatus: [ {required: true, message: '文本状态不能为空', trigger: 'change'} ], @@ -2858,8 +2853,6 @@ export default { // 编辑标准属性 selectStandardPro(row, state) { // this.sarStandardsInfoEO.country=JSON.parse(item.country ); - - // console.log(this.sarStandardsInfoEO.country); this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: row.id}, { _this: this }, res => { @@ -4809,7 +4802,6 @@ export default { }) // this.rules = rules this.$set(this, 'sarStandardsInfoRules', rules) - setTimeout(() => { this.reloadAddForm = true }, 1000) @@ -4893,6 +4885,7 @@ export default { // rules.standState = [{required: true, message: '标准状态不能为空', trigger: 'change'}] rules.issueTime = [{required: false, message: '发布日期不能为空', trigger: 'change'}] this.$set(this, 'sarStandardsInfoRules', rules) + this.$nextTick(() => { this.$refs.sarStandardsInfoForm.clearValidate() }) From cd084b1031d68946e67b4d3b9a39ab863759288e Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Fri, 7 Jan 2022 17:13:35 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=EF=BC=8C=E5=85=A5=E4=BC=9A=E5=8F=82=E4=BC=9A=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=EF=BC=8C=E5=8F=82=E4=BC=9A=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzhHd-rh/step1.vue | 5 +- .../pages/creatProcess/bzhHy-ch/step1.vue | 11 +- .../pages/creatProcess/bzhHy-ch/step2.vue | 6 - .../pages/creatProcess/bzhHy-ch/step3.vue | 5 - .../pages/creatProcess/bzhHy-ch/step4.vue | 5 - .../pages/creatProcess/bzhHy-ch/step5.vue | 10 - .../pages/creatProcess/bzhHy-ch/step6-1.vue | 5 - .../pages/creatProcess/bzhHy-ch/step6.vue | 5 - .../pages/addEdit.vue | 1644 ++++++++--------- .../pages/otherAddEit.vue | 911 +++++---- .../pages/projectAddEit.vue | 1419 +++++++------- 11 files changed, 2168 insertions(+), 1858 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue index 6950b24f7..27fa808db 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue @@ -601,7 +601,10 @@ export default { var fileSuffix = filename.substring(index1, index2) // const fileSuffix = file.name.split('.')[1] // 后缀名 // 判断上传文件格式 - if (fileSuffix === '.ZIP' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.pdf' || fileSuffix === '.PDF') { + if (fileSuffix === '.ZIP' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' + || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.pdf' || fileSuffix === '.PDF' + || fileSuffix === '.PNG'|| fileSuffix === '.JPG'|| fileSuffix === '.JPEG' || fileSuffix === '.PPT' + || fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.bmp') { return true } else { this.spinShow = false diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue index 34eecdb81..4d371e4af 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue @@ -537,7 +537,11 @@ export default { var fileSuffix = filename.substring(index1, index2) // const fileSuffix = file.name.split('.')[1] // 后缀名 // 判断上传文件格式 - if (fileSuffix === '.ZIP' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.pdf' || fileSuffix === '.PDF') { + if (fileSuffix === '.ZIP' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' + || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.pdf' || fileSuffix === '.PDF' + || fileSuffix === '.PNG'|| fileSuffix === '.JPG'|| fileSuffix === '.JPEG' || fileSuffix === '.PPT' + || fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.bmp' + ) { return true } else { this.spinShow = false @@ -872,11 +876,6 @@ export default { text-align: right; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-table th { padding: 0px; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue index de701e95d..85e7bc4e3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue @@ -480,12 +480,6 @@ export default { height: auto !important; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } - /deep/ .el-textarea__inner { font-family: inherit; } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue index 3fe8cfa32..660d45fa0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue @@ -533,11 +533,6 @@ export default { margin-top: 0px; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-table__body-wrapper { height: auto !important; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue index 0b5e95d1f..f7eb8758d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue @@ -454,11 +454,6 @@ export default { margin-top: 0px; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-table__body-wrapper { height: auto !important; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue index 583a25fe0..c683d401b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue @@ -631,11 +631,6 @@ export default { margin-top: 0px; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-table__body-wrapper { height: auto !important; @@ -645,11 +640,6 @@ export default { font-family: inherit; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-table th { padding: 0px; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue index 0aaf6bc93..48ab08c8b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue @@ -358,11 +358,6 @@ export default { /deep/.el-textarea__inner { font-family: inherit; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/.el-upload { display: unset; } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue index 0b145656b..9a355c0cb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue @@ -527,11 +527,6 @@ export default { font-family: inherit; } - .meeting_table { - /deep/ .el-input__inner { - text-align: center; - } - } /deep/ .el-upload { display: unset; diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index af8403ca5..8e22d49a5 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -13,18 +13,18 @@ @@ -32,28 +32,28 @@



点击上传 @@ -69,48 +69,50 @@ 数据搜索
- + - + - + + v-if="sarAccessInfo.dataSource === 'FOREIGN_STAND' || sarAccessInfo.dataSource === 'INLAND_STAND'" + v-model="sarAccessInfo.standNumber" + placeholder="请输入标准号"/> + + + type="primary" + class="common-button-primary" + size="small" + @click="searchLawsStands"> 查询 清空 + class="common-button-default" + size="small" + @click="clearSearchLaws">清空 - - - 高级查询 - - 高级查询 @@ -119,117 +121,103 @@
-
- - - - - - - - - 查询 - - -
添加 + class="common-button-default" + size="mini" @click="addSarAccess">添加 {{ $t('m.showAddDataList') }} {{ $t('m.hideAddDataList') }}
+ show-overflow-tooltip + fixed="left" + align="center" + width="150px" + :label="standLabelNum"> - - - + prop="standName" + align="center" + show-overflow-tooltip + :label="standLabelName" + > + + + + prop="xcxssrq" + align="center" + width="150" + label="新车型实施日期"> + show-overflow-tooltip + prop="zccssrq" + align="center" + width="150" + label="在产车实施日期"> + show-overflow-tooltip + prop="textStatus" + width="100px" + align="center" + label="文本状态"> @@ -243,139 +231,138 @@ 清单条目
导出 删除
+ type="selection" + width="55" + align="center"> + show-overflow-tooltip + width="180px" + fixed="left" + align="center" + :label="standLabelNum"> + prop="standEnName" + align="center" + width="180px" + label="英文名称"> + prop="typeApplicable" + align="center" + width="180px" + label="适用车型"> + prop="nylx" + align="center" + width="180px" + label="能源类型"> + prop="ssrq" + align="center" + width="210px" + label="标准实施日期"> + show-overflow-tooltip + prop="zccssrqgj" + width="210px" + align="center" + label="在产车实施日期"> + prop="xcxssrqgj" + align="center" + width="210px" + label="新车型实施日期"> + show-overflow-tooltip + prop="zrbm" + width="210px" + align="center" + label="责任部门"> + show-overflow-tooltip + prop="sycpx" + width="180px" + align="center" + label="适用产品线"> @@ -405,13 +392,13 @@
@@ -421,11 +408,11 @@ @@ -445,11 +432,11 @@ + clearable + v-model.trim="editRowData.ssrq" + type="dates" + value-format="yyyy-MM-dd" + placeholder="选择日期"> @@ -479,24 +466,237 @@ + + + +
+ + + + + + + + + + + + + + + + {{ opt.label }} + + + + + + {{ opt.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +