Browse Source

是否开通上下班修改

seimin 2 years ago
parent
commit
c8bf5b61b7
2 changed files with 4 additions and 4 deletions
  1. 1 1
      config/index.js
  2. 3 3
      src/views/indes.vue

+ 1 - 1
config/index.js

@@ -14,7 +14,7 @@ module.exports = {
14 14
     proxyTable: {
15 15
       '/service': {//自定义名字,代表的是以下target中的内容
16 16
         // target: host.host+'/service/',//微信
17
-        target: 'http://192.168.3.105',//微信
17
+        target: 'http://192.168.3.111',//微信
18 18
         changeOrigin: true,//是否允许跨域
19 19
         // pathRewrite: {
20 20
         //   '^/service': ''

+ 3 - 3
src/views/indes.vue

@@ -39,7 +39,7 @@
39 39
       <!-- 统计信息 -->
40 40
       <div
41 41
         class="newStatistics"
42
-        v-if="ifWorking == 1 && !newStatisticsLoading && isShowNewStatistics"
42
+        v-if="!newStatisticsLoading && isShowNewStatistics"
43 43
       >
44 44
         <div class="buildOrder">
45 45
           <router-link
@@ -59,7 +59,7 @@
59 59
             <div>待处理</div>
60 60
           </router-link>
61 61
         </div>
62
-        <div class="attendance">
62
+        <div class="attendance" v-if="ifWorking == 1">
63 63
           <router-link
64 64
             class="attendanceItem"
65 65
             :to="{ path: '/main/workList/1/0' }"
@@ -417,7 +417,7 @@ export default {
417 417
     localStorage.removeItem("order");
418 418
     this.getNoticData();
419 419
     this.getNewRapir();
420
-    if (this.isShowNewStatistics && this.ifWorking == 1) {
420
+    if (this.isShowNewStatistics) {
421 421
       this.getManagerIndexInfo();
422 422
     }
423 423
   },