From af8cc1abfb246fb92b1e28b80bb9d193eb138c8a Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Fri, 8 Oct 2021 15:42:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95=E5=BA=93?= =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E6=B8=85=E5=8D=95=E6=B7=BB=E5=8A=A0=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E6=B5=81=E7=A8=8B=E5=8F=91=E5=B8=83=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/xmqdqr/step1-4.vue | 825 ++++++++++++++++++ .../accessStandardsAndRegulations/index.vue | 2 +- .../localProductsOrProjectLibrary/index.vue | 28 +- src/router/index.js | 9 + 4 files changed, 850 insertions(+), 14 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue new file mode 100644 index 000000000..ed8e83e68 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue @@ -0,0 +1,825 @@ + + + + + + diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 244c81671..c24f4f472 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -88,7 +88,7 @@ export default { this.tabValue = this.list[0].name; }, beforeRouteLeave(to, from, next) { - const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "ProjectAddEit", "OtherAddEit"]; + const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"]; // 离开此页面之前,记录tabName以便返回使用,如果将要访问的页面不是这两个,则清空tabName if (toName.includes(to.name)) { this.$store.commit("SET_ACCESS_STANDARD_REG_TABS", this.tabValue); diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index 5a962c0dd..f2881be94 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -198,6 +198,9 @@ 查看 + + 发起确认流程 + @@ -891,6 +894,9 @@ export default { case "查看": this.handlePreview(command[0]); break; + case "发起确认流程": + this.handleProcess(command[0]); + break; } }, /** @@ -1394,19 +1400,15 @@ export default { } }); }, - // 关联 - handleRelation(row) { - this.row = row; - this.rowId = this.row.id; - this.getSearchInforList(); - this.getRelectiontTable(); - this.showModelRelation = true; - this.$nextTick(() => { - this.relationTableHeight = $(".demo-drawer-content").height() - 52 - 60; - window.onresize = function() { - this.relationTableHeight = $(".demo-drawer-content").height() - 52 - 60; - }.bind(this); - }); + // 发起确认流程 + handleProcess(row) { + // 项目清单确认流程 + this.$router.push({ + name:'xmqdqrStep1-4', + query: { + row + } + }) }, // 关联里面条件查询的下拉列表数据获取 getSearchInforList() { diff --git a/src/router/index.js b/src/router/index.js index e508867cf..33bcf020f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -577,6 +577,15 @@ const routes = [ title: '项目清单确认流程' } }, + { + path: '/xmqdqrStep1-4', + name: 'xmqdqrStep1-4', + component: () => import('@/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue'), + meta: { + requireAuth: true, + title: '项目清单确认流程' + } + }, { path: '/xmqdqrStep3', name: 'xmqdqrStep3',