From 893260de8c948a1f1b2fee8b9b221eba01136462 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Thu, 17 Feb 2022 15:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=8D=B7=20=E5=92=8C=20?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=88=86=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yieldReport/com_separate_roll.js | 7 + src/api/yieldReport/com_switch_roll.js | 7 + .../yieldReport/com_produce_report_normal.vue | 16 +- .../modules/yieldReport/com_separate_roll.vue | 171 +++++++++++++----- .../modules/yieldReport/com_switch_roll.vue | 132 ++++++++++---- 5 files changed, 239 insertions(+), 94 deletions(-) create mode 100644 src/api/yieldReport/com_separate_roll.js create mode 100644 src/api/yieldReport/com_switch_roll.js diff --git a/src/api/yieldReport/com_separate_roll.js b/src/api/yieldReport/com_separate_roll.js new file mode 100644 index 0000000..4fe927b --- /dev/null +++ b/src/api/yieldReport/com_separate_roll.js @@ -0,0 +1,7 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 校验创建分卷的操作 +export const checkCreateSplitSfdcRoll = data => createAPI('schedule/checkCreateSplitSfdcRoll', 'POST', data) + +// 执行创建分卷的操作 +export const createSplitSfdcRoll = data => createAPI('schedule/createSplitSfdcRoll', 'POST', data) diff --git a/src/api/yieldReport/com_switch_roll.js b/src/api/yieldReport/com_switch_roll.js new file mode 100644 index 0000000..23227f6 --- /dev/null +++ b/src/api/yieldReport/com_switch_roll.js @@ -0,0 +1,7 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 校验切换卷的操作 +export const checkSwitchSfdcRoll = data => createAPI('schedule/checkSwitchSfdcRoll', 'POST', data) + +// 执行切换卷的操作 +export const switchSfdcRoll = data => createAPI('schedule/switchSfdcRoll', 'POST', data) diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index d2a37a1..617142c 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -165,7 +165,7 @@ width="75" :label="'操作'"> @@ -240,11 +240,11 @@ width="115" :label="'操作'"> @@ -428,7 +428,7 @@ + :visible.sync="showSwitchFlag" @refreshPageData="refreshPageData"> @@ -2990,7 +2990,7 @@ export default { await this.refreshCurrentTabTable(); //刷新当前的菜单 - await this.refreshPageButtons(); + //await this.refreshPageButtons(); }, @@ -3123,7 +3123,7 @@ export default { //打开切换用户的页面 this.$nextTick(() => { this.showSwitchFlag = true; - this.$refs.comSwitchRoll.init(this.scheduleData.seqNo, this.operatorData) + this.$refs.comSwitchRoll.init(this.scheduleData, this.operatorData) }); }, @@ -3134,7 +3134,7 @@ export default { //打开创建分卷的页面 76一会还把 this.$nextTick(() => { this.showSeparateFlag = true; - this.$refs.comSeparateRoll.init(this.scheduleData.seqNo, this.operatorData) + this.$refs.comSeparateRoll.init(this.scheduleData, this.operatorData) }); }, diff --git a/src/views/modules/yieldReport/com_separate_roll.vue b/src/views/modules/yieldReport/com_separate_roll.vue index 5fd557c..4f36b74 100644 --- a/src/views/modules/yieldReport/com_separate_roll.vue +++ b/src/views/modules/yieldReport/com_separate_roll.vue @@ -9,7 +9,7 @@ @@ -20,7 +20,7 @@ @@ -33,12 +33,12 @@ - + - + @@ -52,36 +52,51 @@