apply-clients 4.1.56-weinan → 4.1.58-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.56-weinan",
3
+ "version": "4.1.58-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -206,7 +206,8 @@ export default {
206
206
  },
207
207
  title1:'',
208
208
  // 收费编号
209
- f_charge_number:''
209
+ f_charge_number:'',
210
+ state:'结束'
210
211
  }
211
212
  },
212
213
  ready () {
@@ -235,40 +236,41 @@ export default {
235
236
  },*/
236
237
  // 获取订单信息
237
238
  async getOrderInformation () {
239
+ this.state = '开始'
238
240
  // 查询订单信息
239
241
  console.log('查询订单信息!!!')
240
- // let data = {
241
- // out_trade_no: this.order.out_trade_no,
242
- // filiale: this.config[Vue.user.number]
243
- // }
244
242
  // 查询订单状态
245
-
246
- let http = new HttpResetClass()
247
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {
248
- data: {
249
- tablename: "t_weixinreturnxml",
250
- condition: ` f_out_trade_no = '${this.order.f_out_trade_no}' and f_order_state = '已支付' `,
243
+ try {
244
+ let http = new HttpResetClass()
245
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {
246
+ data: {
247
+ tablename: "t_weixinreturnxml",
248
+ condition: ` f_out_trade_no = '${this.order.f_out_trade_no}' and f_order_state = '已支付' `,
249
+ }
250
+ }, {
251
+ resolveMsg: null,
252
+ rejectMsg: '订单查询失败!!!'
253
+ })
254
+ console.log('8888888888')
255
+ console.log(this.order.f_out_trade_no)
256
+ console.log(JSON.stringify(res))
257
+ // 支付成功
258
+ if (res.data.length > 0) {
259
+ this.$showMessage('支付成功!!!')
260
+ clearTimeout(this.paymentInterval)
261
+ clearTimeout(this.orderInterval)
262
+ this.timeLeft = 300
263
+ // 修改支付状态
264
+ this.updatestate('支付成功','有效')
265
+ this.saveother()
266
+ // 清除二维码
267
+ this.clearQrCode()
268
+ this.showQrCode = false
251
269
  }
252
- }, {
253
- resolveMsg: null,
254
- rejectMsg: '订单查询失败!!!'
255
- })
256
- console.log('8888888888')
257
- console.log(this.order.f_out_trade_no)
258
- console.log(JSON.stringify(res))
259
- // 支付成功
260
- if (res.data.length > 0) {
261
- this.$showMessage('支付成功!!!')
262
- clearTimeout(this.paymentInterval)
263
- clearTimeout(this.orderInterval)
264
- this.timeLeft = 300
265
- // 修改支付状态
266
- this.updatestate('支付成功','有效')
267
- this.saveother()
268
- // 清除二维码
269
- this.clearQrCode()
270
- this.showQrCode = false
270
+ }catch (e){
271
+ this.state = '结束'
271
272
  }
273
+ this.state = '结束'
272
274
  },
273
275
  checkApplyModel(){
274
276
  console.log(this.charge.payment_terms)
@@ -395,7 +397,9 @@ export default {
395
397
 
396
398
  // 3秒查询一次订单支付信息
397
399
  this.orderInterval = setInterval(() => {
398
- this.getOrderInformation()
400
+ if(this.state == '结束'){
401
+ this.getOrderInformation()
402
+ }
399
403
  },3000)
400
404
  }else{
401
405
  this.$showMessage('订单生成失败')
@@ -25,8 +25,9 @@
25
25
  </div>
26
26
  <div class="row form-group app-input" v-if="criteriaShow">
27
27
  <label class="">报建类型:</label>
28
- <div class="col-xs-8">
28
+ <div class="col-xs-8" style="width: 100%">
29
29
  <v-select
30
+ class="select select_list"
30
31
  :value.sync="model.f_apply_type"
31
32
  v-model="model.f_apply_type"
32
33
  :options='applytype'
@@ -39,6 +40,7 @@
39
40
  <label class="">办理环节:</label>
40
41
  <div class="col-xs-8">
41
42
  <v-select
43
+ class="select select_list"
42
44
  :value.sync="model.defname"
43
45
  v-model="model.defname"
44
46
  :options='defnames'
@@ -51,6 +53,7 @@
51
53
  <label class="">用户类型:</label>
52
54
  <div class="col-xs-8">
53
55
  <v-select
56
+ class="select select_list"
54
57
  :value.sync="model.f_user_type"
55
58
  v-model="model.f_user_type"
56
59
  :options='usertype'
@@ -67,7 +70,7 @@
67
70
  :value.sync="model.startDate"
68
71
  :format="'yyyy-MM-dd 00:00:00'"
69
72
  :show-reset-button="true"
70
- >
73
+ >
71
74
  </datepicker>
72
75
  </div>
73
76
  </div>
@@ -79,7 +82,7 @@
79
82
  :value.sync="model.endDate"
80
83
  :format="'yyyy-MM-dd 23:59:59'"
81
84
  :show-reset-button="true"
82
- >
85
+ >
83
86
  </datepicker>
84
87
  </div>
85
88
  </div>