diff --git a/root/bind/applyForm.vue b/root/bind/applyForm.vue
index 5fa93f9..d7bb532 100644
--- a/root/bind/applyForm.vue
+++ b/root/bind/applyForm.vue
@@ -11,11 +11,11 @@
- {{ info.agencyName }}
+ {{ info.ffullName }}
+
+
+ {{ info.ddsec }}
-
@@ -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;