@yoooloo42/joker 1.0.293 → 1.0.295
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/dist/index.cjs.js +49 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +49 -22
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -16872,7 +16872,7 @@ var lookup = [];
|
|
|
16872
16872
|
var revLookup = [];
|
|
16873
16873
|
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;
|
|
16874
16874
|
var inited = false;
|
|
16875
|
-
function init$
|
|
16875
|
+
function init$3 () {
|
|
16876
16876
|
inited = true;
|
|
16877
16877
|
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
16878
16878
|
for (var i = 0, len = code.length; i < len; ++i) {
|
|
@@ -16886,7 +16886,7 @@ function init$2 () {
|
|
|
16886
16886
|
|
|
16887
16887
|
function toByteArray (b64) {
|
|
16888
16888
|
if (!inited) {
|
|
16889
|
-
init$
|
|
16889
|
+
init$3();
|
|
16890
16890
|
}
|
|
16891
16891
|
var i, j, l, tmp, placeHolders, arr;
|
|
16892
16892
|
var len = b64.length;
|
|
@@ -16945,7 +16945,7 @@ function encodeChunk (uint8, start, end) {
|
|
|
16945
16945
|
|
|
16946
16946
|
function fromByteArray (uint8) {
|
|
16947
16947
|
if (!inited) {
|
|
16948
|
-
init$
|
|
16948
|
+
init$3();
|
|
16949
16949
|
}
|
|
16950
16950
|
var tmp;
|
|
16951
16951
|
var len = uint8.length;
|
|
@@ -22928,7 +22928,7 @@ const getPgData = async _ref5 => {
|
|
|
22928
22928
|
};
|
|
22929
22929
|
|
|
22930
22930
|
// 初始化
|
|
22931
|
-
const init$
|
|
22931
|
+
const init$2 = async _ref6 => {
|
|
22932
22932
|
let {
|
|
22933
22933
|
scopeThis
|
|
22934
22934
|
} = _ref6;
|
|
@@ -23136,7 +23136,7 @@ var withTable = {
|
|
|
23136
23136
|
pageSizeChange,
|
|
23137
23137
|
currentPageChange,
|
|
23138
23138
|
getPgData,
|
|
23139
|
-
init: init$
|
|
23139
|
+
init: init$2,
|
|
23140
23140
|
popupFind,
|
|
23141
23141
|
popupInsertOne,
|
|
23142
23142
|
popupUpdateOne,
|
|
@@ -44200,7 +44200,8 @@ var formProps = {
|
|
|
44200
44200
|
await scopeThis.handles.submit({
|
|
44201
44201
|
scopeThis
|
|
44202
44202
|
});
|
|
44203
|
-
}
|
|
44203
|
+
},
|
|
44204
|
+
submitted: false // 提交监听,用于支付记录的刷新
|
|
44204
44205
|
}
|
|
44205
44206
|
};
|
|
44206
44207
|
|
|
@@ -44219,7 +44220,7 @@ var qrcode$1 = {
|
|
|
44219
44220
|
};
|
|
44220
44221
|
|
|
44221
44222
|
const ly0session = ly0request$1.ly0sessionLoad();
|
|
44222
|
-
function init(_ref) {
|
|
44223
|
+
function init$1(_ref) {
|
|
44223
44224
|
let {
|
|
44224
44225
|
scopeThis
|
|
44225
44226
|
} = _ref;
|
|
@@ -44257,6 +44258,8 @@ function submit(_ref2) {
|
|
|
44257
44258
|
}
|
|
44258
44259
|
// 关闭收银窗口
|
|
44259
44260
|
scopeThis.formProps.popup.visible = false;
|
|
44261
|
+
// 通知外部组件已提交
|
|
44262
|
+
scopeThis.formProps.submitted = true;
|
|
44260
44263
|
});
|
|
44261
44264
|
} else if (scopeThis.formData.process_code === "wxzf0") {
|
|
44262
44265
|
// 微信支付.客户付款码付款
|
|
@@ -44282,6 +44285,8 @@ function submit(_ref2) {
|
|
|
44282
44285
|
}
|
|
44283
44286
|
// 关闭收银窗口
|
|
44284
44287
|
scopeThis.formProps.popup.visible = false;
|
|
44288
|
+
// 通知外部组件已提交
|
|
44289
|
+
scopeThis.formProps.submitted = true;
|
|
44285
44290
|
});
|
|
44286
44291
|
} else if (scopeThis.formData.process_code === "wxzf2") {
|
|
44287
44292
|
// 微信支付.商户二维码收款
|
|
@@ -44306,6 +44311,8 @@ function submit(_ref2) {
|
|
|
44306
44311
|
}
|
|
44307
44312
|
// 关闭收银窗口
|
|
44308
44313
|
scopeThis.formProps.popup.visible = false;
|
|
44314
|
+
// 通知外部组件已提交
|
|
44315
|
+
scopeThis.formProps.submitted = true;
|
|
44309
44316
|
|
|
44310
44317
|
// 弹出二维码窗口
|
|
44311
44318
|
if (result.code === 0 && result.code_url) {
|
|
@@ -44323,8 +44330,8 @@ function submit(_ref2) {
|
|
|
44323
44330
|
elementPlus.ElMessage("未选择:系统内置支付流程");
|
|
44324
44331
|
}
|
|
44325
44332
|
}
|
|
44326
|
-
var handles$
|
|
44327
|
-
init,
|
|
44333
|
+
var handles$2 = {
|
|
44334
|
+
init: init$1,
|
|
44328
44335
|
submit
|
|
44329
44336
|
};
|
|
44330
44337
|
|
|
@@ -47399,7 +47406,7 @@ function requireBrowser () {
|
|
|
47399
47406
|
|
|
47400
47407
|
var browserExports = requireBrowser();
|
|
47401
47408
|
|
|
47402
|
-
var handles = {
|
|
47409
|
+
var handles$1 = {
|
|
47403
47410
|
async init(_ref) {
|
|
47404
47411
|
let {
|
|
47405
47412
|
scopeThis
|
|
@@ -47498,11 +47505,11 @@ const scopeThis = vue.reactive({
|
|
|
47498
47505
|
props: props.myProps,
|
|
47499
47506
|
// 第二块屏幕 - 客户付费窗口
|
|
47500
47507
|
winPayAnother: null,
|
|
47501
|
-
handles
|
|
47508
|
+
handles: handles$1
|
|
47502
47509
|
});
|
|
47503
47510
|
|
|
47504
47511
|
vue.onMounted(()=>{
|
|
47505
|
-
handles.init({scopeThis});
|
|
47512
|
+
handles$1.init({scopeThis});
|
|
47506
47513
|
});
|
|
47507
47514
|
|
|
47508
47515
|
return (_ctx, _cache) => {
|
|
@@ -47518,7 +47525,7 @@ return (_ctx, _cache) => {
|
|
|
47518
47525
|
"append-to-body": "",
|
|
47519
47526
|
title: vue.unref(qrcode$1).popup.title,
|
|
47520
47527
|
width: '600px',
|
|
47521
|
-
"before-close": vue.unref(handles).beforeClose
|
|
47528
|
+
"before-close": vue.unref(handles$1).beforeClose
|
|
47522
47529
|
}, {
|
|
47523
47530
|
default: vue.withCtx(() => [
|
|
47524
47531
|
vue.createVNode(_component_el_row, { class: "qrcode-box" }, {
|
|
@@ -47537,7 +47544,7 @@ return (_ctx, _cache) => {
|
|
|
47537
47544
|
vue.createVNode(_component_el_button, {
|
|
47538
47545
|
type: "success",
|
|
47539
47546
|
round: "",
|
|
47540
|
-
onClick: vue.unref(handles).confirm
|
|
47547
|
+
onClick: vue.unref(handles$1).confirm
|
|
47541
47548
|
}, {
|
|
47542
47549
|
default: vue.withCtx(() => [...(_cache[2] || (_cache[2] = [
|
|
47543
47550
|
vue.createTextVNode("支付完成后,点击这里以确认", -1 /* CACHED */)
|
|
@@ -47580,7 +47587,7 @@ const props = __props;
|
|
|
47580
47587
|
const scopeThis = vue.reactive({
|
|
47581
47588
|
formData: unclassified.deepClone.deepDefaults(props.modelValue, formData),
|
|
47582
47589
|
formProps: unclassified.deepClone.deepDefaults(props.myProps, formProps),
|
|
47583
|
-
handles: handles$
|
|
47590
|
+
handles: handles$2,
|
|
47584
47591
|
pgData: {
|
|
47585
47592
|
arrBusinessType: [],
|
|
47586
47593
|
arrProcess: [],
|
|
@@ -48069,6 +48076,24 @@ var doc = {
|
|
|
48069
48076
|
}
|
|
48070
48077
|
};
|
|
48071
48078
|
|
|
48079
|
+
async function init(_ref) {
|
|
48080
|
+
let {
|
|
48081
|
+
scopeThis
|
|
48082
|
+
} = _ref;
|
|
48083
|
+
scopeThis.queryInit.formData.id_business = scopeThis.initBox.id_business;
|
|
48084
|
+
scopeThis.queryInit.formData.businesstype_code = scopeThis.initBox.businesstype_code;
|
|
48085
|
+
await withTable.init({
|
|
48086
|
+
scopeThis
|
|
48087
|
+
});
|
|
48088
|
+
const txt = scopeThis.pgData.data.arrBusinessType.find(i => {
|
|
48089
|
+
return i.code === scopeThis.initBox.businesstype_code;
|
|
48090
|
+
}).text;
|
|
48091
|
+
scopeThis.initBox.popup.title = '支付记录[' + txt + '] - 订单id: ' + scopeThis.initBox.id_business;
|
|
48092
|
+
}
|
|
48093
|
+
var handles = {
|
|
48094
|
+
init
|
|
48095
|
+
};
|
|
48096
|
+
|
|
48072
48097
|
var amountBox = {
|
|
48073
48098
|
fun(_ref) {
|
|
48074
48099
|
let {
|
|
@@ -48141,6 +48166,7 @@ const scopeThis = vue.reactive({
|
|
|
48141
48166
|
arrStatus: []
|
|
48142
48167
|
}
|
|
48143
48168
|
},
|
|
48169
|
+
handles,
|
|
48144
48170
|
initBox: props.myProps,
|
|
48145
48171
|
amountBox: vue.computed(()=>{
|
|
48146
48172
|
return amountBox.fun({scopeThis})
|
|
@@ -48149,13 +48175,14 @@ const scopeThis = vue.reactive({
|
|
|
48149
48175
|
});
|
|
48150
48176
|
|
|
48151
48177
|
vue.onMounted(async ()=>{
|
|
48152
|
-
scopeThis.
|
|
48153
|
-
|
|
48154
|
-
|
|
48155
|
-
|
|
48156
|
-
|
|
48157
|
-
|
|
48158
|
-
|
|
48178
|
+
await scopeThis.handles.init({scopeThis});
|
|
48179
|
+
});
|
|
48180
|
+
|
|
48181
|
+
vue.watch(() => scopeThis.cashBox.formProps.submitted, async (newVal) => {
|
|
48182
|
+
if(!!newVal){
|
|
48183
|
+
await scopeThis.handles.init({scopeThis});
|
|
48184
|
+
scopeThis.cashBox.formProps.submitted = false;
|
|
48185
|
+
}
|
|
48159
48186
|
});
|
|
48160
48187
|
|
|
48161
48188
|
const style = vue.ref({
|