diff --git a/apps/web-antd/src/views/workflow/category/data.ts b/apps/web-antd/src/views/workflow/category/data.ts index 0e504699..5c04afa1 100644 --- a/apps/web-antd/src/views/workflow/category/data.ts +++ b/apps/web-antd/src/views/workflow/category/data.ts @@ -21,11 +21,7 @@ export const columns: VxeGridProps['columns'] = [ treeNode: true, }, { - field: 'categoryCode', - title: '分类编码', - }, - { - field: 'sortNum', + field: 'orderNum', title: '排序', }, { @@ -39,8 +35,8 @@ export const columns: VxeGridProps['columns'] = [ export const modalSchema: FormSchemaGetter = () => [ { - label: 'id', - fieldName: 'id', + label: 'categoryId', + fieldName: 'categoryId', component: 'Input', dependencies: { show: () => false, @@ -61,15 +57,8 @@ export const modalSchema: FormSchemaGetter = () => [ rules: 'required', }, { - fieldName: 'categoryCode', - label: '分类编码', - component: 'Input', - rules: 'required', - }, - { - fieldName: 'sortNum', + fieldName: 'orderNum', label: '排序', component: 'InputNumber', - rules: 'required', }, ];