From f4bfc2bf83a0cd39d6a2700c51b979445f200951 Mon Sep 17 00:00:00 2001 From: liushuai Date: Thu, 6 Feb 2020 11:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InitialProduction/index.vue | 40 +++++++++---------- .../ProcessTaskAssignment/index.vue | 1 - .../TechnologyCenter/QueryParts/index.vue | 4 +- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index 2b84551e..05c56527 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -456,27 +456,27 @@ export default { 'id' ]) }, - watch: { - // 如果路由有变化,会再次执行该方法 - '$route'(to) { - const _this = this - console.log(to, 2222) - if (to.name === 'InitialProduction') { - _this.typeChange() - } - } - // '$route': { - // handler(route) { - // const _this = this - // console.log(route.name) - // if (route.name === 'InitialProduction') { - // _this.typeChange() - // } - // } - // } - }, + // watch: { + // // 如果路由有变化,会再次执行该方法 + // '$route'(to) { + // const _this = this + // console.log(to, 2222) + // if (to.name === 'InitialProduction') { + // _this.typeChange() + // } + // } + // // '$route': { + // // handler(route) { + // // const _this = this + // // console.log(route.name) + // // if (route.name === 'InitialProduction') { + // // _this.typeChange() + // // } + // // } + // // } + // }, created() { - // this.typeChange() + this.typeChange() this.getCurrentTime() this.getNowTime() }, diff --git a/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue b/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue index 3ff0d547..282a1c6a 100644 --- a/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue +++ b/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue @@ -36,7 +36,6 @@ height="750" highlight-current-row border - stripe @selection-change="handleSelectionChange"> diff --git a/src/views/TechnologyCenter/QueryParts/index.vue b/src/views/TechnologyCenter/QueryParts/index.vue index 838f5213..0cdeaa5e 100644 --- a/src/views/TechnologyCenter/QueryParts/index.vue +++ b/src/views/TechnologyCenter/QueryParts/index.vue @@ -245,7 +245,7 @@ 删除 @@ -290,7 +290,7 @@ - +