@yoooloo42/joker 1.0.250 → 1.0.252
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 +26 -26
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +26 -26
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -24517,11 +24517,11 @@ const props = __props;
|
|
|
24517
24517
|
const myProps_box = reactive(unclassified.deepClone.deepDefaults(props.myProps, ly0default$2.myProps));
|
|
24518
24518
|
const scopeThis_box = reactive(props.scopeThis);
|
|
24519
24519
|
|
|
24520
|
-
const handleRun = (
|
|
24521
|
-
|
|
24522
|
-
|
|
24523
|
-
|
|
24524
|
-
) => {
|
|
24520
|
+
const handleRun = ({
|
|
24521
|
+
index, // 目标索引
|
|
24522
|
+
menu, // 当前菜单
|
|
24523
|
+
indexFather, // 父节点索引
|
|
24524
|
+
}) => {
|
|
24525
24525
|
let result = false;
|
|
24526
24526
|
// 遍历菜单节点
|
|
24527
24527
|
for (let i = 0; i < menu.length; i++) {
|
|
@@ -24530,7 +24530,7 @@ const handleRun = (
|
|
|
24530
24530
|
// 节点存在自定义索引
|
|
24531
24531
|
if (!!menu[i].index && index === menu[i].index) {
|
|
24532
24532
|
if (menu[i].handle) {
|
|
24533
|
-
menu[i].handle(scopeThis_box, index);
|
|
24533
|
+
menu[i].handle({scopeThis: scopeThis_box, index});
|
|
24534
24534
|
}
|
|
24535
24535
|
result = true;
|
|
24536
24536
|
break
|
|
@@ -24538,14 +24538,14 @@ const handleRun = (
|
|
|
24538
24538
|
// 节点不存在自定义索引
|
|
24539
24539
|
if (index === index0) {
|
|
24540
24540
|
if (menu[i].handle) {
|
|
24541
|
-
menu[i].handle(scopeThis_box, index);
|
|
24541
|
+
menu[i].handle({scopeThis: scopeThis_box, index});
|
|
24542
24542
|
}
|
|
24543
24543
|
result = true;
|
|
24544
24544
|
break
|
|
24545
24545
|
}
|
|
24546
24546
|
// 存在子节点,递归调用
|
|
24547
24547
|
if (!!menu[i].menu && menu[i].menu.length > 0) {
|
|
24548
|
-
result = handleRun(index, menu[i].menu, index0);
|
|
24548
|
+
result = handleRun({index, menu: menu[i].menu, indexFather: index0});
|
|
24549
24549
|
if (!!result) {
|
|
24550
24550
|
break
|
|
24551
24551
|
}
|
|
@@ -24555,7 +24555,7 @@ const handleRun = (
|
|
|
24555
24555
|
};
|
|
24556
24556
|
|
|
24557
24557
|
const handleSelect = key=>{
|
|
24558
|
-
handleRun(key, myProps_box.menu, '');
|
|
24558
|
+
handleRun({index: key, menu: myProps_box.menu, indexFather: ''});
|
|
24559
24559
|
};
|
|
24560
24560
|
|
|
24561
24561
|
const handleOpen = key=>{};
|
|
@@ -24594,7 +24594,7 @@ return (_ctx, _cache) => {
|
|
|
24594
24594
|
'disabled' in item
|
|
24595
24595
|
? item.disabled
|
|
24596
24596
|
: 'hdlDisabled' in item
|
|
24597
|
-
? item.hdlDisabled(scopeThis_box, item, index)
|
|
24597
|
+
? item.hdlDisabled({scopeThis: scopeThis_box, item, index})
|
|
24598
24598
|
: false
|
|
24599
24599
|
|
|
24600
24600
|
}, {
|
|
@@ -24623,7 +24623,7 @@ return (_ctx, _cache) => {
|
|
|
24623
24623
|
'disabled' in item0
|
|
24624
24624
|
? item0.disabled
|
|
24625
24625
|
: 'hdlDisabled' in item0
|
|
24626
|
-
? item0.hdlDisabled(scopeThis_box, item0, index0)
|
|
24626
|
+
? item0.hdlDisabled({scopeThis: scopeThis_box, item: item0, index: index0})
|
|
24627
24627
|
: false
|
|
24628
24628
|
|
|
24629
24629
|
}, {
|
|
@@ -24660,7 +24660,7 @@ return (_ctx, _cache) => {
|
|
|
24660
24660
|
'disabled' in item1
|
|
24661
24661
|
? item1.disabled
|
|
24662
24662
|
: 'hdlDisabled' in item1
|
|
24663
|
-
? item1.hdlDisabled(scopeThis_box, item1, index1)
|
|
24663
|
+
? item1.hdlDisabled({scopeThis: scopeThis_box, item: item1, index: index1})
|
|
24664
24664
|
: false
|
|
24665
24665
|
|
|
24666
24666
|
}, {
|
|
@@ -24701,7 +24701,7 @@ return (_ctx, _cache) => {
|
|
|
24701
24701
|
'disabled' in item2
|
|
24702
24702
|
? item2.disabled
|
|
24703
24703
|
: 'hdlDisabled' in item2
|
|
24704
|
-
? item2.hdlDisabled(scopeThis_box, item2, index2)
|
|
24704
|
+
? item2.hdlDisabled({scopeThis: scopeThis_box, item: item2, index: index2})
|
|
24705
24705
|
: false
|
|
24706
24706
|
|
|
24707
24707
|
}, {
|
|
@@ -24738,7 +24738,7 @@ return (_ctx, _cache) => {
|
|
|
24738
24738
|
'disabled' in item3
|
|
24739
24739
|
? item3.disabled
|
|
24740
24740
|
: 'hdlDisabled' in item3
|
|
24741
|
-
? item3.hdlDisabled(scopeThis_box, item3, index3)
|
|
24741
|
+
? item3.hdlDisabled({scopeThis: scopeThis_box, item: item3, index: index3})
|
|
24742
24742
|
: false
|
|
24743
24743
|
|
|
24744
24744
|
}, {
|
|
@@ -44003,8 +44003,6 @@ return (_ctx, _cache) => {
|
|
|
44003
44003
|
script$7.__file = "src/gbt2260/Index.vue";
|
|
44004
44004
|
|
|
44005
44005
|
var formData = {
|
|
44006
|
-
id_dataunit: null,
|
|
44007
|
-
// 数据单元
|
|
44008
44006
|
id_business: null,
|
|
44009
44007
|
// 订单id
|
|
44010
44008
|
businesstype_code: '',
|
|
@@ -44019,9 +44017,11 @@ var formData = {
|
|
|
44019
44017
|
// 备注
|
|
44020
44018
|
rec: '',
|
|
44021
44019
|
// 记录人
|
|
44022
|
-
|
|
44020
|
+
wx_appid: '',
|
|
44021
|
+
// 微信支付.应用凭据
|
|
44022
|
+
wx_mchid: '',
|
|
44023
44023
|
// 微信支付.商户号
|
|
44024
|
-
|
|
44024
|
+
wx_micropay_code: '' // 微信支付.付款码
|
|
44025
44025
|
};
|
|
44026
44026
|
|
|
44027
44027
|
var formProps = {
|
|
@@ -44058,7 +44058,7 @@ var formProps = {
|
|
|
44058
44058
|
}, {
|
|
44059
44059
|
inputType: 'input',
|
|
44060
44060
|
label: '付款码',
|
|
44061
|
-
fieldName: '
|
|
44061
|
+
fieldName: 'wx_micropay_code',
|
|
44062
44062
|
hdlVisible(_ref2) {
|
|
44063
44063
|
let {
|
|
44064
44064
|
scopeThis,
|
|
@@ -44177,7 +44177,7 @@ function submit(_ref2) {
|
|
|
44177
44177
|
businesstype_code: scopeThis.formData.businesstype_code,
|
|
44178
44178
|
amount: Math.floor(scopeThis.formData.amount * 100),
|
|
44179
44179
|
note: scopeThis.formData.note,
|
|
44180
|
-
micropay_code: scopeThis.formData.
|
|
44180
|
+
micropay_code: scopeThis.formData.wx_micropay_code,
|
|
44181
44181
|
appid: scopeThis.formData.wx_appid,
|
|
44182
44182
|
mchid: scopeThis.formData.wx_mchid,
|
|
44183
44183
|
description: scopeThis.pgData.arrBusinessType.find(i => {
|
|
@@ -44224,7 +44224,7 @@ function submit(_ref2) {
|
|
|
44224
44224
|
scopeThis.qrcode.formData.code_url = result.code_url;
|
|
44225
44225
|
scopeThis.qrcode.formData.amount = scopeThis.formData.amount;
|
|
44226
44226
|
scopeThis.qrcode.formData.id_business = scopeThis.formData.id_business;
|
|
44227
|
-
scopeThis.qrcode.formData.mchid = scopeThis.formData.
|
|
44227
|
+
scopeThis.qrcode.formData.mchid = scopeThis.formData.wx_mchid;
|
|
44228
44228
|
} else {
|
|
44229
44229
|
// 测试
|
|
44230
44230
|
scopeThis.qrcode.formData.code_url = "./qrcode/test-show.jpg";
|
|
@@ -47399,7 +47399,7 @@ var script$6 = {
|
|
|
47399
47399
|
props: {
|
|
47400
47400
|
myProps: {
|
|
47401
47401
|
type: Object,
|
|
47402
|
-
default: () => (
|
|
47402
|
+
default: () => (qrcode$1)
|
|
47403
47403
|
}
|
|
47404
47404
|
},
|
|
47405
47405
|
setup(__props) {
|
|
@@ -47423,12 +47423,12 @@ return (_ctx, _cache) => {
|
|
|
47423
47423
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
47424
47424
|
|
|
47425
47425
|
return (openBlock(), createBlock(_component_el_dialog, {
|
|
47426
|
-
modelValue:
|
|
47427
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((
|
|
47426
|
+
modelValue: unref(qrcode$1).popup.visible,
|
|
47427
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((unref(qrcode$1).popup.visible) = $event)),
|
|
47428
47428
|
"custom-class": 'code-template-dialog',
|
|
47429
47429
|
"close-on-press-escape": true,
|
|
47430
47430
|
"append-to-body": "",
|
|
47431
|
-
title:
|
|
47431
|
+
title: unref(qrcode$1).popup.title,
|
|
47432
47432
|
width: '600px',
|
|
47433
47433
|
"before-close": unref(handles).beforeClose
|
|
47434
47434
|
}, {
|
|
@@ -47439,7 +47439,7 @@ return (_ctx, _cache) => {
|
|
|
47439
47439
|
class: "qrcode",
|
|
47440
47440
|
id: "qrcodejs2.ly0d2cash"
|
|
47441
47441
|
}, null, -1 /* CACHED */)),
|
|
47442
|
-
createElementVNode("div", _hoisted_1$6, toDisplayString('金额:¥' +
|
|
47442
|
+
createElementVNode("div", _hoisted_1$6, toDisplayString('金额:¥' + unref(qrcode$1).formData.amount), 1 /* TEXT */)
|
|
47443
47443
|
]),
|
|
47444
47444
|
_: 1 /* STABLE */
|
|
47445
47445
|
}),
|