From 7a4e70626d90a5305a2209ab75e7e4cd5a7facd1 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 17 Dec 2023 20:35:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mtask=E6=89=A7=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=85=8D=E5=88=86=E6=96=99=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/pm.js | 8 ++++++ src/views/wpm/mlog_dept10.vue | 46 +++++++++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/api/model/pm.js b/src/api/model/pm.js index a473f22f..9880bf3c 100644 --- a/src/api/model/pm.js +++ b/src/api/model/pm.js @@ -44,6 +44,14 @@ export default { data); } }, + addInfo: { + name: "添加信息", + req: async function(id, data){ + return await http.post( + `${config.API_URL}/pm/mtask/${id}/add_info/`, + data); + } + }, delete: { name: "删除", req: async function(id){ diff --git a/src/views/wpm/mlog_dept10.vue b/src/views/wpm/mlog_dept10.vue index 2fdb1758..f92327d7 100644 --- a/src/views/wpm/mlog_dept10.vue +++ b/src/views/wpm/mlog_dept10.vue @@ -56,11 +56,15 @@ - - + + @@ -76,7 +80,10 @@ }} {{ currentMtask.count_notok }} + {{ currentMtask.peifen_kg + }} + @@ -250,6 +257,28 @@ :mlogId="mlogId" @closed="visibleDrawer = false"> + + + + + + + + + 确定 + 取消 + +