|
@@ -163,25 +163,31 @@ export default {
|
|
|
methods: {
|
|
|
//学生端-信用分/奖励分/扫一扫按钮
|
|
|
goUserPage(type){
|
|
|
- let self = this;
|
|
|
- if(type == 1){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_student/mine/creditPoints',
|
|
|
- });
|
|
|
- }else if(type == 2){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_student/mine/rewardPoints',
|
|
|
- });
|
|
|
- }else if(type == 3){
|
|
|
- uni.scanCode({
|
|
|
- onlyFromCamera: true,
|
|
|
- success: function (res) {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_student/mine/codeSuccess?q='+encodeURIComponent(JSON.stringify(res.result))
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
+ uni.showToast({
|
|
|
+ title: '暂未开放',
|
|
|
+ mask:true,
|
|
|
+ icon:"none",
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ // let self = this;
|
|
|
+ // if(type == 1){
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages_student/mine/creditPoints',
|
|
|
+ // });
|
|
|
+ // }else if(type == 2){
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages_student/mine/rewardPoints',
|
|
|
+ // });
|
|
|
+ // }else if(type == 3){
|
|
|
+ // uni.scanCode({
|
|
|
+ // onlyFromCamera: true,
|
|
|
+ // success: function (res) {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages_student/mine/codeSuccess?q='+encodeURIComponent(JSON.stringify(res.result))
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
//获取个人信息
|
|
|
async simpleInfo(){
|
|
@@ -196,7 +202,7 @@ export default {
|
|
|
if(this.userType == 1){
|
|
|
this.getSafeWarnList();
|
|
|
}else if(this.userType == 2){
|
|
|
- this.getMyPointsLogInfo();
|
|
|
+ //this.getMyPointsLogInfo();
|
|
|
}
|
|
|
if(data.data.count){
|
|
|
this.adminSubCount = data.data.count.adminSubCount;
|