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/OperaInsuranceApplyWindow.vue | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index 5a883af..3337197 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -31,7 +31,7 @@
<el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
<el-button v-if="model.status == 4" type="primary" @click="$refs.operaInsuranceApplyAddWindow.open('鎶曚繚鐢宠', {id: dataId})">鍐嶆鎶曚繚</el-button>
<el-button v-if="[0, 2, 3, 10].includes(model.status)" type="danger" @click="$refs.applyReturn.open('鐢宠閫�鍥�', {id: dataId})">鐢宠閫�鍥�</el-button>
- <el-button v-if="model.status == 4" type="primary" @click="closeOrder">鍏抽棴璁㈠崟</el-button>
+ <el-button v-if="model.status == 4" type="primary" @click="closeOrder">鍏抽棴鐢宠</el-button>
</template>
<template v-else>
<el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�',model,0)">瀵煎嚭璇﹀崟</el-button>
@@ -41,7 +41,7 @@
<el-button v-if="model.status == 3 && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('涓婁紶淇濋櫓鍗�',model,3)">涓婁紶淇濋櫓鍗�</el-button>
<el-button v-if="[6,7,8,11].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('椹冲洖閫�鍥炵敵璇�',model,5)">椹冲洖閫�鍥炵敵璇�</el-button>
<el-button v-if="model.status == 0 && model.solutionType ==0" type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚瀹℃牳',model,1)">鎶曚繚瀹℃牳</el-button>
- <el-button v-if="![1,4,,5].includes(model.status) && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('閫�鍥炴姇淇�',model,1)">閫�鍥炴姇淇�</el-button>
+ <el-button v-if="![1,4,,5].includes(model.status) && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('閫�鍥炵敵璇�',model,1)">閫�鍥炵敵璇�</el-button>
<el-button v-if="model.status == 5 && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('淇敼淇濋櫓鍗�',model,4)">淇敼淇濋櫓鍗�</el-button>
</template>
</div>
@@ -77,6 +77,7 @@
align="center"
label="鎶曚繚浜烘暟">
</el-table-column>
+ <el-table-column prop="guaranteeNum" align="center" label="鍦ㄤ繚浜烘暟" ></el-table-column>
<el-table-column
prop="serviceDays"
align="center"
@@ -194,6 +195,8 @@
<el-button type="primary" style="width: 80px;" @click="search">鏌ヨ</el-button>
<el-button @click="resetting" style="width: 80px;">閲嶇疆</el-button>
<el-button type="primary" style="width: 80px;" @click="exportExcel" v-if="activeName === '0'">瀵煎嚭鍚嶅崟</el-button>
+ <el-button type="primary" style="width: 100px;" @click="$refs.OperaApplyChangeMonthWindow.open('鍔犲噺淇濊垂鐢ㄦ湀搴︾粺璁�',model)" v-if="activeName === '1'">璐圭敤缁熻鏌ヨ</el-button>
+
</el-form-item>
</el-form>
</div>
@@ -307,13 +310,19 @@
:key="Math.random()"
prop="addNum"
align="center"
- label="澧炲姞浜烘暟锛堜汉锛�">
+ label="澧炲姞浜烘暟">
+ <template scope="{row}">
+ {{row.addNum||0}} 浜�
+ </template>
</el-table-column>
<el-table-column
:key="Math.random()"
prop="delNum"
align="center"
- label="鍑忓皯浜烘暟锛堜汉锛�">
+ label="鍑忓皯浜烘暟 ">
+ <template scope="{row}">
+ {{row.delNum||0}} 浜�
+ </template>
</el-table-column>
<el-table-column
:key="Math.random()"
@@ -337,7 +346,10 @@
:key="Math.random()"
prop="fee"
align="center"
- label="璐圭敤鍙樻洿(鍏�)">
+ label="璐圭敤鍙樻洿">
+ <template scope="{row}">
+ {{row.fee||0}}鍏�
+ </template>
</el-table-column>
<el-table-column
:key="Math.random()"
@@ -390,6 +402,9 @@
prop="changeNum"
align="center"
label="鏇存崲娲鹃仯鍗曚綅浜烘暟">
+ <template scope="{row}">
+ {{row.changeNum||0}} 浜�
+ </template>
</el-table-column>
<el-table-column
:key="Math.random()"
@@ -467,6 +482,7 @@
<!-- 楠岃瘉鎵嬫満鍙� -->
<operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
<OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
+ <OperaApplyChangeMonthWindow ref="OperaApplyChangeMonthWindow" />
<template v-slot:footer>
<el-button @click="visible=false">杩斿洖</el-button>
</template>
@@ -482,6 +498,7 @@
import factoryChange from '@/components/enterprise/factoryChange'
import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
+import OperaApplyChangeMonthWindow from '@/components/business/OperaApplyChangeMonthWindow'
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
import applyReturn from '@/components/enterprise/applyReturn'
@@ -503,6 +520,7 @@
applyReturn,
additionSubtractionApplication,
factoryChange,
+ OperaApplyChangeMonthWindow,
OperaApplyChangeDetailWindow,
OperaApplyChangeUnitDetailWindow,
OperaInsuranceApplyAddWindow,
@@ -597,7 +615,7 @@
goYjxb(){
this.$refs.operaInsuranceApplyAddWindow.open('缁繚', {id: this.dataId,type: 1 })
},
- // 鍏抽棴璁㈠崟
+ // 鍏抽棴鐢宠
closeOrder () {
this.$confirm('纭鍏抽棴姝よ鍗曞悧?', '鎻愮ず', {
confirmButtonText: '纭畾',
--
Gitblit v1.9.3