正在显示
2 个修改的文件
包含
19 行增加
和
3 行删除
... | ... | @@ -118,7 +118,7 @@ |
118 | 118 | </view> |
119 | 119 | <view style='height:90rpx;width:100%;clear:both;'> |
120 | 120 | <text class='text_left'>被赡养人证照类型</text> |
121 | - <text class='text_right_333'>{{datas.id_card_type=='1'?"身份证":datas.id_card_type}}</text> | |
121 | + <text class='text_right_333'>{{datas.id_card_type=='1'?"居民身份证":datas.id_card_type}}</text> | |
122 | 122 | </view> |
123 | 123 | <view style='height:90rpx;width:100%;clear:both;'> |
124 | 124 | <text class='text_left'>被赡养人证照号码</text> | ... | ... |
... | ... | @@ -372,6 +372,22 @@ Page({ |
372 | 372 | godelete: function(e) { //删除 |
373 | 373 | var that = this; |
374 | 374 | console.log("godelete", e) |
375 | + wx.showModal({ | |
376 | + title: '', | |
377 | + content: '确认要删除吗?', | |
378 | + success(res) { | |
379 | + if (res.confirm) { | |
380 | + console.log('用户点击确定') | |
381 | + that.deleteInfo(e) | |
382 | + } else if (res.cancel) { | |
383 | + console.log('用户点击取消') | |
384 | + } | |
385 | + } | |
386 | + }) | |
387 | + }, | |
388 | + | |
389 | + deleteInfo:function(e){ | |
390 | + var that = this; | |
375 | 391 | var new_id |
376 | 392 | var statustype = this.data.cur_status |
377 | 393 | if (this.data.cur_status == "continuing_education") { |
... | ... | @@ -404,7 +420,7 @@ Page({ |
404 | 420 | "Authorization": Authorization |
405 | 421 | }, |
406 | 422 | method: "POST", |
407 | - success: function(res) { | |
423 | + success: function (res) { | |
408 | 424 | console.log("success", res) |
409 | 425 | if (res.statusCode == 200) { |
410 | 426 | that.getAdditionInfo() |
... | ... | @@ -416,7 +432,7 @@ Page({ |
416 | 432 | } |
417 | 433 | |
418 | 434 | }, |
419 | - fail: function(res) { | |
435 | + fail: function (res) { | |
420 | 436 | console.log("fail", res) |
421 | 437 | wx.showToast({ |
422 | 438 | title: res.data.message, | ... | ... |
请
注册
或
登录
后发表评论