From cd5280e6bf2b54d509452393d378994b49eaacab Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 22 七月 2024 10:24:36 +0800
Subject: [PATCH] 图标样式调整

---
 src/views/system/work-order/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index 7e250c5..27055d2 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -79,6 +79,8 @@
                 size="mini"
                 type="text"
                 @click="handleAuditing(item)"
+                v-hasPermi="['work:order:audit']"
+                v-show="item.status === 'YW_HANDLE'"
               >瀹℃牳</el-button>
               <el-button
                 size="mini"
@@ -158,8 +160,8 @@
             </el-form-item>
           </el-form>
         </el-col>
-        <el-col :span="14" style="max-height: 500px; overflow-y: scroll">
-          <el-timeline>
+        <el-col :span="14" style="max-height: 500px; overflow-y: auto">
+          <el-timeline v-if="ywConditions && ywConditions.length > 0">
             <el-timeline-item v-for="(condition, index) in ywConditions" :key="index" :timestamp="condition.commitUserName + '___' + condition.createTime" placement="top">
               <el-card>
                 <div v-html="condition.ywCondition"></div>
@@ -167,6 +169,7 @@
               </el-card>
             </el-timeline-item>
           </el-timeline>
+          <el-empty v-else description="娌℃湁澶勭悊璁板綍"></el-empty>
         </el-col>
       </el-row>
 

--
Gitblit v1.8.0