| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="insureNum" label="投保人数"></el-table-column> |
| | | <el-table-column prop="guaranteeNum" label="在保人数"></el-table-column> |
| | | <el-table-column label="投保时长(天)"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : row.serviceDays - row.loseEfficacyDays}}</span> |
| | |
| | | </pagination> |
| | | </template> |
| | | <!-- 新增投保 --> |
| | | <OperaInsuranceApplyWindow ref="OperaInsuranceApplyWindow" @success="handlePageChange" /> |
| | | <OperaInsuranceApplyWindow ref="OperaInsuranceApplyWindow" @success="result" /> |
| | | <!-- 投保详情 --> |
| | | <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" /> |
| | | <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" /> |
| | |
| | | <renewalInsurance ref="renewalInsurance" @success="handlePageChange" /> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | | import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow' |
| | | import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow' |
| | | import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication' |
| | | import renewalInsurance from '@/components/enterprise/renewalInsurance' |
| | |
| | | this.$refs.OperaInsuranceApplyDetails.open('投保详情', { id: row.id }) |
| | | } |
| | | }, |
| | | result(flag,param){ |
| | | console.log(flag,param) |
| | | if(param && param.godetail && param.id){ |
| | | if (param.type == 1) { |
| | | this.$refs.OperaWtbApplyShopWindow.open('委托投保详情', { id: param.id }) |
| | | } else { |
| | | this.$refs.OperaInsuranceApplyDetails.open('投保详情', { id: param.id }) |
| | | } |
| | | } |
| | | this.handlePageChange() |
| | | }, |
| | | see () { |
| | | this.searchForm.statusCollect = '7' |
| | | this.search() |