Commit 82e60441 authored by qinj's avatar qinj

审批进度有ID才掉接口

parent e91ab950
...@@ -318,10 +318,14 @@ export default { ...@@ -318,10 +318,14 @@ export default {
}, },
created() { created() {
this.id = this.$route.query.objectID this.id = this.$route.query.objectID
if(this.id){
this.getList() this.getList()
this.getHistoryList() this.getHistoryList()
this.getFile() this.getFile()
this.getChannelType() this.getChannelType()
}else{
this.$message.error('请求链接无效')
}
}, },
methods: { methods: {
getFile() { getFile() {
......
...@@ -450,10 +450,15 @@ export default { ...@@ -450,10 +450,15 @@ export default {
}, },
created() { created() {
this.id = this.$route.query.objectID this.id = this.$route.query.objectID
if(this.id){
this.getList() this.getList()
this.getCommon() this.getCommon()
this.getFile() this.getFile()
this.getHistoryList() this.getHistoryList()
}else{
this.$message.error('请求链接无效')
}
}, },
methods: { methods: {
getList() { getList() {
......
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