diff --git a/src/views/devicePhotoSchedule/components/adddeviceDialog copy.vue b/src/views/devicePhotoSchedule/components/adddeviceDialog copy.vue index d559381..380e565 100644 --- a/src/views/devicePhotoSchedule/components/adddeviceDialog copy.vue +++ b/src/views/devicePhotoSchedule/components/adddeviceDialog copy.vue @@ -258,3 +258,20 @@ export default { } } +paramsFn() { this.params.push( { name: "act", value: "schedule", }, { name: +"channel", value: this.checkedAisle, }, { name: "group", value: this.groupNum, } +); this.setTermFn(this.params); }, setTermFn(dataParams) { +console.log("点击了统一的接口", "runningstatus"); console.log(dataParams); +setTermCamera({ termId: 10027, list: dataParams, }) .then((res) => { +console.log(res); this.requestid = res.data.requestId; +clearInterval(this.timer); this.timer = window.setInterval(() => { +this.getinfo(); this.imun++; }, 1000); }) .catch((err) => {}); }, getinfo() { +getTermCameraRequest({ requestid: this.requestid }) .then((res) => { if +(res.data.success == 1) { window.clearInterval(this.timer); this.timer = null; +this.imun = 0; console.log("终止轮询"); // && res.data.result == 255 +console.log(JSON.parse(res.data.data)); this.$message({ duration: 1500, +showClose: true, message: "信息已更新", type: "success", }); } else if +(this.imun > 9) { window.clearInterval(this.timer); this.timer = null; this.imun += 0; this.$message({ duration: 1500, showClose: true, message: +"暂未获取到信息,请稍后再试!!", type: "warning", }); } }) .catch((err) => {}); +}, diff --git a/src/views/devicePhotoSchedule/components/setdevice_yh.vue b/src/views/devicePhotoSchedule/components/setdevice_yh.vue new file mode 100644 index 0000000..83022b4 --- /dev/null +++ b/src/views/devicePhotoSchedule/components/setdevice_yh.vue @@ -0,0 +1,508 @@ + + + diff --git a/src/views/devicePhotoSchedule/components/setdevicebak.vue b/src/views/devicePhotoSchedule/components/setdevicebak.vue deleted file mode 100644 index b99a9c9..0000000 --- a/src/views/devicePhotoSchedule/components/setdevicebak.vue +++ /dev/null @@ -1,248 +0,0 @@ - - - diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue index de2bab6..015c047 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue @@ -7,6 +7,7 @@ width="1100px" @close="handleclose" > +
装置编号:{{ rowData.cmdid }}