|
@@ -226,11 +226,12 @@ module.exports = {
|
|
|
title: '用户信息失效,请重新登录!',
|
|
title: '用户信息失效,请重新登录!',
|
|
|
icon: 'none'
|
|
icon: 'none'
|
|
|
})
|
|
})
|
|
|
- }else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ }else if (result.data.code !=0&&result.data.msg!='未进入公司') {
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败!',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
|
|
+ }
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|
|
@@ -248,11 +249,12 @@ module.exports = {
|
|
|
"content-type": header
|
|
"content-type": header
|
|
|
},
|
|
},
|
|
|
success: function(result) {
|
|
success: function(result) {
|
|
|
- if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ if (result.data.code !=0&&result.data.msg!='未进入公司'){
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败.',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
|
|
+ }
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|
|
@@ -291,11 +293,12 @@ module.exports = {
|
|
|
title: '用户信息失效,请重新登录!',
|
|
title: '用户信息失效,请重新登录!',
|
|
|
icon: 'none'
|
|
icon: 'none'
|
|
|
})
|
|
})
|
|
|
- }else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ }else if (result.data.code !=0&&result.data.msg!='未进入公司') {
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败?',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
|
|
+ }
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|