Browse Source

修改雨刷

develop
little4 2 months ago
parent
commit
e5e1077d60
  1. 14
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue

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

@ -5,11 +5,11 @@
<ElTabs v-model="activeName" class="tabs">
<ElTabPane label="基本信息" name="first">
<Descriptions :list="list" :data="data" style="gap: 18px">
<template #content-deviceName v-hasPermi="['business:home:camera']">
<template #content-deviceName >
<span>{{ dialogData.deviceName || "-" }}</span>
<img
@click="controlDialogVisible = true"
v-if="
v-if="check('business:home:camera') &&
[0, '0'].includes(
dialogData.parseOtherConfig &&
dialogData.parseOtherConfig.ptzCtrl
@ -22,9 +22,9 @@
/>
</template>
</Descriptions>
<template v-hasPermi="['business:home:camera']">
<div
v-if="PanoramicCameraTypes.indexOf(dialogData.childType) == -1"
v-if="check('business:home:camera') && PanoramicCameraTypes.indexOf(dialogData.childType) == -1"
style="width: 50%; display: flex; margin-top: 18px"
>
<span
@ -45,7 +45,6 @@
></Button
>
</div>
</template>
</ElTabPane>
<!-- <ElTabPane label="摄相机参数" name="second">摄相机参数</ElTabPane> -->
<ElTabPane label="在线率统计" name="third">
@ -79,6 +78,7 @@ import Descriptions from "@screen/components/Descriptions.vue";
import CameraControlDialog from "./components/CameraControlDialog.vue";
import LineChart from "../../LineChart/index.vue";
import { PanoramicCameraTypes } from "@screen/utils/enum.js";
import { checkPermi } from "@/utils/permission.js";
import {
getRoadInfoByStakeMark,
@ -166,7 +166,9 @@ export default {
if (roadInfo) this.data.roadName = roadInfo.roadName;
},
methods: {
check(arr){
return checkPermi(arr);
},
handleClose() {
this.controlDialogVisible = false;
},

Loading…
Cancel
Save