From 50fb58286ed3b718c39a97e0987ee7561a295651 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 04 七月 2025 17:56:41 +0800
Subject: [PATCH] git ch
---
company/src/components/business/OperaInsuranceApplyCheckWindow.vue | 34 ++++++++++++++++++++++++++++------
1 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue
index cd00036..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/>
@@ -14,7 +14,7 @@
</el-form>
<el-form v-if="visible2==true" :model="form" ref="form2" :rules="rules2" style="width: 100%;">
<el-form-item label="涓婁紶鎶曚繚鍗曪細" prop="toubaodanFile">
- <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" />
+ <UploadFile @remove="dele2" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" />
</el-form-item>
</el-form>
<!-- 涓婁紶淇濋櫓鍗� -->
@@ -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 () {
@@ -164,8 +166,12 @@
})
},
methods: {
- open(title,target,flag){
+ dele2() {
+ this.form.toubaodanFile = ''
+ },
+ open(title,target,flag,type){
this.visible=true
+ this.type = type
this.model={}
this.form= {
id: null,
@@ -239,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) => {
@@ -334,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('纭杩涜璇ユ搷浣滃悧锛�')
@@ -415,7 +437,7 @@
}
.form_item_label {
flex-shrink: 0;
- width: 170px;
+ /*width: 170px;*/
color: black;
font-size: 14px;
span {
--
Gitblit v1.9.3