From 657bc734ad4193d2594626261ae2f9825f4265c2 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期六, 12 十月 2024 16:32:28 +0800
Subject: [PATCH] 检测工具预览图片

---
 src/utils/request.js                             |    4 ++--
 src/views/system/data-manage/data-detail/list.js |   36 ++++++++++++++++++------------------
 public/index.html                                |    4 +---
 src/views/tool/online/index.vue                  |    1 +
 src/views/screen/index.vue                       |   12 ++++++------
 5 files changed, 28 insertions(+), 29 deletions(-)

diff --git a/public/index.html b/public/index.html
index 0d260d5..fd0af84 100644
--- a/public/index.html
+++ b/public/index.html
@@ -12,9 +12,7 @@
   </title>
   <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
   <style>
-    html {
-      font-size: 14px
-    }
+    html
     body,
     #app {
       height: 100%;
diff --git a/src/utils/request.js b/src/utils/request.js
index e2f8ccd..b1882f6 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -17,8 +17,8 @@
   // axios涓姹傞厤缃湁baseURL閫夐」锛岃〃绀鸿姹俇RL鍏叡閮ㄥ垎
   baseURL: process.env.VUE_APP_BASE_API,
   // 瓒呮椂
-  //榛樿10绉� 淇敼涓�20绉�
-  timeout: 20000
+  //榛樿10绉� 淇敼涓�25绉�
+  timeout: 25000
 })
 
 // request鎷︽埅鍣�
diff --git a/src/views/screen/index.vue b/src/views/screen/index.vue
index cb33bb8..2649739 100644
--- a/src/views/screen/index.vue
+++ b/src/views/screen/index.vue
@@ -71,10 +71,10 @@
               />
               <ul>
                 <li v-for="(item, index) in facilityData.video" :key="index">
-                  <div class="value">
+                  <div style="font-size: 14px" class="value">
                     <animate-number from="0" :to="item.value" :key="item.value"></animate-number>
                   </div>
-                  <div class="title">{{ item.title }}</div>
+                  <div style="font-size: 14px" class="title">{{ item.title }}</div>
                 </li>
               </ul>
             </div>
@@ -86,8 +86,8 @@
               <ul>
                 <li v-for="(item, index) in facilityData.car" :key="index">
 <!--                  <div class="value">{{ item.value ? item.value : "-" }}</div>-->
-                  <div class="value"><animate-number from="0" :to="item.value" :key="item.value"></animate-number></div>
-                  <div class="title">{{ item.title }}</div>
+                  <div style="font-size: 14px" class="value"><animate-number from="0" :to="item.value" :key="item.value"></animate-number></div>
+                  <div style="font-size: 14px" class="title">{{ item.title }}</div>
                 </li>
               </ul>
             </div>
@@ -102,8 +102,8 @@
                   :key="index"
                 >
 <!--                  <div class="value">{{ item.value ? item.value : "-" }}</div>-->
-                  <div class="value"><animate-number from="0" :to="item.value" :key="item.value"></animate-number></div>
-                  <div class="title">{{ item.title }}</div>
+                  <div style="font-size: 14px" class="value"><animate-number from="0" :to="item.value" :key="item.value"></animate-number></div>
+                  <div style="font-size: 14px" class="title">{{ item.title }}</div>
                 </li>
               </ul>
             </div>
diff --git a/src/views/system/data-manage/data-detail/list.js b/src/views/system/data-manage/data-detail/list.js
index 5aaedc4..77560a1 100644
--- a/src/views/system/data-manage/data-detail/list.js
+++ b/src/views/system/data-manage/data-detail/list.js
@@ -1057,19 +1057,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -1130,19 +1130,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -1701,19 +1701,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -2070,19 +2070,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -2342,19 +2342,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -3684,19 +3684,19 @@
         {
           label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
diff --git a/src/views/tool/online/index.vue b/src/views/tool/online/index.vue
index 9c90b52..e397ba4 100644
--- a/src/views/tool/online/index.vue
+++ b/src/views/tool/online/index.vue
@@ -22,6 +22,7 @@
                 <el-image
                   style="width: 100px; height: 100px"
                   :src="result.img"
+                  :preview-src-list="[result.img]"
                   fit="fill">
                 </el-image>
               </div>

--
Gitblit v1.8.0