|  |  |  | 
|---|
|  |  |  | <div class="box_table_head_item">保单号</div> | 
|---|
|  |  |  | <div class="box_table_head_item">保险生效起期</div> | 
|---|
|  |  |  | <div class="box_table_head_item">保险生效止期</div> | 
|---|
|  |  |  | <div class="box_table_head_item">换厂人数</div> | 
|---|
|  |  |  | <div class="box_table_head_item">更换派遣单位人数</div> | 
|---|
|  |  |  | <div class="box_table_head_item">批单生效期</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="box_table_content "  > | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="box_table_head_item">身份证号</div> | 
|---|
|  |  |  | <div class="box_table_head_item">原派遣单位</div> | 
|---|
|  |  |  | <div class="box_table_head_item">原所属工种</div> | 
|---|
|  |  |  | <div class="box_table_head_item">换厂后派遣单位</div> | 
|---|
|  |  |  | <div class="box_table_head_item">换厂后所属工种</div> | 
|---|
|  |  |  | <div class="box_table_head_item">更换后派遣单位</div> | 
|---|
|  |  |  | <div class="box_table_head_item">更换后所属工种</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="box_table_content" v-for="(item, index) in detailList" :key="index"> | 
|---|
|  |  |  | <div class="box_table_content_item">{{index + 1}}</div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <!--            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">审核不通过</el-button>--> | 
|---|
|  |  |  | <el-button @click="visible=false">取消</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template v-else-if="type==1" v-slot:footer> | 
|---|
|  |  |  | <el-button @click="visible=false">返回</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template v-else v-slot:footer> | 
|---|
|  |  |  | <el-button type="primary"  :loading="isWorking.export" @click="exportComFilesDo">企业证件</el-button> | 
|---|
|  |  |  | <el-button type="primary"  :loading="isWorking.export" @click="exportDetail">导出详单</el-button> | 
|---|
|  |  |  | 
|---|
|  |  |  | import GlobalWindow from '@/components/common/GlobalWindow' | 
|---|
|  |  |  | import {getChangeDetailList, exportChangeUnitExcel} from "@/api/business/insuranceApply"; | 
|---|
|  |  |  | import {exportComFiles} from "@/api/business/company"; | 
|---|
|  |  |  | import {check} from "@/api/business/applyChange"; | 
|---|
|  |  |  | // import {all as solutionAll} from "@/api/business/solutions"; | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | name: 'ApplyChangeUnitDetails', | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | open(title,target,target2){ | 
|---|
|  |  |  | open(title,target,target2,target3){ | 
|---|
|  |  |  | this.title=title | 
|---|
|  |  |  | this.visible=true | 
|---|
|  |  |  | this.apply = target | 
|---|
|  |  |  | this.model = target2 | 
|---|
|  |  |  | this.form.id=target.id | 
|---|
|  |  |  | this.type=target3 | 
|---|
|  |  |  | this.form.id=target2.id | 
|---|
|  |  |  | this.getDetailListDo() | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | check (type) { | 
|---|
|  |  |  | this.form.dealBackApply = type | 
|---|
|  |  |  | this.$dialog.messageConfirm('确认进行该操作吗?') | 
|---|
|  |  |  | .then(() => { | 
|---|
|  |  |  | this.isWorking = true | 
|---|
|  |  |  | check(this.form) | 
|---|
|  |  |  | .then(response => { | 
|---|
|  |  |  | this.visible = false | 
|---|
|  |  |  | this.$emit('success') | 
|---|
|  |  |  | }).catch(err => { | 
|---|
|  |  |  | this.$tip.apiFailed(err) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .catch(() => { | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getDetailListDo() { | 
|---|
|  |  |  | this.detailList = [] | 
|---|
|  |  |  | var that = this | 
|---|
|  |  |  | 
|---|
|  |  |  | border-bottom: 1px solid #b4bbc5; | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | &:nth-child(4) { | 
|---|
|  |  |  | flex: 1.5;; | 
|---|
|  |  |  | flex: 1.5; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | &:nth-child(6) { | 
|---|
|  |  |  | flex: 1.5;; | 
|---|
|  |  |  | flex: 1.5; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | &:nth-child(8) { | 
|---|
|  |  |  | flex: 1.5;; | 
|---|
|  |  |  | flex: 1.5; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .box_table_head_item5 { | 
|---|
|  |  |  | 
|---|
|  |  |  | border-right: 1px solid #b4bbc5; | 
|---|
|  |  |  | border-bottom: 1px solid #b4bbc5; | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | &:nth-child(1) { | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | &:nth-child(2) { | 
|---|
|  |  |  | flex: 5; | 
|---|
|  |  |  | flex: 8.5; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .box_form_item { | 
|---|