From 7142b4f322c72bd5f5de6a35ca364d2651357bf1 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, 15 Oct 2021 15:00:48 +0800 Subject: [PATCH 01/31] commit --- src/App.vue | 32 +++-- src/components/personalCenter/index.vue | 113 ++++++++++-------- .../searchCenter/pages/standardSearch.vue | 13 +- 3 files changed, 97 insertions(+), 61 deletions(-) diff --git a/src/App.vue b/src/App.vue index 9f68cb375..680c12bfb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,6 +42,7 @@ diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index b67b31cad..1ab82ad5a 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -262,7 +262,9 @@ @@ -272,7 +274,7 @@ - @@ -334,31 +336,31 @@ :rules="sarStandardsInfoRules" class="label-input-form" > - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1434,7 +1498,7 @@ :url="url" :urlChild="urlChild" :defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2" - :nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel"> + :nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel"> 导入中... + + @@ -1492,6 +1568,7 @@ import CustomEopDatePick from '@/components/CustomFormComponents/DatePickerWithT import CustomDatePickWithText, {formatText} from '@/components/CustomFormComponents/DatePickerGroupWithText' import CustomSVPPS from '@/components/CustomFormComponents/SVPPS' import CustomRoleTree from '@/components/CustomFormComponents/roleTree' +import MechanismTree from '@/components/mechanismTree' import CustomDatePickWithText2 from '@/components/CustomFormComponents/DatePickerWithText2' import {interfaceUrl} from "@/sysConfig"; import TreeSelect from '@/components/treeSelect/treeSelect.vue'; @@ -1515,12 +1592,19 @@ export default { CustomDatePickWithText, CustomSVPPS, CustomRoleTree, + MechanismTree, CustomDatePickWithText2, TreeSelect, TreeSelectNew }, data() { return { + // 人员树形和部门树形参数 + nodeList: [], + nodeListZRBM: [], + modalshowflagRole: false, + modalshowflagZRBM: false, + textStatusMap: {}, // 文本状态id与name对应 treeList: [], props: { @@ -2235,7 +2319,7 @@ export default { this.modalShowFlag2 = false this.$forceUpdate() }, - popoverHideBusVsCancel(){ + popoverHideBusVsCancel() { this.modalShowFlag2 = false }, popoverHideCarVs(checkedIds, checkedData, isShow, isLoadChild, topId) { @@ -2250,7 +2334,7 @@ export default { } this.modalShowFlag3 = false this.$forceUpdate() - },popoverHideCarVsCancel(){ + }, popoverHideCarVsCancel() { this.modalShowFlag3 = false }, popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) { @@ -2265,7 +2349,7 @@ export default { } this.modalShowFlag4 = false this.$forceUpdate() - },popoverHideModelCancel(){ + }, popoverHideModelCancel() { this.modalShowFlag4 = false }, // 将文本状态的id与name对应 @@ -4566,7 +4650,49 @@ export default { break } } - } + }, + choiceRole(type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.drawerTitle = title + this.modalshowflagRole = true + }, + drawerCheck(data) { + let idList = '' + let nameList = '' + data.forEach(item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.sarStandardsInfoEO.ZRGCSUserId = idList; + this.sarStandardsInfoEO['ZRGCS'] = nameList; + }, + choiceZRBM(type, title, id) { + this.nodeListZRBM = [] + this.nodeListZRBM.push(id) + this.drawerTitle = title + this.modalshowflagZRBM = true + }, + drawerCheckZRBM(data) { + let idList = '' + let nameList = '' + data.forEach(item => { + if (item.hasChild === '0' && item.children === null) { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + } + }) + this.sarStandardsInfoEO.ZRBMId = idList; + this.sarStandardsInfoEO['ZRBM'] = nameList; + }, }, computed: { // 是否拥有拖拽权限 @@ -4779,6 +4905,7 @@ export default { .el-card { min-width: min-content; } + height: 95%; width: calc(~'100% - 15px'); position: absolute; From 37b01f7229092cf2f450431a68d4f6c386563e18 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 21 Oct 2021 14:38:59 +0800 Subject: [PATCH 29/31] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E6=B8=85=E5=8D=95-=E6=96=B0=E5=A2=9E-=E5=AF=BC=E5=87=BA=20?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/addEdit.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index d3e9581b2..33fc75d13 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1751,8 +1751,9 @@ export default { } if (exportList != null && exportList.length > 0) { let accIdAndrestype = [] - for (var accessInfo in exportList) { - accIdAndrestype.push(exportList[accessInfo].id) + let accessInfo = 1 + for (accessInfo in exportList) { + accIdAndrestype.push(exportList[accessInfo]) } const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' + '&exportType=apart' + '&ids=' + accIdAndrestype.join(',') + '&exportName=' + this.exportName window.open(exportURL) From ec3b397e65b37038c89cb87271e4e7d25176de48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 21 Oct 2021 14:57:24 +0800 Subject: [PATCH 30/31] commit --- .../pages/creatProcess/xmpg2/step1.vue | 2 +- .../pages/details.vue | 351 ++++++++++-------- .../domesticStandardsAndRegulations/index.vue | 5 +- .../components/EnterpriseStandardDatabase.vue | 5 +- .../foreignStandardsAndRegulations/index.vue | 5 +- .../localProductsOrProjectLibrary/index.vue | 2 +- 6 files changed, 209 insertions(+), 161 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue index cc1d1fc09..b192d5f89 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue @@ -337,7 +337,7 @@ label="项目分类" /> diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 18d5e3626..cdb93f7ad 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -13,7 +13,7 @@
-

+

{{ sarAccessEO.countryAreaShow }} @@ -71,11 +71,14 @@ - 查询 + 查询 - 清空 + 清空 +

- - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
@@ -381,6 +386,7 @@ diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index d528748cb..30630d572 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -8,26 +8,26 @@
-
-
{{ this.isCollapse ? '' : '' }}
-
-
{{ this.isCollapse ? '' : '' }}
+ + + +
+
+ + + +