|
|
|
|
@ -11,11 +11,11 @@
|
|
|
|
|
<img :src="info.logo" alt="" style="width: 64px; height: 64px;border-radius: 50%;" />
|
|
|
|
|
</div>
|
|
|
|
|
<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 style="color:#999999;font-size: 14px;">
|
|
|
|
|
{{ info.nickname }}
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="margin: 24px auto 0;width: calc(100% - 20px);">
|
|
|
|
|
@ -146,7 +146,7 @@ export default {
|
|
|
|
|
newForm:{
|
|
|
|
|
wxname:'微信昵称',
|
|
|
|
|
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: "",
|
|
|
|
|
remark:''
|
|
|
|
|
},
|
|
|
|
|
@ -170,7 +170,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
btnSpeed: -1, // -1 默认 0 按下 1请求中 2请求后
|
|
|
|
|
foa:2
|
|
|
|
|
foa:2,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
onLoad(options) {
|
|
|
|
|
@ -196,13 +196,16 @@ export default {
|
|
|
|
|
that.newForm = {
|
|
|
|
|
wxname:_datas.nickName || '微信昵称',
|
|
|
|
|
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,
|
|
|
|
|
remark:_datas.remark,
|
|
|
|
|
};
|
|
|
|
|
that.info.logo = _datas.logo;
|
|
|
|
|
that.info.recordStatus = 1;
|
|
|
|
|
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{
|
|
|
|
|
this.wxCode = options.code;
|
|
|
|
|
@ -257,6 +260,8 @@ export default {
|
|
|
|
|
* 4 已删除
|
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
that.isloading = false;
|
|
|
|
|
@ -280,7 +285,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
if(!that.newForm.wxavatar){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请授权获取用户信息',
|
|
|
|
|
title: '请授权获取用户头像',
|
|
|
|
|
icon: 'none'
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
@ -294,14 +299,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
if(!that.newForm.companyName){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请输入企业名称',
|
|
|
|
|
title: '请输入企业简称',
|
|
|
|
|
icon: 'none'
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if(!that.newForm.phone){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请输入手机号',
|
|
|
|
|
title: '请输入联系电话',
|
|
|
|
|
icon: 'none'
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
|