正在显示
7 个修改的文件
包含
188 行增加
和
177 行删除
1 | // pages/main/addtionalreduce/adddupporters/adddupporters.js | 1 | // pages/main/addtionalreduce/adddupporters/adddupporters.js |
2 | +var app = getApp(); | ||
3 | +var baseUrl = app.globalData.baseUrl; | ||
2 | Page({ | 4 | Page({ |
3 | 5 | ||
4 | /** | 6 | /** |
@@ -14,6 +16,7 @@ Page({ | @@ -14,6 +16,7 @@ Page({ | ||
14 | * Lifecycle function--Called when page load | 16 | * Lifecycle function--Called when page load |
15 | */ | 17 | */ |
16 | onLoad: function(options) { | 18 | onLoad: function(options) { |
19 | + console.log("onLoad",options) | ||
17 | this.setData({ | 20 | this.setData({ |
18 | support_duty_id:options.id | 21 | support_duty_id:options.id |
19 | }) | 22 | }) |
@@ -91,10 +94,11 @@ Page({ | @@ -91,10 +94,11 @@ Page({ | ||
91 | 'content-type': 'application/json', | 94 | 'content-type': 'application/json', |
92 | "Authorization": Authorization | 95 | "Authorization": Authorization |
93 | }, | 96 | }, |
97 | + method:"POST", | ||
94 | success: function (res) { | 98 | success: function (res) { |
95 | if (res && res.data) { | 99 | if (res && res.data) { |
96 | console.log("res", res) | 100 | console.log("res", res) |
97 | - if (res && res.statusCode < 200) { | 101 | + if (res && res.statusCode == 200) { |
98 | wx.navigateBack({ | 102 | wx.navigateBack({ |
99 | delta: 1 | 103 | delta: 1 |
100 | }) | 104 | }) |
@@ -8,14 +8,6 @@ Page({ | @@ -8,14 +8,6 @@ Page({ | ||
8 | * Page initial data | 8 | * Page initial data |
9 | */ | 9 | */ |
10 | data: { | 10 | data: { |
11 | - additiontitle: { | ||
12 | - "children_education": "子女教育", | ||
13 | - "continuing_education": "继续教育", | ||
14 | - "support_duty": "赡养老人", | ||
15 | - "medical_fund": "大病医疗", | ||
16 | - "house_fund_rent": "住房", | ||
17 | - "house_fund_loan": "住房" | ||
18 | - }, | ||
19 | additiondata:{} | 11 | additiondata:{} |
20 | }, | 12 | }, |
21 | 13 |
@@ -127,7 +127,7 @@ Page({ | @@ -127,7 +127,7 @@ Page({ | ||
127 | 127 | ||
128 | goaddSupporter: function() { | 128 | goaddSupporter: function() { |
129 | wx.navigateTo({ | 129 | wx.navigateTo({ |
130 | - url: '../adddupporters/adddupporters?support_duty_id=' + this.data.additionInfo.id, | 130 | + url: '../adddupporters/adddupporters?id=' + this.data.additionInfo[0].id, |
131 | }) | 131 | }) |
132 | }, | 132 | }, |
133 | 133 | ||
@@ -168,6 +168,7 @@ Page({ | @@ -168,6 +168,7 @@ Page({ | ||
168 | 'content-type': 'application/json', | 168 | 'content-type': 'application/json', |
169 | "Authorization": Authorization | 169 | "Authorization": Authorization |
170 | }, | 170 | }, |
171 | + method:"POST", | ||
171 | success: function(res) { | 172 | success: function(res) { |
172 | if (res && res.data) { | 173 | if (res && res.data) { |
173 | console.log("res", res) | 174 | console.log("res", res) |
@@ -181,7 +182,7 @@ Page({ | @@ -181,7 +182,7 @@ Page({ | ||
181 | console.log("goedit", e) | 182 | console.log("goedit", e) |
182 | if (this.data.additionInfo && this.data.additionInfo.length > 0) { | 183 | if (this.data.additionInfo && this.data.additionInfo.length > 0) { |
183 | wx.navigateTo({ | 184 | wx.navigateTo({ |
184 | - url: '../additiondetail/additiondetail?datas=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status, | 185 | + url: '../addextrainfo/addextrainfo?datas=' + '' + '&status=' + this.data.cur_status + '&reducetype=' + this.data.reducetypeData[this.data.selected_reduceindex] + '&isedit=true' , |
185 | }) | 186 | }) |
186 | } | 187 | } |
187 | }, | 188 | }, |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 19 | <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> |
20 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 20 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
21 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 21 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
22 | - | 22 | + |
23 | </view> | 23 | </view> |
24 | <view style='padding-right: 30rpx'> | 24 | <view style='padding-right: 30rpx'> |
25 | <view class='divide_line_f5f5f5'></view> | 25 | <view class='divide_line_f5f5f5'></view> |
@@ -51,134 +51,137 @@ | @@ -51,134 +51,137 @@ | ||
51 | </view> | 51 | </view> |
52 | 52 | ||
53 | <view wx:if="{{cur_status=='continuing_education'}}"> | 53 | <view wx:if="{{cur_status=='continuing_education'}}"> |
54 | - <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
55 | - <view style='height:110rpx'> | ||
56 | - <text class='text_gray_36' style='line-height:110rpx'>非学历教育</text> | ||
57 | - <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 54 | + <view wx:for="{{additionInfo}}"> |
55 | + <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
56 | + <view style='height:110rpx'> | ||
57 | + <text class='text_gray_36' style='line-height:110rpx'>非学历教育</text> | ||
58 | + <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | ||
58 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 59 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
59 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 60 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
60 | - </view> | ||
61 | - <view style='padding-right:30rpx'> | ||
62 | - <view class='divide_line_f5f5f5'></view> | ||
63 | - <view style='height:70rpx'> | ||
64 | - <text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text> | ||
65 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{}}</text> | ||
66 | - </view> | ||
67 | - <view style='height:70rpx'> | ||
68 | - <text class='text_999_28 ' style='line-height:70rpx'>教育类型:</text> | ||
69 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> | ||
70 | - </view> | ||
71 | - <view style='height:70rpx'> | ||
72 | - <text class='text_999_28 ' style='line-height:70rpx'>证书名称:</text> | ||
73 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_name}}</text> | ||
74 | - </view> | ||
75 | - <view style='height:70rpx'> | ||
76 | - <text class='text_999_28 ' style='line-height:70rpx'>证书编号:</text> | ||
77 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text> | ||
78 | </view> | 61 | </view> |
79 | - <view style='height:70rpx'> | ||
80 | - <text class='text_999_28 ' style='line-height:70rpx'>发证机关:</text> | ||
81 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text> | ||
82 | - </view> | ||
83 | - <view style='height:70rpx'> | ||
84 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
85 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
86 | - </view> | ||
87 | - <view style='height:70rpx'> | ||
88 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
89 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | 62 | + <view style='padding-right:30rpx'> |
63 | + <view class='divide_line_f5f5f5'></view> | ||
64 | + <view style='height:70rpx'> | ||
65 | + <text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text> | ||
66 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{}}</text> | ||
67 | + </view> | ||
68 | + <view style='height:70rpx'> | ||
69 | + <text class='text_999_28 ' style='line-height:70rpx'>教育类型:</text> | ||
70 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> | ||
71 | + </view> | ||
72 | + <view style='height:70rpx'> | ||
73 | + <text class='text_999_28 ' style='line-height:70rpx'>证书名称:</text> | ||
74 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_name}}</text> | ||
75 | + </view> | ||
76 | + <view style='height:70rpx'> | ||
77 | + <text class='text_999_28 ' style='line-height:70rpx'>证书编号:</text> | ||
78 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text> | ||
79 | + </view> | ||
80 | + <view style='height:70rpx'> | ||
81 | + <text class='text_999_28 ' style='line-height:70rpx'>发证机关:</text> | ||
82 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text> | ||
83 | + </view> | ||
84 | + <view style='height:70rpx'> | ||
85 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
86 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
87 | + </view> | ||
88 | + <view style='height:70rpx'> | ||
89 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
90 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
91 | + </view> | ||
90 | </view> | 92 | </view> |
91 | </view> | 93 | </view> |
92 | - </view> | ||
93 | - <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
94 | - <view style='height:110rpx'> | ||
95 | - <text class='text_gray_36' style='line-height:110rpx'>学历教育</text> | ||
96 | - <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 94 | + <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> |
95 | + <view style='height:110rpx'> | ||
96 | + <text class='text_gray_36' style='line-height:110rpx'>学历教育</text> | ||
97 | + <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | ||
97 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 98 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
98 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 99 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
99 | - </view> | ||
100 | - <view style='padding-right:right'> | ||
101 | - <view class='divide_line_f5f5f5'></view> | ||
102 | - <view style='height:70rpx'> | ||
103 | - <text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text> | ||
104 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> | ||
105 | - </view> | ||
106 | - <view style='height:70rpx'> | ||
107 | - <text class='text_999_28 ' style='line-height:70rpx'>受教育阶段:</text> | ||
108 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_period}}</text> | ||
109 | </view> | 100 | </view> |
110 | - <view style='height:70rpx'> | ||
111 | - <text class='text_999_28 ' style='line-height:70rpx'>受教育日期起:</text> | ||
112 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
113 | - </view> | ||
114 | - <view style='height:70rpx'> | ||
115 | - <text class='text_999_28 ' style='line-height:70rpx'>受教育日期止:</text> | ||
116 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
117 | - </view> | ||
118 | - <view style='height:70rpx'> | ||
119 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
120 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
121 | - </view> | ||
122 | - <view style='height:70rpx'> | ||
123 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
124 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | 101 | + <view style='padding-right:right'> |
102 | + <view class='divide_line_f5f5f5'></view> | ||
103 | + <view style='height:70rpx'> | ||
104 | + <text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text> | ||
105 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text> | ||
106 | + </view> | ||
107 | + <view style='height:70rpx'> | ||
108 | + <text class='text_999_28 ' style='line-height:70rpx'>受教育阶段:</text> | ||
109 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_period}}</text> | ||
110 | + </view> | ||
111 | + <view style='height:70rpx'> | ||
112 | + <text class='text_999_28 ' style='line-height:70rpx'>受教育日期起:</text> | ||
113 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
114 | + </view> | ||
115 | + <view style='height:70rpx'> | ||
116 | + <text class='text_999_28 ' style='line-height:70rpx'>受教育日期止:</text> | ||
117 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
118 | + </view> | ||
119 | + <view style='height:70rpx'> | ||
120 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
121 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
122 | + </view> | ||
123 | + <view style='height:70rpx'> | ||
124 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
125 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
126 | + </view> | ||
125 | </view> | 127 | </view> |
126 | - </view> | ||
127 | 128 | ||
128 | - </view> | ||
129 | - <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
130 | - <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
131 | - <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | 129 | + </view> |
130 | + <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
131 | + <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
132 | + <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | ||
133 | + </view> | ||
132 | </view> | 134 | </view> |
133 | </view> | 135 | </view> |
134 | 136 | ||
135 | <view wx:if="{{cur_status=='support_duty'}}"> | 137 | <view wx:if="{{cur_status=='support_duty'}}"> |
136 | - <view style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'> | ||
137 | - <view style='height:110rpx'> | ||
138 | - <text class='text_gray_36 float_left' style='line-height:110rpx'>被赡养人</text> | ||
139 | - <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 138 | + <view wx:for="{{additionInfo}}"> |
139 | + <view style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'> | ||
140 | + <view style='height:110rpx'> | ||
141 | + <text class='text_gray_36 float_left' style='line-height:110rpx'>被赡养人</text> | ||
142 | + <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | ||
140 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 143 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
141 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 144 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
142 | - </view> | ||
143 | - <view style='padding-right:30rpx'> | ||
144 | - <view class='divide_line_f5f5f5'></view> | ||
145 | - <view style='height:70rpx'> | ||
146 | - <text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text> | ||
147 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
148 | - </view> | ||
149 | - <view style='height:70rpx'> | ||
150 | - <text class='text_999_28 ' style='line-height:70rpx'>分摊比例:</text> | ||
151 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
152 | - </view> | ||
153 | - <view style='height:70rpx'> | ||
154 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
155 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
156 | </view> | 145 | </view> |
157 | - <view style='height:70rpx'> | ||
158 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
159 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
160 | - </view> | ||
161 | - <view class='divide_line_f5f5f5'></view> | ||
162 | - <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> | ||
163 | - <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
164 | - <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
165 | - <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | 146 | + <view style='padding-right:30rpx'> |
147 | + <view class='divide_line_f5f5f5'></view> | ||
148 | + <view style='height:70rpx'> | ||
149 | + <text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text> | ||
150 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
151 | + </view> | ||
152 | + <view style='height:70rpx'> | ||
153 | + <text class='text_999_28 ' style='line-height:70rpx'>分摊比例:</text> | ||
154 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
155 | + </view> | ||
156 | + <view style='height:70rpx'> | ||
157 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
158 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
159 | + </view> | ||
160 | + <view style='height:70rpx'> | ||
161 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
162 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
163 | + </view> | ||
164 | + <view class='divide_line_f5f5f5'></view> | ||
165 | + <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> | ||
166 | + <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
167 | + <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
168 | + <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | ||
169 | + </view> | ||
166 | </view> | 170 | </view> |
167 | - </view> | ||
168 | 171 | ||
169 | - </view> | 172 | + </view> |
170 | 173 | ||
171 | - <view wx:if="{{true}}"> | ||
172 | - <view style='background:#FFF;padding:30rpx'> | ||
173 | - <view style='line-height:84rpx;text-align:center;font-size:34rpx;color:#fff;background:#357AEB;' id='{{index}}' bindtap='goadd'> | ||
174 | - 添加 | 174 | + <view> |
175 | + <view style='background:#FFF;padding:30rpx'> | ||
176 | + <view style='line-height:84rpx;text-align:center;font-size:34rpx;color:#fff;background:#357AEB;' id='{{index}}' bindtap='goadd'> | ||
177 | + 添加 | ||
178 | + </view> | ||
179 | + </view> | ||
180 | + <view style='margin-left:30rpx' wx:if="{{!item.co_supporters||item.co_supporters.length<1}}"> | ||
181 | + <text class='text_999_28'>您还没有添加继续共同赡养人,</text> | ||
182 | + <text class='text_blue_28' bindtap='goaddSupporter'>请添加</text> | ||
175 | </view> | 183 | </view> |
176 | </view> | 184 | </view> |
177 | - <view style='margin-left:30rpx' wx:if="{{cur_status=='support_duty'}}"> | ||
178 | - <text class='text_999_28'>您还没有添加继续共同赡养人,</text> | ||
179 | - <text class='text_blue_28' bindtap='goaddSupporter'>请添加</text> | ||
180 | - </view> | ||
181 | - | ||
182 | </view> | 185 | </view> |
183 | </view> | 186 | </view> |
184 | 187 | ||
@@ -194,75 +197,79 @@ | @@ -194,75 +197,79 @@ | ||
194 | <text class='text_orange_28 float_right' style='line-height:100rpx'>¥0</text> | 197 | <text class='text_orange_28 float_right' style='line-height:100rpx'>¥0</text> |
195 | </view> | 198 | </view> |
196 | <view class='divide_line_f5f5f5'></view> | 199 | <view class='divide_line_f5f5f5'></view> |
197 | - <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
198 | - <view style='height:110rpx'> | ||
199 | - <text class='text_gray_36' style='line-height:110rpx'>支出明细</text> | ||
200 | - <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 200 | + <view wx:for="{{additionInfo}}"> |
201 | + <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
202 | + <view style='height:110rpx'> | ||
203 | + <text class='text_gray_36' style='line-height:110rpx'>支出明细</text> | ||
204 | + <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | ||
201 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 205 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
202 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 206 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
203 | - </view> | ||
204 | - <view style='padding-right:30rpx'> | ||
205 | - <view class='divide_line_f5f5f5'></view> | ||
206 | - <view style='height:70rpx'> | ||
207 | - <text class='text_999_28 ' style='line-height:70rpx'>姓名:</text> | ||
208 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
209 | - </view> | ||
210 | - <view style='height:70rpx'> | ||
211 | - <text class='text_999_28 ' style='line-height:70rpx'>身份证件类型:</text> | ||
212 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
213 | </view> | 207 | </view> |
214 | - <view style='height:70rpx'> | ||
215 | - <text class='text_999_28 ' style='line-height:70rpx'>身份证件号码:</text> | ||
216 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
217 | - </view> | ||
218 | - <view style='height:70rpx'> | ||
219 | - <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> | ||
220 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
221 | - </view> | ||
222 | - <view style='height:70rpx'> | ||
223 | - <text class='text_999_28 ' style='line-height:70rpx'>医疗支出总金额:</text> | ||
224 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥12345元</text> | ||
225 | - </view> | ||
226 | - <view style='height:70rpx'> | ||
227 | - <text class='text_999_28 ' style='line-height:70rpx'>个人负担金额:</text> | ||
228 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥2345元</text> | ||
229 | - </view> | ||
230 | - <view class='float_right' wx:if="{{item.status!='failed'}}"> | ||
231 | - <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
232 | - <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | 208 | + <view style='padding-right:30rpx'> |
209 | + <view class='divide_line_f5f5f5'></view> | ||
210 | + <view style='height:70rpx'> | ||
211 | + <text class='text_999_28 ' style='line-height:70rpx'>姓名:</text> | ||
212 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
213 | + </view> | ||
214 | + <view style='height:70rpx'> | ||
215 | + <text class='text_999_28 ' style='line-height:70rpx'>身份证件类型:</text> | ||
216 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
217 | + </view> | ||
218 | + <view style='height:70rpx'> | ||
219 | + <text class='text_999_28 ' style='line-height:70rpx'>身份证件号码:</text> | ||
220 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text> | ||
221 | + </view> | ||
222 | + <view style='height:70rpx'> | ||
223 | + <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> | ||
224 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text> | ||
225 | + </view> | ||
226 | + <view style='height:70rpx'> | ||
227 | + <text class='text_999_28 ' style='line-height:70rpx'>医疗支出总金额:</text> | ||
228 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥12345元</text> | ||
229 | + </view> | ||
230 | + <view style='height:70rpx'> | ||
231 | + <text class='text_999_28 ' style='line-height:70rpx'>个人负担金额:</text> | ||
232 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥2345元</text> | ||
233 | + </view> | ||
234 | + <view class='float_right' wx:if="{{item.status!='failed'}}"> | ||
235 | + <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
236 | + <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | ||
237 | + </view> | ||
233 | </view> | 238 | </view> |
234 | </view> | 239 | </view> |
235 | </view> | 240 | </view> |
236 | </view> | 241 | </view> |
237 | 242 | ||
238 | <view wx:if="{{cur_status=='house_fund'}}"> | 243 | <view wx:if="{{cur_status=='house_fund'}}"> |
239 | - <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
240 | - <view style='height:110rpx'> | ||
241 | - <text class='text_gray_36 float_left' style='line-height:110rpx'>住房</text> | ||
242 | - <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | 244 | + <view wx:for="{{additionInfo}}"> |
245 | + <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'> | ||
246 | + <view style='height:110rpx'> | ||
247 | + <text class='text_gray_36 float_left' style='line-height:110rpx'>住房</text> | ||
248 | + <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view> | ||
243 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> | 249 | <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view> |
244 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> | 250 | <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view> |
245 | - </view> | ||
246 | - <view style='padding-right: 30rpx'> | ||
247 | - <view class='divide_line_f5f5f5'></view> | ||
248 | - <view style=''> | ||
249 | - <text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text> | ||
250 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>北京市 市辖区 朝阳区</text> | ||
251 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>瑞创国际SA大厦1101</text> | ||
252 | - </view> | ||
253 | - <view style='height:70rpx'> | ||
254 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
255 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
256 | - </view> | ||
257 | - <view style='height:70rpx'> | ||
258 | - <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
259 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
260 | </view> | 251 | </view> |
261 | - <view class='divide_line_f5f5f5'></view> | ||
262 | - <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> | ||
263 | - <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
264 | - <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
265 | - <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | 252 | + <view style='padding-right: 30rpx'> |
253 | + <view class='divide_line_f5f5f5'></view> | ||
254 | + <view style=''> | ||
255 | + <text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text> | ||
256 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>北京市 市辖区 朝阳区</text> | ||
257 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>瑞创国际SA大厦1101</text> | ||
258 | + </view> | ||
259 | + <view style='height:70rpx'> | ||
260 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> | ||
261 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text> | ||
262 | + </view> | ||
263 | + <view style='height:70rpx'> | ||
264 | + <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> | ||
265 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> | ||
266 | + </view> | ||
267 | + <view class='divide_line_f5f5f5'></view> | ||
268 | + <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> | ||
269 | + <view class='float_right' wx:if="{{item.status=='failed'}}"> | ||
270 | + <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text> | ||
271 | + <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text> | ||
272 | + </view> | ||
266 | </view> | 273 | </view> |
267 | </view> | 274 | </view> |
268 | </view> | 275 | </view> |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | </view> | 20 | </view> |
21 | </scroll-view> | 21 | </scroll-view> |
22 | <view class='bottom_wrap'> | 22 | <view class='bottom_wrap'> |
23 | - <input class='input_wrap' confirm-type="send" bindinput="bindKeyInput" placeholder='请输入您要咨询的问题'></input> | 23 | + <input class='input_wrap' placeholder-class='input_placeholder_wrap' confirm-type="send" bindinput="bindKeyInput" placeholder='请输入您要咨询的问题'></input> |
24 | <view class='btn_send_wrap' bindtap='sendMsg'>发送</view> | 24 | <view class='btn_send_wrap' bindtap='sendMsg'>发送</view> |
25 | </view> | 25 | </view> |
26 | </view> | 26 | </view> |
请
注册
或
登录
后发表评论