act-plus 1.1.14 → 1.1.16
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 +4 -3
- package/act-plus.umd.cjs +16 -21
- package/lib/{configBtns-09c47bdc.js → configBtns-f6b155be.js} +22 -21
- package/lib/{configFileds-b05ff8d6.js → configFileds-24172348.js} +5 -4
- package/lib/{configTable-81177e8e.js → configTable-f2695bd5.js} +4 -3
- package/lib/{dialogAddField-3ff21e12.js → dialogAddField-a0ed90e9.js} +4 -3
- package/lib/{dialogConfigBtn-fa6dfc7b.js → dialogConfigBtn-5585756e.js} +5 -4
- package/lib/{index-fb500c0a.js → index-17921aea.js} +4 -3
- package/lib/{index-1ead662a.js → index-277c5a07.js} +4 -3
- package/lib/{index-4436398d.js → index-452d8552.js} +4 -3
- package/lib/{index-116f3e14.js → index-9755aee8.js} +4 -3
- package/lib/index-a1b4f8cb.js +11184 -0
- package/lib/{index-e46742f5.js → index-ff034542.js} +12 -11
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-5c409834.js +0 -12798
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { inject as M, reactive as de, ref as L, watch as se, resolveComponent as y, openBlock as r, createBlock as u, withCtx as _, createElementVNode as B, createVNode as T, unref as l, createTextVNode as P, toDisplayString as w, createElementBlock as V, Fragment as D, renderList as R, createCommentVNode as re, resolveDynamicComponent as ne, isRef as ie } from "vue";
|
|
2
|
-
import { a as ce, e as ue, r as fe, b as pe,
|
|
2
|
+
import { a as ce, e as ue, r as fe, b as pe, _ as me, u as ye, T as W, P as be } from "./index-a1b4f8cb.js";
|
|
3
|
+
import { ElMessage as z, ElNotification as _e } from "element-plus";
|
|
3
4
|
import "vue-router";
|
|
4
5
|
const $ = ce.create({
|
|
5
6
|
baseURL: "",
|
|
@@ -19,16 +20,16 @@ $.interceptors.response.use(
|
|
|
19
20
|
if (b.code == 200)
|
|
20
21
|
return b;
|
|
21
22
|
if (b.code == 401)
|
|
22
|
-
sessionStorage.clear(), fe.replace("/"), pe(),
|
|
23
|
+
sessionStorage.clear(), fe.replace("/"), pe(), z.error({ title: "错误", message: "登陆超时,请重新登录" });
|
|
23
24
|
else
|
|
24
|
-
return
|
|
25
|
+
return z.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
|
|
25
26
|
},
|
|
26
27
|
(s) => {
|
|
27
28
|
if (s.response.status != -1)
|
|
28
29
|
return Promise.reject(s);
|
|
29
30
|
}
|
|
30
31
|
);
|
|
31
|
-
const
|
|
32
|
+
const he = { class: "no-config-field" }, ge = { class: "dialog-footer" }, Ce = {
|
|
32
33
|
__name: "index",
|
|
33
34
|
props: {
|
|
34
35
|
visible: { type: Boolean, default: !1 },
|
|
@@ -94,7 +95,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
94
95
|
}) : Array.isArray(p[d]) && (p[d] = Z(p[d].submitFieldType));
|
|
95
96
|
}), ee(p).then((d) => {
|
|
96
97
|
try {
|
|
97
|
-
|
|
98
|
+
_e({ title: i("act.tip"), message: i("act.saveSuccessfully"), type: "success", duration: 2500 }), k(), A("refresh");
|
|
98
99
|
} catch (m) {
|
|
99
100
|
console.error(m);
|
|
100
101
|
}
|
|
@@ -119,7 +120,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
119
120
|
"before-close": le
|
|
120
121
|
}, {
|
|
121
122
|
footer: _(() => [
|
|
122
|
-
B("span",
|
|
123
|
+
B("span", ge, [
|
|
123
124
|
T(E, {
|
|
124
125
|
loading: l(F).btnLoading,
|
|
125
126
|
onClick: k
|
|
@@ -171,7 +172,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
171
172
|
class: "no-config",
|
|
172
173
|
key: q
|
|
173
174
|
}, [
|
|
174
|
-
B("span",
|
|
175
|
+
B("span", he, "【" + w(e.fieldName) + "】", 1),
|
|
175
176
|
P(w(l(i)("act.fieldCustom")), 1)
|
|
176
177
|
]))
|
|
177
178
|
], 64)) : (r(), u(m, {
|
|
@@ -238,7 +239,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
238
239
|
"onUpdate:modelValue": (t) => l(o)[e.fieldKey] = t,
|
|
239
240
|
type: e.fieldUiType,
|
|
240
241
|
placeholder: `${l(i)("act.selectPlaceholder")}${l(i)("act.time")}`,
|
|
241
|
-
"value-format": l(
|
|
242
|
+
"value-format": l(W)[e.fieldUiType],
|
|
242
243
|
disabled: e.isFormDisabled
|
|
243
244
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (r(), u(C, {
|
|
244
245
|
key: 5,
|
|
@@ -247,7 +248,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
247
248
|
type: e.fieldUiType,
|
|
248
249
|
"start-placeholder": l(i)("act.startTime"),
|
|
249
250
|
"end-placeholder": l(i)("act.endTime"),
|
|
250
|
-
"value-format": l(
|
|
251
|
+
"value-format": l(W)[e.fieldUiType],
|
|
251
252
|
disabled: e.isFormDisabled
|
|
252
253
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (r(), u(p, {
|
|
253
254
|
key: 6,
|
|
@@ -284,7 +285,7 @@ const _e = { class: "no-config-field" }, he = { class: "dialog-footer" }, ge = {
|
|
|
284
285
|
}, 8, ["model-value", "title", "width"]);
|
|
285
286
|
};
|
|
286
287
|
}
|
|
287
|
-
},
|
|
288
|
+
}, ve = /* @__PURE__ */ me(Ce, [["__scopeId", "data-v-713d8e92"]]);
|
|
288
289
|
export {
|
|
289
|
-
|
|
290
|
+
ve as default
|
|
290
291
|
};
|
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-
|
|
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-713d8e92]{display:flex;align-items:center}.card-header-operate[data-v-713d8e92]{margin-left:auto}.no-config[data-v-713d8e92]{line-height:32px;font-weight:700}.no-config-field[data-v-713d8e92]{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-7aea1297]{display:flex;align-items:center}.card-header-operate[data-v-7aea1297]{margin-left:auto}.form-list[data-v-7aea1297]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-7aea1297]:last-child{border:none}.config-list-operate[data-v-7aea1297]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-d50513ad]{display:flex;align-items:center}.card-header-operate[data-v-d50513ad]{margin-left:auto}.form-list[data-v-d50513ad]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-d50513ad]:last-child{border:none}.config-list-operate[data-v-d50513ad]{display:flex;align-items:center;justify-content:flex-end}.add-icon-btn[data-v-599e2ff7]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-599e2ff7]{display:flex;justify-content:center}.condition-box[data-v-599e2ff7] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-599e2ff7]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-599e2ff7]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-4134748b]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-4134748b]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-4134748b]{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}
|