mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-07 14:41:54 +08:00
🐞 fix:修复el-input、el-select、el-date-picker宽度
This commit is contained in:
@@ -22,12 +22,26 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
{
|
||||
label: '模板编码',
|
||||
field: 'code',
|
||||
isSearch: true
|
||||
isSearch: true,
|
||||
search: {
|
||||
componentProps: {
|
||||
style: {
|
||||
width: '240px'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '模板名称',
|
||||
field: 'name',
|
||||
isSearch: true
|
||||
isSearch: true,
|
||||
search: {
|
||||
componentProps: {
|
||||
style: {
|
||||
width: '240px'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '模板标题',
|
||||
@@ -59,6 +73,9 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
optionsAlias: {
|
||||
labelField: 'mail',
|
||||
valueField: 'id'
|
||||
},
|
||||
style: {
|
||||
width: '240px'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -82,7 +99,14 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
field: 'status',
|
||||
isSearch: true,
|
||||
dictType: DICT_TYPE.COMMON_STATUS,
|
||||
dictClass: 'number'
|
||||
dictClass: 'number',
|
||||
search: {
|
||||
componentProps: {
|
||||
style: {
|
||||
width: '240px'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
@@ -100,7 +124,10 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
type: 'daterange',
|
||||
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
|
||||
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')],
|
||||
style: {
|
||||
width: '240px'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user