去除日志
This commit is contained in:
parent
c73cb667ca
commit
97670ddb63
@ -129,10 +129,9 @@ export default {
|
||||
},
|
||||
'$store.state.training.simulationUserList': function(val) {
|
||||
const userInfo = this.$store.state.training.simulationUserList.find(user => user.userId == this.$store.state.user.id );
|
||||
if (userInfo.type === 'STATION_SUPERVISOR' || userInfo.type === 'STATION_WORKER') {
|
||||
if (userInfo.type === 'STATION_SUPERVISOR') {
|
||||
if (this.$store.state.map.map && this.$store.state.map.map.pictureList) {
|
||||
const picture = this.$store.state.map.map.pictureList.find(picture => picture.stationCode === userInfo.deviceCode && picture.type === 'chainStation');
|
||||
console.log(picture, '----------');
|
||||
if (picture) {
|
||||
const mapDevice = this.$store.state.map.mapDevice;
|
||||
const list = [];
|
||||
@ -141,7 +140,6 @@ export default {
|
||||
list.push(mapDevice[key]);
|
||||
deviceList.push(key);
|
||||
}
|
||||
console.log('-------------');
|
||||
this.$store.dispatch('map/setPictureDeviceMap', picture.deviceMap);
|
||||
this.$jlmap.updatePicture(deviceList);
|
||||
// this.$jlmap.updateTransform(picture.scaling, picture.origin);
|
||||
@ -156,7 +154,6 @@ export default {
|
||||
this.$jlmap.updateShowStation(list, userInfo.deviceCode);
|
||||
}
|
||||
} else {
|
||||
console.log('-------------1');
|
||||
this.$store.dispatch('map/setShowCentralizedStationCode', userInfo.deviceCode);
|
||||
const mapDevice = this.$store.state.map.mapDevice;
|
||||
const list = [];
|
||||
|
Loading…
Reference in New Issue
Block a user