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, '操作提示', {