From d80a5794d029c8a5fe58a80464ab0e1ae097c87c Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 05 十二月 2023 21:52:03 +0800
Subject: [PATCH] 增加图像查看功能

---
 ruoyi-ui/src/views/healthy/index.vue |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/ruoyi-ui/src/views/healthy/index.vue b/ruoyi-ui/src/views/healthy/index.vue
index 96f3d57..f714dc4 100644
--- a/ruoyi-ui/src/views/healthy/index.vue
+++ b/ruoyi-ui/src/views/healthy/index.vue
@@ -44,17 +44,7 @@
         />
       </el-form-item>
 
-        <el-button size="mini" type="text" @click="toYearhealthy" v-hasPermi="['person:healthy:healthYear']">
-          <div class="form1" ><el-icon  style="padding-right:100px;"></el-icon>
-            <span class="text" style="width: 69px;height: 26px;font-size: 16px;
-            font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鍋ュ悍鎯呭喌</span></div>
-        </el-button>
 
-      <el-button size="mini" type="text" @click="toExamination" v-hasPermi="['person:healthy:healthYear']">
-        <div class="form2" ><el-icon  style="padding-right:50px;"></el-icon>
-          <span class="text" style="width: 69px;height: 26px;font-size: 16px;
-            font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鍘嗗勾浣撴鎯呭喌</span></div>
-      </el-button>
 
       <el-form-item>
         <el-button  size="mini" @click="handleQuery" style=" width: 65px; height: 32px;background: #FFDDE3;border-radius:6px 6px 6px 6px;opacity:1;">鎼滅储</el-button>
@@ -117,8 +107,23 @@
                  icon="el-icon-top">瀵煎叆</el-button>
 
         </el-upload>
+
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+       <el-col></el-col>
+      <el-col>
+<el-button size="mini" type="text" @click="toYearhealthy" v-hasPermi="['person:healthy:healthYear']">
+            <div class="form1" ><el-icon  style="padding-right:100px;"></el-icon>
+              <span class="text" style="width: 69px;height: 26px;font-size: 16px;
+              font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鍋ュ悍鎯呭喌</span></div>
+          </el-button>
+
+        <el-button size="mini" type="text" @click="toExamination" v-hasPermi="['person:healthy:healthYear']">
+          <div class="form2" ><el-icon  style="padding-right:50px;"></el-icon>
+            <span class="text" style="width: 69px;height: 26px;font-size: 16px;margin-right: 20px;
+              font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鍘嗗勾浣撴鎯呭喌</span></div>
+        </el-button>
+        </el-col>
     </el-row>
 
     <el-table v-loading="loading" :data="healthList"  @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
@@ -343,7 +348,10 @@
       // 鏃ユ湡鑼冨洿
       dateRange: [],
       // 鏁版嵁鑼冨洿閫夐」
-      fot:[".jpg",".jif"],
+
+    fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
+      '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+
       fileList:[
       ],
       fileListOther:[ ],

--
Gitblit v1.9.1