From ded2507d0267f4939012eb7b0728d4f6ea13a858 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 3 Sep 2024 15:19:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:mlog=E5=8F=AA=E6=9C=89=E9=BB=91=E5=8C=96?= =?UTF-8?q?=E5=92=8C=E9=80=80=E7=81=AB=E6=97=B6=E6=B7=BB=E5=8A=A0=E4=BF=9D?= =?UTF-8?q?=E6=B8=A9=E6=97=B6=E9=97=B4=E5=92=8C=E9=80=80=E7=81=AB=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/mlog_form.vue | 77 ++++++++++++---------------------- src/views/wpm_gx/mlogs.vue | 1 + 2 files changed, 27 insertions(+), 51 deletions(-) diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index d1e04184..ee3259a3 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -13,7 +13,7 @@ :model="form" :rules="rules" label-position="right" - label-width="100px" + label-width="80px" style="padding: 0 10px" > @@ -132,6 +132,26 @@ /> + + + (min) + + + + + (min) + + - @@ -163,39 +170,6 @@ > - - - - - - -
(h)
-
-
@@ -219,7 +193,7 @@ const defaultForm = { work_start_time: "", work_end_time:'', note:'', - reminder_interval_list: [], + reminder_interval_list: [0,0], }; export default { @@ -228,6 +202,10 @@ export default { type: String, default: "", }, + mgroupName:{ + type: String, + default: "", + }, mgroup: { type: String, default: "", @@ -352,9 +330,6 @@ export default { Object.assign(this.form, data); this.getRoute(data.id); }, - setMgroup(id) { - this.form.mgroup = id; - }, //表单提交方法 submit() { diff --git a/src/views/wpm_gx/mlogs.vue b/src/views/wpm_gx/mlogs.vue index 8f7236a7..7237c35b 100644 --- a/src/views/wpm_gx/mlogs.vue +++ b/src/views/wpm_gx/mlogs.vue @@ -129,6 +129,7 @@ :process="processId" :mgroup="mgroupId" :dept="deptId" + :mgroupName = "mgroupName" @success="handleSaveSuccess" @closed="dialog.save = false" >