feat:【bpm】优化业务表单流程添加重新发起功能

pull/845/head
YunaiV 2025-12-27 11:39:24 +08:00
parent e80e4cdea8
commit 46602fec26
2 changed files with 3 additions and 3 deletions

View File

@ -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))
}
//

View File

@ -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,