提交 095c3847eece8b9e1d4ccdffb080bff1cd17d585

作者 pangy
2 个父辈 4d1e04e0 94234eb0

Merge branch '海峡' into 机器人_py

# Conflicts:
#	pages/main/taxperson/editinfo/editinfo.js
@@ -140,7 +140,7 @@ Page({ @@ -140,7 +140,7 @@ Page({
140 "id": that.data.supporter_id, 140 "id": that.data.supporter_id,
141 "legal_entity_id": that.data.legal_entity_id, 141 "legal_entity_id": that.data.legal_entity_id,
142 "co_supporter": formdata.name, 142 "co_supporter": formdata.name,
143 - "id_card_type": "1", 143 + "id_card_type": "居民身份证",
144 "id_card_no": formdata.id_card_no, 144 "id_card_no": formdata.id_card_no,
145 "birthday": that.data.birthday_datelong, 145 "birthday": that.data.birthday_datelong,
146 "nation": "中国", 146 "nation": "中国",
@@ -325,7 +325,7 @@ @@ -325,7 +325,7 @@
325 </view> 325 </view>
326 <view style='height:90rpx;width:100%;clear:both;'> 326 <view style='height:90rpx;width:100%;clear:both;'>
327 <text class='text_left'>配偶证照类型</text> 327 <text class='text_left'>配偶证照类型</text>
328 - <text class='text_right_333'>{{datas.id_card_type=='1'?"居民身份证":datas.spouse_id_card_type}}</text> 328 + <text class='text_right_333'>{{datas.id_card_type=='1'?"居民身份证":datas.id_card_type}}</text>
329 </view> 329 </view>
330 <view style='height:90rpx;width:100%;clear:both;'> 330 <view style='height:90rpx;width:100%;clear:both;'>
331 <text class='text_left'>配偶身份证照号码</text> 331 <text class='text_left'>配偶身份证照号码</text>
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
142 <view style="background:#f5f5f5;height:2rpx;width:94%;"></view> 142 <view style="background:#f5f5f5;height:2rpx;width:94%;"></view>
143 <view> 143 <view>
144 <text style='font-family: PingFangSC-Semibold;font-size: 14px;color: #333;line-height:80rpx;' wx:if="{{item.education_type=='profession'}}">技能人员职业资格</text> 144 <text style='font-family: PingFangSC-Semibold;font-size: 14px;color: #333;line-height:80rpx;' wx:if="{{item.education_type=='profession'}}">技能人员职业资格</text>
145 - <text style='font-family: PingFangSC-Semibold;font-size: 14px;color: #333;line-height:80rpx;' wx:if="{{item.education_type=='major'}}">专业人员职业资格</text> 145 + <text style='font-family: PingFangSC-Semibold;font-size: 14px;color: #333;line-height:80rpx;' wx:if="{{item.education_type=='major'}}">专业技术人员职业资格</text>
146 146
147 </view> 147 </view>
148 <view> 148 <view>
@@ -513,6 +513,9 @@ Page({ @@ -513,6 +513,9 @@ Page({
513 "Authorization": Authorization 513 "Authorization": Authorization
514 }, 514 },
515 success: function(res) { 515 success: function(res) {
  516 + if (res.data.items.length<1){
  517 + return
  518 + }
516 proffession_info.values = that.handleProfession(res.data.items) 519 proffession_info.values = that.handleProfession(res.data.items)
517 console.log('proffession_info------', proffession_info) 520 console.log('proffession_info------', proffession_info)
518 that.setData({ 521 that.setData({
注册登录 后发表评论