From 17d224a823e7342f82856d4baf9f73bdf813a3ea Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期五, 01 十二月 2023 09:32:56 +0800
Subject: [PATCH] h5页面定时器改1分钟

---
 web/src/views/MixingInfo/workShop.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/web/src/views/MixingInfo/workShop.vue b/web/src/views/MixingInfo/workShop.vue
index ca295cf..99cfbe0 100644
--- a/web/src/views/MixingInfo/workShop.vue
+++ b/web/src/views/MixingInfo/workShop.vue
@@ -25,7 +25,7 @@
                 </div>
                 <div class="work_items">
                     <div class="work_items_text">炉(批)号</div>
-                    <div class="work_items_data" style="font-size:1.2rem">{{workList&&workList.heatNumber}}</div>
+                    <div class="work_items_data" style="font-size:1.5rem">{{workList&&workList.heatNumber}}</div>
                 </div>
             </div>
             <div class="work_rows">
@@ -35,13 +35,13 @@
                 </div>
                 <div class="work_items">
                     <div class="work_items_text">报检日期</div>
-                    <div class="work_items_data" >{{workList&&workList.reportTime}}</div>
+                    <div class="work_items_data"  style="font-size:1.5rem">{{workList&&workList.reportTime}}</div>
                 </div>
             </div>
             <div class="work_rows">
                 <div class="work_items">
                     <div class="work_items_text">报告编号</div>
-                    <div class="work_items_data" style="border-right: 3px solid #001982;">{{workList&&workList.reportNum}}</div>
+                    <div class="work_items_data" style="border-right: 3px solid #001982;font-size:1.5rem">{{workList&&workList.reportNum}}</div>
                 </div>
                 <div class="work_items">
                     <div class="work_items_text">检验状态</div>
@@ -63,14 +63,14 @@
         this.searchWorkInfos()
     },
     mounted(){
-        // const that = this;
-        // that.timer = setInterval(()=>{
-        //     that.searchWorkInfos()
-        // },300000)
+        const that = this;
+        that.timer = setInterval(()=>{
+            that.searchWorkInfos()
+        },60000)
     },
     beforeDestroy() {
-        // clearInterval(this.timer);
-        // this.timer = null;
+        clearInterval(this.timer);
+        this.timer = null;
     },
     methods:{
         searchWorkInfos(){
@@ -98,14 +98,14 @@
 
     .work_headers{
         height: 206px;
-        padding-top: 120px;
+        padding-top: 100px;
         display: flex;
         align-items: center;
         justify-content: center;
         position: relative;
 
         .header_title{
-            font-size: 4.5rem;
+            font-size: 4rem;
             font-weight: 600;
             background: linear-gradient(to bottom,#24A5ED,#1976CE,#145DBE,#071C94);
             background-clip: text;
@@ -138,7 +138,7 @@
     .work_main{
         // height: calc(100% - 200px);
         border: 3px solid #001982;
-        margin: 20px 100px;
+        margin: 20px 50px;
         display: flex;
         flex-direction: column;
         justify-content: space-between;

--
Gitblit v1.9.3