Commit ccea77cd authored by jingnan's avatar jingnan 👀

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

parent 1ef0bcd0
......@@ -7,16 +7,13 @@
<div v-dee-loading="loading" class="task-detail-process-common-com">
<div class="name">
<div class="message-popper-flow">
<div>
<div v-if="processInstanceId">
<div
v-for="(pitem, id) in historyInfo"
:key="id"
class="program-item"
>
<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-unfinished" />
</div>
......@@ -37,7 +34,7 @@
</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>
......@@ -57,7 +54,7 @@ export default {
},
data() {
return {
loading: true,
loading: false,
item: {},
historyInfo: [],
businessObject: {}
......@@ -78,14 +75,13 @@ export default {
processInstanceId: {
handler: function(val) {
this.$nextTick(function() {
this.getDetail(val)
val && this.getDetail(val)
})
},
immediate: true
}
},
created() {
// this.getDetail('678df986-9c26-11eb-9fc3-fa163ee7db6d')
},
methods: {
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