jufubao-base 1.0.232-beta5 → 1.0.232-beta7

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.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBalance/Api.js +18 -30
  3. package/src/components/JfbBaseBalance/Attr.js +292 -24
  4. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +253 -32
  5. package/src/components/JfbBaseBalance/Mock.js +5 -9
  6. package/src/components/JfbBaseCodeOpenVip/Api.js +17 -39
  7. package/src/components/JfbBaseCodeOpenVip/Attr.js +19 -0
  8. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +52 -23
  9. package/src/components/JfbBaseConsumpCode/Api.js +94 -19
  10. package/src/components/JfbBaseConsumpCode/Attr.js +13 -0
  11. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +397 -93
  12. package/src/components/JfbBaseConsumpCode/Mock.js +18 -9
  13. package/src/components/JfbBaseOpenVip/Api.js +11 -40
  14. package/src/components/JfbBaseOpenVip/Attr.js +4 -4
  15. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +68 -25
  16. package/src/components/JfbBaseOpenVip/Mock.js +16 -9
  17. package/src/components/JfbBaseOpenVip/XdVipList.vue +44 -6
  18. package/src/components/JfbBaseOpenVipDetail/Api.js +17 -39
  19. package/src/components/JfbBaseOpenVipDetail/Attr.js +16 -27
  20. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +108 -23
  21. package/src/components/JfbBasePersonalData/Api.js +9 -41
  22. package/src/components/JfbBasePersonalData/Attr.js +1 -37
  23. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +43 -21
  24. package/src/components/JfbBasePointsCard/Api.js +4 -44
  25. package/src/components/JfbBasePointsCard/Attr.js +8 -44
  26. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +24 -107
  27. package/src/components/JfbBasePointsCard/Mock.js +1 -9
  28. package/src/components/JfbBasePointsDetail/Api.js +25 -0
  29. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +66 -20
  30. package/src/components/JfbBasePointsDetail/Mock.js +2 -9
  31. package/src/components/JfbBaseSavingDetail/Api.js +12 -29
  32. package/src/components/JfbBaseSavingDetail/Attr.js +44 -22
  33. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +593 -29
  34. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
  35. package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
  36. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
  37. package/src/components/JfbBaseShare/Api.js +5 -43
  38. package/src/components/JfbBaseShare/JfbBaseShare.vue +13 -12
  39. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +1 -20
  40. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +5 -0
  41. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +5 -1
  42. package/src/components/JfbBaseWithDrawAgain/Api.js +13 -30
  43. package/src/components/JfbBaseWithDrawAgain/Attr.js +70 -26
  44. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +255 -32
  45. package/src/components/JfbBaseWithDrawAgain/Mock.js +6 -9
  46. package/src/components/JfbBaseWithDrawRecord/Api.js +4 -43
  47. package/src/components/JfbBaseWithDrawRecord/Attr.js +56 -25
  48. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +157 -35
  49. package/src/components/JfbBaseWithDrawRecord/Mock.js +3 -9
  50. package/src/components/JfbBaseWithdraw/Api.js +20 -30
  51. package/src/components/JfbBaseWithdraw/Attr.js +304 -24
  52. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +166 -32
  53. package/src/components/JfbBaseWithdraw/Mock.js +2 -8
@@ -7,52 +7,127 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Consump
10
- mapFnName: 'getConsumpByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
10
+ mapFnName: 'getConsumpCode',
11
+ title: '获取支付码',
12
+ path: '/store/v1/order/get-quick-pay-code',
13
13
  isRule: false,
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
15
+ shop_id: ['门店ID', 'Number', '必选'],
16
+ temp_order_id: ['临时订单号第一次获取为空,再次获取需要传上次获取到数据', 'Number', '非必选'],
17
17
  },
18
18
  isConsole: true,
19
19
  disabled: true,
20
20
  },
21
21
  {
22
22
  //设置方法名字当别忘记加上【模块名字】:Consump
23
- mapFnName: 'updateConsumpFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
23
+ mapFnName: 'getConsumpCodeScanStatus',
24
+ title: '获取支付码扫码状态',
25
+ path: '/store/v1/order/get-quick-pay-scan-status',
26
26
  isRule: false,
27
27
  params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
28
+ temp_order_id: ['临时订单号', 'Number', '必选'],
30
29
  },
31
30
  isConsole: true,
32
31
  disabled: true,
33
32
  },
34
33
  {
35
- //设置方法名字当别忘记加上【模块名字】:Consump
36
- mapFnName: 'removeConsumpFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
34
+ mapFnName: "getConsumpListUserPayChannel",
35
+ title: "获取用户可用支付渠道",
36
+ path: "/pay/v1/pay-channel/list-user-pay-channel",
37
+ isRule: false,
38
+ params: {
39
+ providers: ['支付方式id 多个用逗号分隔', "String", '必选']
40
+ },
41
+ isConsole: true,
42
+ disabled: true
43
+ },
44
+ {
45
+ path: '/store/v1/order/async-submit-status',
46
+ title: "获取异步下单的状态",
47
+ mapFnName: "getConsumpAsyncSubmitStatus",
39
48
  isRule: false,
40
49
  params: {
41
- film_id: ['电影id', 'Number', '必选'],
50
+ request_order_id: ['temp_order_id', 'Number', '必选'],
42
51
  },
43
52
  isConsole: true,
44
53
  disabled: true,
45
54
  },
55
+ {
56
+ mapFnName: "setConsumpThirdPlace",
57
+ title: "第三方渠道下单",
58
+ path: "/pay/v1/order/third-place",
59
+ isRule: false,
60
+ data: {
61
+ order_id: ['订单号', "String", "必填"],
62
+ channel_provider_id: ['支付渠道id', "String", '必选']
63
+ },
64
+ isConsole: true,
65
+ disabled: true
66
+ },
67
+ {
68
+ mapFnName: "updateConsumpPay",
69
+ title: "修改订单为支付中",
70
+ path: "/order/v1/order/update-to-paying",
71
+ isRule: false,
72
+ data: {
73
+ main_order_id: ['订单号', "String", "必填"],
74
+ },
75
+ isConsole: true,
76
+ disabled: true
77
+ },
46
78
  {
47
79
  //设置方法名字当别忘记加上【模块名字】:Consump
48
- mapFnName: 'addConsumpFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
80
+ mapFnName: 'batchConsumpUseCardCreated',
81
+ title: '批量使用卡券下单',
82
+ path: '/store/v1/order/batch-use-card-created',
83
+ isRule: false,
84
+ data: {
85
+ temp_order_id: ['临时订单号', 'Number', '必选'],
86
+ },
87
+ isConsole: true,
88
+ disabled: true,
89
+ },
90
+ {
91
+ //设置方法名字当别忘记加上【模块名字】:Consump
92
+ mapFnName: 'getConsumpShopList',
93
+ title: '获取附近门店列表',
94
+ path: '/mall/v1/shop/msearch',
95
+ isRule: false,
96
+ params: {},
97
+ isConsole: true,
98
+ disabled: true,
99
+ },
100
+ {
101
+ mapFnName: 'getConsumpSettleMainInfo',
102
+ title: '门店核销 - 展示主界面数据',
103
+ // path: '/store/v1/cash/settle/main-info',
104
+ path: "/store/v1/order/main-info",
51
105
  isRule: false,
52
106
  params: {
53
- film_id: ['电影id', 'Number', '必选'],
107
+ shop_id: ['门店id', 'Number', '必选'],
54
108
  },
55
109
  isConsole: true,
56
110
  disabled: true,
57
111
  },
112
+ {
113
+ mapFnName: 'addConsumpCashierTempOrderData',
114
+ title: '门店核销 - 保存临时购物数据',
115
+ path: "/store/v1/order/save-cart-order-data",
116
+ isRule: false,
117
+ data: {
118
+ shop_id: ['门店id', 'Number', '必选'],
119
+ settle_tag_id: ['结算标签id', 'Number', '必选'],
120
+ },
121
+ isConsole: true,
122
+ disabled: true,
123
+ },
124
+ {
125
+ mapFnName: 'getConsumpBaseUserInfo',
126
+ title: '获取用户信息',
127
+ path: '/passport/v1/user/get',
128
+ params: {},
129
+ isRule: false,
130
+ isConsole: true,
131
+ disabled: true,
132
+ }
58
133
  ];
@@ -42,6 +42,19 @@ export default {
42
42
  },
43
43
  inline: false,
44
44
  },
45
+ {
46
+ label: '核销支付路径:',
47
+ ele: 'xd-select-pages-path',
48
+ valueKey: 'cash_pay_path',
49
+ placeholder: '请选择核销支付路径',
50
+ className: 'input100',
51
+ groupKey:'advanced',
52
+ value: null,
53
+ setting: {
54
+ router: XdBus.getParentApi('getPagesTree')
55
+ },
56
+ inline: false,
57
+ },
45
58
  ].filter(i=>i)
46
59
  },
47
60
  advanced: [],