chore: 调整分类树

This commit is contained in:
dap
2024-12-18 08:16:03 +08:00
parent e09e95c3f5
commit b641b0eb15
5 changed files with 38 additions and 31 deletions

View File

@@ -70,9 +70,9 @@ const gridOptions: VxeGridProps = {
query: async ({ page }, formValues = {}) => {
// 部门树选择处理
if (selectedCode.value.length === 1) {
formValues.categoryCode = selectedCode.value[0];
formValues.category = selectedCode.value[0];
} else {
Reflect.deleteProperty(formValues, 'categoryCode');
Reflect.deleteProperty(formValues, 'category');
}
return await workflowDefinitionList({