diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index bdbc16be0..4ef370645 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -30,6 +30,20 @@ 海外标准入库 + + + + + + + + { }) @@ -1073,6 +1090,7 @@ this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { + this.countryOptions=res.data.COUNTRY//国家地区 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standStateOptions = res.data.WBZTCLASS // 文本状态 diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 352131b8a..eaf8c0817 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -30,6 +30,20 @@ 海外标准入库 + + + + + + + + { + this.countryOptions=res.data.COUNTRY//国家地区 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standStateOptions = res.data.WBZTCLASS // 文本状态 diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue index 7923603a6..296f65bc7 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue @@ -445,7 +445,7 @@ export default { }, //获取项目数据 getProjectData() { - this.$http.get("sarStandProjectLibrary/queryProject", { + this.$http.get("sarStandProjectLibrary/queryProjectWorkFlow", { ...this.projectSearch }, { _this: this @@ -520,12 +520,7 @@ export default { { _this: this }, res => { - if (!res.data.length) { - this.dataList = [] - this.$message.warning("请选择带有分解单的标准"); - } else { this.listForm.breakdownList = res.data; - } }); }, //标准的多选框改变 diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 686e52b43..bdcf60207 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -64,7 +64,7 @@ export default { continue; } else if (entity.id === "63e05705d0c8013162caa34f9fe52865") { list.push({ - label: "项目类清单", + label: "车辆类型清单", name: "listProject" }); continue; diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue index d45f42401..50f1509bf 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue @@ -4,11 +4,20 @@
- - + + + + - diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 6ee8ff256..9527ef9ca 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -501,7 +501,6 @@ export default { } }) }, e => { - }); }, selectInfoMore() { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 31fa260f8..d8d250d4a 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -10,8 +10,20 @@ - - + + + +

@@ -88,11 +100,7 @@ @click="clearSearchLaws">清空 - - - 高级查询 - - + 高级查询 @@ -118,6 +126,36 @@ size="small" clearable/> + + + + + + + + + + 查询 @@ -176,6 +214,16 @@ {{ scope.row.standName }}
+ + + + { - this.sarAccessInfoSearchList = res.data.list - this.sarAccessInfoSearchList.forEach(item => { - if (item.standYear === null) { - item.standNumber = item.standSortShow + ' ' + item.standNumber - } else { - item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear - } - if (item.attrInfoMap === null) { - this.$set(item, 'zccssrqgj', '') - this.$set(item, 'xcxssrqgj', '') - this.$set(item, 'ssrq', '') - this.$set(item, 'sycpx', '') - this.$set(item, 'typeApplicable', '') - this.$set(item, 'nylx', '') - this.$set(item, 'zrbm', '') - this.$set(item, 'cycvppsbm', '') - this.$set(item, 'cycvppscn', '') - this.$set(item, 'kccvppsbm', '') - this.$set(item, 'kccvppscn', '') - }else { - this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ) - this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ) - this.$set(item, 'ssrq', item.attrInfoMap.SSRQ) - this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) - this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) - this.$set(item, 'nylx', item.attrInfoMap.NYLX) - this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) - this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) - this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) - this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) - this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) - } - }) - this.drawerTotal = res.data.count - }, e => { - }) - }, - selectLawsStands () { - if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { - this.sarAccessInfoSearch.standType = 'INLAND' - this.pageInfo() - } else { - this.sarAccessInfoSearch.standType = 'FOREIGN' - this.pageInfo() - } - }, - /** 高级查询查询按钮*/ - selectPage() { - StandardsInfoPage(this.sarAccessInfo).then(res =>{ - this.sarAccessInfoSearchList = res.data.list - this.sarAccessInfoSearchList.forEach(item => { - if (item.standYear === null) { - item.standNumber = item.standSortShow + ' ' + item.standNumber - } else { - item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear - } - if (item.attrInfoMap === null) { - this.$set(item, 'zccssrqgj', '') - this.$set(item, 'xcxssrqgj', '') - this.$set(item, 'ssrq', '') - this.$set(item, 'sycpx', '') - this.$set(item, 'typeApplicable', '') - this.$set(item, 'nylx', '') - this.$set(item, 'zrbm', '') - this.$set(item, 'cycvppsbm', '') - this.$set(item, 'cycvppscn', '') - this.$set(item, 'kccvppsbm', '') - this.$set(item, 'kccvppscn', '') - }else { - this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ) - this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ) - this.$set(item, 'ssrq', item.attrInfoMap.SSRQ) - this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) - this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) - this.$set(item, 'nylx', item.attrInfoMap.NYLX) - this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) - this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) - this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) - this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) - this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) - } - }) - this.drawerTotal = res.data.list.length - }, e => { - }) - }, - selectBtn() { - if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { - this.sarAccessInfoSearch.standType = 'INLAND' - this.selectPage() - } else { - this.sarAccessInfoSearch.standType = 'FOREIGN' - this.selectPage() - } - }, - // 数据搜索table判断checked状态 - selectable (row) { - return row.isRelateAccess === '1' - }, - // 数据搜索 table select事件 - sarAccessInfoSearchSelect (val) { - this.selectedAccInfoSearchList = val - this.selectedAccInfoSearchList.forEach(item => { - if (item.attrInfoMap === null) { - this.$set(item, 'zccssrqgj', '') - this.$set(item, 'xcxssrqgj', '') - this.$set(item, 'ssrq', '') - this.$set(item, 'sycpx', '') - this.$set(item, 'typeApplicable', '') - this.$set(item, 'nylx', '') - this.$set(item, 'zrbm', '') - this.$set(item, 'cycvppsbm', '') - this.$set(item, 'cycvppscn', '') - this.$set(item, 'kccvppsbm', '') - this.$set(item, 'kccvppscn', '') - }else { - this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ) - this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ) - this.$set(item, 'ssrq', item.attrInfoMap.SSRQ) - this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) - this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) - this.$set(item, 'nylx', item.attrInfoMap.NYLX) - this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) - this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) - this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) - this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) - this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) - } - }) - this.selectedAccInfoSearchList.forEach(item => { + // 字段转化 + changeText(val) { + val.forEach(item => { // 责任部门转换 if (item.zrbm !== null || item.zrbm !== "") { let k = (item.zrbm || "").split(',') @@ -1473,8 +1315,114 @@ export default { } } } + // 适用认证转换 + if (item.syrz !== null) { + let k = (item.syrz || "").split(',') + for (let i in this.syrzOptions) { + for (let m = 0; m< k.length; m++) { + if (this.syrzOptions[i].value === k[m]) { + k[m] = this.syrzOptions[i].label + } + item.syrz = k.join(',') + } + } + } }) }, + // 字段添加 + addWord(item) { + if (item.attrInfoMap === null) { + this.$set(item, 'zccssrqgj', '') + this.$set(item, 'xcxssrqgj', '') + this.$set(item, 'ssrq', '') + this.$set(item, 'syrz', '') + this.$set(item, 'sycpx', '') + this.$set(item, 'typeApplicable', '') + this.$set(item, 'nylx', '') + this.$set(item, 'zrbm', '') + this.$set(item, 'cycvppsbm', '') + this.$set(item, 'cycvppscn', '') + this.$set(item, 'kccvppsbm', '') + this.$set(item, 'kccvppscn', '') + }else { + this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQ) + this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQ) + this.$set(item, 'ssrq', item.attrInfoMap.SSRQ) + this.$set(item, 'syrz', item.attrInfoMap.SYRZ) + this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) + this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) + this.$set(item, 'nylx', item.attrInfoMap.NYLX) + this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) + this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) + this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) + this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) + this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) + } + }, + // 查询数据搜索 table 数据 + pageInfo() { + StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{ + this.sarAccessInfoSearchList = res.data.list + this.sarAccessInfoSearchList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } else { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + } + this.addWord(item) + }) + this.changeText(this.sarAccessInfoSearchList) + this.drawerTotal = res.data.count + }, e => { + }) + }, + selectLawsStands () { + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.standType = 'INLAND' + this.pageInfo() + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + this.pageInfo() + } + }, + /** 高级查询查询按钮*/ + selectPage() { + StandardsInfoPage(this.sarAccessInfo).then(res =>{ + this.sarAccessInfoSearchList = res.data.list + this.sarAccessInfoSearchList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } else { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + } + this.addWord(item) + }) + this.changeText(this.sarAccessInfoSearchList) + this.drawerTotal = res.data.list.length + }, e => { + }) + }, + selectBtn() { + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.standType = 'INLAND' + this.selectPage() + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + this.selectPage() + } + }, + // 数据搜索table判断checked状态 + selectable (row) { + return row.isRelateAccess === '1' + }, + // 数据搜索 table select事件 + sarAccessInfoSearchSelect (val) { + this.selectedAccInfoSearchList = val + this.selectedAccInfoSearchList.forEach(item => { + this.addWord(item) + }) + this.changeText(this.selectedAccInfoSearchList) + }, // 数据搜索 清单类型 table select事件 accessSarTypeSelect (selectData) { this.accessSarTypeList = selectData @@ -1721,46 +1669,6 @@ export default { this.isSubmit = false this.$refs['addEntryForm'].resetFields() }, - /** - * 赋值内容到入库标准抽屉内 - * item 清单行数据 - */ - copyStandDrawer (item) { - this.sarStandardsInfoEO.accessType = item.accessType - this.sarStandardsInfoEO.standNumber = item.code // 标准编号 - this.sarStandardsInfoEO.standName = item.name // 中文名称 - this.sarStandardsInfoEO.standEnName = item.enName // 英文名称 - this.sarStandardsInfoEO.lawsNumber = item.code // 标准编号 - this.sarStandardsInfoEO.lawsName = item.name // 中文名称 - this.sarStandardsInfoEO.lawsEnName = item.enName // 英文名称 - this.sarStandardsInfoEO.synopsis = item.synopsis - this.sarStandardsInfoEO.XCXSSRQ = item.newPutTime // 新车型实施日期(文本) - this.sarStandardsInfoEO.XCXSSRQXM = item.newPutTextTime // 新车型实施日期(项目) - this.sarStandardsInfoEO.ZCCSSRQ = item.prodPutTime // 在产车实施日期(文本) - this.sarStandardsInfoEO.ZCCSSRQXM = item.prodPutTextTime // 在产车实施日期(项目) - this.sarStandardsInfoEO.EOPSSRQ = item.eopPutTime // EOP实施日期(文本) - this.sarStandardsInfoEO.EOPSSRQXM = item.eopPutTextTime // EOP实施日期(项目) - this.sarStandardsInfoEO.ZRBMName = item.ZRBMName || item.zrbmname // 责任部门 - this.sarStandardsInfoEO.ZRBM = item.ZRBM || item.zrbm // 责任部门 - this.sarStandardsInfoEO.XGBMName = item.XGBMName || item.xgbmname // 相关部门 - this.sarStandardsInfoEO.XGBM = item.XGBM || item.xgbm // 相关部门 - this.sarStandardsInfoEO.FOName = item.FOName || item.foname // FO - this.sarStandardsInfoEO.FO = item.FO || item.fo // FO - this.sarStandardsInfoEO.XMPGJS = item.proEssessUserId // 项目评估人员 - this.sarStandardsInfoEO.XMPGJSName = item.proEssessUser // 项目评估人员 - this.sarStandardsInfoEO.standNature = item.natureId // 标准性质 - this.sarStandardsInfoEO.NRDBZFGQD = this.sarAccessEO.countryArea // 国家地区 - this.sarStandardsInfoEO.CLLX = item.applyArctic ? item.applyArctic.split(',') : [] - this.sarStandardsInfoEO.YQLX = item.askType - this.sarStandardsInfoEO.GXHBQ = item.GXHBQ ? item.GXHBQ.split(',') : [] - this.sarStandardsInfoEO.ZRLX = item.askNature ? item.askNature.split(',') : [] - if (this.sarStandardsInfoEO.accessType === 'INLAND_STAND') { - this.sarStandardsInfoEO.countryArea = 'CN' - } else { - this.sarStandardsInfoEO.countryArea = '' - } - this.uuid = item.uuid - }, /** * 获取新增弹框的表单 */ @@ -1972,10 +1880,6 @@ export default { setMap(data){ data.forEach(item => { this.$set(this.textStatusMap, item.value, item.label) - this.$set(this.typeApplicableMap, item.value, item.label) - this.$set(this.nylxMap, item.value, item.label) - this.$set(this.zrbmMap, item.value, item.label) - this.$set(this.sycpxMap, item.value, item.label) }) }, // 点击上传的文件进行下载 @@ -2027,10 +1931,6 @@ export default { this.textStatusOptions = res.data.WBZTCLASS this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 this.setMap(this.textStatusOptions) - this.setMap(this.zrbmOptions) - this.setMap(this.categoryOptions) - this.setMap(this.sycpxOptions) - this.setMap(this.energyKindOptions) this.getGzzOption() }, e => { }) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 7eace579f..fcddc5ce9 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -3014,52 +3014,59 @@ export default { }, // 表格排序 sortChange (sortObj) { + console.log(sortObj.column.order+"======"+sortObj.column.property) console.log(sortObj, '升降序') if (sortObj.column.order !== 'normal') { - switch (sortObj.prop) { + this.nowOrder = '' + this.orderBy = '' + switch (sortObj.column.property) { case 'issueTime' : // 后台联调 - if(sortObj.order === null) { - this.nowOrderBy = '' - } else { - this.nowOrderBy = '1' - } - break; - case 'xcxssrq' : - // 后台联调 - if(sortObj.order === null) { - this.nowOrderBy = '' - } else { - this.nowOrderBy = '2' + this.orderBy = 1; + this.nowOrder = sortObj.column.order + if (this.nowOrder === 'ascending') { + this.nowOrder = 2 + } else if (this.nowOrder === 'descending') { + this.nowOrder = 1 } - break; - case 'zccssrq' : - // 后台联调 - if(sortObj.order === null) { - this.nowOrderBy = '' - } else { - this.nowOrderBy = '3' + break + case 'XCXSSRQ' : + this.orderBy = 2; + this.nowOrder = sortObj.column.order + if (this.nowOrder === 'ascending') { + this.nowOrder = 2 + } else if (this.nowOrder === 'descending') { + this.nowOrder = 1 } - break; - case 'textStatus' : - // 后台联调 - if(sortObj.order === null) { - this.nowOrderBy = '' - } else { - this.nowOrderBy = '4' - } - break; - } - switch (sortObj.order) { - case 'ascending' : - this.nowOrder = '2' - break; - case 'descending' : - this.nowOrder = '1' - break; - default: - this.nowOrder = '' - break; + break + case 'ZCCSSRQ' : + this.orderBy = 3; + this.nowOrder = sortObj.column.order + if (this.nowOrder === 'ascending') { + this.nowOrder = 2 + } else if (this.nowOrder === 'descending') { + this.nowOrder = 1 + } + break + case 'textStatus' : + this.orderBy = 5; + this.nowOrder = sortObj.column.order + if (this.nowOrder === 'ascending') { + this.nowOrder = 2 + } else if (this.nowOrder === 'descending') { + this.nowOrder = 1 + } + break + case 'SSRQ' : + this.orderBy = 6; + this.nowOrder = sortObj.column.order + if (this.nowOrder === 'ascending') { + this.nowOrder = 2 + } else if (this.nowOrder === 'descending') { + this.nowOrder = 1 + } + break + } } this.getDomesticStandardTable(this.tableFlag) @@ -3492,8 +3499,8 @@ export default { } // 排序 + formData.nowOrderBy = this.nowOrder ? this.orderBy : '' formData.nowOrder = this.nowOrder - formData.nowOrderBy = this.nowOrderBy // formData.orderBy = this.orderBy console.log(this.selectSarMenu.id) // 处理我的收藏和个性化标签传参 diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index b8055e223..80470a2e3 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -3093,7 +3093,7 @@ export default { }, // 表格排序 sortChange (sortObj) { - console.log(sortObj.column+"======"+sortObj.column.property+"======"+sortObj.column.order); + if (sortObj.column.order !== 'normal') { this.nowOrder = '' this.orderBy = '' diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue index 2c68a966a..03148760b 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue @@ -39,7 +39,7 @@
- 调取 + 调取 批量删除 +
+
+
+ + +
+
+ + + + + + + + + + + 查询 + + + + 清空 + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
@@ -204,16 +339,15 @@ 查询 + type="primary" + size="mini" + class="common-button-primary" + @click="search">查询 清空 + class="common-button-default" + size="mini" + @click="clearSearch">清空 @@ -221,24 +355,24 @@
+ type="selection" + width="55" + align="center"> + prop="code" + label="标准号">