Ver Fonte

Merge branch 'master' of http://47.100.37.243:10080/wutt/manHourHousekeeper into master

seyason há 2 anos atrás
pai
commit
61386e2601

+ 5 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -2984,7 +2984,7 @@ export default {
             this.tixtass = "config,进入"
             wx.config({ 
               beta: true,
-              debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
+              debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
               appId: res.data.appid, // 必填,公众号的唯一标识 
               timestamp: res.data.timestamp, // 必填,生成签名的时间戳 
               nonceStr: res.data.noncestr, // 必填,生成签名的随机串 
@@ -3008,7 +3008,7 @@ export default {
     getagentConfigs() {
           this.tixtass = "进了"
       var curUrl = location.href.split("#")[0];
-       this.http.post("/wxcorp/getCorpWXConfig", {url: curUrl, token: this.user.id}, (res) => {
+       this.http.post("/wxcorp/getCorpWXAgentConfig", {url: curUrl, token: this.user.id}, (res) => {
           if (res.code == "ok") {
           this.tixtass = "处理"
           console.log()
@@ -3052,7 +3052,9 @@ export default {
     this.getProfessional();
     this.getStaffCountMax();
     // 获取企业微信的参数
-    this.agentConfig()
+    if(this.user.companyId = '1081') {
+      this.agentConfig()
+    }
   },
 };
 </script>