Commit 4e533ee0 by 张恒

feat(scgl): 添加业务组织字段配置

- 在config.ts中新增ywzz字段配置,包括选择器组件设置
- 添加业务组织列定义到columns数组中
- 设置表格列的可调整大小、标题、组件类型等属性
- 在workflowPermission.ts中配置业务组织字段的工作流权限
- 定义字段的必填、视图、编辑等权限控制选项
parent dd28528e
...@@ -83,6 +83,21 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -83,6 +83,21 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body, getPopupContainer: () => document.body,
}, },
}, },
{
field: 'ywzz',
label: '业务组织',
defaultValue: undefined,
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '2015724355955159041' },
labelField: 'name',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
},
},
]; ];
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
...@@ -98,7 +113,18 @@ export const columns: BasicColumn[] = [ ...@@ -98,7 +113,18 @@ export const columns: BasicColumn[] = [
styleConfig: undefined, styleConfig: undefined,
listStyle: '', listStyle: '',
}, },
{
resizable: true,
dataIndex: 'ywzz',
title: '业务组织',
componentType: 'select',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{ {
resizable: true, resizable: true,
dataIndex: 'lph', dataIndex: 'lph',
......
...@@ -133,4 +133,20 @@ export const permissionList = [ ...@@ -133,4 +133,20 @@ export const permissionList = [
options: {}, options: {},
defaultValue: '', defaultValue: '',
}, },
{
required: true,
view: true,
edit: true,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '业务组织',
fieldId: 'ywzz',
isSubTable: false,
showChildren: true,
type: 'select',
key: 'lkajsldjaljdla',
children: [],
options: {},
},
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment