k94314517
2024-04-09 02bc3bfe47e3d5311a0bb041c94e70a34b1ca73c
company/src/components/business/InsuranceDetails.vue
@@ -10,32 +10,6 @@
          <div class="top">
            {{title}}
          </div>
<!--            <div class="box_header">
                <div class="box_header_item">
                    <div class="box_header_item_label">投保企业</div>
                    <div class="box_header_item_val">{{ model.companyName }}</div>
                </div>
                <div class="box_header_item">
                    <div class="box_header_item_label">保险方案</div>
                    <div class="box_header_item_val">{{ model.solutionsName }}</div>
                </div>
                <div class="box_header_item">
                    <div class="box_header_item_label">保险生效起期</div>
                    <div class="box_header_item_val">{{ model.startTime }}</div>
                </div>
                <div class="box_header_item">
                    <div class="box_header_item_label">保险生效止期</div>
                    <div class="box_header_item_val">{{model.endTime}}</div>
                </div>
                <div class="box_header_item">
                    <div class="box_header_item_label">投保人数</div>
                    <div class="box_header_item_val">{{ model.insureNum }}</div>
                </div>
                <div class="box_header_item">
                    <div class="box_header_item_label">总费用(元)</div>
                    <div class="box_header_item_val">{{model.fee}}</div>
                </div>
            </div>-->
          <div class="box_table">
            <div class="box_table_head">
              <div class="box_table_head_item">投保企业</div>
@@ -51,7 +25,7 @@
              <div class="box_table_content_item box_table_content_header">{{ model.startTime }}</div>
              <div class="box_table_content_item box_table_content_header">{{ model.endTime }}</div>
              <div class="box_table_content_item box_table_content_header">{{ model.insureNum }}</div>
              <div class="box_table_content_item box_table_content_header">{{model.fee}}</div>
              <div class="box_table_content_item box_table_content_header">{{model.fee!=null?model.fee:'-'}}</div>
            </div>
          </div>
            <div class="box_table">
@@ -86,11 +60,15 @@
<!--            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">审核不通过</el-button>-->
            <el-button @click="visible=false">取消</el-button>
        </template>
        <template v-else-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>
            <el-button @click="visible=false">取消</el-button>
        </template>
      </div>
    </GlobalWindow>
</template>
@@ -118,7 +96,7 @@
                // 验证规则
                rules: {
                },
                reverse: true,
                reverse: false,
                tableData: []
            }
        },
@@ -135,6 +113,7 @@
              this.model = target
              this.type=type
              this.form.id=target.id
              this.form.checkInfo=''
              this.getDetailListDo()
            },
           getDetailListDo(){
@@ -172,7 +151,9 @@
                      .then(response => {
                        this.visible = false
                        this.$emit('success')
                      })
                      }).catch(err => {
                    this.$tip.apiFailed(err)
                  })
                })
                .catch(() => {
                })
@@ -189,9 +170,6 @@
                      .catch(e => {
                        console.log(e)
                        this.$message.error('数据下载失败!')
                      })
                      .finally(() => {
                        this.isWorking = false
                      })
                })
                .catch(() => {