From e9cfa3be766ae5b3cc6362fcd54eaeee4b6ec003 Mon Sep 17 00:00:00 2001 From: zuowenwen Date: Thu, 6 Jan 2022 11:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/toolMan/factory.js | 4 ++++ src/views/modules/toolMan/quarantineLibrary.vue | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 src/api/toolMan/factory.js diff --git a/src/api/toolMan/factory.js b/src/api/toolMan/factory.js new file mode 100644 index 00000000..d23375fd --- /dev/null +++ b/src/api/toolMan/factory.js @@ -0,0 +1,4 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// 获取工厂列表 +export const getFactory = data => createAPI(`/factory/tblbasedata/list`,'get',data) diff --git a/src/views/modules/toolMan/quarantineLibrary.vue b/src/views/modules/toolMan/quarantineLibrary.vue index 6865e06b..e6b3107c 100644 --- a/src/views/modules/toolMan/quarantineLibrary.vue +++ b/src/views/modules/toolMan/quarantineLibrary.vue @@ -603,6 +603,8 @@ import { values1 : row.site, values2 : row.toolInstanceId, values3 : '', + remark : row.remark, + additionEmailAddress : row.email, } inserteEEmailToSendQueue(saveData).then(({data}) =>{ @@ -687,10 +689,12 @@ import { if(data.code == 0){ this.$message.success(data.msg) this.getDataList() - if(passFlag == 'N'){ + if(passFlag == 'W' || passFlag == 'B'){ + row.remark = status3 this.saveEmail(row) - }else if (passFlag == 'B'){ - this.setUp.modelFlag = false + if (passFlag == 'B'){ + this.setUp.modelFlag = false + } } }else { this.$alert(data.msg, '操作提示', {