act-plus 1.1.16 → 1.1.17
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 +14 -14
- package/lib/{configBtns-f6b155be.js → configBtns-5c0c571a.js} +42 -42
- package/lib/{configFileds-24172348.js → configFileds-af5746ba.js} +56 -56
- package/lib/{configTable-f2695bd5.js → configTable-dc80e75f.js} +1 -1
- package/lib/{dialogAddField-a0ed90e9.js → dialogAddField-ea60ac76.js} +3 -3
- package/lib/{dialogConfigBtn-5585756e.js → dialogConfigBtn-21ed4fe8.js} +171 -132
- package/lib/{index-a1b4f8cb.js → index-0b43bd9e.js} +3 -9
- package/lib/{index-17921aea.js → index-79be1a81.js} +1 -1
- package/lib/{index-ff034542.js → index-b2a578b2.js} +137 -131
- package/lib/{index-9755aee8.js → index-be1932a3.js} +1 -1
- package/lib/{index-277c5a07.js → index-c688d160.js} +1 -1
- package/lib/{index-452d8552.js → index-ece3e815.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/dashboardTest-b3195aa2.js +0 -10
|
@@ -5302,13 +5302,7 @@ De.default = De;
|
|
|
5302
5302
|
const du = De, kt = rn.createRouter({
|
|
5303
5303
|
history: rn.createWebHashHistory(),
|
|
5304
5304
|
scrollBehavior: () => ({ top: 0, left: 0 }),
|
|
5305
|
-
routes: [
|
|
5306
|
-
{
|
|
5307
|
-
path: "/",
|
|
5308
|
-
component: () => import("./dashboardTest-b3195aa2.js"),
|
|
5309
|
-
children: []
|
|
5310
|
-
}
|
|
5311
|
-
]
|
|
5305
|
+
routes: [{}]
|
|
5312
5306
|
}), pu = [];
|
|
5313
5307
|
kt.beforeEach(async (e, t, n) => {
|
|
5314
5308
|
n();
|
|
@@ -10413,7 +10407,7 @@ const Ws = (e, t) => {
|
|
|
10413
10407
|
},
|
|
10414
10408
|
emits: ["onClickRow", "refresh"],
|
|
10415
10409
|
setup(e, { emit: t }) {
|
|
10416
|
-
const n = tt(() => import("./index-
|
|
10410
|
+
const n = tt(() => import("./index-c688d160.js")), r = tt(() => import("./index-be1932a3.js")), a = tt(() => import("./index-79be1a81.js")), s = tt(() => import("./index-b2a578b2.js")), { t: o } = f0(), i = Pa("actModules"), u = Ha(), c = Va(), l = t, E = e, f = () => ({
|
|
10417
10411
|
pageLoading: !1,
|
|
10418
10412
|
tableLoading: !1,
|
|
10419
10413
|
tableTotal: 0,
|
|
@@ -10913,7 +10907,7 @@ const nf = { class: "page-container" }, af = { class: "submit-box" }, sf = {
|
|
|
10913
10907
|
id: { type: String, default: void 0 }
|
|
10914
10908
|
},
|
|
10915
10909
|
setup(e) {
|
|
10916
|
-
const t = tt(() => import("./configForm-b9e9ca98.js")), n = tt(() => import("./configTable-
|
|
10910
|
+
const t = tt(() => import("./configForm-b9e9ca98.js")), n = tt(() => import("./configTable-dc80e75f.js")), r = tt(() => import("./configBtns-5c0c571a.js")), a = tt(() => import("./configFileds-af5746ba.js")), s = Ha(), o = Va(), i = e;
|
|
10917
10911
|
let u = i.id ?? void 0, c = i.pageKey ? i.pageKey : s.params.key, l = ye([]), E = ye(), f = ye([]), _ = ye({}), h = ye(null), g = ye(null), v = ye(null), m = ye({}), x = ye({}), d = ye([]), p = ye([]), A = cr({
|
|
10918
10912
|
pageLoading: !1,
|
|
10919
10913
|
btnLoading: !1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as R, inject as l, watch as j, resolveComponent as g, openBlock as s, createElementBlock as m, Fragment as y, renderList as q, unref as f, createBlock as c, resolveDynamicComponent as A, withCtx as _, createVNode as O, createCommentVNode as i, createTextVNode as B, toDisplayString as k } from "vue";
|
|
2
|
-
import { _ as E } from "./index-
|
|
2
|
+
import { _ as E } from "./index-0b43bd9e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const H = { class: "header-operate-container" }, M = {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import { a as
|
|
3
|
-
import { ElMessage as
|
|
1
|
+
import { inject as R, reactive as de, ref as x, watch as re, resolveComponent as y, openBlock as i, createBlock as p, withCtx as h, createElementVNode as z, createVNode as T, unref as l, createTextVNode as L, toDisplayString as D, createElementBlock as V, Fragment as w, renderList as $, createCommentVNode as ie, resolveDynamicComponent as ne, isRef as ce, toRaw as ue } from "vue";
|
|
2
|
+
import { a as fe, e as pe, r as me, b as ye, _ as be, u as he, T as J, P as _e } from "./index-0b43bd9e.js";
|
|
3
|
+
import { ElMessage as G, ElNotification as ge } from "element-plus";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
const
|
|
5
|
+
const A = fe.create({
|
|
6
6
|
baseURL: "",
|
|
7
7
|
// ""
|
|
8
8
|
timeout: 15e3
|
|
9
9
|
});
|
|
10
|
-
|
|
11
|
-
(
|
|
10
|
+
A.interceptors.request.use(
|
|
11
|
+
(d) => {
|
|
12
12
|
let b = sessionStorage.getItem("accessToken");
|
|
13
|
-
return b && (
|
|
13
|
+
return b && (d.headers.Authorization = "Bearer " + b), d.headers["Content-Type"] != "application/x-www-form-urlencoded" && (d.data = { ...d.data }, Reflect.has(d.data, "dynamicFilters") && (d.data.dynamicFilters = pe(JSON.stringify(d.data.dynamicFilters)))), d;
|
|
14
14
|
},
|
|
15
|
-
(
|
|
15
|
+
(d) => Promise.reject(d)
|
|
16
16
|
);
|
|
17
|
-
|
|
18
|
-
(
|
|
19
|
-
const b =
|
|
17
|
+
A.interceptors.response.use(
|
|
18
|
+
(d) => {
|
|
19
|
+
const b = d.data;
|
|
20
20
|
if (b.code == 200)
|
|
21
21
|
return b;
|
|
22
22
|
if (b.code == 401)
|
|
23
|
-
sessionStorage.clear(),
|
|
23
|
+
sessionStorage.clear(), me.replace("/"), ye(), G.error({ title: "错误", message: "登陆超时,请重新登录" });
|
|
24
24
|
else
|
|
25
|
-
return
|
|
25
|
+
return G.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
|
|
26
26
|
},
|
|
27
|
-
(
|
|
28
|
-
if (
|
|
29
|
-
return Promise.reject(
|
|
27
|
+
(d) => {
|
|
28
|
+
if (d.response.status != -1)
|
|
29
|
+
return Promise.reject(d);
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
|
-
const
|
|
32
|
+
const Fe = { class: "no-config-field" }, Ce = { class: "dialog-footer" }, Ve = {
|
|
33
33
|
__name: "index",
|
|
34
34
|
props: {
|
|
35
35
|
visible: { type: Boolean, default: !1 },
|
|
@@ -37,236 +37,242 @@ const he = { class: "no-config-field" }, ge = { class: "dialog-footer" }, Ce = {
|
|
|
37
37
|
data: { type: Object, default: () => ({}) }
|
|
38
38
|
},
|
|
39
39
|
emits: ["update:visible", "refresh"],
|
|
40
|
-
setup(
|
|
41
|
-
const { t:
|
|
40
|
+
setup(d, { emit: b }) {
|
|
41
|
+
const { t: c } = he(), H = R("loadComponents"), O = R("formatDataType"), E = R("globalProps"), M = b, u = d;
|
|
42
42
|
let F = de((() => ({
|
|
43
43
|
btnLoading: !1
|
|
44
|
-
}))()),
|
|
45
|
-
const
|
|
44
|
+
}))()), K = x([]), o = x({}), k = x(null), Q = {};
|
|
45
|
+
const X = (a) => a.formColumnCol == null || a.customFiledsComponentes[a.customFiledsComponentes.customComponentName] ? 24 : a.formColumnCol ? a.formColumnCol : 24 / a.formRow, Y = (a) => {
|
|
46
46
|
if (["input", "textarea"].includes(a.fieldType))
|
|
47
47
|
return "blur";
|
|
48
48
|
if (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(a.fieldType))
|
|
49
49
|
return "change";
|
|
50
|
-
},
|
|
50
|
+
}, Z = (a) => {
|
|
51
51
|
if (!["input", "textarea"].includes(a) && ["multipleSelect", "dateRange"].includes(a))
|
|
52
52
|
return [];
|
|
53
|
-
},
|
|
54
|
-
if (["string"].includes(
|
|
53
|
+
}, I = (a, m) => {
|
|
54
|
+
if (["string"].includes(m))
|
|
55
55
|
return a.join(";");
|
|
56
|
-
if (["number"].includes(
|
|
56
|
+
if (["number"].includes(m))
|
|
57
57
|
return Number(a);
|
|
58
|
-
if (["array"].includes(
|
|
58
|
+
if (["array"].includes(m))
|
|
59
59
|
return a;
|
|
60
|
-
},
|
|
60
|
+
}, ee = (a) => {
|
|
61
61
|
if (["multipleSelect"].includes(a.fieldType))
|
|
62
|
-
return
|
|
62
|
+
return u.data.rowData[a.fieldKey] ? u.data.rowData[a.fieldKey].split(";") : [];
|
|
63
63
|
if (["dateRange"].includes(a.fieldType)) {
|
|
64
|
-
const
|
|
65
|
-
return
|
|
64
|
+
const m = a.fieldKey.split("&");
|
|
65
|
+
return u.data.rowData[a.fieldKey] = m.map((n) => u.data.rowData[n]), u.data.rowData[a.fieldKey];
|
|
66
66
|
}
|
|
67
|
-
return
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
() =>
|
|
71
|
-
async (a,
|
|
72
|
-
a && (
|
|
73
|
-
|
|
74
|
-
const { isFiledCustom:
|
|
75
|
-
if (
|
|
76
|
-
const
|
|
77
|
-
n.customFiledsComponentes[
|
|
67
|
+
return u.data.rowData[a.fieldKey];
|
|
68
|
+
}, le = (a) => A({ url: u.data.dataItem.requestUrl, method: "post", data: a });
|
|
69
|
+
re(
|
|
70
|
+
() => u.visible,
|
|
71
|
+
async (a, m) => {
|
|
72
|
+
a && (u.data.formList.forEach(async (n) => {
|
|
73
|
+
Q[n.fieldKey] = { submitFieldType: n.fieldSubmitType, isFormSetValue: n.isFormSetValue }, o.value[n.fieldKey] = Object.keys(u.data.rowData).length && n.isFormSetValue ? ee(n) : Z(n.fieldType);
|
|
74
|
+
const { isFiledCustom: _, customComponentName: f, customComponentUrl: g } = n.customFiledsComponentes;
|
|
75
|
+
if (_ && !n.customFiledsComponentes[f]) {
|
|
76
|
+
const C = await H(g, f);
|
|
77
|
+
n.customFiledsComponentes[f] = C;
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), K.value = u.data.formList || []);
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
a && a.validate((
|
|
88
|
-
if (
|
|
82
|
+
const ae = (a) => {
|
|
83
|
+
N(), a();
|
|
84
|
+
}, N = () => {
|
|
85
|
+
K.value = [], k.value.resetFields(), M("update:visible", !1);
|
|
86
|
+
}, te = (a) => {
|
|
87
|
+
a && a.validate((m) => {
|
|
88
|
+
if (m) {
|
|
89
89
|
F.btnLoading = !0;
|
|
90
|
-
const { dataItem: n, rowData:
|
|
91
|
-
let
|
|
92
|
-
Object.keys(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}) : Array.isArray(
|
|
96
|
-
})
|
|
90
|
+
const { dataItem: n, rowData: _ } = u.data;
|
|
91
|
+
let f = { ...ue(o.value) };
|
|
92
|
+
Object.keys(f).forEach((s) => {
|
|
93
|
+
s.includes("&") ? f[s].split("&").forEach((U, v) => {
|
|
94
|
+
f[U] = f[s][v];
|
|
95
|
+
}) : Array.isArray(f[s]) && (f[s] = I(f[s], "string"));
|
|
96
|
+
});
|
|
97
|
+
const g = n.submitFields.filter((s) => s.matchType == "default").reduce((s, r) => (r.submitFieldType === "string" && (s[r.submitFieldName] = r.matchFieldName.toString()), s), {}), C = n.submitFields.filter((s) => s.matchType == "match").reduce((s, r) => (Reflect.has(r, "submitFieldMatchOrigin") && r.submitFieldMatchOrigin != "rowData" ? Reflect.has(E.matchData, r.submitFieldMatchOrigin) && (s[r.submitFieldName] = O(r.submitFieldType, E.matchData[r.submitFieldMatchOrigin][r.matchFieldName])) : s[r.submitFieldName] = O(r.submitFieldType, _[r.matchFieldName]), s), {});
|
|
98
|
+
le({
|
|
99
|
+
...f,
|
|
100
|
+
...g,
|
|
101
|
+
...C
|
|
102
|
+
}).then((s) => {
|
|
97
103
|
try {
|
|
98
|
-
|
|
99
|
-
} catch (
|
|
100
|
-
console.error(
|
|
104
|
+
ge({ title: c("act.tip"), message: c("act.saveSuccessfully"), type: "success", duration: 2500 }), N(), M("refresh");
|
|
105
|
+
} catch (r) {
|
|
106
|
+
console.error(r);
|
|
101
107
|
}
|
|
102
108
|
F.btnLoading = !1;
|
|
103
|
-
}).catch((
|
|
104
|
-
console.error(
|
|
109
|
+
}).catch((s) => {
|
|
110
|
+
console.error(s), F.btnLoading = !1;
|
|
105
111
|
});
|
|
106
112
|
}
|
|
107
113
|
});
|
|
108
114
|
};
|
|
109
|
-
return (a,
|
|
110
|
-
var
|
|
111
|
-
const n = y("el-input"),
|
|
112
|
-
return
|
|
113
|
-
"model-value":
|
|
114
|
-
title:
|
|
115
|
+
return (a, m) => {
|
|
116
|
+
var q;
|
|
117
|
+
const n = y("el-input"), _ = y("el-option"), f = y("el-select"), g = y("el-date-picker"), C = y("el-cascader"), s = y("el-switch"), r = y("el-form-item"), U = y("el-col"), v = y("el-row"), oe = y("el-form"), j = y("el-button"), se = y("el-dialog");
|
|
118
|
+
return i(), p(se, {
|
|
119
|
+
"model-value": u.visible,
|
|
120
|
+
title: u.title,
|
|
115
121
|
top: "5vh",
|
|
116
|
-
width: (
|
|
122
|
+
width: (q = d.data.formConfig) == null ? void 0 : q.dialogWidth,
|
|
117
123
|
"append-to-body": "",
|
|
118
124
|
"destroy-on-close": "",
|
|
119
125
|
"close-on-click-modal": !1,
|
|
120
|
-
"before-close":
|
|
126
|
+
"before-close": ae
|
|
121
127
|
}, {
|
|
122
|
-
footer:
|
|
123
|
-
|
|
124
|
-
T(
|
|
128
|
+
footer: h(() => [
|
|
129
|
+
z("span", Ce, [
|
|
130
|
+
T(j, {
|
|
125
131
|
loading: l(F).btnLoading,
|
|
126
|
-
onClick:
|
|
132
|
+
onClick: N
|
|
127
133
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
|
|
134
|
+
default: h(() => [
|
|
135
|
+
L(D(l(c)("act.cancel")), 1)
|
|
130
136
|
]),
|
|
131
137
|
_: 1
|
|
132
138
|
}, 8, ["loading"]),
|
|
133
|
-
T(
|
|
139
|
+
T(j, {
|
|
134
140
|
type: "primary",
|
|
135
141
|
loading: l(F).btnLoading,
|
|
136
|
-
onClick:
|
|
142
|
+
onClick: m[1] || (m[1] = (P) => te(l(k)))
|
|
137
143
|
}, {
|
|
138
|
-
default:
|
|
139
|
-
|
|
144
|
+
default: h(() => [
|
|
145
|
+
L(D(l(c)("act.save")), 1)
|
|
140
146
|
]),
|
|
141
147
|
_: 1
|
|
142
148
|
}, 8, ["loading"])
|
|
143
149
|
])
|
|
144
150
|
]),
|
|
145
|
-
default:
|
|
146
|
-
var
|
|
151
|
+
default: h(() => {
|
|
152
|
+
var P, B;
|
|
147
153
|
return [
|
|
148
|
-
T(
|
|
154
|
+
T(oe, {
|
|
149
155
|
ref_key: "formRef",
|
|
150
|
-
ref:
|
|
156
|
+
ref: k,
|
|
151
157
|
model: l(o),
|
|
152
158
|
"label-suffix": ":",
|
|
153
|
-
"label-width": (
|
|
154
|
-
"label-position": (
|
|
159
|
+
"label-width": (P = d.data.formConfig) == null ? void 0 : P.formLabelWidth,
|
|
160
|
+
"label-position": (B = d.data.formConfig) == null ? void 0 : B.formLabelPosition
|
|
155
161
|
}, {
|
|
156
|
-
default:
|
|
157
|
-
T(
|
|
158
|
-
default:
|
|
159
|
-
(
|
|
160
|
-
span:
|
|
161
|
-
key:
|
|
162
|
+
default: h(() => [
|
|
163
|
+
T(v, { gutter: 40 }, {
|
|
164
|
+
default: h(() => [
|
|
165
|
+
(i(!0), V(w, null, $(l(K), (e, W) => (i(), p(U, {
|
|
166
|
+
span: X(e),
|
|
167
|
+
key: W
|
|
162
168
|
}, {
|
|
163
|
-
default:
|
|
164
|
-
e.customFiledsComponentes.isFiledCustom ? (
|
|
165
|
-
e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (
|
|
169
|
+
default: h(() => [
|
|
170
|
+
e.customFiledsComponentes.isFiledCustom ? (i(), V(w, { key: 1 }, [
|
|
171
|
+
e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (i(), p(ne(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
|
|
166
172
|
key: 0,
|
|
167
173
|
fieldCofnigItem: e,
|
|
168
|
-
rowData:
|
|
174
|
+
rowData: u.data.rowData,
|
|
169
175
|
form: l(o),
|
|
170
|
-
"onUpdate:form":
|
|
171
|
-
}, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (
|
|
176
|
+
"onUpdate:form": m[0] || (m[0] = (t) => ce(o) ? o.value = t : o = t)
|
|
177
|
+
}, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (i(), V("div", {
|
|
172
178
|
class: "no-config",
|
|
173
|
-
key:
|
|
179
|
+
key: W
|
|
174
180
|
}, [
|
|
175
|
-
|
|
176
|
-
|
|
181
|
+
z("span", Fe, "【" + D(e.fieldName) + "】", 1),
|
|
182
|
+
L(D(l(c)("act.fieldCustom")), 1)
|
|
177
183
|
]))
|
|
178
|
-
], 64)) : (
|
|
184
|
+
], 64)) : (i(), p(r, {
|
|
179
185
|
key: 0,
|
|
180
186
|
label: e.fieldName,
|
|
181
187
|
prop: e.fieldKey,
|
|
182
|
-
rules: [{ required: e.isFormFieldRequired, message: l(
|
|
188
|
+
rules: [{ required: e.isFormFieldRequired, message: l(c)("act.requiredMessage"), trigger: Y(e) }]
|
|
183
189
|
}, {
|
|
184
|
-
default:
|
|
185
|
-
e.fieldType === "input" ? (
|
|
190
|
+
default: h(() => [
|
|
191
|
+
e.fieldType === "input" ? (i(), p(n, {
|
|
186
192
|
key: 0,
|
|
187
193
|
modelValue: l(o)[e.fieldKey],
|
|
188
194
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
189
195
|
type: "text",
|
|
190
|
-
placeholder: `${l(
|
|
196
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
|
|
191
197
|
disabled: e.isFormDisabled,
|
|
192
198
|
clearable: ""
|
|
193
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (
|
|
199
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (i(), p(n, {
|
|
194
200
|
key: 1,
|
|
195
201
|
modelValue: l(o)[e.fieldKey],
|
|
196
202
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
197
203
|
type: "textarea",
|
|
198
|
-
placeholder: `${l(
|
|
204
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
|
|
199
205
|
disabled: e.isFormDisabled,
|
|
200
206
|
rows: 4
|
|
201
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "multipleSelect" ? (
|
|
207
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "multipleSelect" ? (i(), p(f, {
|
|
202
208
|
key: 2,
|
|
203
209
|
modelValue: l(o)[e.fieldKey],
|
|
204
210
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
205
|
-
placeholder: `${l(
|
|
211
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
206
212
|
disabled: e.isFormDisabled,
|
|
207
213
|
multiple: "",
|
|
208
214
|
clearable: "",
|
|
209
215
|
filterable: ""
|
|
210
216
|
}, {
|
|
211
|
-
default:
|
|
212
|
-
(
|
|
213
|
-
key:
|
|
217
|
+
default: h(() => [
|
|
218
|
+
(i(!0), V(w, null, $(e.dataList, (t, S) => (i(), p(_, {
|
|
219
|
+
key: S,
|
|
214
220
|
label: t.key,
|
|
215
221
|
value: t.value
|
|
216
222
|
}, null, 8, ["label", "value"]))), 128))
|
|
217
223
|
]),
|
|
218
224
|
_: 2
|
|
219
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "select" ? (
|
|
225
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "select" ? (i(), p(f, {
|
|
220
226
|
key: 3,
|
|
221
227
|
modelValue: l(o)[e.fieldKey],
|
|
222
228
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
223
|
-
placeholder: `${l(
|
|
229
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
224
230
|
disabled: e.isFormDisabled,
|
|
225
231
|
clearable: "",
|
|
226
232
|
filterable: ""
|
|
227
233
|
}, {
|
|
228
|
-
default:
|
|
229
|
-
(
|
|
230
|
-
key:
|
|
234
|
+
default: h(() => [
|
|
235
|
+
(i(!0), V(w, null, $(e.dataList, (t, S) => (i(), p(_, {
|
|
236
|
+
key: S,
|
|
231
237
|
label: t.key,
|
|
232
238
|
value: t.value
|
|
233
239
|
}, null, 8, ["label", "value"]))), 128))
|
|
234
240
|
]),
|
|
235
241
|
_: 2
|
|
236
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "date" ? (
|
|
242
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "date" ? (i(), p(g, {
|
|
237
243
|
key: 4,
|
|
238
244
|
modelValue: l(o)[e.fieldKey],
|
|
239
245
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
240
246
|
type: e.fieldUiType,
|
|
241
|
-
placeholder: `${l(
|
|
242
|
-
"value-format": l(
|
|
247
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${l(c)("act.time")}`,
|
|
248
|
+
"value-format": l(J)[e.fieldUiType],
|
|
243
249
|
disabled: e.isFormDisabled
|
|
244
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (
|
|
250
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (i(), p(g, {
|
|
245
251
|
key: 5,
|
|
246
252
|
modelValue: l(o)[e.fieldKey],
|
|
247
253
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
248
254
|
type: e.fieldUiType,
|
|
249
|
-
"start-placeholder": l(
|
|
250
|
-
"end-placeholder": l(
|
|
251
|
-
"value-format": l(
|
|
255
|
+
"start-placeholder": l(c)("act.startTime"),
|
|
256
|
+
"end-placeholder": l(c)("act.endTime"),
|
|
257
|
+
"value-format": l(J)[e.fieldUiType],
|
|
252
258
|
disabled: e.isFormDisabled
|
|
253
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (
|
|
259
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (i(), p(C, {
|
|
254
260
|
key: 6,
|
|
255
261
|
modelValue: l(o)[e.fieldKey],
|
|
256
262
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
257
263
|
options: e.dataList,
|
|
258
|
-
props: l(
|
|
264
|
+
props: l(_e),
|
|
259
265
|
clearable: "",
|
|
260
266
|
filterable: "",
|
|
261
|
-
placeholder: `${l(
|
|
267
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
262
268
|
disabled: e.isFormDisabled
|
|
263
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (
|
|
269
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (i(), p(s, {
|
|
264
270
|
key: 7,
|
|
265
271
|
modelValue: l(o)[e.fieldKey],
|
|
266
272
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
267
273
|
"active-value": !0,
|
|
268
274
|
"inactive-value": !1
|
|
269
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) :
|
|
275
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : ie("", !0)
|
|
270
276
|
]),
|
|
271
277
|
_: 2
|
|
272
278
|
}, 1032, ["label", "prop", "rules"]))
|
|
@@ -285,7 +291,7 @@ const he = { class: "no-config-field" }, ge = { class: "dialog-footer" }, Ce = {
|
|
|
285
291
|
}, 8, ["model-value", "title", "width"]);
|
|
286
292
|
};
|
|
287
293
|
}
|
|
288
|
-
},
|
|
294
|
+
}, Ne = /* @__PURE__ */ be(Ve, [["__scopeId", "data-v-53e47c95"]]);
|
|
289
295
|
export {
|
|
290
|
-
|
|
296
|
+
Ne as default
|
|
291
297
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as g, watch as M, resolveComponent as s, openBlock as a, createElementBlock as f, unref as t, createBlock as n, normalizeStyle as B, withCtx as p, Fragment as y, renderList as m, createCommentVNode as _, createTextVNode as E, toDisplayString as F } from "vue";
|
|
2
|
-
import { _ as L, u as O, P as R, T as $ } from "./index-
|
|
2
|
+
import { _ as L, u as O, P as R, T as $ } from "./index-0b43bd9e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const H = { class: "search-module-container" }, Q = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as P, watch as R, resolveComponent as u, resolveDirective as T, openBlock as a, createElementBlock as d, withDirectives as D, createBlock as n, withCtx as c, createTextVNode as K, toDisplayString as O, unref as f, Fragment as s, renderList as j, renderSlot as y, createCommentVNode as A, nextTick as w } from "vue";
|
|
2
|
-
import { _ as E, u as H } from "./index-
|
|
2
|
+
import { _ as E, u as H } from "./index-0b43bd9e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const U = { class: "act-table" }, V = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as h, watch as I, resolveComponent as _, openBlock as a, createElementBlock as d, createVNode as u, unref as p, isRef as b, withCtx as m, createElementVNode as g, createBlock as w, createCommentVNode as C, createTextVNode as N, Fragment as B, renderList as E, normalizeClass as S } from "vue";
|
|
2
|
-
import { _ as z } from "./index-
|
|
2
|
+
import { _ as z } from "./index-0b43bd9e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["onClick"], P = {
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.page-container{padding:12px}.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}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%}.el-date-editor{--el-date-editor-width: 100%}[data-v-a40007cc] .el-empty__image{width:100%}.page-container[data-v-130b19d7]{position:relative}.page-container .header-operate[data-v-130b19d7]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-130b19d7]{display:flex;align-items:center;justify-content:flex-end}.page-container .submit-box-l[data-v-130b19d7]{width:360px;margin-right:24px}.act-table .table-pagination[data-v-3c7bb62d]{padding:12px 4px;justify-content:flex-end}.search-module-container[data-v-810f647f] .el-form-item--default{margin-bottom:12px}.search-module-container .form-content[data-v-810f647f]{display:grid;grid-template-columns:repeat(var(--table-query-row-width),1fr);gap:12px 24px;padding:12px 12px 0}.search-module-container .form-content .search-form-btn[data-v-810f647f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row-width);grid-column-end:var(--table-query-row-width)}.header-operate-container[data-v-67a827c3]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-67a827c3]{margin:6px}.card-header[data-v-
|
|
1
|
+
@charset "UTF-8";.page-container{padding:12px}.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}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%}.el-date-editor{--el-date-editor-width: 100%}[data-v-a40007cc] .el-empty__image{width:100%}.page-container[data-v-130b19d7]{position:relative}.page-container .header-operate[data-v-130b19d7]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-130b19d7]{display:flex;align-items:center;justify-content:flex-end}.page-container .submit-box-l[data-v-130b19d7]{width:360px;margin-right:24px}.act-table .table-pagination[data-v-3c7bb62d]{padding:12px 4px;justify-content:flex-end}.search-module-container[data-v-810f647f] .el-form-item--default{margin-bottom:12px}.search-module-container .form-content[data-v-810f647f]{display:grid;grid-template-columns:repeat(var(--table-query-row-width),1fr);gap:12px 24px;padding:12px 12px 0}.search-module-container .form-content .search-form-btn[data-v-810f647f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row-width);grid-column-end:var(--table-query-row-width)}.header-operate-container[data-v-67a827c3]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-67a827c3]{margin:6px}.card-header[data-v-53e47c95]{display:flex;align-items:center}.card-header-operate[data-v-53e47c95]{margin-left:auto}.no-config[data-v-53e47c95]{line-height:32px;font-weight:700}.no-config-field[data-v-53e47c95]{margin-left:60px;color:red}.add-icon-btn[data-v-e5474dc6]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-e5474dc6]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-e5474dc6]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-e5474dc6]{cursor:pointer;width:12px;height:12px}.card-header[data-v-709fc688]{display:flex;align-items:center}.card-header-operate[data-v-709fc688]{margin-left:auto}.form-list[data-v-709fc688]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-709fc688]:last-child{border:none}.config-list-operate[data-v-709fc688]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-9d3ab8fb]{display:flex;align-items:center}.card-header-operate[data-v-9d3ab8fb]{margin-left:auto}.form-list[data-v-9d3ab8fb]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-9d3ab8fb]:last-child{border:none}.config-list-operate[data-v-9d3ab8fb]{display:flex;align-items:center;justify-content:flex-end}.add-icon-btn[data-v-ea742434]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-ea742434]{display:flex;justify-content:center}.condition-box[data-v-ea742434] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-ea742434]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-ea742434]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-7c269645]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-7c269645]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-7c269645]{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-eac43c79]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-eac43c79]{margin-left:12px}
|