From f63e0073e96abe1e52d74749f408e3f542600a09 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期三, 03 四月 2024 13:27:12 +0800
Subject: [PATCH] 提交一把
---
company/src/components/business/ApplyChangeDetails.vue | 25 +++++++++++++++++++++----
1 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/company/src/components/business/ApplyChangeDetails.vue b/company/src/components/business/ApplyChangeDetails.vue
index ada8485..be7d96c 100644
--- a/company/src/components/business/ApplyChangeDetails.vue
+++ b/company/src/components/business/ApplyChangeDetails.vue
@@ -92,8 +92,8 @@
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
import {getChangeDetailList, exportJiajianBaoExcel} from "@/api/business/insuranceApply";
+ import {check } from "@/api/business/applyChange";
import {exportComFiles} from "@/api/business/company";
- // import {all as solutionAll} from "@/api/business/solutions";
export default {
name: 'ApplyChangeDetails',
extends: BaseOpera,
@@ -124,14 +124,31 @@
})
},
methods: {
- open(title,target,target2){
+ open(title,target,target2,target3){
this.title=title
this.visible=true
this.apply = target
this.model = target2
- this.form.id=target.id
+ this.form.id=target2.id
+ this.type=target3
this.getDetailListDo()
},
+ check (type) {
+ this.form.dealBackApply = type
+ this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
+ .then(() => {
+ this.isWorking = true
+ check(this.form)
+ .then(response => {
+ this.visible = false
+ this.$emit('success')
+ }).catch(err => {
+ this.$tip.apiFailed(err)
+ })
+ })
+ .catch(() => {
+ })
+ },
getDetailListDo() {
this.detailList = []
var that = this
@@ -316,7 +333,7 @@
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
&:nth-child(2) {
- flex: 5;
+ flex: 5.5;
}
}
.box_form_item {
--
Gitblit v1.9.3