From c3054507bfe45731183db68e5171cacd48d7aef7 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, 17 Feb 2022 15:00:09 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=A0=87=E5=87=86?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E8=B7=B3=E8=BD=AC=E5=8F=8A=E5=A4=9A=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E7=A8=BF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otherBussStandardDetails/index.vue | 43 ++++++++++++++----- .../components/EnterpriseStandardDatabase.vue | 2 +- 2 files changed, 34 insertions(+), 11 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index d66c41d6c..28dbc4855 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -353,12 +353,12 @@
{{ sarStandardsInfoEO.standCode }}
-+
{{ sarStandardsInfoEO.standName || '-' }}
{{ sarStandardsInfoEO.standEnName || '-' }}
@@ -1961,10 +1982,12 @@ export default { one: spanOneArr, } }, - child1Func(child1){ + child1Func(child1) { const list = [] - if(child1 && child1.length > 1){ - list.push(child1[0]) + if (child1 && child1.length > 1) { + for (let i = 0; i < child1.length; i++) { + list.push(child1[i]) + } return list } return child1 diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 84dbc5c83..0e75f5284 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -3374,7 +3374,7 @@ export default { let routeUrl = this.$router.resolve({ name: 'OtherBussStandardDetails', params: { - id: item.standId, + id: item.id, pageType: 'BUSINESS_STAND' } }) From 61328f48b8186fbfa34d4ed4926735a756fcc631 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 17 Feb 2022 16:23:34 +0800 Subject: [PATCH 02/10] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=20=E6=96=B0=E5=A4=8D=E5=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process.js | 8 + .../creatProcess/qbfs/common/formList.vue | 203 +++- .../qbfs/common/formListStep5.vue | 886 ++++++++++++++++++ .../pages/creatProcess/qbfs/step3.vue | 7 +- .../pages/creatProcess/qbfs/step4.vue | 83 +- .../pages/creatProcess/qbfs/step5.vue | 768 +++++++++++++++ src/router/index.js | 9 + 7 files changed, 1883 insertions(+), 81 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/qbfs/common/formListStep5.vue create mode 100644 src/pages/processCenter/pages/creatProcess/qbfs/step5.vue diff --git a/src/api/process.js b/src/api/process.js index 3315c9fe4..979121fa1 100644 --- a/src/api/process.js +++ b/src/api/process.js @@ -93,6 +93,14 @@ export function processCreateBuss (data) { }) } +export function processCreateFsBuss (data) { + return axios({ + url: '/api/lawss/actSarItemsBuss/processCreateFsBuss', + method: 'post', + data + }) +} + export function processCreateLaws (data) { return axios({ url: '/api/lawss/actSarItemsLaws/processCreateLaws', diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue index e8616b1f0..e93d9d66e 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue @@ -327,55 +327,65 @@@@ -2148,8 +2191,10 @@ export default { modalShowFlag2: false, // drawer开关 modalShowFlag3: false, // drawer开关 modalShowFlag4: false, // drawer开关 + modalShowFlag5: false, url: '', urlChild: '', + modelType: 'TRUCK', drawerTitle: '', //drawer标题 nodeKey: 'id', nodeKeyCode: 'code', @@ -2252,6 +2297,7 @@ export default { defaultCheckedKeys1: [], defaultCheckedKeys2: [], defaultCheckedKeys3: [], + defaultCheckedKeys4: [], defaultCodeProps: { children: 'children', label: 'code' @@ -2438,6 +2484,8 @@ export default { KCCVPPSCN: '', DYBXH: '', DYMC: '', + DYBXHCAR: '', + DYMCCAR: '', CYSD: '', CLLX: '', NYLX: '', @@ -2577,6 +2625,8 @@ export default { KCCVPPSCN: '', DYBXH: '', DYMC: '', + DYBXHCAR: '', + DYMCCAR: '', CYSD: '', CLLX: '', NYLX: '', @@ -3053,7 +3103,17 @@ export default { this.modalShowFlag4 = true this.url = '' this.urlChild = '' - this.url = "sarModelTree/list" + this.modelType = type + this.url = "sarModelTree/listByType" + this.urlChild = "sarModelTree/childByList" + }, + choiceZRR5(type, title, id) { + this.drawerTitle = title + this.modalShowFlag5 = true + this.url = '' + this.urlChild = '' + this.modelType = type + this.url = "sarModelTree/listByType" this.urlChild = "sarModelTree/childByList" }, popoverHideQuery(ids, attrField) { @@ -3122,6 +3182,22 @@ export default { popoverHideModelCancel() { this.modalShowFlag4 = false }, + popoverCarHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) { + if (checkedData && checkedData.length != 0) { + if (checkedData.length > 0) { + this.sarStandardsInfoEO.DYBXHCAR = checkedData.map(item => item.model).join(",") + this.sarStandardsInfoEO.DYMCCAR = checkedData.map(item => item.name).join(",") + } else { + this.sarStandardsInfoEO.DYBXHCAR = checkedData.model + this.sarStandardsInfoEO.DYMCCAR = checkedData.name + } + this.modalShowFlag5 = false + } + this.$forceUpdate() + }, + popoverCarHideModelCancel() { + this.modalShowFlag5 = false + }, busVsFunc() { this.$http.get('sarVppsTree/list', '', { _this: this diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 93b18b308..aaf0eb6cd 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -659,14 +659,14 @@
@@ -1816,14 +1861,17 @@ export default { modalShowFlag2: false, // drawer开关 modalShowFlag3: false, // drawer开关 modalShowFlag4: false, // drawer开关 + modalShowFlag5: false, url: '', urlChild: '', + modelType: 'TRUCK', drawerTitle: '', //drawer标题 nodeKey: 'id', defaultCheckedKeys: [], defaultCheckedKeys1: [], defaultCheckedKeys2: [], defaultCheckedKeys3: [], + defaultCheckedKeys4: [], defaultCodeProps: { children: 'children', label: 'code' @@ -2168,6 +2216,8 @@ export default { KCCVPPSCN: '', DYBXH: '', DYMC: '', + DYBXHCAR: '', + DYMCCAR: '', CYSD: '', CLLX: '', NYLX: '', @@ -2593,7 +2643,17 @@ export default { this.modalShowFlag4 = true this.url = '' this.urlChild = '' - this.url = "sarModelTree/list" + this.modelType = type + this.url = "sarModelTree/listByType" + this.urlChild = "sarModelTree/childByList" + }, + choiceZRR5(type, title, id) { + this.drawerTitle = title + this.modalShowFlag5 = true + this.url = '' + this.urlChild = '' + this.modelType = type + this.url = "sarModelTree/listByType" this.urlChild = "sarModelTree/childByList" }, popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) { @@ -2642,6 +2702,22 @@ export default { }, popoverHideModelCancel() { this.modalShowFlag4 = false }, + popoverCarHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) { + if (checkedData && checkedData.length != 0) { + if (checkedData.length > 0) { + this.sarStandardsInfoEO.DYBXHCAR = checkedData.map(item => item.model).join(",") + this.sarStandardsInfoEO.DYMCCAR = checkedData.map(item => item.name).join(",") + } else { + this.sarStandardsInfoEO.DYBXHCAR = checkedData.model + this.sarStandardsInfoEO.DYMCCAR = checkedData.name + } + this.modalShowFlag5 = false + } + this.$forceUpdate() + }, + popoverCarHideModelCancel() { + this.modalShowFlag5 = false + }, // 将文本状态的id与name对应 setMap(data) { data.forEach(item => { From 157e35192f971c32f14eb09c0df9fa4d6e1bba56 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, 17 Feb 2022 19:10:54 +0800 Subject: [PATCH 10/10] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E5=BD=92=E6=A1=A3=E4=BD=8D=E7=BD=AE=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzrk/step1.vue | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index ebbbcd779..376fb2101 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -2314,25 +2314,27 @@ export default { }, {}, res => { if (res.ok) { this.treeListOptions = res.data - this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', { - standId: bringData.id, - }, {}, reson => { - if (reson.ok) { - let treeList = '' - let treeListId = '' - reson.data.forEach(item=>{ - this.treeCheckedKeys.push(item.menuId) - if (treeList.length > 0) { - treeList += ',' - treeListId += ',' - } - treeList += item.menuName - treeListId += item.menuId - }) - this.form.treeListName = treeList - this.form.treeListId = treeListId - } - }) + if(bringData.standNumber){ + this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', { + standId: bringData.id, + }, {}, reson => { + if (reson.ok) { + let treeList = '' + let treeListId = '' + reson.data.forEach(item=>{ + this.treeCheckedKeys.push(item.menuId) + if (treeList.length > 0) { + treeList += ',' + treeListId += ',' + } + treeList += item.menuName + treeListId += item.menuId + }) + this.form.treeListName = treeList + this.form.treeListId = treeListId + } + }) + } } }) }, @@ -2985,6 +2987,7 @@ export default { }, treeHideCancel() { + this.treeListOptions = [] this.modalShowTree = false }, popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {