jufubao-base 1.0.279-beta104 → 1.0.279-beta105

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": "jufubao-base",
3
- "version": "1.0.279-beta104",
3
+ "version": "1.0.279-beta105",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -64,6 +64,7 @@ export default {
64
64
  list: [],
65
65
  amount: "",
66
66
  status: false,
67
+ wallet_nnid: null
67
68
  };
68
69
  },
69
70
  watch: {
@@ -77,10 +78,12 @@ export default {
77
78
  },
78
79
  methods: {
79
80
  onJfbLoad(options) {
81
+ this.wallet_nnid = options.wallet_nnid;
80
82
  jfbRootExec("getRecordDetail", {
81
83
  vm: this,
82
84
  data: {
83
85
  trade_id: options.trade_id,
86
+ wallet_nnid: this.wallet_nnid
84
87
  },
85
88
  })
86
89
  .then((res) => {
@@ -66,6 +66,7 @@ export default {
66
66
  type: "",
67
67
  wallet_type: "",
68
68
  status: false,
69
+ wallet_nnid: null
69
70
  };
70
71
  },
71
72
  watch: {
@@ -81,6 +82,7 @@ export default {
81
82
  async onJfbLoad(options) {
82
83
  this.wallet_type = options.wallet_type;
83
84
  this.type = options.type;
85
+ this.wallet_nnid = options.wallet_nnid;
84
86
  await this.getList();
85
87
  this.status = true;
86
88
  },
@@ -98,6 +100,7 @@ export default {
98
100
  vm: this,
99
101
  data: {
100
102
  wallet_type: this.wallet_type,
103
+ wallet_nnid: this.wallet_nnid,
101
104
  page_size: this.page_size,
102
105
  page_token: this.page_token,
103
106
  },
@@ -276,6 +276,7 @@ export default {
276
276
  total_amount: 0,
277
277
  show_name: "",
278
278
  status: false,
279
+ wallet_nnid: null
279
280
  };
280
281
  },
281
282
  watch: {
@@ -388,6 +389,7 @@ export default {
388
389
  vm: this,
389
390
  data: {
390
391
  wallet_type: this.wallet_type,
392
+ wallet_nnid: this.wallet_nnid,
391
393
  },
392
394
  })
393
395
  .then((res) => {
@@ -463,17 +465,18 @@ export default {
463
465
  },
464
466
  handleToWalletDetail(item) {
465
467
  this.$xdUniHelper.navigateTo({
466
- url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}`,
468
+ url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}&wallet_nnid=${item.wallet_nnid}`,
467
469
  });
468
470
  },
469
471
  handleToBillDetail(item) {
470
472
  this.$xdUniHelper.navigateTo({
471
- url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
473
+ url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${item.wallet_nnid}`,
472
474
  });
473
475
  },
474
476
  handleShowQrcode() {
475
477
  if (this.typeList.length === 1) {
476
478
  this.wallet_type = this.typeList[0].wallet_type;
479
+ this.wallet_nnid = this.typeList[0].wallet_nnid;
477
480
  this.getQrcode();
478
481
  } else {
479
482
  this.showPayType = true;
@@ -483,8 +486,10 @@ export default {
483
486
  console.log(flat, item, "alalaalaal");
484
487
  if (flat) {
485
488
  this.wallet_type = item.wallet_type;
489
+ this.wallet_nnid = item.wallet_nnid;
486
490
  } else {
487
491
  this.wallet_type = null;
492
+ this.wallet_nnid = null;
488
493
  }
489
494
  },
490
495
  handleUse() {
@@ -180,6 +180,7 @@ export default {
180
180
  wallet_type: "",
181
181
  walletInfo: {},
182
182
  status: false,
183
+ wallet_nnid: null
183
184
  };
184
185
  },
185
186
  watch: {
@@ -194,6 +195,7 @@ export default {
194
195
  methods: {
195
196
  async onJfbLoad(options) {
196
197
  this.type = options.type;
198
+ this.wallet_nnid = options.wallet_nnid;
197
199
  this.date = `${new Date().getFullYear()}-${String(
198
200
  new Date().getMonth() + 1
199
201
  ).padStart(2, "0")}`;
@@ -202,6 +204,7 @@ export default {
202
204
  vm: this,
203
205
  data: {
204
206
  wallet_type: this.wallet_type,
207
+ wallet_nnid: this.wallet_nnid,
205
208
  },
206
209
  })
207
210
  .then((res) => {
@@ -226,6 +229,7 @@ export default {
226
229
  page_token: this.page_token,
227
230
  operate_type: this.operate_type,
228
231
  wallet_type: this.wallet_type,
232
+ wallet_nnid: this.wallet_nnid,
229
233
  },
230
234
  })
231
235
  .then((res) => {
@@ -314,7 +318,7 @@ export default {
314
318
  },
315
319
  handleToBillDetail(item) {
316
320
  this.$xdUniHelper.navigateTo({
317
- url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
321
+ url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${this.wallet_nnid}`,
318
322
  });
319
323
  },
320
324
  handleConfirm(status) {
@@ -322,7 +326,7 @@ export default {
322
326
  },
323
327
  handleToEffective(item) {
324
328
  this.$xdUniHelper.navigateTo({
325
- url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}`,
329
+ url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}&wallet_nnid=${this.wallet_nnid}`,
326
330
  });
327
331
  },
328
332
  /**