Browse Source

feat 摄像头 全景相机无雨刷

wangqin
qingzhengli 8 months ago
parent
commit
e1ac030262
  1. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue
  2. 1
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

5
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue

@ -14,7 +14,8 @@
" src="@screen/images/camera-control-icon.svg" width="18px" height="18px" style="cursor: pointer" /> " src="@screen/images/camera-control-icon.svg" width="18px" height="18px" style="cursor: pointer" />
</template> </template>
</Descriptions> </Descriptions>
<div style="width:50%;display:flex;margin-top:18px"> <div v-if="PanoramicCameraTypes.indexOf(dialogData.childType) == -1"
style="width:50%;display:flex;margin-top:18px">
<span <span
style="color: #3de8ff;font-size: 15px;font-family: PingFang SC, PingFang SC;font-weight: 400;line-height: 18px;"> style="color: #3de8ff;font-size: 15px;font-family: PingFang SC, PingFang SC;font-weight: 400;line-height: 18px;">
雨刷: </span> 雨刷: </span>
@ -45,6 +46,7 @@ import Video from "@screen/components/Video";
import Descriptions from "@screen/components/Descriptions.vue"; import Descriptions from "@screen/components/Descriptions.vue";
import CameraControlDialog from "./components/CameraControlDialog.vue"; import CameraControlDialog from "./components/CameraControlDialog.vue";
import LineChart from "../../LineChart/index.vue"; import LineChart from "../../LineChart/index.vue";
import { PanoramicCameraTypes } from "@screen/utils/enum.js";
import { import {
getRoadInfoByStakeMark, getRoadInfoByStakeMark,
@ -69,6 +71,7 @@ export default {
}, },
data() { data() {
return { return {
PanoramicCameraTypes,
activeName: "first", activeName: "first",
controlDialogVisible: false, controlDialogVisible: false,
data: {}, data: {},

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

@ -984,6 +984,7 @@ const BoardChildTypes = {
"2-3": "雨棚可变信息标志", "2-3": "雨棚可变信息标志",
"2-4": "站前悬臂式可变信息标志", "2-4": "站前悬臂式可变信息标志",
}; };
export const PanoramicCameraTypes = Object.keys(CameraChildTypes).slice(3, 5);
export const ChildTypes = { export const ChildTypes = {
1: CameraChildTypes, 1: CameraChildTypes,

Loading…
Cancel
Save