diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue index 2a9c0d0f..a0efe10c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue @@ -295,12 +295,16 @@ export default { lane: data.lane?.split(",") || [], }; - this.formList[5].options.options = - WarningSubclassList[data.warningType] || []; + this.formList[5].options = { options: + WarningSubclassList[data.warningType] || []}; setTimeout(() => { this.$refs.FormConfigRef.reset(true); }); + setTimeout(() => { + this.formList[5].options = { options: + WarningSubclassList[data.warningType] || []}; + }, 100); this.data.direction = DirectionTypes[this.data.direction]; this.data.duration = getDuration(this.data.warningTime); this.interval = setInterval(() => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue index e10a7355..d51f9de1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue @@ -504,23 +504,23 @@ export default { let obj = response.data; let data = []; for (let key in obj) { - if (key === "weatherFacts1") { - obj[key].name = "长清区"; - } else if (key === "weatherFacts2") { - obj[key].name = "平阴县"; - } else if (key === "weatherFacts3") { - obj[key].name = "东平县"; - } else if (key === "weatherFacts4") { - obj[key].name = "汶上县"; - } else if (key === "weatherFacts5") { - obj[key].name = "梁山县"; - } else if (key === "weatherFacts6") { - obj[key].name = "嘉祥县"; - } else if (key === "weatherFacts7") { - obj[key].name = "巨野县"; - } else if (key === "weatherFacts8") { - obj[key].name = "郓城县"; - } + // if (key === "weatherFacts1") { + // obj[key].name = "长清区"; + // } else if (key === "weatherFacts2") { + // obj[key].name = "平阴县"; + // } else if (key === "weatherFacts3") { + // obj[key].name = "东平县"; + // } else if (key === "weatherFacts4") { + // obj[key].name = "汶上县"; + // } else if (key === "weatherFacts5") { + // obj[key].name = "梁山县"; + // } else if (key === "weatherFacts6") { + // obj[key].name = "嘉祥县"; + // } else if (key === "weatherFacts7") { + // obj[key].name = "巨野县"; + // } else if (key === "weatherFacts8") { + // obj[key].name = "郓城县"; + // } data.push(obj[key]); } this.weatherList = data; @@ -534,26 +534,27 @@ export default { console.log("this.selectIndex", this.selectIndex); let obj = response.data; + console.log("obj", obj); let data = []; for (let key in obj) { - if (key === "hourlyWeather1") { - console.log("obj[key]", obj[key][id - 1]); - obj[key][id - 1].name = "长清区"; - } else if (key === "hourlyWeather2") { - obj[key][id - 1].name = "平阴县"; - } else if (key === "hourlyWeather3") { - obj[key][id - 1].name = "东平县"; - } else if (key === "hourlyWeather4") { - obj[key][id - 1].name = "汶上县"; - } else if (key === "hourlyWeather5") { - obj[key][id - 1].name = "梁山县"; - } else if (key === "hourlyWeather6") { - obj[key][id - 1].name = "嘉祥县"; - } else if (key === "hourlyWeather7") { - obj[key][id - 1].name = "巨野县"; - } else if (key === "hourlyWeather8") { - obj[key][id - 1].name = "郓城县"; - } + // if (key === "hourlyWeather1") { + // console.log("obj[key]", obj[key][id - 1]); + // obj[key][id - 1].name = "长清区"; + // } else if (key === "hourlyWeather2") { + // obj[key][id - 1].name = "平阴县"; + // } else if (key === "hourlyWeather3") { + // obj[key][id - 1].name = "东平县"; + // } else if (key === "hourlyWeather4") { + // obj[key][id - 1].name = "汶上县"; + // } else if (key === "hourlyWeather5") { + // obj[key][id - 1].name = "梁山县"; + // } else if (key === "hourlyWeather6") { + // obj[key][id - 1].name = "嘉祥县"; + // } else if (key === "hourlyWeather7") { + // obj[key][id - 1].name = "巨野县"; + // } else if (key === "hourlyWeather8") { + // obj[key][id - 1].name = "郓城县"; + // } data.push(obj[key]); } let newData = []; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue index 48dc6739..e14eee93 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue @@ -40,7 +40,7 @@
-
+
@@ -54,11 +54,6 @@ >
-
桩号:{{ item.stakeMark }}
IP:{{ item.switchIp }}
@@ -78,7 +73,7 @@
-
+
@@ -137,13 +132,20 @@ src="./switch1.png" /> -
+ {{ itm.switchName }}({{ index + 1 }}) +
- {{ itm.switchName }}({{ index + 1 }}) -
+
- -
{{ idv.deviceName }}
+ +
+ {{ idv.deviceName }} +
@@ -206,12 +216,6 @@ export default { }, mounted() { this.bind(); - request({ - url: "/type/list", - method: "get", - }).then((res) => { - console.log(res); - }); }, methods: { bind() { @@ -246,7 +250,6 @@ export default { let cards = []; let topo = []; const list = this.map.children[e - 1].children; - const list1 = list.filter((x) => x.ringNetWork === 1); if (list1) { cards.push({ @@ -479,10 +482,15 @@ export default { border: 1px solid #34d3eb; } .c-namesw { - padding: 0px 50px; + width: 180px; + text-align: center; + // padding: 0px 50px; margin-top: -5px; font-size: 14px; border: 0px !important; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .c-namer { background: linear-gradient( @@ -517,26 +525,26 @@ export default { } .device-list { border: 1px dashed #34d3eb; - min-height: 110px; + height: 112px; min-width: 160px; margin-top: 10px; overflow: auto; + display: grid; + grid-template-rows: repeat(2, minmax(45px, auto)); + grid-auto-columns: 1fr; + grid-gap: 0px; + grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); + padding: 10px; } .device-list-r { border-color: #ff5935; // display: flex; // flex-wrap: wrap; // justify-content: space-around; - display: grid; - grid-template-rows: repeat(2, minmax(30px, auto)); - grid-auto-columns: 1fr; - grid-gap: 0px; - grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); // overflow: hidden; - padding: 10px; } .device-item { - overflow: hidden; + // overflow: hidden; img { margin: 0; width: 25px; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-1.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-1.svg new file mode 100644 index 00000000..c7ed2a67 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-2.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-2.svg new file mode 100644 index 00000000..444d7ef8 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-2.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-4.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-4.svg new file mode 100644 index 00000000..61dbf2da --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-4.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-5.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-5.svg new file mode 100644 index 00000000..71511248 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-5.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t02-1.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t02-1.svg new file mode 100644 index 00000000..7d387119 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t02-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t10.png b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t10.png deleted file mode 100644 index d11e783a..00000000 Binary files a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t10.png and /dev/null differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-1.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-1.svg new file mode 100644 index 00000000..ac614f17 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-2.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-2.svg new file mode 100644 index 00000000..dfa9edce --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-2.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-4.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-4.svg new file mode 100644 index 00000000..3f984927 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-4.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-5.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-5.svg new file mode 100644 index 00000000..1edf750d --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-5.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11.png b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11.png deleted file mode 100644 index 2992fb95..00000000 Binary files a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11.png and /dev/null differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t12-1.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t12-1.svg new file mode 100644 index 00000000..aa681627 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t12-1.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue index a35b6761..3a6d21ed 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue @@ -16,25 +16,25 @@
{{ data.desc }}
- + 发布人: {{ data.publisher }} +
- 当前管制: {{data.posts}} + 当前管制: {{data.facilityName}}
分享至 - +
- @@ -64,19 +64,28 @@ export default { }, data() { return { - shareWithData: shareWith.keys().map(item => item.match(/[^./]+/)[0]), + shareWithData: [ + 'message', + 'weChat', + 'weibo', + 'website' + ],//shareWith.keys().map(item => item.match(/[^./]+/)[0]), status: { 0: { - text: "进行中", - color: '#00B1A0' + color: "#00B1A0", + text: "待确认", + icon: 'ToBeReviewed' }, + 1: { - text: "待审核", - color: '#C55253' + color: "#057DD3", + text: "处理中", + icon: 'Reviewed' }, 2: { - text: "已审核", - color: '#057DD3' + color: "#C55253", + text: "已完成", + icon: 'Failed' }, } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue index b698cc35..1e0fe925 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue @@ -35,16 +35,18 @@ export default { console.log(id, res) let list = [] res.data.forEach(e => { + console.log(e,'---') list.push({ source: "1", onlyright:true, - time: e.eventTime, + time: e.createTime, name: e.createBy, descTitle: "事件详情", desc: e.contentDetails, - posts: e.facilityName, - channel:e.publishChannels, - state: 0, + facilityName: e.facilityName, + publisher:e.publisher, + channel:e.publishChannels.toString(), + state: e.eventState, }) }); this.timeLine2List = list; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue index 4238988d..ba4fd1e8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue @@ -1,5 +1,5 @@