Przeglądaj źródła

修改单独报工登录逻辑

695593266@qq.com 9 miesięcy temu
rodzic
commit
04f5ca697c
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      src/views/singleLogin/index.vue

+ 6 - 6
src/views/singleLogin/index.vue

@@ -422,13 +422,13 @@
         this.infoForm.deviceId = '';
         this.infoForm.centerId = '';
 
-        const teamData = this.teamList.find((item) => item.teamId == teamId);
+        console.log(this.userData, teamId, '111');
 
-        if (teamData) {
-          this.teamList = this.userData.deviceList.filter(
-            (it) => it.teamId == teamData.teamId
-          );
-        }
+        // const teamData = this.teamList.find((item) => item.teamId == teamId);
+
+        this.workCenterList = this.userData.centerList.filter(
+          (it) => it.teamId == teamId
+        );
 
         if (this.userData.deviceList.length != 0) {
           this.deviceList = this.userData.deviceList.filter(