提交 130ac676640a330bfb032a9778e9e7cbcf7adef1
Merge branch '机器人dev' into 海峡new
# Conflicts: # app.js # pages/main/advancepayment/adPayHome.js # project.config.json
正在显示
7 个修改的文件
包含
19 行增加
和
9 行删除
... | ... | @@ -148,7 +148,6 @@ App({ |
148 | 148 | // baseUrl: "http://47.110.158.110:20000/", |
149 | 149 | // baseUrl: "https://api.workai.com.cn/", |
150 | 150 | baseUrl: "https://api.fjhxrl.com/", |
151 | - // baseUrl: "https://api.workai.com.cn/", | |
152 | 151 | OSSUrl: "", //"https://oss.workai.com.cn/", |
153 | 152 | userInfo: null, |
154 | 153 | hostInfo: null, | ... | ... |
... | ... | @@ -198,10 +198,16 @@ Page({ |
198 | 198 | |
199 | 199 | handleDetailsData: function (data) { |
200 | 200 | |
201 | - let titles = JSON.parse(data['slip_titles']) | |
201 | + // let titles = JSON.parse(data['slip_titles']) | |
202 | + let titles = JSON.parse(data['salary_columns']) | |
202 | 203 | let detail = JSON.parse(data['detail']) |
203 | 204 | let mapping_keys = data["mapping_keys"] ? data["mapping_keys"] : [] |
204 | - console.log(titles,detail,mapping_keys) | |
205 | + console.log(titles, detail, mapping_keys) | |
206 | + // var obj = {} | |
207 | + // let titles = titles01.concat(titles02).reduce(function (item, next) { | |
208 | + // obj[next.key] ? '' : obj[next.key] = true && item.push(next); | |
209 | + // return item; | |
210 | + // }, []); | |
205 | 211 | var details = [] |
206 | 212 | for (var i = 0; i < titles.length; ++i) { |
207 | 213 | var titleData = titles[i] |
... | ... | @@ -215,8 +221,8 @@ Page({ |
215 | 221 | if (value != undefined) { |
216 | 222 | value += 'tax_rate' == titleData['key'] ? '%' : '' |
217 | 223 | } |
218 | - } | |
219 | - if (!title ) continue; | |
224 | + } | |
225 | + if (!title) continue; | |
220 | 226 | // if (!title || (value!=0&&!value)) continue; |
221 | 227 | // if (mapping_keys.indexOf(titleData['key']) == -1 && (value == '0' || value == 0)) continue; |
222 | 228 | details.push({ | ... | ... |
... | ... | @@ -248,7 +248,7 @@ Page({ |
248 | 248 | if (res.statusCode && res.statusCode >= 300) { |
249 | 249 | that.showtoast(res.data.message); |
250 | 250 | wx.redirectTo({ |
251 | - url: '../verify_result/verify_result?result=fail', | |
251 | + url: '../verify_result/verify_result?result=fail&msg=' + res.data.message, | |
252 | 252 | }) |
253 | 253 | } else { |
254 | 254 | that.showtoast('提交成功'); | ... | ... |
... | ... | @@ -138,7 +138,7 @@ Page({ |
138 | 138 | console.log("SUCC", res) |
139 | 139 | if (res.statusCode && res.statusCode >= 300) { |
140 | 140 | wx.navigateTo({ |
141 | - url: 'verify_result/verify_result?result=fail', | |
141 | + url: 'verify_result/verify_result?result=fail&msg=' + res.data.message, | |
142 | 142 | }) |
143 | 143 | that.showtoast(res.data.message); |
144 | 144 | } else { | ... | ... |
... | ... | @@ -13,8 +13,13 @@ |
13 | 13 | }, |
14 | 14 | "compileType": "miniprogram", |
15 | 15 | "libVersion": "2.4.2", |
16 | +<<<<<<< HEAD | |
16 | 17 | "appid": "wxb1af25a27d6d0cba", |
17 | 18 | "projectname": "%E6%B5%B7%E5%B3%A1%E8%87%AA%E7%84%B6%E4%BA%BA", |
19 | +======= | |
20 | + "appid": "wxe7d4efda23782b49", | |
21 | + "projectname": "%E7%A4%BE%E7%A8%8E%E6%9C%BA%E5%99%A8%E4%BA%BA", | |
22 | +>>>>>>> 机器人dev | |
18 | 23 | "debugOptions": { |
19 | 24 | "hidedInDevtools": [] |
20 | 25 | }, | ... | ... |
请
注册
或
登录
后发表评论