| | |
| | | /** * 页面加载时获取数据 |
| | | */ |
| | | onLoad(page, params = {}) { |
| | | console.log('onLoad', page, params); |
| | | const data = { |
| | | ...this.query, |
| | | createTimeBegin: params.createTimeBegin, |
| | |
| | | this.fileViewModel = true; |
| | | }, |
| | | cancelProcess(row) { |
| | | console.log(row) |
| | | //取消流程 |
| | | this.$confirm('是否取消流程?', '', { |
| | | confirmButtonText: this.$t('submitText'), |
| | |
| | | params: { id: row.id } |
| | | }).then( |
| | | res => { |
| | | console.log(res) |
| | | if (res.data.code === 200) { |
| | | this.appContent = res.data.data; |
| | | } else { |
| | | this.appContent = '程序内容加载失败' |
| | | } |
| | | this.onLoad(this.page, this.query); |
| | | }); |
| | | }).catch(()=>{ |
| | | console.log('cancel') |