Browse Source

update

wangqin
zhangzhang 11 months ago
parent
commit
76906b0ef9
  1. 23
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue
  3. 11
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/index.vue
  4. 8
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

23
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue

@ -28,8 +28,13 @@
</div> </div>
</div> </div>
<BroadcastReleases v-model="releaseVisible" :deviceId="dialogData.iotDeviceId" :pileNum="dialogData.stakeMark" <BroadcastReleases
:otherConfig="dialogData.otherConfig" :currentId="dialogData.id" /> v-model="releaseVisible"
:deviceId="dialogData.iotDeviceId"
:pileNum="dialogData.stakeMark"
:otherConfig="dialogData.otherConfig"
:currentId="dialogData.id"
/>
</Dialog> </Dialog>
</template> </template>
@ -93,13 +98,13 @@ export default {
key: "direction", key: "direction",
enum: "CameraDirectionEnum", enum: "CameraDirectionEnum",
}, },
{ // {
label: "所属机构", // label: "",
key: "organizationName", // key: "organizationName",
}, // },
{ {
label: "设备厂商", label: "设备厂商",
key: "brand", key: "manufacturer",
}, },
{ {
label: "设备状态", label: "设备状态",
@ -130,7 +135,7 @@ export default {
if (roadInfo) this.data.roadName = roadInfo.roadName; if (roadInfo) this.data.roadName = roadInfo.roadName;
}, },
methods: { methods: {
handleClickTabs() { }, handleClickTabs() {},
}, },
}; };
</script> </script>
@ -170,7 +175,7 @@ export default {
align-items: center; align-items: center;
justify-content: end; justify-content: end;
>div { > div {
font-size: 16px; font-size: 16px;
padding: 6px 12px; padding: 6px 12px;
} }

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue

@ -86,7 +86,7 @@ export default {
}, },
{ {
label: "设备厂商", label: "设备厂商",
key: "brand", key: "manufacturer",
}, },
], ],
}; };

11
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/index.vue

@ -16,8 +16,13 @@
</ElTabs> </ElTabs>
</div> </div>
<template #footer> <template #footer>
<Button v-if="data.deviceState == '1'" @click.native="deviceControlVisible = true"> 设备操作 </Button> <Button
<Button v-else style="background-color: #bbb;"> 设备离线 </Button> v-if="data.deviceState == '1'"
@click.native="deviceControlVisible = true"
>
设备操作
</Button>
<Button v-else style="background-color: #bbb"> 设备离线 </Button>
</template> </template>
<DeviceControlDialog <DeviceControlDialog
@ -94,7 +99,7 @@ export default {
}, },
{ {
label: "设备厂商", label: "设备厂商",
key: "brand", key: "manufacturer",
}, },
], ],
}; };

8
ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

@ -74,6 +74,14 @@ export const DeviceTypeEnum = {
text: "异常", text: "异常",
color: "#FF5F5F", color: "#FF5F5F",
}, },
undefined: {
text: "异常",
color: "#FF5F5F",
},
"": {
text: "异常",
color: "#FF5F5F",
},
}; };
// 摄像 是否可控 是否有云台控制 0 有(球机) 1 ⽆(枪机) // 摄像 是否可控 是否有云台控制 0 有(球机) 1 ⽆(枪机)

Loading…
Cancel
Save