From 7ceb66ee3aa031e11618c6898ec4f17bac9e2bb7 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Wed, 29 May 2024 09:44:20 +0800 Subject: [PATCH] add --- .../default/components/header/index.vue | 6 ++- src/layout/default/components/header/msg.vue | 0 src/utils/Notifce.js | 38 +++++++++++++++++++ src/views/oa_Initiate/detail.vue | 19 +++++++++- src/views/oa_Initiate/index.vue | 10 ++--- 5 files changed, 64 insertions(+), 9 deletions(-) create mode 100644 src/layout/default/components/header/msg.vue create mode 100644 src/utils/Notifce.js diff --git a/src/layout/default/components/header/index.vue b/src/layout/default/components/header/index.vue index 1cb88d1..13dde5b 100644 --- a/src/layout/default/components/header/index.vue +++ b/src/layout/default/components/header/index.vue @@ -10,15 +10,16 @@ +
+ +
-
-
+ + + + + + + 撤回 + 取消 + +
@@ -106,6 +115,7 @@ const popupRef = shallowRef>() const showPerDialog = ref(false); const personnel = ref(null); const userStore = useUserStore().userInfo; +const showBackDialog = ref(false) // 表单数据 const formData = reactive({ @@ -134,6 +144,11 @@ const form = reactive({ }) +const backFn = () => { + if (!form.content) return feedback.msgError("请填写撤回原因"); + form.check = 3 + handCheck() +} const userclick = async () => { showPerDialog.value = true; await nextTick(); diff --git a/src/views/oa_Initiate/index.vue b/src/views/oa_Initiate/index.vue index a9294c3..a6be919 100644 --- a/src/views/oa_Initiate/index.vue +++ b/src/views/oa_Initiate/index.vue @@ -33,7 +33,7 @@
- + @@ -54,8 +54,7 @@
- + @@ -65,12 +64,12 @@