|
@@ -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>
|