|  |  | 
 |  |  |         :confirm-working="isWorking" | 
 |  |  |         @confirm="confirm" | 
 |  |  |     > | 
 |  |  |         <!--    退回投保    --> | 
 |  |  |         <!--    退回申请    --> | 
 |  |  |         <el-form v-if="visible1==true" :model="form" ref="form1" :rules="rules1" style="width: 100%;"> | 
 |  |  |           <el-form-item label="填写退回说明:" prop="backCheckInfo"> | 
 |  |  |             <el-input type="textarea" v-model="form.backCheckInfo" placeholder="请输入" v-trim/> | 
 |  |  | 
 |  |  |         </el-form> | 
 |  |  |         <el-form v-if="visible2==true" :model="form" ref="form2" :rules="rules2" style="width: 100%;"> | 
 |  |  |           <el-form-item label="上传投保单:" prop="toubaodanFile"> | 
 |  |  |             <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" /> | 
 |  |  |             <UploadFile @remove="dele2" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" /> | 
 |  |  |           </el-form-item> | 
 |  |  |         </el-form> | 
 |  |  |         <!--    上传保险单    --> | 
 |  |  | 
 |  |  |   uploadToubaodan, | 
 |  |  |   check | 
 |  |  | } from "@/api/business/insuranceApply"; | 
 |  |  | import { uploadBXD } from "@/api/business/unionApply"; | 
 |  |  | import UploadFile from "@/components/common/UploadFile"; | 
 |  |  | import {remark} from "@/api/business/settleClaims"; | 
 |  |  | export default { | 
 |  |  | 
 |  |  |       visible4: false, | 
 |  |  |       visible5: false, | 
 |  |  |       visible6: false, | 
 |  |  |       type: null | 
 |  |  |     } | 
 |  |  |   }, | 
 |  |  |   created () { | 
 |  |  | 
 |  |  |       }) | 
 |  |  |   }, | 
 |  |  |   methods: { | 
 |  |  |      open(title,target,flag){ | 
 |  |  |     dele2() { | 
 |  |  |       this.form.toubaodanFile = '' | 
 |  |  |     }, | 
 |  |  |      open(title,target,flag,type){ | 
 |  |  |        this.visible=true | 
 |  |  |        this.type = type | 
 |  |  |        this.model={} | 
 |  |  |        this.form= { | 
 |  |  |          id: null, | 
 |  |  | 
 |  |  |           if (!valid) { | 
 |  |  |             return | 
 |  |  |           } | 
 |  |  |           this.uploadBaoxiandan() | 
 |  |  |           if (!this.type) { | 
 |  |  |             this.uploadBaoxiandan() | 
 |  |  |           } else if (this.type === 1) { | 
 |  |  |             this.uploadBaoxiandan1() | 
 |  |  |           } | 
 |  |  |         }) | 
 |  |  |       } else if (this.flag == 4) { | 
 |  |  |         this.$refs.form4.validate((valid) => { | 
 |  |  | 
 |  |  |                   this.$tip.apiFailed(err) | 
 |  |  |                 }) | 
 |  |  |           }) | 
 |  |  |  | 
 |  |  |     }, | 
 |  |  |     uploadBaoxiandan1(){ | 
 |  |  |       this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  |         .then(() => { | 
 |  |  |           this.isWorking = true | 
 |  |  |           uploadBXD({id:this.model.id,startTime:this.form.startTime,code:this.form.code,baoxiandanFile:this.form.baoxianFile}) | 
 |  |  |             .then(response => { | 
 |  |  |               this.visible = false | 
 |  |  |               this.$emit('success') | 
 |  |  |             }).catch(err => { | 
 |  |  |             this.$tip.apiFailed(err) | 
 |  |  |           }) | 
 |  |  |         }) | 
 |  |  |     }, | 
 |  |  |     editBaoxiandan(){ | 
 |  |  |       this.$dialog.messageConfirm('确认进行该操作吗?') | 
 |  |  | 
 |  |  |             } | 
 |  |  |             .form_item_label { | 
 |  |  |                 flex-shrink: 0; | 
 |  |  |                 width: 170px; | 
 |  |  |                 /*width: 170px;*/ | 
 |  |  |                 color: black; | 
 |  |  |                 font-size: 14px; | 
 |  |  |                 span { |