From cf044cc679342eca6355165c5daa09b42badb103 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 20 Dec 2024 08:50:53 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/workflow/category/data.ts | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) 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', }, ];