Browse Source

事件详情处置记录

wangqin
lau572 6 months ago
parent
commit
42f7290689
  1. 11
      ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue
  2. 17
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

11
ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue

@ -6,7 +6,7 @@
<span class="name">{{ data.name }}</span>
<span class="posts">{{ data.posts }}</span>
</div>
<div class="desc" v-if="data.processId">节点{{ data.processName }}</div>
<div class="node" v-if="data.processId">节点{{ data.processName }}</div>
<el-image
style="width: 100px; height: 100px"
v-if="
@ -210,9 +210,9 @@
border: none;
"
>
{{ formFileData.content }}
</textarea
>
@ -371,6 +371,11 @@ export default {
}
}
.node {
color: #ffbf00;
font-size: 16px;
line-height: 19px;
}
.desc {
font-size: 16px;
line-height: 19px;

17
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("", "", {

Loading…
Cancel
Save