| | |
| | | prop: 'attachFile', |
| | | type: 'upload', |
| | | dragFile: true, |
| | | showFileList:false, |
| | | accept: this.options.uploadAccept || 'file', |
| | | loadText: '文件上传中,请稍等', |
| | | span: 24, |
| | |
| | | handleDownload(row) { |
| | | //window.open(`${row.link}`); |
| | | if(row && row.oid){ |
| | | download(row.oid) |
| | | download({fileOids:row.oid}) |
| | | }else{ |
| | | if (this.selectionList.length === 0) { |
| | | this.$message.warning("请选择至少一条数据"); |
| | | return; |
| | | } |
| | | download(this.oids); |
| | | download({fileOids:this.oids}); |
| | | } |
| | | }, |
| | | rowDel(row) { |
| | |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | return remove(row.oid,row.oid); |
| | | return remove([row.oid]); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | return remove(this.oids,this.oids); |
| | | return remove(this.oids.split(',')); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |