no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 3f91151414
commit d433c903a6

@ -11,11 +11,11 @@
<img :src="info.logo" alt="" style="width: 64px; height: 64px;border-radius: 50%;" /> <img :src="info.logo" alt="" style="width: 64px; height: 64px;border-radius: 50%;" />
</div> </div>
<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.ffullName }}
</div>
<div style="color:#999999;font-size: 14px;">
{{ info.ddsec }}
</div> </div>
<!-- <div style="color:#999999;font-size: 14px;">
{{ info.nickname }}
</div> -->
</div> </div>
<div style="margin: 24px auto 0;width: calc(100% - 20px);"> <div style="margin: 24px auto 0;width: calc(100% - 20px);">
@ -146,7 +146,7 @@ export default {
newForm:{ newForm:{
wxname:'微信昵称', wxname:'微信昵称',
wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
companyName: "", companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '',
phone: "", phone: "",
remark:'' remark:''
}, },
@ -170,7 +170,7 @@ export default {
}, },
btnSpeed: -1, // -1 0 1 2 btnSpeed: -1, // -1 0 1 2
foa:2 foa:2,
}; };
}, },
onLoad(options) { onLoad(options) {
@ -196,13 +196,16 @@ export default {
that.newForm = { that.newForm = {
wxname:_datas.nickName || '微信昵称', wxname:_datas.nickName || '微信昵称',
wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
companyName: _datas.agencyName, companyName: _datas.applyFullName,
phone: _datas.tel, phone: _datas.tel,
remark:_datas.remark, remark:_datas.remark,
}; };
that.info.logo = _datas.logo; that.info.logo = _datas.logo;
that.info.recordStatus = 1; that.info.recordStatus = 1;
that.info.agencyName = _datas.agencyName; that.info.agencyName = _datas.agencyName;
that.info.agencySlogan = _datas.agencySlogan;
that.info.ddsec = uni.getStorageSync("miniApp-info").desp;
that.info.ffullName = uni.getStorageSync("miniApp-info").fullName || uni.getStorageSync("miniApp-info").agencyName;
} }
}else{ }else{
this.wxCode = options.code; this.wxCode = options.code;
@ -257,6 +260,8 @@ export default {
* 4 已删除 * 4 已删除
*/ */
if(res.recordStatus == 0){ if(res.recordStatus == 0){
res.ddsec = uni.getStorageSync("miniApp-info").desp;
res.ffullName = uni.getStorageSync("miniApp-info").fullName || uni.getStorageSync("miniApp-info").agencyName;
that.info = res; that.info = res;
setTimeout(() => { setTimeout(() => {
that.isloading = false; that.isloading = false;
@ -280,7 +285,7 @@ export default {
} }
if(!that.newForm.wxavatar){ if(!that.newForm.wxavatar){
uni.showToast({ uni.showToast({
title: '请授权获取用户信息', title: '请授权获取用户头像',
icon: 'none' icon: 'none'
}); });
return false; return false;
@ -294,14 +299,14 @@ export default {
} }
if(!that.newForm.companyName){ if(!that.newForm.companyName){
uni.showToast({ uni.showToast({
title: '请输入企业称', title: '请输入企业称',
icon: 'none' icon: 'none'
}); });
return false; return false;
} }
if(!that.newForm.phone){ if(!that.newForm.phone){
uni.showToast({ uni.showToast({
title: '请输入手机号', title: '请输入联系电话',
icon: 'none' icon: 'none'
}); });
return false; return false;

Loading…
Cancel
Save