apply-clients 4.1.51-weinan → 4.1.53-weinan

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "4.1.51-weinan",
3
+ "version": "4.1.53-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -311,40 +311,28 @@ export default {
311
311
  user: Vue.user,
312
312
  f_out_trade_no:""
313
313
  }
314
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/beforeAddChargeRecord`,{data:info},{
315
- resolveMsg: null,
316
- rejectMsg: null
317
- }).then(res=>{
318
- console.log(res.data)
319
- if (res.data.code == '200'){
320
- if (this.charge.f_payment_method == '现金缴费'){
321
- let data1 = {
322
- tablename: 't_userinfo',
323
- condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
324
- }
325
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data1}, {resolveMsg: null, rejectMsg: '获取数据失败'}).then(res1=>{
326
- debugger
327
- this.$showMessage( `确认对${res1.data[0].f_user_name}进行现金收费?`,['confirm', 'cancel']).then((res)=>{
328
- if (res=='confirm'){
329
- this.$showMessage('缴费成功!')
330
- this.saveother()
331
- this.showCharge=false
332
- return
333
- }
334
- })
314
+ let data1 = {
315
+ tablename: 't_userinfo',
316
+ condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
317
+ }
318
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data1}, {resolveMsg: null, rejectMsg: '获取数据失败'}).then(res1=>{
319
+ debugger
320
+ this.$showMessage( `确认对${res1.data[0].f_user_name}进行${this.charge.f_payment_method}收费?`,['confirm', 'cancel']).then((res)=>{
321
+ if (res=='confirm'){
322
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/beforeAddChargeRecord`,{data:info},{
323
+ resolveMsg: null,
324
+ rejectMsg: null
325
+ }).then(res=>{
326
+ console.log(res.data)
327
+ if (res.data.code == '200') {
328
+ this.$showMessage('缴费成功!')
329
+ this.saveother()
330
+ this.search()
331
+ this.showCharge=false
332
+ }
335
333
  })
336
- }else {
337
- debugger
338
- this.$showMessage('缴费成功!')
339
- this.saveother()
340
- this.showCharge=false
341
- return
342
334
  }
343
- }else {
344
- this.$showMessage('缴费失败')
345
- this.showCharge=false
346
- return
347
- }
335
+ })
348
336
  })
349
337
  return
350
338
  }