@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.cjs.js
CHANGED
|
@@ -24521,11 +24521,11 @@ const props = __props;
|
|
|
24521
24521
|
const myProps_box = vue.reactive(unclassified.deepClone.deepDefaults(props.myProps, ly0default$2.myProps));
|
|
24522
24522
|
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
24523
24523
|
|
|
24524
|
-
const handleRun = (
|
|
24525
|
-
|
|
24526
|
-
|
|
24527
|
-
|
|
24528
|
-
) => {
|
|
24524
|
+
const handleRun = ({
|
|
24525
|
+
index, // 目标索引
|
|
24526
|
+
menu, // 当前菜单
|
|
24527
|
+
indexFather, // 父节点索引
|
|
24528
|
+
}) => {
|
|
24529
24529
|
let result = false;
|
|
24530
24530
|
// 遍历菜单节点
|
|
24531
24531
|
for (let i = 0; i < menu.length; i++) {
|
|
@@ -24534,7 +24534,7 @@ const handleRun = (
|
|
|
24534
24534
|
// 节点存在自定义索引
|
|
24535
24535
|
if (!!menu[i].index && index === menu[i].index) {
|
|
24536
24536
|
if (menu[i].handle) {
|
|
24537
|
-
menu[i].handle(scopeThis_box, index);
|
|
24537
|
+
menu[i].handle({scopeThis: scopeThis_box, index});
|
|
24538
24538
|
}
|
|
24539
24539
|
result = true;
|
|
24540
24540
|
break
|
|
@@ -24542,14 +24542,14 @@ const handleRun = (
|
|
|
24542
24542
|
// 节点不存在自定义索引
|
|
24543
24543
|
if (index === index0) {
|
|
24544
24544
|
if (menu[i].handle) {
|
|
24545
|
-
menu[i].handle(scopeThis_box, index);
|
|
24545
|
+
menu[i].handle({scopeThis: scopeThis_box, index});
|
|
24546
24546
|
}
|
|
24547
24547
|
result = true;
|
|
24548
24548
|
break
|
|
24549
24549
|
}
|
|
24550
24550
|
// 存在子节点,递归调用
|
|
24551
24551
|
if (!!menu[i].menu && menu[i].menu.length > 0) {
|
|
24552
|
-
result = handleRun(index, menu[i].menu, index0);
|
|
24552
|
+
result = handleRun({index, menu: menu[i].menu, indexFather: index0});
|
|
24553
24553
|
if (!!result) {
|
|
24554
24554
|
break
|
|
24555
24555
|
}
|
|
@@ -24559,7 +24559,7 @@ const handleRun = (
|
|
|
24559
24559
|
};
|
|
24560
24560
|
|
|
24561
24561
|
const handleSelect = key=>{
|
|
24562
|
-
handleRun(key, myProps_box.menu, '');
|
|
24562
|
+
handleRun({index: key, menu: myProps_box.menu, indexFather: ''});
|
|
24563
24563
|
};
|
|
24564
24564
|
|
|
24565
24565
|
const handleOpen = key=>{};
|
|
@@ -24598,7 +24598,7 @@ return (_ctx, _cache) => {
|
|
|
24598
24598
|
'disabled' in item
|
|
24599
24599
|
? item.disabled
|
|
24600
24600
|
: 'hdlDisabled' in item
|
|
24601
|
-
? item.hdlDisabled(scopeThis_box, item, index)
|
|
24601
|
+
? item.hdlDisabled({scopeThis: scopeThis_box, item, index})
|
|
24602
24602
|
: false
|
|
24603
24603
|
|
|
24604
24604
|
}, {
|
|
@@ -24627,7 +24627,7 @@ return (_ctx, _cache) => {
|
|
|
24627
24627
|
'disabled' in item0
|
|
24628
24628
|
? item0.disabled
|
|
24629
24629
|
: 'hdlDisabled' in item0
|
|
24630
|
-
? item0.hdlDisabled(scopeThis_box, item0, index0)
|
|
24630
|
+
? item0.hdlDisabled({scopeThis: scopeThis_box, item: item0, index: index0})
|
|
24631
24631
|
: false
|
|
24632
24632
|
|
|
24633
24633
|
}, {
|
|
@@ -24664,7 +24664,7 @@ return (_ctx, _cache) => {
|
|
|
24664
24664
|
'disabled' in item1
|
|
24665
24665
|
? item1.disabled
|
|
24666
24666
|
: 'hdlDisabled' in item1
|
|
24667
|
-
? item1.hdlDisabled(scopeThis_box, item1, index1)
|
|
24667
|
+
? item1.hdlDisabled({scopeThis: scopeThis_box, item: item1, index: index1})
|
|
24668
24668
|
: false
|
|
24669
24669
|
|
|
24670
24670
|
}, {
|
|
@@ -24705,7 +24705,7 @@ return (_ctx, _cache) => {
|
|
|
24705
24705
|
'disabled' in item2
|
|
24706
24706
|
? item2.disabled
|
|
24707
24707
|
: 'hdlDisabled' in item2
|
|
24708
|
-
? item2.hdlDisabled(scopeThis_box, item2, index2)
|
|
24708
|
+
? item2.hdlDisabled({scopeThis: scopeThis_box, item: item2, index: index2})
|
|
24709
24709
|
: false
|
|
24710
24710
|
|
|
24711
24711
|
}, {
|
|
@@ -24742,7 +24742,7 @@ return (_ctx, _cache) => {
|
|
|
24742
24742
|
'disabled' in item3
|
|
24743
24743
|
? item3.disabled
|
|
24744
24744
|
: 'hdlDisabled' in item3
|
|
24745
|
-
? item3.hdlDisabled(scopeThis_box, item3, index3)
|
|
24745
|
+
? item3.hdlDisabled({scopeThis: scopeThis_box, item: item3, index: index3})
|
|
24746
24746
|
: false
|
|
24747
24747
|
|
|
24748
24748
|
}, {
|
|
@@ -44007,8 +44007,6 @@ return (_ctx, _cache) => {
|
|
|
44007
44007
|
script$7.__file = "src/gbt2260/Index.vue";
|
|
44008
44008
|
|
|
44009
44009
|
var formData = {
|
|
44010
|
-
id_dataunit: null,
|
|
44011
|
-
// 数据单元
|
|
44012
44010
|
id_business: null,
|
|
44013
44011
|
// 订单id
|
|
44014
44012
|
businesstype_code: '',
|
|
@@ -44023,9 +44021,11 @@ var formData = {
|
|
|
44023
44021
|
// 备注
|
|
44024
44022
|
rec: '',
|
|
44025
44023
|
// 记录人
|
|
44026
|
-
|
|
44024
|
+
wx_appid: '',
|
|
44025
|
+
// 微信支付.应用凭据
|
|
44026
|
+
wx_mchid: '',
|
|
44027
44027
|
// 微信支付.商户号
|
|
44028
|
-
|
|
44028
|
+
wx_micropay_code: '' // 微信支付.付款码
|
|
44029
44029
|
};
|
|
44030
44030
|
|
|
44031
44031
|
var formProps = {
|
|
@@ -44062,7 +44062,7 @@ var formProps = {
|
|
|
44062
44062
|
}, {
|
|
44063
44063
|
inputType: 'input',
|
|
44064
44064
|
label: '付款码',
|
|
44065
|
-
fieldName: '
|
|
44065
|
+
fieldName: 'wx_micropay_code',
|
|
44066
44066
|
hdlVisible(_ref2) {
|
|
44067
44067
|
let {
|
|
44068
44068
|
scopeThis,
|
|
@@ -44181,7 +44181,7 @@ function submit(_ref2) {
|
|
|
44181
44181
|
businesstype_code: scopeThis.formData.businesstype_code,
|
|
44182
44182
|
amount: Math.floor(scopeThis.formData.amount * 100),
|
|
44183
44183
|
note: scopeThis.formData.note,
|
|
44184
|
-
micropay_code: scopeThis.formData.
|
|
44184
|
+
micropay_code: scopeThis.formData.wx_micropay_code,
|
|
44185
44185
|
appid: scopeThis.formData.wx_appid,
|
|
44186
44186
|
mchid: scopeThis.formData.wx_mchid,
|
|
44187
44187
|
description: scopeThis.pgData.arrBusinessType.find(i => {
|
|
@@ -44228,7 +44228,7 @@ function submit(_ref2) {
|
|
|
44228
44228
|
scopeThis.qrcode.formData.code_url = result.code_url;
|
|
44229
44229
|
scopeThis.qrcode.formData.amount = scopeThis.formData.amount;
|
|
44230
44230
|
scopeThis.qrcode.formData.id_business = scopeThis.formData.id_business;
|
|
44231
|
-
scopeThis.qrcode.formData.mchid = scopeThis.formData.
|
|
44231
|
+
scopeThis.qrcode.formData.mchid = scopeThis.formData.wx_mchid;
|
|
44232
44232
|
} else {
|
|
44233
44233
|
// 测试
|
|
44234
44234
|
scopeThis.qrcode.formData.code_url = "./qrcode/test-show.jpg";
|
|
@@ -47403,7 +47403,7 @@ var script$6 = {
|
|
|
47403
47403
|
props: {
|
|
47404
47404
|
myProps: {
|
|
47405
47405
|
type: Object,
|
|
47406
|
-
default: () => (
|
|
47406
|
+
default: () => (qrcode$1)
|
|
47407
47407
|
}
|
|
47408
47408
|
},
|
|
47409
47409
|
setup(__props) {
|
|
@@ -47427,12 +47427,12 @@ return (_ctx, _cache) => {
|
|
|
47427
47427
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
47428
47428
|
|
|
47429
47429
|
return (vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
47430
|
-
modelValue:
|
|
47431
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((
|
|
47430
|
+
modelValue: vue.unref(qrcode$1).popup.visible,
|
|
47431
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((vue.unref(qrcode$1).popup.visible) = $event)),
|
|
47432
47432
|
"custom-class": 'code-template-dialog',
|
|
47433
47433
|
"close-on-press-escape": true,
|
|
47434
47434
|
"append-to-body": "",
|
|
47435
|
-
title:
|
|
47435
|
+
title: vue.unref(qrcode$1).popup.title,
|
|
47436
47436
|
width: '600px',
|
|
47437
47437
|
"before-close": vue.unref(handles).beforeClose
|
|
47438
47438
|
}, {
|
|
@@ -47443,7 +47443,7 @@ return (_ctx, _cache) => {
|
|
|
47443
47443
|
class: "qrcode",
|
|
47444
47444
|
id: "qrcodejs2.ly0d2cash"
|
|
47445
47445
|
}, null, -1 /* CACHED */)),
|
|
47446
|
-
vue.createElementVNode("div", _hoisted_1$6, vue.toDisplayString('金额:¥' +
|
|
47446
|
+
vue.createElementVNode("div", _hoisted_1$6, vue.toDisplayString('金额:¥' + vue.unref(qrcode$1).formData.amount), 1 /* TEXT */)
|
|
47447
47447
|
]),
|
|
47448
47448
|
_: 1 /* STABLE */
|
|
47449
47449
|
}),
|