jufubao-base 1.0.44 → 1.0.46-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.
package/package.json
CHANGED
|
@@ -481,16 +481,18 @@ export default {
|
|
|
481
481
|
this.inCallback = inCallback || this.allEntryPath || this.settings.index;
|
|
482
482
|
this.getContent();
|
|
483
483
|
|
|
484
|
-
this.getCardList();
|
|
484
|
+
this.getCardList(options);
|
|
485
485
|
},
|
|
486
486
|
|
|
487
|
-
getCardList() {
|
|
487
|
+
getCardList(options) {
|
|
488
|
+
let params = {is_all: 'Y'};
|
|
489
|
+
if(options['jfb_business_code']) {
|
|
490
|
+
params['card_business_code'] = options['jfb_business_code'];
|
|
491
|
+
}
|
|
488
492
|
this.$xdShowLoading({});
|
|
489
493
|
jfbRootExec("getListCardBind", {
|
|
490
494
|
vm: this,
|
|
491
|
-
data:
|
|
492
|
-
is_all: "Y",
|
|
493
|
-
},
|
|
495
|
+
data: params
|
|
494
496
|
})
|
|
495
497
|
.then((res) => {
|
|
496
498
|
this.showDisabled = res.is_show_invalid_card_entrance;
|
|
@@ -124,12 +124,15 @@
|
|
|
124
124
|
let { inCallback } = options;
|
|
125
125
|
if (inCallback) inCallback = Base64.decode(inCallback);
|
|
126
126
|
this.inCallback = inCallback || this.settings.index;
|
|
127
|
-
|
|
127
|
+
|
|
128
|
+
let params = {is_all: 'Y'};
|
|
129
|
+
if (options['jfb_business_code']) {
|
|
130
|
+
params['card_business_code'] = options['jfb_business_code'];
|
|
131
|
+
}
|
|
132
|
+
|
|
128
133
|
jfbRootExec("getListCardBind", {
|
|
129
134
|
vm: this,
|
|
130
|
-
data:
|
|
131
|
-
is_all: "Y",
|
|
132
|
-
},
|
|
135
|
+
data: params,
|
|
133
136
|
}).then((res) => {
|
|
134
137
|
this.cardList = res.list.map((item) => {
|
|
135
138
|
item['card_point'] = this.$xdUniHelper.divisionFloatNumber(item.card_point,100);
|
|
@@ -83,12 +83,15 @@
|
|
|
83
83
|
let { inCallback } = options;
|
|
84
84
|
if (inCallback) inCallback = Base64.decode(inCallback);
|
|
85
85
|
this.inCallback = inCallback || this.settings.index;
|
|
86
|
-
|
|
86
|
+
|
|
87
|
+
let params = {is_all: 'Y'};
|
|
88
|
+
if (options['jfb_business_code']) {
|
|
89
|
+
params['card_business_code'] = options['jfb_business_code'];
|
|
90
|
+
}
|
|
91
|
+
|
|
87
92
|
jfbRootExec("getListCardBind", {
|
|
88
93
|
vm: this,
|
|
89
|
-
data:
|
|
90
|
-
is_all: "Y",
|
|
91
|
-
},
|
|
94
|
+
data: params,
|
|
92
95
|
}).then((res) => {
|
|
93
96
|
this.cardList = res.list.map((item) => {
|
|
94
97
|
item['card_point'] = this.$xdUniHelper.divisionFloatNumber(item.card_point,100);
|
|
@@ -91,6 +91,16 @@
|
|
|
91
91
|
watch: {
|
|
92
92
|
container(value) {
|
|
93
93
|
this.init(value)
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
"accountForm.verification_code"(value) {
|
|
97
|
+
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
98
|
+
let start = value.slice(0, value.length / 2);
|
|
99
|
+
let end = value.slice(value.length / 2);
|
|
100
|
+
if (start === end) {
|
|
101
|
+
this.accountForm.verification_code = start;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
94
104
|
}
|
|
95
105
|
},
|
|
96
106
|
created() {
|