1
This commit is contained in:
parent
fa30cbfaf0
commit
c038b04d40
@ -88,7 +88,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="con">
|
||||
<u-empty mode="list" v-if="courseList.length == 0">
|
||||
<!-- <u-empty mode="list" v-if="courseList.length == 0"> -->
|
||||
</u-empty>
|
||||
<view class="f-box" v-for="(item,index) in courseList" :key="index">
|
||||
<view class="f-top">{{item.createTime}}</view>
|
||||
@ -205,10 +205,10 @@
|
||||
},
|
||||
getUserInfo() {
|
||||
request({
|
||||
url: '/getJxInfo',
|
||||
url: '/jx/auth/getJxInfo',
|
||||
method: 'get'
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
if (res.code == 0) {
|
||||
this.schoolInfo = res.schoolInfo
|
||||
uni.setStorageSync("roles", res.roles)
|
||||
uni.setStorageSync("deptId", res.schoolInfo.deptId)
|
||||
@ -220,7 +220,7 @@
|
||||
url: '/drivingSchool/system/reservationCourse/applet/getHomeData',
|
||||
method: 'get'
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
if (res.code == 0) {
|
||||
this.dataInfo = res.data
|
||||
}
|
||||
})
|
||||
|
@ -149,7 +149,7 @@
|
||||
data: this.appuser
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
uni.setStorageSync("App-Token", res.data.token)
|
||||
uni.setStorageSync("App-Token", res.data.accessToken)
|
||||
uni.setStorageSync("loginType", this.tabindex)
|
||||
if (this.tabindex == 0) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user