cyl/job_im_cus
wangxia 2 weeks ago
parent c5f2aae71f
commit f86aa75c15

@ -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="[
@ -78,10 +69,9 @@
@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="[
{
@ -99,7 +89,10 @@
@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="[
{
@ -175,10 +168,7 @@
@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:'',
agencyCode: "",
applystatys: null,
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
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,
@ -352,14 +342,14 @@ export default {
{
pageNum: 1,
pageSize: 1,
keys: '',
keys: "",
platform: "pc",
type: 2,
formdata: true,
},
(downRes) => {
that.downCount = downRes.recordCount;
}
},
);
});
} else {
@ -731,15 +721,15 @@ export default {
},
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) {
that.applystatys = res.recordStatus;
that.agencyCode = res.agencyCode;
that.appdatas = res;
} else {
that.applystatys = '';
that.agencyCode = '';
that.applystatys = "";
that.agencyCode = "";
}
});
},
@ -1039,16 +1029,18 @@ export default {
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>

@ -262,7 +262,7 @@ export default {
that.G.Get(
that.api.bind_getSubscribeDetail,
{
inviteCode: that.wxCode,
inviteCode: that.wxCode || uni.getStorageSync("miniApp-info").inviteCode,
},
(res) => {
console.log("企业基本信息:", res);

Loading…
Cancel
Save