From e11e683ee8b772619b66efe25e93a72110bf6cfe Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 7 Nov 2025 17:01:16 +0800 Subject: [PATCH 1/9] =?UTF-8?q?feat:=20base=20=E6=88=91=E7=9A=84=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/myticket.vue | 49 ++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/src/views/wf/myticket.vue b/src/views/wf/myticket.vue index c0f481ce..5e09884e 100644 --- a/src/views/wf/myticket.vue +++ b/src/views/wf/myticket.vue @@ -2,6 +2,7 @@
+ 发起流程 - + - - - - - + + From 7db573871d40c4f34db6592c2a923944e2882a51 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 7 Nov 2025 17:05:47 +0800 Subject: [PATCH 2/9] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=A6=BB?= =?UTF-8?q?=E8=81=8C=E7=94=B3=E8=AF=B7=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/hrm.js | 29 +++++++++++- src/views/hrm/resignation.vue | 42 +++++++++++++++++ src/views/hrm/resignation_form.vue | 75 ++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 src/views/hrm/resignation.vue create mode 100644 src/views/hrm/resignation_form.vue diff --git a/src/api/model/hrm.js b/src/api/model/hrm.js index 5f55e757..9f5b3ba2 100644 --- a/src/api/model/hrm.js +++ b/src/api/model/hrm.js @@ -159,6 +159,33 @@ export default { `${config.API_URL}/hrm/attendance/${id}/` ); } - } + }, + }, + resignation: { + list: { + name: "离职申请", + req: async function(data){ + return await http.get( + `${config.API_URL}/hrm/resignation/`, + data + ); + } + }, + item: { + name: "离职申请", + req: async function(id){ + return await http.get( + `${config.API_URL}/hrm/resignation/${id}/`, + ); + } + }, + create: { + name: "新增", + req: async function(data){ + return await http.post( + `${config.API_URL}/hrm/resignation/`, + data); + } + }, } } diff --git a/src/views/hrm/resignation.vue b/src/views/hrm/resignation.vue new file mode 100644 index 00000000..9ec9c79d --- /dev/null +++ b/src/views/hrm/resignation.vue @@ -0,0 +1,42 @@ + + \ No newline at end of file diff --git a/src/views/hrm/resignation_form.vue b/src/views/hrm/resignation_form.vue new file mode 100644 index 00000000..a6eadc3f --- /dev/null +++ b/src/views/hrm/resignation_form.vue @@ -0,0 +1,75 @@ + + \ No newline at end of file From def8713e8ecf389da94d4e2db9577d73e578001b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 7 Nov 2025 23:24:11 +0800 Subject: [PATCH 3/9] =?UTF-8?q?feat:=20myticket=E4=B8=8D=E4=BC=A0=E5=85=A5?= =?UTF-8?q?mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/myticket.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/wf/myticket.vue b/src/views/wf/myticket.vue index 5e09884e..adec72c9 100644 --- a/src/views/wf/myticket.vue +++ b/src/views/wf/myticket.vue @@ -131,7 +131,7 @@

工单信息

关闭 - @@ -189,8 +189,7 @@ export default { currentComponent: null, ticketId: null, t_id: null, - dialogVisible: false, - mode: "show" + dialogVisible: false }; }, mounted() { @@ -242,7 +241,6 @@ export default { this.dialogVisible = false; this.drawer = true; this.t_id = null; - this.mode = "add" const viewPath = item.view_path; // 动态 import this.currentComponent = markRaw( From 84f0cef58139818cc1802ea02a796dd12bbfcf8e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 9 Nov 2025 12:33:34 +0800 Subject: [PATCH 4/9] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BC=9A?= =?UTF-8?q?=E8=AE=AE=E5=AE=A4=E9=A2=84=E5=AE=9A=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ofm/booking_form.vue | 35 ++++++++++++++-------------------- src/views/ofm/mroombooking.vue | 13 ++++--------- 2 files changed, 18 insertions(+), 30 deletions(-) diff --git a/src/views/ofm/booking_form.vue b/src/views/ofm/booking_form.vue index 890dd552..6035a403 100644 --- a/src/views/ofm/booking_form.vue +++ b/src/views/ofm/booking_form.vue @@ -10,12 +10,12 @@ - + - + - + - + - + @@ -46,7 +46,7 @@