Browse Source

字段修改提交

wangqin
Joe 10 months ago
parent
commit
11e06b9102
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js

@ -69,7 +69,7 @@ export const eventMap = {
(extData) => {
this.dialogConfig = {
// 0 有(球机) 1 ⽆(枪机)
component: cameraCtrlMap[extData.ptzCtrl],
component: cameraCtrlMap[extData.other_config?.ptzCtrl],
data: extData,
};
}

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

@ -146,7 +146,7 @@ export async function setMarkToMap(item, data, _markerClick, content) {
height: 18px;
margin-left: 3px;
margin-bottom: 6px;
" src='${item.status !== "0" ? fault : normal}'>
" src='${item.device_state !== "0" ? fault : normal}'>
</div>`,
};
}),

Loading…
Cancel
Save