| | |
| | | <el-form-item label="提交日期" prop="createDate"> |
| | | <el-date-picker |
| | | v-model="searchForm.createDate" |
| | | @change="search" |
| | | @change="changeTime" |
| | | type="daterange" |
| | | range-separator="至" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:dispatchunit:create']"> |
| | | <li><el-button type="primary" @click="$refs.OperaInsuranceApplyWindow.open('投保申请', {type: ''})">投保申请</el-button></li> |
| | | <li><el-button type="primary" @click="$refs.OperaInsuranceApplyAddWindow.open('投保申请', {type: ''})">投保申请</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | |
| | | <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : row.serviceDays - row.loseEfficacyDays}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="fee" label="总费用(元)"></el-table-column> |
| | | <el-table-column prop="checkDate" label="提交日期"></el-table-column> |
| | | <el-table-column prop="currentFee" label="已产生费用"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{row.currentFee!=null?row.currentFee: '-'}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="fee" label="总费用(元)"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{row.fee!=null?row.fee: '-'}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createDate" label="提交日期"></el-table-column> |
| | | <el-table-column prop="startTime" label="投保生效日期"></el-table-column> |
| | | <el-table-column prop="endTime" label="投保失效日期"></el-table-column> |
| | | <el-table-column |
| | |
| | | </pagination> |
| | | </template> |
| | | <!-- 新增投保 --> |
| | | <OperaInsuranceApplyWindow ref="OperaInsuranceApplyWindow" @success="handlePageChange" /> |
| | | <OperaInsuranceApplyAddWindow ref="OperaInsuranceApplyAddWindow" @success="handlePageChange" /> |
| | | <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" /> |
| | | <!-- 投保详情 --> |
| | | <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" /> |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | | import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow' |
| | | import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow' |
| | | import OperaWtbApplyShopWindow from '@/components/business/OperaWtbApplyShopWindow' |
| | | |
| | |
| | | export default { |
| | | name: 'InsuranceApply', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination, OperaInsuranceApplyWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow }, |
| | | components: { TableLayout, Pagination, OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow }, |
| | | data () { |
| | | return { |
| | | // 搜索 |
| | |
| | | this.loadSelectList() |
| | | }, |
| | | methods: { |
| | | reset() { |
| | | this.searchForm.createTimeS = '' |
| | | this.searchForm.createTimeE = '' |
| | | this.$refs.searchForm.resetFields() |
| | | this.search() |
| | | }, |
| | | godetail (row) { |
| | | if (row.solutionType == 1) { |
| | | this.$refs.OperaWtbApplyShopWindow.open('委托投保详情', { id: row.id }) |
| | |
| | | solutionAll({ dataType: 2 }).then(res => { |
| | | this.solutionList = res |
| | | }) |
| | | }, |
| | | changeTime (e) { |
| | | this.searchForm.createTimeS = e[0] |
| | | this.searchForm.createTimeE = e[1] |
| | | this.search() |
| | | } |
| | | } |
| | | } |