diff --git a/src/api/model/hrm.js b/src/api/model/hrm.js
index 5f55e757..6acccebf 100644
--- a/src/api/model/hrm.js
+++ b/src/api/model/hrm.js
@@ -159,6 +159,41 @@ 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);
+ }
+ },
+ delete: {
+ name: "删除",
+ req: async function(id){
+ return await http.delete(
+ `${config.API_URL}/hrm/resignation/${id}/`
+ );
+ }
+ },
}
}
diff --git a/src/views/hrm/resignation.vue b/src/views/hrm/resignation.vue
new file mode 100644
index 00000000..73a87bd6
--- /dev/null
+++ b/src/views/hrm/resignation.vue
@@ -0,0 +1,53 @@
+
+
+
+
+ 新增
+
+
+
+
+ {t_id=row.id;mode='show';drawerVisible=true;}"
+ >
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+
+ {{ scope.row.ticket_?.state_.name }}
+
+
+ `
+ `
+
+
+
+
+
+
+
+
+
+
+
+
\ 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..96710249
--- /dev/null
+++ b/src/views/hrm/resignation_form.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+ {{ formData.employee_name }}({{ formData.belong_dept_name }} - {{ formData.post_name }})
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/ofm/booking_form.vue b/src/views/ofm/booking_form.vue
index 890dd552..5134cbd7 100644
--- a/src/views/ofm/booking_form.vue
+++ b/src/views/ofm/booking_form.vue
@@ -10,12 +10,12 @@
-
+
-
+
-
+
-
+
-
+
@@ -46,7 +46,7 @@