Pārlūkot izejas kodu

尝试调试企业微信的人员字符串 3

Lijy 2 gadi atpakaļ
vecāks
revīzija
f60acd8b16

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -3026,6 +3026,7 @@ export default {
                     window.WWOpenData.bind(document.querySelector('ww-open-data'))
                 },
                 fail: function (res) {
+                    this.tixtass = "错误了"
                     console.log('查看错误信息', res)
                     if (res.errMsg.indexOf('function not exist') > -1) {
                         alert('版本过低请升级')
@@ -3052,7 +3053,7 @@ export default {
     this.getProfessional();
     this.getStaffCountMax();
     // 获取企业微信的参数
-    if(this.user.companyId = '1081') {
+    if(this.user.companyId == '1081' || this.user.companyId == '7') {
       this.agentConfig()
     }
   },