【BUG】 标协会员基本信息修改

This commit is contained in:
fengachen
2022-01-13 12:42:48 +08:00
parent fb86d8a546
commit 747de4cccd
2 changed files with 16 additions and 8 deletions
+9 -1
View File
@@ -14,8 +14,16 @@ Page({
getStandardBasicInfo().then(res => {
console.log(res);
if(res.success){
const secretariatInfo = res.result.tbContacts || {}
const obj = {}
obj.address = secretariatInfo.address || '天津市东丽开发区先锋东路68号'
obj.realname = res.result.secretariat.realname || '郭琳'
obj.telephone = secretariatInfo.telephone
obj.email = secretariatInfo.email
this.setData({
secretariatInfo:res.result.tbContacts,
secretariatInfo:obj,
companyInfo:res.result.memberInfo
})
}
@@ -15,11 +15,11 @@
</view>
<view>
<text>联系人电话:</text>
<text>{{secretariatInfo.telephone}}</text>
<text>{{secretariatInfo.telephone || ''}}</text>
</view>
<view>
<text>联系人邮箱:</text>
<text>{{secretariatInfo.email}}</text>
<text>{{secretariatInfo.email || ''}}</text>
</view>
</view>
<!-- 秘书处信息end -->
@@ -31,23 +31,23 @@
</view>
<view>
<text>企业名称:</text>
<text>{{companyInfo.companyName}}</text>
<text>{{companyInfo.companyName || ''}}</text>
</view>
<view>
<text>企业管理员:</text>
<text>{{companyInfo.liaisonMan}}</text>
<text>{{companyInfo.liaisonMan || ''}}</text>
</view>
<view>
<text>管理员电话:</text>
<text>{{companyInfo.mobile}}</text>
<text>{{companyInfo.mobile || ''}}</text>
</view>
<view>
<text>管理人邮箱:</text>
<text>{{companyInfo.email}}</text>
<text>{{companyInfo.email || ''}}</text>
</view>
<view>
<text>会员有效期:</text>
<text>{{companyInfo.validDate}}</text>
<text>{{companyInfo.validDate || ''}}</text>
</view>
</view>
<!-- 本企业信息end' -->