|
|
@ -74,7 +74,7 @@ export default { |
|
|
|
} else { |
|
|
|
const storeroomName = this.devOptions.find(X => { return X.value === this.devType }).self.storeroomId.name |
|
|
|
const deviceName = this.devOptions.find(X => { return X.value === this.devType }).self.deviceName |
|
|
|
const data = this.selections.map(x => { return { deviceInfoId: this.devType, storeroomName: storeroomName, deviceName: deviceName, cameraId: x.id, timeSize: this.timeType } }) |
|
|
|
const data = this.selections.map(x => { return { deviceInfoId: this.devType, storeroomName: storeroomName, deviceName: deviceName, cameraId: x.id, cameraName: x.deviceName, timeSize: this.timeType } }) |
|
|
|
bind(data).then((devices) => { |
|
|
|
this.bindVisible = false |
|
|
|
this.crud.refresh() |
|
|
|