no message

cyl/job_im
jscyl13849007907 1 week ago
parent 13c24f460e
commit 3f182c29fd

@ -53,7 +53,7 @@
</div>
<div class="bottom-line g_flex_column_center g_flex_1" style="padding-left: 10px">
<div class="g_fs_17 g_flex_row_between" v-if="item.userinfo && item.userinfo[0].name">
<div class="g_ell_1 g_flex_1" style="color: #333;font-size: 16px;">
<div class="g_ell_1 g_flex_1" style="color: #000;font-size: 17px;">
{{ item.userinfo[0].name }} <span v-if="item.subtitle" style="color: orange;font-size: 14px;position: relative;top: -1px;">@{{ item.subtitle }}</span>
</div>
<div class="g_flex_none g_fs_12 g_ml_10" style="color: #999">

@ -13,63 +13,53 @@
@clickCard="goPage('/root/person/info')"
/>
</view>
<view class="g_mt_10" v-if="isJm"
style="background-color: #fff;border-radius: 8px;overflow: hidden;width: calc(100% - 20px);margin: 10px auto;"
>
<div class="g_flex_row_between" @click="goPage('/root/bind/fensi')">
<div class="g_flex_none g_flex_column_center" style="padding-left: 10px;height: 56px;">
<i class="iconfont g_fs_24 g_mr_5 icon-index" style="color: #333;"></i>
</div>
<div class="g_flex_1 g_flex_row_between" style="border-bottom: 0.5px solid #eee;">
<div class="g_flex_none g_flex_column_center" style="color: #000;font-size: 17px;">
下游代理
</div>
<div class="g_flex_1 g_flex_column_center" style="padding-right: 10px;">
<div class="g_flex_row_end">
<div class="g_flexx_1 g_flex_column_center" style="color: #999;font-size: 17px;height: 56px;" v-if="downCount">
{{ downCount }}
</div>
<div class="g_flex_none g_flex_column_center" style="height: 56px;">
<i class="iconfont icon-gengduo11" style="color: #ccc;"></i>
</div>
</div>
</div>
</div>
</div>
<div class="g_flex_row_between" @click="goPage('/root/bind/search?active=1')">
<div class="g_flex_none g_flex_column_center" style="padding-left: 10px;height: 56px;">
<i class="iconfont g_fs_24 g_mr_5 icon-addteam" style="color: #333;"></i>
</div>
<div class="g_flex_1 g_flex_row_between">
<div class="g_flex_none g_flex_column_center" style="color: #000;font-size: 17px;">
发展代理
</div>
<div class="g_flex_1 g_flex_column_center" style="padding-right: 10px;">
<div class="g_flex_row_end">
<div class="g_flexx_1 g_flex_column_center" style="color: #999;font-size: 17px;height: 56px;">
邀请更多代理关注我
</div>
<div class="g_flex_none g_flex_column_center" style="height: 56px;">
<i class="iconfont icon-gengduo11" style="color: #ccc;"></i>
</div>
</div>
</div>
</div>
</div>
</view>
<view class="g_mt_10" v-if="isLogin">
<g-panel-poster-card :list="poastList" cardType="img" titleNav="/root/person/posterShare" subhead="更多" :speed="1" :marginBottom="16" :num="4" cusTitle="分享海报" @clickImg="clickImg" @clickItem="titleNavigator" />
</view>
<!-- <view class="g_mt_10 g_mb_10">
<g-panel-form-item
:list="[
{
icon: 'wodegongzuo2',
label: '我的报名',
result: '',
path: '/root/person/enrollList',
tip: 'set',
pRow: 12,
},
]"
@clickItem="goPage('/root/person/enrollList')"
/>
</view> -->
<!-- <view class="g_mt_10" v-if="hasPermission">
<g-panel-poster-card :list="poastList" subhead="更多" cardType="img" titleNav="/root/merchantManagement/posterShare" :speed="1" :marginBottom="16" :num="4" cusTitle="分享海报" @clickImg="clickImg" @clickItem="handleClickNum" />
</view> -->
<view class="g_mt_10" v-if="isJm">
<view class="g_p_16 g_bg_f g_radius_8 g_flex_row_between flex_center g_ml_10 g_mr_10" hover-class="thover" @click="goPage('/root/bind/search?active=1')">
<view class="g_flex_row_start flex_center">
<img src="https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/fazhandaili0610.svg" class="g_w_48 g_h_48 g_radius_50" alt="" />
<view class="g_flex_column_between g_ml_10">
<view class="g_fs_16 g_c_0 g_fw_600 g_mb_6">发展代理</view>
<view class="g_c_9">邀请更多代理粉丝关注我</view>
</view>
</view>
<view class="g_bg_e7 g_radius_20" hover-class="thover" style="padding: 4px 12px"
:style="{
'backgroundColor':themeBackgroundColor,
'color':themeColor
}"
>去邀请</view>
</view>
</view>
<view class="g_mt_10 g_position_rela u-skeleton" v-if="isJm">
<g-panel-form-item
:list="[
{
icon: 'index',
label: '下游代理',
result: '',
path: '/root/bind/fensi',
pRow: 0,
rpl:0,
fpl:0,
itype: 'icon',
pColumn:16,
},
]"
@clickItem="goPage('/root/bind/fensi')"
/>
</view>
<!-- -->
<view class="g_mt_10 g_position_rela u-skeleton" v-if="applystatys == 1">
<g-panel-form-item
:list="[
@ -90,38 +80,6 @@
</view>
<view class="g_mt_10" v-if="userInfo.agencyId">
<g-panel-card-num :list="billDataList" titleNav="/root/person/applyIndex" :border="true" :speed="1" :marginBottom="16" cusType="num" :height="26" :num="5" cusTitle="报名工单(我报的)" @clickItem="goOrder" />
<!-- <g-panel-card-num :list="todayDataList"
titleNav="/root/person/todayData"
:border="true"
:speed="1"
:marginBottom="16"
cusType="num"
:height="26"
:num="5"
cusTitle="今日数据 (我报的)"
@clickItem="handleClickNus"
/> -->
</view>
<view class="g_mt_10 g_position_rela u-skeleton" v-if="userInfo.admin || isTeamleader">
<view class="g_radius_50 g_text_c" style="position: absolute; right: 16px; top: 5px; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="applyNum > 0">
{{ applyNum }}
</view>
<g-panel-form-item
:list="[
{
icon: 'team',
label: '团队管理',
result: agencyInfo.fullName || agencyInfo.agencyName || '设置企业信息',
path: '/root/person/teamManage',
pRow: 0,
rpl:0,
fpl:0,
itype: 'icon',
pColumn:16,
},
]"
@clickItem="goPage('/root/merchantManagement/teamManage')"
/>
</view>
<view class="g_mt_10" v-if="!userInfo.agencyId && isLogin">
<g-panel-form-item
@ -141,7 +99,7 @@
@clickItem="handleOpenForm"
/>
</view>
<view class="g_mt_10">
<view class="g_mt_10" style="margin-top: 24px;">
<g-panel-form-item
:list="[
{
@ -178,6 +136,27 @@
@clickItem="goPage('/root/person/set')"
/>
</view>
<view class="g_mt_24 g_position_rela u-skeleton" v-if="userInfo.admin || isTeamleader">
<view class="g_radius_50 g_text_c" style="position: absolute; right: 16px; top: 5px; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="applyNum > 0">
{{ applyNum }}
</view>
<g-panel-form-item
:list="[
{
icon: 'team',
label: '我的团队',
result: agencyInfo.fullName || agencyInfo.agencyName || '设置企业信息',
path: '/root/person/teamManage',
pRow: 0,
rpl:0,
fpl:0,
itype: 'icon',
pColumn:16,
},
]"
@clickItem="goPage('/root/merchantManagement/teamManage')"
/>
</view>
<view class="g_bg_f g_h_56 g_ml_12 g_mr_12 g_mt_24 g_radius_8 g_flex_row_center flex_center g_position_rela"
@click="goPage('/root/merchantManagement/merchantManagement')" hover-class="thover"
v-if="isAdmin"
@ -251,6 +230,7 @@ export default {
onReady() {},
data() {
return {
downCount: 0,
poastList: [],
appdatas:{},
agencyCode:'',
@ -333,26 +313,31 @@ export default {
if (uni.getStorageSync("apply-token")) {
that.G.checkToken();
}
if (this.isAdmin && this.hasPermission) {
}
},
onShow() {
let that = this;
// if (typeof that.$mp.page.getTabBar === "function" && that.$mp.page.getTabBar()) {
// that.$mp.page.getTabBar().setData({
// selected: uni.getAccountInfoSync().miniProgram.appId == "wxb0c590fd696b79be" ? 2 : 3,
// isShow: true,
// });
// }
if (uni.getStorageSync("apply-token")) {
this.G.checkToken().then(() => {
that.G.checkToken().then(() => {
that.agencyInfo = uni.getStorageSync("agencyInfo");
that.setUserInfo();
that.getResumeInfo();
that.getData();
that.getinfoByLogin();
this.getPoastList();
that.getPoastList();
that.G.Post(
that.api.bind_list,
{
pageNum: 1,
pageSize: 1,
keys: '',
platform: "pc",
type: 2,
formdata: true,
},
(downRes) => {
that.downCount = downRes.recordCount;
}
);
});
} else {
that.pageSpeed = 1;

Loading…
Cancel
Save