fix: 【工作流】--回退的高亮和api地址更换

This commit is contained in:
shizhong 2023-09-25 13:32:35 +08:00
parent 0bef9924fe
commit 715cf6c85f

View File

@ -191,7 +191,7 @@
</XModal>
<!-- 弹窗回退节点 -->
<TaskRollbackDialog ref="taskRollbackRef" @success="getDetail" />
<TaskReturnDialog ref="taskReturnDialogRef" @success="getDetail" />
</ContentWrap>
</template>
<script lang="ts" setup>
@ -207,7 +207,7 @@ import { setConfAndFields2 } from '@/utils/formCreate'
import type { ApiAttrs } from '@form-create/element-ui/types/config'
import { useUserStore } from '@/store/modules/user'
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
import TaskRollbackDialog from './TaskRollbackDialogForm.vue'
import TaskReturnDialog from './TaskReturnDialogForm.vue'
defineOptions({ name: 'BpmProcessInstanceDetail' })
@ -365,10 +365,10 @@ const handleDelegate = async (task) => {
}
//退
const taskRollbackRef = ref()
const taskReturnDialogRef = ref()
/** 处理审批退回的操作 */
const handleBack = async (task) => {
taskRollbackRef.value.open(task.id)
taskReturnDialogRef.value.open(task.id)
}
// ========== ==========