Merge branch 'feature/bpm' of https://github.com/yudaocode/yudao-ui-admin-vue3 into feature/bpm
This commit is contained in:
@ -262,6 +262,7 @@ import { checkPermi } from '@/utils/permission'
|
||||
import { useUserStoreWithOut } from '@/store/modules/user'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import {useTagsView} from "@/hooks/web/useTagsView";
|
||||
|
||||
defineOptions({ name: 'BpmModel' })
|
||||
|
||||
@ -498,6 +499,7 @@ const handleDeleteCategory = async () => {
|
||||
} catch {}
|
||||
}
|
||||
|
||||
const tagsView = useTagsView();
|
||||
/** 添加流程模型弹窗 */
|
||||
const modelFormRef = ref()
|
||||
const openModelForm = (type: string, id?: number) => {
|
||||
@ -507,6 +509,10 @@ const openModelForm = (type: string, id?: number) => {
|
||||
push({
|
||||
name: 'BpmModelUpdate',
|
||||
params: { id, type }
|
||||
}).then((_) => {
|
||||
if (type === 'copy') {
|
||||
tagsView.setTitle('复制流程')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user