From 5ad5d8f4d69e64005e77a7e5098c284b86ef5cd0 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 1 Mar 2022 09:53:09 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E8=8D=89=E7=A8=BFID=20=E5=88=A4=E6=96=AD=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/qbfs/step5.vue | 2 +- .../pages/creatProcess/qbrk-product/step13.vue | 10 +++++++++- .../processCenter/pages/creatProcess/qbrk/step13.vue | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue index 205b292b7..1da04c431 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue @@ -588,7 +588,7 @@ export default { if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){ this.routerBussProStand() } - if (this.$route.query.bpnId !== '') { + if (this.$route.query.bpnId && this.$route.query.bpnId !== '') { let taskId = { id: this.$route.query.bpnId } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue index 0ee9eec88..37bac75f2 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue @@ -586,7 +586,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' - import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processCreateBuss,evaluationHisList} from "api/process"; + import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processCreateBuss,evaluationHisList,taskDel} from "api/process"; import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; let Base64 = require('js-base64').Base64; @@ -2450,6 +2450,14 @@ this.$http.post("esRevisePlan/es-revise-plan/modPlan", planForm, { _this: this }, res => { + if (this.$route.query.bpnId && this.$route.query.bpnId !== '') { + let taskId = { + id: this.$route.query.bpnId + } + taskDel(taskId).then(res=>{ + return res + }) + } this.submitLoading = false this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) }) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index 5a7ecc5ee..ecfa8e994 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -2408,7 +2408,7 @@ this.$http.post("esRevisePlan/es-revise-plan/modPlan", planForm, { _this: this }, res => { - if (this.$route.query.bpnId !== '') { + if (this.$route.query.bpnId && this.$route.query.bpnId !== '') { let taskId = { id: this.$route.query.bpnId } From a3b4d8ee7d1df6c5fca7615418a1103e8588055b Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 1 Mar 2022 10:41:28 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4123=20=E4=BC=81=E6=A0=87=E8=AF=A6=E6=83=85=20?= =?UTF-8?q?=E5=8A=A0=E9=80=BB=E8=BE=91=20=E4=BC=81=E6=A0=87=20=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=B1=9E=E6=80=A7=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=20=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherBussStandardDetails/index.vue | 10 ++++++---- .../components/EnterpriseStandardDatabase.vue | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index 69521ed19..179a6047d 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -3179,12 +3179,14 @@ export default { location['child1'] = childList } } - for (let i = 0; i < displayLocation.length; i++) { // sss11 - if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){ - const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== ''); - if(childList.length === 0){ + if((displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件') || !dynamicFormField){ + let childList = [] + if(displayLocation[i].child){ + childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== ''); + } + if(displayLocation[i].label !== '基础信息' && childList.length === 0){ displayLocation.splice(i,1) } } diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 68d4ad82a..00b1a47fa 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -709,7 +709,6 @@