k94314517
2024-04-03 5725e0d4bcbc3aa721c1672f43d3e5fa6f06bb2b
company/src/components/business/InsuranceDetails.vue
@@ -86,6 +86,9 @@
<!--            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">审核不通过</el-button>-->
            <el-button @click="visible=false">取消</el-button>
        </template>
        <template v-if="type==2" v-slot:footer>
            <el-button @click="visible=false">返回</el-button>
        </template>
        <template v-else v-slot:footer>
            <el-button type="primary"  :loading="isWorking.export" @click="exportComFilesDo">企业证件</el-button>
            <el-button type="primary"  :loading="isWorking.export" @click="exportDetail">导出详单</el-button>
@@ -118,7 +121,7 @@
                // 验证规则
                rules: {
                },
                reverse: true,
                reverse: false,
                tableData: []
            }
        },
@@ -135,6 +138,7 @@
              this.model = target
              this.type=type
              this.form.id=target.id
              this.form.checkInfo=''
              this.getDetailListDo()
            },
           getDetailListDo(){
@@ -172,7 +176,9 @@
                      .then(response => {
                        this.visible = false
                        this.$emit('success')
                      })
                      }).catch(err => {
                    this.$tip.apiFailed(err)
                  })
                })
                .catch(() => {
                })
@@ -189,9 +195,6 @@
                      .catch(e => {
                        console.log(e)
                        this.$message.error('数据下载失败!')
                      })
                      .finally(() => {
                        this.isWorking = false
                      })
                })
                .catch(() => {