BUG 29877
This commit is contained in:
@@ -51,7 +51,7 @@ export default {
|
||||
processAnnexDefs: [],
|
||||
detailObj: {},
|
||||
activeStep: 0,
|
||||
loaded: true
|
||||
loaded: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -134,11 +134,11 @@ export default {
|
||||
})
|
||||
},
|
||||
getDetail(id) {
|
||||
return this.instance.post(`/approval-process-def/info-id`, null, {params: {id}}).then(res => {
|
||||
this.instance.post(`/approval-process-def/info-id`, null, {params: {id}}).then(res => {
|
||||
if (res?.data) {
|
||||
this.detailObj = res.data
|
||||
}
|
||||
})
|
||||
}).finally(() => this.loaded = true)
|
||||
},
|
||||
getStepIcon(rowIndex) {
|
||||
if (rowIndex < this.activeStep) return "iconfont iconSteps_Finished"
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getDetail(this.$route.query.id).finally(() => this.loaded = false)
|
||||
this.getDetail(this.$route.query.id)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user