no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 22c770f3d9
commit fc26a71403

@ -721,6 +721,12 @@
"navigationBarTitleText": "代理审批"
}
},
{
"path": "viewfs",
"style": {
"navigationBarTitleText": "代理详情"
}
},
// {
// "path": "myMain",
// "style": {

@ -22,7 +22,7 @@
</view>
</view>
</u-sticky>
<view class="g_flex_row_start g_pt_12 g_pl_16 g_pr_16 g_bg_f"
<view class="g_flex_row_start g_pt_6 g_pl_16 g_pr_16 g_bg_f"
v-for="(itm,inx) in item.children" :key="inx"
@click="goPage(itm,item)"
hover-class="thover"
@ -31,7 +31,7 @@
<rh-image :url="itm.logo" size='80' radius="50" v-if="itm.logo" />
<rh-image size='80' radius="50" v-if="!itm.logo" />
<view class="g_flex_c"
<!-- <view class="g_flex_c"
v-if="itm.supplierAccount == 1"
style="position:absolute; overflow:hidden;width: 20px;height: 10px;right: -2px;top: 0;"
>
@ -39,13 +39,17 @@
mode="widthFix"
style="width: 16px;height: 13px;"
></image>
</view>
</view> -->
</view>
<view class="g_flex_1 g_border_e_b">
<view class="g_flex_row_between g_pb_12">
<view class="g_flex_1 g_flex_column_between g_h_48">
<view class="g_flex_row_between g_pb_6">
<view class="g_flex_1 g_h_48"
:class="itm.remark || itm.tel ? 'g_flex_column_between' : 'g_flex_column_center'"
>
<view class="g_fs_17 g_c_3">{{itm.agencyName}}</view>
<view class="g_fs_14 g_c_9">{{itm.remark ? itm.remark : '-'}}</view>
<view class="g_fs_14 g_c_9" v-if="itm.remark || itm.tel">
{{itm.remark && itm.remark.trim() ? itm.remark : (itm.tel ? itm.tel : '-')}}
</view>
</view>
<view class="g_flex_none g_flex_column_center">
<!-- 三天前未通过的为已过期已通过的不动 -->

@ -1,7 +1,7 @@
<template>
<view class="p-bind-inedx g_w_all g_kuaishou" style="background-color:#ededed;min-height: 100vh;">
<view class="m-top">
<view class="m-search g_p_10 g_pb_0 g_position_rela g_p_12" style="background-color:#ededed;">
<view class="m-search g_p_10 g_pb_0 g_position_rela g_p_12" style="background-color:#ededed;padding: 10px;">
<u-search height="80" v-model="keyword" placeholder="搜索我的代理" bg-color="#fff"
:show-action="false" @btnSearch="getSearch" @change="getSearch"
@clear="getSearch" @custom="getSearch" @search="getSearch" search-icon-color="#999999" :maxlength="20"
@ -11,7 +11,7 @@
</view>
<view class="">
<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="goPaga('/root/bind/applyList')">
@click="goPaga('/root/bind/applyList')" style="padding: 12px 16px;">
<view class="g_flex_row_start flex_center">
<img src="https://bocai-cms.oss-cn-beijing.aliyuncs.com/bf586cad-c6f0-4417-86c8-6cf55310ace7_123456.svg" class="g_w_48 g_h_48 g_radius_50" alt="" />
<view class="g_flex_column_between g_ml_10">
@ -33,73 +33,20 @@
<view v-if="!loading && speed == 0" class="g_pt_130">
<rh-empty :text="isLogin ? '暂无数据' : '请登录'" />
</view>
<view v-if="speed > 0 && tabFansInfo.active == 0">
<view v-for="(item, index) in applyList" :key="index">
<u-sticky :index="index" offset-top="80">
<view class="">
<view class="g_c_9 g_fs_14 g_pt_8 g_pb_8 g_pl_16 g_pr_16 true g_bg_f_5" v-if="item.isShowTime">{{ item.time }}</view>
<view class="g_c_3 g_fs_14 g_pt_8 g_pb_8 g_pl_16 g_pr_16 g_bg_f_5 false" v-if="!item.isShowTime">
{{ stickyText }}
</view>
</view>
</u-sticky>
<view class="g_flex_row_start g_pt_12 g_pl_16 g_pr_16 g_bg_f" v-for="(itm, inx) in item.children" :key="inx" @click="goPage(itm, item)" hover-class="thover" :style="{ 'border-bottom': inx == item.children.length - 1 ? '1rpx solid #eee' : '1rpx solid #eee' }">
<view class="g_flex_none g_mr_11 m-avatar" style="position: relative">
<rh-image :url="itm.logo" size="96" radius="6" v-if="itm.logo" />
<rh-image size="96" radius="6" v-if="!itm.logo" />
<view class="g_flex_c" v-if="itm.supplierAccount == 1" style="position: absolute; overflow: hidden; width: 20px; height: 10px; right: -2px; top: 0">
<image :src="cdnBaseImg + 'fadanhao.svg'" mode="widthFix" style="width: 16px; height: 13px"></image>
</view>
</view>
<view class="g_flex_1">
<view class="g_flex_row_between g_pb_12">
<view class="g_flex_1 g_flex_column_between g_h_48">
<view class="g_fs_17 g_c_3">{{ itm.agencyName }}</view>
<view class="g_fs_14 g_c_9">{{ itm.remark ? itm.remark : "-" }}</view>
</view>
<view class="g_flex_none g_flex_column_center">
<!-- 三天前未通过的为已过期已通过的不动 -->
<view>
<view v-if="itm.recordStatus == 1 && item.time == '近三天'" @click.stop="quickSuccess(itm, inx)">
<view hover-stop-propagation hover-class="thover" class="g_radius_14 g_h_28 g_fs_14 g_c_6 g_pr_8 g_pl_8 g_flex_row_center flex_center g_bg_main g_c_f"> 通过 </view>
<!-- <rh-button primaryColor='#00b666' type='infro' size='mini' btnText='通过' /> -->
<!-- <view hover-stop-propagation hover-class="g_bg_e" class="g_radius_14 g_h_28 g_fs_14 g_c_6 g_pr_8 g_pl_8 g_flex_row_center flex_center g_bg_f_5 g_c_6">通过</view> -->
</view>
<view v-if="itm.recordStatus == 2">
<!-- <view class="g_radius_14 g_h_28 g_border_e g_fs_14 g_c_6 g_pr_8 g_pl_8 g_flex_row_center flex_center"
style="border: 1px solid #ccc;"
>
<i class="iconfont icon-duihao g_fsi_12 g_mr_2 g_c_6"></i>
已通过
</view> -->
<rh-button primaryColor='#00b666' type="none" size="mini" btnText="已通过" />
</view>
<view v-if="itm.recordStatus == 1 && item.time == '三天前'"></view>
</view>
</view>
</view>
</view>
</view>
</view>
<view style="background-color: #ededed">
<g-panel-hr :str="speed + '个新粉丝申请'" />
</view>
<view class="g_h_50 g_w_all" style="background-color: #ededed"></view>
</view>
<view v-if="speed > 0 && tabFansInfo.active == 1">
<view class="item g_flex_row_between g_pl_16 g_pr_16 g_pb_6 g_pt_6 g_bg_f" hover-class="thover" v-for="(item, index) in query.list" :key="index" @click="goPage(item)":class="index == 0 ? 'g_pt_12' : ''" :style="{ 'border-bottom': index == query.list.length - 1 ? '1rpx solid #eee' : '1rpx solid #eee' }">
<view class="item g_flex_row_between g_pl_16 g_pr_16 g_bg_f"
hover-class="thover" v-for="(item, index) in query.list" :key="index" @click="goPage(item)"
:style="{ 'border-bottom': index == query.list.length - 1 ? '1rpx solid #eee' : '1rpx solid #eee' }">
<view class="g_flex_none g_flex_row_start">
<view class="g_flex_column_center g_pr_16 g_flex_none" style="position: relative">
<rh-image :url="item.logo" size="96" radius="50" v-if="item.logo" />
<rh-image size="96" radius="50" v-if="!item.logo" />
<view v-if="item.supplierAccount == 1" style="position: absolute; left: 0; width: 48px; height: 48px" class="g_flex_row_end">
<!-- <view v-if="item.supplierAccount == 1" style="position: absolute; left: 0; width: 48px; height: 48px" class="g_flex_row_end">
<view class="g_flex_c" style="position: absolute; overflow: hidden; width: 20px; height: 10px; right: -2px; top: 0px">
<image :src="cdnBaseImg + 'fadanhao.svg'" mode="widthFix" style="width: 16px; height: 13px"></image>
</view>
</view>
</view> -->
</view>
</view>
@ -107,13 +54,17 @@
<view class="g_flex_row_between">
<view class="g_flex_column_center g_flex_1">
<view class="g_flex_row_start_none">
<view class="g_ell_1 g_fs_17 g_c_0 g_flex_none" style="max-width:calc(100vw - 158px);">{{ item.agencyName }} </view>
<view class="g_ml_6 g_text_c g_flex_1">
<view class="g_flex_column_center">
<div class="g_fs_17 g_c_0 g_flex_none g_ell_1" style="max-width:calc(100vw - 158px);">
{{ item.agencyName }}
</div>
</view>
<!-- <view class="g_ml_6 g_text_c g_flex_1">
<view class="g_w_36 g_h_18 g_fs_12 g_redius_4" style="background-color: #f2f7ff; color: #1677ff" v-if="item.teamType == 2"></view>
<view class="g_w_36 g_h_18 g_fs_12 g_redius_4" style="background-color: #fff5f5; color: #ff4d4f" v-if="item.teamType == 1"></view>
</view> -->
</view>
</view>
<view class="g_ell_1 g_fs_14 g_c_9 g_mt_4">{{ item.remark ? item.remark : "-" }}</view>
<!-- <view class="g_ell_1 g_fs_14 g_c_9 g_mt_4">{{ item.remark ? item.remark : "-" }}</view> -->
</view>
<view class="g_flex_column_center g_mb_12" v-if="tabInfo.active == 1 && false">
@ -540,7 +491,7 @@ export default {
// if ($itm.recordStatus == 1) {
//
uni.navigateTo({
url: "/root/bind/view?id=" + $itm.id + "&type=2&status=" + $itm.recordStatus,
url: "/root/bind/viewfs?id=" + $itm.agencyId + "&type=2&status=" + $itm.recordStatus + '&useform=1',
});
// } else {
// let params = {

@ -20,9 +20,9 @@
</div>
<div
style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;">
{{ info.remark.trim() || '无申请说明' }}
{{ info.remark && info.remark.trim() || '无申请说明' }}
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;">
{{ info.remark.trim() ? (info.remark.length) : 5 }}/ 30
{{ info.remark && info.remark.trim() ? (info.remark.length) : 5 }}/ 30
</div>
</div>
<view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" v-if="type == 2 && title != '三天前'">

@ -0,0 +1,143 @@
<template>
<view class="p-root-bind-view g_w_all g_h_all g_bg_f_5 g_kuaishou">
<view class="g_h_10"></view>
<div style="background-color: #fff;width: calc(100% - 20px);margin: 0px auto;border-radius: 8px;padding-left: 10px;padding-top: 8px;">
<div class="g_flex_row_between">
<div style="width: 64px;height: 64px;overflow: hidden;margin-right: 10px;" class="g_flex_c g_flex_none">
<img :src="info.logo || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg'" alt="" style="width: 64px;height: 64px;border-radius: 50%;">
</div>
<div class="g_flex_1" style="padding: 8px 0;border-bottom: 1px solid rgba(0, 0, 0, 0.1);padding-right: 12px;height: 72.5px;">
<div style="color: #000;font-size: 17px;margin-bottom: 8px;" class="g_ell_1">{{ info.agencyName }}</div>
<div style="color: #999;font-size: 14px;" class="g_ell_1">{{ info.nickName }}</div>
</div>
</div>
<div class="g_flex_row_start" style="padding: 10px 0;" v-if="info.tel">
<div style="color: #000;font-size: 14px;margin-right: 14px;padding-left: 4px;">联系电话</div>
<div style="color: #576b95;font-size: 14px;">
{{ info.tel }}
</div>
</div>
</div>
<div
style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;">
{{ info.remark && info.remark.trim() || '无申请说明' }}
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;">
{{ info.remark && info.remark.trim() ? (info.remark.length) : 5 }}/ 30
</div>
</div>
</view>
</template>
<script>
export default {
onReady() {
this.G.setNavStyle();
},
onShareAppMessage() {
return this.G.shareFun();
},
data() {
return {
id: 0,
type: 0,
info: {
logo: "",
agencyName: "",
jobNum: 0,
agencyId: 0,
form: "-",
remark: "-",
},
status: 0,
title: "",
};
},
onLoad(option) {
this.id = option.id;
this.type = option.type;
this.status = option.status;
this.title = option.time || '';
this.getList();
},
methods: {
getList() {
let that = this;
that.G.Get(
that.api.bind_enterpriseDetail + "/" + that.id + "?type=1",
{
id: that.id,
},
(res) => {
console.log("获取详情:", res);
that.info = res;
}
);
},
goPage($path) {
if (this.type == 2 && this.title != "三天前") {
uni.navigateTo({
url: $path,
});
}
},
handleSubmit() {
let that = this;
uni.showLoading({
title: "正在处理",
});
setTimeout(() => {
uni.showLoading({
title: "已发送",
});
uni.hideToast();
setTimeout(() => {
that.G.Get(
that.api.bind_recordSubmit + "/" + that.id,
{
id: that.id,
},
(res) => {
uni.showToast({
title: "已通过验证",
success() {},
});
let params = {
id: that.info.agencyId,
type: that.type,
isShowMore: false,
isShowJob: false,
};
if (res == 1) {
//
params.isShowMore = true;
params.isShowJob = true;
} else {
//
params.isShowMore = true;
params.isShowJob = false;
}
const pages = getCurrentPages();
let _path = pages[pages.length - 1].route;
setTimeout(() => {
uni.navigateBack({
delta: 1,
});
}, 1500);
}
);
}, 300);
}, 500);
},
},
};
</script>
<style lang="scss">
.dbtn{
.bocai_btn_type_disabled{
background-color:#999999 !important;
border:1px solid #999999 !important;
color:#ffffff !important;
}
}
</style>

@ -20,9 +20,9 @@
</div>
<div
style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;">
{{ info.remark.trim() || '无申请说明' }}
{{ info.remark && info.remark.trim() || '无申请说明' }}
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;">
{{ info.remark.trim() ? (info.remark.length) : 5 }}/ 30
{{ info.remark && info.remark.trim() ? (info.remark.length) : 5 }}/ 30
</div>
</div>
<view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" >

Loading…
Cancel
Save