From 5b4b0b5b6462ca6da4dc8811663839b3045128f2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 27 一月 2024 09:22:21 +0800
Subject: [PATCH] 开发业务接口

---
 company/src/components/business/OperaInsuranceApplyWindow.vue |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index 89b3d19..1d526b0 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -1,7 +1,7 @@
 <template>
     <GlobalWindow
         :title="title"
-        width="80%"
+        width="100%"
         :visible.sync="visible"
         :confirm-working="isWorking"
         @confirm="confirm"
@@ -15,13 +15,13 @@
                         <span>鎻愪氦鏃堕棿锛歿{ model.createDate }}</span>
                     </div>
                     <div class="desc_item_label_right">
-                        <el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�')">瀵煎嚭璇﹀崟</el-button>
-                        <el-button type="primary" @click="visible2 = true">涓婁紶鎶曚繚鍗�</el-button>
-                        <el-button type="primary" @click="visible3 = true">涓婁紶淇濋櫓鍗�</el-button>
-                        <el-button type="primary" @click="visible5 = true">椹冲洖閫�鍥炵敵璇�</el-button>
-                        <el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�')">鎶曚繚瀹℃牳</el-button>
-                        <el-button type="danger" @click="visible1 = true">閫�鍥炴姇淇�</el-button>
-                        <el-button type="danger" @click="visible4 = true">淇敼淇濋櫓鍗�</el-button>
+                        <el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�',model)">瀵煎嚭璇﹀崟</el-button>
+                        <el-button v-if="model.status == 0 " type="primary" @click="visible2 = true">涓婁紶鎶曚繚鍗�</el-button>
+                        <el-button v-if="model.status == 3 "  type="primary" @click="visible3 = true">涓婁紶淇濋櫓鍗�</el-button>
+                        <el-button  v-if="model.status == 6 || model.status == 7|| model.status == 8" type="primary" @click="visible5 = true">澶勭悊閫�鍥炵敵璇�</el-button>
+                        <el-button v-if="model.status == 0 "  type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�')">鎶曚繚瀹℃牳</el-button>
+                        <el-button v-if="model.status != 5 " type="danger" @click="visible1 = true">閫�鍥炴姇淇�</el-button>
+                        <el-button v-if="model.status == 5 "  type="danger" @click="visible4 = true">淇敼淇濋櫓鍗�</el-button>
                     </div>
                 </div>
                 <div class="desc_item_from">
@@ -181,8 +181,8 @@
                         <el-timeline-item
                             v-for="(activity, index) in activities"
                             :key="index"
-                            :timestamp="activity.timestamp">
-                            {{activity.content}}
+                            :timestamp="activity.createDate">
+                            {{activity.title}}
                         </el-timeline-item>
                     </el-timeline>
                 </div>
@@ -454,8 +454,9 @@
     getDetail(){
       getDetail(this.dataId).then(res => {
         this.model = res
-        this.tableData = new Array();
-        this.tableData.push(res);
+        this.tableData = new Array()
+        this.tableData.push(res)
+        this.activities=res.applyLogList
       }).catch(err => {
       })
     },

--
Gitblit v1.9.3