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