Browse Source

perf(系统工具-系统管理): 系统管理页面优化

shizhongming 3 years ago
parent
commit
41b30609fe
  1. 2
      src/modules/smart-system/views/system/SysSystemListView.config.ts
  2. 7
      src/modules/smart-system/views/system/SysSystemListView.vue

2
src/modules/smart-system/views/system/SysSystemListView.config.ts

@ -98,7 +98,7 @@ export const getFormSchemas = (t: Function): FormSchema[] => {
{ {
field: 'remark', field: 'remark',
label: t('common.table.remark'), label: t('common.table.remark'),
component: 'Input', component: 'InputTextArea',
}, },
{ {
field: 'enterprise', field: 'enterprise',

7
src/modules/smart-system/views/system/SysSystemListView.vue

@ -63,10 +63,17 @@
const [registerTable, { editByRowModal, deleteByRow }] = useSmartTable({ const [registerTable, { editByRowModal, deleteByRow }] = useSmartTable({
columns: getTableColumns(), columns: getTableColumns(),
height: 'auto', height: 'auto',
stripe: true,
useSearchForm: true, useSearchForm: true,
columnConfig: { columnConfig: {
resizable: true, resizable: true,
}, },
showOverflow: 'tooltip',
rowConfig: {
isHover: true,
isCurrent: true,
},
border: true,
pagerConfig: true, pagerConfig: true,
addEditConfig: { addEditConfig: {
formConfig: { formConfig: {

Loading…
Cancel
Save