MrShi
2024-11-04 b6fde711bf33cede4cb84f85146c32b0c0c61aa5
company/src/components/business/detailsEntrustedInsurance.vue
@@ -22,7 +22,7 @@
              <el-button v-if="[2,3,4].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button>
              <el-button v-if="[2].includes(model.status) " type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
              <el-button v-if="model.status == 3" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
              <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回投保',model,1)">退回申请</el-button>
              <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
            </template>
            <template v-if="userInfo.type ===0">
              <el-button type="primary"   @click="$refs.InsuranceDetails.open('导出详单',model,0)">导出详单</el-button>
@@ -50,33 +50,49 @@
            <el-table-column
                prop="startTime"
                align="center"
                label="保险生效起期">
                :label="getUnionApplyTimeTitle(1,model)">
            </el-table-column>
            <el-table-column
                prop="endTime"
                align="center"
                label="保险生效止期">
                :label="getUnionApplyTimeTitle(0,model)">
            </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="在保人数" ></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="serviceDays"
                align="center"
                label="保单时长(天)">
                label="保单时长">
              <template slot-scope="{row}">
                <span>{{row.serviceDays||0}} 天</span>
              </template>
            </el-table-column>
            <el-table-column
                prop="currentFee"
                align="center"
                label="已产生费用(元)">
                label="已产生费用">
              <template slot-scope="{row}">
                <span>{{row.currentFee!=null?row.currentFee+' 元': '-'}}</span>
              </template>
            </el-table-column>
            <el-table-column
                prop="fee"
                align="center"
                label="总费用(元)">
                label="总费用">
              <template slot-scope="{row}">
                <span>{{row.fee!=null?row.fee+' 元': '-'}}</span>
              </template>
            </el-table-column>
          </el-table>
        </div>
@@ -158,7 +174,7 @@
                label="性别">
              <template slot-scope="{row}">
                <span v-if="row.sex === 0">男</span>
                <span v-else>女</span>
                <span  v-if="row.sex === 1">女</span>
              </template>
            </el-table-column>
            <el-table-column
@@ -189,13 +205,13 @@
                :key="Math.random()"
                prop="startTime"
                align="center"
                label="保险生效起期">
                :label="getUnionApplyTimeTitle(1,model)">
            </el-table-column>
            <el-table-column
                :key="Math.random()"
                prop="endTime"
                align="center"
                label="保险生效止期">
                :label="getUnionApplyTimeTitle(0,model)">
            </el-table-column>
            <el-table-column
                :key="Math.random()"
@@ -603,7 +619,7 @@
        this.num = this.num - 1
      }, 1000)
    },
    // 关闭订单
    // 关闭申请
    closeOrder () {
      this.$confirm('确认关闭此订单吗?', '提示', {
        confirmButtonText: '确定',