From d981e0f7cd5418a450e3e3148b9a30b82a2e343a Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 16 四月 2024 14:51:38 +0800
Subject: [PATCH] 文件上传组件下载

---
 src/views/system/result/detail/detail.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/system/result/detail/detail.vue b/src/views/system/result/detail/detail.vue
index 731d044..d6f25ac 100644
--- a/src/views/system/result/detail/detail.vue
+++ b/src/views/system/result/detail/detail.vue
@@ -18,12 +18,6 @@
                 icon="el-icon-edit"
                 @click="handleRuleUpdate(scope.row)"
               >淇敼</el-button>
-              <el-button
-                size="mini"
-                type="text"
-                icon="el-icon-delete"
-                @click="handleDelete(scope.row)"
-              >鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -49,14 +43,13 @@
               icon="el-icon-download"
               size="mini"
               @click="handleExport"
-              v-hasPermi="['system:checkRule:export']"
             >瀵煎嚭</el-button>
           </el-col>
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getRuleList"></right-toolbar>
         </el-row>
         <el-table v-loading="loading" :data="checkResultList" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="55" align="center" />
-          <el-table-column label="鑰冩牳鏃ユ湡" align="center" prop="date" width="120px"/>
+          <el-table-column label="鑰冩牳鏃ユ湡" align="center" prop="date" width="120px" fixed/>
           <el-table-column label="鑰冩牳瀵硅薄" align="center" prop="target" width="120px"/>
           <el-table-column label="骞冲彴鍦ㄧ嚎鐜�(鏉冮噸锛�0.5)" align="center" prop="platformOnline" width="120px"/>
           <el-table-column label="涓�鏈轰竴妗e悎鏍肩巼(鏉冮噸锛�0.5)" align="center" prop="monitorQualification" width="120px"/>
@@ -78,6 +71,16 @@
           <el-table-column label="瑙嗛浼犺緭缃戝嵄闄╄祫浜у緱鍒嗘瘮閲�(鏉冮噸锛�0.075)" align="center" prop="videoTransmissionDangerousAssetsScore" width="120px"/>
           <el-table-column label="瑙嗛浼犺緭缃戣竟鐣屽畬鏁存�ф娴嬫墸鍒嗛」(鏉冮噸锛�0.2)" align="center" prop="videoTransmissionBoundaryIntegrityDetection" width="120px"/>
           <el-table-column label="鏈堣繍琛岀巼" align="center" prop="operatingRate"/>
+          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"  fixed="right">
+            <template slot-scope="scope">
+              <el-button
+                size="mini"
+                type="text"
+                icon="el-icon-edit"
+                @click="handleUpdate(scope.row,scope.index)"
+              >淇敼</el-button>
+            </template>
+          </el-table-column>
         </el-table>
       </el-main>
     </el-container>

--
Gitblit v1.8.0