| | |
| | | </div> |
| | | <div class="desc_item_label_right"> |
| | | <el-button type="primary" @click="viewConfirmationLetter">查看方案确认书</el-button> |
| | | <el-button type="primary" v-if="[1].includes(model.solutionType) && model.shenqingdanFile" @click="viewShenqingdan(model.shenqingdanFile)">查看申请单</el-button> |
| | | <template v-if="userInfo.type === 1"> |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <!-- $refs.operaverifyPhoneNumberWindew.open('验证手机号')--> |
| | | <!-- <el-button v-if="[22].includes(model.status) && model.solutionType === 1" type="primary" @click="viewShenqingdan(model.shenqingdanFile)">查看申请单</el-button>--> |
| | | <el-button v-if="model.status == 2" type="primary" :disabled="loading" :loading="loading" @click="goSign()">签署投保单</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">查看保险单</el-button> |
| | | <el-button v-if="model.status == 4" type="primary" @click="$refs.operaInsuranceApplyAddWindow.open('投保申请', {id: dataId})">再次投保</el-button> |
| | |
| | | <template v-else> |
| | | <el-button v-if="[12].includes(model.status)" type="primary" @click="review">投保复审</el-button> |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8, 26].includes(model.status) && (model.toubaodanFile || model.toubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[27,5].includes(model.status)" type="primary" @click="viewBaoxiandan">查看保险单</el-button> |
| | | <el-button v-if="[2,10].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button> |
| | | <el-button v-if="model.status === 3 && userInfo.type === 0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button> |
| | | |
| | | <!-- <el-button v-if="model.status == 26 && model.solutionType == 1" type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>--> |
| | | |
| | | <!-- <el-button v-if="[22].includes(model.status) && model.solutionType === 1 && model.shenqingdanFile" type="primary" @click="viewShenqingdan(model.shenqingdanFile)">查看申请单</el-button>--> |
| | | <el-button v-if="[6,7,8,11].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('驳回退回申请',model,5)">驳回退回申请</el-button> |
| | | <el-button v-if="[22, 0].includes(model.status) && [0,1].includes(model.solutionType)" type="primary" @click="$refs.InsuranceDetails.open('投保审核',model,1)">投保审核</el-button> |
| | | <el-button v-if="![1, 4, 5].includes(model.status) && [0,1].includes(model.solutionType)" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button> |
| | | <el-button v-if="[5,27].includes(model.status) && userInfo.type === 0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('修改保险单',model,4)">修改保险单</el-button> |
| | | |
| | | </template> |
| | | </div> |
| | | </div> |
| | |
| | | import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow' |
| | | import OperaApplyChangeMonthWindow from '@/components/business/OperaApplyChangeMonthWindow' |
| | | import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow' |
| | | |
| | | import applyReturn from '@/components/enterprise/applyReturn' |
| | | import { getDetail, getSignLink, applyDetailPage, exportExcel, applyChagneDetailExcel, applyOpt } from '@/api/business/insuranceApply' |
| | | import { findListByDTO } from '@/api/business/dispatchUnit' |
| | |
| | | this.getDW() |
| | | this.getGZ() |
| | | }, |
| | | viewShenqingdan(row) { |
| | | if (!row) return; |
| | | this.$refs.OperaPdfViewerWindow.open(row.name, row.fileurlFull) |
| | | }, |
| | | viewConfirmationLetter() { |
| | | this.$refs.OperaPdfViewerWindow.open('查看方案确认书', this.model.fanganFile.fileurlFull) |
| | | }, |
| | |
| | | <el-form-item label="上传投保单:" prop="toubaodanFile"> |
| | | <UploadFile @remove="dele2" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" /> |
| | | </el-form-item> |
| | | <div v-for="(item,index) in this.model.applyList" :key="index"> |
| | | <el-form-item :label="(index+1)+'.被保险人('+item.companyName+'):'" prop="tbdMultifileList[index]"> |
| | | <UploadFile @remove="deleIndex(0,index)" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileIndex="index" :showTips="showTips" :fileList="model.applyList[index].fileList" @uploadSuccess="toubaoFileUploaded2" /> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- <div v-for="(item,index) in this.model.applyList" :key="index">--> |
| | | <!-- <el-form-item :label="(index+1)+'.被保险人('+item.companyName+'):'" prop="tbdMultifileList[index]">--> |
| | | <!-- <UploadFile @remove="deleIndex(0,index)" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileIndex="index" :showTips="showTips" :fileList="model.applyList[index].fileList" @uploadSuccess="toubaoFileUploaded2" />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </div>--> |
| | | </el-form> |
| | | <!-- 上传保险单 --> |
| | | <el-form v-if="visible3==true" :model="form" ref="form3" :rules="rules3" style="width: 100%;"> |
| | |
| | | <el-form-item label="上传保险单:" prop="baoxianFile"> |
| | | <UploadFile @remove="dele3" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" /> |
| | | </el-form-item> |
| | | <div class="box_table"> |
| | | <div class="box_table" v-if="false"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item">序号</div> |
| | | <div class="box_table_head_item">被保险人</div> |
| | |
| | | <el-form-item label="上传批单:" prop="baoxianFile"> |
| | | <UploadFile @remove="dele3" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" /> |
| | | </el-form-item> |
| | | <div class="box_table"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item">序号</div> |
| | | <div class="box_table_head_item">被保险人</div> |
| | | <div v-if="model.type==0" class="box_table_head_item">加保人数</div> |
| | | <div v-if="model.type==0" class="box_table_head_item">减保人数</div> |
| | | <div v-if="model.type==1" class="box_table_head_item">变更人数</div> |
| | | <div class="box_table_head_item">上传批单</div> |
| | | </div> |
| | | <div class="box_table_content" v-for="(item, index) in model.applyList" :key="index"> |
| | | <div class="box_table_content_item">{{index + 1}}</div> |
| | | <div class="box_table_content_item" >{{ item.companyName }}</div> |
| | | <div v-if="model.type==0" class="box_table_content_item">{{ item.addNum }}</div> |
| | | <div v-if="model.type==0" class="box_table_content_item">{{ item.delNum }}</div> |
| | | <div v-if="model.type==1" class="box_table_content_item">{{ item.changeNum }}</div> |
| | | <div class="box_table_content_item"> |
| | | <el-form-item label="" prop="bxdMultifileList[index]"> |
| | | <UploadFileLink @remove="deleIndex(1,index)" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileIndex="index" :showTips="showTips" :fileList="model.applyList[index].fileList1" @uploadSuccess="baoxianFileUploaded2" /> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="box_table">--> |
| | | <!-- <div class="box_table_head">--> |
| | | <!-- <div class="box_table_head_item">序号</div>--> |
| | | <!-- <div class="box_table_head_item">被保险人</div>--> |
| | | <!-- <div v-if="model.type==0" class="box_table_head_item">加保人数</div>--> |
| | | <!-- <div v-if="model.type==0" class="box_table_head_item">减保人数</div>--> |
| | | <!-- <div v-if="model.type==1" class="box_table_head_item">变更人数</div>--> |
| | | <!-- <div class="box_table_head_item">上传批单</div>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="box_table_content" v-for="(item, index) in model.applyList" :key="index">--> |
| | | <!-- <div class="box_table_content_item">{{index + 1}}</div>--> |
| | | <!-- <div class="box_table_content_item" >{{ item.companyName }}</div>--> |
| | | <!-- <div v-if="model.type==0" class="box_table_content_item">{{ item.addNum }}</div>--> |
| | | <!-- <div v-if="model.type==0" class="box_table_content_item">{{ item.delNum }}</div>--> |
| | | <!-- <div v-if="model.type==1" class="box_table_content_item">{{ item.changeNum }}</div>--> |
| | | <!-- <div class="box_table_content_item">--> |
| | | <!-- <el-form-item label="" prop="bxdMultifileList[index]">--> |
| | | <!-- <UploadFileLink @remove="deleIndex(1,index)" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileIndex="index" :showTips="showTips" :fileList="model.applyList[index].fileList1" @uploadSuccess="baoxianFileUploaded2" />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | </el-form> |
| | | <template v-slot:footer> |
| | | <el-button type="primary" @click="doSubmit">确 定</el-button> |
| | |
| | | <el-button v-if="[1,2].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署申请单</el-button> |
| | | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> |
| | | <el-button v-if=" [1].includes(model.status)" type="primary" @click="$refs.OperaUnionChangeCheckWindow.open('上传批单',model,3)">上传批单</el-button> |
| | | <el-button v-if=" [1].includes(model.status) && userInfo.type === 0" type="primary" @click="$refs.OperaUnionChangeCheckWindow.open('上传批单',model,3)">上传批单</el-button> |
| | | <el-button v-if="[0,1].includes(model.status)" type="danger" @click="$refs.OperaUnionChangeCheckWindow.open('退回申请',model,1)">退回申请</el-button> |
| | | </template> |
| | | <template v-if="0"> |
| | |
| | | <el-button v-if="model.status == 24" type="primary" @click="$refs.OperaInsuranceApplyAddWindow.open('投保申请', {id: dataId})">再次投保</el-button> |
| | | <!-- <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>--> |
| | | <el-button v-if="[22,23,24,25,26,27].includes(model.status) && model.shenqingdanFile" type="primary" @click="viewShenqingdan">查看申请单</el-button> |
| | | <el-button v-if="[1,2,3].includes(model.unionApplyTbdStatus) &&(model.toubaodanFile || model.oubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[1,2,3].includes(model.unionApplyTbdStatus) &&(model.toubaodanFile || model.toubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[3].includes(model.unionApplyTbdStatus) &&(model.baoxiandanFile)" type="primary" @click="viewBaoxiandan">查看保险单</el-button> |
| | | <!-- goSign--> |
| | | <el-button v-if="model.status == 20" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署方案确认书</el-button> |
| | |
| | | <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button> |
| | | </template> |
| | | <template v-if="userInfo.type ===0"> |
| | | <el-button v-if="[2,3,4,1].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[2,3,4,1,5].includes(model.status) && (model.toubaodanFile || model.toubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="[0].includes(model.status) " type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button> |
| | | <el-button v-if="[0, 1].includes(model.status)" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署投保单</el-button> |
| | | <el-button v-if="[0,1,2,5].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button> |
| | |
| | | }, 500) |
| | | }, |
| | | viewToubaodan () { |
| | | this.fileData = this.taobaodanFileData; |
| | | this.visibleFile=true |
| | | this.fileTitle='查看投保单' |
| | | this.fileFlag = 0 |
| | | if (this.model.toubaodanSignedFile) { |
| | | this.$refs.OperaPdfViewerWindow.open(this.model.toubaodanSignedFile.name, this.model.toubaodanSignedFile.fileurlFull) |
| | | } else if (this.model.toubaodanFile) { |
| | | this.$refs.OperaPdfViewerWindow.open(this.model.toubaodanFile.name, this.model.toubaodanFile.fileurlFull) |
| | | } |
| | | }, |
| | | viewBaoxiandan () { |
| | | this.fileFlag = 1 |
| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionapply:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('委托投保申请')" v-permissions="['business:unionapply:create']">提交申请</el-button></li> |
| | | </ul> |
| | | <!-- <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionapply:create']">--> |
| | | <!-- <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('委托投保申请')" v-permissions="['business:unionapply:create']">提交申请</el-button></li>--> |
| | | <!-- </ul>--> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionchange:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionChange.open('加减保申请')" v-permissions="['business:unionchange:create']">提交申请</el-button></li> |
| | | </ul> |
| | | <!-- <ul class="toolbar" v-if="userInfo.type==2 && " v-permissions="['business:unionchange:create']">--> |
| | | <!-- <li><el-button type="primary" @click="$refs.OpearaUnionChange.open('加减保申请')" v-permissions="['business:unionchange:create']">提交申请</el-button></li>--> |
| | | <!-- </ul>--> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionchange:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionChangeUnit.open('更换派遣单位申请')" v-permissions="['business:unionchange:create']">提交申请</el-button></li> |
| | | </ul> |
| | | <!-- <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionchange:create']">--> |
| | | <!-- <li><el-button type="primary" @click="$refs.OpearaUnionChangeUnit.open('更换派遣单位申请')" v-permissions="['business:unionchange:create']">提交申请</el-button></li>--> |
| | | <!-- </ul>--> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |