Commit 91aecefd authored by wuhao's avatar wuhao 🎯

adser

parent ee4ea158
...@@ -30,14 +30,9 @@ function getcolumns(setdrawer) { ...@@ -30,14 +30,9 @@ function getcolumns(setdrawer) {
{ {
width: 120, width: 120,
title: '设备类型', title: '设备类型',
dataIndex: 'equipmentTypeName', dataIndex: 'equipmentTypeName',
key: 'equipmentTypeId', key: 'equipmentTypeId',
valueType: 'treeSelect', valueType: 'treeSelect',
fieldProps: {
placeholder: '请选择',
showSearch: true,
},
options: { path: '/asset/equipmentType/queryTreeList', params: {} }, options: { path: '/asset/equipmentType/queryTreeList', params: {} },
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] }, formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
}, },
...@@ -72,13 +67,8 @@ function getcolumns(setdrawer) { ...@@ -72,13 +67,8 @@ function getcolumns(setdrawer) {
{ {
title: '部门名称', title: '部门名称',
width: 120, width: 120,
valueType: 'treeSelect', valueType: 'treeSelect',
dataIndex: 'departmentName', dataIndex: 'departmentName',
fieldProps: {
placeholder: '请选择',
showSearch: true,
},
key: 'departmentId', key: 'departmentId',
options: { options: {
path: '/auth/sysDepartment/query/children/tree', path: '/auth/sysDepartment/query/children/tree',
......
...@@ -162,10 +162,6 @@ function getcolumns(setDrawer, ifs, formRef) { ...@@ -162,10 +162,6 @@ function getcolumns(setDrawer, ifs, formRef) {
width: 120, width: 120,
valueType: 'treeSelect', valueType: 'treeSelect',
dataIndex: 'departmentName', dataIndex: 'departmentName',
fieldProps: {
placeholder: '请选择',
showSearch: true,
},
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] }, formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
key: 'departmentId', key: 'departmentId',
options: { 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