| | |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="timeOut"> |
| | | <el-select v-model="searchForm.timeOut" placeholder="请选择" @change="search"> |
| | | <el-option label="未开始" value="0"></el-option> |
| | | <el-option label="待生效" value="0"></el-option> |
| | | <el-option label="保障中" value="1"></el-option> |
| | | <el-option label="已过期" value="2"></el-option> |
| | | </el-select> |
| | |
| | | <el-button type="text" @click="godetail(row)" v-permissions="['business:insuranceapply:update']">查看详情</el-button> |
| | | <!-- <el-button type="text" @click="$refs.OperaApplyChangeMonthWindow.open('加减保月度费用统计',row)" v-permissions="['business:applychange:query']">加减保费用</el-button> |
| | | <template v-if="row.statusCollect === 2">--> |
| | | <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })">加减保申请</el-button> |
| | | <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })" v-if="isShow(row.status, row.endTime)">加减保申请</el-button> |
| | | <!-- </template>--> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | this.getNum() |
| | | }, |
| | | methods: { |
| | | // 判断是否显示加减保 |
| | | isShow(status, endTime) { |
| | | const currentDate = new Date(); |
| | | const specifiedDate = new Date(endTime); |
| | | return [5,27].includes(status) && (currentDate < specifiedDate); |
| | | }, |
| | | godetail (row) { |
| | | if (row.solutionType == 1) { |
| | | this.$refs.OperaWtbApplyShopWindow.open('委托投保详情', { id: row.id }) |