@yoooloo42/joker 1.0.249 → 1.0.251
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 +19 -19
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +19 -19
- 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
|
}, {
|
|
@@ -44136,7 +44136,7 @@ function init(_ref) {
|
|
|
44136
44136
|
let {
|
|
44137
44137
|
scopeThis
|
|
44138
44138
|
} = _ref;
|
|
44139
|
-
ly0request$1.
|
|
44139
|
+
ly0request$1.storpro({
|
|
44140
44140
|
storproName: 'ly0d2.record0.getPgData',
|
|
44141
44141
|
data: null
|
|
44142
44142
|
}).then(result => {
|
|
@@ -44153,7 +44153,7 @@ function submit(_ref2) {
|
|
|
44153
44153
|
} = _ref2;
|
|
44154
44154
|
if (scopeThis.formData.process_code === "0") {
|
|
44155
44155
|
//系统外流转
|
|
44156
|
-
ly0request$1.
|
|
44156
|
+
ly0request$1.storpro({
|
|
44157
44157
|
storproName: "ly0d2.wxzf.cash",
|
|
44158
44158
|
data: {
|
|
44159
44159
|
id_business: scopeThis.formData.id_business,
|
|
@@ -44174,7 +44174,7 @@ function submit(_ref2) {
|
|
|
44174
44174
|
});
|
|
44175
44175
|
} else if (scopeThis.formData.process_code === "wxzf0") {
|
|
44176
44176
|
// 微信支付.客户付款码付款
|
|
44177
|
-
ly0request$1.
|
|
44177
|
+
ly0request$1.storpro({
|
|
44178
44178
|
storproName: "ly0d2.wxzf.wxzf0",
|
|
44179
44179
|
data: {
|
|
44180
44180
|
id_business: scopeThis.formData.id_business,
|
|
@@ -44200,7 +44200,7 @@ function submit(_ref2) {
|
|
|
44200
44200
|
});
|
|
44201
44201
|
} else if (scopeThis.formData.process_code === "wxzf2") {
|
|
44202
44202
|
// 微信支付.商户二维码收款
|
|
44203
|
-
ly0request$1.
|
|
44203
|
+
ly0request$1.storpro({
|
|
44204
44204
|
storproName: "ly0d2.wxzf.wxzf2",
|
|
44205
44205
|
data: {
|
|
44206
44206
|
id_business: scopeThis.formData.id_business,
|
|
@@ -47364,7 +47364,7 @@ var handles = {
|
|
|
47364
47364
|
let {
|
|
47365
47365
|
scopeThis
|
|
47366
47366
|
} = _ref2;
|
|
47367
|
-
ly0request$1.
|
|
47367
|
+
ly0request$1.storpro({
|
|
47368
47368
|
storproName: 'ly0d2.wxzf.getStatus',
|
|
47369
47369
|
data: {
|
|
47370
47370
|
mchid: scopeThis.props.formData.mchid,
|