|
@@ -1023,9 +1023,11 @@ export default {
|
|
this.http.post('/company/getSyncInfo',{
|
|
this.http.post('/company/getSyncInfo',{
|
|
},res => {
|
|
},res => {
|
|
if(res.code == 'ok'){
|
|
if(res.code == 'ok'){
|
|
- this.recordMsg = res.data
|
|
|
|
- if(this.recordMsg.result == 0){
|
|
|
|
- this.recordMsgDialog = true
|
|
|
|
|
|
+ if(res.data){
|
|
|
|
+ this.recordMsg = res.data
|
|
|
|
+ if(this.recordMsg.result == 0){
|
|
|
|
+ this.recordMsgDialog = true
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
this.$message({
|
|
this.$message({
|
|
@@ -3302,7 +3304,9 @@ export default {
|
|
this.acquireRole();
|
|
this.acquireRole();
|
|
this.getProfessional();
|
|
this.getProfessional();
|
|
this.getStaffCountMax();
|
|
this.getStaffCountMax();
|
|
- this.getRecordMsg()
|
|
|
|
|
|
+ if(this.user.dingdingUserid != null || this.user.corpwxUserid != null){
|
|
|
|
+ this.getRecordMsg()
|
|
|
|
+ }
|
|
// 获取企业微信的参数
|
|
// 获取企业微信的参数
|
|
// if(this.user.companyId == '1081' || this.user.companyId == '7') {
|
|
// if(this.user.companyId == '1081' || this.user.companyId == '7') {
|
|
// this.agentConfig()
|
|
// this.agentConfig()
|