Selaa lähdekoodia

:zap: 优化表格底部高度

smallchill 6 vuotta sitten
vanhempi
commit
6a7f332c7c

+ 4 - 4
src/const/system/dict.js

@@ -1,9 +1,9 @@
 export const optionParent = {
   height: 'auto',
-  calcHeight: 70,
+  calcHeight: 95,
   tip: false,
   searchShow: true,
-          searchMenuSpan: 6,
+  searchMenuSpan: 6,
   tree: true,
   border: true,
   index: true,
@@ -89,10 +89,10 @@ export const optionParent = {
 
 export const optionChild = {
   height: 'auto',
-  calcHeight: 70,
+  calcHeight: 95,
   tip: false,
   searchShow: true,
-          searchMenuSpan: 6,
+  searchMenuSpan: 6,
   tree: true,
   border: true,
   index: true,

+ 4 - 4
src/const/system/dictbiz.js

@@ -1,9 +1,9 @@
 export const optionParent = {
   height: 'auto',
-  calcHeight: 70,
+  calcHeight: 95,
   tip: false,
   searchShow: true,
-          searchMenuSpan: 6,
+  searchMenuSpan: 6,
   tree: true,
   border: true,
   index: true,
@@ -89,10 +89,10 @@ export const optionParent = {
 
 export const optionChild = {
   height: 'auto',
-  calcHeight: 70,
+  calcHeight: 95,
   tip: false,
   searchShow: true,
-          searchMenuSpan: 6,
+  searchMenuSpan: 6,
   tree: true,
   border: true,
   index: true,

+ 1 - 0
src/views/desk/notice.vue

@@ -57,6 +57,7 @@
         selectionList: [],
         option: {
           height: 'auto',
+          calcHeight: 30,
           dialogWidth: 900,
           tip: false,
           searchShow: true,

+ 1 - 0
src/views/flow/follow.vue

@@ -64,6 +64,7 @@
         deleteReason: '',
         option: {
           height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/flow/manager.vue

@@ -138,8 +138,8 @@
           label: '挂起'
         }],
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/flow/model.vue

@@ -141,8 +141,8 @@
         category: [],
         categoryValue: '',
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/monitor/log/api.vue

@@ -35,8 +35,8 @@
           total: 0
         },
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/monitor/log/error.vue

@@ -35,8 +35,8 @@
           total: 0
         },
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/monitor/log/usual.vue

@@ -35,8 +35,8 @@
           total: 0
         },
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 0
src/views/resource/oss.vue

@@ -67,6 +67,7 @@
         selectionList: [],
         option: {
           height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 0
src/views/system/client.vue

@@ -49,6 +49,7 @@
         selectionList: [],
         option: {
           height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 0
src/views/system/param.vue

@@ -48,6 +48,7 @@
         },
         option: {
           height: 'auto',
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 1
src/views/system/tenant.vue

@@ -48,7 +48,7 @@
         },
         option: {
           height:'auto',
-          calcHeight:350,
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 1
src/views/system/topmenu.vue

@@ -89,7 +89,7 @@
         menuTreeObj: [],
         option: {
           height:'auto',
-          calcHeight:350,
+          calcHeight: 30,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 0
src/views/system/user.vue

@@ -129,6 +129,7 @@
         },
         option: {
           height: 'auto',
+          calcHeight: 80,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 1 - 0
src/views/tool/code.vue

@@ -65,6 +65,7 @@
         },
         option: {
           height: 'auto',
+          calcHeight: 30,
           dialogWidth: 900,
           tip: false,
           searchShow: true,

+ 1 - 0
src/views/tool/datasource.vue

@@ -49,6 +49,7 @@
         selectionList: [],
         option: {
           height: 'auto',
+          calcHeight: 30,
           dialogWidth: 900,
           tip: false,
           searchShow: true,

+ 2 - 2
src/views/work/claim.vue

@@ -87,8 +87,8 @@
         flowUrl: '',
         workBox: false,
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/work/done.vue

@@ -80,8 +80,8 @@
         flowUrl: '',
         workBox: false,
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/work/send.vue

@@ -84,8 +84,8 @@
         flowUrl: '',
         workBox: false,
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/work/start.vue

@@ -88,8 +88,8 @@
         flowUrl: '',
         workBox: false,
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,

+ 2 - 2
src/views/work/todo.vue

@@ -87,8 +87,8 @@
         flowUrl: '',
         workBox: false,
         option: {
-          height:'auto',
-          calcHeight:350,
+          height: 'auto',
+          calcHeight: 90,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,