From 9fb27aa06255589ab2bcea4cc6fb8d51d8088e21 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 27 Oct 2023 17:15:36 +0800 Subject: [PATCH] =?UTF-8?q?10.26=E6=97=A5=E8=A6=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=BB=A5=E5=8F=8A=E6=A3=80=E9=AA=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/pm.js | 8 + src/components/scFormTable/index.vue | 2 +- src/config/route.js | 67 ++- src/views/mtm/route.vue | 234 +++++----- src/views/pm/mtask.vue | 676 ++++++++++++++------------- src/views/pm/mtask2.vue | 35 +- src/views/pm/mtask_form.vue | 15 +- src/views/qm/behavior.vue | 119 +++++ src/views/qm/first.vue | 102 ++++ src/views/qm/income.vue | 102 ++++ src/views/qm/process.vue | 102 ++++ src/views/qm/product.vue | 102 ++++ src/views/wpm/flog_form.vue | 17 +- src/views/wpm/worktask2.vue | 51 +- src/views/wpm/worktaskFlog.vue | 296 ++++++++---- 15 files changed, 1338 insertions(+), 590 deletions(-) create mode 100644 src/views/qm/behavior.vue create mode 100644 src/views/qm/first.vue create mode 100644 src/views/qm/income.vue create mode 100644 src/views/qm/process.vue create mode 100644 src/views/qm/product.vue diff --git a/src/api/model/pm.js b/src/api/model/pm.js index 26085002..22c058ff 100644 --- a/src/api/model/pm.js +++ b/src/api/model/pm.js @@ -164,5 +164,13 @@ export default { ); } }, + stop:{ + name: "停止任务", + req: async function(id){ + return await http.post( + `${config.API_URL}/pm/utask/${id}/stop/` + ); + } + }, } } \ No newline at end of file diff --git a/src/components/scFormTable/index.vue b/src/components/scFormTable/index.vue index cb44888f..775f6e85 100644 --- a/src/components/scFormTable/index.vue +++ b/src/components/scFormTable/index.vue @@ -9,7 +9,7 @@