Bladeren bron

优化

和田中职
suyanyan 1 week geleden
bovenliggende
commit
10b039bfa1
4 gewijzigde bestanden met toevoegingen van 10 en 11 verwijderingen
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue
  2. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/clockIn/list.vue
  3. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue
  4. +7
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue Bestand weergeven

@@ -9,7 +9,7 @@
</view>
</view>
<view class="footer">
<!-- <img src="../../static/image/bg3.png" alt="" /> -->
<img src="../../static/image/bg3.png" alt="" />
</view>
</view>
</template>


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/clockIn/list.vue Bestand weergeven

@@ -154,7 +154,7 @@
}
});
} else {
alert('failed' + this.getStatus());
// alert('failed' + this.getStatus());
}
});
},


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue Bestand weergeven

@@ -96,7 +96,7 @@
<!--#endif -->
</view>
</view>
<tabBar selectedIndex='/pages/home'></tabBar>
<!-- <tabBar selectedIndex='/pages/home'></tabBar> -->
</view>
</template>



+ 7
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue Bestand weergeven

@@ -113,21 +113,20 @@
},
methods: {
async getCasLoginInfo() {
let loginResult=null;
let loginResult = null;
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
const ticket = params.get('ticket');
// const ticket = "1"
if (ticket) {
console.log("1:",ticket);
let postResult = await this.POST('/api/ht/ticket', {
ticket,
})
console.log(postResult);
if (postResult[1].data.code == '200') {
loginResult = postResult[1].data.data;
} else {
this.TOAST(postResult[1].data.info);
}
const {
baseinfo,
@@ -141,13 +140,13 @@
role
}
const token = baseinfo.token
this.SET_GLOBAL('token', token)
this.SET_GLOBAL('loginUser', user)
this.SET_STORAGE('token', token)
this.HIDE_LOADING()
this.TAB_TO('/pages/home')



Laden…
Annuleren
Opslaan