From 7bfd40ae04e8b5b628ee5e29b1215cc0b744557e Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 15 Mar 2023 11:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E5=8A=A1=E7=BB=B4=E6=8A=A4=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E4=B8=8D=E9=9C=80=E8=A6=81=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/position/position.data.ts | 72 +++++++++++----------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/src/views/system/position/position.data.ts b/src/views/system/position/position.data.ts index cec59e2..5d44f35 100644 --- a/src/views/system/position/position.data.ts +++ b/src/views/system/position/position.data.ts @@ -2,22 +2,22 @@ import { BasicColumn, FormSchema } from '/@/components/Table'; import { rules } from '/@/utils/helper/validator'; export const columns: BasicColumn[] = [ - { - title: '职务编码', - dataIndex: 'code', - width: 200, - align: 'left', - }, + // { + // title: '职务编码', + // dataIndex: 'code', + // width: 200, + // align: 'left', + // }, { title: '职务名称', dataIndex: 'name', width: 200, }, - { - title: '职务等级', - dataIndex: 'postRank_dictText', - width: 100, - }, + // { + // title: '职务等级', + // dataIndex: 'postRank_dictText', + // width: 100, + // }, ]; export const searchFormSchema: FormSchema[] = [ @@ -36,35 +36,35 @@ export const formSchema: FormSchema[] = [ component: 'Input', show: false, }, - { - label: '职级', - field: 'postRank', - component: 'JDictSelectTag', - required: true, - componentProps: { - dictCode: 'position_rank', - dropdownStyle: { - maxHeight: '100vh', - }, - getPopupContainer: () => document.body, - }, - }, + // { + // label: '职级', + // field: 'postRank', + // component: 'JDictSelectTag', + // required: true, + // componentProps: { + // dictCode: 'position_rank', + // dropdownStyle: { + // maxHeight: '100vh', + // }, + // getPopupContainer: () => document.body, + // }, + // }, { field: 'name', label: '职务名称', component: 'Input', required: true, }, - { - field: 'code', - label: '职务编码', - component: 'Input', - required: true, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - dynamicRules: ({ model, schema }) => { - return rules.duplicateCheckRule('sys_position', 'code', model, schema, true); - }, - }, + // { + // field: 'code', + // label: '职务编码', + // component: 'Input', + // required: true, + // dynamicDisabled: ({ values }) => { + // return !!values.id; + // }, + // dynamicRules: ({ model, schema }) => { + // return rules.duplicateCheckRule('sys_position', 'code', model, schema, true); + // }, + // }, ];