diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue index 4c7b336e4..b64f4ca7b 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 9d7d6cc72..1a8ef8900 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,