正在显示
3 个修改的文件
包含
26 行增加
和
32 行删除
| ... | ... | @@ -66,10 +66,10 @@ |
| 66 | 66 | </view> |
| 67 | 67 | <view style='padding-right:right'> |
| 68 | 68 | <view class='divide_line_f5f5f5'></view> |
| 69 | - <view style='height:70rpx'> | |
| 69 | + <!-- <view style='height:70rpx'> | |
| 70 | 70 | <text class='text_999_28 ' style='line-height:70rpx'>继续教育情况:</text> |
| 71 | 71 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> |
| 72 | - </view> | |
| 72 | + </view> --> | |
| 73 | 73 | <view style='height:70rpx'> |
| 74 | 74 | <text class='text_999_28 ' style='line-height:70rpx'>教育阶段:</text> |
| 75 | 75 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_period}}</text> |
| ... | ... | @@ -102,13 +102,13 @@ |
| 102 | 102 | </view> |
| 103 | 103 | <view style='padding-right:30rpx'> |
| 104 | 104 | <view class='divide_line_f5f5f5'></view> |
| 105 | - <view style='height:70rpx'> | |
| 105 | + <!-- <view style='height:70rpx'> | |
| 106 | 106 | <text class='text_999_28 ' style='line-height:70rpx'>继续教育情况:</text> |
| 107 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{}}</text> | |
| 108 | - </view> | |
| 107 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type=='title'?"学历教育":"非学历教育"}}</text> | |
| 108 | + </view> --> | |
| 109 | 109 | <view style='height:70rpx'> |
| 110 | 110 | <text class='text_999_28 ' style='line-height:70rpx'>继续教育类型:</text> |
| 111 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> | |
| 111 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type=='major'?"专业技术人员职业资格":"技能人员职业资格"}}</text> | |
| 112 | 112 | </view> |
| 113 | 113 | <view style='height:70rpx'> |
| 114 | 114 | <text class='text_999_28 ' style='line-height:70rpx'>发证(批准)日期</text> | ... | ... |
| ... | ... | @@ -12,25 +12,25 @@ Page({ |
| 12 | 12 | /** |
| 13 | 13 | * 生命周期函数--监听页面加载 |
| 14 | 14 | */ |
| 15 | - onLoad: function (options) { | |
| 15 | + onLoad: function(options) { | |
| 16 | 16 | |
| 17 | 17 | }, |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * 生命周期函数--监听页面初次渲染完成 |
| 21 | 21 | */ |
| 22 | - onReady: function () { | |
| 22 | + onReady: function() { | |
| 23 | 23 | |
| 24 | 24 | }, |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * 生命周期函数--监听页面显示 |
| 28 | 28 | */ |
| 29 | - onShow: function () { | |
| 29 | + onShow: function() { | |
| 30 | 30 | this.taxconfirm(); |
| 31 | 31 | }, |
| 32 | 32 | |
| 33 | - taxconfirm: function () { | |
| 33 | + taxconfirm: function() { | |
| 34 | 34 | var that = this; |
| 35 | 35 | var Authorization = getApp().globalData.Authorization; |
| 36 | 36 | console.log("Authorization", Authorization) |
| ... | ... | @@ -41,7 +41,7 @@ Page({ |
| 41 | 41 | 'content-type': 'application/json', |
| 42 | 42 | "Authorization": Authorization |
| 43 | 43 | }, |
| 44 | - success: function (res) { | |
| 44 | + success: function(res) { | |
| 45 | 45 | console.log("taxconfirm", res) |
| 46 | 46 | if (res.data && (res.data.status == '1' || res.data.status == '2')) { //未完善 |
| 47 | 47 | that.showModal(res.data) |
| ... | ... | @@ -51,7 +51,8 @@ Page({ |
| 51 | 51 | } |
| 52 | 52 | }, |
| 53 | 53 | |
| 54 | - showModal: function (data) { | |
| 54 | + showModal: function(data) { | |
| 55 | + var that = this | |
| 55 | 56 | wx.showModal({ |
| 56 | 57 | title: '温馨提示', |
| 57 | 58 | content: '您的自然人基础信息尚未完善,请先完善基础信息', |
| ... | ... | @@ -60,15 +61,7 @@ Page({ |
| 60 | 61 | confirmColor: '#357aeb', |
| 61 | 62 | success(res) { |
| 62 | 63 | if (res.confirm) { |
| 63 | - if (data.status == '1' && data.id) {//未完善 | |
| 64 | - wx.navigateTo({ | |
| 65 | - url: '../taxperson/editinfo/editinfo?id=' + data.id, | |
| 66 | - }) | |
| 67 | - } else if (data.status == '1') {//未创建 | |
| 68 | - wx.navigateTo({ | |
| 69 | - url: '../taxperson/taxperson/addinfo/addinfo', | |
| 70 | - }) | |
| 71 | - } | |
| 64 | + that.gotaxPerson() | |
| 72 | 65 | } |
| 73 | 66 | } |
| 74 | 67 | }) |
| ... | ... | @@ -77,7 +70,7 @@ Page({ |
| 77 | 70 | /** |
| 78 | 71 | * 自然人信息采集 |
| 79 | 72 | */ |
| 80 | - gotaxPerson: function () { | |
| 73 | + gotaxPerson: function() { | |
| 81 | 74 | wx.navigateTo({ |
| 82 | 75 | url: '../taxperson/home', |
| 83 | 76 | }) |
| ... | ... | @@ -86,7 +79,7 @@ Page({ |
| 86 | 79 | /** |
| 87 | 80 | * 专项附加扣除 |
| 88 | 81 | */ |
| 89 | - goAdditionalDiduction: function () { | |
| 82 | + goAdditionalDiduction: function() { | |
| 90 | 83 | wx.navigateTo({ |
| 91 | 84 | url: '../addtionalreduce/home', |
| 92 | 85 | }) |
| ... | ... | @@ -95,7 +88,7 @@ Page({ |
| 95 | 88 | /** |
| 96 | 89 | * 预扣预缴 |
| 97 | 90 | */ |
| 98 | - goAdvancePayment: function () { | |
| 91 | + goAdvancePayment: function() { | |
| 99 | 92 | wx.navigateTo({ |
| 100 | 93 | url: '../advancepayment/adPayHome', |
| 101 | 94 | }) |
| ... | ... | @@ -104,13 +97,13 @@ Page({ |
| 104 | 97 | /** |
| 105 | 98 | * 汇算清缴 |
| 106 | 99 | */ |
| 107 | - goFinalPayment: function () { | |
| 100 | + goFinalPayment: function() { | |
| 108 | 101 | wx.navigateTo({ |
| 109 | 102 | url: '../finalpayment/home', |
| 110 | 103 | }) |
| 111 | 104 | }, |
| 112 | 105 | |
| 113 | - gochat: function () { | |
| 106 | + gochat: function() { | |
| 114 | 107 | wx.navigateTo({ |
| 115 | 108 | url: '../smartchat/chat', |
| 116 | 109 | }) |
| ... | ... | @@ -119,35 +112,35 @@ Page({ |
| 119 | 112 | /** |
| 120 | 113 | * 生命周期函数--监听页面隐藏 |
| 121 | 114 | */ |
| 122 | - onHide: function () { | |
| 115 | + onHide: function() { | |
| 123 | 116 | |
| 124 | 117 | }, |
| 125 | 118 | |
| 126 | 119 | /** |
| 127 | 120 | * 生命周期函数--监听页面卸载 |
| 128 | 121 | */ |
| 129 | - onUnload: function () { | |
| 122 | + onUnload: function() { | |
| 130 | 123 | |
| 131 | 124 | }, |
| 132 | 125 | |
| 133 | 126 | /** |
| 134 | 127 | * 页面相关事件处理函数--监听用户下拉动作 |
| 135 | 128 | */ |
| 136 | - onPullDownRefresh: function () { | |
| 129 | + onPullDownRefresh: function() { | |
| 137 | 130 | |
| 138 | 131 | }, |
| 139 | 132 | |
| 140 | 133 | /** |
| 141 | 134 | * 页面上拉触底事件的处理函数 |
| 142 | 135 | */ |
| 143 | - onReachBottom: function () { | |
| 136 | + onReachBottom: function() { | |
| 144 | 137 | |
| 145 | 138 | }, |
| 146 | 139 | |
| 147 | 140 | /** |
| 148 | 141 | * 用户点击右上角分享 |
| 149 | 142 | */ |
| 150 | - onShareAppMessage: function () { | |
| 143 | + onShareAppMessage: function() { | |
| 151 | 144 | |
| 152 | 145 | } |
| 153 | -}) | |
| 146 | +}) | |
| \ No newline at end of file | ... | ... |
请
注册
或
登录
后发表评论