| | |
| | | <TableLayout :permissions="['business:insuranceapply:query']"> |
| | | <!-- 搜索表单 --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> |
| | | <el-form-item label="保单状态" prop="status"> |
| | | <el-form-item label="保单状态" prop="status" > |
| | | <el-select v-model="searchForm.status" placeholder="请选择" clearable @keypress.enter.native="search"> |
| | | <el-option label="待审核" value="0"></el-option> |
| | | <el-option label="待签署" value="1"></el-option> |
| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:insurance:create']"> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:insurance:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('委托投保申请')" v-permissions="['business:insurance:create']">提交申请</el-button></li> |
| | | </ul> |
| | | <el-table |
| | |
| | | min-width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}" > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" icon="el-icon-edit" @click="$refs.detailsEntrustedInsurance.open('委托投保详情', row)" v-permissions="['business:insuranceapply:update']">查看详情</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | import { all as solutionAll } from '@/api/business/solutions' |
| | | import OpearaUnionApply from '@/components/business/OpearaUnionApply' |
| | | import detailsEntrustedInsurance from '@/components/business/detailsEntrustedInsurance' |
| | | import {mapState} from "vuex"; |
| | | export default { |
| | | name: 'unionApply', |
| | | extends: BaseTable, |
| | |
| | | this.search() |
| | | this.loadSelectList() |
| | | }, |
| | | computed: { |
| | | ...mapState(['userInfo']) |
| | | }, |
| | | methods:{ |
| | | // 搜索框重置 |
| | | reset () { |