@jeecg/online 1.0.1 → 3.4.3-GA
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 +14 -7
- package/AuthButtonTree.js +3 -5
- package/AuthDataConfig.js +9 -6
- package/AuthDataTree.js +3 -5
- package/AuthFieldConfig.js +15 -12
- package/AuthFieldTree.js +24 -18
- package/AuthManagerDrawer.js +1 -1
- package/AuthSetterModal.js +1 -0
- package/CgformCopyList.js +34 -22
- package/CgformModal.js +57 -50
- package/CgreportModal.js +32 -39
- package/CheckDictTable.js +144 -24
- package/CodeFileListModal.js +175 -0
- package/CodeFileViewModal.js +325 -0
- package/CodeGeneratorModal.js +41 -38
- package/CustomButtonList.js +19 -22
- package/DBAttributeTable.js +248 -12
- package/DbToOnlineModal.js +27 -25
- package/DetailForm.js +609 -0
- package/EnhanceJavaModal.js +11 -17
- package/EnhanceJsHistory.js +6 -8
- package/EnhanceJsModal.js +16 -16
- package/EnhanceSqlModal.js +11 -17
- package/ExtendConfigModal.js +24 -15
- package/ForeignKeyTable.js +4 -3
- package/FormSchemaFactory.js +163 -30
- package/IndexTable.js +6 -5
- package/JModalTip.js +54 -0
- package/JOnlineSearchSelect.js +18 -10
- package/LeftDepart.js +1 -1
- package/LeftRole.js +7 -4
- package/LeftUser.js +7 -4
- package/LinkTableConfigModal.js +289 -0
- package/LinkTableFieldConfigModal.js +218 -0
- package/LinkTableListPiece.js +36 -0
- package/ModalFormDemo.js +3 -2
- package/OnlineAutoList.js +154 -55
- package/OnlineAutoModal.js +92 -131
- package/OnlineAutoTreeList.js +93 -53
- package/OnlineCustomModal.js +30 -14
- package/OnlineDetailModal.js +184 -0
- package/OnlineForm.js +274 -141
- package/OnlineFormDetail.js +326 -0
- package/OnlineQueryForm.js +72 -40
- package/OnlineSearchFormItem.js +26 -18
- package/OnlineSelectCascade.js +37 -26
- package/OnlineSubFormDetail.js +167 -0
- package/OnlineSuperQuery.js +70 -75
- package/OnlineSuperQueryValComponent.js +1 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
- package/PageAttributeTable.js +233 -30
- package/ProcessOnlineForm.js +41 -16
- package/QueryTable.js +4 -3
- package/README.md +3 -8
- package/_arrayPush.js +5 -3
- package/{cloneDeep.js → _baseClone.js} +5 -9
- package/_baseSlice.js +18 -0
- package/_commonjsHelpers.js +5 -0
- package/_flatRest.js +174 -0
- package/auth.data.js +1 -3
- package/cgform.data.js +18 -9
- package/enhance.api.js +27 -18
- package/index.js +27 -8
- package/index2.js +48 -45
- package/index3.js +29 -26
- package/isArray.js +1 -1
- package/main.index.js +2 -2
- package/omit.js +60 -0
- package/package.json +1 -1
- package/pick.js +3 -173
- package/style.css +1 -1
- package/toString.js +2 -2
- package/useAutoForm.js +3457 -3791
- package/useCgformList.js +44 -31
- package/{useTableColumns.js → useListButton.js} +218 -409
- package/useOnlineTest.js +5 -26827
- package/useSchemas.js +382 -234
- package/useTableSync.js +19 -7
- package/ChartAutoRender.js +0 -69
- package/ChartDoubleRender.js +0 -154
- package/ChartSingleRender.js +0 -132
- package/ChartTabsRender.js +0 -218
- package/ErrorTip.js +0 -21
- package/FieldTable.js +0 -185
- package/GraphreportAutoChart.js +0 -352
- package/GraphreportList.js +0 -239
- package/GraphreportModal.js +0 -559
- package/LICENSE +0 -7
- package/OnlineSubForm.js +0 -200
- package/ParamsTable.js +0 -71
- package/graphreport.api.js +0 -23
- package/useChartRender.js +0 -405
- package/useMessageOnline.js +0 -71
package/OnlineSelectCascade.js
CHANGED
|
@@ -52,34 +52,45 @@ const _sfc_main = defineComponent({
|
|
|
52
52
|
emit("change", temp);
|
|
53
53
|
valueChangeThenEmitNext(temp);
|
|
54
54
|
}
|
|
55
|
-
watch(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (oldVal) {
|
|
73
|
-
emit("change", "");
|
|
74
|
-
emit("next", "-1");
|
|
55
|
+
watch(
|
|
56
|
+
() => props.condition,
|
|
57
|
+
(val) => {
|
|
58
|
+
optionsLoad.value = true;
|
|
59
|
+
if (val) {
|
|
60
|
+
loadOptions();
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{ immediate: true }
|
|
64
|
+
);
|
|
65
|
+
watch(
|
|
66
|
+
() => props.pidValue,
|
|
67
|
+
(val) => {
|
|
68
|
+
if (val === "-1") {
|
|
69
|
+
dictOptions.value = [];
|
|
70
|
+
} else {
|
|
71
|
+
loadOptions();
|
|
75
72
|
}
|
|
76
|
-
} else {
|
|
77
|
-
selectedValue.value = newVal;
|
|
78
|
-
}
|
|
79
|
-
if (newVal && !oldVal) {
|
|
80
|
-
handleFirstValueSetting(newVal);
|
|
81
73
|
}
|
|
82
|
-
|
|
74
|
+
);
|
|
75
|
+
watch(
|
|
76
|
+
() => props.value,
|
|
77
|
+
(newVal, oldVal) => {
|
|
78
|
+
console.log("\u503C\u6539\u53D8\u4E8B\u4EF6", newVal, oldVal);
|
|
79
|
+
if (!newVal) {
|
|
80
|
+
selectedValue.value = [];
|
|
81
|
+
if (oldVal) {
|
|
82
|
+
emit("change", "");
|
|
83
|
+
emit("next", "-1");
|
|
84
|
+
}
|
|
85
|
+
} else {
|
|
86
|
+
selectedValue.value = newVal;
|
|
87
|
+
}
|
|
88
|
+
if (newVal && !oldVal) {
|
|
89
|
+
handleFirstValueSetting(newVal);
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{ immediate: true }
|
|
93
|
+
);
|
|
83
94
|
function handleFirstValueSetting(value) {
|
|
84
95
|
return __async(this, null, function* () {
|
|
85
96
|
if (props.idField === props.store) {
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
var __async = (__this, __arguments, generator) => {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
var fulfilled = (value) => {
|
|
4
|
+
try {
|
|
5
|
+
step(generator.next(value));
|
|
6
|
+
} catch (e) {
|
|
7
|
+
reject(e);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var rejected = (value) => {
|
|
11
|
+
try {
|
|
12
|
+
step(generator.throw(value));
|
|
13
|
+
} catch (e) {
|
|
14
|
+
reject(e);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
import { useMessage } from "/@/hooks/web/useMessage";
|
|
22
|
+
import { ref, watch, resolveComponent, openBlock, createBlock } from "vue";
|
|
23
|
+
import { BasicForm } from "/@/components/Form/index";
|
|
24
|
+
import { defHttp } from "/@/utils/http/axios";
|
|
25
|
+
import { d as getDetailFormSchemas, g as getRefPromise } from "./useAutoForm.js";
|
|
26
|
+
import { Loading } from "/@/components/Loading";
|
|
27
|
+
import DetailForm from "./DetailForm.js";
|
|
28
|
+
import { _ as _export_sfc } from "./index.js";
|
|
29
|
+
import "./FormSchemaFactory.js";
|
|
30
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
31
|
+
import "/@/views/system/user/user.api";
|
|
32
|
+
import "./_commonjsHelpers.js";
|
|
33
|
+
import "/@/store/modules/user";
|
|
34
|
+
import "/@/utils";
|
|
35
|
+
import "/@/utils/desform/customExpression";
|
|
36
|
+
import "/@/components/Form/src/componentMap";
|
|
37
|
+
import "./OnlineSelectCascade.js";
|
|
38
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
39
|
+
import "vue-router";
|
|
40
|
+
import "/@/store/modules/permission";
|
|
41
|
+
import "/@/utils/propTypes";
|
|
42
|
+
import "@ant-design/icons-vue";
|
|
43
|
+
import "/@/components/Modal";
|
|
44
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
45
|
+
import "/@/utils/common/compUtils";
|
|
46
|
+
import "./pick.js";
|
|
47
|
+
import "./_flatRest.js";
|
|
48
|
+
import "./isArray.js";
|
|
49
|
+
import "./toString.js";
|
|
50
|
+
import "./_arrayPush.js";
|
|
51
|
+
import "/@/components/Table";
|
|
52
|
+
import "/@/hooks/system/useListPage";
|
|
53
|
+
import "/@/components/Form/src/utils/Area";
|
|
54
|
+
import "/@/components/Preview/index";
|
|
55
|
+
import "./LinkTableListPiece.js";
|
|
56
|
+
import "/@/utils/auth";
|
|
57
|
+
import "./JModalTip.js";
|
|
58
|
+
import "ant-design-vue";
|
|
59
|
+
import "@vueuse/core";
|
|
60
|
+
import "/@/utils/dict";
|
|
61
|
+
import "/@/utils/dict/index";
|
|
62
|
+
import "/@/api/common/api";
|
|
63
|
+
const baseUrl = "/online/cgform/api/subform";
|
|
64
|
+
const _sfc_main = {
|
|
65
|
+
name: "OnlineSubFormDetail",
|
|
66
|
+
components: {
|
|
67
|
+
BasicForm,
|
|
68
|
+
Loading,
|
|
69
|
+
DetailForm
|
|
70
|
+
},
|
|
71
|
+
props: {
|
|
72
|
+
properties: {
|
|
73
|
+
type: Object,
|
|
74
|
+
required: true
|
|
75
|
+
},
|
|
76
|
+
mainId: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: ""
|
|
79
|
+
},
|
|
80
|
+
table: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: ""
|
|
83
|
+
},
|
|
84
|
+
formTemplate: {
|
|
85
|
+
type: Number,
|
|
86
|
+
default: 1
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
emits: ["formChange"],
|
|
90
|
+
setup(props) {
|
|
91
|
+
const formRendered = ref(false);
|
|
92
|
+
const { createMessage: $message } = useMessage();
|
|
93
|
+
const tableName = ref("");
|
|
94
|
+
const subFormData = ref({});
|
|
95
|
+
const { detailFormSchemas, createFormSchemas, formSpan } = getDetailFormSchemas(props);
|
|
96
|
+
watch(
|
|
97
|
+
() => props.table,
|
|
98
|
+
() => {
|
|
99
|
+
tableName.value = props.table;
|
|
100
|
+
},
|
|
101
|
+
{ immediate: true }
|
|
102
|
+
);
|
|
103
|
+
watch(
|
|
104
|
+
() => props.properties,
|
|
105
|
+
() => {
|
|
106
|
+
console.log("\u4E3B\u8868properties\u6539\u53D8", props.properties);
|
|
107
|
+
formRendered.value = false;
|
|
108
|
+
createFormSchemas(props.properties);
|
|
109
|
+
formRendered.value = true;
|
|
110
|
+
},
|
|
111
|
+
{ deep: true, immediate: true }
|
|
112
|
+
);
|
|
113
|
+
watch(
|
|
114
|
+
() => props.mainId,
|
|
115
|
+
() => {
|
|
116
|
+
console.log("\u4E3B\u8868ID\u6539\u53D8", props.mainId);
|
|
117
|
+
setTimeout(() => {
|
|
118
|
+
resetSubForm();
|
|
119
|
+
}, 100);
|
|
120
|
+
},
|
|
121
|
+
{ immediate: true }
|
|
122
|
+
);
|
|
123
|
+
function resetSubForm() {
|
|
124
|
+
return __async(this, null, function* () {
|
|
125
|
+
yield getRefPromise(formRendered);
|
|
126
|
+
subFormData.value = {};
|
|
127
|
+
const { table, mainId } = props;
|
|
128
|
+
if (!table || !mainId) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
let values = (yield loadData(table, mainId)) || {};
|
|
132
|
+
subFormData.value = values;
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
function loadData(table, mainId) {
|
|
136
|
+
let url = `${baseUrl}/${table}/${mainId}`;
|
|
137
|
+
return new Promise((resolve, reject) => {
|
|
138
|
+
defHttp.get({ url }, { isTransformResponse: false }).then((res) => {
|
|
139
|
+
console.log(res);
|
|
140
|
+
if (res.success) {
|
|
141
|
+
resolve(res.result);
|
|
142
|
+
} else {
|
|
143
|
+
console.log(res.message);
|
|
144
|
+
reject();
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}).catch(() => {
|
|
148
|
+
$message.warning("\u5B50\u8868\u83B7\u53D6\u6570\u636E\u5931\u8D25:" + table);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
detailFormSchemas,
|
|
153
|
+
subFormData,
|
|
154
|
+
formSpan
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
159
|
+
const _component_detail_form = resolveComponent("detail-form");
|
|
160
|
+
return openBlock(), createBlock(_component_detail_form, {
|
|
161
|
+
schemas: $setup.detailFormSchemas,
|
|
162
|
+
data: $setup.subFormData,
|
|
163
|
+
span: $setup.formSpan
|
|
164
|
+
}, null, 8, ["schemas", "data", "span"]);
|
|
165
|
+
}
|
|
166
|
+
var OnlineSubFormDetail = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
167
|
+
export { OnlineSubFormDetail as default };
|
package/OnlineSuperQuery.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ref, reactive,
|
|
1
|
+
import { ref, reactive, watch, toRaw, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, createBlock, withCtx, createVNode, createTextVNode, Teleport, createCommentVNode, normalizeClass, withDirectives, vShow, renderList, toDisplayString, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import { useModalInner, BasicModal, useModal } from "/@/components/Modal";
|
|
3
3
|
import { randomString } from "/@/utils/common/compUtils";
|
|
4
4
|
import { useMessage } from "/@/hooks/web/useMessage";
|
|
5
5
|
import { Modal, Divider } from "ant-design-vue";
|
|
6
6
|
import { createLocalStorage } from "/@/utils/cache";
|
|
7
7
|
import { useRoute } from "vue-router";
|
|
8
|
-
import {
|
|
8
|
+
import { c as FORM_VIEW_TO_QUERY_VIEW, F as FormSchemaFactory } from "./FormSchemaFactory.js";
|
|
9
9
|
import { _ as _sfc_main$1 } from "./OnlineSuperQueryValComponent.vue_vue_type_script_lang.js";
|
|
10
10
|
import { MinusCircleOutlined, PlusOutlined, FileTextOutlined, CloseCircleOutlined, AppstoreTwoTone } from "@ant-design/icons-vue";
|
|
11
11
|
import { _ as _export_sfc } from "./index.js";
|
|
@@ -13,6 +13,7 @@ import "/@/components/Form/src/jeecg/components/JUpload";
|
|
|
13
13
|
import "/@/components/Form/src/componentMap";
|
|
14
14
|
import "/@/components/Form/src/helper";
|
|
15
15
|
import "/@/utils/is";
|
|
16
|
+
import "./_baseSlice.js";
|
|
16
17
|
import "./toString.js";
|
|
17
18
|
import "./isArray.js";
|
|
18
19
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
@@ -27,7 +28,7 @@ function useSuperQuery() {
|
|
|
27
28
|
const [registerModal, { setModalProps }] = useModalInner(() => {
|
|
28
29
|
setModalProps({ confirmLoading: false });
|
|
29
30
|
});
|
|
30
|
-
const view2QueryViewMap = Object.assign({}, {
|
|
31
|
+
const view2QueryViewMap = Object.assign({}, { link_down: "text" }, FORM_VIEW_TO_QUERY_VIEW);
|
|
31
32
|
function handleSubmit() {
|
|
32
33
|
console.log("handleSubmit", dynamicRowValues.values);
|
|
33
34
|
}
|
|
@@ -110,25 +111,32 @@ function useSuperQuery() {
|
|
|
110
111
|
});
|
|
111
112
|
const loading = ref(false);
|
|
112
113
|
const route = useRoute();
|
|
113
|
-
watch(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
watch(
|
|
115
|
+
() => route.fullPath,
|
|
116
|
+
(val) => {
|
|
117
|
+
console.log("fullpath", val);
|
|
118
|
+
initSaveQueryInfoCode();
|
|
119
|
+
}
|
|
120
|
+
);
|
|
117
121
|
const currentPageSavedArray = ref([]);
|
|
118
|
-
watch(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
watch(
|
|
123
|
+
() => currentPageSavedArray.value,
|
|
124
|
+
(val) => {
|
|
125
|
+
let temp = [];
|
|
126
|
+
if (val && val.length > 0) {
|
|
127
|
+
val.map((item) => {
|
|
128
|
+
let key = randomString(16);
|
|
129
|
+
temp.push({
|
|
130
|
+
title: item.title,
|
|
131
|
+
slots: { icon: "custom" },
|
|
132
|
+
value: key
|
|
133
|
+
});
|
|
127
134
|
});
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
}
|
|
136
|
+
saveTreeData.value = temp;
|
|
137
|
+
},
|
|
138
|
+
{ immediate: true, deep: true }
|
|
139
|
+
);
|
|
132
140
|
function initSaveQueryInfoCode() {
|
|
133
141
|
let code = SAVE_CODE_PRE + route.fullPath;
|
|
134
142
|
saveInfo.saveCode = code;
|
|
@@ -274,7 +282,7 @@ function useSuperQuery() {
|
|
|
274
282
|
Object.keys(subProps).map((subField) => {
|
|
275
283
|
let subItem = subProps[subField];
|
|
276
284
|
subItem["order"] = subTableOrder + subItem["order"];
|
|
277
|
-
let subFieldKey = field + "
|
|
285
|
+
let subFieldKey = field + "," + subField;
|
|
278
286
|
allFields[subFieldKey] = subItem;
|
|
279
287
|
subNode.children.push({
|
|
280
288
|
title: subItem.title,
|
|
@@ -407,9 +415,13 @@ const _sfc_main = {
|
|
|
407
415
|
initDefaultValues
|
|
408
416
|
} = useSuperQuery();
|
|
409
417
|
const superQueryFlag = ref(false);
|
|
410
|
-
watch(
|
|
411
|
-
|
|
412
|
-
|
|
418
|
+
watch(
|
|
419
|
+
() => props.status,
|
|
420
|
+
(val) => {
|
|
421
|
+
superQueryFlag.value = val;
|
|
422
|
+
},
|
|
423
|
+
{ immediate: true }
|
|
424
|
+
);
|
|
413
425
|
function handleOpen() {
|
|
414
426
|
formModal.openModal();
|
|
415
427
|
addOne(true);
|
|
@@ -454,34 +466,17 @@ const _sfc_main = {
|
|
|
454
466
|
};
|
|
455
467
|
}
|
|
456
468
|
};
|
|
457
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
469
|
+
const _withScopeId = (n) => (pushScopeId("data-v-2878ef8e"), n = n(), popScopeId(), n);
|
|
458
470
|
const _hoisted_1 = { class: "j-super-query-button" };
|
|
459
471
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u5DF2\u6709\u9AD8\u7EA7\u67E5\u8BE2\u6761\u4EF6\u751F\u6548", -1));
|
|
460
472
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u9AD8\u7EA7\u67E5\u8BE2", -1));
|
|
461
|
-
const _hoisted_4 =
|
|
462
|
-
const _hoisted_5 = {
|
|
463
|
-
const _hoisted_6 = /* @__PURE__ */
|
|
464
|
-
const _hoisted_7 = /* @__PURE__ */
|
|
465
|
-
const _hoisted_8 =
|
|
466
|
-
const _hoisted_9 =
|
|
467
|
-
const _hoisted_10 = {
|
|
468
|
-
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u6CA1\u6709\u4EFB\u4F55\u67E5\u8BE2\u6761\u4EF6", -1));
|
|
469
|
-
const _hoisted_12 = /* @__PURE__ */ createTextVNode("AND\uFF08\u6240\u6709\u6761\u4EF6\u90FD\u8981\u6C42\u5339\u914D\uFF09");
|
|
470
|
-
const _hoisted_13 = /* @__PURE__ */ createTextVNode("OR\uFF08\u6761\u4EF6\u4E2D\u7684\u4EFB\u610F\u4E00\u4E2A\u5339\u914D\uFF09");
|
|
471
|
-
const _hoisted_14 = /* @__PURE__ */ createTextVNode("\u7B49\u4E8E");
|
|
472
|
-
const _hoisted_15 = /* @__PURE__ */ createTextVNode("\u6A21\u7CCA");
|
|
473
|
-
const _hoisted_16 = /* @__PURE__ */ createTextVNode("\u4EE5..\u5F00\u59CB");
|
|
474
|
-
const _hoisted_17 = /* @__PURE__ */ createTextVNode("\u4EE5..\u7ED3\u5C3E");
|
|
475
|
-
const _hoisted_18 = /* @__PURE__ */ createTextVNode("\u5728...\u4E2D");
|
|
476
|
-
const _hoisted_19 = /* @__PURE__ */ createTextVNode("\u4E0D\u7B49\u4E8E");
|
|
477
|
-
const _hoisted_20 = /* @__PURE__ */ createTextVNode("\u5927\u4E8E");
|
|
478
|
-
const _hoisted_21 = /* @__PURE__ */ createTextVNode("\u5927\u4E8E\u7B49\u4E8E");
|
|
479
|
-
const _hoisted_22 = /* @__PURE__ */ createTextVNode("\u5C0F\u4E8E");
|
|
480
|
-
const _hoisted_23 = /* @__PURE__ */ createTextVNode("\u5C0F\u4E8E\u7B49\u4E8E");
|
|
481
|
-
const _hoisted_24 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "\u4FDD\u5B58\u7684\u67E5\u8BE2", -1));
|
|
482
|
-
const _hoisted_25 = ["title"];
|
|
483
|
-
const _hoisted_26 = { class: "icon-cancle" };
|
|
484
|
-
const _hoisted_27 = { style: { "height": "80px", "line-height": "75px", "width": "100%", "text-align": "center" } };
|
|
473
|
+
const _hoisted_4 = { style: { "float": "left" } };
|
|
474
|
+
const _hoisted_5 = { slot: "description" };
|
|
475
|
+
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u6CA1\u6709\u4EFB\u4F55\u67E5\u8BE2\u6761\u4EF6", -1));
|
|
476
|
+
const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "\u4FDD\u5B58\u7684\u67E5\u8BE2", -1));
|
|
477
|
+
const _hoisted_8 = ["title"];
|
|
478
|
+
const _hoisted_9 = { class: "icon-cancle" };
|
|
479
|
+
const _hoisted_10 = { style: { "height": "80px", "line-height": "75px", "width": "100%", "text-align": "center" } };
|
|
485
480
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
486
481
|
const _component_divider = resolveComponent("divider");
|
|
487
482
|
const _component_AppstoreTwoTone = resolveComponent("AppstoreTwoTone");
|
|
@@ -549,7 +544,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
549
544
|
onClick: $setup.handleOpen
|
|
550
545
|
}, {
|
|
551
546
|
default: withCtx(() => [
|
|
552
|
-
|
|
547
|
+
createTextVNode(" \u9AD8\u7EA7\u67E5\u8BE2 ")
|
|
553
548
|
]),
|
|
554
549
|
_: 1
|
|
555
550
|
}, 8, ["onClick"]))
|
|
@@ -558,18 +553,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
558
553
|
createVNode(_component_BasicModal, {
|
|
559
554
|
title: "\u9AD8\u7EA7\u67E5\u8BE2\u6784\u9020\u5668",
|
|
560
555
|
canFullscreen: false,
|
|
561
|
-
width:
|
|
556
|
+
width: 1055,
|
|
562
557
|
onRegister: $setup.registerFormModal,
|
|
563
558
|
onOk: $setup.handleSubmit
|
|
564
559
|
}, {
|
|
565
560
|
footer: withCtx(() => [
|
|
566
|
-
createElementVNode("div",
|
|
561
|
+
createElementVNode("div", _hoisted_4, [
|
|
567
562
|
createVNode(_component_a_button, {
|
|
568
563
|
loading: $setup.loading,
|
|
569
564
|
onClick: $setup.handleReset
|
|
570
565
|
}, {
|
|
571
566
|
default: withCtx(() => [
|
|
572
|
-
|
|
567
|
+
createTextVNode("\u91CD\u7F6E")
|
|
573
568
|
]),
|
|
574
569
|
_: 1
|
|
575
570
|
}, 8, ["loading", "onClick"]),
|
|
@@ -578,7 +573,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
578
573
|
onClick: $setup.handleSave
|
|
579
574
|
}, {
|
|
580
575
|
default: withCtx(() => [
|
|
581
|
-
|
|
576
|
+
createTextVNode("\u4FDD\u5B58\u67E5\u8BE2\u6761\u4EF6")
|
|
582
577
|
]),
|
|
583
578
|
_: 1
|
|
584
579
|
}, 8, ["loading", "onClick"])
|
|
@@ -589,7 +584,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
589
584
|
onClick: $setup.handleSubmit
|
|
590
585
|
}, {
|
|
591
586
|
default: withCtx(() => [
|
|
592
|
-
|
|
587
|
+
createTextVNode("\u786E\u5B9A")
|
|
593
588
|
]),
|
|
594
589
|
_: 1
|
|
595
590
|
}, 8, ["onClick"]),
|
|
@@ -598,7 +593,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
598
593
|
onClick: $setup.handleCancel
|
|
599
594
|
}, {
|
|
600
595
|
default: withCtx(() => [
|
|
601
|
-
|
|
596
|
+
createTextVNode("\u5173\u95ED")
|
|
602
597
|
]),
|
|
603
598
|
_: 1
|
|
604
599
|
}, 8, ["onClick"])
|
|
@@ -606,8 +601,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
606
601
|
default: withCtx(() => [
|
|
607
602
|
$setup.dynamicRowValues.values.length == 0 ? (openBlock(), createBlock(_component_a_empty, { key: 0 }, {
|
|
608
603
|
default: withCtx(() => [
|
|
609
|
-
createElementVNode("div",
|
|
610
|
-
|
|
604
|
+
createElementVNode("div", _hoisted_5, [
|
|
605
|
+
_hoisted_6,
|
|
611
606
|
createVNode(_component_a_divider, { type: "vertical" }),
|
|
612
607
|
createElementVNode("a", {
|
|
613
608
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.addOne(-1))
|
|
@@ -648,13 +643,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
648
643
|
default: withCtx(() => [
|
|
649
644
|
createVNode(_component_a_select_option, { value: "and" }, {
|
|
650
645
|
default: withCtx(() => [
|
|
651
|
-
|
|
646
|
+
createTextVNode("AND\uFF08\u6240\u6709\u6761\u4EF6\u90FD\u8981\u6C42\u5339\u914D\uFF09")
|
|
652
647
|
]),
|
|
653
648
|
_: 1
|
|
654
649
|
}),
|
|
655
650
|
createVNode(_component_a_select_option, { value: "or" }, {
|
|
656
651
|
default: withCtx(() => [
|
|
657
|
-
|
|
652
|
+
createTextVNode("OR\uFF08\u6761\u4EF6\u4E2D\u7684\u4EFB\u610F\u4E00\u4E2A\u5339\u914D\uFF09")
|
|
658
653
|
]),
|
|
659
654
|
_: 1
|
|
660
655
|
})
|
|
@@ -721,61 +716,61 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
721
716
|
default: withCtx(() => [
|
|
722
717
|
createVNode(_component_a_select_option, { value: "eq" }, {
|
|
723
718
|
default: withCtx(() => [
|
|
724
|
-
|
|
719
|
+
createTextVNode("\u7B49\u4E8E")
|
|
725
720
|
]),
|
|
726
721
|
_: 1
|
|
727
722
|
}),
|
|
728
723
|
createVNode(_component_a_select_option, { value: "like" }, {
|
|
729
724
|
default: withCtx(() => [
|
|
730
|
-
|
|
725
|
+
createTextVNode("\u6A21\u7CCA")
|
|
731
726
|
]),
|
|
732
727
|
_: 1
|
|
733
728
|
}),
|
|
734
729
|
createVNode(_component_a_select_option, { value: "right_like" }, {
|
|
735
730
|
default: withCtx(() => [
|
|
736
|
-
|
|
731
|
+
createTextVNode("\u4EE5..\u5F00\u59CB")
|
|
737
732
|
]),
|
|
738
733
|
_: 1
|
|
739
734
|
}),
|
|
740
735
|
createVNode(_component_a_select_option, { value: "left_like" }, {
|
|
741
736
|
default: withCtx(() => [
|
|
742
|
-
|
|
737
|
+
createTextVNode("\u4EE5..\u7ED3\u5C3E")
|
|
743
738
|
]),
|
|
744
739
|
_: 1
|
|
745
740
|
}),
|
|
746
741
|
createVNode(_component_a_select_option, { value: "in" }, {
|
|
747
742
|
default: withCtx(() => [
|
|
748
|
-
|
|
743
|
+
createTextVNode("\u5728...\u4E2D")
|
|
749
744
|
]),
|
|
750
745
|
_: 1
|
|
751
746
|
}),
|
|
752
747
|
createVNode(_component_a_select_option, { value: "ne" }, {
|
|
753
748
|
default: withCtx(() => [
|
|
754
|
-
|
|
749
|
+
createTextVNode("\u4E0D\u7B49\u4E8E")
|
|
755
750
|
]),
|
|
756
751
|
_: 1
|
|
757
752
|
}),
|
|
758
753
|
createVNode(_component_a_select_option, { value: "gt" }, {
|
|
759
754
|
default: withCtx(() => [
|
|
760
|
-
|
|
755
|
+
createTextVNode("\u5927\u4E8E")
|
|
761
756
|
]),
|
|
762
757
|
_: 1
|
|
763
758
|
}),
|
|
764
759
|
createVNode(_component_a_select_option, { value: "ge" }, {
|
|
765
760
|
default: withCtx(() => [
|
|
766
|
-
|
|
761
|
+
createTextVNode("\u5927\u4E8E\u7B49\u4E8E")
|
|
767
762
|
]),
|
|
768
763
|
_: 1
|
|
769
764
|
}),
|
|
770
765
|
createVNode(_component_a_select_option, { value: "lt" }, {
|
|
771
766
|
default: withCtx(() => [
|
|
772
|
-
|
|
767
|
+
createTextVNode("\u5C0F\u4E8E")
|
|
773
768
|
]),
|
|
774
769
|
_: 1
|
|
775
770
|
}),
|
|
776
771
|
createVNode(_component_a_select_option, { value: "le" }, {
|
|
777
772
|
default: withCtx(() => [
|
|
778
|
-
|
|
773
|
+
createTextVNode("\u5C0F\u4E8E\u7B49\u4E8E")
|
|
779
774
|
]),
|
|
780
775
|
_: 1
|
|
781
776
|
})
|
|
@@ -845,7 +840,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
845
840
|
bordered: true
|
|
846
841
|
}, {
|
|
847
842
|
title: withCtx(() => [
|
|
848
|
-
|
|
843
|
+
_hoisted_7
|
|
849
844
|
]),
|
|
850
845
|
default: withCtx(() => [
|
|
851
846
|
$setup.saveTreeData.length === 0 ? (openBlock(), createBlock(_component_a_empty, {
|
|
@@ -862,8 +857,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
862
857
|
}, {
|
|
863
858
|
title: withCtx(({ title }) => [
|
|
864
859
|
createElementVNode("div", null, [
|
|
865
|
-
createElementVNode("span", { title }, toDisplayString(title.length > 10 ? title.substring(0, 10) + "..." : title), 9,
|
|
866
|
-
createElementVNode("span",
|
|
860
|
+
createElementVNode("span", { title }, toDisplayString(title.length > 10 ? title.substring(0, 10) + "..." : title), 9, _hoisted_8),
|
|
861
|
+
createElementVNode("span", _hoisted_9, [
|
|
867
862
|
createVNode(_component_close_circle_outlined, {
|
|
868
863
|
onClick: ($event) => $setup.handleRemoveSaveInfo(title)
|
|
869
864
|
}, null, 8, ["onClick"])
|
|
@@ -895,7 +890,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
895
890
|
onOk: $setup.doSaveQueryInfo
|
|
896
891
|
}, {
|
|
897
892
|
default: withCtx(() => [
|
|
898
|
-
createElementVNode("div",
|
|
893
|
+
createElementVNode("div", _hoisted_10, [
|
|
899
894
|
createVNode(_component_a_input, {
|
|
900
895
|
value: $setup.saveInfo.title,
|
|
901
896
|
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => $setup.saveInfo.title = $event),
|
|
@@ -908,5 +903,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
908
903
|
}, 8, ["visible", "onOk"])
|
|
909
904
|
], 64);
|
|
910
905
|
}
|
|
911
|
-
var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
906
|
+
var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2878ef8e"]]);
|
|
912
907
|
export { OnlineSuperQuery as default };
|
|
@@ -21,24 +21,8 @@ import { defineComponent, computed, createVNode, unref } from "vue";
|
|
|
21
21
|
import { componentMap } from "/@/components/Form/src/componentMap";
|
|
22
22
|
import { createPlaceholderMessage } from "/@/components/Form/src/helper";
|
|
23
23
|
import { isFunction } from "/@/utils/is";
|
|
24
|
+
import { b as baseSlice } from "./_baseSlice.js";
|
|
24
25
|
import { t as toString } from "./toString.js";
|
|
25
|
-
function baseSlice(array, start, end) {
|
|
26
|
-
var index = -1, length = array.length;
|
|
27
|
-
if (start < 0) {
|
|
28
|
-
start = -start > length ? 0 : length + start;
|
|
29
|
-
}
|
|
30
|
-
end = end > length ? length : end;
|
|
31
|
-
if (end < 0) {
|
|
32
|
-
end += length;
|
|
33
|
-
}
|
|
34
|
-
length = start > end ? 0 : end - start >>> 0;
|
|
35
|
-
start >>>= 0;
|
|
36
|
-
var result = Array(length);
|
|
37
|
-
while (++index < length) {
|
|
38
|
-
result[index] = array[index + start];
|
|
39
|
-
}
|
|
40
|
-
return result;
|
|
41
|
-
}
|
|
42
26
|
function castSlice(array, start, end) {
|
|
43
27
|
var length = array.length;
|
|
44
28
|
end = end === void 0 ? length : end;
|