|
@@ -227,10 +227,10 @@ module.exports = {
|
|
|
icon: 'none'
|
|
icon: 'none'
|
|
|
})
|
|
})
|
|
|
}else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
}else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败!',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|
|
@@ -249,10 +249,10 @@ module.exports = {
|
|
|
},
|
|
},
|
|
|
success: function(result) {
|
|
success: function(result) {
|
|
|
if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败.',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|
|
@@ -292,10 +292,10 @@ module.exports = {
|
|
|
icon: 'none'
|
|
icon: 'none'
|
|
|
})
|
|
})
|
|
|
}else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
}else if (result.data.code !=0&&result.data.msg!='未进入公司')
|
|
|
- uni.showToast({
|
|
|
|
|
- title: result.data.msg||'查询失败',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: result.data.msg||'查询失败?',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // })
|
|
|
succ.call(self, result.data)
|
|
succ.call(self, result.data)
|
|
|
},
|
|
},
|
|
|
fail: function(e) {
|
|
fail: function(e) {
|