Kaynağa Gözat

管理人员细节修改

guoqing 1 yıl önce
ebeveyn
işleme
868f6aeb21

+ 5 - 0
src/views/placeManage/ManageList.vue

@@ -184,6 +184,11 @@ export default {
     width: 50%;
     font-size: 16px;
     border-right: 1px solid #a3a3a3;
+    height: 500px;
+    overflow: auto;
+    &::-webkit-scrollbar{
+      width: 0;
+    }
     li {
       width: 100%;
       overflow: hidden;

+ 5 - 0
src/views/placeManage/ManageList2.vue

@@ -184,6 +184,11 @@ export default {
     width: 50%;
     font-size: 16px;
     border-right: 1px solid #a3a3a3;
+    height: 500px;
+    overflow: auto;
+    &::-webkit-scrollbar{
+      width: 0;
+    }
     li {
       width: 100%;
       overflow: hidden;

+ 7 - 0
src/views/placeManage/placePerson/placePerson.vue

@@ -186,6 +186,7 @@ export default {
     const refreshing = ref(false);
     let index = 0;
     const onLoad = () => {
+      show.value = false;
       loading.value = true;
       finished.value = false;
       new UserManage()
@@ -257,10 +258,16 @@ export default {
       if(value1.value!=''){
         PersonList.value = [];
         search1()
+      }else{
+        dataList.value = []
+        onLoad()
       }
       if(value2.value!=''){
         PersonList.value = [];
         search2()
+      }else{
+        dataList.value = []
+        onLoad()
       }
     }
     const search2 = () => {

+ 1 - 3
src/views/placeManage/placeRegister/placeRegisterList.vue

@@ -229,10 +229,8 @@ export default {
     const getUser = () => {
       let addressList = [];
       let user = localStorage.getItem("MZ_USER");
-      // console.log(user,'====================================>user');
       new tools().treeData().then((res) => {
         addressList.push(res[0]);
-        // console.log(res);
         res[0].children.forEach((item) => {
           addressList.push(item);
           if(item.children){
@@ -244,8 +242,8 @@ export default {
       });
       let userArea = "";
       new placeRegister().list({ loginName: user }).then((res1) => {
+        console.log(res1,'==================================>res1');
         let data = res1.records[0];
-        // console.log(data,'=============================>data');
         userArea = data.areaDTO;
         addressList.forEach((item) => {
           if (item.id == userArea.code) {