|
|
@@ -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(
|