| | |
| | | cancelButtonText: '不通过', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | checkPutIFS(val.id,{result: 1}).then(res=>{ |
| | | if(res.status===200){ |
| | | console.log(res) |
| | | } |
| | | }).catch(error=>{ |
| | | console.error(error) |
| | | }) |
| | | this.checkPutIFSFun(val.id,1); |
| | | }).catch((action) => { |
| | | if(action === 'cancel'){ |
| | | checkPutIFS(val.id,{result: 2}).then(res=>{ |
| | | this.checkPutIFSFun(val.id,2); |
| | | } |
| | | }); |
| | | }, |
| | | checkPutIFSFun(id,result){ |
| | | checkPutIFS(id, result).then(res=>{ |
| | | if(res.status===200){ |
| | | console.log(res) |
| | | this.getData() |
| | | } |
| | | }).catch(error=>{ |
| | | console.error(error) |
| | | }) |
| | | } |
| | | }); |
| | | }, |
| | | downloadReport(){ |
| | | let selection = this.multipleSelection |