|  |  | 
 |  |  | } from "@/api/business/insuranceApply"; | 
 |  |  | import UploadFile from "@/components/common/UploadFile"; | 
 |  |  | export default { | 
 |  |  |   name: 'OperaInsuranceApplyCheckWindow', | 
 |  |  |   name: 'OperaChangeApplyCheckWindow', | 
 |  |  |   extends: BaseOpera, | 
 |  |  |   components: {UploadFile, GlobalWindow }, | 
 |  |  |   data () { | 
 |  |  | 
 |  |  |       this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  |           .then(() => { | 
 |  |  |             this.isWorking = true | 
 |  |  |             uploadBaoxiandan({id:this.model.id,startTime:this.form.startTime,checkInfo:this.form.backCheckInfo,code:this.form.code,baoxiandanFile:this.form.baoxianFile}) | 
 |  |  |             uploadBaoxiandan({id:this.model.id,startTime:this.form.startTime,code:this.form.code,baoxiandanFile:this.form.baoxianFile}) | 
 |  |  |                 .then(response => { | 
 |  |  |                   this.visible = false | 
 |  |  |                   this.$emit('success') | 
 |  |  | 
 |  |  |       this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  |           .then(() => { | 
 |  |  |             this.isWorking = true | 
 |  |  |             editBaoxiandan({id:this.model.id, checkInfo:this.form.backCheckInfo,code:this.form.editCode,baoxiandanFile:this.form.editBaoxianFile}) | 
 |  |  |                 .then(response => { | 
 |  |  |                   this.visible = false | 
 |  |  |                   this.$emit('success') | 
 |  |  |                 }).catch(err => { | 
 |  |  |                   this.$tip.apiFailed(err) | 
 |  |  |                 }) | 
 |  |  |           }) | 
 |  |  |     }, | 
 |  |  |     backeditBaoxiandan(){ | 
 |  |  |       this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  |           .then(() => { | 
 |  |  |             this.isWorking = true | 
 |  |  |             editBaoxiandan({id:this.model.id,checkInfo:this.form.backCheckInfo}) | 
 |  |  |             editBaoxiandan({id:this.model.id, checkInfo:this.form.editCheckInfo,code:this.form.editCode,baoxiandanFile:this.form.editBaoxianFile}) | 
 |  |  |                 .then(response => { | 
 |  |  |                   this.visible = false | 
 |  |  |                   this.$emit('success') |