Commit 2da5c74c by 王宝涛

refactor(chaiche/lps): 移除班组字段及相关配置

- 删除了表单中的班组选择组件配置
- 移除了表格列中的班组字段定义
- 清理了搜索区域的班组相关组件
- 从数据模型中移除了banzu字段定义
- 更新了工作流权限配置中的班组字段设置
- 调整了网格布局结构以适应字段移除后的变化
- 更新了按钮配置中的ID值以匹配新配置
parent ad79177f
...@@ -8,8 +8,6 @@ export interface MesCheliangBgPageParams extends BasicPageParams { ...@@ -8,8 +8,6 @@ export interface MesCheliangBgPageParams extends BasicPageParams {
tjsj: string; tjsj: string;
banzu: string;
gzr: string; gzr: string;
sfwgcj: string; sfwgcj: string;
...@@ -54,8 +52,6 @@ export interface MesCheliangBgPageModel { ...@@ -54,8 +52,6 @@ export interface MesCheliangBgPageModel {
dhxx: string; dhxx: string;
drzcl: string; drzcl: string;
banzu: string;
} }
/** /**
......
...@@ -28,21 +28,6 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -28,21 +28,6 @@ export const searchFormSchema: FormSchema[] = [
}, },
{ {
field: 'banzu',
label: '班组',
defaultValue: undefined,
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '2021042614763266049' },
labelField: 'name',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
},
},
{
field: 'gzr', field: 'gzr',
label: '工作人', label: '工作人',
defaultValue: undefined, defaultValue: undefined,
...@@ -256,19 +241,6 @@ export const columns: BasicColumn[] = [ ...@@ -256,19 +241,6 @@ export const columns: BasicColumn[] = [
styleConfig: undefined, styleConfig: undefined,
listStyle: undefined, listStyle: undefined,
}, },
{
resizable: true,
dataIndex: 'banzu',
title: '班组',
componentType: 'radio',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
]; ];
//表头合并配置 //表头合并配置
export const headerMergingData = []; export const headerMergingData = [];
...@@ -503,47 +475,6 @@ export const formProps: FormProps = { ...@@ -503,47 +475,6 @@ export const formProps: FormProps = {
span: 8, span: 8,
list: [ list: [
{ {
key: 'bbc92accfa5b4def90d343b129322110',
field: 'banzu',
label: '班组',
type: 'radio',
component: 'ApiRadioGroup',
colProps: { span: 24 },
componentProps: {
span: 7,
showLabel: true,
disabled: false,
optionType: 'default',
staticOptions: [
{ key: 1, label: 'option 1', value: 'option 1' },
{ key: 2, label: 'option 2', value: 'option 2' },
{ key: 3, label: 'option 3', value: 'option 3' },
],
datasourceType: 'dic',
labelField: 'name',
valueField: 'value',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: false,
rules: [],
events: {},
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
params: { itemId: '2021042614763266049' },
itemId: '2021042614763266049',
style: {},
},
},
],
},
{
span: 8,
list: [
{
key: '5764c97901a848bb8c8be56822bb6b1c', key: '5764c97901a848bb8c8be56822bb6b1c',
field: 'gzr', field: 'gzr',
label: '工作人', label: '工作人',
...@@ -571,28 +502,6 @@ export const formProps: FormProps = { ...@@ -571,28 +502,6 @@ export const formProps: FormProps = {
}, },
], ],
}, },
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: 'ac2e369650594a0394d01b51dee15aa1',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{ {
span: 8, span: 8,
list: [ list: [
...@@ -634,6 +543,28 @@ export const formProps: FormProps = { ...@@ -634,6 +543,28 @@ export const formProps: FormProps = {
}, },
], ],
}, },
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: 'ac2e369650594a0394d01b51dee15aa1',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{ {
span: 8, span: 8,
list: [ list: [
...@@ -710,28 +641,6 @@ export const formProps: FormProps = { ...@@ -710,28 +641,6 @@ export const formProps: FormProps = {
}, },
], ],
}, },
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: '76c345091afa464f960e058090eea807',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{ {
span: 8, span: 8,
list: [ list: [
...@@ -770,6 +679,28 @@ export const formProps: FormProps = { ...@@ -770,6 +679,28 @@ export const formProps: FormProps = {
}, },
], ],
}, },
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: '76c345091afa464f960e058090eea807',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{ {
span: 8, span: 8,
list: [ list: [
...@@ -846,28 +777,6 @@ export const formProps: FormProps = { ...@@ -846,28 +777,6 @@ export const formProps: FormProps = {
}, },
], ],
}, },
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: 'ebe3ab4c22264453a17b142028eab977',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{ {
span: 8, span: 8,
list: [ list: [
...@@ -900,8 +809,6 @@ export const formProps: FormProps = { ...@@ -900,8 +809,6 @@ export const formProps: FormProps = {
}, },
], ],
}, },
{ span: 8, list: [] },
{ span: 8, list: [] },
], ],
componentProps: { componentProps: {
gutter: 0, gutter: 0,
......
...@@ -74,22 +74,6 @@ export const permissionList = [ ...@@ -74,22 +74,6 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '班组',
fieldId: 'banzu',
isSubTable: false,
showChildren: true,
type: 'radio',
key: 'bbc92accfa5b4def90d343b129322110',
children: [],
options: {},
},
{
required: false,
view: true,
edit: true,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '工作人', fieldName: '工作人',
fieldId: 'gzr', fieldId: 'gzr',
isSubTable: false, isSubTable: false,
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
//展示在列表内的按钮 //展示在列表内的按钮
const actionButtons = ref<string[]>(["view","edit","delete"]); const actionButtons = ref<string[]>(["view","edit","delete"]);
const buttonConfigs = computed(()=>{ const buttonConfigs = computed(()=>{
const list = [{"buttonId":"2020751420573388800","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2020751420573388801","name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"buttonId":"2020751420573388802","name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true,"isEnableLock":true},{"buttonId":"2020751420573388803","name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}] const list = [{"buttonId":"2021133805982904320","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2021133805982904321","name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"buttonId":"2021133805982904322","name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true,"isEnableLock":true},{"buttonId":"2021133805982904323","name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}]
return filterButtonAuth(list); return filterButtonAuth(list);
}) })
......
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