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

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

@ -5,8 +5,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "桩号:", label: "桩号:",
@ -14,8 +14,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "行驶方向:", label: "行驶方向:",
@ -23,8 +23,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "事件类型:", label: "事件类型:",
@ -32,8 +32,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "事件原因:", label: "事件原因:",
@ -41,8 +41,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "事件状态:", label: "事件状态:",
@ -50,8 +50,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "操作员:", label: "操作员:",
@ -59,8 +59,8 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ {
label: "发生时间:", label: "发生时间:",
@ -68,18 +68,18 @@ export const formList = [
type: "input", type: "input",
options: { options: {
disabled: true, disabled: true,
placeholder: '' placeholder: "",
} },
}, },
{ // {
label: "完结时间:", // label: "完结时间:",
key: "endTime", // key: "endTime",
type: "input", // type: "input",
options: { // options: {
disabled: true, // disabled: true,
placeholder: '' // placeholder: ''
} // }
}, // },
{ {
label: "事件描述:", label: "事件描述:",
key: "direction", key: "direction",
@ -87,8 +87,8 @@ export const formList = [
gridColumn: 3, gridColumn: 3,
options: { options: {
disabled: true, 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: "", placeholder: "",
}, },
}, },
{ // {
label: "完结时间:", // label: "完结时间:",
key: "endTime", // key: "endTime",
type: "input", // type: "input",
options: { // options: {
disabled: true, // disabled: true,
placeholder: "", // placeholder: "",
}, // },
}, // },
{ {
label: "水膜厚度(mm):", label: "水膜厚度(mm):",
key: "waterFilmThickness", key: "waterFilmThickness",

Loading…
Cancel
Save