Commit ccea77cd authored by jingnan's avatar jingnan 👀

签审历史id为空的时候loading修改

parent 1ef0bcd0
...@@ -7,16 +7,13 @@ ...@@ -7,16 +7,13 @@
<div v-dee-loading="loading" class="task-detail-process-common-com"> <div v-dee-loading="loading" class="task-detail-process-common-com">
<div class="name"> <div class="name">
<div class="message-popper-flow"> <div class="message-popper-flow">
<div> <div v-if="processInstanceId">
<div <div
v-for="(pitem, id) in historyInfo" v-for="(pitem, id) in historyInfo"
:key="id" :key="id"
class="program-item" class="program-item"
> >
<div class="program-left"> <div class="program-left">
<!-- <div class="program-left-content">
<div>{{ pitem.completed?'已完成':'待完成' }}</div>
</div> -->
<div v-show="pitem.endTime" class="program-circle-finished" /> <div v-show="pitem.endTime" class="program-circle-finished" />
<div v-show="!pitem.endTime" class="program-circle-unfinished" /> <div v-show="!pitem.endTime" class="program-circle-unfinished" />
</div> </div>
...@@ -37,7 +34,7 @@ ...@@ -37,7 +34,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div v-else style="line-height: 88px;text-align: center">暂无数据</div> --> <div v-else style="line-height: 88px;text-align: center">暂无审签历史记录</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -57,7 +54,7 @@ export default { ...@@ -57,7 +54,7 @@ export default {
}, },
data() { data() {
return { return {
loading: true, loading: false,
item: {}, item: {},
historyInfo: [], historyInfo: [],
businessObject: {} businessObject: {}
...@@ -78,14 +75,13 @@ export default { ...@@ -78,14 +75,13 @@ export default {
processInstanceId: { processInstanceId: {
handler: function(val) { handler: function(val) {
this.$nextTick(function() { this.$nextTick(function() {
this.getDetail(val) val && this.getDetail(val)
}) })
}, },
immediate: true immediate: true
} }
}, },
created() { created() {
// this.getDetail('678df986-9c26-11eb-9fc3-fa163ee7db6d')
}, },
methods: { methods: {
handleClose() { handleClose() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment