接口
This commit is contained in:
parent
84aef54964
commit
adf1e5b60b
@ -318,7 +318,7 @@
|
||||
userJson.userId = res.data.user.userId
|
||||
uni.setStorageSync('userInfo', res.data.user)
|
||||
uni.setStorageSync('userId', res.data.user.userId)
|
||||
uni.setStorageSync('role', res.data.role)
|
||||
uni.setStorageSync('role', res.data.roles)
|
||||
this.goselect()
|
||||
})
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<view class="centenr">
|
||||
<view style="background-color: rgb(49, 125, 250);">
|
||||
|
||||
|
||||
<v-navigation-bar-vue title="数据统计"></v-navigation-bar-vue>
|
||||
<view class="queryDate">
|
||||
<text>日期</text>
|
||||
@ -9,6 +12,7 @@
|
||||
<image class="dateFormIcon" src="../../static/icons/statisticsinfo/rili@2x.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ail">
|
||||
<view class="san_" v-for="(item,index) in dataList " :key="index">
|
||||
<view class="s_box">
|
||||
|
@ -20,9 +20,9 @@
|
||||
<view class="c-title" v-if="!userinfo" @click="gologin">立即登录</view>
|
||||
<view class="c-title" v-else>
|
||||
<view style="display: flex; align-items: center;">
|
||||
<text>{{userinfo.realName || '用户昵称'}}</text>
|
||||
<text>{{userinfo.info.nickname || '用户昵称'}}</text>
|
||||
</view>
|
||||
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.phonenumber || '未填写手机号码'}}</text>
|
||||
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.info.phonenumber || '未填写手机号码'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user