pang.jiabao
3 天以前 c85e0e256d32dd2b040443380feb808012994512
Monitor-APP/pages/home/home.vue
@@ -106,7 +106,7 @@
                           <view class="flex-col"
                              style="width: 100%;align-items: flex-start;position: relative;font-size: 1vw">
                              <!-- 进度条 -->
                              <view class="flex-row" style="width: 100%;position: relative;margin-top: 5%;">
                              <view class="flex-row" style="width: 100%;position: relative;">
                                 <view class="progressBar" style="width: 80%;height: 2vw;">
                                    <view class="progress" :style="'width:'+ baseInfo.usedPr + '%'"></view>
                                 </view>
@@ -253,6 +253,7 @@
                        <view>商品编码:{{item.matnr}}</view>
                        <view>商品名称:{{item.maknx}}</view>
                        <view>规格:{{item.specs}}</view>
                        <view>图号:{{item.model}}</view>
                        <view>数量:{{item.count}} / {{item.total ? item.total : '--'}}</view>
@@ -463,10 +464,10 @@
         this.getDate2()
         setTimeout(() => {
            // this.getServerData()
            // this.initlineChart()
            // this.initPieChart()
            // this.getOther()
            this.getServerData()
            this.initlineChart()
            this.initPieChart()
            this.getOther()
            setTimeout(() => {
               this.getServerData()
               this.initlineChart()
@@ -477,9 +478,9 @@
                  this.initlineChart()
                  this.initPieChart()
                  this.getOther()
               }, 3000)
            }, 1000)
         }, 1000)
               }, 500)
            }, 500)
         }, 500)
      },
      onLoad() {
         setInterval(() => {
@@ -497,7 +498,7 @@
            this.initlineChart()
            this.initPieChart()
            this.getOther()
         }, 3600000)
         }, 1800000)
      },
      methods: {
         timeOuts() {
@@ -991,7 +992,7 @@
   }
   .progressBar {
      margin-top: 9%;
      margin-top: 5%;
      /* width: 100%; */
      height: 20%;
      background-color: #233751;