| | |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import OperaSettleClaimsCheckWindow from '@/components/business/OperaSettleClaimsCheckWindow' |
| | | import {confirmFile, findById,exportFiles,claimsUploadFile} from '@/api/business/settleClaims' |
| | | import {confirmFile, findById,exportFiles,claimsUploadFile,delFile} from '@/api/business/settleClaims' |
| | | export default { |
| | | name: 'OperaSettleClaimsWindow', |
| | | extends: BaseOpera, |
| | |
| | | openBaoxiandan(){ |
| | | window.open(this.model.baoxiandanFile.fileurlFull); |
| | | }, |
| | | delFile(id){ |
| | | this.$dialog.messageConfirm('确认删除该附件吗,一旦删除无法撤回?') |
| | | .then(() => { |
| | | // this.isWorking = true |
| | | delFile({id}) |
| | | .then(response => { |
| | | that.getDetail() |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | }) |
| | | }, |
| | | getDetail(){ |
| | | findById( this.model.id) |
| | | .then(res => { |