MrShi
2024-11-04 b6fde711bf33cede4cb84f85146c32b0c0c61aa5
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -31,7 +31,7 @@
                        <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
                        <el-button v-if="model.status == 4" type="primary" @click="$refs.operaInsuranceApplyAddWindow.open('投保申请', {id: dataId})">再次投保</el-button>
                        <el-button v-if="[0, 2, 3, 10].includes(model.status)" type="danger" @click="$refs.applyReturn.open('申请退回', {id: dataId})">申请退回</el-button>
                        <el-button v-if="model.status == 4" type="primary" @click="closeOrder">关闭订单</el-button>
                        <el-button v-if="model.status == 4" type="primary" @click="closeOrder">关闭申请</el-button>
                      </template>
                    <template v-else>
                      <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button>
@@ -41,7 +41,7 @@
                      <el-button v-if="model.status == 3 && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
                      <el-button  v-if="[6,7,8,11].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('驳回退回申请',model,5)">驳回退回申请</el-button>
                      <el-button v-if="model.status == 0 && model.solutionType ==0" type="primary" @click="$refs.InsuranceDetails.open('投保审核',model,1)">投保审核</el-button>
                      <el-button v-if="![1,4,,5].includes(model.status) && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('退回投保',model,1)">退回投保</el-button>
                      <el-button v-if="![1,4,,5].includes(model.status) && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
                      <el-button v-if="model.status == 5  && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('修改保险单',model,4)">修改保险单</el-button>
                    </template>
                  </div>
@@ -195,6 +195,8 @@
                            <el-button type="primary" style="width: 80px;" @click="search">查询</el-button>
                            <el-button @click="resetting" style="width: 80px;">重置</el-button>
                            <el-button type="primary" style="width: 80px;" @click="exportExcel" v-if="activeName === '0'">导出名单</el-button>
                          <el-button type="primary" style="width: 100px;" @click="$refs.OperaApplyChangeMonthWindow.open('加减保费用月度统计',model)" v-if="activeName === '1'">费用统计查询</el-button>
                        </el-form-item>
                    </el-form>
                </div>
@@ -308,13 +310,19 @@
                            :key="Math.random()"
                            prop="addNum"
                            align="center"
                            label="增加人数(人)">
                            label="增加人数">
                          <template scope="{row}">
                            {{row.addNum||0}} 人
                          </template>
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
                            prop="delNum"
                            align="center"
                            label="减少人数(人)">
                            label="减少人数 ">
                          <template scope="{row}">
                            {{row.delNum||0}} 人
                          </template>
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
@@ -338,7 +346,10 @@
                            :key="Math.random()"
                            prop="fee"
                            align="center"
                            label="费用变更(元)">
                            label="费用变更">
                          <template scope="{row}">
                            {{row.fee||0}}元
                          </template>
                        </el-table-column>
                      <el-table-column
                          :key="Math.random()"
@@ -391,6 +402,9 @@
                            prop="changeNum"
                            align="center"
                            label="更换派遣单位人数">
                          <template scope="{row}">
                            {{row.changeNum||0}} 人
                          </template>
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
@@ -468,6 +482,7 @@
        <!--    验证手机号    -->
        <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
        <OperaApplyChangeMonthWindow ref="OperaApplyChangeMonthWindow" />
        <template v-slot:footer>
            <el-button @click="visible=false">返回</el-button>
        </template>
@@ -483,6 +498,7 @@
import factoryChange from '@/components/enterprise/factoryChange'
import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import OperaApplyChangeMonthWindow from '@/components/business/OperaApplyChangeMonthWindow'
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
import applyReturn from '@/components/enterprise/applyReturn'
@@ -504,6 +520,7 @@
    applyReturn,
    additionSubtractionApplication,
    factoryChange,
    OperaApplyChangeMonthWindow,
    OperaApplyChangeDetailWindow,
    OperaApplyChangeUnitDetailWindow,
    OperaInsuranceApplyAddWindow,
@@ -598,7 +615,7 @@
    goYjxb(){
      this.$refs.operaInsuranceApplyAddWindow.open('续保', {id: this.dataId,type: 1 })
    },
    // 关闭订单
    // 关闭申请
    closeOrder () {
      this.$confirm('确认关闭此订单吗?', '提示', {
        confirmButtonText: '确定',