流程设计页面:查询流程分类时改成传itemCode

This commit is contained in:
suguangxu
2025-05-21 15:32:47 +08:00
parent 8bb1463146
commit 784442bd80
3 changed files with 3 additions and 2 deletions

View File

@ -185,6 +185,7 @@ export enum TaskTypeUrl {
// 工作流分类id
export enum FlowCategory {
ID = '1419276800524425555',
CODE = 'WF10000',
}
// 审批类型 0 同意 1 拒绝 2 驳回 3 结束 4 其他(用户自定义按钮)

View File

@ -62,7 +62,7 @@
getCategoryList();
async function getCategoryList() {
categoryOptions.value = (await getDicDetailList({
itemId: FlowCategory.ID,
itemCode: FlowCategory.CODE,
})) as unknown as TreeItem[];
}
</script>

View File

@ -296,7 +296,7 @@
async function getCategoryTree() {
let res = (await getDicDetailList({
itemId: FlowCategory.ID,
itemCode: FlowCategory.CODE,
})) as unknown as TreeItem[];
data.treeData = res.map((ele) => {
ele.icon = 'ant-design:tags-outlined';