jufubao-base 1.0.312-beta2 → 1.0.313
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 +1 -1
- package/src/components/JfbBaseCardDetail/Attr.js +12 -0
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +162 -1
- package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +163 -2
- package/src/components/JfbBaseCardInfo/Attr.js +14 -2
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +13 -2
- package/src/components/JfbBaseCardInfoEntry/Attr.js +14 -2
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +13 -4
- package/src/components/JfbBaseCardSweepInfo/Attr.js +14 -2
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +17 -2
- package/src/components/JfbBaseCodeOpenVip/Api.js +4 -15
- package/src/components/JfbBaseCodeOpenVip/Attr.js +229 -299
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +181 -702
- package/src/components/JfbBaseCodeOpenVip/Mock.js +1 -3
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +4 -28
- package/src/components/JfbBaseConsumpCode/cusAttr/advanced.js +1 -1
- package/src/components/JfbBaseConsumpCode/cusAttr/style.js +1 -43
- package/src/components/JfbBaseOpenVip/Attr.js +2 -52
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +24 -70
- package/src/components/JfbBaseOpenVip/Mock.js +1 -1
- package/src/components/JfbBaseOpenVip/XdVipList.vue +19 -85
- package/src/components/JfbBasePosterType/FourScreen.vue +2 -2
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +41 -57
|
@@ -106,10 +106,11 @@ export default {
|
|
|
106
106
|
pa: "", //二维码
|
|
107
107
|
//页面跳转地址
|
|
108
108
|
backUrl: "",
|
|
109
|
-
|
|
109
|
+
back_detail_url: "",//票券绑定成功回跳票券详情地址
|
|
110
110
|
inCallbackUrlOrg:'',//是否带有回调地址
|
|
111
111
|
is_show_balance: "N", //是否显示余额
|
|
112
112
|
hasCon: "", //是否有优惠券
|
|
113
|
+
card_number: "", //票券号码
|
|
113
114
|
};
|
|
114
115
|
},
|
|
115
116
|
watch: {
|
|
@@ -164,6 +165,9 @@ export default {
|
|
|
164
165
|
//#ifdef H5
|
|
165
166
|
let base = this.jfbAuthorize.getBasePath(this);
|
|
166
167
|
let url = `${location.origin}${base}${this.backUrl}`;
|
|
168
|
+
if(res.jump_page==='detail'){
|
|
169
|
+
url = `${location.origin}${base}${this.back_detail_url}`+`?card_number=${this.card_number}`;
|
|
170
|
+
}
|
|
167
171
|
url = this.getUrlCallback(url)
|
|
168
172
|
this.$xdLog.setARMSInfo({url}, 'static_qr_card_bind');
|
|
169
173
|
|
|
@@ -173,7 +177,10 @@ export default {
|
|
|
173
177
|
// #endif
|
|
174
178
|
|
|
175
179
|
//#ifndef H5
|
|
176
|
-
let wPath = this.getUrlCallback(this.backUrl)
|
|
180
|
+
let wPath = this.getUrlCallback(this.backUrl);
|
|
181
|
+
if(res.jump_page==='detail'){
|
|
182
|
+
wPath = this.getUrlCallback(this.back_detail_url)+`?card_number=${this.card_number}`;
|
|
183
|
+
}
|
|
177
184
|
this.$xdUniHelper.redirectTo({
|
|
178
185
|
url:wPath,
|
|
179
186
|
});
|
|
@@ -187,6 +194,9 @@ export default {
|
|
|
187
194
|
//#ifdef H5
|
|
188
195
|
let base = this.jfbAuthorize.getBasePath(this);
|
|
189
196
|
let url = `${location.origin}${base}${this.backUrl}`;
|
|
197
|
+
if(res.jump_page==='detail'){
|
|
198
|
+
url = `${location.origin}${base}${this.back_detail_url}`+`?card_number=${this.card_number}`;
|
|
199
|
+
}
|
|
190
200
|
url = this.getUrlCallback(url)
|
|
191
201
|
this.$xdLog.setARMSInfo({url}, 'static_qr_card_bind');
|
|
192
202
|
|
|
@@ -197,6 +207,9 @@ export default {
|
|
|
197
207
|
|
|
198
208
|
//#ifndef H5
|
|
199
209
|
let wPath = this.getUrlCallback(this.backUrl)
|
|
210
|
+
if(res.jump_page==='detail'){
|
|
211
|
+
wPath = this.getUrlCallback(this.back_detail_url)+`?card_number=${this.card_number}`
|
|
212
|
+
}
|
|
200
213
|
this.$xdUniHelper.redirectTo({
|
|
201
214
|
url:wPath,
|
|
202
215
|
});
|
|
@@ -212,6 +225,7 @@ export default {
|
|
|
212
225
|
},
|
|
213
226
|
init() {
|
|
214
227
|
this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
|
|
228
|
+
this.back_detail_url = getContainerPropsValue( this.container, "content.back_detail_url", { value: "" }).value;
|
|
215
229
|
this.is_show_balance = getContainerPropsValue(this.container, 'content.is_show_balance', "N");
|
|
216
230
|
},
|
|
217
231
|
onJfbLoad(options) {
|
|
@@ -239,6 +253,7 @@ export default {
|
|
|
239
253
|
})
|
|
240
254
|
.then((res) => {
|
|
241
255
|
console.log('getSweepByQrCardDetail',res)
|
|
256
|
+
this.card_number = res.card_number;
|
|
242
257
|
res.is_exchange_name = res.is_exchange === "Y" ? "可转换" : "不可转换";
|
|
243
258
|
let temp = {};
|
|
244
259
|
Object.keys(res).map((key) => {
|
|
@@ -8,12 +8,10 @@ module.exports = [
|
|
|
8
8
|
{
|
|
9
9
|
mapFnName: "getExchangeCode",
|
|
10
10
|
title: "兑换码",
|
|
11
|
-
path: "/member/v1/
|
|
11
|
+
path: "/member/v1/exchange/:exchange_code",
|
|
12
12
|
isRule: true,
|
|
13
13
|
params: {
|
|
14
|
-
|
|
15
|
-
card_password: ['密码', 'String', '可选'],
|
|
16
|
-
card_qrcode: ['二维码', 'String', '可选'],
|
|
14
|
+
exchange_code: ['兑换码', 'String', '必选']
|
|
17
15
|
},
|
|
18
16
|
isConsole: true,
|
|
19
17
|
disabled: true,
|
|
@@ -21,7 +19,7 @@ module.exports = [
|
|
|
21
19
|
{
|
|
22
20
|
mapFnName: "createVipOrder",
|
|
23
21
|
title: "创建VIP订单",
|
|
24
|
-
path: "/member/v1/
|
|
22
|
+
path: "/member/v1/order/submit",
|
|
25
23
|
isRule: false,
|
|
26
24
|
data: {
|
|
27
25
|
business_code: ['业务编码', 'String', '必选'],
|
|
@@ -33,14 +31,5 @@ module.exports = [
|
|
|
33
31
|
},
|
|
34
32
|
isConsole: true,
|
|
35
33
|
disabled: true,
|
|
36
|
-
}
|
|
37
|
-
{
|
|
38
|
-
mapFnName: 'getOpenBaseUserInfo',
|
|
39
|
-
title: '获取用户信息',
|
|
40
|
-
path: '/passport/v1/user/get',
|
|
41
|
-
params: {},
|
|
42
|
-
isRule: false,
|
|
43
|
-
isConsole: true,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
34
|
+
}
|
|
46
35
|
];
|