gds-plus-design-vue 1.2.72 → 1.2.74
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/lib/addPermission.4a553cd8.js +1 -0
- package/lib/{addPermission.f2eb7564.mjs → addPermission.78068c52.mjs} +45 -43
- package/lib/{approvalModel.7b3cb5c5.mjs → approvalModel.1d109493.mjs} +2 -2
- package/lib/{approvalModel.2b97fdf8.js → approvalModel.e0e5738f.js} +1 -1
- package/lib/{attribute.4f814780.mjs → attribute.9dfa6953.mjs} +46 -44
- package/lib/attribute.f97b41ad.js +1 -0
- package/lib/{components.globalheader.5418b5ec.js → components.globalheader.c7bf862b.js} +1 -1
- package/lib/{components.globalheader.bc91e6fe.mjs → components.globalheader.f0b8aab7.mjs} +1 -1
- package/lib/components.middleware.216e1574.js +1 -0
- package/lib/components.middleware.d7dc078d.mjs +148 -0
- package/lib/{components.modaltitle.d7ef34cb.js → components.modaltitle.0d3db44e.js} +1 -1
- package/lib/{components.modaltitle.4f454200.mjs → components.modaltitle.517bc660.mjs} +2 -2
- package/lib/{components.sidenavmenu.1f0bbfca.js → components.sidenavmenu.364a8b26.js} +1 -1
- package/lib/{components.sidenavmenu.47d7f44a.mjs → components.sidenavmenu.3f4d259f.mjs} +8 -8
- package/lib/components.table.5d1336dd.js +8 -0
- package/lib/components.table.a50270a9.mjs +3591 -0
- package/lib/components.table.childheader.7e9b960f.mjs +325 -0
- package/lib/components.table.childheader.cee3be75.js +1 -0
- package/lib/components.table.queriesfield.eb795212.js +1 -0
- package/lib/components.table.queriesfield.f16322dc.mjs +748 -0
- package/lib/components.viewformdetails.513f0dbe.js +1 -0
- package/lib/{components.viewformdetails.1236a66e.mjs → components.viewformdetails.cb86a01d.mjs} +60 -37
- package/lib/{createFile.c8d65b52.mjs → createFile.44667f20.mjs} +45 -43
- package/lib/createFile.6389354d.js +1 -0
- package/lib/{editForm.83d10fae.mjs → editForm.54f33a47.mjs} +5 -2
- package/lib/editForm.a5fd3180.js +1 -0
- package/lib/extendedAttributes.3ed8fe2a.js +1 -0
- package/lib/{extendedAttributes.e6b11c68.mjs → extendedAttributes.b2c2ab6c.mjs} +45 -43
- package/lib/{fileSearch.423b64a3.mjs → fileSearch.203b9423.mjs} +45 -43
- package/lib/fileSearch.3513b55b.js +1 -0
- package/lib/{flow.designer.85d0054b.js → flow.designer.362f5f66.js} +1 -1
- package/lib/{flow.designer.5feba43c.mjs → flow.designer.e087cd9b.mjs} +1 -1
- package/lib/{flow.list.82131d80.mjs → flow.list.3c2df716.mjs} +2 -2
- package/lib/{flow.list.e001d91a.js → flow.list.dea8996a.js} +1 -1
- package/lib/{form.build.33cc213e.mjs → form.build.69803596.mjs} +32 -21
- package/lib/form.build.6a1bcad5.js +1 -0
- package/lib/{form.designer.build.7dc12e87.mjs → form.designer.build.12c673f0.mjs} +195 -171
- package/lib/form.designer.build.89af4d24.js +1 -0
- package/lib/{formFiled.5a1c8f7f.mjs → formFiled.593b5a25.mjs} +7 -6
- package/lib/formFiled.d63e97d3.js +1 -0
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +148 -146
- package/lib/{http.message.ceb0a1c6.mjs → http.message.00e72e09.mjs} +29 -21
- package/lib/{http.message.87f319d7.js → http.message.73c3ed85.js} +1 -1
- package/lib/index.4f1635c8.js +8 -0
- package/lib/{index.340d6f00.mjs → index.9ecf4818.mjs} +3097 -2409
- package/lib/layoutBlocks.97713647.mjs +583 -0
- package/lib/layoutBlocks.d26f79f2.js +1 -0
- package/lib/layouts.0e66a0bc.js +2 -0
- package/lib/{layouts.1852e8e4.mjs → layouts.ddf507fa.mjs} +29 -21
- package/lib/{main.1551de4d.js → main.22cae2bb.js} +1 -1
- package/lib/{main.48dc325f.mjs → main.37ae02bc.mjs} +1 -1
- package/lib/main.44750095.js +1 -0
- package/lib/{main.b2314767.mjs → main.55c9f109.mjs} +5 -8
- package/lib/{main.12118407.mjs → main.5bf89f06.mjs} +54 -55
- package/lib/main.f0805dab.js +1 -0
- package/lib/manage.91e76379.js +1 -0
- package/lib/{manage.1bc511ff.mjs → manage.b3462cce.mjs} +46 -44
- package/lib/{messages.messagetemplate.0935e5a3.mjs → messages.messagetemplate.ceeb3f47.mjs} +2 -2
- package/lib/{messages.messagetemplate.50334e5f.js → messages.messagetemplate.e52ab470.js} +1 -1
- package/lib/messages.sendplan.18bda3c5.js +1 -0
- package/lib/{messages.sendplan.61edcc7f.mjs → messages.sendplan.c6821911.mjs} +97 -25
- package/lib/{messages.sendrecord.09a1d1cd.js → messages.sendrecord.12028921.js} +2 -2
- package/lib/{messages.sendrecord.1c48aa6e.mjs → messages.sendrecord.f7630ebd.mjs} +3 -3
- package/lib/{messages.templatelibrary.f31e8d58.mjs → messages.templatelibrary.4654886e.mjs} +1 -1
- package/lib/{messages.templatelibrary.f5952edd.js → messages.templatelibrary.cd20c05b.js} +1 -1
- package/lib/{mobile.designer.componentstree.9439895e.mjs → mobile.designer.componentstree.5a329caa.mjs} +1 -1
- package/lib/{mobile.designer.componentstree.365945a3.js → mobile.designer.componentstree.888d8646.js} +1 -1
- package/lib/{mobile.designer.menutree.4d4e059b.js → mobile.designer.menutree.646ebcdd.js} +1 -1
- package/lib/{mobile.designer.menutree.7d3b783d.mjs → mobile.designer.menutree.da4c05f4.mjs} +1 -1
- package/lib/moveFile.345aee1d.js +1 -0
- package/lib/{moveFile.3dc1dc37.mjs → moveFile.864ea48f.mjs} +48 -46
- package/lib/{page.build.ae61a39b.mjs → page.build.39202359.mjs} +674 -668
- package/lib/{page.build.7ac1ee9b.js → page.build.66e190a5.js} +3 -3
- package/lib/{page.designer.componentstree.cdabec2d.mjs → page.designer.componentstree.2d5a887a.mjs} +1 -1
- package/lib/{page.designer.componentstree.74a3a114.js → page.designer.componentstree.ec3dcbc1.js} +1 -1
- package/lib/{page.designer.menutree.e4ce1e90.mjs → page.designer.menutree.1e642711.mjs} +2 -2
- package/lib/{page.designer.menutree.71c18258.js → page.designer.menutree.6368c636.js} +1 -1
- package/lib/page.designer.page.2dac64ca.js +1 -0
- package/lib/{page.designer.page.821f8994.mjs → page.designer.page.4cf4b1bf.mjs} +39 -35
- package/lib/{result.a87217ae.mjs → result.3c1fc8b7.mjs} +45 -43
- package/lib/result.cf75c6c3.js +1 -0
- package/lib/{router.config.f0ad16fd.mjs → router.config.b78ec9f8.mjs} +5 -5
- package/lib/{router.config.a09f29e7.js → router.config.d746d115.js} +1 -1
- package/lib/{solution.application.8d6c84e8.js → solution.application.15e813b4.js} +1 -1
- package/lib/{solution.application.e6b5dc4f.mjs → solution.application.5d02d1cd.mjs} +16 -10
- package/lib/solution.approvalflow.1f11ad8f.js +1 -0
- package/lib/{solution.approvalflow.eb1c0607.mjs → solution.approvalflow.24a50af0.mjs} +20 -14
- package/lib/solution.dict.28214a3e.js +1 -0
- package/lib/{solution.dict.088a1e72.mjs → solution.dict.77cb1ad2.mjs} +41 -37
- package/lib/{solution.menu.fa48a7e8.js → solution.menu.12b9f56d.js} +1 -1
- package/lib/{solution.menu.e58922fe.mjs → solution.menu.72498250.mjs} +1 -1
- package/lib/{solution.plugin.ae6df926.mjs → solution.plugin.76b603be.mjs} +18 -12
- package/lib/solution.plugin.e7b31aff.js +1 -0
- package/lib/solution.processflow.aa84ec06.js +1 -0
- package/lib/{solution.processflow.62936f1c.mjs → solution.processflow.d336bd7b.mjs} +15 -9
- package/lib/{solution.role.7b3e7030.mjs → solution.role.05efb1b4.mjs} +18 -12
- package/lib/solution.role.d07e1813.js +1 -0
- package/lib/{solution.webresources.88c4483b.mjs → solution.webresources.1b0f8550.mjs} +247 -79
- package/lib/solution.webresources.5b4abeb5.js +2 -0
- package/lib/{solution.workflow.85de0ae5.mjs → solution.workflow.6d081d1f.mjs} +18 -12
- package/lib/solution.workflow.91b42158.js +1 -0
- package/lib/style.css +2 -2
- package/lib/{system.duplicatechecking.a217fc52.js → system.duplicatechecking.719ddda1.js} +1 -1
- package/lib/{system.duplicatechecking.46e182d7.mjs → system.duplicatechecking.af9318aa.mjs} +1 -1
- package/lib/{system.notice.51880df6.mjs → system.notice.12fa4d1c.mjs} +220 -217
- package/lib/system.notice.9385577f.js +1 -0
- package/lib/{system.noticereceived.0b79642e.js → system.noticereceived.3dec9e12.js} +1 -1
- package/lib/{system.noticereceived.55f276ab.mjs → system.noticereceived.7cfcceb4.mjs} +1 -1
- package/lib/{system.team.367bf5e7.mjs → system.team.3b0fcc60.mjs} +1 -1
- package/lib/{system.team.cf1c1558.js → system.team.c0d623a5.js} +1 -1
- package/lib/{system.teammembers.63f21557.js → system.teammembers.c99ef01b.js} +1 -1
- package/lib/{system.teammembers.851ce63b.mjs → system.teammembers.d0dc3f12.mjs} +2 -2
- package/lib/{system.user.475d7391.js → system.user.75fa57c3.js} +1 -1
- package/lib/{system.user.254bbe85.mjs → system.user.78a45735.mjs} +1 -1
- package/lib/versionControl.c39356b7.js +1 -0
- package/lib/{versionControl.d1b2b0da.mjs → versionControl.d572bc44.mjs} +51 -49
- package/lib/{versionEdit.c51606e4.mjs → versionEdit.8b059461.mjs} +45 -43
- package/lib/versionEdit.d56cde69.js +1 -0
- package/lib/view.build.14c0d411.js +1 -0
- package/lib/{view.build.9976c958.mjs → view.build.5b9241fd.mjs} +193 -190
- package/lib/viewList.215afeb2.js +1 -0
- package/lib/{viewList.3ca52f0c.mjs → viewList.b090d62f.mjs} +11 -12
- package/package.json +1 -1
- package/lib/addPermission.e559c495.js +0 -1
- package/lib/attribute.7b4971f5.js +0 -1
- package/lib/components.middleware.24511f17.mjs +0 -148
- package/lib/components.middleware.64b6a988.js +0 -1
- package/lib/components.table.389ab22a.mjs +0 -4650
- package/lib/components.table.d016f609.js +0 -8
- package/lib/components.viewformdetails.328c8642.js +0 -1
- package/lib/copy.3b06d60f.mjs +0 -572
- package/lib/copy.fa2fcb22.js +0 -1
- package/lib/createFile.526dd6db.js +0 -1
- package/lib/drawerContainer.790b0ee6.mjs +0 -163
- package/lib/drawerContainer.c971d22d.js +0 -1
- package/lib/editForm.e284e5ec.js +0 -1
- package/lib/extendedAttributes.bfff1926.js +0 -1
- package/lib/fileSearch.e849491c.js +0 -1
- package/lib/form.build.19f0c882.js +0 -1
- package/lib/form.designer.build.2bcc355d.js +0 -1
- package/lib/formFiled.40284ed9.js +0 -1
- package/lib/index.07adebf0.js +0 -8
- package/lib/layoutBlocks.756e4b57.js +0 -1
- package/lib/layoutBlocks.816b49a7.mjs +0 -413
- package/lib/layouts.2030bf01.js +0 -2
- package/lib/main.1611bb43.js +0 -1
- package/lib/main.fcb67463.js +0 -1
- package/lib/manage.eb0a6c8c.js +0 -1
- package/lib/messages.sendplan.60929f46.js +0 -1
- package/lib/moveFile.f70bbff7.js +0 -1
- package/lib/page.designer.page.654634aa.js +0 -1
- package/lib/result.4d4039ea.js +0 -1
- package/lib/solution.approvalflow.79da028c.js +0 -1
- package/lib/solution.dict.1d5195d0.js +0 -1
- package/lib/solution.plugin.5d6d29cf.js +0 -1
- package/lib/solution.processflow.aa1e808b.js +0 -1
- package/lib/solution.role.2eff83a1.js +0 -1
- package/lib/solution.webresources.bc00603d.js +0 -1
- package/lib/solution.workflow.0ed2cb24.js +0 -1
- package/lib/system.notice.2090c130.js +0 -1
- package/lib/versionControl.97590ce8.js +0 -1
- package/lib/versionEdit.f710d0bb.js +0 -1
- package/lib/view.build.5789a6eb.js +0 -1
- package/lib/viewList.6e181715.js +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { m as O, n as N } from "./components.chartbi.7356b244.mjs";
|
|
2
|
-
import { J as P, F as K } from "./page.build.
|
|
3
|
-
import { c as Q, K as b, d as E, i as j, T as
|
|
2
|
+
import { J as P, F as K } from "./page.build.39202359.mjs";
|
|
3
|
+
import { c as Q, K as b, d as E, i as j, T as v, j as k, f as _, U as H, Q as z, R as G } from "./http.main.aefea27d.mjs";
|
|
4
4
|
import { a as A, b as U } from "./http.filemanage.c0de21d6.mjs";
|
|
5
5
|
import { G as W } from "./http.tabledevelopment.3dcb3e97.mjs";
|
|
6
|
-
import { u as C } from "./form.designer.build.
|
|
6
|
+
import { u as C } from "./form.designer.build.12c673f0.mjs";
|
|
7
7
|
import { u as L } from "./utils.util.js.333daba2.mjs";
|
|
8
8
|
function J(e, t, s) {
|
|
9
|
-
var
|
|
9
|
+
var h, f, y, p, g;
|
|
10
10
|
if (!e.syscodegenconfig && !e.syscodegenconfigfk)
|
|
11
11
|
return console.log("\u5B57\u6BB5:" + e.name + "\u6570\u636E\u9519\u8BEF!"), null;
|
|
12
|
-
const i = ["fk", "user"].includes(e.syscodegenconfig.effecttype) ? (
|
|
13
|
-
let
|
|
14
|
-
key:
|
|
12
|
+
const i = ["fk", "user"].includes(e.syscodegenconfig.effecttype) ? (h = e.syscodegenconfigfk) == null ? void 0 : h.effecttype : e.syscodegenconfig.effecttype, a = e.syscodegenconfig.effecttype, n = B(e).toLowerCase(), r = e.align ? e.align.split("&") : [], o = ["fk", "user"].includes(a) ? (f = e.syscodegenconfigfk) == null ? void 0 : f.fieldformat : e.syscodegenconfig.fieldformat, l = r[7] ? r[7] === "true" : !1, c = i === "inputnumber" ? 0 : ["fk", "user"].includes(e.syscodegenconfig.effecttype) ? (y = e.syscodegenconfigfk) == null ? void 0 : y.filedsize : e.syscodegenconfig.filedsize;
|
|
13
|
+
let u = {
|
|
14
|
+
key: n,
|
|
15
15
|
transKey: `Dynamics.${e.transkey}`,
|
|
16
|
-
prop:
|
|
16
|
+
prop: n,
|
|
17
17
|
label: e.name,
|
|
18
18
|
width: String(e.width),
|
|
19
19
|
owidth: String(e.width),
|
|
@@ -26,7 +26,7 @@ function J(e, t, s) {
|
|
|
26
26
|
effectType: i,
|
|
27
27
|
fieldType: a,
|
|
28
28
|
gatherConfig: e.gatherconfig == 1,
|
|
29
|
-
fieldFormat: r[6] ? r[6] :
|
|
29
|
+
fieldFormat: r[6] ? r[6] : o,
|
|
30
30
|
dictTypeCode: ["fk", "user"].includes(a) ? (g = e.syscodegenconfigfk) == null ? void 0 : g.dicttypecode : e.syscodegenconfig.dicttypecode,
|
|
31
31
|
dictTypeList: [],
|
|
32
32
|
maxTagCount: e.maxtagcount ? Number(e.maxtagcount) : 2,
|
|
@@ -38,14 +38,14 @@ function J(e, t, s) {
|
|
|
38
38
|
filedsize: i === "inputnumber" ? 0 : r[8] !== void 0 ? r[8] : c,
|
|
39
39
|
hyperlink: t === 0 || ["fk", "user", "about"].includes(a) ? l : !1
|
|
40
40
|
};
|
|
41
|
-
const d = Y(a,
|
|
42
|
-
return e.orderconfig === 1 && Object.assign(
|
|
41
|
+
const d = Y(a, n, e, u.fieldFormat);
|
|
42
|
+
return e.orderconfig === 1 && Object.assign(u, {
|
|
43
43
|
sortable: "custom"
|
|
44
|
-
}), t < s && Object.assign(
|
|
44
|
+
}), t < s && Object.assign(u, {
|
|
45
45
|
fixed: "left"
|
|
46
|
-
}), ["participants", "file"].includes(a) && Object.assign(
|
|
46
|
+
}), ["participants", "file"].includes(a) && Object.assign(u, {
|
|
47
47
|
showTooltip: !1
|
|
48
|
-
}), Object.assign(
|
|
48
|
+
}), Object.assign(u, d);
|
|
49
49
|
}
|
|
50
50
|
function B(e) {
|
|
51
51
|
const t = e.syscodegenconfigfk ? e.syscodegenconfigfk.columnname : "";
|
|
@@ -77,7 +77,7 @@ function X(e, t, s) {
|
|
|
77
77
|
["inputnumber", "double", " currency"].includes(e.syscodegenconfig.effecttype) && Object.assign(a, {
|
|
78
78
|
type: "number"
|
|
79
79
|
});
|
|
80
|
-
const
|
|
80
|
+
const n = i.fieldFormat === void 0 ? "1" : i.fieldFormat, r = t.filter((l) => l.code == n)[0];
|
|
81
81
|
return {
|
|
82
82
|
id: e.syscodegenconfig.id,
|
|
83
83
|
transKey: `Dynamics.${e.syscodegenconfig.transkey}`,
|
|
@@ -88,20 +88,20 @@ function X(e, t, s) {
|
|
|
88
88
|
fkEntityName: e.syscodegenconfig.fkentityname,
|
|
89
89
|
disabled: e.disabled === void 0 ? !1 : e.disabled,
|
|
90
90
|
options: Object.assign(i, {
|
|
91
|
-
fieldFormat:
|
|
91
|
+
fieldFormat: n
|
|
92
92
|
}),
|
|
93
93
|
min: i.min,
|
|
94
94
|
max: i.max,
|
|
95
|
-
fieldFormat:
|
|
96
|
-
valueFormat: M(
|
|
95
|
+
fieldFormat: n,
|
|
96
|
+
valueFormat: M(n, t),
|
|
97
97
|
rules: [a],
|
|
98
98
|
hasFiltered: !1,
|
|
99
99
|
filterList: [],
|
|
100
100
|
filterConfig: i.filterConfig !== void 0 ? i.filterConfig : null,
|
|
101
101
|
viewId: i.viewdeId !== void 0 ? i.viewdeId : "",
|
|
102
102
|
fkData: [],
|
|
103
|
-
hasTimePicker:
|
|
104
|
-
pickerType:
|
|
103
|
+
hasTimePicker: R(r),
|
|
104
|
+
pickerType: x(r),
|
|
105
105
|
quick: i.quick === void 0 ? !1 : i.quick,
|
|
106
106
|
labelWidth: i.quick === void 0 ? "120px" : i.labelWidth + "px"
|
|
107
107
|
};
|
|
@@ -117,19 +117,19 @@ function Z(e, t, s, i) {
|
|
|
117
117
|
["inputnumber", "double", " currency"].includes(e.effectType) && Object.assign(a, {
|
|
118
118
|
type: "number"
|
|
119
119
|
});
|
|
120
|
-
const
|
|
120
|
+
const n = e.fieldFormat, r = s.filter((c) => c.code == n)[0], o = q(e.effectType);
|
|
121
121
|
return {
|
|
122
122
|
labelWidth: e.labelWidth ? `${e.labelWidth}px` : "120px",
|
|
123
123
|
transKey: `Dynamics.${t.transkey}`,
|
|
124
124
|
prop: e.columnName,
|
|
125
125
|
label: t.columncomment,
|
|
126
|
-
effectType:
|
|
126
|
+
effectType: o,
|
|
127
127
|
dictTypeCode: e.dictTypeCode,
|
|
128
128
|
fkEntityName: e.fkEntityName,
|
|
129
129
|
disabled: e.disable,
|
|
130
130
|
options: {
|
|
131
131
|
effectType: e.effectType,
|
|
132
|
-
fieldFormat:
|
|
132
|
+
fieldFormat: n,
|
|
133
133
|
displayStyle: e.displayStyle,
|
|
134
134
|
defaultValue: e.defaultValue,
|
|
135
135
|
defaultValueList: e.defaultValueList,
|
|
@@ -142,24 +142,24 @@ function Z(e, t, s, i) {
|
|
|
142
142
|
},
|
|
143
143
|
min: e.min,
|
|
144
144
|
max: e.max,
|
|
145
|
-
fieldFormat:
|
|
146
|
-
valueFormat: M(
|
|
145
|
+
fieldFormat: n,
|
|
146
|
+
valueFormat: M(n, s),
|
|
147
147
|
rules: [a],
|
|
148
148
|
hasFiltered: !1,
|
|
149
149
|
filterList: [],
|
|
150
150
|
filterConfig: e.filterConfig !== void 0 ? e.filterConfig : null,
|
|
151
151
|
viewId: e.viewdeId !== void 0 ? e.viewdeId : "",
|
|
152
152
|
fkData: [],
|
|
153
|
-
hasTimePicker:
|
|
154
|
-
pickerType:
|
|
153
|
+
hasTimePicker: R(r),
|
|
154
|
+
pickerType: x(r),
|
|
155
155
|
show: !0
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function R(e) {
|
|
159
159
|
const t = e ? e.name : "yyyy-MM-dd";
|
|
160
160
|
return ["hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"].includes(t);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function x(e) {
|
|
163
163
|
const t = e ? e.name : "yyyy-MM-dd";
|
|
164
164
|
let s = "date";
|
|
165
165
|
return t === "yyyy-MM-dd hh:mm:ss" || t === "yyyy-MM-dd HH:mm:ss" ? s = "datetime" : t === "yyyy-MM" ? s = "month" : t === "yyyy" && (s = "year"), s;
|
|
@@ -174,15 +174,15 @@ function q(e) {
|
|
|
174
174
|
let t = e;
|
|
175
175
|
return ["image", "file"].includes(e) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(e) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(e) && (t = "selectFkMultiple"), t;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function D(e, t, s, i) {
|
|
178
178
|
let a = /* @__PURE__ */ new Map();
|
|
179
|
-
for (var
|
|
180
|
-
let r = e[
|
|
181
|
-
if ((
|
|
182
|
-
let c = ee(r,
|
|
183
|
-
c && (a.set(
|
|
179
|
+
for (var n in e) {
|
|
180
|
+
let r = e[n] != null && e[n] !== void 0 ? e[n] : "", o = t ? t.filter((c) => c.columnname === n)[0] : null;
|
|
181
|
+
if ((o ? o.effecttype : "input") === "datepicker") {
|
|
182
|
+
let c = ee(r, o, s, i);
|
|
183
|
+
c && (a.set(n + "Start", c[0]), a.set(n + "End", c[1]));
|
|
184
184
|
} else
|
|
185
|
-
Array.isArray(r) ? r.length > 0 && a.set(
|
|
185
|
+
Array.isArray(r) ? r.length > 0 && a.set(n, r.join(",")) : typeof r == "number" ? r !== void 0 && a.set(n, r) : !r == "" && a.set(n, r);
|
|
186
186
|
}
|
|
187
187
|
return a.size == 0 ? {} : Object.fromEntries(a);
|
|
188
188
|
}
|
|
@@ -192,22 +192,22 @@ function ee(e, t, s, i) {
|
|
|
192
192
|
const a = s.filter((r) => r.prop === t.columnname)[0];
|
|
193
193
|
if (!a)
|
|
194
194
|
return !1;
|
|
195
|
-
const
|
|
195
|
+
const n = i.filter((r) => r.code == a.options.fieldFormat)[0];
|
|
196
196
|
if (typeof e == "array" || typeof e == "object") {
|
|
197
|
-
const r = e[1] ? V(e[1]) : "",
|
|
198
|
-
return e[1] ? [e[0].split(" ")[0] +
|
|
197
|
+
const r = e[1] ? V(e[1]) : "", o = n.name === "yyyy-MM" ? "-01 00:00:00" : " 00:00:00", l = n.name === "yyyy-MM" ? `-${r} 23:59:59` : " 23:59:59";
|
|
198
|
+
return e[1] ? [e[0].split(" ")[0] + o, e[1].split(" ")[0] + l] : !1;
|
|
199
199
|
}
|
|
200
|
-
if (
|
|
200
|
+
if (n.name === "yyyy-MM-dd hh:mm:ss" || n.name === "yyyy-MM-dd HH:mm:ss")
|
|
201
201
|
return [e, e];
|
|
202
|
-
if (
|
|
202
|
+
if (n.name === "yyyy-MM-dd")
|
|
203
203
|
return [`${e} 00:00:00`, `${e} 23:59:59`];
|
|
204
|
-
if (
|
|
204
|
+
if (n.name === "yyyy-MM") {
|
|
205
205
|
const r = V(e);
|
|
206
206
|
return [`${e}-01 00:00:00`, `${e}-${r} 23:59:59`];
|
|
207
207
|
} else {
|
|
208
|
-
if (
|
|
208
|
+
if (n.name === "yyyy")
|
|
209
209
|
return [`${e}-01-01 00:00:00`, `${e}-12-31 23:59:59`];
|
|
210
|
-
if (
|
|
210
|
+
if (n.name === "MM-dd") {
|
|
211
211
|
const r = new Date().getFullYear();
|
|
212
212
|
return [`${r}${e} 00:00:00`, `${r}${e} 23:59:59`];
|
|
213
213
|
} else
|
|
@@ -225,28 +225,28 @@ function te(e) {
|
|
|
225
225
|
i,
|
|
226
226
|
t,
|
|
227
227
|
e
|
|
228
|
-
),
|
|
229
|
-
return t == 1 ? a === "" ? !1 : a :
|
|
228
|
+
), n = s.value === "" ? e.options.defaultValueList : e.valueFormat === "yyyy-MM" ? F(s, t) : S(s, t, e);
|
|
229
|
+
return t == 1 ? a === "" ? !1 : a : n.length === 0 ? !1 : n;
|
|
230
230
|
}
|
|
231
231
|
function S(e, t, s) {
|
|
232
|
-
let i = Number(e.value), a = new Date().getTime(),
|
|
232
|
+
let i = Number(e.value), a = new Date().getTime(), n = a - i * 1e3 * 60 * 60 * 24, r = $(a), o = $(n), l = `${r.year}-${r.mon}-${r.day} ${r.hours}:${r.min}:${r.sec}`, c = `${o.year}-${o.mon}-${o.day} ${o.hours}:${o.min}:${o.sec}`;
|
|
233
233
|
return t == 1 ? s.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? c.split(" ")[0] : c : [c, l];
|
|
234
234
|
}
|
|
235
235
|
function F(e, t, s) {
|
|
236
|
-
let i = Number(e.value), a = new Date().getTime(),
|
|
237
|
-
return t == 0 && i === 13 ? [`${r}-01`, `${r}-${m(
|
|
238
|
-
`${r}-${m(
|
|
239
|
-
`${
|
|
236
|
+
let i = Number(e.value), a = new Date().getTime(), n = $(a), r = n.year, o = Number(n.mon);
|
|
237
|
+
return t == 0 && i === 13 ? [`${r}-01`, `${r}-${m(o)}`] : (o - i < 0 ? (o = o - i + 12, r -= 1) : o - i === 0 ? (o = t == 1 ? 12 : 1, r = t == 1 ? r - 1 : r) : o -= i, t == 1 ? `${r}-${m(o)}` : [
|
|
238
|
+
`${r}-${m(o)}`,
|
|
239
|
+
`${n.year}-${n.mon}`
|
|
240
240
|
]);
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function $(e) {
|
|
243
243
|
let s = e.toString().length == 10 ? parseInt(e) * 1e3 : parseInt(e);
|
|
244
|
-
var i = new Date(s), a = i.getFullYear(),
|
|
244
|
+
var i = new Date(s), a = i.getFullYear(), n = i.getMonth() + 1, r = i.getDate(), o = i.getHours(), l = i.getMinutes(), c = i.getSeconds();
|
|
245
245
|
return {
|
|
246
246
|
year: a,
|
|
247
|
-
mon: m(
|
|
247
|
+
mon: m(n),
|
|
248
248
|
day: m(r),
|
|
249
|
-
hours: m(
|
|
249
|
+
hours: m(o),
|
|
250
250
|
min: m(l),
|
|
251
251
|
sec: m(c)
|
|
252
252
|
};
|
|
@@ -300,6 +300,7 @@ const se = {
|
|
|
300
300
|
},
|
|
301
301
|
data() {
|
|
302
302
|
return {
|
|
303
|
+
visibleTable: !0,
|
|
303
304
|
statu: !1,
|
|
304
305
|
laoding: !1,
|
|
305
306
|
show: !1,
|
|
@@ -324,23 +325,23 @@ const se = {
|
|
|
324
325
|
const t = this.triggerFilterData && this.triggerFilterData.fieldData ? this.triggerFilterData.fieldData : this.fieldData, s = this.triggerFilterData && this.triggerFilterData.tableQueries ? this.triggerFilterData.tableQueries : this.tableQueries, i = Object.assign(
|
|
325
326
|
e,
|
|
326
327
|
this.queryTable,
|
|
327
|
-
|
|
328
|
+
D(this.queryParam, t, s, this.getDictionary("time_longshort")),
|
|
328
329
|
this.foreign
|
|
329
330
|
);
|
|
330
|
-
return this.queryCriteria = { ...i }, this.openMode == 3 && this.foreign.fkValue != "" && String(this.foreign.fkValue).split("u").length > 1 ? new Promise((a,
|
|
331
|
+
return this.queryCriteria = { ...i }, this.openMode == 3 && this.foreign.fkValue != "" && String(this.foreign.fkValue).split("u").length > 1 ? new Promise((a, n) => {
|
|
331
332
|
a({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
332
333
|
}) : Q(i).then((a) => {
|
|
333
334
|
this.triggerFilterData = null;
|
|
334
|
-
let
|
|
335
|
+
let n = [];
|
|
335
336
|
if (a.code === 200) {
|
|
336
|
-
|
|
337
|
-
const
|
|
338
|
-
this.summaryData =
|
|
337
|
+
n = a.data.rows.filter((l) => l.id !== null);
|
|
338
|
+
const o = a.data.rows.filter((l) => l.id === null)[0];
|
|
339
|
+
this.summaryData = o || {}, this.showSummary = !!o, this.$emit("changeData", n), this.$refs.charts && this.$refs.charts.setLoadData(n);
|
|
339
340
|
} else
|
|
340
341
|
this.$message.error(a.message);
|
|
341
342
|
const r = a.data ? a.data : {};
|
|
342
343
|
return Object.assign(r, {
|
|
343
|
-
rows:
|
|
344
|
+
rows: n
|
|
344
345
|
});
|
|
345
346
|
});
|
|
346
347
|
},
|
|
@@ -375,16 +376,16 @@ const se = {
|
|
|
375
376
|
}
|
|
376
377
|
},
|
|
377
378
|
components: {
|
|
378
|
-
ViewSelection: () => import("./main.
|
|
379
|
-
ChildRenItem: () => import("./index.
|
|
379
|
+
ViewSelection: () => import("./main.37ae02bc.mjs"),
|
|
380
|
+
ChildRenItem: () => import("./index.9ecf4818.mjs").then((e) => e.b4),
|
|
380
381
|
ImgPreview: () => import("./components.imgpreview.0563c338.mjs"),
|
|
381
382
|
XlsxExport: () => import("./components.xlsxexport.a1b7b087.mjs"),
|
|
382
383
|
XlsxImport: () => import("./components.xlsximport.d39bfeaa.mjs").then((e) => e.m),
|
|
383
384
|
TeamSharing: () => import("./components.teamsharing.b9f112cf.mjs"),
|
|
384
|
-
BatchUpdate: () => import("./index.
|
|
385
|
+
BatchUpdate: () => import("./index.9ecf4818.mjs").then((e) => e.b5),
|
|
385
386
|
DataAssign: () => import("./components.dataassign.e398cc99.mjs"),
|
|
386
387
|
ViewCharts: () => import("./main.69a2b457.mjs"),
|
|
387
|
-
QuickSearch: () => import("./main.
|
|
388
|
+
QuickSearch: () => import("./main.55c9f109.mjs"),
|
|
388
389
|
StatusChange: () => import("./components.statuschange.85956695.mjs")
|
|
389
390
|
},
|
|
390
391
|
computed: {
|
|
@@ -472,7 +473,7 @@ const se = {
|
|
|
472
473
|
}
|
|
473
474
|
w = setTimeout(() => {
|
|
474
475
|
w = null;
|
|
475
|
-
const s = this.selectedRowKeys.filter((
|
|
476
|
+
const s = this.selectedRowKeys.filter((n) => n === e[this.rowKey])[0], i = this.selectedRowKeys.filter((n) => n !== e[this.rowKey]), a = this.selectedRowKeys.filter((n) => n[this.rowKey] !== e[this.rowKey]);
|
|
476
477
|
this.selectedRowKeys = s ? i : i.concat([e[this.rowKey]]), this.selectedRows = s ? a : a.concat([e]), this.$emit("changeSelect", this.selectedRowKeys, this.selectedRows), this.$refs.table.rowClickSelection(e, !s, t);
|
|
477
478
|
}, 260);
|
|
478
479
|
},
|
|
@@ -561,27 +562,27 @@ const se = {
|
|
|
561
562
|
const i = t[e.prop];
|
|
562
563
|
let a = i;
|
|
563
564
|
typeof i == "string" && (a = JSON.parse(i));
|
|
564
|
-
let
|
|
565
|
-
a.forEach((
|
|
566
|
-
let d = this.getFileBlob(
|
|
567
|
-
r.file(
|
|
565
|
+
let n = t.name ? t.name : s.title, r = new P(), o = [], l = {};
|
|
566
|
+
a.forEach((u) => {
|
|
567
|
+
let d = this.getFileBlob(u).then((h) => {
|
|
568
|
+
r.file(u.fileoriginname, h, {
|
|
568
569
|
binary: !0
|
|
569
|
-
}), l[
|
|
570
|
+
}), l[u.fileoriginname] = h;
|
|
570
571
|
});
|
|
571
|
-
|
|
572
|
+
o.push(d);
|
|
572
573
|
});
|
|
573
574
|
const c = this.$message({
|
|
574
575
|
message: this.$i18nt("gd.https.downloadingFiles", "\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),
|
|
575
576
|
duration: 0,
|
|
576
577
|
iconClass: "el-icon-loading"
|
|
577
578
|
});
|
|
578
|
-
Promise.all(
|
|
579
|
+
Promise.all(o).then(() => {
|
|
579
580
|
r.generateAsync({
|
|
580
581
|
type: "blob"
|
|
581
|
-
}).then((
|
|
582
|
-
K.saveAs(
|
|
582
|
+
}).then((u) => {
|
|
583
|
+
K.saveAs(u, n), this.hideLoading(), c.close();
|
|
583
584
|
});
|
|
584
|
-
}).catch((
|
|
585
|
+
}).catch((u) => {
|
|
585
586
|
c.close(), this.hideLoading(), this.$message.error("err!");
|
|
586
587
|
});
|
|
587
588
|
},
|
|
@@ -614,8 +615,8 @@ const se = {
|
|
|
614
615
|
if (this.statu)
|
|
615
616
|
return;
|
|
616
617
|
if (this.showLoading(), String(e.id).split("u").length > 1) {
|
|
617
|
-
let i = t.fieldType == "about" ? t.prop + "_AboutTable" : t.columnName, a = t.fieldType == "about" ? e[i] : t.fkEntityName,
|
|
618
|
-
tableId:
|
|
618
|
+
let i = t.fieldType == "about" ? t.prop + "_AboutTable" : t.columnName, a = t.fieldType == "about" ? e[i] : t.fkEntityName, n = this.tableLists.filter((c) => c.tablename == a)[0], r = (t.fieldType == "about", e[t.columnName]), o = {
|
|
619
|
+
tableId: n.id,
|
|
619
620
|
data: [
|
|
620
621
|
{
|
|
621
622
|
id: r
|
|
@@ -628,7 +629,7 @@ const se = {
|
|
|
628
629
|
duration: 0,
|
|
629
630
|
iconClass: "el-icon-loading"
|
|
630
631
|
});
|
|
631
|
-
this.$refs.middleware.init(
|
|
632
|
+
this.$refs.middleware.init(o).then((c) => {
|
|
632
633
|
setTimeout(() => {
|
|
633
634
|
this.statu = !1;
|
|
634
635
|
}, 1e3), l.close(), this.hideLoading();
|
|
@@ -640,7 +641,7 @@ const se = {
|
|
|
640
641
|
return;
|
|
641
642
|
}
|
|
642
643
|
if (t.fieldType == "participants") {
|
|
643
|
-
let i = this.tableLists.filter((
|
|
644
|
+
let i = this.tableLists.filter((n) => n.tablename == e.tableName)[0];
|
|
644
645
|
if (i === void 0) {
|
|
645
646
|
this.$message.error(this.$i18nt("gd.solution.dataErrorTip", "\u6570\u636E\u9519\u8BEF\uFF0C\u5F53\u524D\u6570\u636E(\u8868)\u4E0D\u5B58\u5728\u6216\u8005\u5DF2\u5220\u9664\uFF01"));
|
|
646
647
|
return;
|
|
@@ -654,7 +655,7 @@ const se = {
|
|
|
654
655
|
this.$refs.middleware.init({
|
|
655
656
|
tableId: i.id,
|
|
656
657
|
data: [e]
|
|
657
|
-
}).then((
|
|
658
|
+
}).then((n) => {
|
|
658
659
|
setTimeout(() => {
|
|
659
660
|
this.statu = !1;
|
|
660
661
|
}, 1e3), a.close(), this.hideLoading();
|
|
@@ -744,16 +745,16 @@ const se = {
|
|
|
744
745
|
},
|
|
745
746
|
queriesRefresh(e, t, s = 1) {
|
|
746
747
|
this.queryParam = { ...e }, this.tableQueries = this.tableQueries.map((r) => {
|
|
747
|
-
const
|
|
748
|
-
return Object.assign({ ...r }, { fkData:
|
|
748
|
+
const o = t.filter((l) => (l.property || l.prop) === r.prop)[0];
|
|
749
|
+
return Object.assign({ ...r }, { fkData: o ? o.fkData : r.fkData });
|
|
749
750
|
}), this.refresh(), this.$nextTick(() => {
|
|
750
751
|
setTimeout(() => {
|
|
751
752
|
s === 1 && this.$refs.quickSearch && this.$refs.quickSearch.queriesInit();
|
|
752
753
|
}, 0);
|
|
753
754
|
});
|
|
754
|
-
const a = (this.record.interacList ? this.record.interacList : []).filter((r) => r.triggerAction === "queriesRefresh" && r.componentKey !== "" && r.componentFunction !== ""),
|
|
755
|
+
const a = (this.record.interacList ? this.record.interacList : []).filter((r) => r.triggerAction === "queriesRefresh" && r.componentKey !== "" && r.componentFunction !== ""), n = this.triggerFilterData && this.triggerFilterData.source ? this.triggerFilterData.source.key : "";
|
|
755
756
|
a.forEach((r) => {
|
|
756
|
-
this.record.doEvent && r.componentKey !==
|
|
757
|
+
this.record.doEvent && r.componentKey !== n && this.record.doEvent({
|
|
757
758
|
key: r.componentKey,
|
|
758
759
|
functionName: r.componentFunction,
|
|
759
760
|
data: this.queryParam,
|
|
@@ -804,22 +805,22 @@ const se = {
|
|
|
804
805
|
return;
|
|
805
806
|
}
|
|
806
807
|
let t = this.options.view.id ? this.options.view.id : "";
|
|
807
|
-
if (t !== "" && (t = this.viewList.filter((
|
|
808
|
-
const a = this.options.viewWeights ? this.options.viewWeights : "2",
|
|
809
|
-
t = a === "1" ? t :
|
|
808
|
+
if (t !== "" && (t = this.viewList.filter((n) => n.id === t)[0] ? t : ""), Number(this.defaultViewId) !== 0 && Number(this.openMode === 1)) {
|
|
809
|
+
const a = this.options.viewWeights ? this.options.viewWeights : "2", n = this.viewList.filter((r) => r.id === Number(this.defaultViewId))[0];
|
|
810
|
+
t = a === "1" ? t : n ? this.defaultViewId : t;
|
|
810
811
|
}
|
|
811
812
|
const s = this.viewList.filter((a) => a.type == this.openMode)[0];
|
|
812
813
|
if (t === "" && (t = s ? s.id : this.viewList[0].id), this.openMode == 2 && this.record.options.val !== void 0) {
|
|
813
814
|
const a = typeof this.record.options.val;
|
|
814
|
-
let
|
|
815
|
-
this.selectedRowKeys =
|
|
815
|
+
let n = a === "string" || a === "number" ? [this.record.options.val] : [...this.record.options.val];
|
|
816
|
+
this.selectedRowKeys = n.filter((r) => r !== "");
|
|
816
817
|
}
|
|
817
818
|
this.openMode == 2 && this.handleQueryParam(), this.openMode == 3 && (this.record.baseRelationRefresh = this.refresh, this.record.baseSetTableData = this.baseSetTableData), this.viewCode = t;
|
|
818
819
|
let i = [...e.personalViewList];
|
|
819
820
|
i.filter((a) => {
|
|
820
|
-
let
|
|
821
|
-
if (
|
|
822
|
-
a.mode = 2, a.permissions =
|
|
821
|
+
let n = this.sysViewList.filter((r) => r.id === a.baseview)[0];
|
|
822
|
+
if (n)
|
|
823
|
+
a.mode = 2, a.permissions = n.permissions, a.sysviewbuttons = n.sysviewbuttons, a.sysviewfields = a.syssavedqueryfields, a.sysviewqueries = a.syssavedqueryquerys, a.buttonrule = n.buttonrule;
|
|
823
824
|
else
|
|
824
825
|
return !1;
|
|
825
826
|
return !0;
|
|
@@ -831,7 +832,7 @@ const se = {
|
|
|
831
832
|
console.log("\u89C6\u56FE\u4FE1\u606F\u4E0D\u5B58\u5728");
|
|
832
833
|
return;
|
|
833
834
|
}
|
|
834
|
-
const t = this.viewList.filter((d) => this.$hasPerm(d.permissions) && d.
|
|
835
|
+
const t = this.viewList.filter((d) => this.$hasPerm(d.permissions) && d.type == 1).concat(this.personalViewList)[0];
|
|
835
836
|
if (!t && this.openMode == 1) {
|
|
836
837
|
this.$message.error(this.$i18nt("gd.https.errViewTip", "\u65E0\u89C6\u56FE\u6743\u9650!"));
|
|
837
838
|
return;
|
|
@@ -843,16 +844,16 @@ const se = {
|
|
|
843
844
|
};
|
|
844
845
|
let i = [], a = {};
|
|
845
846
|
e.sysviewqueries.forEach((d) => {
|
|
846
|
-
const
|
|
847
|
-
let g =
|
|
847
|
+
const h = X(d, this.getDictionary("time_longshort"), this.$i18nt("gd.placeholder.required", "\u5FC5\u586B\u9879")), f = this.fieldData.filter((p) => {
|
|
848
|
+
let g = h ? h.prop : "";
|
|
848
849
|
return p.columnname === g;
|
|
849
850
|
})[0], y = f ? f.isquery : !0;
|
|
850
|
-
|
|
851
|
+
h && y && i.push(h);
|
|
851
852
|
});
|
|
852
|
-
const
|
|
853
|
+
const n = this.options.filterList ? this.options.filterList : [];
|
|
853
854
|
i.map((d) => {
|
|
854
|
-
const
|
|
855
|
-
return this.openMode == 2 &&
|
|
855
|
+
const h = n.filter((f) => f.fieldName === d.prop)[0];
|
|
856
|
+
return this.openMode == 2 && h && (d.disabled = !0, d.hasFiltered = !0), !d.disabled && !d.options.hidden && (a = Object.assign(a, T(d))), d;
|
|
856
857
|
}), this.tableQueries = i;
|
|
857
858
|
const r = this.options.queryDefaultKey ? this.options.queryDefaultKey : "";
|
|
858
859
|
r !== "" ? this.queryParam = this.getDefaultParam(r) : this.queryParam = Object.assign(
|
|
@@ -863,12 +864,12 @@ const se = {
|
|
|
863
864
|
...a
|
|
864
865
|
}
|
|
865
866
|
);
|
|
866
|
-
let
|
|
867
|
+
let o = e.sysviewbuttons.map((d) => (d.show = !0, d.transKey = d.transkey ? `Dynamics.${d.transkey}` : null, d.displayName = d.displayname, (d.functionname === "del" || d.functionname === "deactivateData") && (d.btnType = "danger"), d.childbutton && d.childbutton.length > 0 && (d.childbutton.map((h) => (h.transKey = h.transkey ? `Dynamics.${h.transkey}` : null, h.displayName = h.displayname, h)), d.children = d.childbutton), d));
|
|
867
868
|
this.$nextTick(() => {
|
|
868
869
|
setTimeout(async () => {
|
|
869
870
|
const d = this.baseRelationBtnShow();
|
|
870
871
|
this.sysViewButtons = C({
|
|
871
|
-
btn:
|
|
872
|
+
btn: o,
|
|
872
873
|
view: e,
|
|
873
874
|
statu: d,
|
|
874
875
|
data: this.selectedRows,
|
|
@@ -888,8 +889,8 @@ const se = {
|
|
|
888
889
|
fixed: !0
|
|
889
890
|
});
|
|
890
891
|
let c = 0;
|
|
891
|
-
e.sysviewfields.forEach((d,
|
|
892
|
-
let f = J(d,
|
|
892
|
+
e.sysviewfields.forEach((d, h) => {
|
|
893
|
+
let f = J(d, h, e.frozencolumn);
|
|
893
894
|
f && f.dictTypeCode && Object.assign(f, {
|
|
894
895
|
dictTypeList: this.getDictionary(f.dictTypeCode)
|
|
895
896
|
}), c === 0 && f && f.checked && (Object.assign(f, {
|
|
@@ -915,10 +916,10 @@ const se = {
|
|
|
915
916
|
})
|
|
916
917
|
}), f && l.push(f);
|
|
917
918
|
});
|
|
918
|
-
let
|
|
919
|
+
let u = [];
|
|
919
920
|
if (this.istable) {
|
|
920
|
-
const d = this.record.queryList.filter((
|
|
921
|
-
|
|
921
|
+
const d = this.record.queryList.filter((h) => h.visible);
|
|
922
|
+
u = this.processData(d, l), this.operationuList.length > 0 && (u = u.concat({
|
|
922
923
|
type: "slot",
|
|
923
924
|
prop: "tableGridOperation",
|
|
924
925
|
slotType: "tableGridOperation",
|
|
@@ -932,12 +933,12 @@ const se = {
|
|
|
932
933
|
align: this.record.operationu.align || "center",
|
|
933
934
|
label: this.$i18nt("gd.common.https.operation", "\u64CD\u4F5C"),
|
|
934
935
|
operations: this.operationuList
|
|
935
|
-
}),
|
|
936
|
-
|
|
936
|
+
}), u.forEach((h) => {
|
|
937
|
+
h.sortable = h.orderconfig ? "custom" : !1;
|
|
937
938
|
}));
|
|
938
939
|
} else
|
|
939
|
-
|
|
940
|
-
this.viewRecord = { ...e }, this.styled = this.viewRecord ? "" : "padding-left:12px;", this.$emit("changeView", this.viewRecord), this.columns = [...
|
|
940
|
+
u = l;
|
|
941
|
+
this.viewRecord = { ...e }, this.styled = this.viewRecord ? "" : "padding-left:12px;", this.$emit("changeView", this.viewRecord), this.columns = [...u], await this.$refs.table.loadColumns(), this.show = !0, this.$nextTick(() => {
|
|
941
942
|
this.$refs.queriesField && this.$refs.queriesField.init(), setTimeout(() => {
|
|
942
943
|
this.refresh(), this.laoding = !0, this.record.hideLoad && this.record.hideLoad(this.record.key), this.$refs.quickSearch && this.$refs.quickSearch.init();
|
|
943
944
|
}, 0);
|
|
@@ -949,7 +950,7 @@ const se = {
|
|
|
949
950
|
return {};
|
|
950
951
|
let s = {};
|
|
951
952
|
const i = this.getDictionary("time_longshort");
|
|
952
|
-
let a = t.queryList ? t.queryList : [],
|
|
953
|
+
let a = t.queryList ? t.queryList : [], n = [], r = [];
|
|
953
954
|
return a.forEach((l) => {
|
|
954
955
|
const c = {
|
|
955
956
|
columncomment: l.columnComment,
|
|
@@ -957,20 +958,20 @@ const se = {
|
|
|
957
958
|
columnname: l.columnName,
|
|
958
959
|
effecttype: l.effectType
|
|
959
960
|
};
|
|
960
|
-
|
|
961
|
-
const
|
|
962
|
-
|
|
963
|
-
}),
|
|
961
|
+
n.push(c);
|
|
962
|
+
const u = Z(l, c, i, this.$i18nt("gd.placeholder.required", "\u5FC5\u586B\u9879"));
|
|
963
|
+
u && !u.disabled && !u.options.hidden && Object.assign(s, T(u)), u && r.push(u);
|
|
964
|
+
}), D(s, n, r, i);
|
|
964
965
|
},
|
|
965
966
|
processData(e, t) {
|
|
966
|
-
const s = e.map((
|
|
967
|
-
e.forEach((
|
|
968
|
-
i[
|
|
967
|
+
const s = e.map((o) => o.fieldid), i = {};
|
|
968
|
+
e.forEach((o) => {
|
|
969
|
+
i[o.fieldid] = o.orderconfig;
|
|
969
970
|
});
|
|
970
|
-
const a = t.filter((
|
|
971
|
-
...
|
|
972
|
-
sortables: i[
|
|
973
|
-
})), r = s.map((
|
|
971
|
+
const a = t.filter((o) => o.type === "selection" || o.type === "selection-radio"), n = t.filter((o) => o.type === "selection" || o.type === "selection-radio" ? !1 : s.includes(o.id)).map((o) => ({
|
|
972
|
+
...o,
|
|
973
|
+
sortables: i[o.id] ? "custom" : !1
|
|
974
|
+
})), r = s.map((o) => n.find((l) => l.id === o)).filter((o) => o !== void 0);
|
|
974
975
|
return [...a, ...r];
|
|
975
976
|
},
|
|
976
977
|
baseAddbtn() {
|
|
@@ -1054,7 +1055,7 @@ const se = {
|
|
|
1054
1055
|
e.baseDelLoadData(s, i);
|
|
1055
1056
|
return;
|
|
1056
1057
|
}
|
|
1057
|
-
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1,
|
|
1058
|
+
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, v({
|
|
1058
1059
|
tableId: e.tableData.id,
|
|
1059
1060
|
ids: e.selectedRowKeys.join(",")
|
|
1060
1061
|
}).then((a) => {
|
|
@@ -1066,17 +1067,17 @@ const se = {
|
|
|
1066
1067
|
baseDelLoadData(e, t) {
|
|
1067
1068
|
let s = this, i = !1, a = !1;
|
|
1068
1069
|
this.record.options && (i = this.record.options.saved === void 0 ? !1 : this.record.options.saved, a = this.record.options.refreshHost === void 0 ? !1 : this.record.options.refreshHost);
|
|
1069
|
-
let
|
|
1070
|
-
this.selectedRowKeys.forEach((
|
|
1071
|
-
String(
|
|
1070
|
+
let n = [];
|
|
1071
|
+
this.selectedRowKeys.forEach((o) => {
|
|
1072
|
+
String(o).split("u").length === 1 && n.push(o);
|
|
1072
1073
|
});
|
|
1073
|
-
const r = this.$refs.table.tableData.filter((
|
|
1074
|
-
if (
|
|
1075
|
-
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1,
|
|
1074
|
+
const r = this.$refs.table.tableData.filter((o) => !this.selectedRowKeys.includes(o.id));
|
|
1075
|
+
if (n.length > 0) {
|
|
1076
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, v({
|
|
1076
1077
|
tableId: s.tableData.id,
|
|
1077
|
-
ids:
|
|
1078
|
-
}).then((
|
|
1079
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0,
|
|
1078
|
+
ids: n.join(",")
|
|
1079
|
+
}).then((o) => {
|
|
1080
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, o.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t(), s.$refs.table.setTableData(r), s.$emit("changeData", r), i && s.refresh(), a && s.foreign.fkValue !== "" && s.baseRelationRefresh(!0, [])) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o.message);
|
|
1080
1081
|
});
|
|
1081
1082
|
return;
|
|
1082
1083
|
}
|
|
@@ -1105,11 +1106,11 @@ const se = {
|
|
|
1105
1106
|
t.baseDelLoadData(i, a);
|
|
1106
1107
|
return;
|
|
1107
1108
|
}
|
|
1108
|
-
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1,
|
|
1109
|
+
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, v({
|
|
1109
1110
|
tableId: t.tableData.id,
|
|
1110
1111
|
ids: e.id
|
|
1111
|
-
}).then((
|
|
1112
|
-
i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0,
|
|
1112
|
+
}).then((n) => {
|
|
1113
|
+
i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, n.success ? (t.$message.success(t.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t.refresh(), a()) : t.$message.error(t.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
|
|
1113
1114
|
});
|
|
1114
1115
|
}
|
|
1115
1116
|
});
|
|
@@ -1144,21 +1145,21 @@ const se = {
|
|
|
1144
1145
|
}, a = /* @__PURE__ */ new Map();
|
|
1145
1146
|
for (let l in this.queryCriteria)
|
|
1146
1147
|
l != "pageNo" && l != "pageSize" && l != "viewType" && a.set(l, this.queryCriteria[l]);
|
|
1147
|
-
const
|
|
1148
|
-
let
|
|
1148
|
+
const n = this.triggerFilterData && this.triggerFilterData.fieldData ? this.triggerFilterData.fieldData : this.fieldData, r = this.triggerFilterData && this.triggerFilterData.tableQueries ? this.triggerFilterData.tableQueries : this.tableQueries;
|
|
1149
|
+
let o = {
|
|
1149
1150
|
displayColumns: s,
|
|
1150
1151
|
whereS: [
|
|
1151
1152
|
Object.assign(
|
|
1152
1153
|
{
|
|
1153
1154
|
...i
|
|
1154
1155
|
},
|
|
1155
|
-
|
|
1156
|
+
D(this.queryParam, n, r, this.getDictionary("time_longshort")),
|
|
1156
1157
|
Object.fromEntries(a)
|
|
1157
1158
|
)
|
|
1158
1159
|
],
|
|
1159
1160
|
type: e
|
|
1160
1161
|
};
|
|
1161
|
-
return Object.assign(Object.fromEntries(a),
|
|
1162
|
+
return Object.assign(Object.fromEntries(a), o, {
|
|
1162
1163
|
...i
|
|
1163
1164
|
});
|
|
1164
1165
|
},
|
|
@@ -1177,9 +1178,9 @@ const se = {
|
|
|
1177
1178
|
},
|
|
1178
1179
|
this.foreign
|
|
1179
1180
|
), a = e.url ? e.url : !1;
|
|
1180
|
-
|
|
1181
|
-
this.$refs.xlsxExport.exportWay(
|
|
1182
|
-
}).catch((
|
|
1181
|
+
k(i, a).then((n) => {
|
|
1182
|
+
this.$refs.xlsxExport.exportWay(n, t);
|
|
1183
|
+
}).catch((n) => {
|
|
1183
1184
|
t.close(), console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"), this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25"));
|
|
1184
1185
|
});
|
|
1185
1186
|
},
|
|
@@ -1206,9 +1207,9 @@ const se = {
|
|
|
1206
1207
|
exportIds: this.selectedRowKeys.join(",")
|
|
1207
1208
|
}
|
|
1208
1209
|
), a = e.url ? e.url : !1;
|
|
1209
|
-
|
|
1210
|
-
this.$refs.xlsxExport.exportWay(
|
|
1211
|
-
}).catch((
|
|
1210
|
+
k(i, a).then((n) => {
|
|
1211
|
+
this.$refs.xlsxExport.exportWay(n, t);
|
|
1212
|
+
}).catch((n) => {
|
|
1212
1213
|
t.close(), this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
|
|
1213
1214
|
});
|
|
1214
1215
|
},
|
|
@@ -1235,8 +1236,8 @@ const se = {
|
|
|
1235
1236
|
defaultQuery: e.id,
|
|
1236
1237
|
codeGenId: t.tableData.id,
|
|
1237
1238
|
viewType: e.mode
|
|
1238
|
-
}).then((
|
|
1239
|
-
|
|
1239
|
+
}).then((n) => {
|
|
1240
|
+
n.success ? (t.$message.success(t.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), t.defaultViewId = e.id) : t.$message.error(t.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), a(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0;
|
|
1240
1241
|
});
|
|
1241
1242
|
}
|
|
1242
1243
|
});
|
|
@@ -1296,16 +1297,16 @@ const se = {
|
|
|
1296
1297
|
customClass: "custom-alert",
|
|
1297
1298
|
callback: () => {
|
|
1298
1299
|
},
|
|
1299
|
-
beforeClose: (
|
|
1300
|
-
if (
|
|
1301
|
-
|
|
1300
|
+
beforeClose: (n, r, o) => {
|
|
1301
|
+
if (n !== "confirm") {
|
|
1302
|
+
o(), i({ action: n, res: null });
|
|
1302
1303
|
return;
|
|
1303
1304
|
}
|
|
1304
|
-
r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, (e == 1 ?
|
|
1305
|
+
r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, (e == 1 ? z : G)({
|
|
1305
1306
|
tableId: s.tableData.id,
|
|
1306
1307
|
ids: s.selectedRowKeys.join(",")
|
|
1307
1308
|
}).then((c) => {
|
|
1308
|
-
c.success ? (s.$message.success(s.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s.refresh(),
|
|
1309
|
+
c.success ? (s.$message.success(s.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s.refresh(), o()) : s.$message.error(s.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + c.message), r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, i({ action: n, res: c });
|
|
1309
1310
|
});
|
|
1310
1311
|
}
|
|
1311
1312
|
}
|
|
@@ -1339,13 +1340,13 @@ const se = {
|
|
|
1339
1340
|
id: e.id
|
|
1340
1341
|
}).then((i) => {
|
|
1341
1342
|
if (i.success) {
|
|
1342
|
-
let a = t.prop + "_abouttable",
|
|
1343
|
+
let a = t.prop + "_abouttable", n = {
|
|
1343
1344
|
data: e,
|
|
1344
1345
|
item: Object.assign(t, {
|
|
1345
1346
|
fkEntityName: i.data[0][a]
|
|
1346
1347
|
})
|
|
1347
1348
|
};
|
|
1348
|
-
this.baseQuickFk(
|
|
1349
|
+
this.baseQuickFk(n, s);
|
|
1349
1350
|
} else
|
|
1350
1351
|
s.close(), this.hideLoading(), setTimeout(() => {
|
|
1351
1352
|
this.statu = !1;
|
|
@@ -1371,12 +1372,12 @@ const se = {
|
|
|
1371
1372
|
thisFiled: e.item.columnName,
|
|
1372
1373
|
fkTable: e.item.fkEntityName ? e.item.fkEntityName.toLowerCase() : e.item.fkEntityName
|
|
1373
1374
|
};
|
|
1374
|
-
|
|
1375
|
+
H(i).then((a) => {
|
|
1375
1376
|
a.success ? this.$refs.middleware.init(
|
|
1376
1377
|
Object.assign(a.data, {
|
|
1377
1378
|
fieldType: e.item.fieldType
|
|
1378
1379
|
})
|
|
1379
|
-
).then((
|
|
1380
|
+
).then((n) => {
|
|
1380
1381
|
setTimeout(() => {
|
|
1381
1382
|
this.statu = !1;
|
|
1382
1383
|
}, 1e3), s.close(), this.hideLoading();
|
|
@@ -1416,39 +1417,41 @@ const se = {
|
|
|
1416
1417
|
return !((e.formConfig.controlValue === void 0 ? [] : e.formConfig.controlValue).filter((r) => String(r) === String(i)).length > 0);
|
|
1417
1418
|
},
|
|
1418
1419
|
baseRelationAllBtnHide() {
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1420
|
+
if (this.sysViewButtons && this.sysViewButtons.length > 0) {
|
|
1421
|
+
const e = this.baseRelationBtnShow();
|
|
1422
|
+
let t = this.sysViewButtons.map((s) => (!this.excludeButtons.includes(s.id) && !this.excludeButtons.includes(s.displayName) && (s.show = e), s));
|
|
1423
|
+
this.sysViewButtons = [...t];
|
|
1424
|
+
}
|
|
1422
1425
|
},
|
|
1423
1426
|
baseRelationOk(e) {
|
|
1424
1427
|
const t = e.fkDataList.filter((r) => ["fk", "user"].includes(r.options.effectType));
|
|
1425
1428
|
let s = /* @__PURE__ */ new Map();
|
|
1426
1429
|
t.forEach((r) => {
|
|
1427
|
-
const
|
|
1428
|
-
let c = this.viewRecord.sysviewfields.filter((
|
|
1430
|
+
const o = r.options.columnName, l = e.data[o];
|
|
1431
|
+
let c = this.viewRecord.sysviewfields.filter((u) => u.syscodegenconfig.columnname == o)[0];
|
|
1429
1432
|
if (c) {
|
|
1430
|
-
let
|
|
1431
|
-
s.set(
|
|
1433
|
+
let u = B(c), d = r.fkData.filter((h) => h.id === l)[0];
|
|
1434
|
+
s.set(u, d ? d.name : "");
|
|
1432
1435
|
}
|
|
1433
1436
|
});
|
|
1434
|
-
let i = Object.assign(e.data, Object.fromEntries(s)), a = [],
|
|
1435
|
-
i.id ? a =
|
|
1436
|
-
let
|
|
1437
|
-
return r.id === i.id &&
|
|
1437
|
+
let i = Object.assign(e.data, Object.fromEntries(s)), a = [], n = this.$refs.table.tableData.filter((r) => r.id !== null);
|
|
1438
|
+
i.id ? a = n.map((r) => {
|
|
1439
|
+
let o = String(r.id).split("u");
|
|
1440
|
+
return r.id === i.id && o.length === 1 && (r = Object.assign(
|
|
1438
1441
|
{ ...r },
|
|
1439
1442
|
{ ...i },
|
|
1440
1443
|
{
|
|
1441
1444
|
GdSaasTepyName: 2,
|
|
1442
1445
|
GdSaasTepyOperation: !0
|
|
1443
1446
|
}
|
|
1444
|
-
)), r.id === i.id &&
|
|
1447
|
+
)), r.id === i.id && o.length > 1 && (r = Object.assign({ ...r }, { ...i })), r;
|
|
1445
1448
|
}) : a = [
|
|
1446
1449
|
Object.assign(i, {
|
|
1447
1450
|
id: L(),
|
|
1448
1451
|
GdSaasTepyName: 1,
|
|
1449
1452
|
GdSaasTepyOperation: !0
|
|
1450
1453
|
})
|
|
1451
|
-
].concat(
|
|
1454
|
+
].concat(n), this.$refs.table.setTableData(a), this.$emit("changeData", a);
|
|
1452
1455
|
},
|
|
1453
1456
|
baseRelationRefresh(e = !0, t) {
|
|
1454
1457
|
if (this.openMode != 3)
|
|
@@ -1457,16 +1460,16 @@ const se = {
|
|
|
1457
1460
|
this.record.refresh(e, t, { refreshMode: i, list: s });
|
|
1458
1461
|
},
|
|
1459
1462
|
baseBtnsStatus(e) {
|
|
1460
|
-
const t = e.type ? e.type : "show", s = e.list ? e.list : [], i = e.field ? e.field : "id", a = e.manner ? e.manner : "default",
|
|
1463
|
+
const t = e.type ? e.type : "show", s = e.list ? e.list : [], i = e.field ? e.field : "id", a = e.manner ? e.manner : "default", n = e.time !== void 0 ? e.time : 100;
|
|
1461
1464
|
this.$nextTick(() => {
|
|
1462
1465
|
setTimeout(() => {
|
|
1463
1466
|
const r = this.baseRelationBtnShow();
|
|
1464
|
-
let
|
|
1465
|
-
|
|
1466
|
-
const
|
|
1467
|
-
t === "show" ?
|
|
1468
|
-
}), this.sysViewButtons = [...
|
|
1469
|
-
},
|
|
1467
|
+
let o = JSON.parse(JSON.stringify(this.sysViewButtons));
|
|
1468
|
+
o.forEach((l, c) => {
|
|
1469
|
+
const u = l[i];
|
|
1470
|
+
t === "show" ? o[c].show = this.excludeButtons.includes(u) ? l.show : r ? s.includes(u) ? !0 : a === "default" ? l.show : !1 : !1 : o[c].show = this.excludeButtons.includes(u) ? l.show : r ? s.includes(u) ? !1 : a === "default" ? l.show : !1 : !1;
|
|
1471
|
+
}), this.sysViewButtons = [...o], this.$emit("changeBtn", this.sysViewButtons);
|
|
1472
|
+
}, n);
|
|
1470
1473
|
});
|
|
1471
1474
|
},
|
|
1472
1475
|
baseForceShowBtns(e, t = 1) {
|
|
@@ -1535,7 +1538,7 @@ const se = {
|
|
|
1535
1538
|
}
|
|
1536
1539
|
},
|
|
1537
1540
|
beforeDestroy() {
|
|
1538
|
-
this.formList =
|
|
1541
|
+
this.formList = null, this.sysViewList = null, this.selectedRows = null, this.sysViewButtons = null, this.fieldData = null, this.componentList = null, this.renderHeaderList = null, this.callbackFun = null, this.visibleTable = !1, this.openMode == 3 && (this.record.baseRelationRefresh = null, this.record.baseSetTableData = null, this.record.baseRelationAllBtnHide = null);
|
|
1539
1542
|
}
|
|
1540
1543
|
};
|
|
1541
1544
|
var ie = function() {
|
|
@@ -1545,25 +1548,25 @@ var ie = function() {
|
|
|
1545
1548
|
return [s("QuickSearch", { ref: "quickSearch", attrs: { viewQueries: t.getQuickQueries, tableData: t.tableData, fieldData: t.fieldData, queryParam: t.queryParam }, on: { save: (i, a) => t.queriesRefresh(i, a, 2) } })];
|
|
1546
1549
|
}, proxy: !0 } : null], null, !0) }) : t._e()];
|
|
1547
1550
|
}, proxy: !0 }, t._l(t.getColumnsed, function(i) {
|
|
1548
|
-
return { key: i.prop, fn: function({ column: a, row:
|
|
1549
|
-
return [s("ChildRenItem", { key: i.prop, attrs: { item: i, row:
|
|
1551
|
+
return { key: i.prop, fn: function({ column: a, row: n }) {
|
|
1552
|
+
return [s("ChildRenItem", { key: i.prop, attrs: { item: i, row: n, getFristColumn: t.getFristColumn, openMode: t.openMode }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
|
|
1550
1553
|
} };
|
|
1551
|
-
}), { key: "filtering", fn: function({ colse: i, visible: a, changeTrigger:
|
|
1552
|
-
return [s("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: i, visible: a, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0, changeTrigger:
|
|
1554
|
+
}), { key: "filtering", fn: function({ colse: i, visible: a, changeTrigger: n }) {
|
|
1555
|
+
return [s("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: i, visible: a, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0, changeTrigger: n }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
|
|
1553
1556
|
} }], null, !0) })], 1)]), t.istable ? s("div", { staticClass: "gd-base-flex-body" }, [s("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [s("gd-tables", { ref: "table", attrs: { showPagination: !1, istool: !1, istable: t.istable, stripeColor: t.tableSetting.stripeColor, lineHeight: t.tableSetting.lineHeight, recordoperations: t.record, dataSource: t.loadData, size: t.tableSized, stripe: t.tableSetting.isStripe, border: t.tableSetting.isBorder, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh, rowKey: t.rowKey }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([t._l(t.getColumnsed, function(i) {
|
|
1554
|
-
return { key: i.prop, fn: function({ column: a, row:
|
|
1555
|
-
return [i.prop === "tableGridOperation" ? s("div", [t._t("tableGridOperation", null, { column: a, row:
|
|
1557
|
+
return { key: i.prop, fn: function({ column: a, row: n }) {
|
|
1558
|
+
return [i.prop === "tableGridOperation" ? s("div", [t._t("tableGridOperation", null, { column: a, row: n, item: i })], 2) : s("ChildRenItem", { attrs: { item: i, row: n, getFristColumn: t.getFristColumn }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
|
|
1556
1559
|
} };
|
|
1557
|
-
})], null, !0) })], 1)]) : t._e(), s("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } }), t.showComponent === "filePreview" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: t.fileOptions }, on: { closed: t.closedPreview } }) : t._e(), s("XlsxImport", { ref: "xlsxImport", attrs: { entityName: t.tableData.tableName, tableData: t.tableData }, on: { ok: t.refresh } }), s("XlsxExport", { ref: "xlsxExport", attrs: { entityId: t.tableData.id, queryParam: t.queryParam, tableData: t.tableData } }), s("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "teamSharing") } }), s("BatchUpdate", { ref: "batchUpdate", attrs: { tableData: t.tableData, queryTable: t.queryTable, columns: t.columns, fieldData: t.fieldData, viewCode: t.viewCode }, on: { ok: t.refresh } }), s("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "dataAssign") } }), s("StatusChange", { ref: "statusChange", attrs: { tableData: t.tableData }, on: { ok: t.refresh } }), s("ViewCharts", { ref: "charts", attrs: { tableData: t.tableData, fieldData: t.fieldData }, on: { setLoadData: t.setLoadData } }), s("gd-middleware", { ref: "middleware", on: { ok: t.refresh } }), t._l(t.componentList, function(i, a) {
|
|
1558
|
-
return [s(i.componentItem, { key: a, ref: i.ref, refInFor: !0, tag: "component", attrs: { record: i, openMode: t.openMode, tableData: t.tableData }, on: { change: (
|
|
1559
|
-
})], 2);
|
|
1560
|
+
})], null, !0) })], 1)]) : t._e(), t.visibleTable ? s("div", [s("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } }), t.showComponent === "filePreview" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: t.fileOptions }, on: { closed: t.closedPreview } }) : t._e(), s("XlsxImport", { ref: "xlsxImport", attrs: { entityName: t.tableData.tableName, tableData: t.tableData }, on: { ok: t.refresh } }), s("XlsxExport", { ref: "xlsxExport", attrs: { entityId: t.tableData.id, queryParam: t.queryParam, tableData: t.tableData } }), s("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "teamSharing") } }), s("BatchUpdate", { ref: "batchUpdate", attrs: { tableData: t.tableData, queryTable: t.queryTable, columns: t.columns, fieldData: t.fieldData, viewCode: t.viewCode }, on: { ok: t.refresh } }), s("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "dataAssign") } }), s("StatusChange", { ref: "statusChange", attrs: { tableData: t.tableData }, on: { ok: t.refresh } }), s("ViewCharts", { ref: "charts", attrs: { tableData: t.tableData, fieldData: t.fieldData }, on: { setLoadData: t.setLoadData } }), s("gd-middleware", { ref: "middleware", on: { ok: t.refresh } }), t._l(t.componentList, function(i, a) {
|
|
1561
|
+
return [s(i.componentItem, { key: a, ref: i.ref, refInFor: !0, tag: "component", attrs: { record: i, openMode: t.openMode, tableData: t.tableData }, on: { change: (n) => t.doEventComponent(n, i) } })];
|
|
1562
|
+
})], 2) : t._e()]);
|
|
1560
1563
|
}, ae = [], re = /* @__PURE__ */ N(
|
|
1561
1564
|
se,
|
|
1562
1565
|
ie,
|
|
1563
1566
|
ae,
|
|
1564
1567
|
!1,
|
|
1565
1568
|
null,
|
|
1566
|
-
"
|
|
1569
|
+
"2f2897b4",
|
|
1567
1570
|
null,
|
|
1568
1571
|
null
|
|
1569
1572
|
);
|
|
@@ -1574,5 +1577,5 @@ export {
|
|
|
1574
1577
|
J as b,
|
|
1575
1578
|
Z as g,
|
|
1576
1579
|
T as h,
|
|
1577
|
-
|
|
1580
|
+
D as s
|
|
1578
1581
|
};
|