From 362df53bd4dfe390cfecbbcae2bb3e99e98f71c3 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Wed, 12 Jan 2022 10:34:58 +0800 Subject: [PATCH 01/18] liuchengka --- hb_client/src/api/wpm.js | 18 ++ hb_client/src/views/inm/product.vue | 53 ++++- hb_client/src/views/pm/processcard.vue | 45 ++-- hb_client/src/views/qm/processtest.vue | 8 +- hb_client/src/views/qm/producttest.vue | 271 ++++++++++++++++++++---- hb_client/src/views/qm/taskdetails.vue | 12 +- hb_client/src/views/wpm/operationdo.vue | 21 +- 7 files changed, 358 insertions(+), 70 deletions(-) diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index 8bbb1c9..657748f 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -334,3 +334,21 @@ export function getcutList(query) { }) } +//军检 + +export function mtest(id,data) { + return request({ + url: `/wpm/wproduct/${id}/mtest/`, + method: 'post', + data + }) +} + +//生成流程卡 + +export function getCard(id) { + return request({ + url: `/wpm/wproduct/${id}/card/`, + method: 'GET', + }) +} \ No newline at end of file diff --git a/hb_client/src/views/inm/product.vue b/hb_client/src/views/inm/product.vue index 6d4b9f7..6689732 100644 --- a/hb_client/src/views/inm/product.vue +++ b/hb_client/src/views/inm/product.vue @@ -45,7 +45,16 @@ 合格 - + + + - + + + + + + + + + + + + diff --git a/hb_client/src/views/pm/processcard.vue b/hb_client/src/views/pm/processcard.vue index 8879834..7d9266d 100644 --- a/hb_client/src/views/pm/processcard.vue +++ b/hb_client/src/views/pm/processcard.vue @@ -1,34 +1,55 @@ diff --git a/hb_client/src/views/qm/processtest.vue b/hb_client/src/views/qm/processtest.vue index e309602..7caa670 100644 --- a/hb_client/src/views/qm/processtest.vue +++ b/hb_client/src/views/qm/processtest.vue @@ -316,12 +316,8 @@ export default { //不合格玻璃审理单查看 handledetailbhg(scope) { - this.limitedRetrial=true; - ticketread(scope.row.ticket).then((response) => { - if (response.data) { - this.customfieldList = response.data; - } - }); + + this.$router.push({name:"ticketDetail",params:{ticketId:scope.row.ticket}}) } }, diff --git a/hb_client/src/views/qm/producttest.vue b/hb_client/src/views/qm/producttest.vue index 8377d41..6ad92aa 100644 --- a/hb_client/src/views/qm/producttest.vue +++ b/hb_client/src/views/qm/producttest.vue @@ -1,12 +1,7 @@