mo-bai 3 years ago
parent
commit
a37ed14f5c
1 changed files with 8 additions and 2 deletions
  1. 10
      pages/digital-workshops/index.vue

10
pages/digital-workshops/index.vue

@ -125,7 +125,6 @@ export default {
{ id: 3, name: '覆膜机', working: 1, free: 1 }
],
cameraList: [],
refresh: this.$store.state.userInfo.userId,
hasCompany: this.$store.state.companyInfo.id
}
},
@ -151,7 +150,14 @@ export default {
}
},
refresh(val) {
console.log('refresh', val)
if (val) {
}
}
},
computed: {
refresh() {
if (this.$store.state.userInfo.userId) {
this.getFactoryList()
}
}
@ -219,7 +225,7 @@ export default {
return
}
//
go2('add-device', { id: this.factoryId, operation: 'edit' })
go2('device-operation', { id: this.factoryId, operation: 'add' })
},
//
getCameraList() {

Loading…
Cancel
Save