From 42f7290689fb083ed309a936e165d22cda536149 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Mon, 20 May 2024 14:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E8=AF=A6=E6=83=85=E5=A4=84?= =?UTF-8?q?=E7=BD=AE=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TimeLine/TimeLine2/DescCard.vue | 11 ++++++++--- .../event/event/EventDetailDialog/index.vue | 17 ++++++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue index 3ada8ecb..863021e4 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue @@ -6,7 +6,7 @@ {{ data.name }} {{ data.posts }} -
节点:{{ data.processName }}
+
节点:{{ data.processName }}
- + {{ formFileData.content }} - + @@ -371,6 +371,11 @@ export default { } } + .node { + color: #ffbf00; + font-size: 16px; + line-height: 19px; + } .desc { font-size: 16px; line-height: 19px; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue index 0fba9ec8..d1e1fa6e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue @@ -171,14 +171,25 @@ export default { rows.forEach(item =>{ this.timeLine2List.push({ - time: moment(item.operationTime || new Date()).format( + id: item.processId, + time: item.operationTime + ? new Date(item.operationTime).toLocaleString() + : null, + name: item.operatorName, + desc: item.context, + source: item.source, + processId: item.processId, + processName: item.processName, + type: item.type, + processType: item.processType, + /*time: moment(item.operationTime || new Date()).format( "yyyy-MM-DD HH:mm:ss" ), name: item.operatorName, desc: item.context, source: item.source, posts: "", - direction: item.source == 1 ? "right" : "left", + direction: item.source == 1 ? "right" : "left",*/ }); }) @@ -275,7 +286,7 @@ export default { .catch((err) => { }); } - + // 2024-05-18 修改为二次确认,增加误报类型和误报原因 // if (this.formData.id) { // this.$confirm("确定误报吗?", "提示", {