update 优化模型保存位置,审批记录,请假申请按钮

This commit is contained in:
gssong
2024-05-17 20:59:47 +08:00
parent b8e0f018f0
commit b2e47f3938
5 changed files with 51 additions and 54 deletions

View File

@ -62,7 +62,6 @@ const props = defineProps({
const loading = ref(false);
const visible = ref(false);
const historyList = ref<Array<any>>([]);
const deleteReason = ref<string>('');
const tabActiveName = ref('bpmn');
const bpmnViewRef = ref<BpmnView>();
@ -74,8 +73,7 @@ const init = async (instanceId: string) => {
tabActiveName.value = 'bpmn';
historyList.value = [];
processApi.getHistoryRecord(instanceId).then((resp) => {
historyList.value = resp.data.historyRecordList;
deleteReason.value = resp.data.deleteReason;
historyList.value = resp.data;
loading.value = false;
});
await nextTick(() => {