From f6b0e262db2af5ca2e5ed76f95e746c1dd3c58e3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 二月 2024 15:17:47 +0800
Subject: [PATCH] 开发业务接口

---
 company/src/components/business/OperaInsuranceApplyCheckWindow.vue |   38 ++++++++++++++++++++++----------------
 1 files changed, 22 insertions(+), 16 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
index 3117104..8c6e041 100644
--- a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
@@ -130,7 +130,7 @@
 } from "@/api/business/insuranceApply";
 import UploadFile from "@/components/common/UploadFile";
 export default {
-  name: 'OperaInsuranceApplyCheckWindow',
+  name: 'OperaChangeApplyCheckWindow',
   extends: BaseOpera,
   components: {UploadFile, GlobalWindow },
   data () {
@@ -160,6 +160,7 @@
       visible3: false,
       visible4: false,
       visible5: false,
+      visible6: false,
     }
   },
   created () {
@@ -171,6 +172,24 @@
   methods: {
      open(title,target,flag){
        this.visible=true
+       this.model={}
+       this.form= {
+         id: null,
+         backCheckInfo:'',
+         dealBackInfo:'',
+         editCheckInfo:'',
+         editDate: '',
+         editCode: '',
+         startTime:null,
+         code:null,
+         toubaodanFile:null,
+         baoxianFile:null,
+         editBaoxianFile:null,
+         fileList: [],
+         fileList1: [],
+         fileList2: [],
+         selectRadio:0
+       },
        this.model=target
        this.form.startTime=this.model.startTime
        this.title=title
@@ -274,7 +293,7 @@
       this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
           .then(() => {
             this.isWorking = true
-            uploadBaoxiandan({id:this.model.id,startTime:this.form.startTime,checkInfo:this.form.backCheckInfo,code:this.form.code,baoxiandanFile:this.form.baoxianFile})
+            uploadBaoxiandan({id:this.model.id,startTime:this.form.startTime,code:this.form.code,baoxiandanFile:this.form.baoxianFile})
                 .then(response => {
                   this.visible = false
                   this.$emit('success')
@@ -288,20 +307,7 @@
       this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
           .then(() => {
             this.isWorking = true
-            editBaoxiandan({id:this.model.id, checkInfo:this.form.backCheckInfo,code:this.form.editCode,baoxiandanFile:this.form.editBaoxianFile})
-                .then(response => {
-                  this.visible = false
-                  this.$emit('success')
-                }).catch(err => {
-                  this.$tip.apiFailed(err)
-                })
-          })
-    },
-    backeditBaoxiandan(){
-      this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
-          .then(() => {
-            this.isWorking = true
-            editBaoxiandan({id:this.model.id,checkInfo:this.form.backCheckInfo})
+            editBaoxiandan({id:this.model.id, checkInfo:this.form.editCheckInfo,code:this.form.editCode,baoxiandanFile:this.form.editBaoxianFile})
                 .then(response => {
                   this.visible = false
                   this.$emit('success')

--
Gitblit v1.9.3