Ver código fonte

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

shizhongming 2 anos atrás
pai
commit
41b30609fe

+ 1 - 1
src/modules/smart-system/views/system/SysSystemListView.config.ts

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

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

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