MrShi
2024-11-13 b496da6315314d9bd048ac2214d8bc95d2f1df02
company/src/views/enterprise/insuranceApply.vue
@@ -16,7 +16,7 @@
                </el-select>
            </el-form-item>
            <el-form-item label="保险方案" prop="baseSolutionId">
                <el-select v-model="searchForm.baseSolutionId" placeholder="请选择" @change="search">
                <el-select v-model="searchForm.baseSolutionId" filterable placeholder="请选择" @change="search">
                    <el-option
                        v-for="item in solutionList"
                        :key="item.baseId"
@@ -73,26 +73,31 @@
                <span>{{row.code ? row.code : '-'}}</span>
              </template>
            </el-table-column>
            <el-table-column prop="insureNum" align="center" label="投保人数"  >
              <template slot-scope="{row}">
                <span>{{(row.insureNum||0)}} 人</span>
              </template>
            </el-table-column>
            <el-table-column prop="guaranteeNum"  align="center" label="在保人数"  >
              <template slot-scope="{row}">
                <span>{{(row.guaranteeNum||0)}} 人</span>
              </template>
            </el-table-column>
<!--            <el-table-column prop="insureNum" align="center" label="投保人数"  >-->
<!--              <template slot-scope="{row}">-->
<!--                <span>{{(row.insureNum||0)}} 人</span>-->
<!--              </template>-->
<!--            </el-table-column>-->
              <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                  <template slot-scope="{row}">
                      <span>{{(row.guaranteeNum||0)}} 人</span>
                  </template>
              </el-table-column>
            <el-table-column label="投保时长">
              <template slot-scope="{row}">
                <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : (row.serviceDays - row.loseEfficacyDays+'天')}}</span>
              </template>
            </el-table-column>
            <el-table-column prop="currentFee" label="已产生费用"  align="center">
              <template slot-scope="{row}">
                <span>{{row.currentFee!=null?row.currentFee+' 元': '-'}}</span>
              </template>
            </el-table-column>
<!--            <el-table-column prop="currentFee" label="已产生费用"  align="center">-->
<!--              <template slot-scope="{row}">-->
<!--                <span>{{row.currentFee!=null?row.currentFee+' 元': '-'}}</span>-->
<!--              </template>-->
<!--            </el-table-column>-->
              <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                  <template slot-scope="{row}">
                      <span>{{row.changeMoney+' 元'}}</span>
                  </template>
              </el-table-column>
            <el-table-column prop="fee" label="总费用"  align="center">
              <template slot-scope="{row}">
                <span>{{row.fee!=null?row.fee+' 元': '-'}}</span>
@@ -110,8 +115,8 @@
            >
              <template slot-scope="{row}">
                <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.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>-->
                <!--                        </template>-->
              </template>
@@ -126,7 +131,9 @@
        </template>
        <!--    新增投保    -->
        <OperaInsuranceApplyAddWindow ref="OperaInsuranceApplyAddWindow" @success="result" />
<!--
        <OperaApplyChangeMonthWindow ref="OperaApplyChangeMonthWindow" @success="handlePageChange" />
-->
        <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" />
        <!--    投保详情    -->
        <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" />
@@ -145,7 +152,9 @@
export default {
  name: 'InsuranceApply',
  extends: BaseTable,
  components: { TableLayout, Pagination,OperaApplyChangeMonthWindow, OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow },
  components: { TableLayout, Pagination,
    // OperaApplyChangeMonthWindow,
    OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow },
  data () {
    return {
      // 搜索