| | |
| | | <div class="box_table"> |
| | | <div class="box_table_head box_table_content"> |
| | | <div class="box_table_head_item" style=" flex: 1;border-bottom: 0px">被保险人</div> |
| | | <div class="box_table_content_item box_table_content_header" style=" flex: 7;">{{ apply.companyNames }}</div> |
| | | </div> |
| | | <div class="box_table_content_item box_table_content_header" style=" flex: 7;"> |
| | | <p v-for="(item, index) in companyList" :key="index" > |
| | | {{index>0?',':''}} {{ item[1]}} |
| | | </p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="box_table" v-if="addList && addList.length>0"> |
| | | <div class="box_table_head"> |
| | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import {getChangeDetailList, exportJiajianBaoExcel} from "@/api/business/insuranceApply"; |
| | | import {getChangeDetailList} from "@/api/business/insuranceApply"; |
| | | import {check } from "@/api/business/applyChange"; |
| | | import {exportComFiles} from "@/api/business/company"; |
| | | import {exportDetailExcel} from "@/api/business/unionChange"; |
| | | export default { |
| | | name: 'ApplyChangeDetails', |
| | | extends: BaseOpera, |
| | |
| | | type:0, |
| | | delList:[], |
| | | addList:[], |
| | | companyList:new Map(), |
| | | // 表单数据 |
| | | form: { |
| | | id: null, |
| | |
| | | this.addList=[] |
| | | getChangeDetailList({unionChangeId: this.model.id}) |
| | | .then(res => { |
| | | var index =0 |
| | | res.forEach(item1 => { |
| | | this.companyList.set(item1.companyId, item1.companyName) |
| | | if (item1.type == 1) { |
| | | this.delList.push(item1); |
| | | } else { |
| | |
| | | this.$dialog.exportConfirm('确认导出详单吗?') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | exportJiajianBaoExcel({ id: this.model.id }) |
| | | exportDetailExcel({ id: this.model.id }) |
| | | .then(response => { |
| | | this.download(response) |
| | | }) |