act-plus 1.1.43 → 1.1.44
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/act-plus.js +1 -1
- package/act-plus.umd.cjs +61 -61
- package/lib/{dialogAddField-cb29b0f1.js → dialogAddField-7f034dbc.js} +360 -398
- package/lib/{dialogConfigBtn-0940f876.js → dialogConfigBtn-8d068d2d.js} +2 -2
- package/lib/{dialogSiteComponentsParams-094ce600.js → dialogSiteComponentsParams-a46b4c82.js} +1 -1
- package/lib/index-16e2c7e5.js +283 -0
- package/lib/index-43425404.js +408 -0
- package/lib/{index-6818b5e9.js → index-4e6030dd.js} +11120 -11124
- package/lib/{index-bd53c805.js → index-8c31400c.js} +1 -1
- package/lib/{index-5d5f6688.js → index-ae4aa026.js} +1 -1
- package/lib/{index-867cfc28.js → index-d4f84e7d.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-5b657a7e.js +0 -253
- package/lib/index-71af858d.js +0 -404
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive as m, watch as b, resolveComponent as s, openBlock as v, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
|
|
2
|
-
import { _ as k, u as w } from "./index-
|
|
2
|
+
import { _ as k, u as w } from "./index-4e6030dd.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as d, watch as h, resolveComponent as m, openBlock as r, createElementBlock as _, createVNode as v, unref as u, isRef as w, withCtx as f, createElementVNode as g, createBlock as C, createCommentVNode as N, createTextVNode as $, Fragment as B, renderList as E, normalizeClass as L } from "vue";
|
|
2
|
-
import { _ as P } from "./index-
|
|
2
|
+
import { _ as P } from "./index-4e6030dd.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as j, inject as l, watch as q, resolveComponent as y, resolveDirective as O, openBlock as a, createElementBlock as u, Fragment as f, renderList as E, unref as d, createBlock as i, resolveDynamicComponent as H, withCtx as _, withDirectives as C, createCommentVNode as b, createTextVNode as k, toDisplayString as B } from "vue";
|
|
2
|
-
import { _ as M, u as z } from "./index-
|
|
2
|
+
import { _ as M, u as z } from "./index-4e6030dd.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-
|
|
1
|
+
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.month-range .el-date-range-picker{width:320px}.month-range .el-date-range-picker .el-picker-panel__body{min-width:320px}.month-range .is-left{width:100%}.month-range .el-date-range-picker__header,.month-range .is-right{display:none}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-3470fb6b] .el-empty__image{width:100%}.table-link[data-v-3470fb6b]{cursor:pointer;color:#409eff;text-decoration:underline}.file-image[data-v-3470fb6b]{display:block;width:32px;height:32px;margin:0 auto;border-radius:4px;line-height:32px!important}.no-image[data-v-3470fb6b]{width:100%;height:100%;font-size:12px;background-color:#f5f7fa}.act-module[data-v-3470fb6b]{padding:0;margin:0;border:none}.add-icon-btn[data-v-ada54450]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-ada54450]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-ada54450]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-ada54450]{cursor:pointer;width:12px;height:12px}.card-header[data-v-3e5e9347]{display:flex;align-items:center}.card-header -operate[data-v-3e5e9347]{margin-left:auto}.form-list[data-v-3e5e9347]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-3e5e9347]:last-child{border:none}.config-list-operate[data-v-3e5e9347]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-64426d42]{display:flex;align-items:center}.card-header-operate[data-v-64426d42]{margin-left:auto}.form-list[data-v-64426d42]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-64426d42]:last-child{border:none}.config-list-operate[data-v-64426d42]{display:flex;align-items:center;justify-content:flex-end}[data-v-64426d42] .el-badge__content.is-fixed{transform:translateY(-50%) translate(100%) scale(.7)}.submit-operate[data-v-c63f456e]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-c63f456e]{cursor:pointer;width:20px;height:20px}.page-container[data-v-4ec549a6]{position:relative}.page-container .header-operate[data-v-4ec549a6]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-4ec549a6]{display:flex;align-items:center;justify-content:space-between}.page-container .submit-box-r[data-v-4ec549a6]{display:flex;align-items:center}.page-container .submit-box-r .menu-select[data-v-4ec549a6]{width:360px;margin:0 24px}.act-table .table-pagination[data-v-92f0fcb4]{padding:12px 4px;justify-content:flex-end}.tox-tinymce-aux{z-index:99999!important}.tinymce.ui.FloatPanel{z-index:99}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#a8abb2}.upload-container[data-v-f839bee6]{width:100%}.upload-container[data-v-f839bee6] .el-upload-list--picture-card{display:flex;flex:1}.upload-container[data-v-f839bee6] .el-upload.is-drag{width:100%;height:100%}.upload-container .tip-text[data-v-f839bee6]{margin:0;padding:0;font-size:12px;color:#999}.upload-container .file-list[data-v-f839bee6]{display:flex;align-items:center;justify-content:space-between;margin:6px 0;padding:6px 12px;font-size:14px;border-radius:4px;border:1px solid #dcdfe6}.upload-container .file-list[data-v-f839bee6]:hover{cursor:pointer;opacity:.8}.upload-container .file-list:hover .el-file-name[data-v-f839bee6]{text-decoration:underline}.upload-container .file-list-l[data-v-f839bee6]{display:flex;align-items:center;flex:1;width:500px}.upload-container .file-list-image[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px;border-radius:4px}.upload-container .file-list-icon[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px}.upload-container .file-list .el-file-name[data-v-f839bee6]{flex:1;padding:0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-container .file-list .el-file-operate[data-v-f839bee6]{display:flex;justify-content:flex-end;flex-shrink:0;min-width:82px;margin-left:auto}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]{cursor:pointer;margin-left:12px}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]:hover{opacity:.8}.search-module-container[data-v-48cac85a] .el-form-item{margin-bottom:8px}.search-module-container[data-v-48cac85a] .el-select__selection{flex-wrap:nowrap}.search-module-container .form-content[data-v-48cac85a]{display:grid;grid-template-columns:repeat(var(--table-query-row),1fr);gap:6px;padding:6px 6px 0}.search-module-container .form-content .search-form-btn[data-v-48cac85a]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row);grid-column-end:var(--table-query-row)}.search-module-container .expand[data-v-48cac85a]{display:flex;margin:0 auto;color:#a4a2a2}.header-operate-container[data-v-7d9574aa]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-7d9574aa]{margin:6px}.no-config[data-v-89469827]{line-height:32px;font-weight:700}.no-config-field[data-v-89469827]{color:red}.card-header[data-v-be1c5be6]{display:flex;align-items:center}.card-header-operate[data-v-be1c5be6]{margin-left:auto}.add-icon-btn[data-v-75eab9b4]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-75eab9b4]{display:flex;justify-content:center}.condition-box[data-v-75eab9b4] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-75eab9b4]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-75eab9b4]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-9133e0b0]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-9133e0b0]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-9133e0b0]{cursor:pointer;width:20px;height:20px}.select-icon-popover .icon-list{display:grid;grid-template-columns:repeat(8,1fr)}.select-icon-popover .icon-list .icon-item{display:flex;align-items:center;justify-content:center;margin:4px 0;border:1px solid transparent}.select-icon-popover .icon-list .icon-item .icon-svg{cursor:pointer}.select-icon-popover .icon-list .icon-item-checked{border:1px solid #000}.select-icon-container .icon-value[data-v-308d02d4]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-308d02d4]{margin-left:12px}
|
package/lib/index-5b657a7e.js
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, inject as x, ref as R, watch as le, resolveComponent as i, resolveDirective as ae, unref as l, openBlock as n, createElementBlock as $, createVNode as te, normalizeStyle as oe, withCtx as h, Fragment as E, renderList as D, withDirectives as z, createBlock as u, mergeProps as m, withKeys as A, withModifiers as F, createCommentVNode as g, vShow as re, createTextVNode as Y, toDisplayString as B } from "vue";
|
|
2
|
-
import { _ as ne, u as se, P as ue, a as de, b as pe } from "./index-6818b5e9.js";
|
|
3
|
-
import "vue-router";
|
|
4
|
-
import "js-base64";
|
|
5
|
-
import "element-plus";
|
|
6
|
-
import "monaco-editor";
|
|
7
|
-
const ie = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "search-module-container"
|
|
10
|
-
}, ce = {
|
|
11
|
-
__name: "index",
|
|
12
|
-
props: {
|
|
13
|
-
data: { type: Object, default: () => ({}) }
|
|
14
|
-
},
|
|
15
|
-
emits: ["reset", "search"],
|
|
16
|
-
setup(H, { emit: W }) {
|
|
17
|
-
const j = ee(() => import("./index-6818b5e9.js").then((o) => o.t)), { t: d } = se(), I = x("request"), p = x("getFieldUiProps"), L = x("formatDataType"), M = W, _ = H;
|
|
18
|
-
let f = R([]), O = R([]), C = R(!0);
|
|
19
|
-
const K = (o) => _.data.tableConfig.isExpandQuery && C.value ? _.data.tableConfig.tableQueryRowWidth > o + 1 : !0, G = (o) => {
|
|
20
|
-
f.value = (o || []).filter((t) => t.useScenes.includes("tableSearch"));
|
|
21
|
-
}, J = (o) => {
|
|
22
|
-
const t = (o || []).filter((r) => r.permissionCode === 1001).map((r) => ({ ...r, loading: !1 }));
|
|
23
|
-
O.value = [...t, { btnName: d("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset", loading: !1 }];
|
|
24
|
-
}, X = async ({ node: o, resolve: t }, r) => {
|
|
25
|
-
const b = p(r), { label: w, value: U, children: Q, isLeaf: q } = { ...pe, ...b.treeProps || {} };
|
|
26
|
-
if (o[q])
|
|
27
|
-
return t([]);
|
|
28
|
-
const v = r.postRequestParams.filter((s) => s.submitType === "default").reduce((s, V) => (s[V.submitName] = L(V.paramsType, V.submitValue), s), {}), k = r.postRequestParams.filter((s) => s.submitType === "dynamic").map((s) => ({
|
|
29
|
-
field: s.submitName,
|
|
30
|
-
operate: s.submitMatchType,
|
|
31
|
-
value: b.loadCode ? o == null ? void 0 : o.data.value : L(s.paramsType, s.submitValue)
|
|
32
|
-
}));
|
|
33
|
-
let y = {};
|
|
34
|
-
Object.keys(v).length && (y = { ...y, ...v }), k.length && (y.dynamicFilters = k), b.loadCode && Reflect.has(y, b.loadCode) && (y[b.loadCode] = o == null ? void 0 : o.data.value);
|
|
35
|
-
const { data: T } = await I({
|
|
36
|
-
url: r.fieldRequestUrl,
|
|
37
|
-
method: r.fieldRequestType || "GET",
|
|
38
|
-
data: y
|
|
39
|
-
}), S = (T || []).map((s) => ({ label: s[w], value: s[U], children: [], isLeaf: s[q] }));
|
|
40
|
-
t(S);
|
|
41
|
-
};
|
|
42
|
-
le(
|
|
43
|
-
() => _.data,
|
|
44
|
-
(o, t) => {
|
|
45
|
-
G(o.fields), J(o.buttons);
|
|
46
|
-
},
|
|
47
|
-
{ immediate: !0 }
|
|
48
|
-
);
|
|
49
|
-
const c = (o) => {
|
|
50
|
-
switch (o.loading = !0, o.permissionCode) {
|
|
51
|
-
case "9999":
|
|
52
|
-
f.value.forEach((r) => {
|
|
53
|
-
r.fieldType.includes("&") ? r.queryValue = [] : r.queryValue = void 0;
|
|
54
|
-
}), M("reset", [], () => {
|
|
55
|
-
o.loading = !1;
|
|
56
|
-
});
|
|
57
|
-
break;
|
|
58
|
-
default:
|
|
59
|
-
const t = f.value.filter((r) => Array.isArray(r.queryValue) ? r.queryValue.length : !!r.queryValue);
|
|
60
|
-
M("search", t, () => {
|
|
61
|
-
o.loading = !1;
|
|
62
|
-
});
|
|
63
|
-
break;
|
|
64
|
-
}
|
|
65
|
-
}, Z = () => {
|
|
66
|
-
C.value = !C.value;
|
|
67
|
-
};
|
|
68
|
-
return (o, t) => {
|
|
69
|
-
var V;
|
|
70
|
-
const r = i("el-input"), b = i("el-option"), w = i("el-select"), U = i("el-select-v2"), Q = i("el-cascader"), q = i("el-tree-select"), v = i("el-date-picker"), k = i("el-form-item"), y = i("a-svg-icon"), T = i("el-button"), S = i("el-form"), s = ae("debounce");
|
|
71
|
-
return l(f) && l(f).length ? (n(), $("div", ie, [
|
|
72
|
-
te(S, {
|
|
73
|
-
style: oe({ "--table-query-row": _.data.tableConfig.tableQueryRowWidth }),
|
|
74
|
-
class: "form-content",
|
|
75
|
-
ref: "elForm",
|
|
76
|
-
"label-suffix": ":",
|
|
77
|
-
"label-position": "right"
|
|
78
|
-
}, {
|
|
79
|
-
default: h(() => [
|
|
80
|
-
(n(!0), $(E, null, D(l(f), (e, P) => z((n(), u(k, {
|
|
81
|
-
key: P,
|
|
82
|
-
class: "search-form-item",
|
|
83
|
-
"label-width": _.data.tableConfig.tableQueryLabelWidth,
|
|
84
|
-
label: e.fieldName
|
|
85
|
-
}, {
|
|
86
|
-
default: h(() => [
|
|
87
|
-
e.fieldType === "input" || e.fieldType === "editor" ? (n(), u(r, m({
|
|
88
|
-
key: 0,
|
|
89
|
-
modelValue: e.queryValue,
|
|
90
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
91
|
-
placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
|
|
92
|
-
clearable: "",
|
|
93
|
-
ref_for: !0
|
|
94
|
-
}, l(p)(e), {
|
|
95
|
-
onKeyup: t[0] || (t[0] = A(F((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"]))
|
|
96
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : g("", !0),
|
|
97
|
-
e.fieldType === "inputNumber" ? (n(), u(l(j), m({
|
|
98
|
-
key: 1,
|
|
99
|
-
modelValue: e.queryValue,
|
|
100
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
101
|
-
placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
|
|
102
|
-
clearable: "",
|
|
103
|
-
onKeyup: t[1] || (t[1] = A(F((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
104
|
-
ref_for: !0
|
|
105
|
-
}, l(p)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (n(), u(w, m({
|
|
106
|
-
key: 2,
|
|
107
|
-
modelValue: e.queryValue,
|
|
108
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
109
|
-
placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
|
|
110
|
-
clearable: "",
|
|
111
|
-
filterable: "",
|
|
112
|
-
ref_for: !0
|
|
113
|
-
}, l(p)(e), {
|
|
114
|
-
multiple: e.fieldType === "multipleSelect",
|
|
115
|
-
"collapse-tags": e.fieldType === "multipleSelect",
|
|
116
|
-
"collapse-tags-tooltip": e.fieldType === "multipleSelect",
|
|
117
|
-
onChange: t[2] || (t[2] = (a) => c({ permissionCode: 1001 }))
|
|
118
|
-
}), {
|
|
119
|
-
default: h(() => [
|
|
120
|
-
(n(!0), $(E, null, D(e.dataList, (a, N) => (n(), u(b, {
|
|
121
|
-
key: N,
|
|
122
|
-
label: a.key,
|
|
123
|
-
value: a.value
|
|
124
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
125
|
-
]),
|
|
126
|
-
_: 2
|
|
127
|
-
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (n(), u(U, m({
|
|
128
|
-
key: 3,
|
|
129
|
-
modelValue: e.queryValue,
|
|
130
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
131
|
-
options: e.dataList,
|
|
132
|
-
props: { ...l(ue) },
|
|
133
|
-
placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
|
|
134
|
-
clearable: "",
|
|
135
|
-
filterable: "",
|
|
136
|
-
ref_for: !0
|
|
137
|
-
}, l(p)(e), {
|
|
138
|
-
"collapse-tags": e.fieldType === "virtualizedMultipleSelect",
|
|
139
|
-
"collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
|
|
140
|
-
multiple: e.fieldType === "virtualizedMultipleSelect",
|
|
141
|
-
onChange: t[3] || (t[3] = (a) => c({ permissionCode: 1001 }))
|
|
142
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (n(), u(Q, m({
|
|
143
|
-
key: 4,
|
|
144
|
-
modelValue: e.queryValue,
|
|
145
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
146
|
-
options: e.dataList,
|
|
147
|
-
props: { ...l(de) },
|
|
148
|
-
clearable: "",
|
|
149
|
-
filterable: "",
|
|
150
|
-
placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
|
|
151
|
-
ref_for: !0
|
|
152
|
-
}, l(p)(e), {
|
|
153
|
-
onChange: t[4] || (t[4] = (a) => c({ permissionCode: 1001 }))
|
|
154
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "treeSelect" ? (n(), u(q, m({
|
|
155
|
-
key: 5,
|
|
156
|
-
modelValue: e.queryValue,
|
|
157
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
158
|
-
placeholder: `请选择${e.fieldName}`,
|
|
159
|
-
props: { isLeaf: "isLeaf" },
|
|
160
|
-
"render-after-expand": !1,
|
|
161
|
-
"collapse-tags": "",
|
|
162
|
-
"collapse-tags-tooltip": "",
|
|
163
|
-
multiple: "",
|
|
164
|
-
"show-checkbox": "",
|
|
165
|
-
clearable: "",
|
|
166
|
-
filterable: "",
|
|
167
|
-
lazy: "",
|
|
168
|
-
load: (a, N) => X({ node: a, resolve: N }, e),
|
|
169
|
-
ref_for: !0
|
|
170
|
-
}, l(p)(e), {
|
|
171
|
-
onChange: t[5] || (t[5] = (a) => c({ permissionCode: 1001 }))
|
|
172
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (n(), u(v, m({
|
|
173
|
-
key: 6,
|
|
174
|
-
modelValue: e.queryValue,
|
|
175
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
176
|
-
type: "date",
|
|
177
|
-
placeholder: `${l(d)("act.selectPlaceholder")}${l(d)("act.time")}`,
|
|
178
|
-
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
179
|
-
ref_for: !0
|
|
180
|
-
}, l(p)(e), {
|
|
181
|
-
"value-key": l(p)(e).value,
|
|
182
|
-
"node-key": l(p)(e).value,
|
|
183
|
-
onChange: t[6] || (t[6] = (a) => c({ permissionCode: 1001 }))
|
|
184
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "value-key", "node-key"])) : e.fieldType === "dateRange" ? (n(), u(v, m({
|
|
185
|
-
key: 7,
|
|
186
|
-
modelValue: e.queryValue,
|
|
187
|
-
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
188
|
-
type: "daterange",
|
|
189
|
-
"start-placeholder": l(d)("act.startTime"),
|
|
190
|
-
"end-placeholder": l(d)("act.endTime"),
|
|
191
|
-
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
192
|
-
ref_for: !0
|
|
193
|
-
}, l(p)(e), {
|
|
194
|
-
onChange: t[7] || (t[7] = (a) => c({ permissionCode: 1001 }))
|
|
195
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder"])) : g("", !0)
|
|
196
|
-
]),
|
|
197
|
-
_: 2
|
|
198
|
-
}, 1032, ["label-width", "label"])), [
|
|
199
|
-
[re, K(P)]
|
|
200
|
-
])), 128)),
|
|
201
|
-
l(f).length ? (n(), u(k, {
|
|
202
|
-
key: 0,
|
|
203
|
-
class: "search-form-btn",
|
|
204
|
-
"label-width": "0"
|
|
205
|
-
}, {
|
|
206
|
-
default: h(() => [
|
|
207
|
-
(n(!0), $(E, null, D(l(O), (e, P) => z((n(), u(T, {
|
|
208
|
-
key: P,
|
|
209
|
-
type: e.btnColor,
|
|
210
|
-
loading: e.loading,
|
|
211
|
-
onClick: (a) => c(e)
|
|
212
|
-
}, {
|
|
213
|
-
default: h(() => [
|
|
214
|
-
e.btnIcon ? (n(), u(y, {
|
|
215
|
-
key: 0,
|
|
216
|
-
class: "mr6",
|
|
217
|
-
name: e.btnIcon,
|
|
218
|
-
width: "12",
|
|
219
|
-
height: "12",
|
|
220
|
-
color: "#fff"
|
|
221
|
-
}, null, 8, ["name"])) : g("", !0),
|
|
222
|
-
Y(" " + B(e.btnName), 1)
|
|
223
|
-
]),
|
|
224
|
-
_: 2
|
|
225
|
-
}, 1032, ["type", "loading", "onClick"])), [
|
|
226
|
-
[s]
|
|
227
|
-
])), 128))
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
})) : g("", !0)
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
}, 8, ["style"]),
|
|
234
|
-
_.data.tableConfig.isExpandQuery && ((V = l(f)) == null ? void 0 : V.length) > _.data.tableConfig.tableQueryRowWidth ? (n(), u(T, {
|
|
235
|
-
key: 0,
|
|
236
|
-
class: "expand",
|
|
237
|
-
text: "",
|
|
238
|
-
size: "small",
|
|
239
|
-
icon: l(C) ? "ArrowDown" : "ArrowUp",
|
|
240
|
-
onClick: Z
|
|
241
|
-
}, {
|
|
242
|
-
default: h(() => [
|
|
243
|
-
Y(B(l(C) ? l(d)("act.expand") : l(d)("act.retract")), 1)
|
|
244
|
-
]),
|
|
245
|
-
_: 1
|
|
246
|
-
}, 8, ["icon"])) : g("", !0)
|
|
247
|
-
])) : g("", !0);
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
}, he = /* @__PURE__ */ ne(ce, [["__scopeId", "data-v-e748430f"]]);
|
|
251
|
-
export {
|
|
252
|
-
he as default
|
|
253
|
-
};
|