提交 ecf80671068916435cdd13e0111f525d573fa9dc

作者 wangyu
1 个父辈 6145a434

优化

... ... @@ -143,7 +143,7 @@ Page({
143 143 console.log("showdetail", e)
144 144 if (this.data.additionInfo && this.data.additionInfo.length > 0) {
145 145 wx.navigateTo({
146   - url: '../additiondetail/additiondetail?data=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status,
  146 + url: '../additiondetail/additiondetail?datas=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status,
147 147 })
148 148 }
149 149 },
... ... @@ -174,7 +174,7 @@ Page({
174 174 console.log("goedit", e)
175 175 if (this.data.additionInfo && this.data.additionInfo.length > 0) {
176 176 wx.navigateTo({
177   - url: '../additiondetail/additiondetail?data=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status,
  177 + url: '../additiondetail/additiondetail?datas=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status,
178 178 })
179 179 }
180 180 },
... ... @@ -184,7 +184,7 @@ Page({
184 184 var modalinfo
185 185 if (this.data.cur_status == 'continuing_education' || this.data.cur_status == 'house_fund') {
186 186 wx.navigateTo({
187   - url: '../addextrainfo/addextrainfo?index=' + this.data.cur_index + '&title=' + that.data.title,
  187 + url: '../addextrainfo/addextrainfo?status=' + this.data.cur_status ,
188 188 })
189 189 } else {
190 190 if (this.data.cur_status == 'children_education') { //modalData
... ... @@ -197,7 +197,7 @@ Page({
197 197 console.log("modalinfo", modalinfo)
198 198 if (modalinfo.datas.length < 2) {
199 199 wx.navigateTo({
200   - url: '../addextrainfo/addextrainfo?index=' + this.data.cur_index + '&title=' + that.data.title,
  200 + url: '../addextrainfo/addextrainfo?status=' + this.data.cur_status + '&datas=' + JSON.stringify(this.data.additionInfo[e.currentTarget.id]),
201 201 })
202 202 } else {
203 203 this.showAddtionmodal(modalinfo)
... ...
注册登录 后发表评论