| | |
| | | methods: { |
| | | init() { |
| | | this.accessToken = { |
| | | accessToken: this.getStore("accessToken"), |
| | | accessToken: this.getSessionStore("accessToken"), |
| | | }; |
| | | this.deployByFileUrl = deployByFile; |
| | | this.getDataList(); |
| | |
| | | window.open( |
| | | `${exportResource}?id=${ |
| | | v.id |
| | | }&type=${type}&accessToken=${this.getStore("accessToken")}` |
| | | }&type=${type}&accessToken=${this.getSessionStore("accessToken")}` |
| | | ); |
| | | } else if (type == 1) { |
| | | this.viewTitle = "流程图片预览(" + v.diagramName + ")"; |
| | | this.diagramUrl = `${exportResource}?id=${ |
| | | v.id |
| | | }&type=${type}&accessToken=${this.getStore("accessToken")}`; |
| | | }&type=${type}&accessToken=${this.getSessionStore("accessToken")}`; |
| | | this.viewImage = true; |
| | | } |
| | | }, |
| | |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |