From 28382948158f1b48c9ed01229323eda1951b914f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 27 一月 2024 11:43:27 +0800
Subject: [PATCH] 开发业务接口
---
company/src/components/business/InsuranceDetails.vue | 84 +++++++++++++++++++++++++++++------------
1 files changed, 59 insertions(+), 25 deletions(-)
diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index 213a2f9..00dd1c0 100644
--- a/company/src/components/business/InsuranceDetails.vue
+++ b/company/src/components/business/InsuranceDetails.vue
@@ -45,13 +45,13 @@
<div class="box_table_head_item">鎶曚繚浜烘暟</div>
<div class="box_table_head_item">鎬昏垂鐢�(鍏�)</div>
</div>
- <div class="box_table_content" >
- <div class="box_table_content_item">{{ model.companyName }}</div>
- <div class="box_table_content_item">{{ model.solutionsName }}</div>
- <div class="box_table_content_item">{{ model.startTime }}</div>
- <div class="box_table_content_item">{{ model.endTime }}</div>
- <div class="box_table_content_item">{{ model.insureNum }}</div>
- <div class="box_table_content_item">{{model.fee}}</div>
+ <div class="box_table_content " >
+ <div class="box_table_content_item box_table_content_header">{{ model.companyName }}</div>
+ <div class="box_table_content_item box_table_content_header">{{ model.solutionsName }}</div>
+ <div class="box_table_content_item box_table_content_header">{{ model.startTime }}</div>
+ <div class="box_table_content_item box_table_content_header">{{ model.endTime }}</div>
+ <div class="box_table_content_item box_table_content_header">{{ model.insureNum }}</div>
+ <div class="box_table_content_item box_table_content_header">{{model.fee}}</div>
</div>
</div>
<div class="box_table">
@@ -72,21 +72,18 @@
<div class="box_table_content_item">{{item.workTypeName}}</div>
</div>
</div>
- <div class="box_header">
- <div class="box_header_item">
- <div class="box_header_item_label">澶囨敞</div>
- <div class="box_header_item_val">
- <el-form :model="form" ref="form" :rules="rules">
- <el-form-item label="" prop="checkInfo">
- <el-input v-model="form.checkInfo" placeholder="璇疯緭鍏�" v-trim/>
- </el-form-item>
- </el-form></div>
+ <div class="box_table" v-if="type==1" style="border-top: 0px solid #b4bbc5;" >
+ <div class="box_table_head">
+ <div class="box_table_head_item5">澶囨敞</div>
+ <div class="box_table_head_item5">
+ <input v-model="form.checkInfo" style="width: 100%;height: 45px;border: 0px;outline: none;" placeholder="璇疯緭鍏�" v-trim/>
</div>
</div>
+ </div>
</div>
<template v-if="type==1" v-slot:footer>
- <el-button type="primary" :loading="isWorking.export" @click="check(1)">鎻愪氦閫氳繃</el-button>
- <el-button type="danger" :loading="isWorking.export" @click="check(0)">瀹℃牳涓嶉�氳繃</el-button>
+ <el-button type="primary" :loading="isWorking.export" @click="check(0)">鎻愪氦閫氳繃</el-button>
+ <el-button type="danger" :loading="isWorking.export" @click="check(1)">瀹℃牳涓嶉�氳繃</el-button>
<el-button @click="visible=false">鍙栨秷</el-button>
</template>
<template v-else v-slot:footer>
@@ -100,7 +97,7 @@
<script>
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
- import {exportDetailExcel, getDetailList} from "@/api/business/insuranceApply";
+ import {check, exportDetailExcel, getDetailList} from "@/api/business/insuranceApply";
import {exportComFiles} from "@/api/business/company";
// import {all as solutionAll} from "@/api/business/solutions";
export default {
@@ -115,7 +112,8 @@
// 琛ㄥ崟鏁版嵁
form: {
id: null,
- editDate: ''
+ dealBackApply:0,
+ checkInfo: ''
},
// 楠岃瘉瑙勫垯
rules: {
@@ -136,6 +134,7 @@
this.visible=true
this.model = target
this.type=type
+ this.form.id=target.id
this.getDetailListDo()
},
getDetailListDo(){
@@ -158,6 +157,21 @@
})
.finally(() => {
this.isWorking = false
+ })
+ })
+ .catch(() => {
+ })
+
+ },
+ check(type){
+ this.form.dealBackApply = type;
+ this.$dialog.exportConfirm('纭杩涜璇ユ搷浣滃悧锛�')
+ .then(() => {
+ this.isWorking = true
+ check(this.form)
+ .then(response => {
+ this.visible = false
+ this.$emit('success')
})
})
.catch(() => {
@@ -209,7 +223,7 @@
flex-wrap: wrap;
border-top: 1px solid #b4bbc5;
border-left: 1px solid #b4bbc5;
- font-size: 24px;
+ font-size: 14px;
font-weight: bold;
text-align: center;
padding: 15px;
@@ -253,6 +267,7 @@
}
.box_table {
width: 100%;
+ border-top: 1px solid #b4bbc5;
border-left: 1px solid #b4bbc5;
box-sizing: border-box;
.box_table_head {
@@ -272,9 +287,25 @@
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
&:nth-child(1) {
- flex: 0.5;
+ //flex: 0.5;
}
}
+ .box_table_head_item5 {
+ flex: 1;
+ height: 50px;
+ background: #f2f2f2;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 14px;
+ color: black;
+ border-right: 1px solid #b4bbc5;
+ border-bottom: 1px solid #b4bbc5;
+ box-sizing: border-box;
+ &:nth-child(2) {
+ flex: 5;
+ }
+ }
.box_form_item {
flex: 1;
height: 50px;
@@ -288,7 +319,7 @@
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
&:nth-child(1) {
- flex: 0.5;
+ //flex: 0.5;
}
}
}
@@ -296,7 +327,10 @@
width: 100%;
display: flex;
align-items: center;
- .box_table_content_item {
+ .box_table_content_header{
+ border-bottom: 0px solid #b4bbc5 !important;
+ }
+ .box_table_content_item {
flex: 1;
height: 50px;
background: #ffffff;
@@ -309,7 +343,7 @@
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
&:nth-child(1) {
- flex: 0.5;
+ // flex: 0.5;
}
}
}
--
Gitblit v1.9.3