Browse Source

fix 去掉事件专题的机构和完结时间字断

wangqin
qingzhengli 8 months ago
parent
commit
420ce46899
  1. 49
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
  2. 56
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/EventDetailDialog/data.js
  3. 18
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/data.js

49
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue

@ -1,25 +1,12 @@
<template>
<Dialog
v-model="obverseVisible"
:title="dialogData._itemData && dialogData._itemData.title"
>
<Dialog v-model="obverseVisible" :title="dialogData._itemData && dialogData._itemData.title">
<div class="TrafficIncidents">
<div class="header">
<Video class="video-stream" :pileNum="dialogData.stakeMark" />
<Video
class="video-stream"
:pileNum="dialogData.stakeMark"
:rangeIndex="1"
/>
<Video class="video-stream" :pileNum="dialogData.stakeMark" :rangeIndex="1" />
</div>
<Descriptions
labelWidth="72px"
:list="list"
:data="data"
style="gap: 18px"
column="7"
/>
<Descriptions labelWidth="72px" :list="list" :data="data" style="gap: 18px" column="7" />
</div>
</Dialog>
</template>
@ -55,11 +42,11 @@ export default {
deviceVendors: "XXX厂家",
},
list: [
{
label: "机构",
key: "organizationName",
gridColumn: "3",
},
// {
// label: "",
// key: "organizationName",
// gridColumn: "3",
// },
{
label: "高速名称",
key: "roadName",
@ -109,11 +96,11 @@ export default {
enum: "CameraDirectionEnum",
gridColumn: "3",
},
{
label: "完结时间",
key: "endTime",
gridColumn: "3",
},
// {
// label: "",
// key: "endTime",
// gridColumn: "3",
// },
{
label: "事件描述",
key: "description",
@ -132,12 +119,12 @@ export default {
if (code != 200) return;
this.data = { ...data, ...this.data };
console.log('trafficIncidents',data);
console.log('trafficIncidents', data);
})
.catch((err) => {});
.catch((err) => { });
},
methods: {
handleClickTabs() {},
handleClickTabs() { },
},
};
</script>
@ -158,7 +145,7 @@ export default {
display: flex;
gap: 9px;
> div.video-stream {
>div.video-stream {
height: 210px;
}
}
@ -186,7 +173,7 @@ export default {
align-items: center;
justify-content: end;
> div {
>div {
font-size: 16px;
padding: 6px 12px;
}

56
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/EventDetailDialog/data.js

@ -5,8 +5,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "桩号:",
@ -14,8 +14,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "行驶方向:",
@ -23,8 +23,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "事件类型:",
@ -32,8 +32,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "事件原因:",
@ -41,8 +41,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "事件状态:",
@ -50,8 +50,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "操作员:",
@ -59,8 +59,8 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
{
label: "发生时间:",
@ -68,18 +68,18 @@ export const formList = [
type: "input",
options: {
disabled: true,
placeholder: ''
}
},
{
label: "完结时间:",
key: "endTime",
type: "input",
options: {
disabled: true,
placeholder: ''
}
},
placeholder: "",
},
},
// {
// label: "完结时间:",
// key: "endTime",
// type: "input",
// options: {
// disabled: true,
// placeholder: ''
// }
// },
{
label: "事件描述:",
key: "direction",
@ -87,8 +87,8 @@ export const formList = [
gridColumn: 3,
options: {
disabled: true,
placeholder: ''
}
placeholder: "",
},
},
];

18
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/data.js

@ -71,15 +71,15 @@ export const formList = [
placeholder: "",
},
},
{
label: "完结时间:",
key: "endTime",
type: "input",
options: {
disabled: true,
placeholder: "",
},
},
// {
// label: "完结时间:",
// key: "endTime",
// type: "input",
// options: {
// disabled: true,
// placeholder: "",
// },
// },
{
label: "水膜厚度(mm):",
key: "waterFilmThickness",

Loading…
Cancel
Save