super-page-designer 2.2.90 → 2.2.93
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/dist/es/components/design/utils/assemblys-config.js +6 -7
- package/dist/es/components/design/utils/common-util.d.ts +1 -0
- package/dist/es/components/design/utils/common-util.js +14 -9
- package/dist/es/components/design/utils/page-table-util.js +9 -9
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +0 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -108
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +96 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -4
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +23 -23
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +542 -225
- package/package.json +3 -3
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -4
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as o, nextTick as l, resolveComponent as a, resolveDirective as n, createElementBlock as i, openBlock as s, Fragment as r, createElementVNode as p, createVNode as c, withDirectives as u, createBlock as d, unref as m, withCtx as g, createTextVNode as f } from "vue";
|
|
2
|
-
import { Plus as
|
|
2
|
+
import { Plus as v, Delete as y, Refresh as b } from "@element-plus/icons";
|
|
3
3
|
import w from "agilebuilder-ui/src/utils/request";
|
|
4
4
|
import { ElMessageBox as h, ElMessage as C, ElLoading as k } from "element-plus";
|
|
5
|
-
const S = { style: { padding: "0 0 10px 0" } },
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
e3.SYSTEM_CODE =
|
|
10
|
-
} }, statementDto: {}, initSearchForm:
|
|
5
|
+
const S = { style: { padding: "0 0 10px 0" } }, E = e({ __name: "i18n-setting-enabled", props: { systemCode: { type: String, default: "" } }, emits: ["close"], setup(e2, { expose: E2, emit: T }) {
|
|
6
|
+
const A = e2, _ = window.$vueApp.config.globalProperties.baseAPI, N = t([]), P = t(), x = t(false), D = [{ leftBracket: "(", propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: A.systemCode, joinSign: "or" }, { propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: "common", rightBracket: ")", joinSign: "and" }], R = function(e3, t2) {
|
|
7
|
+
N.value = e3;
|
|
8
|
+
}, B = { initSearch: true, dynamicServiceName: "languagePackageDynamicValueServiceImpl", lineEditOptions: { aftersaveIsCreateRow: false, beforeSave: function(e3) {
|
|
9
|
+
e3.SYSTEM_CODE = A.systemCode;
|
|
10
|
+
} }, statementDto: {}, initSearchForm: D, renderRow: {}, isSql: true, operations: { operation: [{ onClick: G, eventName: "lineEditUpdate", props: { title: "修改", isPermission: true, type: "primary", size: "small", elementType: "el-button", label: "修改", code: "lineEditUpdate" } }, { onClick: I, eventName: "lineEditSave", isShow: U, props: { title: "保存", type: "primary", size: "small", elementType: "el-button", label: "保存" } }, { onClick: z, eventName: "lineEditDelete", props: { title: "删除", type: "danger", size: "small", elementType: "el-button", label: "删除" } }, { onClick: $, eventName: "restoreEdit", props: { title: "取消编辑", type: "primary", size: "small", elementType: "el-button", label: "取消编辑", code: "restoreEdit" } }] }, pageHeight: 0.45 * window.innerHeight };
|
|
11
11
|
function I(e3, t2, o2, l2, a2) {
|
|
12
|
-
|
|
12
|
+
P.value.saveRow(a2);
|
|
13
13
|
}
|
|
14
14
|
function z(e3, t2, o2, l2, a2) {
|
|
15
15
|
h.confirm("确认删除", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
16
16
|
w.delete(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-package", { data: [o2.id] }).then((e4) => {
|
|
17
|
-
C.success({ message: "删除成功", showClose: true }),
|
|
17
|
+
C.success({ message: "删除成功", showClose: true }), P.value.refresh();
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
function $(e3, t2, o2, l2, a2) {
|
|
22
|
-
|
|
22
|
+
P.value.restoreRow(a2);
|
|
23
23
|
}
|
|
24
24
|
function G(e3, t2, o2, l2, a2) {
|
|
25
|
-
|
|
25
|
+
P.value.editRow(a2);
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function U(e3, t2, o2, l2, a2) {
|
|
28
28
|
return !!o2.$editing;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function V() {
|
|
31
|
+
P.value.createRow();
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
if (!
|
|
35
|
-
let e3 =
|
|
33
|
+
function j() {
|
|
34
|
+
if (!N.value || 0 === N.value.length) return void C.warning({ message: "请选择要删除的数据", showClose: true });
|
|
35
|
+
let e3 = N.value.map((e4) => e4.id);
|
|
36
36
|
w.delete(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-package", { data: e3 }).then((e4) => {
|
|
37
|
-
C.success({ message: "删除成功", showClose: true }),
|
|
37
|
+
C.success({ message: "删除成功", showClose: true }), P.value.refresh();
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function q() {
|
|
41
41
|
const e3 = k.service({ fullscreen: true, lock: true, text: "更新中", background: "rgba(0, 0, 0, 0.7)" });
|
|
42
42
|
w.delete().then((t2) => {
|
|
43
43
|
e3.close(), C.success({ message: "更新完毕", showClose: true });
|
|
@@ -47,14 +47,14 @@ const S = { style: { padding: "0 0 10px 0" } }, T = e({ __name: "i18n-setting-en
|
|
|
47
47
|
}
|
|
48
48
|
return o(() => {
|
|
49
49
|
l(() => {
|
|
50
|
-
|
|
50
|
+
P.value.refresh();
|
|
51
51
|
});
|
|
52
52
|
}), o(() => {
|
|
53
|
-
}),
|
|
53
|
+
}), E2({}), (e3, t2) => {
|
|
54
54
|
const o2 = a("el-button"), l2 = a("super-grid"), w2 = n("loading");
|
|
55
|
-
return s(), i(r, null, [p("div", S, [u((s(), d(o2, { disabled:
|
|
55
|
+
return s(), i(r, null, [p("div", S, [u((s(), d(o2, { disabled: x.value, icon: m(v), type: "primary", onClick: V }, { default: g(() => t2[0] || (t2[0] = [f(" 新建 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { disabled: x.value, icon: m(y), type: "danger", onClick: j }, { default: g(() => t2[1] || (t2[1] = [f(" 删除 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { type: "default", align: "left", class: "button--default", icon: m(b), onClick: q }, { default: g(() => t2[2] || (t2[2] = [f(" 更新缓存 ")])), _: 1 }, 8, ["icon"])), [[w2, x.value]])]), c(l2, { style: { width: "100%" }, ref_key: "grid", ref: P, url: m(_) + "/bs/language-package/list", options: B, code: "BS_LANGUAGE_PACKAGE", onSelect: R, onSelectAll: R }, null, 8, ["url"])], 64);
|
|
56
56
|
};
|
|
57
57
|
} });
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
E as default
|
|
60
60
|
};
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
/* empty css
|
|
19
|
+
/* empty css */
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|