|
@@ -101,8 +101,15 @@
|
|
|
innerWidth: window.innerWidth,
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
- this.getEvaluationData()
|
|
|
+ mounted() {
|
|
|
+ if (this.$route?.query?.iamCode && this.$route?.query?.iamAccessToken) {
|
|
|
+ console.log('有iamCode===>>>', this.$route)
|
|
|
+ window.localStorage.setItem('token', this.$route.query.iamAccessToken)
|
|
|
+ window.localStorage.setItem('code', this.$route.query.iamCode)
|
|
|
+ this.iamTaskProcess(this.$route.query)
|
|
|
+ } else {
|
|
|
+ this.getEvaluationData()
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
// 查询指标数据
|
|
@@ -133,6 +140,12 @@
|
|
|
this.iframeURL = url + '/agilebpm-ui/bpm/instance/instanceImageDialog.html?instanceId=' + row.instId +
|
|
|
'&defId=' + row.defId + '&taskId=' + row.taskId + '&iamCode=' + window.localStorage.getItem('code')
|
|
|
},
|
|
|
+ iamTaskProcess(query) {
|
|
|
+ let obj = {
|
|
|
+ instId: query.taskInfo
|
|
|
+ }
|
|
|
+ this.taskProcess(obj)
|
|
|
+ },
|
|
|
taskProcess(row) {
|
|
|
let that = this
|
|
|
let params = {
|