From 6f1ad9bcb73a415f1d45f1adc6bdeb3e80ddf95f Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 05 三月 2024 09:33:39 +0800
Subject: [PATCH] mrshi
---
company/src/components/business/OperaApplyChangeDetailWindow.vue | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/company/src/components/business/OperaApplyChangeDetailWindow.vue b/company/src/components/business/OperaApplyChangeDetailWindow.vue
index aebc85a..c0b2328 100644
--- a/company/src/components/business/OperaApplyChangeDetailWindow.vue
+++ b/company/src/components/business/OperaApplyChangeDetailWindow.vue
@@ -24,7 +24,7 @@
<el-button type="primary" @click="$refs.ApplyChangeDetails.open('鍔犲噺淇濊鍗�',apply,model)">瀵煎嚭璇﹀崟</el-button>
<el-button v-if="[5, 8].includes(model.status)" type="primary" @click="$refs.reinsurance.open('鍔犲噺淇濈敵璇�', {id: dataId, applyChangId: modelId})">鍐嶆鎶曚繚</el-button>
<el-button type="primary" v-if="model.status == 0" @click="goSign">绛剧讲鐢宠鍗�</el-button>
- <el-button v-if="[0, 1, 2, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('鐢宠閫�鍥�', { id: modelId })">鐢宠閫�鍥�</el-button>
+ <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('鐢宠閫�鍥�', { id: modelId })">鐢宠閫�鍥�</el-button>
<el-button v-if="model.status == 5" type="primary" @click="viewApplyFile">鏌ョ湅鐢宠鍗�</el-button>
<el-button v-if="model.status == 2" type="primary" @click="viewPidan">鏌ョ湅鎵瑰崟</el-button>
<el-button v-if="[5, 8].includes(model.status)" type="primary" @click="closeOrder">鍏抽棴璁㈠崟</el-button>
@@ -51,9 +51,11 @@
label="鎵瑰崟鍙�">
</el-table-column>
<el-table-column
- prop="applyCode"
align="center"
label="淇濆崟鍙�">
+ <template slot-scope="{row}">
+ <el-button type="text" @click="$refs.insuranceApplyDetails.open('鎶曚繚璇︽儏', { id: row.applyId })">{{row.applyCode}}</el-button>
+ </template>
</el-table-column>
<el-table-column
prop="solutionsName"
@@ -142,7 +144,7 @@
</el-table-column>
<el-table-column
prop="fee"
- label="浜х敓璐圭敤锛堝厓锛�">
+ label="宸蹭骇鐢熻垂鐢紙鍏冿級">
</el-table-column>
</el-table>
<div class="desc_item_from_page">
@@ -188,6 +190,8 @@
<reinsurance ref="reinsurance" @success="successEvent" />
<!-- 鎹㈠巶鐢宠 -->
<factoryChange ref="factoryChange" @success="successEvent" />
+ <!-- 鎶曚繚璇︽儏 -->
+ <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" />
<template v-slot:footer>
<el-button @click="visible=false">杩斿洖</el-button>
</template>
@@ -203,6 +207,7 @@
import reinsurance from '@/components/enterprise/reinsurance'
import factoryChange from '@/components/enterprise/factoryChange'
import add_subtract_return from '@/components/enterprise/add_subtract_return'
+// import insuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
import {
getDetail,
getChangeDetail,
@@ -214,7 +219,7 @@
import { mapState } from 'vuex'
export default {
- name: 'OperaApplyChangeDetailWindow',
+ name: 'OperaApplyChangeDetailWindow1',
extends: BaseOpera,
components: {
GlobalWindow,
@@ -223,7 +228,8 @@
add_subtract_return,
OperaInsuranceApply,
reinsurance,
- factoryChange
+ factoryChange,
+ insuranceApplyDetails: () => import ('@/components/business/OperaInsuranceApplyWindow')
},
data () {
return {
@@ -304,7 +310,7 @@
capacity: 10,
page: this.currentPage,
model: {
- applyChangId: this.modelId,
+ applyChangeId: this.modelId,
types:[ this.activeName]
}
}).then(res => {
--
Gitblit v1.9.3