@qqt-product/ui 8.0.2 → 8.0.3
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.es.js +170 -166
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +8 -8
package/dist/index.es.js
CHANGED
|
@@ -62769,7 +62769,7 @@ function useCallback() {
|
|
|
62769
62769
|
Ae.callback && emitter.emit(`${r.value}_${SYMBOL_BINDFUNCTION}`, Ae);
|
|
62770
62770
|
},
|
|
62771
62771
|
handleTreeSelectChange: ({ value: X, label: ae, extra: se }, Ae) => {
|
|
62772
|
-
Ae.callback && emitter.emit(SYMBOL_BINDFUNCTION
|
|
62772
|
+
Ae.callback && emitter.emit(`${r.value}_${SYMBOL_BINDFUNCTION}`, { value: X, label: ae, extra: se, ...Ae });
|
|
62773
62773
|
},
|
|
62774
62774
|
handleMixSelectChange: ({ value: X, label: ae }, se) => {
|
|
62775
62775
|
const Ae = { ...se, value: X, label: ae };
|
|
@@ -62801,7 +62801,7 @@ function useCallback() {
|
|
|
62801
62801
|
},
|
|
62802
62802
|
handleCustomSelectModelClick: (X) => {
|
|
62803
62803
|
const ae = { ...X };
|
|
62804
|
-
ae.callback && emitter.emit(SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK
|
|
62804
|
+
ae.callback && emitter.emit(`${r.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, ae);
|
|
62805
62805
|
},
|
|
62806
62806
|
handleLadderPriceAfterSelect: (X, ae) => {
|
|
62807
62807
|
const se = { ...ae, data: X, value: "" };
|
|
@@ -64988,7 +64988,7 @@ function useGridConfig$1(r, n) {
|
|
|
64988
64988
|
value: "",
|
|
64989
64989
|
data: []
|
|
64990
64990
|
};
|
|
64991
|
-
emitter.emit(SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK
|
|
64991
|
+
emitter.emit(`${l.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, we);
|
|
64992
64992
|
};
|
|
64993
64993
|
return [createVNode$1(resolveComponent("vxe-input"), mergeProps({
|
|
64994
64994
|
modelValue: X[Q.field],
|
|
@@ -65385,239 +65385,239 @@ function useDetailGrid() {
|
|
|
65385
65385
|
})) };
|
|
65386
65386
|
}
|
|
65387
65387
|
function useGridConfig(r) {
|
|
65388
|
-
const {
|
|
65389
|
-
columns:
|
|
65390
|
-
} = toRefs(r),
|
|
65391
|
-
message:
|
|
65392
|
-
}),
|
|
65393
|
-
const
|
|
65394
|
-
switch (
|
|
65388
|
+
const n = inject(LAYOUT_UID_TOKEN, LAYOUT_UID_TOKEN_DEFAULT_VALUE), {
|
|
65389
|
+
columns: o
|
|
65390
|
+
} = toRefs(r), s = computed(() => o.value.filter((p) => p.fieldType !== "hiddenField").map((p) => (p.helpText && (p.titlePrefix = {
|
|
65391
|
+
message: p.helpText
|
|
65392
|
+
}), p))), l = computed(() => {
|
|
65393
|
+
const p = s.value.map((y) => {
|
|
65394
|
+
switch (y.fieldType) {
|
|
65395
65395
|
case "input":
|
|
65396
|
-
|
|
65397
|
-
...
|
|
65396
|
+
y = {
|
|
65397
|
+
...y,
|
|
65398
65398
|
slots: {
|
|
65399
65399
|
default({
|
|
65400
|
-
row:
|
|
65400
|
+
row: O
|
|
65401
65401
|
}) {
|
|
65402
|
-
return [createVNode$1("span", null, [
|
|
65402
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65403
65403
|
}
|
|
65404
65404
|
}
|
|
65405
65405
|
};
|
|
65406
65406
|
break;
|
|
65407
65407
|
case "password":
|
|
65408
|
-
|
|
65409
|
-
...
|
|
65408
|
+
y = {
|
|
65409
|
+
...y,
|
|
65410
65410
|
slots: {
|
|
65411
65411
|
default({
|
|
65412
|
-
row:
|
|
65412
|
+
row: O
|
|
65413
65413
|
}) {
|
|
65414
|
-
return [createVNode$1("span", null, [y
|
|
65414
|
+
return [createVNode$1("span", null, [O[y.field]])];
|
|
65415
65415
|
}
|
|
65416
65416
|
}
|
|
65417
65417
|
};
|
|
65418
65418
|
break;
|
|
65419
65419
|
case "date":
|
|
65420
|
-
|
|
65421
|
-
...
|
|
65420
|
+
y = {
|
|
65421
|
+
...y,
|
|
65422
65422
|
slots: {
|
|
65423
65423
|
default({
|
|
65424
|
-
row:
|
|
65424
|
+
row: O
|
|
65425
65425
|
}) {
|
|
65426
|
-
return [createVNode$1("span", null, [y
|
|
65426
|
+
return [createVNode$1("span", null, [O[y.field]])];
|
|
65427
65427
|
}
|
|
65428
65428
|
}
|
|
65429
65429
|
};
|
|
65430
65430
|
break;
|
|
65431
65431
|
case "number":
|
|
65432
|
-
|
|
65433
|
-
...
|
|
65432
|
+
y = {
|
|
65433
|
+
...y,
|
|
65434
65434
|
slots: {
|
|
65435
65435
|
default({
|
|
65436
|
-
row:
|
|
65436
|
+
row: O
|
|
65437
65437
|
}) {
|
|
65438
|
-
return [createVNode$1("span", null, [y
|
|
65438
|
+
return [createVNode$1("span", null, [O[y.field]])];
|
|
65439
65439
|
}
|
|
65440
65440
|
}
|
|
65441
65441
|
};
|
|
65442
65442
|
break;
|
|
65443
65443
|
case "float":
|
|
65444
|
-
|
|
65445
|
-
...
|
|
65444
|
+
y = {
|
|
65445
|
+
...y,
|
|
65446
65446
|
slots: {
|
|
65447
65447
|
default({
|
|
65448
|
-
row:
|
|
65448
|
+
row: O
|
|
65449
65449
|
}) {
|
|
65450
|
-
const
|
|
65451
|
-
return [createVNode$1("span", null, [
|
|
65450
|
+
const x = formatFloat(O[y.field], y.dataFormat + "");
|
|
65451
|
+
return [createVNode$1("span", null, [x])];
|
|
65452
65452
|
}
|
|
65453
65453
|
}
|
|
65454
65454
|
};
|
|
65455
65455
|
break;
|
|
65456
65456
|
case "currency":
|
|
65457
|
-
|
|
65458
|
-
...
|
|
65457
|
+
y = {
|
|
65458
|
+
...y,
|
|
65459
65459
|
slots: {
|
|
65460
65460
|
default({
|
|
65461
|
-
row:
|
|
65461
|
+
row: O
|
|
65462
65462
|
}) {
|
|
65463
|
-
const
|
|
65464
|
-
return [createVNode$1("span", null, [
|
|
65463
|
+
const x = currency(O[y.field] + "", y.symbol ? y.symbol + "" : "", y.decimals ? Number(y.decimals) : 2);
|
|
65464
|
+
return [createVNode$1("span", null, [x])];
|
|
65465
65465
|
}
|
|
65466
65466
|
}
|
|
65467
65467
|
};
|
|
65468
65468
|
break;
|
|
65469
65469
|
case "textArea":
|
|
65470
|
-
|
|
65471
|
-
...
|
|
65470
|
+
y = {
|
|
65471
|
+
...y,
|
|
65472
65472
|
slots: {
|
|
65473
65473
|
default({
|
|
65474
|
-
row:
|
|
65474
|
+
row: O
|
|
65475
65475
|
}) {
|
|
65476
|
-
return [createVNode$1("span", null, [y
|
|
65476
|
+
return [createVNode$1("span", null, [O[y.field]])];
|
|
65477
65477
|
}
|
|
65478
65478
|
}
|
|
65479
65479
|
};
|
|
65480
65480
|
break;
|
|
65481
65481
|
case "select":
|
|
65482
|
-
|
|
65483
|
-
...
|
|
65482
|
+
y = {
|
|
65483
|
+
...y,
|
|
65484
65484
|
slots: {
|
|
65485
65485
|
default({
|
|
65486
|
-
row:
|
|
65486
|
+
row: O
|
|
65487
65487
|
}) {
|
|
65488
|
-
return [createVNode$1("span", null, [
|
|
65488
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65489
65489
|
}
|
|
65490
65490
|
}
|
|
65491
65491
|
};
|
|
65492
65492
|
break;
|
|
65493
65493
|
case "multiple":
|
|
65494
|
-
|
|
65495
|
-
...
|
|
65494
|
+
y = {
|
|
65495
|
+
...y,
|
|
65496
65496
|
slots: {
|
|
65497
65497
|
default({
|
|
65498
|
-
row:
|
|
65498
|
+
row: O
|
|
65499
65499
|
}) {
|
|
65500
|
-
return [createVNode$1("span", null, [
|
|
65500
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65501
65501
|
}
|
|
65502
65502
|
}
|
|
65503
65503
|
};
|
|
65504
65504
|
break;
|
|
65505
65505
|
case "treeSelect":
|
|
65506
|
-
|
|
65507
|
-
...
|
|
65506
|
+
y = {
|
|
65507
|
+
...y,
|
|
65508
65508
|
slots: {
|
|
65509
65509
|
default({
|
|
65510
|
-
row:
|
|
65510
|
+
row: O
|
|
65511
65511
|
}) {
|
|
65512
|
-
return [createVNode$1("span", null, [
|
|
65512
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65513
65513
|
}
|
|
65514
65514
|
}
|
|
65515
65515
|
};
|
|
65516
65516
|
break;
|
|
65517
65517
|
case "multipleTreeSelect":
|
|
65518
|
-
|
|
65519
|
-
...
|
|
65518
|
+
y = {
|
|
65519
|
+
...y,
|
|
65520
65520
|
slots: {
|
|
65521
65521
|
default({
|
|
65522
|
-
row:
|
|
65522
|
+
row: O
|
|
65523
65523
|
}) {
|
|
65524
|
-
return [createVNode$1("span", null, [
|
|
65524
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65525
65525
|
}
|
|
65526
65526
|
}
|
|
65527
65527
|
};
|
|
65528
65528
|
break;
|
|
65529
65529
|
case "cascader":
|
|
65530
|
-
|
|
65531
|
-
...
|
|
65530
|
+
y = {
|
|
65531
|
+
...y,
|
|
65532
65532
|
slots: {
|
|
65533
65533
|
default({
|
|
65534
|
-
row:
|
|
65534
|
+
row: O
|
|
65535
65535
|
}) {
|
|
65536
|
-
return [createVNode$1("span", null, [
|
|
65536
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65537
65537
|
}
|
|
65538
65538
|
}
|
|
65539
65539
|
};
|
|
65540
65540
|
break;
|
|
65541
65541
|
case "switch":
|
|
65542
|
-
|
|
65543
|
-
...
|
|
65542
|
+
y = {
|
|
65543
|
+
...y,
|
|
65544
65544
|
slots: {
|
|
65545
65545
|
default({
|
|
65546
|
-
row:
|
|
65546
|
+
row: O
|
|
65547
65547
|
}) {
|
|
65548
|
-
return [createVNode$1("span", null, [y
|
|
65548
|
+
return [createVNode$1("span", null, [O[y.field] === "1" ? "\u662F" : "\u5426"])];
|
|
65549
65549
|
}
|
|
65550
65550
|
}
|
|
65551
65551
|
};
|
|
65552
65552
|
break;
|
|
65553
65553
|
case "radio":
|
|
65554
|
-
|
|
65555
|
-
...
|
|
65554
|
+
y = {
|
|
65555
|
+
...y,
|
|
65556
65556
|
slots: {
|
|
65557
65557
|
default({
|
|
65558
|
-
row:
|
|
65558
|
+
row: O
|
|
65559
65559
|
}) {
|
|
65560
|
-
return [createVNode$1("span", null, [y
|
|
65560
|
+
return [createVNode$1("span", null, [O[y.field] === "1" ? "\u662F" : "\u5426"])];
|
|
65561
65561
|
}
|
|
65562
65562
|
}
|
|
65563
65563
|
};
|
|
65564
65564
|
break;
|
|
65565
65565
|
case "checkbox":
|
|
65566
|
-
|
|
65567
|
-
...
|
|
65566
|
+
y = {
|
|
65567
|
+
...y,
|
|
65568
65568
|
slots: {
|
|
65569
65569
|
default({
|
|
65570
|
-
row:
|
|
65570
|
+
row: O
|
|
65571
65571
|
}) {
|
|
65572
|
-
return [createVNode$1("span", null, [
|
|
65572
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65573
65573
|
}
|
|
65574
65574
|
}
|
|
65575
65575
|
};
|
|
65576
65576
|
break;
|
|
65577
65577
|
case "remoteSelect":
|
|
65578
|
-
|
|
65579
|
-
...
|
|
65578
|
+
y = {
|
|
65579
|
+
...y,
|
|
65580
65580
|
slots: {
|
|
65581
65581
|
default({
|
|
65582
|
-
row:
|
|
65582
|
+
row: O
|
|
65583
65583
|
}) {
|
|
65584
|
-
return [createVNode$1("span", null, [
|
|
65584
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65585
65585
|
}
|
|
65586
65586
|
}
|
|
65587
65587
|
};
|
|
65588
65588
|
break;
|
|
65589
65589
|
case "selectModal":
|
|
65590
|
-
|
|
65591
|
-
...
|
|
65590
|
+
y = {
|
|
65591
|
+
...y,
|
|
65592
65592
|
slots: {
|
|
65593
65593
|
default({
|
|
65594
|
-
row:
|
|
65594
|
+
row: O
|
|
65595
65595
|
}) {
|
|
65596
|
-
return [createVNode$1("span", null, [
|
|
65596
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65597
65597
|
}
|
|
65598
65598
|
}
|
|
65599
65599
|
};
|
|
65600
65600
|
break;
|
|
65601
65601
|
case "ladderPrice":
|
|
65602
|
-
|
|
65603
|
-
...
|
|
65602
|
+
y = {
|
|
65603
|
+
...y,
|
|
65604
65604
|
slots: {
|
|
65605
65605
|
default({
|
|
65606
|
-
row:
|
|
65606
|
+
row: O
|
|
65607
65607
|
}) {
|
|
65608
|
-
const
|
|
65609
|
-
let
|
|
65610
|
-
return
|
|
65611
|
-
},
|
|
65612
|
-
let
|
|
65613
|
-
if (
|
|
65614
|
-
const
|
|
65615
|
-
Array.isArray(
|
|
65616
|
-
const
|
|
65617
|
-
|
|
65608
|
+
const x = (P) => {
|
|
65609
|
+
let R = [];
|
|
65610
|
+
return P && (R = JSON.parse(P)), R;
|
|
65611
|
+
}, D = (P) => {
|
|
65612
|
+
let R = "";
|
|
65613
|
+
if (P) {
|
|
65614
|
+
const Q = JSON.parse(P);
|
|
65615
|
+
Array.isArray(Q) && Q.forEach((X, ae) => {
|
|
65616
|
+
const se = X.ladder, Ae = X.price || "", we = X.fix || "", Be = X.rate || "", On = X.union || "", An = `${se},${Ae || we || Be || On || ""}`, Bn = ae === Q.length - 1 ? "" : ";";
|
|
65617
|
+
R += An + Bn;
|
|
65618
65618
|
});
|
|
65619
65619
|
}
|
|
65620
|
-
return
|
|
65620
|
+
return R;
|
|
65621
65621
|
};
|
|
65622
65622
|
return [createVNode$1("div", {
|
|
65623
65623
|
style: "position: relative;min-height: 30px;padding-right: 20px;overflow: hidden;text-overflow: ellipsis; white-space: nowrap;"
|
|
@@ -65625,13 +65625,13 @@ function useGridConfig(r) {
|
|
|
65625
65625
|
placement: "topLeft",
|
|
65626
65626
|
overlayClassName: "tip-overlay-class"
|
|
65627
65627
|
}, {
|
|
65628
|
-
default: () => [
|
|
65628
|
+
default: () => [D(O[y.field])],
|
|
65629
65629
|
title: () => createVNode$1(resolveComponent("vxe-table"), {
|
|
65630
65630
|
"auto-resize": !0,
|
|
65631
65631
|
border: !0,
|
|
65632
65632
|
"row-id": "id",
|
|
65633
65633
|
size: "mini",
|
|
65634
|
-
data: O
|
|
65634
|
+
data: x(O[y.field])
|
|
65635
65635
|
}, {
|
|
65636
65636
|
default: () => [createVNode$1(resolveComponent("vxe-table-column"), {
|
|
65637
65637
|
type: "seq",
|
|
@@ -65657,80 +65657,80 @@ function useGridConfig(r) {
|
|
|
65657
65657
|
};
|
|
65658
65658
|
break;
|
|
65659
65659
|
case "file":
|
|
65660
|
-
|
|
65661
|
-
...
|
|
65660
|
+
y = {
|
|
65661
|
+
...y,
|
|
65662
65662
|
slots: {
|
|
65663
65663
|
default({
|
|
65664
|
-
row:
|
|
65665
|
-
$rowIndex:
|
|
65664
|
+
row: O,
|
|
65665
|
+
$rowIndex: x
|
|
65666
65666
|
}) {
|
|
65667
|
-
const
|
|
65668
|
-
row:
|
|
65669
|
-
rowIndex:
|
|
65670
|
-
columnItem:
|
|
65667
|
+
const D = {
|
|
65668
|
+
row: O,
|
|
65669
|
+
rowIndex: x,
|
|
65670
|
+
columnItem: y,
|
|
65671
65671
|
uploadBtnStatus: !1,
|
|
65672
|
-
operationBtn:
|
|
65672
|
+
operationBtn: y.extend && y.extend.operationBtn || ["download", "preview"]
|
|
65673
65673
|
};
|
|
65674
|
-
return [createVNode$1(resolveComponent("q-upload-file-vxe"),
|
|
65674
|
+
return [createVNode$1(resolveComponent("q-upload-file-vxe"), D, null)];
|
|
65675
65675
|
}
|
|
65676
65676
|
}
|
|
65677
65677
|
};
|
|
65678
65678
|
break;
|
|
65679
65679
|
case "image":
|
|
65680
|
-
|
|
65681
|
-
...
|
|
65680
|
+
y = {
|
|
65681
|
+
...y,
|
|
65682
65682
|
slots: {
|
|
65683
65683
|
default({
|
|
65684
|
-
row:
|
|
65685
|
-
$rowIndex:
|
|
65684
|
+
row: O,
|
|
65685
|
+
$rowIndex: x
|
|
65686
65686
|
}) {
|
|
65687
|
-
const
|
|
65687
|
+
const P = {
|
|
65688
65688
|
disabled: !0,
|
|
65689
|
-
...
|
|
65690
|
-
},
|
|
65691
|
-
const
|
|
65692
|
-
...
|
|
65693
|
-
row:
|
|
65694
|
-
idx:
|
|
65695
|
-
value:
|
|
65689
|
+
...y.extend || {}
|
|
65690
|
+
}, R = (Q) => {
|
|
65691
|
+
const X = {
|
|
65692
|
+
...y,
|
|
65693
|
+
row: O,
|
|
65694
|
+
idx: x,
|
|
65695
|
+
value: Q
|
|
65696
65696
|
};
|
|
65697
|
-
emitter.emit(SYMBOL_VXE_BINDFUNCTION
|
|
65697
|
+
emitter.emit(`${n.value}_${SYMBOL_VXE_BINDFUNCTION}`, X);
|
|
65698
65698
|
};
|
|
65699
65699
|
return [createVNode$1(resolveComponent("q-upload-image"), mergeProps({
|
|
65700
|
-
value: y
|
|
65701
|
-
"onUpdate:value": (
|
|
65702
|
-
},
|
|
65703
|
-
onChange:
|
|
65700
|
+
value: O[y.field],
|
|
65701
|
+
"onUpdate:value": (Q) => O[y.field] = Q
|
|
65702
|
+
}, P, {
|
|
65703
|
+
onChange: R
|
|
65704
65704
|
}), null)];
|
|
65705
65705
|
}
|
|
65706
65706
|
}
|
|
65707
65707
|
};
|
|
65708
65708
|
break;
|
|
65709
65709
|
case "codeEditorModel":
|
|
65710
|
-
|
|
65711
|
-
...
|
|
65710
|
+
y = {
|
|
65711
|
+
...y,
|
|
65712
65712
|
slots: {
|
|
65713
65713
|
default({
|
|
65714
|
-
row:
|
|
65714
|
+
row: O
|
|
65715
65715
|
}) {
|
|
65716
|
-
return [createVNode$1("span", null, [
|
|
65716
|
+
return [createVNode$1("span", null, [O[`${y.field}`]])];
|
|
65717
65717
|
}
|
|
65718
65718
|
}
|
|
65719
65719
|
};
|
|
65720
65720
|
break;
|
|
65721
65721
|
case "richEditorModel":
|
|
65722
|
-
|
|
65723
|
-
...
|
|
65722
|
+
y = {
|
|
65723
|
+
...y,
|
|
65724
65724
|
slots: {
|
|
65725
65725
|
default({
|
|
65726
|
-
row:
|
|
65726
|
+
row: O
|
|
65727
65727
|
}) {
|
|
65728
65728
|
return [createVNode$1(resolveComponent("q-rich-editor-model"), {
|
|
65729
|
-
value: y
|
|
65730
|
-
"onUpdate:value": (
|
|
65729
|
+
value: O[y.field],
|
|
65730
|
+
"onUpdate:value": (x) => O[y.field] = x,
|
|
65731
65731
|
disabled: !0,
|
|
65732
|
-
onHandleSureClick: (
|
|
65733
|
-
y
|
|
65732
|
+
onHandleSureClick: (x) => {
|
|
65733
|
+
O[y.field] = x;
|
|
65734
65734
|
}
|
|
65735
65735
|
}, null)];
|
|
65736
65736
|
}
|
|
@@ -65738,15 +65738,15 @@ function useGridConfig(r) {
|
|
|
65738
65738
|
};
|
|
65739
65739
|
break;
|
|
65740
65740
|
case "link":
|
|
65741
|
-
|
|
65742
|
-
...
|
|
65741
|
+
y = {
|
|
65742
|
+
...y,
|
|
65743
65743
|
slots: {
|
|
65744
65744
|
default({
|
|
65745
|
-
row:
|
|
65745
|
+
row: O
|
|
65746
65746
|
}) {
|
|
65747
65747
|
return [createVNode$1(resolveComponent("q-link"), {
|
|
65748
|
-
row:
|
|
65749
|
-
columnField:
|
|
65748
|
+
row: O,
|
|
65749
|
+
columnField: y,
|
|
65750
65750
|
groupType: "item"
|
|
65751
65751
|
}, null)];
|
|
65752
65752
|
}
|
|
@@ -65754,19 +65754,19 @@ function useGridConfig(r) {
|
|
|
65754
65754
|
};
|
|
65755
65755
|
break;
|
|
65756
65756
|
default:
|
|
65757
|
-
|
|
65758
|
-
...
|
|
65759
|
-
slots:
|
|
65757
|
+
y = {
|
|
65758
|
+
...y,
|
|
65759
|
+
slots: y.slots || {
|
|
65760
65760
|
default({
|
|
65761
|
-
row:
|
|
65761
|
+
row: O
|
|
65762
65762
|
}) {
|
|
65763
|
-
return [createVNode$1("span", null, [
|
|
65763
|
+
return [createVNode$1("span", null, [O[`${y.field}_dictText`] || O[y.field]])];
|
|
65764
65764
|
}
|
|
65765
65765
|
}
|
|
65766
65766
|
};
|
|
65767
65767
|
break;
|
|
65768
65768
|
}
|
|
65769
|
-
return
|
|
65769
|
+
return y;
|
|
65770
65770
|
});
|
|
65771
65771
|
return [{
|
|
65772
65772
|
type: "checkbox",
|
|
@@ -65776,31 +65776,31 @@ function useGridConfig(r) {
|
|
|
65776
65776
|
type: "seq",
|
|
65777
65777
|
width: 60,
|
|
65778
65778
|
fixed: "left"
|
|
65779
|
-
}].concat(
|
|
65780
|
-
}),
|
|
65781
|
-
if (
|
|
65782
|
-
const
|
|
65783
|
-
|
|
65784
|
-
const
|
|
65779
|
+
}].concat(p);
|
|
65780
|
+
}), c = computed(() => s.value.reduce((p, b) => {
|
|
65781
|
+
if (b.required === "1" && b.fieldType) {
|
|
65782
|
+
const y = b.field;
|
|
65783
|
+
p[y] || (p[y] = []);
|
|
65784
|
+
const O = {
|
|
65785
65785
|
required: !0,
|
|
65786
|
-
message: `\u8BF7\u8F93\u5165${
|
|
65786
|
+
message: `\u8BF7\u8F93\u5165${b.title}`
|
|
65787
65787
|
};
|
|
65788
|
-
|
|
65789
|
-
}
|
|
65790
|
-
if (
|
|
65791
|
-
const
|
|
65792
|
-
|
|
65793
|
-
const
|
|
65794
|
-
pattern:
|
|
65795
|
-
message:
|
|
65788
|
+
p[y].push(O);
|
|
65789
|
+
}
|
|
65790
|
+
if (b.regex) {
|
|
65791
|
+
const y = b.field;
|
|
65792
|
+
p[y] || (p[y] = []);
|
|
65793
|
+
const O = {
|
|
65794
|
+
pattern: b.regex,
|
|
65795
|
+
message: b.alertMsg || "\u6821\u9A8C\u9519\u8BEF"
|
|
65796
65796
|
};
|
|
65797
|
-
|
|
65797
|
+
p[y].push(O);
|
|
65798
65798
|
}
|
|
65799
|
-
return
|
|
65799
|
+
return p;
|
|
65800
65800
|
}, {}));
|
|
65801
65801
|
return {
|
|
65802
|
-
computedColumns:
|
|
65803
|
-
editRules:
|
|
65802
|
+
computedColumns: l,
|
|
65803
|
+
editRules: c
|
|
65804
65804
|
};
|
|
65805
65805
|
}
|
|
65806
65806
|
const detailGrid = "", _sfc_main$v = defineComponent({
|
|
@@ -71268,6 +71268,10 @@ const symbolNames = [
|
|
|
71268
71268
|
});
|
|
71269
71269
|
}, Ca = (Ba) => {
|
|
71270
71270
|
var ri, si;
|
|
71271
|
+
if (Ie.value == !0) {
|
|
71272
|
+
message$1.warning(p("i18n_dict_AzVLVWVKAJIIvER_8e767c8388", "\u63A5\u53E3\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u7B49.."));
|
|
71273
|
+
return;
|
|
71274
|
+
}
|
|
71271
71275
|
if (!ur.value || !ur.value.length) {
|
|
71272
71276
|
message$1.warning(p("i18n_dict_AzVLVWVKAJIIvER_8e767c83", "\u5217\u5206\u7EC4\u4E3A\u7A7A\uFF0C\u8BF7\u5728\u5217\u81EA\u5B9A\u4E49\u91CC\u914D\u7F6E"));
|
|
71273
71277
|
return;
|
|
@@ -71330,7 +71334,7 @@ const symbolNames = [
|
|
|
71330
71334
|
importModalRef: wi
|
|
71331
71335
|
};
|
|
71332
71336
|
}
|
|
71333
|
-
}),
|
|
71337
|
+
}), layout_vue_vue_type_style_index_0_scoped_657abc45_lang = "", _hoisted_1$c = { class: "content" };
|
|
71334
71338
|
function _sfc_render$d(r, n, o, s, l, c) {
|
|
71335
71339
|
const p = resolveComponent("listHeader"), b = resolveComponent("list-content"), y = resolveComponent("columnSetting"), O = resolveComponent("selectTemplate"), x = resolveComponent("helpTextModal"), D = resolveComponent("recordModal"), P = resolveComponent("editNavModal"), R = resolveComponent("importModal");
|
|
71336
71340
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -71369,7 +71373,7 @@ function _sfc_render$d(r, n, o, s, l, c) {
|
|
|
71369
71373
|
}, null, 8, ["onImportCallback"])
|
|
71370
71374
|
], 64);
|
|
71371
71375
|
}
|
|
71372
|
-
const QListLayout = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
71376
|
+
const QListLayout = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$d], ["__scopeId", "data-v-657abc45"]]), index$q = qqtUtils.withInstall(QListLayout), index$r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
71373
71377
|
__proto__: null,
|
|
71374
71378
|
QListLayout,
|
|
71375
71379
|
useButtonFunctionHook,
|