|
@@ -153,7 +153,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getFlowDetail(){
|
|
|
|
|
|
+ getReportFlowDetail(){
|
|
const id = this.$route.query.flowId||0
|
|
const id = this.$route.query.flowId||0
|
|
if(id){
|
|
if(id){
|
|
approveInterence.getApproveFlowDetail({
|
|
approveInterence.getApproveFlowDetail({
|
|
@@ -190,7 +190,7 @@ export default {
|
|
},
|
|
},
|
|
afterGetBaseConfig(){ //渲染之后执行否则组件会监听不到
|
|
afterGetBaseConfig(){ //渲染之后执行否则组件会监听不到
|
|
if(this.$route.query.flowId){
|
|
if(this.$route.query.flowId){
|
|
- this.$route.query.mainType == 'report' ? this.getFlowDetail() : this.getBiFlowDetail();
|
|
|
|
|
|
+ this.$route.query.mainType == 'report' ? this.getReportFlowDetail() : this.getBiFlowDetail();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|