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