提交 5d20d627e06674a880fd4d61cae306c5d565a07d

作者 wangyu
1 个父辈 e320c5f6

优化

... ... @@ -44,13 +44,13 @@
44 44 <text class='text_left'>受教育期间起</text>
45 45 <text class='text_right_333'>{{datas.education_start}}</text>
46 46 </view>
47   - <!-- <view style='height:90rpx;width:100%;clear:both;'>
  47 + <view style='height:90rpx;width:100%;clear:both;'>
48 48 <text class='text_left'>受教育期间止</text>
49 49 <text class='text_right_333'>{{datas.education_end}}</text>
50   - </view> -->
  50 + </view>
51 51 <view wx:if="{{datas.education_end&&datas.education_end.length>1}}" style='height:90rpx;width:100%;clear:both;'>
52 52 <text class='text_left'>教育终止时间</text>
53   - <text class='text_right_333'>{{datas.education_end}}</text>
  53 + <text class='text_right_333'>{{datas.education_period_end}}</text>
54 54 </view>
55 55 <view style='height:90rpx;width:100%;clear:both;'>
56 56 <text class='text_left'>就读国家(地区)</text>
... ...
... ... @@ -125,7 +125,7 @@ Page({
125 125 }
126 126 this.setData({
127 127 cur_status: housestatus,
128   - employee_status: options.employee_status,
  128 + employee_status: options.employee_status ? options.employee_status:"",
129 129 house_type: housetype,
130 130 legal_entity_id: options.legal_entity_id,
131 131 legal_entity: options.legal_entity,
... ... @@ -257,6 +257,9 @@ Page({
257 257 if (newdata[i].education_end) {
258 258 newdata[i].education_end = this.formatDate(newdata[i].education_end).substring(0, 7)
259 259 }
  260 + if (newdata[i].education_period_end) {
  261 + newdata[i].education_period_end = this.formatDate(newdata[i].education_period_end).substring(0, 7)
  262 + }
260 263 if (newdata[i].patient_birthday) {
261 264 newdata[i].patient_birthday = this.formatDate(newdata[i].patient_birthday)
262 265 }
... ...
... ... @@ -77,7 +77,7 @@
77 77 </view>
78 78 <view class='divide_line_f5f5f5' style="margin-top:6rpx"></view>
79 79 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
80   - <view class='float_right' wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  80 + <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
81 81 <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id="{{index}}" bindtap='godelete'>删除</text>
82 82 <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
83 83 </view>
... ... @@ -111,7 +111,7 @@
111 111 <text class='text_999_28 ' style='line-height:70rpx'>受教育日期止:</text>
112 112 <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_end}}</text>
113 113 </view>
114   - <view wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  114 + <view wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
115 115 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-right:40rpx' id="{{'title'+index}}" bindtap='goedit'>编辑</text>
116 116 <text class='text_999_28 float_right' style='line-height:90rpx;margin-right:40rpx' id="{{'title'+index}}" bindtap='godelete'>删除</text>
117 117 </view>
... ... @@ -161,7 +161,7 @@
161 161 <text class='text_999_28 ' style='line-height:70rpx'>发证机关:</text>
162 162 <view class='float_right' style='padding-top:14rpx; font-family: PingFangSC-Regular;font-size: 28rpx;color: #333;line-height:40rpx;max-width:500rpx'>{{item.certification_authority}}</view>
163 163 </view>
164   - <view wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  164 + <view wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
165 165 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-right:40rpx' id="{{'profession'+index}}" bindtap='goedit'>编辑</text>
166 166 <text class='text_999_28 float_right' style='line-height:90rpx;margin-right:40rpx' id="{{'profession'+index}}" bindtap='godelete'>删除</text>
167 167 </view>
... ... @@ -204,14 +204,14 @@
204 204 </view>
205 205 <view class='divide_line_f5f5f5'></view>
206 206 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
207   - <view class='float_right' wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  207 + <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
208 208 <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id="{{'support_duty'+index}}" bindtap='godelete'>删除</text>
209 209 <text class='text_blue_28 ' style='line-height:90rpx;' id="{{'support_duty'+index}}" bindtap='goedit'>编辑</text>
210 210 </view>
211 211 </view>
212 212 </view>
213 213 </view>
214   - <view style='background:#FFF;padding:30rpx' wx:if="{{employee_status=='active'}}">
  214 + <view style='background:#FFF;padding:30rpx' wx:if="{{employee_status!='inactive'}}">
215 215 <view style='line-height:84rpx;text-align:center;font-size:34rpx;color:#fff;background:#357AEB;border-radius:5px;' id="{{index}}" bindtap='goadd'>
216 216 添加
217 217 </view>
... ... @@ -249,7 +249,7 @@
249 249 <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text>
250 250 <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.relationship}}</text>
251 251 </view>
252   - <view class='float_right' wx:if="{{employee_status=='active'}}">
  252 + <view class='float_right' wx:if="{{employee_status!='inactive'}}">
253 253 <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id="{{'co_supporter'+index}}" bindtap='godelete'>删除</text>
254 254 <text class='text_blue_28 ' style='line-height:90rpx;' id="{{'co_supporter'+index}}" bindtap='goedit'>编辑</text>
255 255 </view>
... ... @@ -259,7 +259,7 @@
259 259
260 260 </view>
261 261 <view>
262   - <view style='margin-left:30rpx' wx:if="{{employee_status=='active'&&issinglechildData.selected!='是'}}">
  262 + <view style='margin-left:30rpx' wx:if="{{employee_status!='inactive'&&issinglechildData.selected!='是'}}">
263 263 <!-- <text class='text_999_28'>您还没有添加继续共同赡养人,</text> -->
264 264 <text class='text_blue_28' bindtap='goaddSupporter'>添加共同赡养人</text>
265 265 </view>
... ... @@ -321,7 +321,7 @@
321 321 <text class='text_999_28 ' style='line-height:70rpx'>个人负担金额:</text>
322 322 <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.amount_by_person}}元</text>
323 323 </view>
324   - <view class='float_right' wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  324 + <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
325 325 <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
326 326 <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
327 327 </view>
... ... @@ -367,7 +367,7 @@
367 367 </view>
368 368 <view class='divide_line_f5f5f5' style="margin-top:6rpx"></view>
369 369 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
370   - <view class='float_right' wx:if="{{employee_status=='active'&&(item.status=='failed'||item.status=='to_declare')}}">
  370 + <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}">
371 371 <text class='text_999_28' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
372 372 <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
373 373 </view>
... ...
注册登录 后发表评论