@jeecg/online 3.7.0-beta → 3.7.4-beta
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/AccountLoginForm-84cbd344.mjs +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
- package/AuthFieldConfig-f1e224cc.mjs +245 -0
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/CgformModal-c4a4e0c2.mjs +667 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/CodeFileViewModal-405e2b58.mjs +253 -0
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
- package/DbToOnlineModal-f28ff0a3.mjs +168 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
- package/JModalTip-a927f85d.mjs +49 -0
- package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
- package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/auth.api-53df4c33.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
- package/useTableSync-075826a1.mjs +89 -0
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-fe3988fb.mjs +0 -84
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthButtonTree-589395ed.mjs +0 -156
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/AuthFieldTree-b7cd091e.mjs +0 -232
- package/CgformCopyList-8077ccc6.mjs +0 -250
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeFileListModal-0e26b7e0.mjs +0 -158
- package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/CustomButtonList-37639061.mjs +0 -381
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JModalTip-4a83aaed.mjs +0 -49
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/LeftRole-7d8c5acc.mjs +0 -86
- package/OnlCgformErpList-30e416c8.mjs +0 -470
- package/OnlCgformErpSubTable-9a876058.mjs +0 -427
- package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
- package/OnlCgformTabList-7a2f2c03.mjs +0 -408
- package/OnlineAutoList-46c6c8b9.mjs +0 -493
- package/OnlineAutoModal-971bef13.mjs +0 -236
- package/OnlineAutoTreeList-3b92454c.mjs +0 -502
- package/OnlineCustomModal-594244f3.mjs +0 -232
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/OnlineTabForm-9ad7d29a.mjs +0 -805
- package/SetSwitchOptions-a452fa0f.mjs +0 -62
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useCgformList-8755a94e.mjs +0 -426
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useListButton-7ddb9a46.mjs +0 -697
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var
|
|
1
|
+
var W = Object.defineProperty;
|
|
2
2
|
var j = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var N = (e, l, i) => l in e ?
|
|
3
|
+
var z = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var N = (e, l, i) => l in e ? W(e, l, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[l] = i, A = (e, l) => {
|
|
5
5
|
for (var i in l || (l = {}))
|
|
6
|
-
|
|
6
|
+
z.call(l, i) && N(e, i, l[i]);
|
|
7
7
|
if (j)
|
|
8
8
|
for (var i of j(l))
|
|
9
|
-
|
|
9
|
+
G.call(l, i) && N(e, i, l[i]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { defineComponent as
|
|
13
|
-
import { JDictSelectTag as
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
12
|
+
import { defineComponent as H, ref as M, watch as b, useCssVars as Q, resolveComponent as o, openBlock as u, createBlock as n, normalizeClass as R, withCtx as c, createElementVNode as w, toDisplayString as I, createElementBlock as p, Fragment as m, createVNode as V, renderList as X, createTextVNode as Z, mergeProps as K } from "vue";
|
|
13
|
+
import { JDictSelectTag as _, JTreeSelect as x, JCategorySelect as ee, JSelectUser as le, JSelectUserByDept as te, JSelectDept as ae, JPopup as ue, JAreaLinkage as ne, JAreaSelect as ie, JSelectMultiple as oe } from "/@/components/Form";
|
|
14
|
+
import re from "./JOnlineSearchSelect-04ec87d0.mjs";
|
|
15
|
+
import { _ as de } from "./index-9e1e1e53.mjs";
|
|
16
16
|
import "@vueuse/core";
|
|
17
17
|
import "/@/utils/http/axios";
|
|
18
18
|
import "/@/hooks/web/useMessage";
|
|
19
19
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
20
20
|
import "vue-router";
|
|
21
|
-
const O =
|
|
21
|
+
const O = H({
|
|
22
22
|
name: "OnlineSearchFormItem",
|
|
23
23
|
components: {
|
|
24
|
-
JOnlineSearchSelect:
|
|
25
|
-
JDictSelectTag:
|
|
26
|
-
JTreeSelect:
|
|
27
|
-
JCategorySelect:
|
|
28
|
-
JSelectUser:
|
|
29
|
-
JSelectUserByDept:
|
|
30
|
-
JSelectDept:
|
|
31
|
-
JPopup:
|
|
32
|
-
JAreaLinkage:
|
|
33
|
-
JAreaSelect:
|
|
34
|
-
JSelectMultiple:
|
|
24
|
+
JOnlineSearchSelect: re,
|
|
25
|
+
JDictSelectTag: _,
|
|
26
|
+
JTreeSelect: x,
|
|
27
|
+
JCategorySelect: ee,
|
|
28
|
+
JSelectUser: le,
|
|
29
|
+
JSelectUserByDept: te,
|
|
30
|
+
JSelectDept: ae,
|
|
31
|
+
JPopup: ue,
|
|
32
|
+
JAreaLinkage: ne,
|
|
33
|
+
JAreaSelect: ie,
|
|
34
|
+
JSelectMultiple: oe
|
|
35
35
|
},
|
|
36
36
|
props: {
|
|
37
37
|
value: {
|
|
@@ -59,33 +59,33 @@ const O = Q({
|
|
|
59
59
|
},
|
|
60
60
|
emits: ["update:value", "change"],
|
|
61
61
|
setup(e, { emit: l }) {
|
|
62
|
-
const i = "120px",
|
|
62
|
+
const i = "120px", q = {
|
|
63
63
|
style: {
|
|
64
64
|
"max-width": i
|
|
65
65
|
}
|
|
66
|
-
},
|
|
67
|
-
let
|
|
68
|
-
|
|
66
|
+
}, P = "single";
|
|
67
|
+
let h = M(""), s = M(""), f = M("");
|
|
68
|
+
b(
|
|
69
69
|
() => e.value,
|
|
70
70
|
() => {
|
|
71
|
-
|
|
71
|
+
C() ? h.value = e.value ? e.value : void 0 : h.value = e.value, e.value || (s.value = "", f.value = "");
|
|
72
72
|
},
|
|
73
73
|
{ deep: !0, immediate: !0 }
|
|
74
|
-
),
|
|
75
|
-
|
|
74
|
+
), b(
|
|
75
|
+
h,
|
|
76
76
|
(a) => {
|
|
77
77
|
l("update:value", a);
|
|
78
78
|
},
|
|
79
79
|
{ immediate: !0 }
|
|
80
|
-
),
|
|
80
|
+
), b(s, (a) => {
|
|
81
81
|
l("change", e.item.field + "_begin", a), l("update:value", "1");
|
|
82
|
-
}),
|
|
82
|
+
}), b(f, (a) => {
|
|
83
83
|
l("change", e.item.field + "_end", a), l("update:value", "1");
|
|
84
84
|
});
|
|
85
85
|
function J(a) {
|
|
86
86
|
return a.dbField ? a.dbField : a.field;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function C() {
|
|
89
89
|
let a = e.item;
|
|
90
90
|
return a ? a.view == "list" || a.view == "radio" || a.view == "switch" : !1;
|
|
91
91
|
}
|
|
@@ -94,83 +94,83 @@ const O = Q({
|
|
|
94
94
|
return a.dictTable && a.dictTable.length > 0 ? a.dictTable + "," + a.dictText + "," + a.dictCode : a.dictCode;
|
|
95
95
|
}
|
|
96
96
|
function k() {
|
|
97
|
-
let a = e.item, { dictTable: t, dictCode: v, dictText:
|
|
98
|
-
return g.length > 1 && (
|
|
97
|
+
let a = e.item, { dictTable: t, dictCode: v, dictText: d } = a, g = t.toLowerCase().split("where"), r = "";
|
|
98
|
+
return g.length > 1 && (r = " where" + g[1]), "select " + v + " as 'value', " + d + " as 'text' from " + g[0] + r;
|
|
99
99
|
}
|
|
100
100
|
function T(a) {
|
|
101
101
|
let { dictText: t, dictCode: v } = a;
|
|
102
102
|
if (!t || t.length == 0)
|
|
103
103
|
return [];
|
|
104
|
-
let
|
|
105
|
-
for (let
|
|
104
|
+
let d = t.split(","), y = v.split(","), g = [];
|
|
105
|
+
for (let r = 0; r < d.length; r++)
|
|
106
106
|
g.push({
|
|
107
|
-
target: r
|
|
108
|
-
source:
|
|
107
|
+
target: d[r],
|
|
108
|
+
source: y[r]
|
|
109
109
|
});
|
|
110
110
|
return g;
|
|
111
111
|
}
|
|
112
112
|
function E(a) {
|
|
113
|
-
let { dictText: t } = e.item,
|
|
114
|
-
l("change",
|
|
113
|
+
let { dictText: t } = e.item, d = t.split(",")[0];
|
|
114
|
+
l("change", d, a[d]);
|
|
115
115
|
}
|
|
116
116
|
function B(a) {
|
|
117
117
|
l("update:value", a);
|
|
118
118
|
}
|
|
119
119
|
function S(a, t, v) {
|
|
120
|
-
let
|
|
120
|
+
let d = {
|
|
121
121
|
labelKey: t,
|
|
122
122
|
rowKey: v
|
|
123
|
-
},
|
|
124
|
-
if (
|
|
125
|
-
let g = JSON.parse(
|
|
126
|
-
|
|
123
|
+
}, y = a.fieldExtendJson;
|
|
124
|
+
if (y && typeof y == "string") {
|
|
125
|
+
let g = JSON.parse(y), r = A({}, g);
|
|
126
|
+
r.text && (d.labelKey = r.text), r.store && (d.rowKey = r.store);
|
|
127
127
|
}
|
|
128
|
-
return
|
|
128
|
+
return d;
|
|
129
129
|
}
|
|
130
130
|
let U = S(e.item, "realname", "username"), Y = S(e.item, "departName", "id");
|
|
131
|
-
function
|
|
131
|
+
function F(a) {
|
|
132
132
|
a && a.length > 0 ? l("update:value", a.join(",")) : l("update:value", "");
|
|
133
133
|
}
|
|
134
134
|
return {
|
|
135
135
|
getPopupFieldConfig: T,
|
|
136
136
|
userSelectProp: U,
|
|
137
137
|
depSelectProp: Y,
|
|
138
|
-
handleSelectChange:
|
|
138
|
+
handleSelectChange: F,
|
|
139
139
|
setFieldsValue: E,
|
|
140
|
-
innerValue:
|
|
140
|
+
innerValue: h,
|
|
141
141
|
beginValue: s,
|
|
142
142
|
endValue: f,
|
|
143
|
-
isEasySelect:
|
|
143
|
+
isEasySelect: C,
|
|
144
144
|
getDictOptionKey: J,
|
|
145
145
|
getDictCode: D,
|
|
146
146
|
labelTextMaxWidth: i,
|
|
147
|
-
labelCol:
|
|
148
|
-
single_mode:
|
|
147
|
+
labelCol: q,
|
|
148
|
+
single_mode: P,
|
|
149
149
|
getSqlByDictCode: k,
|
|
150
150
|
handleCategoryTreeChange: B
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
}),
|
|
154
|
-
|
|
153
|
+
}), $ = () => {
|
|
154
|
+
Q((e) => ({
|
|
155
155
|
"6524b8a9": e.labelTextMaxWidth
|
|
156
156
|
}));
|
|
157
|
-
},
|
|
158
|
-
O.setup =
|
|
159
|
-
const
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
const s = o("a-date-picker"), f = o("JDictSelectTag"), J = o("a-select-option"),
|
|
157
|
+
}, L = O.setup;
|
|
158
|
+
O.setup = L ? (e, l) => ($(), L(e, l)) : $;
|
|
159
|
+
const se = O;
|
|
160
|
+
const pe = ["title"];
|
|
161
|
+
function me(e, l, i, q, P, h) {
|
|
162
|
+
const s = o("a-date-picker"), f = o("JDictSelectTag"), J = o("a-select-option"), C = o("a-select"), D = o("JTreeSelect"), k = o("JCategorySelect"), T = o("JOnlineSearchSelect"), E = o("JSelectUser"), B = o("JSelectDept"), S = o("JPopup"), U = o("JAreaSelect"), Y = o("JSelectMultiple"), F = o("a-input"), a = o("a-form-item");
|
|
163
163
|
return u(), n(a, {
|
|
164
164
|
labelCol: e.labelCol,
|
|
165
|
-
class:
|
|
165
|
+
class: R("jeecg-online-search")
|
|
166
166
|
}, {
|
|
167
|
-
label:
|
|
167
|
+
label: c(() => [
|
|
168
168
|
w("span", {
|
|
169
169
|
title: e.item.label,
|
|
170
170
|
class: "label-text"
|
|
171
|
-
},
|
|
171
|
+
}, I(e.item.label), 9, pe)
|
|
172
172
|
]),
|
|
173
|
-
default:
|
|
173
|
+
default: c(() => [
|
|
174
174
|
e.item.view == "date" ? (u(), p(m, { key: 0 }, [
|
|
175
175
|
e.single_mode === e.item.mode ? (u(), n(s, {
|
|
176
176
|
key: 0,
|
|
@@ -181,7 +181,7 @@ function ye(e, l, i, P, I, y) {
|
|
|
181
181
|
value: e.innerValue,
|
|
182
182
|
"onUpdate:value": l[0] || (l[0] = (t) => e.innerValue = t)
|
|
183
183
|
}, null, 8, ["placeholder", "value"])) : (u(), p(m, { key: 1 }, [
|
|
184
|
-
|
|
184
|
+
V(s, {
|
|
185
185
|
showTime: !1,
|
|
186
186
|
valueFormat: "YYYY-MM-DD",
|
|
187
187
|
placeholder: "开始日期",
|
|
@@ -189,8 +189,8 @@ function ye(e, l, i, P, I, y) {
|
|
|
189
189
|
"onUpdate:value": l[1] || (l[1] = (t) => e.beginValue = t),
|
|
190
190
|
style: { width: "calc(50% - 15px)" }
|
|
191
191
|
}, null, 8, ["value"]),
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
l[20] || (l[20] = w("span", { class: "group-query-strig" }, "~", -1)),
|
|
193
|
+
V(s, {
|
|
194
194
|
showTime: !1,
|
|
195
195
|
valueFormat: "YYYY-MM-DD",
|
|
196
196
|
placeholder: "结束日期",
|
|
@@ -209,7 +209,7 @@ function ye(e, l, i, P, I, y) {
|
|
|
209
209
|
value: e.innerValue,
|
|
210
210
|
"onUpdate:value": l[3] || (l[3] = (t) => e.innerValue = t)
|
|
211
211
|
}, null, 8, ["placeholder", "value"])) : (u(), p(m, { key: 1 }, [
|
|
212
|
-
|
|
212
|
+
V(s, {
|
|
213
213
|
showTime: !0,
|
|
214
214
|
valueFormat: "YYYY-MM-DD hh:mm:ss",
|
|
215
215
|
placeholder: "开始时间",
|
|
@@ -217,8 +217,8 @@ function ye(e, l, i, P, I, y) {
|
|
|
217
217
|
"onUpdate:value": l[4] || (l[4] = (t) => e.beginValue = t),
|
|
218
218
|
style: { width: "calc(50% - 15px)" }
|
|
219
219
|
}, null, 8, ["value"]),
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
l[21] || (l[21] = w("span", { class: "group-query-strig" }, "~", -1)),
|
|
221
|
+
V(s, {
|
|
222
222
|
showTime: !0,
|
|
223
223
|
valueFormat: "YYYY-MM-DD hh:mm:ss",
|
|
224
224
|
placeholder: "结束时间",
|
|
@@ -234,19 +234,19 @@ function ye(e, l, i, P, I, y) {
|
|
|
234
234
|
value: e.innerValue,
|
|
235
235
|
"onUpdate:value": l[6] || (l[6] = (t) => e.innerValue = t),
|
|
236
236
|
dictCode: e.getDictCode()
|
|
237
|
-
}, null, 8, ["placeholder", "value", "dictCode"])) : (u(), n(
|
|
237
|
+
}, null, 8, ["placeholder", "value", "dictCode"])) : (u(), n(C, {
|
|
238
238
|
key: 1,
|
|
239
239
|
placeholder: "请选择" + e.item.label,
|
|
240
240
|
value: e.innerValue,
|
|
241
241
|
"onUpdate:value": l[7] || (l[7] = (t) => e.innerValue = t)
|
|
242
242
|
}, {
|
|
243
|
-
default:
|
|
244
|
-
(u(!0), p(m, null,
|
|
243
|
+
default: c(() => [
|
|
244
|
+
(u(!0), p(m, null, X(e.dictOptions[e.getDictOptionKey(e.item)], (t, v) => (u(), n(J, {
|
|
245
245
|
key: v,
|
|
246
246
|
value: t.value
|
|
247
247
|
}, {
|
|
248
|
-
default:
|
|
249
|
-
|
|
248
|
+
default: c(() => [
|
|
249
|
+
Z(I(t.text), 1)
|
|
250
250
|
]),
|
|
251
251
|
_: 2
|
|
252
252
|
}, 1032, ["value"]))), 128))
|
|
@@ -285,11 +285,11 @@ function ye(e, l, i, P, I, y) {
|
|
|
285
285
|
placeholder: "请选择" + e.item.label,
|
|
286
286
|
sql: e.getSqlByDictCode()
|
|
287
287
|
}, null, 8, ["value", "placeholder", "sql"]))
|
|
288
|
-
], 64)) : e.item.view == "sel_user" ? (u(), n(E,
|
|
288
|
+
], 64)) : e.item.view == "sel_user" ? (u(), n(E, K({ key: 6 }, e.userSelectProp, {
|
|
289
289
|
value: e.innerValue,
|
|
290
290
|
"onUpdate:value": l[12] || (l[12] = (t) => e.innerValue = t),
|
|
291
291
|
placeholder: "请选择" + e.item.label
|
|
292
|
-
}), null, 16, ["value", "placeholder"])) : e.item.view == "sel_depart" ? (u(), n(B,
|
|
292
|
+
}), null, 16, ["value", "placeholder"])) : e.item.view == "sel_depart" ? (u(), n(B, K({
|
|
293
293
|
key: 7,
|
|
294
294
|
showButton: !1
|
|
295
295
|
}, e.depSelectProp, {
|
|
@@ -317,20 +317,20 @@ function ye(e, l, i, P, I, y) {
|
|
|
317
317
|
value: e.innerValue,
|
|
318
318
|
"onUpdate:value": l[16] || (l[16] = (t) => e.innerValue = t)
|
|
319
319
|
}, null, 8, ["dictCode", "placeholder", "value"])) : (u(), p(m, { key: 11 }, [
|
|
320
|
-
e.single_mode === e.item.mode ? (u(), n(
|
|
320
|
+
e.single_mode === e.item.mode ? (u(), n(F, {
|
|
321
321
|
key: 0,
|
|
322
322
|
placeholder: "请选择" + e.item.label,
|
|
323
323
|
value: e.innerValue,
|
|
324
324
|
"onUpdate:value": l[17] || (l[17] = (t) => e.innerValue = t)
|
|
325
325
|
}, null, 8, ["placeholder", "value"])) : (u(), p(m, { key: 1 }, [
|
|
326
|
-
|
|
326
|
+
V(F, {
|
|
327
327
|
placeholder: "开始值",
|
|
328
328
|
value: e.beginValue,
|
|
329
329
|
"onUpdate:value": l[18] || (l[18] = (t) => e.beginValue = t),
|
|
330
330
|
style: { width: "calc(50% - 15px)" }
|
|
331
331
|
}, null, 8, ["value"]),
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
l[22] || (l[22] = w("span", { class: "group-query-strig" }, "~", -1)),
|
|
333
|
+
V(F, {
|
|
334
334
|
placeholder: "结束值",
|
|
335
335
|
value: e.endValue,
|
|
336
336
|
"onUpdate:value": l[19] || (l[19] = (t) => e.endValue = t),
|
|
@@ -342,7 +342,7 @@ function ye(e, l, i, P, I, y) {
|
|
|
342
342
|
_: 1
|
|
343
343
|
}, 8, ["labelCol"]);
|
|
344
344
|
}
|
|
345
|
-
const
|
|
345
|
+
const we = /* @__PURE__ */ de(se, [["render", me], ["__scopeId", "data-v-e62a9629"]]);
|
|
346
346
|
export {
|
|
347
|
-
|
|
347
|
+
we as default
|
|
348
348
|
};
|
|
@@ -17,7 +17,7 @@ var S = (t, a, o) => new Promise((d, l) => {
|
|
|
17
17
|
import { defineComponent as w, ref as p, watch as y, resolveComponent as v, openBlock as _, createBlock as C, withCtx as x, createElementBlock as T, Fragment as k, renderList as B, createElementVNode as E, toDisplayString as N } from "vue";
|
|
18
18
|
import { defHttp as F } from "/@/utils/http/axios";
|
|
19
19
|
import { useMessage as V } from "/@/hooks/web/useMessage";
|
|
20
|
-
import { _ as L } from "./index-
|
|
20
|
+
import { _ as L } from "./index-9e1e1e53.mjs";
|
|
21
21
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
22
22
|
import "vue-router";
|
|
23
23
|
const O = "/online/cgform/api/querySelectOptions", P = w({
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var f = (t, i, m) => new Promise((e, a) => {
|
|
2
|
+
var s = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
n(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
n(m.next(r));
|
|
5
|
+
} catch (o) {
|
|
6
|
+
a(o);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, p = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
n(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
n(m.throw(r));
|
|
11
|
+
} catch (o) {
|
|
12
|
+
a(o);
|
|
13
13
|
}
|
|
14
|
-
}, n = (
|
|
15
|
-
n((
|
|
14
|
+
}, n = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(s, p);
|
|
15
|
+
n((m = m.apply(t, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { useMessage as
|
|
18
|
-
import { ref as u, watch as d, resolveComponent as
|
|
19
|
-
import { BasicForm as
|
|
17
|
+
import { useMessage as h } from "/@/hooks/web/useMessage";
|
|
18
|
+
import { ref as u, watch as d, resolveComponent as F, openBlock as S, createBlock as v } from "vue";
|
|
19
|
+
import { BasicForm as D } from "/@/components/Form/index";
|
|
20
20
|
import { defHttp as y } from "/@/utils/http/axios";
|
|
21
|
-
import {
|
|
21
|
+
import { m as w, g as $ } from "./useExtendComponent-bb98e568.mjs";
|
|
22
22
|
import { Loading as x } from "/@/components/Loading";
|
|
23
|
-
import B from "./DetailForm-
|
|
24
|
-
import { _ as I } from "./index-
|
|
23
|
+
import B from "./DetailForm-c592b8d8.mjs";
|
|
24
|
+
import { _ as I } from "./index-9e1e1e53.mjs";
|
|
25
25
|
import "/@/components/Form/src/componentMap";
|
|
26
26
|
import "/@/utils/propTypes";
|
|
27
27
|
import "@ant-design/icons-vue";
|
|
28
28
|
import "/@/components/Modal";
|
|
29
29
|
import "lodash-es";
|
|
30
30
|
import "./constant-fa63bd66.mjs";
|
|
31
|
+
import "/@/utils/common/compUtils";
|
|
31
32
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
32
33
|
import "/@/utils/is";
|
|
33
34
|
import "/@/views/system/user/user.api";
|
|
@@ -36,29 +37,28 @@ import "/@/utils";
|
|
|
36
37
|
import "/@/utils/desform/customExpression";
|
|
37
38
|
import "/@/store/modules/permission";
|
|
38
39
|
import "/@/utils/dict/JDictSelectUtil";
|
|
39
|
-
import "/@/utils/common/compUtils";
|
|
40
40
|
import "/@/components/Table";
|
|
41
41
|
import "/@/hooks/system/useListPage";
|
|
42
42
|
import "vue-router";
|
|
43
43
|
import "/@/components/Form/src/utils/Area";
|
|
44
44
|
import "/@/components/Preview/index";
|
|
45
|
-
import "./LinkTableListPiece-
|
|
45
|
+
import "./LinkTableListPiece-e016b8e6.mjs";
|
|
46
46
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
47
47
|
import "/@/utils/auth";
|
|
48
48
|
import "/@/api/common/api";
|
|
49
49
|
import "/@/hooks/web/useAppInject";
|
|
50
50
|
import "/@/assets/images/placeholderImage.png";
|
|
51
|
-
import "./OnlineSelectCascade-
|
|
52
|
-
import "./JModalTip-
|
|
51
|
+
import "./OnlineSelectCascade-d631ed72.mjs";
|
|
52
|
+
import "./JModalTip-a927f85d.mjs";
|
|
53
53
|
import "ant-design-vue";
|
|
54
54
|
import "@vueuse/core";
|
|
55
55
|
import "/@/utils/dict";
|
|
56
56
|
import "/@/utils/dict/index";
|
|
57
57
|
import "/@/components/Markdown";
|
|
58
|
-
const O = "/online/cgform/api/subform",
|
|
58
|
+
const O = "/online/cgform/api/subform", P = {
|
|
59
59
|
name: "OnlineSubFormDetail",
|
|
60
60
|
components: {
|
|
61
|
-
BasicForm:
|
|
61
|
+
BasicForm: D,
|
|
62
62
|
Loading: x,
|
|
63
63
|
DetailForm: B
|
|
64
64
|
},
|
|
@@ -82,64 +82,63 @@ const O = "/online/cgform/api/subform", R = {
|
|
|
82
82
|
},
|
|
83
83
|
emits: ["formChange"],
|
|
84
84
|
setup(t) {
|
|
85
|
-
const i = u(!1)
|
|
85
|
+
const i = u(!1);
|
|
86
|
+
h();
|
|
87
|
+
const m = u(""), e = u({}), { detailFormSchemas: a, createFormSchemas: s, formSpan: p } = w(t);
|
|
86
88
|
d(
|
|
87
89
|
() => t.table,
|
|
88
90
|
() => {
|
|
89
|
-
|
|
91
|
+
m.value = t.table;
|
|
90
92
|
},
|
|
91
93
|
{ immediate: !0 }
|
|
92
94
|
), d(
|
|
93
95
|
() => t.properties,
|
|
94
96
|
() => {
|
|
95
|
-
i.value = !1,
|
|
97
|
+
i.value = !1, s(t.properties), i.value = !0;
|
|
96
98
|
},
|
|
97
99
|
{ deep: !0, immediate: !0 }
|
|
98
100
|
), d(
|
|
99
101
|
() => t.mainId,
|
|
100
102
|
() => {
|
|
101
103
|
setTimeout(() => {
|
|
102
|
-
|
|
104
|
+
n();
|
|
103
105
|
}, 100);
|
|
104
106
|
},
|
|
105
107
|
{ immediate: !0 }
|
|
106
108
|
);
|
|
107
|
-
function
|
|
108
|
-
return
|
|
109
|
-
yield
|
|
110
|
-
const { table:
|
|
111
|
-
|
|
112
|
-
return;
|
|
113
|
-
let f = (yield p(s, l)) || {};
|
|
114
|
-
m.value = f;
|
|
109
|
+
function n() {
|
|
110
|
+
return f(this, null, function* () {
|
|
111
|
+
yield $(i), e.value = {};
|
|
112
|
+
const { table: o, mainId: l } = t;
|
|
113
|
+
!o || !l || (e.value = (yield r(o, l)) || {});
|
|
115
114
|
});
|
|
116
115
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
function r(o, l) {
|
|
117
|
+
return f(this, null, function* () {
|
|
118
|
+
let _ = `${O}/${o}/${l}`;
|
|
119
|
+
return new Promise((b, g) => {
|
|
120
|
+
y.get({ url: _ }, { isTransformResponse: !1 }).then((c) => {
|
|
121
|
+
c.success ? b(c.result) : g(c.message);
|
|
122
|
+
});
|
|
123
|
+
}).catch((b) => Promise.resolve({}));
|
|
125
124
|
});
|
|
126
125
|
}
|
|
127
126
|
return {
|
|
128
|
-
detailFormSchemas:
|
|
129
|
-
subFormData:
|
|
130
|
-
formSpan:
|
|
127
|
+
detailFormSchemas: a,
|
|
128
|
+
subFormData: e,
|
|
129
|
+
formSpan: p
|
|
131
130
|
};
|
|
132
131
|
}
|
|
133
132
|
};
|
|
134
|
-
function
|
|
135
|
-
const
|
|
136
|
-
return
|
|
137
|
-
schemas:
|
|
138
|
-
data:
|
|
139
|
-
span:
|
|
133
|
+
function R(t, i, m, e, a, s) {
|
|
134
|
+
const p = F("detail-form");
|
|
135
|
+
return S(), v(p, {
|
|
136
|
+
schemas: e.detailFormSchemas,
|
|
137
|
+
data: e.subFormData,
|
|
138
|
+
span: e.formSpan
|
|
140
139
|
}, null, 8, ["schemas", "data", "span"]);
|
|
141
140
|
}
|
|
142
|
-
const
|
|
141
|
+
const St = /* @__PURE__ */ I(P, [["render", R]]);
|
|
143
142
|
export {
|
|
144
|
-
|
|
143
|
+
St as default
|
|
145
144
|
};
|