From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交

---
 company/src/components/business/OperaInsuranceApplyCheckWindow.vue |   27 +++++++++++++++++++++++----
 1 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
index 340da3e..c0eb2dd 100644
--- a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
@@ -6,7 +6,7 @@
         :confirm-working="isWorking"
         @confirm="confirm"
     >
-        <!--    閫�鍥炴姇淇�    -->
+        <!--    閫�鍥炵敵璇�    -->
         <el-form v-if="visible1==true" :model="form" ref="form1" :rules="rules1" style="width: 100%;">
           <el-form-item label="濉啓閫�鍥炶鏄庯細" prop="backCheckInfo">
             <el-input type="textarea" v-model="form.backCheckInfo" placeholder="璇疯緭鍏�" v-trim/>
@@ -84,6 +84,7 @@
   uploadToubaodan,
   check
 } from "@/api/business/insuranceApply";
+import { uploadBXD } from "@/api/business/unionApply";
 import UploadFile from "@/components/common/UploadFile";
 import {remark} from "@/api/business/settleClaims";
 export default {
@@ -155,6 +156,7 @@
       visible4: false,
       visible5: false,
       visible6: false,
+      type: null
     }
   },
   created () {
@@ -167,8 +169,9 @@
     dele2() {
       this.form.toubaodanFile = ''
     },
-     open(title,target,flag){
+     open(title,target,flag,type){
        this.visible=true
+       this.type = type
        this.model={}
        this.form= {
          id: null,
@@ -242,7 +245,11 @@
           if (!valid) {
             return
           }
-          this.uploadBaoxiandan()
+          if (!this.type) {
+            this.uploadBaoxiandan()
+          } else if (this.type === 1) {
+            this.uploadBaoxiandan1()
+          }
         })
       } else if (this.flag == 4) {
         this.$refs.form4.validate((valid) => {
@@ -337,7 +344,19 @@
                   this.$tip.apiFailed(err)
                 })
           })
-
+    },
+    uploadBaoxiandan1(){
+      this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
+        .then(() => {
+          this.isWorking = true
+          uploadBXD({id:this.model.id,startTime:this.form.startTime,code:this.form.code,baoxiandanFile:this.form.baoxianFile})
+            .then(response => {
+              this.visible = false
+              this.$emit('success')
+            }).catch(err => {
+            this.$tip.apiFailed(err)
+          })
+        })
     },
     editBaoxiandan(){
       this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')

--
Gitblit v1.9.3