From 0afc0d40e019c168d47a79e90bdff2aba29ad553 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 一月 2024 16:47:10 +0800
Subject: [PATCH] 开发业务接口

---
 company/src/components/business/OperaInsuranceApplyWindow.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index 89b3d19..540fa80 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -16,12 +16,12 @@
                     </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 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