Просмотр исходного кода

优化用户管理编辑页面样式

shenqilong 1 месяц назад
Родитель
Сommit
dfaaf01b34

+ 1 - 1
src/views/platform/org/components/tree/index.vue

@@ -78,7 +78,7 @@ export default {
     checkStrictly: Boolean,
     height: {
       type: Number,
-      default: 650
+      default: 400
     },
     dataType: {
       // 数据类型,tree:树形,list:列表

+ 1 - 1
src/views/platform/org/employee/edit/duty-info.vue

@@ -91,7 +91,7 @@ export default {
       nameKey: 'name',
       treeData: [],
       dutyItemList: [],
-      height: document.clientHeight,
+      height: document.body.clientHeight - 210,
       newDutyData: [],
       defaultTreeData: []
     }

+ 1 - 1
src/views/platform/org/employee/edit/org-info.vue

@@ -89,7 +89,7 @@ export default {
         name: '',
         pathName: ''
       },
-      height: document.clientHeight
+      height: document.body.clientHeight - 210,
     }
   },
   computed: {

+ 1 - 1
src/views/platform/org/employee/edit/position-info.vue

@@ -111,7 +111,7 @@ export default {
       nameKey: 'name',
       treeData: [],
       posItemList: [],
-      height: document.clientHeight,
+      height: document.body.clientHeight - 210,
       checkStrictly: true,
       defaultTreeData: []
     }

+ 1 - 1
src/views/platform/org/employee/edit/role-info.vue

@@ -92,7 +92,7 @@ export default {
       nameKey: 'name',
       treeData: [],
       roleItemList: [],
-      height: document.clientHeight,
+      height: document.body.clientHeight - 210,
       newRoleData: [],
       defaultTreeData: []
     }