Browse Source

合流区

develop
王兴琳 6 days ago
parent
commit
8d49c46c50
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ConfluenceArea/components/DeviceControlDialog.vue
  2. 7
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ConfluenceArea/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ConfluenceArea/components/DeviceControlDialog.vue

@ -132,7 +132,7 @@ export default {
data.numberOfDevices = this.dialogData.iotDeviceId.substr(this.dialogData.iotDeviceId.lastIndexOf('-')+1)
request({
url: `/business/device/functions/${self.dialogData.iotDeviceId}/0b`,
url: `/business/device/functions2/${self.dialogData.iotDeviceId}/0b`,
method: "POST",
data: data
})

7
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ConfluenceArea/index.vue

@ -123,6 +123,13 @@ export default {
// const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark);
// if (roadInfo) this.data.roadName = roadInfo.roadName;
},
mounted() {
return request({
url: `/business/device/functions/${this.dialogData.iotDeviceId}/0d`,
method: "POST",
data:{},
});
},
methods: {
rebind(){
this.$refs.refParam.bind()

Loading…
Cancel
Save