【BUG】 标协会员基本信息修改
This commit is contained in:
@@ -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' -->
|
||||
|
||||
Reference in New Issue
Block a user