From 921735d0f84e81bd78968a71601d1e0114f34e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=92=A6?= <360013221@qq.com> Date: Fri, 26 Apr 2024 19:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=A1=E6=81=AF=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/PerceiveEvent/index.vue | 8 +++- .../pages/perception/topology/index.vue | 18 ++------ .../pages/perception/topology/t01-1.svg | 7 +++ .../pages/perception/topology/t01-2.svg | 14 ++++++ .../pages/perception/topology/t01-4.svg | 11 +++++ .../pages/perception/topology/t01-5.svg | 9 ++++ .../pages/perception/topology/t02-1.svg | 7 +++ .../pages/perception/topology/t10.png | Bin 699 -> 0 bytes .../pages/perception/topology/t11-1.svg | 7 +++ .../pages/perception/topology/t11-2.svg | 14 ++++++ .../pages/perception/topology/t11-4.svg | 11 +++++ .../pages/perception/topology/t11-5.svg | 9 ++++ .../pages/perception/topology/t11.png | Bin 710 -> 0 bytes .../pages/perception/topology/t12-1.svg | 14 ++++++ .../Cards/AuditDetails/DetailCard.vue | 37 ++++++++++------ .../Cards/AuditDetails/index.vue | 10 +++-- .../Cards/AuditLists/index.vue | 6 +-- .../src/views/JiHeExpressway/utils/enum.js | 41 ++++++++++++++++++ ruoyi-ui/vue.config.js | 6 +-- 19 files changed, 188 insertions(+), 41 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-1.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-2.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-4.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t01-5.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t02-1.svg delete mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t10.png create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-1.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-2.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-4.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11-5.svg delete mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t11.png create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/t12-1.svg 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/topology/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue index 2f88f843..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 @@
-
+
@@ -168,7 +163,7 @@ v-for="(idv, idvx) in itm.dcDeviceList" class="device-item" > - + { - console.log(res); - }); }, methods: { bind() { @@ -261,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({ 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 d11e783a3d3ec60580ced2e04cc37a480b18ce91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 699 zcmV;s0!00ZP)Px%bxA})R9Hvtl|e{UQ51&1bH^FW2nvK~5h~%bXyGDTDG{y0T3A_)^Ng59ix48h zMKFsXa8)b8gg0Yg!DOYi2-}3T3&K^)Y|$c!C~JhA8Rs;29K~XqcO3-@=B?g?bN}<* z|NiGbVVfV>=KjJI!L4rnymMkw^OJTZfkOupW#=?Qc|ySf@^X?X>7t!wI|dPBy? zzit*J7@)uZ3L^I_H2R5%$Kv9Yq|?i_f>Z_2zP@H6kq^M`Dh;N|*47zGBnl4oYbDhIVzGmOJ^waG(HR;W&&ufNf@6K~Rji)ZPN8rfks)BG zld$S(QmJVX(V+V34#ea8Sz59g0FjHpbyPd;SCBBOZ!qSBB$L0Y)dmWw=S9mo2m!Mg zGsN=p6e7)m5VkhdasThJpUIM#kJClNpwD z+JaVm+yEe7UTuSD*Yrp#HLZz+VSc{5cmz*?NNH3)yJw?E0gu_cRHukCJDbQGK z)qy!wS9W2{bMgJ#>qRvlZz7w$hUy*QGpbh+xr;F!;`?8=0-%(EprGl%zyS&c>qbX0 zHx)y-sSpMMl*YcdH$)_|i}v=6%YVTo16f4&xj5hgxKRg=)711%Mn-D-)w%#V--Iq= hwbaxB>JHQ$_zh6F-6CKbSNZ?|002ovPDHLkV1ifaI|={* 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 2992fb95be58a7317e0dd005198e59c53a0ef09d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 710 zcmV;%0y+JOP)Px%fJsC_R9Hvtl|5)vQ5c4w@1|B`tw~En6huNPVt*AnSSO2!lT-(P@Q)%+4pI=2 z41$9obkbFa4h}llYO6zO2c@`(BE_UZm*U_ci0w_q)%MsEc&=5UEsOyN7KaM`#^LJh zZuz=e5Gz0^p%;OB%M6+orN?by2$5X5Af5oVA2i}DFa^|>8Xz#NhMrWL%#;J+2@syt z9##6S#zI=*WV(q_M2uCxMBoV!ifaQfh7k2>I_d;DG1DL^pL+XMyg8|j7*07tOqHM? zVDQa2YuqQ^P*snlA{LkQ%z&sJMUXy-S!- zgJL90#N8`y-8*eH4&y)=c&)-|$1tEmn+-&iJ8rA=t`wk9B3YoW0Fcll2JVXCp*rNv zGAdjM7+mA<2xY@xAWACWuz$K)lFLEb68H@u9M}6QoJE;&9QLU4pioNTV>U?Vx_SCk zIA0tjaNQO9XqJq}MOHezP(q7ql>Ma&lovWd5; so#j2Xepr0pgnrD*(Nq8`2~-mJ2{Ov + + + + + + + + + + + + + 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 @@