@das-fed/ui 6.4.0-dev.68 → 6.4.0-dev.69
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/package.json +5 -5
- package/packages/business-components/export-button/hooks/useExport.d.ts +5 -6
- package/packages/business-components/export-button/index.js +74 -72
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +90 -88
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +8 -6
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/components/edit-table/index.js +9 -1
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/text-tooltip/index.js +702 -695
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +287 -291
- package/packages/components/tree/index.js.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/import-button/style.css';
|
|
2
2
|
import { withInstall as fe } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as k, defineComponent as ge, computed as ve, watch as he, openBlock as we, createElementBlock as Ce, createElementVNode as q, unref as o, renderSlot as re, createVNode as D, withCtx as j, createTextVNode as Y, toDisplayString as H, createCommentVNode as
|
|
3
|
+
import { ref as k, defineComponent as ge, computed as ve, watch as he, openBlock as we, createElementBlock as Ce, createElementVNode as q, unref as o, renderSlot as re, createVNode as D, withCtx as j, createTextVNode as Y, toDisplayString as H, createCommentVNode as le, isRef as Q } from "vue";
|
|
4
4
|
import { t as u, i18n as L, setI18nRule as xe } from "@das-fed/web/packages/i18n/index";
|
|
5
|
-
import { DasDialog as
|
|
5
|
+
import { DasDialog as se } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasUpload as ke } from "@das-fed/ui/packages/components/upload/index";
|
|
7
7
|
import { DasProgress as be } from "@das-fed/ui/packages/components/progress/index";
|
|
8
8
|
import { DasButton as W } from "@das-fed/ui/packages/components/button/index";
|
|
@@ -16,19 +16,19 @@ import { pureImageSrc as ie } from "@das-fed/utils/pure-image-src";
|
|
|
16
16
|
let te = (e = 21) => {
|
|
17
17
|
let m = "", p = crypto.getRandomValues(new Uint8Array(e));
|
|
18
18
|
for (; e--; ) {
|
|
19
|
-
let
|
|
20
|
-
|
|
19
|
+
let l = p[e] & 63;
|
|
20
|
+
l < 36 ? m += l.toString(36) : l < 62 ? m += (l - 26).toString(36).toUpperCase() : l < 63 ? m += "_" : m += "-";
|
|
21
21
|
}
|
|
22
22
|
return m;
|
|
23
23
|
};
|
|
24
|
-
const
|
|
25
|
-
let m = k(!1), p = k(!1),
|
|
24
|
+
const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Ie = ae.post("upload-objects", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), $e = ye.get("progress"), Pe = (e) => {
|
|
25
|
+
let m = k(!1), p = k(!1), l = k(""), C = k(0), n = k("normal"), v = k(!1), b, N = k(""), I = k(""), $ = k(""), z = k(""), P = k(!1), M = k(""), F = "", _ = k(""), S;
|
|
26
26
|
const E = () => {
|
|
27
27
|
I.value = "", $.value = "", z.value = "", P.value = !1, M.value = "";
|
|
28
|
-
},
|
|
29
|
-
const [r,
|
|
30
|
-
return r ? { stauts: !1 } : { status: !0, data:
|
|
31
|
-
}, B = (r) => new Promise((
|
|
28
|
+
}, y = async () => {
|
|
29
|
+
const [r, s] = await Fe().run();
|
|
30
|
+
return r ? { stauts: !1 } : { status: !0, data: s };
|
|
31
|
+
}, B = (r) => new Promise((s, g) => {
|
|
32
32
|
const i = [];
|
|
33
33
|
let t = 0;
|
|
34
34
|
for (; t < r.size; ) {
|
|
@@ -36,25 +36,25 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
36
36
|
i.push(w), t += 1048576;
|
|
37
37
|
}
|
|
38
38
|
const c = new Blob(i, { type: r.type });
|
|
39
|
-
|
|
40
|
-
}), A = async (r,
|
|
41
|
-
|
|
42
|
-
const c = await
|
|
39
|
+
s(c);
|
|
40
|
+
}), A = async (r, s, g, a = !1, i = !0, t = "") => {
|
|
41
|
+
F = t, _.value = "import", i && (n.value = "normal", C.value = 0, l.value = u("导入进度"), p.value = !0, N.value = ""), S = s;
|
|
42
|
+
const c = await y();
|
|
43
43
|
if (!c.status) return;
|
|
44
44
|
let w = c.data, x = null, { autoContentType: K, bucketName: V, importFileName: J } = g;
|
|
45
|
-
const ue = a ? Ie :
|
|
45
|
+
const ue = a ? Ie : _e;
|
|
46
46
|
if (a) {
|
|
47
47
|
let X = [];
|
|
48
|
-
await
|
|
48
|
+
await s.forEach(async (G) => {
|
|
49
49
|
let ee = await B(G);
|
|
50
50
|
X.push(ee);
|
|
51
|
-
}), x = new FormData(), x.append("accessKeyId", w.accessKeyId), x.append("secretAccessKey", w.secretAccessKey), x.append("sessionToken", w.sessionToken), x.append("bucketName", V),
|
|
51
|
+
}), x = new FormData(), x.append("accessKeyId", w.accessKeyId), x.append("secretAccessKey", w.secretAccessKey), x.append("sessionToken", w.sessionToken), x.append("bucketName", V), s.forEach((G, ee) => {
|
|
52
52
|
x.append("file", X[ee]);
|
|
53
53
|
}), J.forEach((G) => {
|
|
54
54
|
x.append("filePaths", G);
|
|
55
55
|
});
|
|
56
56
|
} else {
|
|
57
|
-
const X = await B(
|
|
57
|
+
const X = await B(s);
|
|
58
58
|
x = {
|
|
59
59
|
accessKeyId: w.accessKeyId,
|
|
60
60
|
secretAccessKey: w.secretAccessKey,
|
|
@@ -73,7 +73,7 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
73
73
|
p.value = !1, n.value = "error";
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
l.value = u("导入进度"), p.value = !0, T(Z.taskId, "import", "");
|
|
77
77
|
} else {
|
|
78
78
|
if (!Z.status) return;
|
|
79
79
|
n.value = "success", U.success({
|
|
@@ -82,28 +82,28 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
82
82
|
repeatNum: 1
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
}, R = async (r,
|
|
86
|
-
n.value = "normal", C.value = 0,
|
|
85
|
+
}, R = async (r, s = "", g = "") => {
|
|
86
|
+
n.value = "normal", C.value = 0, l.value = g || u("导出进度"), p.value = !0;
|
|
87
87
|
const a = await (r == null ? void 0 : r());
|
|
88
88
|
if (!a.status) {
|
|
89
89
|
p.value = !1, n.value = "error";
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
T(a.taskId, "action", "");
|
|
93
|
-
}, O = async (r,
|
|
94
|
-
|
|
93
|
+
}, O = async (r, s = "", g = "xlsx") => {
|
|
94
|
+
_.value = "export", n.value = "normal", C.value = 0, l.value = u("导出进度"), p.value = !0;
|
|
95
95
|
const a = await (r == null ? void 0 : r());
|
|
96
96
|
if (!a.status) {
|
|
97
97
|
p.value = !1, n.value = "error";
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
Ne().format("YYYYMMDDHHmmss") + "", T(a.taskId, "export",
|
|
101
|
-
}, T = async (r,
|
|
102
|
-
v.value = !0, f(r,
|
|
100
|
+
Ne().format("YYYYMMDDHHmmss") + "", T(a.taskId, "export", s || "", g);
|
|
101
|
+
}, T = async (r, s, g, a = "") => {
|
|
102
|
+
v.value = !0, f(r, s, g, a), b = setTimeout(() => {
|
|
103
103
|
}, 50);
|
|
104
104
|
}, d = () => {
|
|
105
105
|
clearTimeout(b), b = null, p.value = !1;
|
|
106
|
-
}, f = async (r,
|
|
106
|
+
}, f = async (r, s = "export", g, a = "") => {
|
|
107
107
|
var w, x;
|
|
108
108
|
const [i, t] = await $e("", {
|
|
109
109
|
url: `progress/${r}`
|
|
@@ -113,40 +113,40 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
C.value = t.percentage;
|
|
116
|
-
const c =
|
|
116
|
+
const c = s == "export" ? u("导出") : u("导入");
|
|
117
117
|
if (C.value == 100)
|
|
118
|
-
if (
|
|
118
|
+
if (N.value = t, v.value = !1, d(), s == "export")
|
|
119
119
|
t.status == 1 ? (n.value = "success", pe(`${ne().baseURL}/oss${t.filePath}`, g, a), v.value = !1) : t.status == 2 && (z.value = t.message || `${c}${u("失败")}`, U.error({
|
|
120
120
|
message: t.message || `${c}${u("失败")}`,
|
|
121
121
|
grouping: !0,
|
|
122
122
|
repeatNum: 1
|
|
123
123
|
}));
|
|
124
|
-
else if (
|
|
124
|
+
else if (s == "import") {
|
|
125
125
|
if (t.filePath) {
|
|
126
126
|
n.value = "error";
|
|
127
127
|
const K = (w = S.name) == null ? void 0 : w.match(/(.*?)(\.[^.]*$|$)/);
|
|
128
128
|
K.length && K[2], P.value = !0;
|
|
129
129
|
let V = await ze(`/oss/${t == null ? void 0 : t.filePath}`);
|
|
130
130
|
const J = ((x = V == null ? void 0 : V.split("/")) == null ? void 0 : x.pop()) || "";
|
|
131
|
-
I.value =
|
|
131
|
+
I.value = F || J, $.value = S.sizeText, z.value = u("部分数据校验不通过,请下载附件并修改,重新导入!"), M.value = `${ne().baseURL}/oss/${t == null ? void 0 : t.filePath}`;
|
|
132
132
|
}
|
|
133
133
|
h(t.status, c, t.message), t.status == 1 && (m.value = !1), e("success");
|
|
134
|
-
} else
|
|
134
|
+
} else s == "action" && (n.value = "success");
|
|
135
135
|
else
|
|
136
136
|
b && t.status != 2 ? b = setTimeout(() => {
|
|
137
|
-
f(r,
|
|
138
|
-
}, 50) : (
|
|
139
|
-
}, h = (r,
|
|
137
|
+
f(r, s, g, a);
|
|
138
|
+
}, 50) : (N.value = t, v.value = !1, h(t.status, c, t.message), d(), P.value = !0, z.value = (t == null ? void 0 : t.message) || "", e("error", t));
|
|
139
|
+
}, h = (r, s, g) => {
|
|
140
140
|
r == 1 ? (n.value = "success", U.success({
|
|
141
|
-
message: u("business-components_export-success-tip",
|
|
141
|
+
message: u("business-components_export-success-tip", s),
|
|
142
142
|
grouping: !0,
|
|
143
143
|
repeatNum: 1
|
|
144
144
|
}), I.value = "", $.value = "", z.value = "") : r == 2 ? (n.value = "error", U.error({
|
|
145
|
-
message: u("business-components_export-failure-tip",
|
|
145
|
+
message: u("business-components_export-failure-tip", s),
|
|
146
146
|
grouping: !0,
|
|
147
147
|
repeatNum: 1
|
|
148
148
|
})) : r == 3 && (n.value = "error", U.error({
|
|
149
|
-
message: u("business-components_export-partially-failure-tip",
|
|
149
|
+
message: u("business-components_export-partially-failure-tip", s),
|
|
150
150
|
grouping: !0,
|
|
151
151
|
repeatNum: 1
|
|
152
152
|
}));
|
|
@@ -154,23 +154,23 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
154
154
|
return {
|
|
155
155
|
importDialog: m,
|
|
156
156
|
showProgressDialog: p,
|
|
157
|
-
progressTitle:
|
|
157
|
+
progressTitle: l,
|
|
158
158
|
percent: C,
|
|
159
159
|
progressStatus: n,
|
|
160
160
|
progressLoading: v,
|
|
161
|
-
progressResult:
|
|
161
|
+
progressResult: N,
|
|
162
162
|
errorFileName: I,
|
|
163
163
|
errorFileSize: $,
|
|
164
164
|
errorMessage: z,
|
|
165
165
|
errorImport: P,
|
|
166
166
|
errorFilePath: M,
|
|
167
|
-
fileHandleType:
|
|
167
|
+
fileHandleType: _,
|
|
168
168
|
fileImport: A,
|
|
169
169
|
fileExport: O,
|
|
170
170
|
fileAction: R,
|
|
171
171
|
generateUniqueName: (r) => {
|
|
172
|
-
const
|
|
173
|
-
return `${
|
|
172
|
+
const s = r == null ? void 0 : r.match(/(.*?)(\.[^.]*$|$)/), g = s.length ? s[2] : "";
|
|
173
|
+
return `${s.length ? s[1] : r}${te()}${g}`;
|
|
174
174
|
},
|
|
175
175
|
downloadFile: pe,
|
|
176
176
|
resetStataus: E,
|
|
@@ -207,8 +207,8 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
207
207
|
cer: "application/pkix-cert"
|
|
208
208
|
}[m];
|
|
209
209
|
}, pe = (e, m, p = "excel") => {
|
|
210
|
-
const
|
|
211
|
-
|
|
210
|
+
const l = new XMLHttpRequest();
|
|
211
|
+
l.open("get", e), l.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), l.responseType = "blob", l.onload = function(C) {
|
|
212
212
|
const n = new Blob([this.response], {
|
|
213
213
|
type: Se(p)
|
|
214
214
|
}), v = URL.createObjectURL(n);
|
|
@@ -218,49 +218,49 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
218
218
|
const b = document.createElement("a");
|
|
219
219
|
b.href = v, b.download = m, b.click(), window.URL.revokeObjectURL(v);
|
|
220
220
|
}
|
|
221
|
-
},
|
|
221
|
+
}, l.send();
|
|
222
222
|
}, De = (e) => new Promise((m, p) => {
|
|
223
|
-
var
|
|
224
|
-
|
|
223
|
+
var l = new FileReader();
|
|
224
|
+
l.onload = function(C) {
|
|
225
225
|
let n = "";
|
|
226
|
-
typeof
|
|
227
|
-
},
|
|
226
|
+
typeof l.result == "string" && (n = JSON.parse(l.result)), m(n);
|
|
227
|
+
}, l.readAsText(e);
|
|
228
228
|
}), Ue = (e, m) => {
|
|
229
229
|
var g;
|
|
230
230
|
const {
|
|
231
231
|
importDialog: p,
|
|
232
|
-
showProgressDialog:
|
|
232
|
+
showProgressDialog: l,
|
|
233
233
|
progressTitle: C,
|
|
234
234
|
percent: n,
|
|
235
235
|
progressStatus: v,
|
|
236
236
|
progressLoading: b,
|
|
237
|
-
errorFileName:
|
|
237
|
+
errorFileName: N,
|
|
238
238
|
errorFileSize: I,
|
|
239
239
|
errorMessage: $,
|
|
240
240
|
errorImport: z,
|
|
241
241
|
errorFilePath: P,
|
|
242
242
|
fileHandleType: M,
|
|
243
|
-
fileImport:
|
|
244
|
-
fileExport:
|
|
243
|
+
fileImport: F,
|
|
244
|
+
fileExport: _,
|
|
245
245
|
downloadFile: S,
|
|
246
246
|
clearTimer: E
|
|
247
247
|
} = Pe(m);
|
|
248
|
-
let
|
|
248
|
+
let y = k([]), B = (g = Te()) == null ? void 0 : g.tenantId;
|
|
249
249
|
const A = () => {
|
|
250
|
-
|
|
250
|
+
y.value = [], z.value = !1, N.value = "", I.value = "", $.value = "", p.value = !0, P.value = "", m("open");
|
|
251
251
|
};
|
|
252
252
|
let R;
|
|
253
253
|
const O = (a) => {
|
|
254
254
|
const i = e.fileType.split(","), t = a.name.substring(a.name.lastIndexOf(".")), c = T(a.sizeText), w = T(e.fileMaxSize);
|
|
255
255
|
if (!i.includes(t)) {
|
|
256
256
|
U.warning(u("文件格式错误,请重新上传!")), setTimeout(() => {
|
|
257
|
-
|
|
257
|
+
y.value = [];
|
|
258
258
|
});
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
261
|
if (c > w) {
|
|
262
262
|
U.warning(`${u("文件大小不超过")}${e.fileMaxSize}`), setTimeout(() => {
|
|
263
|
-
|
|
263
|
+
y.value = [];
|
|
264
264
|
});
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
@@ -279,33 +279,35 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
279
279
|
}, w = e.importParamsPosition === "params" ? e.importFun("", { params: c }) : e.importFun(c), [x, K] = await w.run();
|
|
280
280
|
return x ? { status: !1 } : { status: !0, taskId: t };
|
|
281
281
|
}, f = async () => {
|
|
282
|
-
if (!
|
|
282
|
+
if (!y.value.length) return U.warning(u("请上传文件"));
|
|
283
283
|
const a = {
|
|
284
284
|
bucketName: e.bucketName,
|
|
285
285
|
importFileName: `${B}/${e.ossName}/${R}`
|
|
286
|
-
}
|
|
287
|
-
|
|
286
|
+
};
|
|
287
|
+
e.maxCount > 1 && (a.importFileName = y.value.map((c) => c.name));
|
|
288
|
+
const i = e.maxCount > 1, t = e.maxCount > 1 ? y.value : y.value[0];
|
|
289
|
+
await F(d, t, a, i);
|
|
288
290
|
}, h = () => {
|
|
289
|
-
S(P.value,
|
|
291
|
+
S(P.value, N.value);
|
|
290
292
|
}, oe = () => {
|
|
291
|
-
|
|
293
|
+
_(r, e.templateName);
|
|
292
294
|
}, r = async () => {
|
|
293
295
|
let a = te();
|
|
294
296
|
const [i, t] = await e.templateFun({ taskId: a }).run();
|
|
295
297
|
return i ? { status: !1 } : { status: !0, taskId: a };
|
|
296
298
|
};
|
|
297
299
|
return {
|
|
298
|
-
showProgressDialog:
|
|
300
|
+
showProgressDialog: l,
|
|
299
301
|
progressTitle: C,
|
|
300
302
|
percent: n,
|
|
301
303
|
progressStatus: v,
|
|
302
304
|
progressLoading: b,
|
|
303
|
-
errorFileName:
|
|
305
|
+
errorFileName: N,
|
|
304
306
|
errorFileSize: I,
|
|
305
307
|
errorMessage: $,
|
|
306
308
|
errorImport: z,
|
|
307
309
|
importDialog: p,
|
|
308
|
-
fileList:
|
|
310
|
+
fileList: y,
|
|
309
311
|
fileHandleType: M,
|
|
310
312
|
showImportHandle: A,
|
|
311
313
|
confirmImport: f,
|
|
@@ -353,30 +355,30 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
353
355
|
},
|
|
354
356
|
emits: ["open", "success", "error"],
|
|
355
357
|
setup(e, { expose: m, emit: p }) {
|
|
356
|
-
const
|
|
358
|
+
const l = e, C = p, n = ve(() => l.btnText ? l.btnText : u("导入")), {
|
|
357
359
|
showProgressDialog: v,
|
|
358
360
|
progressTitle: b,
|
|
359
|
-
percent:
|
|
361
|
+
percent: N,
|
|
360
362
|
progressStatus: I,
|
|
361
363
|
errorFileName: $,
|
|
362
364
|
errorFileSize: z,
|
|
363
365
|
errorMessage: P,
|
|
364
366
|
errorImport: M,
|
|
365
|
-
importDialog:
|
|
366
|
-
fileList:
|
|
367
|
+
importDialog: F,
|
|
368
|
+
fileList: _,
|
|
367
369
|
fileHandleType: S,
|
|
368
370
|
showImportHandle: E,
|
|
369
|
-
confirmImport:
|
|
371
|
+
confirmImport: y,
|
|
370
372
|
fileUpload: B,
|
|
371
373
|
errorFileDownload: A,
|
|
372
374
|
downTemplate: R,
|
|
373
375
|
clearTimer: O
|
|
374
|
-
} = Ue(
|
|
376
|
+
} = Ue(l, C);
|
|
375
377
|
let T;
|
|
376
378
|
return he(S, (d) => {
|
|
377
379
|
d.includes("import") ? T = [u("正在导入中..."), u("导入失败"), u("导入成功")] : T = [u("正在导出中..."), u("导出失败"), u("导出成功")];
|
|
378
380
|
}), m({
|
|
379
|
-
confirmImport:
|
|
381
|
+
confirmImport: y,
|
|
380
382
|
showImportHandle: E
|
|
381
383
|
}), (d, f) => (we(), Ce("div", Me, [
|
|
382
384
|
q("div", {
|
|
@@ -400,11 +402,11 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
400
402
|
})
|
|
401
403
|
], !0)
|
|
402
404
|
]),
|
|
403
|
-
|
|
404
|
-
D(o(
|
|
405
|
+
le(" 导入弹窗 "),
|
|
406
|
+
D(o(se), {
|
|
405
407
|
title: o(L)(d.importDialogName).value,
|
|
406
|
-
modelValue: o(
|
|
407
|
-
"onUpdate:modelValue": f[3] || (f[3] = (h) => Q(
|
|
408
|
+
modelValue: o(F),
|
|
409
|
+
"onUpdate:modelValue": f[3] || (f[3] = (h) => Q(F) ? F.value = h : null),
|
|
408
410
|
customClass: "upload-dialog",
|
|
409
411
|
width: "610px",
|
|
410
412
|
height: "500px"
|
|
@@ -413,7 +415,7 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
413
415
|
q("div", null, [
|
|
414
416
|
D(o(W), {
|
|
415
417
|
size: "middle",
|
|
416
|
-
onClick: f[2] || (f[2] = (h) =>
|
|
418
|
+
onClick: f[2] || (f[2] = (h) => F.value = !1)
|
|
417
419
|
}, {
|
|
418
420
|
default: j(() => [
|
|
419
421
|
Y(
|
|
@@ -428,9 +430,9 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
428
430
|
D(o(W), {
|
|
429
431
|
size: "middle",
|
|
430
432
|
"btn-type": "primary",
|
|
431
|
-
disabled: d.openDisabled && o(
|
|
433
|
+
disabled: d.openDisabled && o(_).length === 0,
|
|
432
434
|
style: { "margin-left": "12px", width: "100%" },
|
|
433
|
-
onClick: o(
|
|
435
|
+
onClick: o(y)
|
|
434
436
|
}, {
|
|
435
437
|
default: j(() => [
|
|
436
438
|
Y(
|
|
@@ -480,8 +482,8 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
480
482
|
])
|
|
481
483
|
], !0),
|
|
482
484
|
D(o(ke), {
|
|
483
|
-
modelValue: o(
|
|
484
|
-
"onUpdate:modelValue": f[1] || (f[1] = (h) => Q(
|
|
485
|
+
modelValue: o(_),
|
|
486
|
+
"onUpdate:modelValue": f[1] || (f[1] = (h) => Q(_) ? _.value = h : null),
|
|
485
487
|
error: o(M),
|
|
486
488
|
"error-file-name": o($),
|
|
487
489
|
"error-file-size": o(z),
|
|
@@ -496,8 +498,8 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
496
498
|
_: 3
|
|
497
499
|
/* FORWARDED */
|
|
498
500
|
}, 8, ["title", "modelValue"]),
|
|
499
|
-
|
|
500
|
-
D(o(
|
|
501
|
+
le(" 进度弹窗 "),
|
|
502
|
+
D(o(se), {
|
|
501
503
|
size: "mini",
|
|
502
504
|
title: o(L)(o(b)).value,
|
|
503
505
|
"is-feedback-img": !1,
|
|
@@ -508,8 +510,8 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
508
510
|
}, {
|
|
509
511
|
default: j(() => [
|
|
510
512
|
D(o(be), {
|
|
511
|
-
modelValue: o(
|
|
512
|
-
"onUpdate:modelValue": f[4] || (f[4] = (h) => Q(
|
|
513
|
+
modelValue: o(N),
|
|
514
|
+
"onUpdate:modelValue": f[4] || (f[4] = (h) => Q(N) ? N.value = h : null),
|
|
513
515
|
style: { "margin-top": "35px" },
|
|
514
516
|
type: "circle",
|
|
515
517
|
status: o(I),
|
|
@@ -523,8 +525,8 @@ const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
523
525
|
}
|
|
524
526
|
}), Re = (e, m) => {
|
|
525
527
|
const p = e.__vccOpts || e;
|
|
526
|
-
for (const [
|
|
527
|
-
p[
|
|
528
|
+
for (const [l, C] of m)
|
|
529
|
+
p[l] = C;
|
|
528
530
|
return p;
|
|
529
531
|
}, Ve = /* @__PURE__ */ Re(Be, [["__scopeId", "data-v-89d6ab48"]]), He = {
|
|
530
532
|
"1、点击下载 ": { "zh-CN": "1、点击下载 ", en: "1、Click to Download ", _appCode: "framework" },
|
|
Binary file
|
|
@@ -475,7 +475,8 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
475
475
|
label: v.setting.desc,
|
|
476
476
|
type: "custom",
|
|
477
477
|
helpMessage: d.value,
|
|
478
|
-
required: m.value
|
|
478
|
+
required: m.value,
|
|
479
|
+
col: e.span
|
|
479
480
|
}, {
|
|
480
481
|
default: z(() => [
|
|
481
482
|
je("div", ua, [
|
|
@@ -503,14 +504,14 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
503
504
|
]),
|
|
504
505
|
_: 1
|
|
505
506
|
/* STABLE */
|
|
506
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
|
|
507
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : q("v-if", !0);
|
|
507
508
|
}
|
|
508
509
|
}), fe = (n, e) => {
|
|
509
510
|
const t = n.__vccOpts || n;
|
|
510
511
|
for (const [s, g] of e)
|
|
511
512
|
t[s] = g;
|
|
512
513
|
return t;
|
|
513
|
-
}, ca = /* @__PURE__ */ fe(da, [["__scopeId", "data-v-
|
|
514
|
+
}, ca = /* @__PURE__ */ fe(da, [["__scopeId", "data-v-e8827dc9"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
514
515
|
__proto__: null,
|
|
515
516
|
default: ca
|
|
516
517
|
}, Symbol.toStringTag, { value: "Module" })), ga = (n) => {
|
|
@@ -1726,7 +1727,8 @@ const fa = (n, e) => {
|
|
|
1726
1727
|
label: _.setting.desc,
|
|
1727
1728
|
type: "custom",
|
|
1728
1729
|
helpMessage: d.value,
|
|
1729
|
-
required: m.value
|
|
1730
|
+
required: m.value,
|
|
1731
|
+
col: e.span
|
|
1730
1732
|
}, {
|
|
1731
1733
|
default: z(() => [
|
|
1732
1734
|
r.value ? (V(), U("div", Ta, [
|
|
@@ -1741,9 +1743,9 @@ const fa = (n, e) => {
|
|
|
1741
1743
|
]),
|
|
1742
1744
|
_: 1
|
|
1743
1745
|
/* STABLE */
|
|
1744
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
|
|
1746
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : q("v-if", !0);
|
|
1745
1747
|
}
|
|
1746
|
-
}), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-
|
|
1748
|
+
}), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-cf5444de"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1747
1749
|
__proto__: null,
|
|
1748
1750
|
default: Fa
|
|
1749
1751
|
}, Symbol.toStringTag, { value: "Module" })), Ia = {
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-image[data-v-
|
|
1
|
+
.form-image[data-v-e8827dc9]{background:#fff;margin:10px 0 30px}.table-search-process-top[data-v-b7997f4c]{display:flex;justify-content:space-between;align-items:center;margin:0 14px 6px}.table-search-process-top .left-box[data-v-b7997f4c]{display:flex;align-items:center}.form-image[data-v-cf5444de]{background:#fff;margin:10px 0 30px}.accordion-layout{width:100%}.accordion-layout .grid-layout{padding:0}.custom-page[data-v-c3b8808e]{display:flex;flex-direction:column;background-color:#e2e7ef}.custom-page .btn-box[data-v-c3b8808e]{background-color:#fff;height:48px;line-height:48px;padding-left:18px}.custom-page .content-box[data-v-c3b8808e]{flex:1;min-height:0}
|
|
@@ -1752,7 +1752,15 @@ const tu = (t, r, a) => {
|
|
|
1752
1752
|
}, ha = (y, h) => {
|
|
1753
1753
|
window.inTextTooltip || (y.isEdit = !1);
|
|
1754
1754
|
}, fa = () => ce(c.value).map((h) => {
|
|
1755
|
-
const e = [
|
|
1755
|
+
const e = [
|
|
1756
|
+
"$uuidKey",
|
|
1757
|
+
"isFocus",
|
|
1758
|
+
"isEdit",
|
|
1759
|
+
"isError",
|
|
1760
|
+
"treeSelectRenderDom",
|
|
1761
|
+
"autocompleteRenderDom",
|
|
1762
|
+
"undefined"
|
|
1763
|
+
];
|
|
1756
1764
|
return Object.keys(h).reduce((v, s) => (e.includes(s) || (v[s] = h[s]), v), {});
|
|
1757
1765
|
}), va = (y, h, e = "after") => {
|
|
1758
1766
|
L();
|
|
Binary file
|