From b6fde711bf33cede4cb84f85146c32b0c0c61aa5 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 04 十一月 2024 09:06:28 +0800
Subject: [PATCH] 优化需求
---
company/src/components/business/detailsEntrustedInsurance.vue | 38 +++++++++++++++++++++++++++-----------
1 files changed, 27 insertions(+), 11 deletions(-)
diff --git a/company/src/components/business/detailsEntrustedInsurance.vue b/company/src/components/business/detailsEntrustedInsurance.vue
index 0ce055e..6b07c9c 100644
--- a/company/src/components/business/detailsEntrustedInsurance.vue
+++ b/company/src/components/business/detailsEntrustedInsurance.vue
@@ -22,7 +22,7 @@
<el-button v-if="[2,3,4].includes(model.status)" type="primary" @click="viewToubaodan">鏌ョ湅鎶曚繚鍗�</el-button>
<el-button v-if="[2].includes(model.status) " type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('涓婁紶淇濋櫓鍗�',model,3)">涓婁紶淇濋櫓鍗�</el-button>
<el-button v-if="model.status == 3" type="primary" @click="viewBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
- <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('閫�鍥炴姇淇�',model,1)">閫�鍥炵敵璇�</el-button>
+ <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('閫�鍥炵敵璇�',model,1)">閫�鍥炵敵璇�</el-button>
</template>
<template v-if="userInfo.type ===0">
<el-button type="primary" @click="$refs.InsuranceDetails.open('瀵煎嚭璇﹀崟',model,0)">瀵煎嚭璇﹀崟</el-button>
@@ -50,33 +50,49 @@
<el-table-column
prop="startTime"
align="center"
- label="淇濋櫓鐢熸晥璧锋湡">
+ :label="getUnionApplyTimeTitle(1,model)">
</el-table-column>
<el-table-column
prop="endTime"
align="center"
- label="淇濋櫓鐢熸晥姝㈡湡">
+ :label="getUnionApplyTimeTitle(0,model)">
</el-table-column>
<el-table-column
prop="insureNum"
align="center"
label="鎶曚繚浜烘暟">
+ <template slot-scope="{row}">
+ <span>{{row.insureNum||0}} 浜�</span>
+ </template>
</el-table-column>
- <el-table-column prop="guaranteeNum" align="center" label="鍦ㄤ繚浜烘暟" ></el-table-column>
+ <el-table-column prop="guaranteeNum" align="center" label="鍦ㄤ繚浜烘暟" >
+ <template slot-scope="{row}">
+ <span>{{row.guaranteeNum||0}} 浜�</span>
+ </template>
+ </el-table-column>
<el-table-column
prop="serviceDays"
align="center"
- label="淇濆崟鏃堕暱锛堝ぉ锛�">
+ label="淇濆崟鏃堕暱">
+ <template slot-scope="{row}">
+ <span>{{row.serviceDays||0}} 澶�</span>
+ </template>
</el-table-column>
<el-table-column
prop="currentFee"
align="center"
- label="宸蹭骇鐢熻垂鐢�(鍏�)">
+ label="宸蹭骇鐢熻垂鐢�">
+ <template slot-scope="{row}">
+ <span>{{row.currentFee!=null?row.currentFee+' 鍏�': '-'}}</span>
+ </template>
</el-table-column>
<el-table-column
prop="fee"
align="center"
- label="鎬昏垂鐢�(鍏�)">
+ label="鎬昏垂鐢�">
+ <template slot-scope="{row}">
+ <span>{{row.fee!=null?row.fee+' 鍏�': '-'}}</span>
+ </template>
</el-table-column>
</el-table>
</div>
@@ -158,7 +174,7 @@
label="鎬у埆">
<template slot-scope="{row}">
<span v-if="row.sex === 0">鐢�</span>
- <span v-else>濂�</span>
+ <span v-if="row.sex === 1">濂�</span>
</template>
</el-table-column>
<el-table-column
@@ -189,13 +205,13 @@
:key="Math.random()"
prop="startTime"
align="center"
- label="淇濋櫓鐢熸晥璧锋湡">
+ :label="getUnionApplyTimeTitle(1,model)">
</el-table-column>
<el-table-column
:key="Math.random()"
prop="endTime"
align="center"
- label="淇濋櫓鐢熸晥姝㈡湡">
+ :label="getUnionApplyTimeTitle(0,model)">
</el-table-column>
<el-table-column
:key="Math.random()"
@@ -603,7 +619,7 @@
this.num = this.num - 1
}, 1000)
},
- // 鍏抽棴璁㈠崟
+ // 鍏抽棴鐢宠
closeOrder () {
this.$confirm('纭鍏抽棴姝よ鍗曞悧?', '鎻愮ず', {
confirmButtonText: '纭畾',
--
Gitblit v1.9.3