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 1/2] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E5=A4=84=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("确定误报吗?", "提示", {
From e5857edbedff1418867bada89abbff432cb89af8 Mon Sep 17 00:00:00 2001
From: lau572 <1010031226@qq.com>
Date: Mon, 20 May 2024 15:37:24 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=84=E7=BD=AE=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../event/commandDispatch/Cards/DisposalProcess/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue
index 47af8e59..0ac88bea 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue
@@ -326,7 +326,7 @@ export default {
processName: this.processName,
context: content,
// file: this.imageUrl,
- type: type ? type.join(",") : "text",
+ type: type && type.length > 0 ? type.join(",") : "text",
source: 1,
processType: this.processType,
};