优化首页,我的
This commit is contained in:
parent
35ed2e07a6
commit
81c96d42d7
@ -9,7 +9,7 @@
|
||||
<!-- #endif -->
|
||||
<view class="my_info flex_a_c">
|
||||
<view class="">
|
||||
<u--image :showLoading="true" :src="myOaInfo.avatar||'../../static/img/public/avatar.png'" width="112.28rpx" height="112.28rpx" shape="circle"></u--image>
|
||||
<u--image :showLoading="true" :src="myOaInfo.avatar||'../../static/img/public/avatar.png'" width="130.28rpx" height="130.28rpx" shape="circle"></u--image>
|
||||
</view>
|
||||
<view v-if="!$store.state.app.token" @click="login" class="mesg_box">
|
||||
<view class="name">
|
||||
@ -25,20 +25,25 @@
|
||||
|
||||
</view>
|
||||
<view class="duty">
|
||||
<!-- 所属公司:<text class="" v-if="myOaInfo.admin.company">{{ myOaInfo.admin.company.company_name }}</text> -->
|
||||
<!-- ({{ myOaInfo.did_name }}){{myOaInfo.label_name}} -->
|
||||
电话:{{myOaInfo.account}}
|
||||
电话:{{myOaInfo.account}}<br/>
|
||||
公司:<text v-if="myOaInfo.admin.company">{{ myOaInfo.admin.company.company_name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="task_panel">
|
||||
|
||||
<!-- 占位 -->
|
||||
<view style="height: 130rpx;"></view>
|
||||
<!-- 任务状态 -->
|
||||
<!-- <view class="task_panel">
|
||||
<block v-for="(item,index) in assessData" :key="index">
|
||||
<view class="task_item">
|
||||
<view class="plan">{{ item.num }}</view>
|
||||
<view class="">{{ item.name }}</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="backlog" :class="!ApproveList.length>0?'backlog_no_data':''">
|
||||
<view class="head_title flex_a_c_j_sb">
|
||||
<view class="title">公告列表</view>
|
||||
@ -205,8 +210,9 @@
|
||||
let arr = oaHomeData.filter(item=>!item.admin);//过滤掉管理员专属页面
|
||||
this.oaHomeData = arr;
|
||||
}else {
|
||||
let arr = oaHomeData.filter(item=>!item.personnel);//过滤掉普通用户专属页面
|
||||
this.oaHomeData = arr;
|
||||
this.oaHomeData = oaHomeData;
|
||||
// let arr = oaHomeData.filter(item=>!item.personnel);//过滤掉普通用户专属页面
|
||||
// this.oaHomeData = arr;
|
||||
}
|
||||
},
|
||||
async getApproveList() {
|
||||
|
@ -16,7 +16,7 @@
|
||||
<view class="my_msg flex_a_c_j_sb">
|
||||
<view class="flex_a_c">
|
||||
<u--image :showLoading="true" :src="oaUserInfo.avatar||'../../static/img/public/avatar.png'"
|
||||
width="112.28rpx" height="112.28rpx" shape="circle">
|
||||
width="130.28rpx" height="130.28rpx" shape="circle">
|
||||
</u--image>
|
||||
<view v-if="!$store.state.app.token" @click="login" class="name_work">
|
||||
<view class="name">
|
||||
@ -32,9 +32,8 @@
|
||||
<!-- <text class="omit" v-if="oaUserInfo.admin.company">所属公司:{{ oaUserInfo.admin.company.company_name }}</text> -->
|
||||
</view>
|
||||
<view class="work">
|
||||
电话:{{oaUserInfo.account}}
|
||||
|
||||
<!-- 所属公司:<text class="omit" v-if="oaUserInfo.admin.company">{{ oaUserInfo.admin.company.company_name }}</text> -->
|
||||
电话:{{oaUserInfo.account}}<br/>
|
||||
公司:<text v-if="oaUserInfo.admin.company">{{ oaUserInfo.admin.company.company_name }}</text>
|
||||
<!-- {{ oaUserInfo.did_name }}({{ oaUserInfo.label_name }}) -->
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user