Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
王钦 6 months ago
parent
commit
dbc0740007
  1. 7
      ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue
  3. 15
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

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

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

2
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue

@ -326,7 +326,7 @@ export default {
processName: this.processName, processName: this.processName,
context: content, context: content,
// file: this.imageUrl, // file: this.imageUrl,
type: type ? type.join(",") : "text", type: type && type.length > 0 ? type.join(",") : "text",
source: 1, source: 1,
processType: this.processType, processType: this.processType,
}; };

15
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

@ -171,14 +171,25 @@ export default {
rows.forEach(item =>{ rows.forEach(item =>{
this.timeLine2List.push({ 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" "yyyy-MM-DD HH:mm:ss"
), ),
name: item.operatorName, name: item.operatorName,
desc: item.context, desc: item.context,
source: item.source, source: item.source,
posts: "", posts: "",
direction: item.source == 1 ? "right" : "left", direction: item.source == 1 ? "right" : "left",*/
}); });
}) })

Loading…
Cancel
Save