| | |
| | | <span>{{scope.$index + 1}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="statusInfo" align="center" fixed label="状态"> |
| | | <el-table-column prop="statusInfo" align="center" fixed label="状态"> |
| | | <template slot-scope="{row}"> |
| | | <span :class="'apply-status'+row.status" >{{row.statusInfo}}</span> |
| | | <span style="color: #666;" v-if="[9,25,27,5].includes(row.status) && ['已关闭','已过期'].includes(row.statusInfo)">{{row.statusInfo}}</span> |
| | | <span style="color: red;" v-else-if="row.status === 4 && row.statusInfo === '已退回'">{{ row.statusInfo}}</span> |
| | | <span style="color: #f95601;" v-else-if="[5,27].includes(row.status) && row.statusInfo === '待生效'">{{ row.statusInfo}}</span> |
| | | <span style="color: #216EEE;" v-else-if="[12].includes(row.status) && row.statusInfo === '待审核'">{{ row.statusInfo}}</span> |
| | | <span :class="'apply-status'+row.status" v-else>{{row.statusInfo}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="companyName" v-if="userInfo.type === 0" fixed label="企业名称" align="center" min-width="150"></el-table-column> |
| | | <el-table-column prop="solutionsName" fixed label="保险方案" align="center" min-width="150"></el-table-column> |
| | | <el-table-column label="类型" fixed align="center"> |
| | | <template slot-scope="{row}"> |
| | |
| | | import OperaInsuranceApplyWindow from '@/components/business/OperaInsuranceApplyWindow' |
| | | import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow' |
| | | import chooseCompany from '@/components/common/chooseCompany' |
| | | import { mapState } from 'vuex' |
| | | export default { |
| | | name: 'InsuranceApply', |
| | | extends: BaseTable, |
| | |
| | | status: [ |
| | | { label: '待审核', id: '0' }, |
| | | { label: '待出单', id: '1' }, |
| | | { label: '投保中', id: '26' }, |
| | | { label: '待签署', id: '7' }, |
| | | { label: '待生效', id: '2,0' }, |
| | | { label: '保障中', id: '2,1' }, |
| | |
| | | { label: '已关闭', id: '6' }, |
| | | ] |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(['userInfo']) |
| | | }, |
| | | created () { |
| | | this.config({ |
| | |
| | | this.searchForm.timeOut = e.split(',')[1] |
| | | this.searchForm.statusCollect = e.split(',')[0] |
| | | } else { |
| | | this.searchForm.timeOut = '' |
| | | this.searchForm.statusCollect = e |
| | | } |
| | | this.search() |
| | |
| | | reset () { |
| | | this.$refs.searchForm.resetFields() |
| | | this.statusCollect = '' |
| | | this.searchForm.statusCollect = '' |
| | | this.searchForm.timeOut = '' |
| | | this.searchForm.statusCollect = '' |
| | | this.searchForm.createTimeS = '' |
| | | this.searchForm.createTimeE = '' |
| | | this.search() |