From a68bf12a2975405f57f9a9d51b91c13a93c026f0 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 31 一月 2024 21:01:36 +0800 Subject: [PATCH] Mr.Shi --- company/src/components/business/OperaInsuranceApplyCheckWindow.vue | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/company/src/components/business/OperaInsuranceApplyCheckWindow.vue b/company/src/components/business/OperaInsuranceApplyCheckWindow.vue index 82a670f..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 () { @@ -293,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') @@ -307,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