jufubao-base 1.0.109-beta1 → 1.0.110-beta1

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 (55) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +37 -18
  3. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +37 -17
  4. package/src/components/JfbBaseConDialog/Api.js +35 -0
  5. package/src/components/JfbBaseConDialog/Attr.js +13 -0
  6. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +169 -6
  7. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +197 -0
  8. package/src/components/JfbBaseConList/Attr.js +11 -0
  9. package/src/components/JfbBaseConList/JfbBaseConList.vue +49 -19
  10. package/src/components/JfbBaseConList/Mock.js +19 -5
  11. package/src/components/JfbBasePay/Api.js +3 -2
  12. package/src/components/JfbBasePay/JfbBasePay.vue +28 -18
  13. package/src/components/JfbBaseSaasBlessDetail/Api.js +60 -0
  14. package/src/components/JfbBaseSaasBlessDetail/Attr.js +106 -0
  15. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +227 -0
  16. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +80 -0
  17. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +30 -0
  18. package/src/components/JfbBaseSaasBlessDetail/Mock.js +5 -0
  19. package/src/components/JfbBaseSaasBlessDialog/Api.js +60 -0
  20. package/src/components/JfbBaseSaasBlessDialog/Attr.js +50 -0
  21. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +265 -0
  22. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +80 -0
  23. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +30 -0
  24. package/src/components/JfbBaseSaasBlessDialog/Mock.js +5 -0
  25. package/src/components/JfbBaseSaasBlessReceive/Api.js +60 -0
  26. package/src/components/JfbBaseSaasBlessReceive/Attr.js +106 -0
  27. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +172 -0
  28. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +80 -0
  29. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +30 -0
  30. package/src/components/JfbBaseSaasBlessReceive/Mock.js +5 -0
  31. package/src/components/JfbBaseSaasHome/Api.js +60 -0
  32. package/src/components/JfbBaseSaasHome/Attr.js +106 -0
  33. package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +271 -0
  34. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +80 -0
  35. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +30 -0
  36. package/src/components/JfbBaseSaasHome/Mock.js +5 -0
  37. package/src/components/JfbBaseSaasLogin/Api.js +60 -0
  38. package/src/components/JfbBaseSaasLogin/Attr.js +37 -0
  39. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +297 -0
  40. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +80 -0
  41. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +30 -0
  42. package/src/components/JfbBaseSaasLogin/Mock.js +5 -0
  43. package/src/components/JfbBaseSaasNewsDetail/Api.js +60 -0
  44. package/src/components/JfbBaseSaasNewsDetail/Attr.js +106 -0
  45. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +140 -0
  46. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +80 -0
  47. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +30 -0
  48. package/src/components/JfbBaseSaasNewsDetail/Mock.js +5 -0
  49. package/src/components/JfbBaseSaasNewsList/Api.js +60 -0
  50. package/src/components/JfbBaseSaasNewsList/Attr.js +106 -0
  51. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +155 -0
  52. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +80 -0
  53. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +30 -0
  54. package/src/components/JfbBaseSaasNewsList/Mock.js +5 -0
  55. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.109-beta1",
3
+ "version": "1.0.110-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -106,7 +106,7 @@
106
106
 
107
107
  <script>
108
108
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
109
- import { jfbRootExec } from "@/utils/xd.event";
109
+ import { jfbRootExec, jfbRootFnExec } from "@/utils/xd.event";
110
110
  import { Base64 } from "js-base64";
111
111
  import JfbBaseCardInfoMixin from "./JfbBaseCardInfoMixin";
112
112
  import componentsMixins from "@/mixins/componentsMixins";
@@ -162,6 +162,7 @@ export default {
162
162
 
163
163
  qrcode: "", //二维码
164
164
  showForm: true,
165
+ hasCon: "", //是否有优惠券
165
166
 
166
167
  //页面跳转地址
167
168
  backUrl: "",
@@ -174,6 +175,12 @@ export default {
174
175
  },
175
176
  created() {},
176
177
  methods: {
178
+ toShowCouponDialog(){
179
+ // jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: "10001000001133"})
180
+ if(this.info){
181
+ jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: this.info.card_number})
182
+ }
183
+ },
177
184
  handleToLink(path) {
178
185
  if (this.qrcode) {
179
186
  jfbRootExec("qrCardBind", {
@@ -183,14 +190,7 @@ export default {
183
190
  },
184
191
  })
185
192
  .then((res) => {
186
- this.$xdAlert({
187
- content: "绑定成功",
188
- close: () => {
189
- this.$xdUniHelper.redirectTo({
190
- url: this.backUrl,
191
- });
192
- },
193
- });
193
+ this.handlerAfterBindCard();
194
194
  })
195
195
  .catch();
196
196
  } else {
@@ -202,19 +202,32 @@ export default {
202
202
  },
203
203
  })
204
204
  .then((res) => {
205
- console.log(this.$xdAlert, "this.$xdAlertfsdfs");
206
- this.$xdAlert({
207
- content: "绑定成功",
208
- close: () => {
209
- this.$xdUniHelper.redirectTo({
210
- url: this.backUrl,
211
- });
212
- },
213
- });
205
+ this.handlerAfterBindCard();
214
206
  })
215
207
  .catch();
216
208
  }
217
209
  },
210
+ handlerAfterBindCard(){
211
+ if(this.hasCon){
212
+ this.toShowCouponDialog();
213
+ this.$bus.$on("onCloseConDialog",(container_id) => {
214
+ if(container_id === this.hasCon){
215
+ this.$xdUniHelper.redirectTo({
216
+ url: this.backUrl,
217
+ });
218
+ }
219
+ })
220
+ }else{
221
+ this.$xdAlert({
222
+ content: "票券绑定成功",
223
+ close: () => {
224
+ this.$xdUniHelper.redirectTo({
225
+ url: this.backUrl,
226
+ });
227
+ },
228
+ });
229
+ }
230
+ },
218
231
  init() {
219
232
  this.backUrl = getContainerPropsValue(
220
233
  this.container,
@@ -327,6 +340,12 @@ export default {
327
340
  onJfbShow(options) {
328
341
  this.onJfbLoad(options);
329
342
  },
343
+ onJfbCustomEvent({action, data}){
344
+ if(action === 'baseConDialog@hasCon'){
345
+ this.hasCon = data;
346
+ }
347
+ console.log('onJfbCustomEvent',action, data);
348
+ }
330
349
  },
331
350
  };
332
351
  </script>
@@ -124,7 +124,7 @@
124
124
 
125
125
  <script>
126
126
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
127
- import { jfbRootExec } from "@/utils/xd.event";
127
+ import { jfbRootExec, jfbRootFnExec } from "@/utils/xd.event";
128
128
  import JfbBaseCardInfoEntryMixin from "./JfbBaseCardInfoEntryMixin";
129
129
  import { getContainerPropsValue } from "@/utils/xd.base";
130
130
  import getServiceUrl from "@/common/getServiceUrl";
@@ -157,6 +157,7 @@ export default {
157
157
 
158
158
  qrcode: "", //二维码
159
159
  showForm: true,
160
+ hasCon: "",
160
161
 
161
162
  //页面跳转地址
162
163
  backUrl: "",
@@ -175,6 +176,12 @@ export default {
175
176
  },
176
177
  created() {},
177
178
  methods: {
179
+ toShowCouponDialog(){
180
+ // jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: "10001000001133"})
181
+ if(this.info){
182
+ jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: this.info.card_number})
183
+ }
184
+ },
178
185
  handleToLink() {
179
186
  if(this.info.card_point===0) {
180
187
  this.$xdConfirm({
@@ -200,14 +207,7 @@ export default {
200
207
  },
201
208
  })
202
209
  .then((res) => {
203
- this.$xdAlert({
204
- content: "票券绑定成功",
205
- close: () => {
206
- this.$xdUniHelper.redirectTo({
207
- url: this.backUrl,
208
- });
209
- },
210
- });
210
+ this.handlerAfterBindCard();
211
211
  })
212
212
  .catch();
213
213
  } else {
@@ -221,18 +221,32 @@ export default {
221
221
  })
222
222
  .then((res) => {
223
223
  console.log(this.$xdAlert, "this.$xdAlertfsdfs");
224
- this.$xdAlert({
225
- content: "票券绑定成功",
226
- close: () => {
227
- this.$xdUniHelper.redirectTo({
228
- url: this.backUrl,
229
- });
230
- },
231
- });
224
+ this.handlerAfterBindCard();
232
225
  })
233
226
  .catch();
234
227
  }
235
228
  },
229
+ handlerAfterBindCard(){
230
+ if(this.hasCon){
231
+ this.toShowCouponDialog();
232
+ this.$bus.$on("onCloseConDialog",(container_id) => {
233
+ if(container_id === this.hasCon){
234
+ this.$xdUniHelper.redirectTo({
235
+ url: this.backUrl,
236
+ });
237
+ }
238
+ })
239
+ }else{
240
+ this.$xdAlert({
241
+ content: "票券绑定成功",
242
+ close: () => {
243
+ this.$xdUniHelper.redirectTo({
244
+ url: this.backUrl,
245
+ });
246
+ },
247
+ });
248
+ }
249
+ },
236
250
  init() {
237
251
  this.backUrl = getContainerPropsValue(
238
252
  this.container,
@@ -362,6 +376,12 @@ export default {
362
376
  onJfbShow(options) {
363
377
  this.onJfbLoad(options);
364
378
  },
379
+ onJfbCustomEvent({action, data}){
380
+ if(action === 'baseConDialog@hasCon'){
381
+ this.hasCon = data;
382
+ }
383
+ console.log('onJfbCustomEvent',action, data);
384
+ }
365
385
  },
366
386
  };
367
387
  </script>
@@ -16,4 +16,39 @@ module.exports = [
16
16
  isConsole: true,
17
17
  disabled: true,
18
18
  },
19
+ {
20
+ mapFnName: 'getCouponList', //自定义方法名字(必选)
21
+ title: '获取优惠券列表',
22
+ path: '/sms-coupon/v1/activity-prizes-user/list',
23
+ isRule: false,
24
+ params: {
25
+ distribution_method: ['发放方式 entry=主动发放, homed=首页发放,paid=消费后发放,card_binded=绑定卡后发放', 'String', '选填'],
26
+ namespace: ['业务线', 'String', '必填'],
27
+ },
28
+ isConsole: true,
29
+ disabled: true,
30
+ },
31
+ {
32
+ mapFnName: 'getAllCoupon', //自定义方法名字(必选)
33
+ title: '领取优惠券',
34
+ path: '/sms-coupon/v1/activity-prizes-user/set',
35
+ isRule: false,
36
+ params: {
37
+ distribution_method: ['发放方式 entry=主动发放, homed=首页发放,paid=消费后发放,card_binded=绑定卡后发放', 'String', '选填'],
38
+ namespace: ['业务线', 'String', '必填'],
39
+ },
40
+ isConsole: true,
41
+ disabled: true,
42
+ },
43
+ {
44
+ mapFnName: 'getCouponResult', //自定义方法名字(必选)
45
+ title: '轮询查询活动结果',
46
+ path: '/sms-coupon/v1/activity-prizes-user/get',
47
+ isRule: false,
48
+ params: {
49
+ tmp_order_number: ['tmp_order_number', 'String', '选填'],
50
+ },
51
+ isConsole: true,
52
+ disabled: true,
53
+ },
19
54
  ];
@@ -31,6 +31,19 @@ export default {
31
31
  { label: '切换', value: 2 },
32
32
  ]
33
33
  },
34
+ {
35
+ label: "触发事件:",
36
+ ele: "xd-select-list",
37
+ valueKey: "distribution_method",
38
+ value: data.distribution_method || "",
39
+ placeholder: "请选择触发事件",
40
+ className: 'input80',
41
+ list: [
42
+ { label: "首页发放", value: "homed" },
43
+ { label: "支付成功", value: "paid" },
44
+ { label: "绑卡成功", value: "card_binded" },
45
+ ]
46
+ },
34
47
  {
35
48
  label: '弹窗间隔:',
36
49
  ele: 'el-input',
@@ -17,9 +17,9 @@
17
17
  </view>
18
18
  <!-- #endif -->
19
19
  <view class="jfb-base-con-dialog__body">
20
- <view class="jfb-base-con-dialog__body-dialog" v-if="isShow">
20
+ <view v-if="isShow" class="jfb-base-con-dialog__body-dialog">
21
21
  <view class="jfb-base-con-dialog__body-dialog-mask"></view>
22
- <view class="jfb-base-con-dialog__body-dialog-content">
22
+ <view v-if="distribution_method !== 'card_binded'" class="jfb-base-con-dialog__body-dialog-content">
23
23
  <view v-if="list.length>1" class="jfb-base-con-dialog__body-dialog-content-num">
24
24
  <text>{{ currentIndex + 1 }}/{{ list.length }}</text>
25
25
  </view>
@@ -51,7 +51,16 @@
51
51
  size="64"
52
52
  ></xd-font-icon>
53
53
  </view>
54
+ <view v-else class="jfb-base-con-dialog__body-dialog-content">
55
+ <xd-cou-card-bind
56
+ :list="couponList"
57
+ :setting="couponOther"
58
+ @closeDialog="handleCardBindClose"
59
+ @getCoupont="handleGetCoupon"
60
+ ></xd-cou-card-bind>
61
+ </view>
54
62
  </view>
63
+
55
64
  <view
56
65
  :style="{ background: backgroundColor, color: warningColor }"
57
66
  class="jfb-base-con-dialog__body-pop"
@@ -64,7 +73,7 @@
64
73
 
65
74
  <script>
66
75
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
67
- import { jfbRootExec, JfbEvent } from "@/utils/xd.event";
76
+ import { jfbRootExec, JfbEvent, jfbRootFnExec } from "@/utils/xd.event";
68
77
  import JfbBaseConDialogMixin from "./JfbBaseConDialogMixin";
69
78
  import componentsMixins from "@/mixins/componentsMixins";
70
79
  import extsMixins from "@/mixins/extsMixins";
@@ -74,11 +83,13 @@ import colorCardMixins from "@/mixins/colorCardMixins";
74
83
  const Color = require("color");
75
84
  import { mapState } from "vuex";
76
85
  import storage from "@/common/storage";
86
+ import XdCouCardBind from "./XdCouCardBind";
77
87
 
78
88
  export default {
79
89
  name: "JfbBaseConDialog",
80
90
  components: {
81
91
  XdFontIcon,
92
+ XdCouCardBind
82
93
  },
83
94
  mixins: [componentsMixins, extsMixins, JfbBaseConDialogMixin],
84
95
  data() {
@@ -93,6 +104,15 @@ export default {
93
104
  isPreview: false, //是否预览
94
105
  activity_id: "",
95
106
  backgroundColor: "",
107
+ distribution_method: "homed", //触发事件
108
+ dispatchData: "", //触发事件参数
109
+
110
+ couponList: [],
111
+ couponOther: {},
112
+ order_num: null,
113
+ timer: null,
114
+ timeNum: 0,
115
+
96
116
  };
97
117
  },
98
118
  computed: {
@@ -114,6 +134,7 @@ export default {
114
134
  this.list_url = getContainerPropsValue(value, "content.list_url", {
115
135
  value: "",
116
136
  }).value;
137
+ this.distribution_method = getContainerPropsValue(value, "content.distribution_method", "homed");
117
138
  this.type = getContainerPropsValue(value, "content.type", 1);
118
139
  this.isHide = getContainerPropsValue(value, "content.isHide", false);
119
140
  this.time = Number(getContainerPropsValue(value, "content.time", 3));
@@ -121,16 +142,108 @@ export default {
121
142
  this.isShow = !this.isHide;
122
143
  }
123
144
  },
124
- getDialogList() {
145
+ //领取优惠券
146
+ handleGetCoupon(item){
147
+ this.$xdShowLoading({});
148
+ jfbRootExec("getAllCoupon", {
149
+ vm: this,
150
+ data: {
151
+ prize_id: item.prize_id,
152
+ distribution_method: this.distribution_method,
153
+ ...this.dispatchData
154
+ }
155
+ }).then(res => {
156
+ if (res.code == 400) {
157
+ this.$xdHideLoading();
158
+ this.$xdAlert({
159
+ content: res.message,
160
+ zIndex: 3200,
161
+ time: 2000,
162
+ isClose: false,
163
+ });
164
+ this.getDialogList();
165
+ return;
166
+ }
167
+ this.order_num = res.tmp_order_number;
168
+ setTimeout(()=>{
169
+ this.getResult();
170
+ },1000)
171
+ }).catch((err) => {
172
+ console.log(err, "err");
173
+ });
174
+ },
175
+ getResult() {
176
+ jfbRootExec("getCouponResult", {
177
+ vm: this,
178
+ data: {
179
+ tmp_order_number: this.order_num,
180
+ ...this.dispatchData
181
+ },
182
+ })
183
+ .then((res) => {
184
+ if (res.status_type === "success") {
185
+ this.order_num = null;
186
+ this.$xdHideLoading();
187
+ this.$xdAlert({
188
+ content: "领取成功",
189
+ zIndex: 3200,
190
+ time: 2000,
191
+ isClose: false,
192
+ });
193
+ this.getDialogList();
194
+ if (this.timer) {
195
+ this.timeNum = 0;
196
+ clearTimeout(this.timer);
197
+ }
198
+ return;
199
+ }
200
+ if (res.status_type === "error") {
201
+ this.$xdHideLoading();
202
+ this.$xdAlert({
203
+ content: res.message,
204
+ zIndex: 3200,
205
+ time: 2000,
206
+ isClose: false,
207
+ });
208
+ if (res.code == 400) {
209
+ this.getDialogList();
210
+ }
211
+ if (this.timer) {
212
+ this.timeNum = 0;
213
+ clearTimeout(this.timer);
214
+ }
215
+ return;
216
+ }
217
+
218
+ this.timer = setTimeout(() => {
219
+ this.getResult();
220
+ if (this.timeNum > 5) {
221
+ this.$xdLog.setARMSInfo(
222
+ { message: "领取中" },
223
+ `pay_${res.status_type}`
224
+ );
225
+ }
226
+ this.timeNum++;
227
+ }, Math.pow(2, this.timeNum > 5 ? 5 : this.timeNum) * 1000);
228
+ })
229
+ .catch((err) => {
230
+ this.$xdHideLoading();
231
+ console.log(err, "err");
232
+ });
233
+ },
234
+ p_getDialogList(){
125
235
  jfbRootExec("getCouponDialogList", {
126
236
  vm: this,
127
237
  data: {
128
238
  namespace: this.pageBusinessCode,
239
+ distribution_method: this.distribution_method,
240
+ ...this.dispatchData
129
241
  },
130
242
  })
131
243
  .then((res) => {
132
244
  console.log(res, "resresres");
133
245
  this.list = res.list;
246
+ if(res.list.length === 0) return;
134
247
  this.currentImage = getServiceUrl(
135
248
  this.list[this.currentIndex].app_activity_url
136
249
  );
@@ -144,6 +257,31 @@ export default {
144
257
  console.log(err, "err");
145
258
  });
146
259
  },
260
+ p_getCouponList(){
261
+ jfbRootExec("getCouponList", {
262
+ vm: this,
263
+ data: {
264
+ distribution_method: this.distribution_method,
265
+ ...this.dispatchData
266
+ }
267
+ }).then(res => {
268
+ const { list, ...other } = res;
269
+ this.couponList = list;
270
+ this.couponOther = other;
271
+ if(res.can_take === "Y" && res.has_times === "Y" && list.length > 0){
272
+ this.isShow = true;
273
+ }else{
274
+ this.handleCardBindClose();
275
+ }
276
+ })
277
+ },
278
+ getDialogList() {
279
+ if(this.distribution_method === 'card_binded'){
280
+ this.p_getCouponList();
281
+ }else{
282
+ this.p_getDialogList();
283
+ }
284
+ },
147
285
  handlePop() {
148
286
  console.log("this.time", this.time * 60 + "分钟");
149
287
  storage.set(this.containerId, 1, this.time);
@@ -151,12 +289,23 @@ export default {
151
289
  },
152
290
  onJfbLoad(options) {
153
291
  console.log(11111);
292
+ //支付跟绑卡是主动触发
154
293
  try {
155
- if (!storage.get(this.containerId)) this.getDialogList();
294
+ if (!storage.get(this.containerId) &&
295
+ this.distribution_method !== "paid" &&
296
+ this.distribution_method !== "card_binded") this.getDialogList();
156
297
  } catch (error) {
157
298
  console.log(error, "errorerror");
158
299
  }
300
+ if(this.distribution_method === 'card_binded'){
301
+ jfbRootFnExec(this, 'onCustomEvent')("baseConDialog@hasCon", this.containerId);
302
+ }
159
303
  },
304
+ handleCardBindClose(){
305
+ this.isShow = false;
306
+ this.$bus.$emit("onCloseConDialog", this.containerId);
307
+ },
308
+
160
309
  onJfbUpdate(data) {
161
310
  storage.remove(this.containerId);
162
311
  this.getDialogList();
@@ -166,8 +315,15 @@ export default {
166
315
  this.onJfbLoad(options);
167
316
  },
168
317
  handleToList() {
318
+ let otherParams = "";
319
+ try {
320
+ if(this.dispatchData && this.$xdUniHelper.checkVarType(this.dispatchData) === 'object') {
321
+ otherParams = this.$xdUniHelper.jsonToParams(this.dispatchData);
322
+ }
323
+ } catch (error) {}
324
+
169
325
  this.$xdUniHelper.navigateTo({
170
- url: `${this.list_url}?activity_id=${this.activity_id}&distribution_method=homed`,
326
+ url: `${this.list_url}?activity_id=${this.activity_id}&distribution_method=${this.distribution_method}&${otherParams}`,
171
327
  });
172
328
  },
173
329
  handleClose() {
@@ -201,6 +357,13 @@ export default {
201
357
  );
202
358
  this.activity_id = this.list[this.currentIndex].activity_id;
203
359
  },
360
+ onJfbCustomEvent({action, data}){
361
+ if(action === '@showBaseConDialog'){
362
+ this.dispatchData = data;
363
+ this.getDialogList();
364
+ }
365
+ console.log('onJfbCustomEvent',action, data);
366
+ }
204
367
  },
205
368
  };
206
369
  </script>