@jeecg/online 3.4.3 → 3.4.4-beta2
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/AuthButtonConfig.js +2 -1
- package/AuthButtonTree.js +2 -1
- package/AuthDataConfig.js +2 -1
- package/AuthDataTree.js +2 -1
- package/AuthFieldConfig.js +3 -2
- package/AuthFieldTree.js +2 -1
- package/AuthManagerDrawer.js +2 -1
- package/AuthSetterModal.js +2 -1
- package/CgformCopyList.js +5 -1
- package/CgformModal.js +19 -2
- package/CgreportModal.js +1 -0
- package/CheckDictTable.js +2 -2
- package/CodeFileListModal.js +2 -1
- package/CodeFileViewModal.js +2 -1
- package/CodeGeneratorModal.js +2 -1
- package/CustomButtonList.js +2 -1
- package/DBAttributeTable.js +2 -2
- package/DbToOnlineModal.js +2 -1
- package/DetailForm.js +4 -2
- package/EnhanceJavaModal.js +2 -1
- package/EnhanceJsHistory.js +1 -1
- package/EnhanceJsModal.js +2 -1
- package/EnhanceSqlModal.js +2 -1
- package/ExtendConfigModal.js +3 -3
- package/FieldExtendJsonModal.js +270 -0
- package/FileSelectModal.js +2 -1
- package/ForeignKeyTable.js +2 -2
- package/FormSchemaFactory.js +150 -10
- package/IndexTable.js +2 -2
- package/JModalTip.js +2 -2
- package/JOnlineSearchSelect.js +115 -0
- package/LICENSE +7 -0
- package/LeftDepart.js +2 -2
- package/LeftRole.js +2 -1
- package/LeftUser.js +2 -1
- package/LinkTableConfigModal.js +2 -1
- package/LinkTableFieldConfigModal.js +2 -1
- package/LinkTableListPiece.js +2 -2
- package/ModalFormDemo.js +2 -1
- package/OnlineAutoList.js +7 -4
- package/OnlineAutoModal.js +4 -2
- package/OnlineAutoTreeList.js +7 -4
- package/OnlineCustomModal.js +5 -3
- package/OnlineDetailModal.js +5 -3
- package/OnlineForm.js +49 -39
- package/OnlineFormDetail.js +4 -2
- package/OnlineQueryForm.js +12 -6
- package/OnlineSearchFormItem.js +8 -5
- package/OnlineSelectCascade.js +228 -0
- package/OnlineSubFormDetail.js +4 -2
- package/PageAttributeTable.js +70 -28
- package/ProcessOnlineForm.js +4 -2
- package/QueryTable.js +2 -2
- package/README.md +6 -1
- package/{OnlineSuperQuery.js → SuperQuery.js} +216 -128
- package/{OnlineSuperQueryValComponent.js → SuperQueryValComponent.js} +2 -2
- package/{OnlineSuperQueryValComponent.vue_vue_type_script_lang.js → SuperQueryValComponent.vue_vue_type_script_lang.js} +8 -2
- package/_arrayPush.js +1 -1
- package/_baseClone.js +1 -1
- package/_flatRest.js +1 -1
- package/cgform.data.js +8 -8
- package/clipboard.js +565 -0
- package/index.js +37 -340
- package/index2.js +8 -4
- package/index3.js +33 -571
- package/isArray.js +1 -1
- package/main.index.js +3 -3
- package/omit.js +1 -1
- package/package.json +1 -1
- package/pick.js +1 -1
- package/style.css +1 -1
- package/toString.js +1 -1
- package/useAutoForm.js +22 -5
- package/useCgformList.js +97 -5
- package/OnlCgReportList.js +0 -34
package/ForeignKeyTable.js
CHANGED
|
@@ -30,9 +30,9 @@ import "./_flatRest.js";
|
|
|
30
30
|
import "./isArray.js";
|
|
31
31
|
import "./toString.js";
|
|
32
32
|
import "./_arrayPush.js";
|
|
33
|
-
import "/@/
|
|
33
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
34
34
|
import "/@/hooks/web/useMessage";
|
|
35
|
-
import "
|
|
35
|
+
import "vue-router";
|
|
36
36
|
const _sfc_main = defineComponent({
|
|
37
37
|
name: "ForeignKeyTable",
|
|
38
38
|
props: {
|
package/FormSchemaFactory.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,6 +16,7 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
17
20
|
var __async = (__this, __arguments, generator) => {
|
|
18
21
|
return new Promise((resolve, reject) => {
|
|
19
22
|
var fulfilled = (value) => {
|
|
@@ -74,6 +77,7 @@ class IFormSchema {
|
|
|
74
77
|
this.disabled = false;
|
|
75
78
|
this.popContainer = "";
|
|
76
79
|
this.handleWidgetAttr(data);
|
|
80
|
+
this.inPopover = false;
|
|
77
81
|
}
|
|
78
82
|
getFormItemSchema() {
|
|
79
83
|
let schema = this.getItem();
|
|
@@ -241,6 +245,8 @@ class IFormSchema {
|
|
|
241
245
|
getPopContainer() {
|
|
242
246
|
if (this.searchForm === true) {
|
|
243
247
|
return "body";
|
|
248
|
+
} else if (this.inPopover === true) {
|
|
249
|
+
return `.${this.popContainer}`;
|
|
244
250
|
} else if (this.popContainer) {
|
|
245
251
|
return `.${this.popContainer} .ant-modal-content`;
|
|
246
252
|
} else {
|
|
@@ -264,6 +270,9 @@ class IFormSchema {
|
|
|
264
270
|
}
|
|
265
271
|
setOtherInfo(_arg) {
|
|
266
272
|
}
|
|
273
|
+
isInPopover() {
|
|
274
|
+
this.inPopover = true;
|
|
275
|
+
}
|
|
267
276
|
}
|
|
268
277
|
class InputWidget extends IFormSchema {
|
|
269
278
|
getItem() {
|
|
@@ -310,6 +319,7 @@ class SelectWidget extends IFormSchema {
|
|
|
310
319
|
this.dictTable = data["dictTable"];
|
|
311
320
|
this.dictText = data["dictText"];
|
|
312
321
|
this.dictCode = data["dictCode"];
|
|
322
|
+
this.multi = data["multi"] || false;
|
|
313
323
|
}
|
|
314
324
|
getItem() {
|
|
315
325
|
let item = super.getItem();
|
|
@@ -328,8 +338,10 @@ class SelectWidget extends IFormSchema {
|
|
|
328
338
|
}
|
|
329
339
|
}
|
|
330
340
|
getComponentProps() {
|
|
341
|
+
let mode = this.multi === true ? "multiple" : "combobox";
|
|
331
342
|
let props = {
|
|
332
343
|
allowClear: true,
|
|
344
|
+
mode,
|
|
333
345
|
style: {
|
|
334
346
|
width: "100%"
|
|
335
347
|
},
|
|
@@ -495,6 +507,11 @@ class PopupWidget extends IFormSchema {
|
|
|
495
507
|
} else {
|
|
496
508
|
props["setFieldsValue"] = this.setFieldsValue;
|
|
497
509
|
}
|
|
510
|
+
if (this.inPopover === true) {
|
|
511
|
+
props["getContainer"] = () => {
|
|
512
|
+
return this.getModalAsContainer();
|
|
513
|
+
};
|
|
514
|
+
}
|
|
498
515
|
return props;
|
|
499
516
|
}
|
|
500
517
|
getFieldConfig(data) {
|
|
@@ -520,6 +537,7 @@ class TreeCategoryWidget extends IFormSchema {
|
|
|
520
537
|
super(key, data);
|
|
521
538
|
this.multi = false;
|
|
522
539
|
this.pid = data["pidValue"];
|
|
540
|
+
this.pcode = data["pcode"];
|
|
523
541
|
this.textField = data["textField"];
|
|
524
542
|
}
|
|
525
543
|
getItem() {
|
|
@@ -531,17 +549,24 @@ class TreeCategoryWidget extends IFormSchema {
|
|
|
531
549
|
});
|
|
532
550
|
}
|
|
533
551
|
getComponentProps() {
|
|
534
|
-
let
|
|
552
|
+
let param = {
|
|
553
|
+
placeholder: "\u8BF7\u9009\u62E9" + this.label
|
|
554
|
+
};
|
|
555
|
+
if (this.pcode) {
|
|
556
|
+
param["pcode"] = this.pcode;
|
|
557
|
+
} else {
|
|
558
|
+
let pidValue = this.pid || "EMPTY_PID";
|
|
559
|
+
param["pid"] = pidValue;
|
|
560
|
+
}
|
|
535
561
|
if (!this.textField) {
|
|
536
|
-
return {
|
|
537
|
-
multiple: this.multi
|
|
538
|
-
|
|
539
|
-
};
|
|
562
|
+
return __spreadValues({
|
|
563
|
+
multiple: this.multi
|
|
564
|
+
}, param);
|
|
540
565
|
} else {
|
|
541
|
-
return {
|
|
566
|
+
return __spreadProps(__spreadValues({
|
|
542
567
|
loadTriggleChange: true,
|
|
543
|
-
multiple: this.multi
|
|
544
|
-
|
|
568
|
+
multiple: this.multi
|
|
569
|
+
}, param), {
|
|
545
570
|
back: this.textField,
|
|
546
571
|
onChange: (val, backVal) => {
|
|
547
572
|
if (this.formRef) {
|
|
@@ -549,7 +574,7 @@ class TreeCategoryWidget extends IFormSchema {
|
|
|
549
574
|
this.formRef.value.$formValueChange(this.field, val);
|
|
550
575
|
}
|
|
551
576
|
}
|
|
552
|
-
};
|
|
577
|
+
});
|
|
553
578
|
}
|
|
554
579
|
}
|
|
555
580
|
getRelatedHideFields() {
|
|
@@ -584,10 +609,19 @@ class SelectDepartWidget extends IFormSchema {
|
|
|
584
609
|
if (extend.multiSelect === false) {
|
|
585
610
|
props["multiple"] = false;
|
|
586
611
|
}
|
|
612
|
+
if (this.inPopover === true) {
|
|
613
|
+
props["getContainer"] = () => {
|
|
614
|
+
return this.getModalAsContainer();
|
|
615
|
+
};
|
|
616
|
+
}
|
|
587
617
|
return props;
|
|
588
618
|
}
|
|
589
619
|
}
|
|
590
620
|
class SelectUserWidget extends IFormSchema {
|
|
621
|
+
constructor(key, data) {
|
|
622
|
+
super(key, data);
|
|
623
|
+
this.showButton = data.showButton === false ? false : true;
|
|
624
|
+
}
|
|
591
625
|
getItem() {
|
|
592
626
|
let item = super.getItem();
|
|
593
627
|
let componentProps = this.getComponentProps();
|
|
@@ -601,7 +635,8 @@ class SelectUserWidget extends IFormSchema {
|
|
|
601
635
|
let props = {
|
|
602
636
|
showSelected: false,
|
|
603
637
|
allowClear: true,
|
|
604
|
-
isRadioSelection: false
|
|
638
|
+
isRadioSelection: false,
|
|
639
|
+
showButton: this.showButton
|
|
605
640
|
};
|
|
606
641
|
if (extend.text) {
|
|
607
642
|
props["labelKey"] = extend.text;
|
|
@@ -612,6 +647,11 @@ class SelectUserWidget extends IFormSchema {
|
|
|
612
647
|
if (extend.multiSelect === false) {
|
|
613
648
|
props["isRadioSelection"] = true;
|
|
614
649
|
}
|
|
650
|
+
if (this.inPopover === true) {
|
|
651
|
+
props["getContainer"] = () => {
|
|
652
|
+
return this.getModalAsContainer();
|
|
653
|
+
};
|
|
654
|
+
}
|
|
615
655
|
return props;
|
|
616
656
|
}
|
|
617
657
|
}
|
|
@@ -981,6 +1021,97 @@ class LinkTableFieldWidget extends IFormSchema {
|
|
|
981
1021
|
return arr;
|
|
982
1022
|
}
|
|
983
1023
|
}
|
|
1024
|
+
class LinkTableForQueryWidget extends IFormSchema {
|
|
1025
|
+
constructor(key, data) {
|
|
1026
|
+
super(key, data);
|
|
1027
|
+
this.code = data["code"];
|
|
1028
|
+
this.titleField = data["titleField"];
|
|
1029
|
+
this.multi = data["multi"] || false;
|
|
1030
|
+
}
|
|
1031
|
+
getItem() {
|
|
1032
|
+
let item = super.getItem();
|
|
1033
|
+
return Object.assign({}, item, {
|
|
1034
|
+
component: "LinkTableForQuery",
|
|
1035
|
+
componentProps: {
|
|
1036
|
+
code: this.code,
|
|
1037
|
+
multi: this.multi,
|
|
1038
|
+
field: this.titleField,
|
|
1039
|
+
style: {
|
|
1040
|
+
width: "100%"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
class CascaderPcaForQueryWidget extends IFormSchema {
|
|
1047
|
+
getItem() {
|
|
1048
|
+
let item = super.getItem();
|
|
1049
|
+
return Object.assign({}, item, {
|
|
1050
|
+
component: "CascaderPcaForQuery",
|
|
1051
|
+
componentProps: {
|
|
1052
|
+
style: {
|
|
1053
|
+
width: "100%"
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
class SelectUser2Widget extends IFormSchema {
|
|
1060
|
+
constructor(key, data) {
|
|
1061
|
+
super(key, data);
|
|
1062
|
+
this.multi = data.multi === true ? true : false;
|
|
1063
|
+
this.store = data.store || "";
|
|
1064
|
+
this.query = data.query || false;
|
|
1065
|
+
}
|
|
1066
|
+
getItem() {
|
|
1067
|
+
let item = super.getItem();
|
|
1068
|
+
let componentProps = this.getComponentProps();
|
|
1069
|
+
return Object.assign({}, item, {
|
|
1070
|
+
component: "UserSelect",
|
|
1071
|
+
componentProps
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
getComponentProps() {
|
|
1075
|
+
let props = {
|
|
1076
|
+
multi: this.multi,
|
|
1077
|
+
store: this.store,
|
|
1078
|
+
query: this.query
|
|
1079
|
+
};
|
|
1080
|
+
if (this.inPopover === true) {
|
|
1081
|
+
props["getContainer"] = () => {
|
|
1082
|
+
return this.getModalAsContainer();
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
return props;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
class RangeWidget extends IFormSchema {
|
|
1089
|
+
constructor(key, data) {
|
|
1090
|
+
super(key, data);
|
|
1091
|
+
let view = data.view;
|
|
1092
|
+
this.datetime = false;
|
|
1093
|
+
if ("rangeNumber" === view) {
|
|
1094
|
+
this.componentType = "JRangeNumber";
|
|
1095
|
+
} else {
|
|
1096
|
+
this.componentType = "RangeDate";
|
|
1097
|
+
if (data.datetime === true) {
|
|
1098
|
+
this.datetime = true;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
getItem() {
|
|
1103
|
+
let item = super.getItem();
|
|
1104
|
+
return Object.assign({}, item, {
|
|
1105
|
+
component: this.componentType,
|
|
1106
|
+
componentProps: {
|
|
1107
|
+
datetime: this.datetime,
|
|
1108
|
+
getPopupContainer: (_node) => {
|
|
1109
|
+
return this.getModalAsContainer();
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
});
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
984
1115
|
class FormSchemaFactory {
|
|
985
1116
|
static createFormSchema(key, data) {
|
|
986
1117
|
let view = data.view;
|
|
@@ -1034,6 +1165,15 @@ class FormSchemaFactory {
|
|
|
1034
1165
|
return new LinkTableFieldWidget(key, data);
|
|
1035
1166
|
case "slot":
|
|
1036
1167
|
return new SlotWidget(key, data);
|
|
1168
|
+
case "LinkTableForQuery":
|
|
1169
|
+
return new LinkTableForQueryWidget(key, data);
|
|
1170
|
+
case "CascaderPcaForQuery":
|
|
1171
|
+
return new CascaderPcaForQueryWidget(key, data);
|
|
1172
|
+
case "select_user2":
|
|
1173
|
+
return new SelectUser2Widget(key, data);
|
|
1174
|
+
case "rangeDate":
|
|
1175
|
+
case "rangeNumber":
|
|
1176
|
+
return new RangeWidget(key, data);
|
|
1037
1177
|
case "hidden":
|
|
1038
1178
|
return new InputWidget(key, data).isHidden();
|
|
1039
1179
|
default:
|
package/IndexTable.js
CHANGED
|
@@ -11,9 +11,9 @@ import "./_flatRest.js";
|
|
|
11
11
|
import "./isArray.js";
|
|
12
12
|
import "./toString.js";
|
|
13
13
|
import "./_arrayPush.js";
|
|
14
|
-
import "/@/
|
|
14
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
15
15
|
import "/@/hooks/web/useMessage";
|
|
16
|
-
import "
|
|
16
|
+
import "vue-router";
|
|
17
17
|
const _sfc_main = defineComponent({
|
|
18
18
|
name: "IndexTable",
|
|
19
19
|
components: {},
|
package/JModalTip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed, openBlock, createElementBlock, createElementVNode, createCommentVNode, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./index.js";
|
|
3
|
-
import "/@/
|
|
3
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
4
4
|
import "/@/hooks/web/useMessage";
|
|
5
|
-
import "
|
|
5
|
+
import "vue-router";
|
|
6
6
|
var JModalTip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
name: "JModalTip",
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { useDebounceFn } from "@vueuse/core";
|
|
2
|
+
import { defHttp } from "/@/utils/http/axios";
|
|
3
|
+
import { useMessage } from "/@/hooks/web/useMessage";
|
|
4
|
+
import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
|
+
import { _ as _export_sfc } from "./index.js";
|
|
6
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
7
|
+
import "vue-router";
|
|
8
|
+
const { createMessage: $message } = useMessage();
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
name: "JOnlineSearchSelect",
|
|
11
|
+
props: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "",
|
|
15
|
+
required: false
|
|
16
|
+
},
|
|
17
|
+
value: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: false
|
|
20
|
+
},
|
|
21
|
+
sql: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:value"],
|
|
27
|
+
setup(props, { emit }) {
|
|
28
|
+
let selected = ref("");
|
|
29
|
+
let selectOptions = ref([]);
|
|
30
|
+
watch(
|
|
31
|
+
() => props.value,
|
|
32
|
+
(newVal) => {
|
|
33
|
+
if (!newVal) {
|
|
34
|
+
selected.value = void 0;
|
|
35
|
+
} else {
|
|
36
|
+
selected.value = newVal;
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{ immediate: true }
|
|
40
|
+
);
|
|
41
|
+
watch(
|
|
42
|
+
() => props.sql,
|
|
43
|
+
() => {
|
|
44
|
+
resetOptions();
|
|
45
|
+
},
|
|
46
|
+
{ immediate: true }
|
|
47
|
+
);
|
|
48
|
+
const handleSearch = useDebounceFn(searchByKeyword, 800);
|
|
49
|
+
function searchByKeyword(keyword = "") {
|
|
50
|
+
let params = {
|
|
51
|
+
keyword
|
|
52
|
+
};
|
|
53
|
+
let url = "/online/cgreport/api/getReportDictList?sql=" + props.sql;
|
|
54
|
+
defHttp.get({ url, params }, { isTransformResponse: false }).then((res) => {
|
|
55
|
+
if (res.success) {
|
|
56
|
+
if (res.result && res.result.length > 0) {
|
|
57
|
+
selectOptions.value = res.result;
|
|
58
|
+
} else {
|
|
59
|
+
selectOptions.value = [];
|
|
60
|
+
}
|
|
61
|
+
} else {
|
|
62
|
+
$message.warning(res.message);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function handleChange(value) {
|
|
67
|
+
emit("update:value", value);
|
|
68
|
+
if (!value || value == "") {
|
|
69
|
+
resetOptions();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function resetOptions() {
|
|
73
|
+
selectOptions.value = [];
|
|
74
|
+
searchByKeyword();
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
selectOptions,
|
|
78
|
+
handleSearch,
|
|
79
|
+
handleChange,
|
|
80
|
+
selected
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
85
|
+
const _component_a_select_option = resolveComponent("a-select-option");
|
|
86
|
+
const _component_a_select = resolveComponent("a-select");
|
|
87
|
+
return openBlock(), createBlock(_component_a_select, {
|
|
88
|
+
value: $setup.selected,
|
|
89
|
+
placeholder: $props.placeholder,
|
|
90
|
+
"show-search": "",
|
|
91
|
+
"default-active-first-option": false,
|
|
92
|
+
"show-arrow": true,
|
|
93
|
+
"filter-option": false,
|
|
94
|
+
"not-found-content": null,
|
|
95
|
+
onSearch: $setup.handleSearch,
|
|
96
|
+
onChange: $setup.handleChange,
|
|
97
|
+
allowClear: ""
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [
|
|
100
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($setup.selectOptions, (d) => {
|
|
101
|
+
return openBlock(), createBlock(_component_a_select_option, {
|
|
102
|
+
key: d.value
|
|
103
|
+
}, {
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
createTextVNode(toDisplayString(d.text), 1)
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1024);
|
|
109
|
+
}), 128))
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["value", "placeholder", "onSearch", "onChange"]);
|
|
113
|
+
}
|
|
114
|
+
var JOnlineSearchSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
115
|
+
export { JOnlineSearchSelect as default };
|
package/LICENSE
ADDED
package/LeftDepart.js
CHANGED
|
@@ -21,9 +21,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21
21
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode, normalizeStyle, createCommentVNode } from "vue";
|
|
22
22
|
import { queryTreeList } from "/@/api/common/api";
|
|
23
23
|
import { _ as _export_sfc } from "./index.js";
|
|
24
|
-
import "/@/
|
|
24
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
25
25
|
import "/@/hooks/web/useMessage";
|
|
26
|
-
import "
|
|
26
|
+
import "vue-router";
|
|
27
27
|
const _sfc_main = defineComponent({
|
|
28
28
|
name: "LeftDepart",
|
|
29
29
|
emits: ["select"],
|
package/LeftRole.js
CHANGED
|
@@ -23,8 +23,9 @@ import { defHttp } from "/@/utils/http/axios";
|
|
|
23
23
|
import { BasicTable } from "/@/components/Table";
|
|
24
24
|
import { useListPage } from "/@/hooks/system/useListPage";
|
|
25
25
|
import { _ as _export_sfc } from "./index.js";
|
|
26
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
26
27
|
import "/@/hooks/web/useMessage";
|
|
27
|
-
import "
|
|
28
|
+
import "vue-router";
|
|
28
29
|
const _sfc_main = defineComponent({
|
|
29
30
|
name: "LeftRole",
|
|
30
31
|
components: { BasicTable },
|
package/LeftUser.js
CHANGED
|
@@ -23,8 +23,9 @@ import { defHttp } from "/@/utils/http/axios";
|
|
|
23
23
|
import { BasicTable } from "/@/components/Table";
|
|
24
24
|
import { useListPage } from "/@/hooks/system/useListPage";
|
|
25
25
|
import { _ as _export_sfc } from "./index.js";
|
|
26
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
26
27
|
import "/@/hooks/web/useMessage";
|
|
27
|
-
import "
|
|
28
|
+
import "vue-router";
|
|
28
29
|
const _sfc_main = defineComponent({
|
|
29
30
|
name: "LeftUser",
|
|
30
31
|
components: { BasicTable },
|
package/LinkTableConfigModal.js
CHANGED
|
@@ -40,8 +40,9 @@ import { BasicForm, useForm } from "/@/components/Form/index";
|
|
|
40
40
|
import { defHttp } from "/@/utils/http/axios";
|
|
41
41
|
import { _ as _export_sfc } from "./index.js";
|
|
42
42
|
import { o as omit } from "./omit.js";
|
|
43
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
43
44
|
import "/@/hooks/web/useMessage";
|
|
44
|
-
import "
|
|
45
|
+
import "vue-router";
|
|
45
46
|
import "./toString.js";
|
|
46
47
|
import "./isArray.js";
|
|
47
48
|
import "./_baseClone.js";
|
|
@@ -41,7 +41,8 @@ import { defHttp } from "/@/utils/http/axios";
|
|
|
41
41
|
import { useMessage } from "/@/hooks/web/useMessage";
|
|
42
42
|
import { _ as _export_sfc } from "./index.js";
|
|
43
43
|
import { o as omit } from "./omit.js";
|
|
44
|
-
import "
|
|
44
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
45
|
+
import "vue-router";
|
|
45
46
|
import "./toString.js";
|
|
46
47
|
import "./isArray.js";
|
|
47
48
|
import "./_baseClone.js";
|
package/LinkTableListPiece.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { propTypes } from "/@/utils/propTypes";
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "./index.js";
|
|
4
|
-
import "/@/
|
|
4
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
5
5
|
import "/@/hooks/web/useMessage";
|
|
6
|
-
import "
|
|
6
|
+
import "vue-router";
|
|
7
7
|
var LinkTableListPiece_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8
8
|
const _sfc_main = {
|
|
9
9
|
name: "LinkTableListPiece",
|
package/ModalFormDemo.js
CHANGED
|
@@ -3,8 +3,9 @@ import { BasicForm, useForm } from "/@/components/Form/index";
|
|
|
3
3
|
import { defHttp } from "/@/utils/http/axios";
|
|
4
4
|
import { _ as _export_sfc } from "./index.js";
|
|
5
5
|
import { p as pick } from "./pick.js";
|
|
6
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
6
7
|
import "/@/hooks/web/useMessage";
|
|
7
|
-
import "
|
|
8
|
+
import "vue-router";
|
|
8
9
|
import "./_flatRest.js";
|
|
9
10
|
import "./isArray.js";
|
|
10
11
|
import "./toString.js";
|
package/OnlineAutoList.js
CHANGED
|
@@ -28,7 +28,7 @@ import JImportModal from "/@/components/Form/src/jeecg/components/JImportModal.v
|
|
|
28
28
|
import { u as useOnlineTableContext, a as useListButton } from "./useListButton.js";
|
|
29
29
|
import { a as OnlinePopModal, c as useEnhance, j as useTableColumns, g as getRefPromise } from "./useAutoForm.js";
|
|
30
30
|
import OnlineQueryForm from "./OnlineQueryForm.js";
|
|
31
|
-
import OnlineSuperQuery from "./
|
|
31
|
+
import OnlineSuperQuery from "./SuperQuery.js";
|
|
32
32
|
import { createContext } from "/@/hooks/core/useContext";
|
|
33
33
|
import mitt from "/@/utils/mitt";
|
|
34
34
|
import { _ as _export_sfc } from "./index.js";
|
|
@@ -56,18 +56,20 @@ import "./_commonjsHelpers.js";
|
|
|
56
56
|
import "/@/store/modules/user";
|
|
57
57
|
import "/@/utils/desform/customExpression";
|
|
58
58
|
import "/@/components/Form/src/componentMap";
|
|
59
|
+
import "./OnlineSelectCascade.js";
|
|
60
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
61
|
+
import "vue-router";
|
|
59
62
|
import "/@/store/modules/permission";
|
|
60
63
|
import "/@/utils/propTypes";
|
|
61
64
|
import "/@/utils/dict/JDictSelectUtil";
|
|
62
65
|
import "/@/utils/common/compUtils";
|
|
63
66
|
import "/@/hooks/system/useListPage";
|
|
64
|
-
import "vue-router";
|
|
65
67
|
import "/@/components/Form/src/utils/Area";
|
|
66
68
|
import "/@/components/Preview/index";
|
|
67
69
|
import "./LinkTableListPiece.js";
|
|
68
|
-
import "@vueuse/core";
|
|
69
70
|
import "./JModalTip.js";
|
|
70
71
|
import "ant-design-vue";
|
|
72
|
+
import "@vueuse/core";
|
|
71
73
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
72
74
|
import "./OnlineFormDetail.js";
|
|
73
75
|
import "./DetailForm.js";
|
|
@@ -79,7 +81,7 @@ import "/@/router";
|
|
|
79
81
|
import "/@/utils/cache";
|
|
80
82
|
import "/@/hooks/core/onMountedOrActivated";
|
|
81
83
|
import "/@/hooks/system/useMethods";
|
|
82
|
-
import "./
|
|
84
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang.js";
|
|
83
85
|
import "/@/components/Form/src/helper";
|
|
84
86
|
import "/@/utils/is";
|
|
85
87
|
const key = Symbol();
|
|
@@ -415,6 +417,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
415
417
|
_ctx.buttonSwitch.super_query ? (openBlock(), createBlock(_component_online_super_query, {
|
|
416
418
|
key: 5,
|
|
417
419
|
ref: "superQueryButtonRef",
|
|
420
|
+
online: "",
|
|
418
421
|
status: _ctx.superQueryStatus,
|
|
419
422
|
onSearch: _ctx.handleSuperQuery
|
|
420
423
|
}, null, 8, ["status", "onSearch"])) : createCommentVNode("", true)
|
package/OnlineAutoModal.js
CHANGED
|
@@ -49,19 +49,21 @@ import "./_commonjsHelpers.js";
|
|
|
49
49
|
import "/@/store/modules/user";
|
|
50
50
|
import "/@/utils/desform/customExpression";
|
|
51
51
|
import "/@/components/Form/src/componentMap";
|
|
52
|
+
import "./OnlineSelectCascade.js";
|
|
53
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
54
|
+
import "vue-router";
|
|
52
55
|
import "/@/store/modules/permission";
|
|
53
56
|
import "/@/utils/propTypes";
|
|
54
57
|
import "/@/utils/dict/JDictSelectUtil";
|
|
55
58
|
import "/@/utils/common/compUtils";
|
|
56
59
|
import "/@/components/Table";
|
|
57
60
|
import "/@/hooks/system/useListPage";
|
|
58
|
-
import "vue-router";
|
|
59
61
|
import "/@/components/Form/src/utils/Area";
|
|
60
62
|
import "/@/components/Preview/index";
|
|
61
63
|
import "./LinkTableListPiece.js";
|
|
62
|
-
import "@vueuse/core";
|
|
63
64
|
import "./JModalTip.js";
|
|
64
65
|
import "ant-design-vue";
|
|
66
|
+
import "@vueuse/core";
|
|
65
67
|
const _sfc_main = defineComponent({
|
|
66
68
|
name: "OnlineModal",
|
|
67
69
|
props: {
|
package/OnlineAutoTreeList.js
CHANGED
|
@@ -29,7 +29,7 @@ import { u as useOnlineTableContext, a as useListButton } from "./useListButton.
|
|
|
29
29
|
import { c as useEnhance, j as useTableColumns, g as getRefPromise } from "./useAutoForm.js";
|
|
30
30
|
import { defHttp } from "/@/utils/http/axios";
|
|
31
31
|
import OnlineQueryForm from "./OnlineQueryForm.js";
|
|
32
|
-
import OnlineSuperQuery from "./
|
|
32
|
+
import OnlineSuperQuery from "./SuperQuery.js";
|
|
33
33
|
import { _ as _export_sfc } from "./index.js";
|
|
34
34
|
import "/@/components/Modal";
|
|
35
35
|
import "./OnlineForm.js";
|
|
@@ -56,18 +56,20 @@ import "./_commonjsHelpers.js";
|
|
|
56
56
|
import "/@/store/modules/user";
|
|
57
57
|
import "/@/utils/desform/customExpression";
|
|
58
58
|
import "/@/components/Form/src/componentMap";
|
|
59
|
+
import "./OnlineSelectCascade.js";
|
|
60
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
61
|
+
import "vue-router";
|
|
59
62
|
import "/@/store/modules/permission";
|
|
60
63
|
import "/@/utils/propTypes";
|
|
61
64
|
import "/@/utils/dict/JDictSelectUtil";
|
|
62
65
|
import "/@/utils/common/compUtils";
|
|
63
66
|
import "/@/hooks/system/useListPage";
|
|
64
|
-
import "vue-router";
|
|
65
67
|
import "/@/components/Form/src/utils/Area";
|
|
66
68
|
import "/@/components/Preview/index";
|
|
67
69
|
import "./LinkTableListPiece.js";
|
|
68
|
-
import "@vueuse/core";
|
|
69
70
|
import "./JModalTip.js";
|
|
70
71
|
import "ant-design-vue";
|
|
72
|
+
import "@vueuse/core";
|
|
71
73
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
72
74
|
import "./OnlineFormDetail.js";
|
|
73
75
|
import "./DetailForm.js";
|
|
@@ -79,7 +81,7 @@ import "/@/router";
|
|
|
79
81
|
import "/@/utils/cache";
|
|
80
82
|
import "/@/hooks/core/onMountedOrActivated";
|
|
81
83
|
import "/@/hooks/system/useMethods";
|
|
82
|
-
import "./
|
|
84
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang.js";
|
|
83
85
|
import "/@/components/Form/src/helper";
|
|
84
86
|
import "/@/utils/is";
|
|
85
87
|
var OnlineAutoTreeList_vue_vue_type_style_index_0_lang = "";
|
|
@@ -472,6 +474,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
472
474
|
_ctx.buttonSwitch.super_query ? (openBlock(), createBlock(_component_online_super_query, {
|
|
473
475
|
key: 5,
|
|
474
476
|
ref: "superQueryButtonRef",
|
|
477
|
+
online: "",
|
|
475
478
|
status: _ctx.superQueryStatus,
|
|
476
479
|
onSearch: _ctx.handleSuperQuery
|
|
477
480
|
}, null, 8, ["status", "onSearch"])) : createCommentVNode("", true)
|
package/OnlineCustomModal.js
CHANGED
|
@@ -32,10 +32,13 @@ import "./_commonjsHelpers.js";
|
|
|
32
32
|
import "/@/store/modules/user";
|
|
33
33
|
import "/@/utils/desform/customExpression";
|
|
34
34
|
import "/@/components/Form/src/componentMap";
|
|
35
|
+
import "./OnlineSelectCascade.js";
|
|
36
|
+
import "/@/hooks/web/useMessage";
|
|
37
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
38
|
+
import "vue-router";
|
|
35
39
|
import "/@/store/modules/permission";
|
|
36
40
|
import "/@/utils/propTypes";
|
|
37
41
|
import "@ant-design/icons-vue";
|
|
38
|
-
import "/@/hooks/web/useMessage";
|
|
39
42
|
import "/@/components/Form/index";
|
|
40
43
|
import "/@/utils/dict/JDictSelectUtil";
|
|
41
44
|
import "/@/utils/common/compUtils";
|
|
@@ -46,15 +49,14 @@ import "./toString.js";
|
|
|
46
49
|
import "./_arrayPush.js";
|
|
47
50
|
import "/@/components/Table";
|
|
48
51
|
import "/@/hooks/system/useListPage";
|
|
49
|
-
import "vue-router";
|
|
50
52
|
import "/@/components/Form/src/utils/Area";
|
|
51
53
|
import "/@/components/Preview/index";
|
|
52
54
|
import "./LinkTableListPiece.js";
|
|
53
|
-
import "@vueuse/core";
|
|
54
55
|
import "/@/components/Loading";
|
|
55
56
|
import "/@/utils/auth";
|
|
56
57
|
import "./JModalTip.js";
|
|
57
58
|
import "ant-design-vue";
|
|
59
|
+
import "@vueuse/core";
|
|
58
60
|
import "/@/components/jeecg/JVxeTable/types";
|
|
59
61
|
import "/@/hooks/core/useContext";
|
|
60
62
|
import "/@/utils/mitt";
|