From d4af3eec083dc02fb7cc02cf7e7f9592f949f50b Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 24 四月 2024 17:15:16 +0800
Subject: [PATCH] 集成日志-详情页改造

---
 Source/UBCS-WEB/src/views/docking/loge.vue |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index ffbb8c7..cc83e39 100644
--- a/Source/UBCS-WEB/src/views/docking/loge.vue
+++ b/Source/UBCS-WEB/src/views/docking/loge.vue
@@ -27,12 +27,15 @@
           <small slot="more">...</small>
         </avue-text-ellipsis>
       </template>
+      <template slot="menu" slot-scope="scope">
+        <el-button type="text" icon="el-icon-view" size="mini" @click="rowView(scope.row)">鏌ョ湅</el-button>
+      </template>
     </avue-crud>
   </basic-container>
 </template>
 
 <script>
-import {getLogoList} from "@/api/docking/loge";
+import {getLogoList,gridLogeDetail} from "@/api/docking/loge";
 import {validatenull} from "@/util/validate";
 import {mapGetters} from "vuex";
 
@@ -137,7 +140,7 @@
         dialogClickModal: false,
         menuFixed:'right',
         dialogType: 'drawer',
-        viewBtn: true,
+        viewBtn: false,
         stripe: true,
         addBtn:false,
         editBtn:false,
@@ -273,6 +276,16 @@
     }
   },
   methods: {
+    rowView(row){
+      this.loading = true;
+      gridLogeDetail({oid:row.oid}).then(res =>{
+        console.log(res)
+        if(res.data.data){
+          this.loading = false
+          this.$refs.crud.rowView(res.data.data)
+        }
+      })
+    },
     dockingGetList(val){
       this.data=val.records;
       this.page.pageSize=val.size;

--
Gitblit v1.9.3