linyanfei 3 vuotta sitten
vanhempi
commit
06bc2f8ea1

+ 2 - 6
shanXiPlatform/src/views/systemManagement/userManagement/approverManagement/index.vue

@@ -520,6 +520,7 @@ export default {
520 520
     handTreeClick(data) {
521 521
     this.depotId = data.depotCode
522 522
     this.getRoleSelect()
523
+    this.approverList()
523 524
     },
524 525
       filterNode(value, data) {
525 526
       if (!value) return true
@@ -545,7 +546,7 @@ export default {
545 546
           if (res.code == 200) {
546 547
             this.tableData.forEach((item) => {
547 548
               if (item.title.indexOf("主管科长") != -1) {
548
-                this.$set(item, "approverSelect", res.data[33]) //
549
+                this.$set(item, "approverSelect", res.data[33]) 
549 550
               } else if (item.title.indexOf("分管副总经理") != -1) {
550 551
                 this.$set(item, "approverSelect", res.data[35])
551 552
               } else if (item.title.indexOf("总经理") != -1) {
@@ -634,8 +635,6 @@ export default {
634 635
       checkList(type, userId, depotId)
635 636
         .then((res) => {
636 637
           if (res.code == 200) {
637
-            console.log(res.data, "查看数据")
638
-
639 638
             if (
640 639
               res.data == null ||
641 640
               res.data == "" ||
@@ -646,8 +645,6 @@ export default {
646 645
             } else {
647 646
               this.tableData = res.data
648 647
             }
649
-
650
-            console.log(this.tableData, " this.meVentilation....")
651 648
             this.getRoleSelect()
652 649
           }
653 650
         })
@@ -661,7 +658,6 @@ export default {
661 658
   },
662 659
   mounted() {
663 660
     this.userInfo = JSON.parse(getUser())
664
-    console.log(this.userInfo, "this.userInfo.....?????")
665 661
     this.depotId = this.userInfo.depotId
666 662
     this.approverList()
667 663
   },