| | |
| | | </div> |
| | | <div class="box_item"> |
| | | <div class="box_item_title"> |
| | | <span>理赔材料</span> |
| | | <div> <span>上传理赔材料</span></div> |
| | | <div style="float: right"> |
| | | <el-button type="primary" v-if="insurance && insurance.lpStampTempFile && insurance.lpStampTempFile.fileurlFull" @click="openLinkUrl(insurance.lpStampTempFile.fileurlFull)">盖章文件模版</el-button> |
| | | <el-button type="primary" v-if="insurance && insurance.lpFile && insurance.lpFile.fileurlFull" @click="openLinkUrl(insurance.lpFile.fileurlFull)">理赔材料一览表</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="box_item_list"> |
| | | <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;"> |
| | |
| | | </div> |
| | | <div class="box_item_list_row_info"> |
| | | <div class="label">文件上传说明:</div> |
| | | <div class="content">需上传的文件:劳动合同复印件、工资流水、考勤记录、身份证正反面、;</div> |
| | | <div v-if="insurance && insurance.lpYggxFileInfo" class="content" v-html="insurance.lpYggxFileInfo"></div> |
| | | </div> |
| | | <div class="box_item_list_row_l"> |
| | | <div class="desc_data_list_item" v-for="(item, index) in form.relationFileList" :key="index"> |
| | |
| | | </div> |
| | | <div class="box_item_list_row_info"> |
| | | <div class="label">文件上传说明:</div> |
| | | <div class="content">需上传的文件:劳动合同复印件、工资流水、考勤记录、身份证正反面、;</div> |
| | | <div v-if="insurance && insurance.lpMzFileInfo" class="content" v-html="insurance.lpMzFileInfo"></div> |
| | | </div> |
| | | <div class="box_item_list_row_l"> |
| | | <div class="desc_data_list_item" v-for="(item, index) in form.outpatientFileList" :key="index"> |
| | |
| | | </div> |
| | | <div class="box_item_list_row_info"> |
| | | <div class="label">文件上传说明:</div> |
| | | <div class="content">需上传的文件:劳动合同复印件、工资流水、考勤记录、身份证正反面、;</div> |
| | | <div v-if="insurance && insurance.lpZyFileInfo" class="content" v-html="insurance.lpZyFileInfo"></div> |
| | | </div> |
| | | <div class="box_item_list_row_l"> |
| | | <div class="desc_data_list_item" v-for="(item, index) in form.hospitalFileList" :key="index"> |
| | |
| | | </div> |
| | | <div class="box_item_list_row_info"> |
| | | <div class="label">文件上传说明:</div> |
| | | <div class="content">需上传的文件:劳动合同复印件、工资流水、考勤记录、身份证正反面、;</div> |
| | | <div v-if="insurance && insurance.lpScFileInfo" class="content" v-html="insurance.lpScFileInfo"></div> |
| | | </div> |
| | | <div class="box_item_list_row_l"> |
| | | <div class="desc_data_list_item" v-for="(item, index) in form.disabilityFileList" :key="index"> |
| | |
| | | </div> |
| | | <div class="box_item_list_row_info"> |
| | | <div class="label">文件上传说明:</div> |
| | | <div class="content">需上传的文件:劳动合同复印件、工资流水、考勤记录、身份证正反面、;</div> |
| | | <div v-if="insurance && insurance.lpYggxFileInfo" class="content" v-html="insurance.lpYggxFileInfo"></div> |
| | | </div> |
| | | <div class="box_item_list_row_l"> |
| | | <div class="desc_data_list_item" v-for="(item, index) in form.otherFileList" :key="index"> |
| | |
| | | import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow' |
| | | import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow' |
| | | import { mapState } from 'vuex' |
| | | import { getById } from '@/api/business/insurance' |
| | | export default { |
| | | name: 'onlineReporting', |
| | | extends: BaseOpera, |
| | |
| | | ] |
| | | }, |
| | | pickerOptions: { |
| | | disabledDate(time) { |
| | | return time.getTime() > Date.now(); // 禁用未来的日期 |
| | | disabledDate (time) { |
| | | return time.getTime() > Date.now() // 禁用未来的日期 |
| | | } |
| | | }, |
| | | area: [], |
| | | user: [], |
| | | insurance: null, |
| | | solutionList: [] |
| | | } |
| | | }, |
| | |
| | | this.user = [] |
| | | this.getUser() |
| | | this.getCityTree() |
| | | this.insurance = {} |
| | | if (id) { |
| | | findById(id) |
| | | .then(res => { |
| | |
| | | .then(res1 => { |
| | | res1.forEach(item => { |
| | | if (item.id === res.applyDetailId) { |
| | | this.getInsuranceFile(item)//获取保险方案文件说明 |
| | | item.active = true |
| | | this.pickerOptions = { |
| | | disabledDate (time) { |
| | | var start = new Date(item.startTime) |
| | | var end = new Date(item.endTime) |
| | | return ( time.getTime() < start.getTime() || time.getTime()>end.getTime()) |
| | | return (time.getTime() < start.getTime() || time.getTime() > end.getTime()) |
| | | } |
| | | } |
| | | } else { |
| | |
| | | this.form.informantName = this.userInfo.realname |
| | | }) |
| | | } |
| | | }, |
| | | openLinkUrl(url){ |
| | | window.open(url) |
| | | }, |
| | | continueReporting () { |
| | | this.i = 0 |
| | |
| | | this.form.reportFileList.splice(index, 1) |
| | | } |
| | | }, |
| | | getInsuranceFile (obj) { |
| | | this.insurance = null |
| | | getById(obj.insuranceId,1) |
| | | .then(res => { |
| | | this.insurance = res |
| | | }) |
| | | }, |
| | | claimsUploadFile (file, type) { |
| | | file.fileurl = file.imgaddr |
| | | file.name = file.originname |
| | |
| | | findList({ memberId: id }) |
| | | .then(res => { |
| | | this.form.insuranceApplyId = '' |
| | | res.forEach(item=> { |
| | | item.active = false |
| | | res.forEach(item => { |
| | | item.active = false |
| | | }) |
| | | this.solutionList = res |
| | | this.changeSolution(null,0) |
| | | this.changeSolution(null, 0) |
| | | }) |
| | | }, |
| | | changeSolution (e, i) { |
| | | this.pickerOptions = {} |
| | | if(this.solutionList.length < i){ |
| | | if (this.solutionList.length < i) { |
| | | return |
| | | } |
| | | this.solutionList.forEach((item, index) => { |
| | | item.active = i === index |
| | | }) |
| | | const obj = this.solutionList.filter(item => item.active)[0] |
| | | this.getInsuranceFile(obj) |
| | | this.pickerOptions = { |
| | | disabledDate (time) { |
| | | var start = new Date(obj.startTime) |
| | | var end = new Date(obj.endTime) |
| | | return ( time.getTime() < start.getTime() || time.getTime()>end.getTime()) |
| | | return (time.getTime() < start.getTime() || time.getTime() > end.getTime()) |
| | | } |
| | | } |
| | | this.form.insuranceApplyId = obj.applyId |
| | |
| | | } |
| | | this.$emit('success') |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | .finally(() => { |
| | | this.isWorking = false |
| | | }) |