正在显示
2 个修改的文件
包含
14 行增加
和
10 行删除
... | ... | @@ -21,23 +21,23 @@ Page({ |
21 | 21 | }, { |
22 | 22 | message: '继续教育', |
23 | 23 | disable_change: '', |
24 | - status: "continuing_education", | |
24 | + status: "continuing_education", | |
25 | 25 | sureid: false |
26 | 26 | }, { |
27 | 27 | message: '赡养老人', |
28 | 28 | disable_change: '', |
29 | - status: "support_duty", | |
29 | + status: "support_duty", | |
30 | 30 | sureid: false |
31 | 31 | }, { |
32 | 32 | message: '大病医疗', |
33 | 33 | disable_change: '', |
34 | - status: "medical_fund", | |
34 | + status: "medical_fund", | |
35 | 35 | sureid: false |
36 | 36 | }, { |
37 | 37 | message: '住房', |
38 | 38 | sureid: false, |
39 | 39 | disable_change: '', |
40 | - status: "children_education", | |
40 | + status: "", | |
41 | 41 | extra_message: '' |
42 | 42 | }, ], |
43 | 43 | }, |
... | ... | @@ -147,9 +147,9 @@ Page({ |
147 | 147 | title: '请选择专项附加扣除', |
148 | 148 | }) |
149 | 149 | return; |
150 | - } | |
150 | + } | |
151 | 151 | this.goDeclare(stuatusarray) |
152 | - | |
152 | + | |
153 | 153 | }, |
154 | 154 | |
155 | 155 | goDeclare: function(array) { |
... | ... | @@ -162,7 +162,7 @@ Page({ |
162 | 162 | "legal_entity": this.data.legal_entity, |
163 | 163 | "options": array |
164 | 164 | }, |
165 | - method:"POST", | |
165 | + method: "POST", | |
166 | 166 | header: { |
167 | 167 | 'content-type': 'application/json', |
168 | 168 | "Authorization": Authorization |
... | ... | @@ -171,7 +171,7 @@ Page({ |
171 | 171 | if (res && res.data) { |
172 | 172 | console.log("res", res) |
173 | 173 | wx.redirectTo({ |
174 | - url: '../godetail/godetail' | |
174 | + url: '../godetail/godetail?datas=' + JSON.stringify(res.data) | |
175 | 175 | }) |
176 | 176 | } |
177 | 177 | } | ... | ... |
... | ... | @@ -8,14 +8,18 @@ Page({ |
8 | 8 | * Page initial data |
9 | 9 | */ |
10 | 10 | data: { |
11 | - datas02: ["子女教育", "继续教育", "赡养老人", "大病医疗"] | |
11 | + datas02: ["子女教育", "继续教育", "赡养老人", "大病医疗"], | |
12 | + additiondata:{} | |
12 | 13 | }, |
13 | 14 | |
14 | 15 | /** |
15 | 16 | * Lifecycle function--Called when page load |
16 | 17 | */ |
17 | 18 | onLoad: function (options) { |
18 | - var that = this | |
19 | + console.log("onLoad", options.datas) | |
20 | + this.setData({ | |
21 | + additiondata: JSON.parse(options.datas) | |
22 | + }) | |
19 | 23 | |
20 | 24 | }, |
21 | 25 | ... | ... |
请
注册
或
登录
后发表评论