|
|
@ -404,6 +404,7 @@ export default {
|
|
|
|
this.$set(this.requests[k], 'endTime', new Date(this.equipmentIntervalForm.time[1]).getTime())
|
|
|
|
this.$set(this.requests[k], 'endTime', new Date(this.equipmentIntervalForm.time[1]).getTime())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
this.setIntervalDialogVisible = false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
subtractRequest(key) {
|
|
|
|
subtractRequest(key) {
|
|
|
|
if (this.requests?.length > 1) {
|
|
|
|
if (this.requests?.length > 1) {
|
|
|
@ -438,8 +439,6 @@ export default {
|
|
|
|
this.addRequestForm = {}
|
|
|
|
this.addRequestForm = {}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
addEquipmentConfirm() {
|
|
|
|
addEquipmentConfirm() {
|
|
|
|
console.log('123123,345345,12313',this.addEquipmentForm)
|
|
|
|
|
|
|
|
console.log('123123,345345,12313',this.requests)
|
|
|
|
|
|
|
|
if (this.updateDeviceFlag) {
|
|
|
|
if (this.updateDeviceFlag) {
|
|
|
|
this.$set(this.requests, this.updateDeviceIndex, Vue.observable({
|
|
|
|
this.$set(this.requests, this.updateDeviceIndex, Vue.observable({
|
|
|
|
...this.addEquipmentForm,
|
|
|
|
...this.addEquipmentForm,
|
|
|
|