From 577d506c34b6c858c4bc2414fb738f067bf02cfc Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Thu, 25 Nov 2021 14:49:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9=E6=96=B0?= =?UTF-8?q?=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/unqualProcess.js | 26 +++- .../pages/rectificationDatabase.vue | 121 +++++++++++------- 2 files changed, 102 insertions(+), 45 deletions(-) diff --git a/src/api/unqualProcess.js b/src/api/unqualProcess.js index 505cef686..9daf74e57 100644 --- a/src/api/unqualProcess.js +++ b/src/api/unqualProcess.js @@ -55,10 +55,32 @@ export function meetingByMonth (params) { }) } -export function addUn (params) { +export function addUn (closeState, standId,standName,standSerialNumber, itemsNum,itemsName, productType, productLine, + productName, reason, responsibleUnit, dutyEngineer, authEngineer, qaEngineer, qaEngineerName, + authEngineerName, dutyEngineerName, planCloseTime) { + const data = { + closeState, + standSerialNumber, //标准号 + standName, //标准名称 + standId, + itemsNum, //条款号 + itemsName, //条款名称 + productType, + productLine, //产品线 + productName, //项目名称 + reason, //不合规项目 + responsibleUnit, //责任部门 + dutyEngineer, //责任工程师 + authEngineer, //认证工程师 + qaEngineer, //质量工程师 + qaEngineerName, + authEngineerName, + dutyEngineerName, + planCloseTime, //计划关闭时间 + } return axios({ url: 'api/sarStandUnqualified/sar-stand-unqualified/addOne', method: 'post', - data: params + data }) } diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue index 5739feb9b..301f31c60 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue @@ -571,9 +571,9 @@ - + @@ -603,9 +603,9 @@ placeholder="请输入条款名称" :maxlength="500"/> - + @@ -621,9 +621,9 @@ placeholder="请输入项目名称" :maxlength="500"/> - + @@ -633,21 +633,21 @@ placeholder="请输入责任部门" :maxlength="500"/> - + - + - + @@ -730,7 +730,6 @@