From 46602fec26bb2bf10ba852ad01f4f28bdaf6040b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 27 Dec 2025 11:39:24 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90bpm=E3=80=91=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=B8=9A=E5=8A=A1=E8=A1=A8=E5=8D=95=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=87=8D=E6=96=B0=E5=8F=91=E8=B5=B7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/oa/leave/create.vue | 4 ++-- src/views/bpm/processInstance/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue index 4c7b336e..b64f4ca7 100644 --- a/src/views/bpm/oa/leave/create.vue +++ b/src/views/bpm/oa/leave/create.vue @@ -192,7 +192,7 @@ const daysDifference = () => { } /** 获取请假数据,用于重新发起时自动填充 */ -const getLeaveData = async (id: number) => { +const getDetail = async (id: number) => { try { formLoading.value = true const data = await LeaveApi.getLeave(id) @@ -228,7 +228,7 @@ onMounted(async () => { // 如果有业务编号,说明是重新发起,需要加载原有数据 if (query.id) { - await getLeaveData(Number(query.id)) + await getDetail(Number(query.id)) } // 审批相关:加载最新的审批详情,主要用于节点预测 diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue index 9d7d6cc7..1a8ef890 100644 --- a/src/views/bpm/processInstance/index.vue +++ b/src/views/bpm/processInstance/index.vue @@ -279,7 +279,7 @@ const handleCreate = async (row?: ProcessInstanceVO) => { const processDefinitionDetail = await DefinitionApi.getProcessDefinition( row.processDefinitionId ) - //如果是【业务表单】,跳转到对应的发起界面 + // 如果是【业务表单】,跳转到对应的发起界面 if (processDefinitionDetail.formType === 20) { await router.push({ path: processDefinitionDetail.formCustomCreatePath,