|
|
|
|
@ -13,44 +13,34 @@
|
|
|
|
|
@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;"
|
|
|
|
|
>
|
|
|
|
|
<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 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_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 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 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_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 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>
|
|
|
|
|
@ -60,6 +50,7 @@
|
|
|
|
|
<view class="g_mt_10" v-if="isJm">
|
|
|
|
|
<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>
|
|
|
|
|
<!-- v-if="applystatys == 1" -->
|
|
|
|
|
<view class="g_mt_10 g_position_rela u-skeleton" v-if="applystatys == 1">
|
|
|
|
|
<g-panel-form-item
|
|
|
|
|
:list="[
|
|
|
|
|
@ -69,19 +60,18 @@
|
|
|
|
|
result: '已提交',
|
|
|
|
|
path: '/root/bind/applyForm?code=' + agencyCode + '&foa=1',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
itype: 'icon',
|
|
|
|
|
pColumn:16,
|
|
|
|
|
pColumn: 16,
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
@clickItem="goPaga('/root/bind/applyForm?code=' + agencyCode + '&foa=1')"
|
|
|
|
|
/>
|
|
|
|
|
</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" />
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_mt_10" v-if="!userInfo.agencyId && isLogin">
|
|
|
|
|
|
|
|
|
|
<!-- v-if="!userInfo.agencyId && isLogin" -->
|
|
|
|
|
<view class="g_mt_10" v-if="(!userInfo.agencyId || !applystatys) && isLogin">
|
|
|
|
|
<g-panel-form-item
|
|
|
|
|
:list="[
|
|
|
|
|
{
|
|
|
|
|
@ -91,15 +81,18 @@
|
|
|
|
|
path: '',
|
|
|
|
|
tip: 'set',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
pColumn:16,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
pColumn: 16,
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
@clickItem="handleOpenForm"
|
|
|
|
|
/>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_mt_10" style="margin-top: 24px;">
|
|
|
|
|
<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" />
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_mt_10" style="margin-top: 24px">
|
|
|
|
|
<g-panel-form-item
|
|
|
|
|
:list="[
|
|
|
|
|
{
|
|
|
|
|
@ -109,9 +102,9 @@
|
|
|
|
|
path: '/root/person/feedback',
|
|
|
|
|
tip: 'set',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
pColumn:16,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
pColumn: 16,
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
@clickItem="goPage('/root/person/feedback')"
|
|
|
|
|
@ -128,9 +121,9 @@
|
|
|
|
|
path: '/root/person/set',
|
|
|
|
|
tip: 'set',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
pColumn:16,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
pColumn: 16,
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
@clickItem="goPage('/root/person/set')"
|
|
|
|
|
@ -146,9 +139,9 @@
|
|
|
|
|
path: '/root/person/config',
|
|
|
|
|
tip: 'set',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
pColumn:16,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
pColumn: 16,
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
@clickItem="goPage('/root/person/config')"
|
|
|
|
|
@ -166,19 +159,16 @@
|
|
|
|
|
result: agencyInfo.fullName || agencyInfo.agencyName || '设置企业信息',
|
|
|
|
|
path: '/root/person/teamManage',
|
|
|
|
|
pRow: 0,
|
|
|
|
|
rpl:0,
|
|
|
|
|
fpl:0,
|
|
|
|
|
rpl: 0,
|
|
|
|
|
fpl: 0,
|
|
|
|
|
itype: 'icon',
|
|
|
|
|
pColumn:16,
|
|
|
|
|
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"
|
|
|
|
|
>
|
|
|
|
|
<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">
|
|
|
|
|
<view class="iconfont icon-shangjiahoutai g_mr_6 g_mt_2"></view>
|
|
|
|
|
<view class="g_fw_600 g_fs_17">商家管理后台</view>
|
|
|
|
|
<view v-if="hasNewResume > 0" class="g_ml_4" style="font-size: 12px; color: #ffffff; background-color: #fa3534; display: inline-flex; justify-content: center; align-items: center; line-height: 24rpx; padding: 4rpx 8rpx; border-radius: 100rpx; z-index: 9">
|
|
|
|
|
@ -249,13 +239,13 @@ export default {
|
|
|
|
|
onReady() {},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
isfdb:uni.getAccountInfoSync().miniProgram.appId == 'wxfab5320942daaafa',
|
|
|
|
|
isfdb: uni.getAccountInfoSync().miniProgram.appId == "wxfab5320942daaafa",
|
|
|
|
|
downCount: 0,
|
|
|
|
|
poastList: [],
|
|
|
|
|
appdatas:{},
|
|
|
|
|
agencyCode:'',
|
|
|
|
|
applystatys:null,
|
|
|
|
|
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
|
|
|
|
|
appdatas: {},
|
|
|
|
|
agencyCode: "",
|
|
|
|
|
applystatys: null,
|
|
|
|
|
isJm: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == "114827",
|
|
|
|
|
demoModeEnabled: uni.getStorageSync("DEMO_MODE_ENABLED") || false,
|
|
|
|
|
themeColor: getApp().globalData.themeColor,
|
|
|
|
|
themeBackgroundColor: getApp().globalData.themeBackgroundColor,
|
|
|
|
|
@ -348,18 +338,18 @@ export default {
|
|
|
|
|
that.getinfoByLogin();
|
|
|
|
|
that.getPoastList();
|
|
|
|
|
that.G.Post(
|
|
|
|
|
that.api.bind_list,
|
|
|
|
|
that.api.bind_list,
|
|
|
|
|
{
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 1,
|
|
|
|
|
keys: '',
|
|
|
|
|
keys: "",
|
|
|
|
|
platform: "pc",
|
|
|
|
|
type: 2,
|
|
|
|
|
formdata: true,
|
|
|
|
|
},
|
|
|
|
|
(downRes) => {
|
|
|
|
|
that.downCount = downRes.recordCount;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
@ -729,17 +719,17 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getinfoByLogin(){
|
|
|
|
|
getinfoByLogin() {
|
|
|
|
|
let that = this;
|
|
|
|
|
that.G.Get(that.api.get_infoByLogin + '/' + uni.getStorageSync("AGENCY_ID"), {}, (res) => {
|
|
|
|
|
that.G.Get(that.api.get_infoByLogin + "/" + uni.getStorageSync("AGENCY_ID"), {}, (res) => {
|
|
|
|
|
console.log("getinfoByLogin", res);
|
|
|
|
|
if(res){
|
|
|
|
|
if (res) {
|
|
|
|
|
that.applystatys = res.recordStatus;
|
|
|
|
|
that.agencyCode = res.agencyCode;
|
|
|
|
|
that.appdatas = res;
|
|
|
|
|
}else{
|
|
|
|
|
that.applystatys = '';
|
|
|
|
|
that.agencyCode = '';
|
|
|
|
|
} else {
|
|
|
|
|
that.applystatys = "";
|
|
|
|
|
that.agencyCode = "";
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
@ -769,7 +759,7 @@ export default {
|
|
|
|
|
that.userInfo.teamType = userInfo.teamType;
|
|
|
|
|
console.log("that.userInfo", that.userInfo);
|
|
|
|
|
},
|
|
|
|
|
goPaga($path){
|
|
|
|
|
goPaga($path) {
|
|
|
|
|
let that = this;
|
|
|
|
|
console.log("goPaga $path", $path);
|
|
|
|
|
uni.setStorageSync("applyfoemdata", JSON.stringify(that.appdatas));
|
|
|
|
|
@ -1036,19 +1026,21 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.getPoster(_item.url);
|
|
|
|
|
},
|
|
|
|
|
handleOpenForm(){
|
|
|
|
|
handleOpenForm() {
|
|
|
|
|
let that = this;
|
|
|
|
|
uni.showModal({
|
|
|
|
|
cancelText: '取消',
|
|
|
|
|
cancelText: "取消",
|
|
|
|
|
confirmColor: getApp().globalData.themeColor,
|
|
|
|
|
confirmText: '申请加入',
|
|
|
|
|
content: '需要加入' + getApp().globalData.title + '后,才能查看职位佣金',
|
|
|
|
|
title: '',
|
|
|
|
|
success: (result) => {},
|
|
|
|
|
confirmText: "申请加入",
|
|
|
|
|
content: "需要加入" + getApp().globalData.title + "后,才能查看职位佣金",
|
|
|
|
|
title: "",
|
|
|
|
|
success: (result) => {
|
|
|
|
|
that.goPaga("/root/bind/applyForm?code=" + that.agencyCode);
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {},
|
|
|
|
|
complete: (res) => {},
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|