From 3a5fbcae78f6d395468826ce5dbcf6b4643aec7e Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期三, 03 四月 2024 18:02:58 +0800
Subject: [PATCH] 提交一把
---
company/src/components/business/ApplyChangeUnitDetails.vue | 36 ++++++++++++++++++++++++++++++------
1 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/company/src/components/business/ApplyChangeUnitDetails.vue b/company/src/components/business/ApplyChangeUnitDetails.vue
index f1c9dd1..68195e5 100644
--- a/company/src/components/business/ApplyChangeUnitDetails.vue
+++ b/company/src/components/business/ApplyChangeUnitDetails.vue
@@ -66,6 +66,9 @@
<!-- <el-button type="danger" :loading="isWorking.export" @click="check(1)">瀹℃牳涓嶉�氳繃</el-button>-->
<el-button @click="visible=false">鍙栨秷</el-button>
</template>
+ <template v-else-if="type==1" v-slot:footer>
+ <el-button @click="visible=false">杩斿洖</el-button>
+ </template>
<template v-else v-slot:footer>
<el-button type="primary" :loading="isWorking.export" @click="exportComFilesDo">浼佷笟璇佷欢</el-button>
<el-button type="primary" :loading="isWorking.export" @click="exportDetail">瀵煎嚭璇﹀崟</el-button>
@@ -79,6 +82,7 @@
import GlobalWindow from '@/components/common/GlobalWindow'
import {getChangeDetailList, exportChangeUnitExcel} from "@/api/business/insuranceApply";
import {exportComFiles} from "@/api/business/company";
+ import {check} from "@/api/business/applyChange";
// import {all as solutionAll} from "@/api/business/solutions";
export default {
name: 'ApplyChangeUnitDetails',
@@ -110,14 +114,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.type=target3
+ this.form.id=target2.id
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
@@ -265,13 +286,13 @@
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
&:nth-child(4) {
- flex: 1.5;;
+ flex: 1.5;
}
&:nth-child(6) {
- flex: 1.5;;
+ flex: 1.5;
}
&:nth-child(8) {
- flex: 1.5;;
+ flex: 1.5;
}
}
.box_table_head_item5 {
@@ -286,8 +307,11 @@
border-right: 1px solid #b4bbc5;
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
+ &:nth-child(1) {
+ flex: 1;
+ }
&:nth-child(2) {
- flex: 5;
+ flex: 8.5;
}
}
.box_form_item {
--
Gitblit v1.9.3