|
|
@@ -227,10 +227,10 @@ module.exports = {
|
|
|
icon: 'none'
|
|
|
})
|
|
|
}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)
|
|
|
},
|
|
|
@@ -250,10 +250,10 @@ module.exports = {
|
|
|
},
|
|
|
success: function(result) {
|
|
|
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)
|
|
|
},
|
|
|
@@ -294,10 +294,10 @@ module.exports = {
|
|
|
icon: 'none'
|
|
|
})
|
|
|
}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)
|
|
|
},
|