Kaynağa Gözat

人员通行数据

wangtao 2 yıl önce
ebeveyn
işleme
a2a9b748e4

+ 10 - 2
src/components3/seHeader/index.vue

@@ -1,3 +1,11 @@
+<!--
+ * @Descripttion:
+ * @version:
+ * @Author: wt
+ * @Date: 2023-06-14 15:27:50
+ * @LastEditors: wt
+ * @LastEditTime: 2023-06-14 15:29:39
+-->
 <template>
   <el-row
     class="top"
@@ -5,13 +13,13 @@
     element-loading-background="rgba(28,33,41,1)"
   >
     <el-col :span="6">
-      <el-col :span="24" class="time">{{ date }}</el-col>
+      <el-col :span="24" class="time"><a href="http://10.21.39.1:8187">{{ date }}</a></el-col>
     </el-col>
     <el-col :span="12">
       <el-col :span="24" class="title">中国东信智慧楼宇</el-col>
     </el-col>
     <div :span="6" class="logo">
-        <img :src="logo" alt="">
+        <a href="http://10.21.39.1:8186"><img :src="logo" alt=""></a>
     </div>
   </el-row>
 </template>

+ 1 - 1
src/components3/tongxingguanli/index.vue

@@ -111,7 +111,7 @@ export default {
         timeout: 10000,
       }).then(res =>{
           let total = 0
-
+          this.data1.n1 = 0
           if(res.data){
             for(let i=0;i<res.data.length;i++){
               data[0].push(res.data[i].access_time)

+ 2 - 2
vue.config.js

@@ -18,7 +18,7 @@ module.exports = {
     // 例如 https://www.yongtian.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.yongtian.vip/admin/,则设置 baseUrl 为 /admin/。
     publicPath: process.env.NODE_ENV === "production" ? "" : "",
     // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
-    outputDir: 'DXLargeScreen-v3-zhong-2560*1080',
+    outputDir: 'DXLargeScreen-v3-zhong-2560-1080',
     // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
     assetsDir: 'static',
     // 是否开启eslint保存检测,有效值:ture | false | 'error'
@@ -125,4 +125,4 @@ module.exports = {
                 }
             )
     }
-}
+}