no message

cyl/job_im
jscyl13849007907 10 hours ago
parent 70fbeab310
commit 1b99112bce

@ -7,7 +7,7 @@ let personInfo = {// 用户信息模块
person_deleteUserBank: "/user/bank/deleteUserBank",// 解除绑定银行卡 person_deleteUserBank: "/user/bank/deleteUserBank",// 解除绑定银行卡
person_addUserBank: "/user/bank/addUserBank",// 绑定银行卡 person_addUserBank: "/user/bank/addUserBank",// 绑定银行卡
get_creator_tel: "/yishoudan/agency/getCreatorTel",// 获取创建人手机号(能获取到说明是创建人) get_creator_tel: "/yishoudan/agency/getCreatorTel",// 获取创建人手机号(能获取到说明是创建人)
get_infoByLogin: "/assistant/circle/agency/apply/infoByLogin",// 获取用户信息ByLogin
} }

@ -31,7 +31,7 @@
<!-- <view class="g_mt_10" v-if="hasPermission"> <!-- <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" /> <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> -->
<view class="g_mt_10" v-if="agencyInfo.supplierAccount == 1"> <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_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"> <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="" /> <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="" />
@ -66,6 +66,7 @@
@clickItem="goPage('/root/bind/fensi')" @clickItem="goPage('/root/bind/fensi')"
/> />
</view> </view>
<!-- -->
<view class="g_mt_10 g_position_rela u-skeleton" v-if="applystatys == 1"> <view class="g_mt_10 g_position_rela u-skeleton" v-if="applystatys == 1">
<g-panel-form-item <g-panel-form-item
:list="[ :list="[
@ -73,7 +74,7 @@
icon: 'time-circle', icon: 'time-circle',
label: '申请关注', label: '申请关注',
result: '已提交', result: '已提交',
path: ' ', path: '/root/bind/applyForm?code=' + agencyCode + '&foa=1',
pRow: 0, pRow: 0,
rpl:0, rpl:0,
fpl:0, fpl:0,
@ -81,6 +82,7 @@
pColumn:16, pColumn:16,
}, },
]" ]"
@clickItem="goPaga('/root/bind/applyForm?code=' + agencyCode + '&foa=1')"
/> />
</view> </view>
<view class="g_mt_10" v-if="userInfo.agencyId"> <view class="g_mt_10" v-if="userInfo.agencyId">
@ -246,6 +248,8 @@ export default {
onReady() {}, onReady() {},
data() { data() {
return { return {
appdatas:{},
agencyCode:'',
applystatys:null, 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',
themeColor: getApp().globalData.themeColor, themeColor: getApp().globalData.themeColor,
@ -343,7 +347,7 @@ export default {
that.setUserInfo(); that.setUserInfo();
that.getResumeInfo(); that.getResumeInfo();
that.getData(); that.getData();
// that.getinfoByLogin(); that.getinfoByLogin();
}); });
} else { } else {
that.pageSpeed = 1; that.pageSpeed = 1;
@ -362,7 +366,14 @@ export default {
let that = this; 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); console.log("getinfoByLogin", res);
that.applystatys = res; if(res){
that.applystatys = res.recordStatus;
that.agencyCode = res.agencyCode;
that.appdatas = res;
}else{
that.applystatys = '';
that.agencyCode = '';
}
}); });
}, },
getResumeInfo() { getResumeInfo() {
@ -391,6 +402,14 @@ export default {
that.userInfo.teamType = userInfo.teamType; that.userInfo.teamType = userInfo.teamType;
console.log("that.userInfo", that.userInfo); console.log("that.userInfo", that.userInfo);
}, },
goPaga($path){
let that = this;
console.log("goPaga $path", $path);
uni.setStorageSync("applyfoemdata", JSON.stringify(that.appdatas));
uni.navigateTo({
url: $path,
});
},
goPage($path) { goPage($path) {
this.G.isLogin(); this.G.isLogin();
if (this.G.isLogin()) { if (this.G.isLogin()) {

@ -13,9 +13,9 @@
<div class="g_flex_row_center" style="margin:6px 0 4px;color:#333;font-size: 18px;"> <div class="g_flex_row_center" style="margin:6px 0 4px;color:#333;font-size: 18px;">
{{ info.agencyName }} {{ info.agencyName }}
</div> </div>
<div style="color:#999999;font-size: 14px;"> <!-- <div style="color:#999999;font-size: 14px;">
{{ info.agencyName }}{{ info.agencyName }}{{ info.agencyName }} {{ info.nickname }}
</div> </div> -->
</div> </div>
<div style="margin: 24px auto 0;width: calc(100% - 20px);"> <div style="margin: 24px auto 0;width: calc(100% - 20px);">
@ -116,7 +116,7 @@
hover-class="thover" hover-class="thover"
@click="handleSubmit" @click="handleSubmit"
> >
{{ info.recordStatus == 1 ? "已申请" : info.recordStatus == 2 ? "已关注" : "申请关注" }} {{ info.recordStatus == 1 ? "已提交" : info.recordStatus == 2 ? "已关注" : "申请关注" }}
</view> </view>
</view> </view>
</view> </view>
@ -160,11 +160,12 @@ export default {
}, },
btnSpeed: -1, // -1 0 1 2 btnSpeed: -1, // -1 0 1 2
foa:2
}; };
}, },
onLoad(options) { onLoad(options) {
console.log("申请关注页面:", options); console.log("申请关注页面:", options);
let that = this;
if (options.scene) { if (options.scene) {
var sceneStr = decodeURIComponent(options.scene); var sceneStr = decodeURIComponent(options.scene);
var sceneJson = this.G.sceneToJson(sceneStr); var sceneJson = this.G.sceneToJson(sceneStr);
@ -177,11 +178,35 @@ export default {
} else { } else {
this.wxCode = options.code; this.wxCode = options.code;
this.form = options.form; this.form = options.form;
that.foa = options.foa;
if(options.foa == 1 && uni.getStorageSync("applyfoemdata")){
let _datas = JSON.parse(uni.getStorageSync("applyfoemdata"));
if(_datas){
that.newForm = {
wxname:_datas.nickName || '微信昵称',
wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
companyName: _datas.agencyName,
phone: _datas.tel,
remark:_datas.remark,
};
that.info.logo = _datas.logo;
that.info.recordStatus = 1;
that.info.agencyName = _datas.agencyName;
}
}else{
this.wxCode = options.code;
this.form = options.form;
}
} }
}, },
onShow() { onShow() {
let that = this; let that = this;
that.init(); if(that.foa != 1){
that.init();
}else{
that.isloading = false;
}
}, },
methods: { methods: {
getUserInfo(e) { getUserInfo(e) {

Loading…
Cancel
Save