|
@@ -17,11 +17,11 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- const processId = this.$route.params && this.$route.params.processId;
|
|
|
- const nodeId = this.$route.params && this.$route.params.nodeId;
|
|
|
- const taskId = this.$route.params && this.$route.params.taskId;
|
|
|
- const instId = this.$route.params && this.$route.params.instId;
|
|
|
- this.wordUrl = window.location.protocol+'//'+window.location.host+'/flowablePc/#/openDeal?instId='+ instId + '&processId=' + processId + '&nodeId=' + nodeId + '&taskId=' + taskId + '&token=' + getToken();
|
|
|
+ const processId = this.$route.query && this.$route.query.processId;
|
|
|
+ const nodeId = this.$route.query && this.$route.query.nodeId;
|
|
|
+ const taskId = this.$route.query && this.$route.query.taskId;
|
|
|
+ const instId = this.$route.query && this.$route.query.instId;
|
|
|
+ this.wordUrl = window.location.protocol+'//'+window.location.host+':8080/flowablePc/#/openDeal?instId='+ instId + '&processId=' + processId + '&nodeId=' + nodeId + '&taskId=' + taskId + '&token=' + getToken();
|
|
|
// this.wordUrl = 'http://localhost:8080/flowablePc/#/openDeal?instId='+ instId + '&processId=' + processId + '&nodeId=' + nodeId + '&taskId=' + taskId + '&token' + getToken();
|
|
|
this.iframeShow = true
|
|
|
},
|