| | |
| | | |
| | | callPreEvent(options, doBefore, function (options) { |
| | | showStartWindow(options, function () { |
| | | callPostEvent(options, doAfter, callback,type); |
| | | callPostEvent(options, doAfter, callback,'downloadfile'); |
| | | }); |
| | | }); |
| | | }; |
| | |
| | | let data = new FormData(); |
| | | data.append('fileOid',oids); |
| | | download(data).then(res => { |
| | | if (res) { |
| | | console.log('res',res); |
| | | if (res.data.code == 200) { |
| | | func.downloadFileByBlobHandler(res); |
| | | Vue.prototype.$message.success("下载成功"); |
| | | }else { |
| | | Vue.prototype.$message.error("下载失败,请检查网络请求!"); |
| | | } |
| | | }).catch(err => { |
| | | console.log(err); |