From 7c124560b27add087b4aa8fc457de1e84f950d9c Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 23 Nov 2021 15:19:33 +0800
Subject: [PATCH] 样式  (1:搜索按钮放入右侧,2:隐藏表格显影按钮,3:页码改为(15,30,50,100))

---
 src/views/system/user copy.vue |   37 ++++++++++++++++++++-----------------
 1 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/src/views/system/user copy.vue b/src/views/system/user copy.vue
index df38d65..9f89963 100644
--- a/src/views/system/user copy.vue
+++ b/src/views/system/user copy.vue
@@ -196,7 +196,7 @@
   grant,
   resetPassword,
   getJurisdiction,
-  getJurisdictionDetail
+  getJurisdictionDetail,
 } from "@/api/system/user";
 import { getDeptTree, getDeptLazyTree } from "@/api/system/dept";
 import { getRoleTree } from "@/api/system/role";
@@ -244,11 +244,13 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       platformPage: {
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       init: {
         roleTree: [],
@@ -322,6 +324,7 @@
         viewBtn: true,
         //dialogType: 'drawer',
         dialogClickModal: false,
+        ...this.$store.state.control.clearOtherBut,
         column: [
           {
             label: "登录账号",
@@ -997,16 +1000,16 @@
         }
 
         // getJurisdictionDetail(this.userInfo.jurisdiction).then((res)=>{
-          //     console.log(res.data.data,123);
-          // })
-          var parentId = this.userInfo.dept_id;
-          if (parentId == "1123598813738675201") {
-            parentId = 0;
-          }
-          getDeptLazyTree(parentId).then((res) => {
-            const column = this.findObject(this.option.group, "deptId");
-            column.dicData = res.data.data;
-          });
+        //     console.log(res.data.data,123);
+        // })
+        var parentId = this.userInfo.dept_id;
+        if (parentId == "1123598813738675201") {
+          parentId = 0;
+        }
+        getDeptLazyTree(parentId).then((res) => {
+          const column = this.findObject(this.option.group, "deptId");
+          column.dicData = res.data.data;
+        });
 
         getUser(this.form.id).then((res) => {
           this.form = res.data.data;
@@ -1028,13 +1031,13 @@
         }
 
         var parentId1 = this.userInfo.dept_id;
-          if (parentId1 == "1123598813738675201") {
-            parentId = 0;
-          }
+        if (parentId1 == "1123598813738675201") {
+          parentId = 0;
+        }
         getDeptLazyTree(parentId1).then((res) => {
-            const column = this.findObject(this.option.group, "deptId");
-            column.dicData = res.data.data;
-          });
+          const column = this.findObject(this.option.group, "deptId");
+          column.dicData = res.data.data;
+        });
       }
       this.initFlag = true;
       done();

--
Gitblit v1.9.3