agilebuilder-ui 1.1.65-tmp23 → 1.1.65-tmp24
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/index.full.min.js +462 -281
- package/dist/style.css +181 -175
- package/es/chat-embed/src/chat-sender.vue.mjs +1 -1
- package/es/chat-embed/src/chat-sender.vue2.mjs +26 -28
- package/es/chat-embed/src/index.vue.mjs +1 -1
- package/es/chat-embed/src/index.vue2.mjs +29 -29
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +68 -68
- package/es/department-tree-mobile/src/department-tree-service.mjs +20 -18
- package/es/department-tree-mobile/src/dept-result.vue.mjs +12 -11
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +3 -3
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +6 -6
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +1 -1
- package/es/fs-preview/src/fs-preview.vue.mjs +26 -18
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +1 -1
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +1 -1
- package/es/index.mjs +2 -1
- package/es/src/components/Card/index.mjs +34 -31
- package/es/src/components/Scrollbar/index.vue.mjs +6 -6
- package/es/src/i18n/langs/cn.mjs +1 -1
- package/es/src/i18n/langs/en.mjs +1 -1
- package/es/src/utils/common-util.mjs +47 -39
- package/es/style.css +738 -732
- package/es/super-grid/src/apis.mjs +199 -173
- package/es/super-grid/src/components/mobile-table-card.mjs +53 -53
- package/es/super-grid/src/normal-column-content.vue.mjs +12 -12
- package/es/super-grid/src/normal-column.vue.mjs +4 -5
- package/es/super-grid/src/search-button.vue.mjs +4 -2
- package/es/super-grid/src/search-form-dialog.vue.mjs +22 -11
- package/es/super-grid/src/search-form-item.vue.mjs +5 -5
- package/es/super-grid/src/search-form-mobile.vue.mjs +19 -19
- package/es/super-grid/src/search-form-open.vue.mjs +5 -3
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +3 -1
- package/es/super-grid/src/search-form.vue.mjs +19 -13
- package/es/super-grid/src/super-grid.vue.mjs +271 -209
- package/es/super-grid/src/utils.mjs +346 -300
- package/es/utils/organization.mjs +24 -11
- package/lib/chat-embed/src/chat-sender.vue.cjs +1 -1
- package/lib/chat-embed/src/chat-sender.vue2.cjs +44 -46
- package/lib/chat-embed/src/index.vue.cjs +1 -1
- package/lib/chat-embed/src/index.vue2.cjs +14 -14
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +58 -58
- package/lib/department-tree-mobile/src/department-tree-service.cjs +10 -8
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +10 -10
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +16 -16
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +5 -5
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +1 -1
- package/lib/fs-preview/src/fs-preview.vue.cjs +13 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +1 -1
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +13 -13
- package/lib/index.cjs +7 -7
- package/lib/src/components/Card/index.cjs +14 -11
- package/lib/src/components/Scrollbar/index.vue.cjs +2 -2
- package/lib/src/i18n/langs/cn.cjs +1 -1
- package/lib/src/i18n/langs/en.cjs +1 -1
- package/lib/src/utils/common-util.cjs +24 -17
- package/lib/style.css +665 -659
- package/lib/super-grid/src/apis.cjs +190 -164
- package/lib/super-grid/src/components/mobile-table-card.cjs +37 -37
- package/lib/super-grid/src/normal-column-content.vue.cjs +2 -2
- package/lib/super-grid/src/normal-column.vue.cjs +10 -11
- package/lib/super-grid/src/search-button.vue.cjs +3 -1
- package/lib/super-grid/src/search-form-dialog.vue.cjs +19 -8
- package/lib/super-grid/src/search-form-item.vue.cjs +2 -2
- package/lib/super-grid/src/search-form-mobile.vue.cjs +7 -7
- package/lib/super-grid/src/search-form-open.vue.cjs +7 -5
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +3 -1
- package/lib/super-grid/src/search-form.vue.cjs +15 -10
- package/lib/super-grid/src/super-grid.vue.cjs +220 -158
- package/lib/super-grid/src/utils.cjs +349 -274
- package/lib/utils/organization.cjs +35 -24
- package/package.json +1 -1
- package/src/components/Card/index.jsx +12 -2
- package/src/components/Scrollbar/index.vue +165 -154
- package/src/i18n/langs/cn.js +10 -2
- package/src/i18n/langs/en.js +10 -2
- package/src/styles/index.scss +9 -2
- package/src/styles/theme/default.scss +18 -13
- package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
- package/src/utils/auth-api.js +1 -0
- package/src/utils/common-util.js +13 -0
|
@@ -2,44 +2,46 @@ function e() {
|
|
|
2
2
|
return window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/departments/0");
|
|
3
3
|
}
|
|
4
4
|
function n(e2, n2, r2) {
|
|
5
|
-
return e2 && e2.length > 0 ?
|
|
5
|
+
return e2 && e2.length > 0 ? o(e2, r2) : t(n2);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
return n2 && (
|
|
10
|
-
window.$vueApp.config.globalProperties.$http.post(
|
|
7
|
+
function o(e2, n2) {
|
|
8
|
+
let o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/point-departments";
|
|
9
|
+
return n2 && (o2 += "/" + n2), new Promise((n3, t2) => {
|
|
10
|
+
window.$vueApp.config.globalProperties.$http.post(o2, e2).then((e3) => {
|
|
11
11
|
n3(e3);
|
|
12
12
|
});
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
return new Promise((n2,
|
|
15
|
+
function t(e2) {
|
|
16
|
+
return new Promise((n2, o2) => {
|
|
17
17
|
window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/departments/" + e2).then((e3) => {
|
|
18
18
|
n2(e3);
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
function r(e2, n2) {
|
|
23
|
-
|
|
23
|
+
e2.forEach((e3) => {
|
|
24
24
|
n2.push(e3.nodeId);
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
function i(e2, n2,
|
|
27
|
+
function i(e2, n2, o2, t2) {
|
|
28
28
|
return new Promise((r2, i2) => {
|
|
29
29
|
const p = [];
|
|
30
30
|
e2 ? e2 === n2 || "所有部门" === e2 ? (p.push(function(e3) {
|
|
31
31
|
var n3 = { id: e3, name: "所有部门" };
|
|
32
32
|
return n3;
|
|
33
|
-
}(n2)), r2(p)) : function(e3, n3,
|
|
34
|
-
return new Promise((
|
|
35
|
-
e3 && n3 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-departments?searchField=" + e3 + "&selectDeptInfo=" + n3 + "&separator=" +
|
|
36
|
-
|
|
33
|
+
}(n2)), r2(p)) : function(e3, n3, o3) {
|
|
34
|
+
return new Promise((t3, r3) => {
|
|
35
|
+
e3 && n3 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-departments?searchField=" + e3 + "&selectDeptInfo=" + n3 + "&separator=" + o3).then((e4) => {
|
|
36
|
+
t3(e4);
|
|
37
37
|
}).catch((e4) => {
|
|
38
38
|
r3(e4);
|
|
39
|
-
}) :
|
|
39
|
+
}) : t3([]);
|
|
40
40
|
});
|
|
41
|
-
}(
|
|
42
|
-
|
|
41
|
+
}(o2, e2, t2).then((e3) => {
|
|
42
|
+
e3.forEach((e4) => {
|
|
43
|
+
e4.nodeType = "DEPARTMENT", e4.nodeId = e4.nodeType + "~" + e4.id;
|
|
44
|
+
}), r2(e3);
|
|
43
45
|
}).catch((e3) => {
|
|
44
46
|
i2(e3);
|
|
45
47
|
}) : r2(p);
|
|
@@ -50,6 +52,6 @@ export {
|
|
|
50
52
|
e as getTenant,
|
|
51
53
|
n as getTenantChildren,
|
|
52
54
|
i as initSelectDepts,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
t as loadDepartment,
|
|
56
|
+
o as loadPointDepartments
|
|
55
57
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as l, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, resolveComponent as l, openBlock as o, createBlock as s, unref as a, isRef as i, withCtx as r, createElementVNode as n, toDisplayString as d, createVNode as u, createTextVNode as m } from "vue";
|
|
2
2
|
import { DeleteFilled as c } from "@element-plus/icons-vue";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import { getShowDeptNamePath as p } from "../../utils/organization.mjs";
|
|
4
|
+
const f = { style: { "text-align": "center" } }, v = { class: "item-row" }, h = { class: "item-label" }, k = { class: "item-description" }, w = ["onClick"], _ = e({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(e2, { expose: _2, emit: g }) {
|
|
5
|
+
let y = t(false);
|
|
6
|
+
return _2({ showResult: function() {
|
|
7
|
+
y.value = true;
|
|
8
|
+
} }), (t2, _3) => {
|
|
9
|
+
const D = l("el-icon"), R = l("el-tree"), x = l("el-drawer");
|
|
10
|
+
return o(), s(x, { modelValue: a(y), "onUpdate:modelValue": _3[0] || (_3[0] = (e3) => i(y) ? y.value = e3 : y = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: r(() => [n("div", f, d(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: r(() => [u(R, { ref: "orgResultTreeRef", data: e2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: r(({ node: e3, data: t3 }) => [n("div", v, [n("div", h, [m(d(t3.showName), 1), n("span", k, d(a(p)(t3.showName, t3)), 1)]), n("div", { class: "item-side", onClick: (e4) => {
|
|
11
|
+
g("removeDept", t3);
|
|
12
|
+
} }, [u(D, null, { default: r(() => [u(a(c))]), _: 1 })], 8, w)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
|
|
12
13
|
};
|
|
13
14
|
} });
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
_ as default
|
|
16
17
|
};
|
|
@@ -8,10 +8,10 @@ import i from "../../utils/memory-cache-utils.mjs";
|
|
|
8
8
|
import s from "./group-user-single-tree.vue.mjs";
|
|
9
9
|
import o from "./group-user/group-user.vue.mjs";
|
|
10
10
|
import u from "../../empty-state/index.vue.mjs";
|
|
11
|
-
import { resolveComponent as d, openBlock as c, createElementBlock as h, createVNode as
|
|
11
|
+
import { resolveComponent as d, openBlock as c, createElementBlock as h, createVNode as p, withCtx as m, withKeys as f, Fragment as g, createElementVNode as N, createBlock as y, toDisplayString as T, createCommentVNode as k } from "vue";
|
|
12
12
|
import "./department-user-single-tree-inline.vue2.mjs";
|
|
13
13
|
import S from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
14
|
-
const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, searchFields: [], searchField: "name", restaurants: [], searchValue: null, searchResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, selectUser: null, selectNodeInfo: null, notMultipleClickNum: null, notMultipleClickNode: null, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, activeTab: "orgTree", isShowGroupTree: true, canShowOrgTree: false }), name: "InlineDepartmentUserSingleTree", components: { UserResult: a, GroupUserSingleTree: s, GroupUser: o, EmptyState: u }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
14
|
+
const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, searchFields: [], searchField: "name", restaurants: [], searchValue: null, searchResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, selectUser: null, selectNodeInfo: null, notMultipleClickNum: null, notMultipleClickNode: null, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, activeTab: "orgTree", isShowGroupTree: true, canShowOrgTree: false }), name: "InlineDepartmentUserSingleTree", components: { UserResult: a, GroupUserSingleTree: s, GroupUser: o, EmptyState: u }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" }, closeOnAutocomplete: { type: Boolean, default: true } }, computed: {}, watch: { filterText(e2) {
|
|
15
15
|
e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments(this) : this.loadDepartment(this.tenantNodeId, this.tenantNodeId + ""));
|
|
16
16
|
} }, created() {
|
|
17
17
|
n.canShowOrgTree().then((e2) => {
|
|
@@ -62,7 +62,7 @@ const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
62
62
|
} }, emits: ["result"] }, U = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, b = ["title"], I = { key: 1, style: { height: "100%", overflow: "hidden" } };
|
|
63
63
|
const v = S(C, [["render", function(e2, t2, l2, a2, n2, r2) {
|
|
64
64
|
const i2 = d("el-button"), s2 = d("el-autocomplete"), o2 = d("el-header"), u2 = d("Menu"), S2 = d("Tickets"), C2 = d("User"), v2 = d("Calendar"), R = d("el-icon"), M = d("el-tree"), D = d("el-tab-pane"), w = d("GroupUser"), x = d("GroupUserSingleTree"), _ = d("el-tabs"), E = d("EmptyState"), G = d("user-result"), V = d("el-main"), j = d("el-container");
|
|
65
|
-
return c(), h("div", null, [
|
|
65
|
+
return c(), h("div", null, [p(j, { style: { height: "395px" } }, { default: m(() => [p(o2, { style: { "font-size": "12px", height: "35px", padding: "0" } }, { default: m(() => [p(s2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input searchDepartmentUser", style: { width: "100%" }, size: "default", onSelect: e2.handleSelect, onKeyup: f(e2.clickSearch, ["enter"]) }, { append: m(() => [p(i2, { icon: n2.ElIconSearch, onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), p(V, { style: { padding: "10px", width: "100%" } }, { default: m(() => [n2.searchValue && 0 !== n2.searchResult.length ? k("", true) : (c(), h(g, { key: 0 }, [n2.canShowOrgTree ? (c(), h("div", U, [p(_, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: m(() => [p(D, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: m(() => [p(M, { ref: "deparmentUserTree", load: r2.loadNode, props: n2.defaultProps, lazy: "", "node-key": "nodeId", onNodeClick: r2.handleNodeClick }, { default: m(({ node: e3, data: t3 }) => [N("span", null, [p(R, null, { default: m(() => [-1 === e3.data.id || e3.data.branch ? (c(), y(u2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (c(), y(S2, { key: 1 })) : "USER" === e3.data.nodeType ? (c(), y(C2, { key: 2 })) : (c(), y(v2, { key: 3 }))]), _: 2 }, 1024), N("span", { title: e3.label }, T(e3.label), 9, b)])]), _: 1 }, 8, ["load", "props", "onNodeClick"])]), _: 1 }, 8, ["label"]), p(D, { name: "groupTree" }, { label: m(() => [N("span", null, T(e2.$t("departmentUserTreeInline.group")), 1), N("span", null, [p(w, { "active-tab": n2.activeTab, onUpdateGroupTree: r2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: m(() => [n2.isShowGroupTree ? (c(), y(x, { key: 0, onSingleClick: r2.getGroupUserResult, onDblClick: r2.dblClickGroupUserResult }, null, 8, ["onSingleClick", "onDblClick"])) : k("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (c(), y(E, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 && n2.searchResult.length > 0 ? (c(), h("div", I, [p(G, { ref: "userResult", "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: l2.height, multiple: false, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectUser }, null, 8, ["contain-branch", "grid-data", "height", "onResultRowDblclick", "onSelectResult"])])) : k("", true)]), _: 1 })]), _: 1 })]);
|
|
66
66
|
}]]);
|
|
67
67
|
export {
|
|
68
68
|
v as default
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { $emit as e } from "../../utils/gogocodeTransfer.mjs";
|
|
2
2
|
import t from "./department-user-single-tree-inline.vue.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { resolveComponent as
|
|
3
|
+
import l from "./department-user-multiple-tree-inline.vue.mjs";
|
|
4
|
+
import { resolveComponent as r, openBlock as n, createElementBlock as i, createBlock as o, createCommentVNode as s } from "vue";
|
|
5
5
|
import u from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
-
const m = u({ name: "InlineDepartmentUserTree", components: { InlineDepartmentUserSingleTree: t, InlineDepartmentUserMultiTree:
|
|
6
|
+
const m = u({ name: "InlineDepartmentUserTree", components: { InlineDepartmentUserSingleTree: t, InlineDepartmentUserMultiTree: l }, props: { multiple: { type: Boolean, default: true }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" }, closeOnAutocomplete: { type: Boolean, default: true } }, data: () => ({ selectNodeInfo: null }), methods: { result(t2) {
|
|
7
7
|
this.selectNodeInfo = t2, e(this, "result", t2);
|
|
8
8
|
}, confirmSelectUser() {
|
|
9
9
|
this.$refs.userTree.confirmSelectUser();
|
|
10
|
-
} }, emits: ["result"] }, [["render", function(e2, t2,
|
|
11
|
-
const p =
|
|
12
|
-
return
|
|
10
|
+
} }, emits: ["result"] }, [["render", function(e2, t2, l2, u2, m2, a) {
|
|
11
|
+
const p = r("inline-department-user-multi-tree"), f = r("inline-department-user-single-tree");
|
|
12
|
+
return n(), i("div", null, [l2.multiple ? (n(), o(p, { key: 0, ref: "userTree", height: l2.height, "department-info": l2.departmentInfo, "limit-filter-column": l2.limitFilterColumn, "select-user-info": l2.selectUserInfo, "search-field": l2.searchField, separator: l2.separator, onResult: a.result }, null, 8, ["height", "department-info", "limit-filter-column", "select-user-info", "search-field", "separator", "onResult"])) : s("", true), l2.multiple ? s("", true) : (n(), o(f, { key: 1, ref: "userTree", height: l2.height, "limit-filter-column": l2.limitFilterColumn, "department-info": l2.departmentInfo, "close-on-autocomplete": l2.closeOnAutocomplete, onResult: a.result }, null, 8, ["height", "limit-filter-column", "department-info", "close-on-autocomplete", "onResult"]))]);
|
|
13
13
|
}]]);
|
|
14
14
|
export {
|
|
15
15
|
m as default
|
|
@@ -17,7 +17,7 @@ const r = { filterAppendNodes(e2) {
|
|
|
17
17
|
if (null !== s2)
|
|
18
18
|
for (const e2 in s2)
|
|
19
19
|
t2.hasOwnProperty(e2) && (t2[e2] = s2[e2]);
|
|
20
|
-
this.filterText = "", this.searchValue = "", this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e(this, "result", this.selectNodeInfo);
|
|
20
|
+
this.closeOnAutocomplete && (this.filterText = "", this.searchValue = ""), this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e(this, "result", this.selectNodeInfo);
|
|
21
21
|
});
|
|
22
22
|
}, search(e2) {
|
|
23
23
|
this.searchValue = e2;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Paperclip as e, View as i, Download as t } from "@element-plus/icons-vue";
|
|
2
|
-
import { resolveComponent as l, openBlock as s, createElementBlock as o, createElementVNode as a, renderSlot as
|
|
3
|
-
import { isPlateSys as u, getRelativeBaseUrl as v, getSystemFrontendUrlWith as
|
|
2
|
+
import { resolveComponent as l, openBlock as s, createElementBlock as o, createElementVNode as a, renderSlot as n, Fragment as r, createVNode as d, toDisplayString as h, createCommentVNode as m, createBlock as p, withCtx as w, createTextVNode as f, renderList as c } from "vue";
|
|
3
|
+
import { isPlateSys as u, getRelativeBaseUrl as v, getSystemFrontendUrlWith as g, getKkFilePreviewUrl as b } from "../../src/utils/common-util.mjs";
|
|
4
4
|
import { isImage as P, getEntityFieldValue as N, getI18n as y } from "../../src/utils/util.mjs";
|
|
5
5
|
import { packageFile as F } from "../../super-grid/src/utils.mjs";
|
|
6
6
|
import { getToken as k } from "../../src/utils/auth.mjs";
|
|
7
|
-
import { getFileIconByName as
|
|
8
|
-
import { getWatermarkSetting as
|
|
7
|
+
import { getFileIconByName as I } from "../../src/utils/file-util.mjs";
|
|
8
|
+
import { getWatermarkSetting as S } from "../../src/utils/watermark.mjs";
|
|
9
9
|
import "./fs-preview.vue2.mjs";
|
|
10
|
-
import
|
|
11
|
-
const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }, name: "FsPreview", props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, fileSetObj: { type: Object, default: null }, isSql: { type: Boolean, default: false }, entity: { type: Object, default: () => ({}) }, fileInfo: { type: Object, default: () => ({}) }, disabled: { type: Boolean, default: false }, enableDelete: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) }, uploading: { type: Boolean, default: false } }, data: () => ({ showPreviewSingleImage: false, showPreviewMulti: false,
|
|
10
|
+
import $ from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
11
|
+
const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }, name: "FsPreview", props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, fileSetObj: { type: Object, default: null }, isSql: { type: Boolean, default: false }, entity: { type: Object, default: () => ({}) }, fileInfo: { type: Object, default: () => ({}) }, disabled: { type: Boolean, default: false }, enableDelete: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) }, uploading: { type: Boolean, default: false } }, data: () => ({ showPreviewSingleImage: false, showPreviewMulti: false, initialIndex: 0, previewImageListInfo: [], fileList: [], downloadable: true, keyValueParam: {}, showMultipleFile: false, firstFileUUid: "" }), computed: { firstFileName() {
|
|
12
12
|
var _a;
|
|
13
13
|
return ((_a = this.label) == null ? void 0 : _a.indexOf(",")) > -1 ? (this.showMultipleFile = true, this.label.split(",")[0]) : (this.showMultipleFile = false, this.label);
|
|
14
14
|
}, lab() {
|
|
@@ -29,7 +29,15 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
|
|
|
29
29
|
const { showName: e2, serverPath: i2 } = this.getFirstFile();
|
|
30
30
|
this.download(e2, i2);
|
|
31
31
|
}, previewSingle(e2) {
|
|
32
|
-
e2 = F(e2.showName, e2.serverPath), P(e2.showName)
|
|
32
|
+
if (e2 = F(e2.showName, e2.serverPath), P(e2.showName)) {
|
|
33
|
+
if (this.previewImageListInfo.length = [], this.entity) {
|
|
34
|
+
const { showName: i2, serverPath: t2 } = this.getShowNameAndUuidKey(), l2 = t2.split(","), s2 = k();
|
|
35
|
+
for (let t3 = 0; t3 < l2.length; t3++)
|
|
36
|
+
P(i2.split(",")[t3]) && (l2[t3] === e2.serverPath && (this.initialIndex = t3), this.previewImageListInfo.push(window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?serverPath=" + l2[t3] + "&jwt=" + s2));
|
|
37
|
+
}
|
|
38
|
+
this.showPreviewSingleImage = true;
|
|
39
|
+
} else
|
|
40
|
+
this.previewDoc(e2);
|
|
33
41
|
}, donwloadViewFile() {
|
|
34
42
|
const { showName: e2, serverPath: i2 } = this.getShowNameAndUuidKey();
|
|
35
43
|
if (i2) {
|
|
@@ -58,12 +66,12 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
|
|
|
58
66
|
}, previewDoc(e2) {
|
|
59
67
|
const i2 = k(), t2 = e2.showName;
|
|
60
68
|
if (window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
61
|
-
window.open(
|
|
69
|
+
window.open(g(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + e2.serverPath + "&showName=" + encodeURIComponent(t2), t2);
|
|
62
70
|
else {
|
|
63
71
|
let l2, s2 = window.$vueApp.config.globalProperties.baseURL;
|
|
64
72
|
if (u(window.$vueApp.config.globalProperties.systemCode) && (s2 = window.$vueApp.config.globalProperties.baseAPI), window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
65
73
|
const l3 = s2 + "/common/super-form/downloads?jwt=" + i2 + "&showName=" + encodeURIComponent(t2) + "&serverPath=" + e2.serverPath + "&fullfilename=" + encodeURIComponent(t2);
|
|
66
|
-
|
|
74
|
+
b(l3).then((e3) => {
|
|
67
75
|
window.open(e3, t2);
|
|
68
76
|
});
|
|
69
77
|
} else
|
|
@@ -78,19 +86,19 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
|
|
|
78
86
|
this.download(i2, this.fileList[e2].serverPath);
|
|
79
87
|
}, async download(e2, i2) {
|
|
80
88
|
var _a;
|
|
81
|
-
const t2 = k(), l2 = await
|
|
89
|
+
const t2 = k(), l2 = await S();
|
|
82
90
|
let s2 = false;
|
|
83
91
|
l2 && l2.useRange && l2.useRange.indexOf("annex") >= 0 && (s2 = void 0 === this.watermark.isShowWatermark || this.watermark.isShowWatermark);
|
|
84
92
|
let o2 = (_a = this.watermark) == null ? void 0 : _a.content;
|
|
85
93
|
!o2 && l2 && (o2 = l2.content), o2 || (o2 = "");
|
|
86
94
|
let a2 = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + t2;
|
|
87
95
|
u(window.$vueApp.config.globalProperties.systemCode) && (a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + t2), a2 = v(a2);
|
|
88
|
-
const
|
|
89
|
-
window.open(
|
|
96
|
+
const n2 = a2 + "&showName=" + encodeURIComponent(e2) + "&serverPath=" + i2 + "&isShowWatermark=" + s2 + "&watermark=" + o2;
|
|
97
|
+
window.open(n2);
|
|
90
98
|
}, analysisFileSetObj(e2, i2) {
|
|
91
99
|
let t2 = "", l2 = "";
|
|
92
100
|
return e2 && (e2.showNameData && (i2 ? e2.showNameData.dbName && (t2 = e2.showNameData.dbName) : e2.showNameData.name && (t2 = e2.showNameData.name)), e2.serverNameData && (i2 ? e2.serverNameData.dbName && (l2 = e2.serverNameData.dbName) : e2.serverNameData.name && (l2 = e2.serverNameData.name))), { showName: t2, serverPath: l2 };
|
|
93
|
-
}, formatFileName: (e2) => e2.replace("#", "~~").replace("?", "~$").replace("&", "$"), getFileIconByName: (e2) =>
|
|
101
|
+
}, formatFileName: (e2) => e2.replace("#", "~~").replace("?", "~$").replace("&", "$"), getFileIconByName: (e2) => I(e2), showMultiView() {
|
|
94
102
|
const { showName: e2, serverPath: i2 } = this.getShowNameAndUuidKey();
|
|
95
103
|
if (i2) {
|
|
96
104
|
const e3 = i2.split(",");
|
|
@@ -110,11 +118,11 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
|
|
|
110
118
|
this.$emit("delete-file", e2), this.fileList = this.fileList.filter((i2) => i2.serverPath !== e2.serverPath), this.$message({ showClose: true, type: "success", message: y().t("fsUpload.deleteSuccessful") });
|
|
111
119
|
}, deleteFile(e2) {
|
|
112
120
|
this.$emit("delete-file", e2), this.fileList = this.fileList.filter((i2) => i2.serverPath !== e2.serverPath), this.$message({ showClose: true, type: "success", message: y().t("fsUpload.deleteSuccessful") });
|
|
113
|
-
} }, emits: ["close", "delete-file"] }, U = { ref: "fsPreviewRef" }, A = { class: "fs-preview-container" },
|
|
114
|
-
const _ =
|
|
115
|
-
const
|
|
116
|
-
return s(), o("div", U, [a("div", { ref: "filePreviewRef", onDblclick: i2[3] || (i2[3] = (...e3) =>
|
|
117
|
-
}], ["__scopeId", "data-v-
|
|
121
|
+
} }, emits: ["close", "delete-file"] }, U = { ref: "fsPreviewRef" }, A = { class: "fs-preview-container" }, L = ["title"], C = { key: 1, ref: "toolRef", class: "fs-preview-tool" }, x = { style: { "max-height": "300px", "overflow-y": "auto" } }, D = { style: { display: "flex", "align-items": "center", flex: "1" } }, O = { class: "more-file-icon" }, V = { class: "amb-list-preivew-name", style: { width: "230px", "margin-left": "10px" } }, R = { class: "file-actions" };
|
|
122
|
+
const _ = $(j, [["render", function(e2, i2, t2, u2, v2, g2) {
|
|
123
|
+
const b2 = l("super-icon"), P2 = l("el-tooltip"), N2 = l("el-divider"), y2 = l("ArrowDownBold"), F2 = l("el-icon"), k2 = l("el-button"), I2 = l("el-popover"), S2 = l("el-image-viewer");
|
|
124
|
+
return s(), o("div", U, [a("div", { ref: "filePreviewRef", onDblclick: i2[3] || (i2[3] = (...e3) => g2.dblclickEvent && g2.dblclickEvent(...e3)), class: "fs-preview-container" }, [n(e2.$slots, "prefix", {}, void 0, true), g2.firstFileName && !t2.uploading ? (s(), o(r, { key: 0 }, [a("div", A, [d(b2, { iconValue: g2.getFileIconByName(g2.firstFileName) }, null, 8, ["iconValue"])]), a("span", { title: g2.firstFileName, ref: "nameRef", class: "amb-list-preivew-name" }, h(g2.firstFileName), 9, L)], 64)) : m("", true), g2.firstFileName && !t2.uploading ? (s(), o("div", C, [n(e2.$slots, "tool-prefix", { item: g2.getFirstFile() }, void 0, true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), p(P2, { key: 0, content: e2.$t("fsUpload.preview") }, { default: w(() => [d(b2, { onClick: i2[0] || (i2[0] = (e3) => g2.previewFirst()), iconValue: "amb-icon-yulan" })]), _: 1 }, 8, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), p(P2, { key: 1, content: e2.$t("fsUpload.download") }, { default: w(() => [d(b2, { onClick: i2[1] || (i2[1] = (e3) => g2.downloadFirst()), iconValue: "amb-icon-xiazai" })]), _: 1 }, 8, ["content"])), t2.enableDelete && !t2.disabled ? (s(), p(P2, { key: 2, content: e2.$t("fsUpload.delete") }, { default: w(() => [d(b2, { onClick: i2[2] || (i2[2] = (e3) => g2.deleteFirst()), iconValue: "amb-color-icon-del" })]), _: 1 }, 8, ["content"])) : m("", true), n(e2.$slots, "tool-suffix", { item: g2.getFirstFile() }, void 0, true), v2.showMultipleFile ? (s(), p(N2, { key: 3, direction: "vertical" })) : m("", true), d(I2, { width: 450, trigger: "click" }, { reference: w(() => [v2.showMultipleFile ? (s(), p(k2, { key: 0, plain: "", type: "primary", round: "", size: "small", onClick: g2.showMultiView }, { default: w(() => [f(h(e2.$t("fsUpload.more")) + " ", 1), d(F2, null, { default: w(() => [d(y2)]), _: 1 })]), _: 1 }, 8, ["onClick"])) : m("", true)]), default: w(() => [a("div", x, [(s(true), o(r, null, c(v2.fileList, (i3, l2) => (s(), o("div", { ref_for: true, ref: i3.serverPath, key: i3.serverPath, class: "file-item" }, [a("div", D, [a("span", O, [d(b2, { iconValue: g2.getFileIconByName(i3.showName) }, null, 8, ["iconValue"])]), a("span", V, h(i3.showName), 1)]), a("div", R, [n(e2.$slots, "tool-more-prefix", { item: i3 }, void 0, true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), p(P2, { key: 0, content: e2.$t("fsUpload.preview") }, { default: w(() => [d(b2, { onClick: (e3) => g2.previewSingle(i3), iconValue: "amb-icon-yulan" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), p(P2, { key: 1, content: e2.$t("fsUpload.download") }, { default: w(() => [d(b2, { onClick: (e3) => g2.donwloadFile(l2), iconValue: "amb-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), t2.enableDelete ? (s(), p(P2, { key: 2, content: e2.$t("fsUpload.delete") }, { default: w(() => [d(b2, { onClick: (e3) => g2.deleteFile(i3), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])) : m("", true)])]))), 128))])]), _: 3 })], 512)) : m("", true)], 544), v2.showPreviewSingleImage ? (s(), p(S2, { key: 0, teleported: "", "url-list": v2.previewImageListInfo, "initial-index": v2.initialIndex, onClose: i2[4] || (i2[4] = (e3) => v2.showPreviewSingleImage = false) }, null, 8, ["url-list", "initial-index"])) : m("", true)], 512);
|
|
125
|
+
}], ["__scopeId", "data-v-7f109349"]]);
|
|
118
126
|
export {
|
|
119
127
|
_ as default
|
|
120
128
|
};
|
|
@@ -110,7 +110,7 @@ const g = ["multiple", "accept"], b = ["multiple", "accept"], C = e({ __name: "f
|
|
|
110
110
|
L.value = true, async function() {
|
|
111
111
|
const e4 = new FormData(), t2 = [], l2 = [];
|
|
112
112
|
let o2 = w.limitFileSize;
|
|
113
|
-
|
|
113
|
+
null == o2 && (o2 = 30);
|
|
114
114
|
let a2 = false;
|
|
115
115
|
const i2 = R.value.files;
|
|
116
116
|
for (let e5 = 0; e5 < i2.length; e5++) {
|
|
@@ -19,7 +19,7 @@ const r = e({ __name: "file-upload-input", props: { openFsUpload: { type: Object
|
|
|
19
19
|
function h(e3) {
|
|
20
20
|
const t2 = Array.from(f.fileList, ({ serverPath: e4 }) => e4);
|
|
21
21
|
JSON.stringify(f.fileList), JSON.stringify(e3), e3.forEach((e4) => {
|
|
22
|
-
t2.indexOf(e4.serverPath) < 0 && f.fileList.push({ showName: e4.name, serverPath: e4.serverPath });
|
|
22
|
+
t2.indexOf(e4.serverPath) < 0 && f.fileList.push({ name: e4.name, showName: e4.name, serverPath: e4.serverPath });
|
|
23
23
|
}), JSON.stringify(f.fileList), JSON.stringify(e3), c.value = f.fileList.map((e4) => e4.showName).join(","), c.value, f.onSuccess();
|
|
24
24
|
}
|
|
25
25
|
function v(e3) {
|
package/es/index.mjs
CHANGED
|
@@ -56,7 +56,7 @@ import { executeExpression, parseSubTablePermissionCondition } from "./src/utils
|
|
|
56
56
|
import { default as default7 } from "./src/utils/auth-api.mjs";
|
|
57
57
|
import { clearPermission, clearVoiceCache, getAllLanguages, getAllThemes, getCookieCache, getCurrentUser, getLanguage, getRunCurrentRole, getRunInfoKey, getSessionCache, getTenantUsername, getTheme, getToken, getUsername, isDevpSystem, removeAllThemes, removeCookieCache, removeCurrentUser, removeDevpPermissions, removeProjectCode, removeProjectSettings, removeSessionCache, removeSystemCacheUrl, removeTenantUsername, removeTheme, removeToken, removeUsername, setAllLanguages, setAllThemes, setCookieCache, setCurrentUser, setLanguage, setSessionCache, setTenantUsername, setTheme, setToken, setUsername } from "./src/utils/auth.mjs";
|
|
58
58
|
import { addListRefToStore, setActiveMenuToChatAiStore, setPageDataToChatAiStore, setPageInfoToChatStore } from "./src/utils/chat-ai-util.mjs";
|
|
59
|
-
import { cacheAllEnableGlobalPropUtil, cacheAllLanguagesUtil, cacheCurrentLanguageUtil, cacheLangs, cachePermissionsWhenLoginWithToken, cacheProjectSetting, cacheSystemUrl, formatDate, formatFileName, getAuthSource, getCurrentSystemCode, getKkFilePreviewUrl, getLangByShort, getLangs, getLocaleByLang, getLoginTimeoutUrlInfo, getLoginUrl, getOrignUrl, getRelativeBaseUrl, getReplaceUrlDomain, getServerConfigUtil, getSystemBackendUrl, getSystemFrontendUrl, getSystemFrontendUrlWith, getTimeZone, getURLSearchParamObj, getUuidv4, insertFontIconCss, insertThirdLoginJs, isDingTalkEnv, isLogoutTimeout, isMobileBrowser, isPlateSys, isPromise, isShowMenuRoute, isShowSystemMenu, isValidDate, loadCSS, pushCustomControlValidatorRef, removeCustomControlValidatorRef, replacePlaceholders, replacePrefix, setCustomSystemBackendUrl, windowOpenUrl } from "./src/utils/common-util.mjs";
|
|
59
|
+
import { cacheAllEnableGlobalPropUtil, cacheAllLanguagesUtil, cacheCurrentLanguageUtil, cacheLangs, cachePermissionsWhenLoginWithToken, cacheProjectSetting, cacheSystemUrl, formatDate, formatFileName, getAuthSource, getCacheSystemUrlWithSystemCode, getCurrentSystemCode, getKkFilePreviewUrl, getLangByShort, getLangs, getLocaleByLang, getLoginTimeoutUrlInfo, getLoginUrl, getOrignUrl, getRelativeBaseUrl, getReplaceUrlDomain, getServerConfigUtil, getSystemBackendUrl, getSystemFrontendUrl, getSystemFrontendUrlWith, getTimeZone, getURLSearchParamObj, getUuidv4, insertFontIconCss, insertThirdLoginJs, isDingTalkEnv, isLogoutTimeout, isMobileBrowser, isPlateSys, isPromise, isShowMenuRoute, isShowSystemMenu, isValidDate, loadCSS, pushCustomControlValidatorRef, removeCustomControlValidatorRef, replacePlaceholders, replacePrefix, setCustomSystemBackendUrl, windowOpenUrl } from "./src/utils/common-util.mjs";
|
|
60
60
|
import { default as default8 } from "./src/utils/eventBus.mjs";
|
|
61
61
|
import { getFileIconByName } from "./src/utils/file-util.mjs";
|
|
62
62
|
import { GLOBAL_PROP, cacheAllGlobalPropCache, cacheCanShowOrgTree, cacheGlobalProp, getCanShowOrgTree, getGlobalProp, removeAllGlobalPropCache, removeCanShowOrgTree, removeGlobalProp } from "./src/utils/global-prop.mjs";
|
|
@@ -232,6 +232,7 @@ export {
|
|
|
232
232
|
getAllLanguages,
|
|
233
233
|
getAllThemes,
|
|
234
234
|
getAuthSource,
|
|
235
|
+
getCacheSystemUrlWithSystemCode,
|
|
235
236
|
getCanShowOrgTree,
|
|
236
237
|
getCookieCache,
|
|
237
238
|
getCurrentSystemCode,
|
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
import { ElCard as
|
|
3
|
-
import { Bottom as
|
|
4
|
-
import
|
|
5
|
-
import { useI18n as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as e, defineEmits as l, ref as t, computed as o, watch as a, onMounted as i, createVNode as n, resolveComponent as r, isVNode as s } from "vue";
|
|
2
|
+
import { ElCard as u, ElButton as c, ElIcon as d, ElTag as p, ElCheckbox as h } from "element-plus";
|
|
3
|
+
import { Bottom as f, Edit as v, Tickets as m } from "@element-plus/icons-vue";
|
|
4
|
+
import g from "../Scrollbar/index.vue.mjs";
|
|
5
|
+
import { useI18n as y } from "vue-i18n";
|
|
6
|
+
const b = e({ name: "CardView", components: { Scrollbar: g }, props: { form: { type: Object, default: () => {
|
|
7
7
|
} }, no: { type: [Number, String, void 0], default: () => {
|
|
8
8
|
} }, isChecked: { type: Boolean, default: () => false }, isCheck: { type: Boolean, default: () => false }, isSubTable: { type: Boolean, default: () => false }, isShowDetailsMore: { type: Boolean, default: () => false }, isMore: { type: Boolean, default: () => true }, setMaxHeight: { type: [Function, void 0], default: () => {
|
|
9
9
|
} }, setHeight: { type: [Function, void 0], default: () => {
|
|
10
|
-
} } }, setup(e2, { attrs:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
} }, isEnableEdit: { type: Boolean, default: () => false } }, setup(e2, { attrs: b2, emit: x, slots: w }) {
|
|
11
|
+
l(["checked", "showSubTable", "rowDblclick", "rowClick"]);
|
|
12
|
+
const k = t(e2.isShowDetailsMore), { t: S } = y(), C = t(void 0), M = t(null), D = () => {
|
|
13
|
+
x("checked");
|
|
14
|
+
}, H = (l2) => {
|
|
15
|
+
const t2 = { ...e2, isMore: k.value };
|
|
15
16
|
return ["function"].includes(typeof l2) ? l2(t2) : l2;
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}),
|
|
20
|
-
|
|
21
|
-
}),
|
|
17
|
+
}, j = o(() => H(w.footerSlot).filter((e3) => e3 == null ? void 0 : e3.children) ?? []), B = (l2) => e2.setMaxHeight ? e2.setMaxHeight(l2) : (l2 == null ? void 0 : l2.windowHeight) ? 0.4 * l2.windowHeight <= C.value ? 300 : C.value && C.value >= 300 ? C : 300 : void 0;
|
|
18
|
+
a(() => e2.isShowDetailsMore, (e3) => {
|
|
19
|
+
k.value = e3;
|
|
20
|
+
}), a(() => e2.isMore, (e3) => {
|
|
21
|
+
k.value = e3;
|
|
22
|
+
}), i(() => {
|
|
22
23
|
var _a, _b, _c;
|
|
23
|
-
const e3 = (_c = (_b = (_a =
|
|
24
|
-
e3 && (
|
|
24
|
+
const e3 = (_c = (_b = (_a = M.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector) == null ? void 0 : _c.call(_b, ".el-scrollbar__view");
|
|
25
|
+
e3 && (C.value = e3.clientHeight);
|
|
25
26
|
});
|
|
26
|
-
const
|
|
27
|
-
|
|
27
|
+
const P = (e3) => {
|
|
28
|
+
D(), x("rowClick", e3);
|
|
28
29
|
}, $ = (e3) => {
|
|
29
|
-
|
|
30
|
+
x("rowDblclick", e3);
|
|
30
31
|
};
|
|
31
32
|
return () => {
|
|
32
33
|
var _a, _b;
|
|
33
34
|
let l2;
|
|
34
|
-
return
|
|
35
|
-
return [
|
|
36
|
-
e3.stopPropagation(),
|
|
37
|
-
} }, { default: () => [
|
|
35
|
+
return n(u, { key: `card_${((_a = e2.form) == null ? void 0 : _a.$rowDataGuId) || `${(_b = e2.form) == null ? void 0 : _b.id}_${e2.no}`}`, "header-padding": true, "body-padding": true, shadow: "hover", class: { "yx-card-main": true, "is-checked": e2.isChecked } }, { default: () => {
|
|
36
|
+
return [n("div", { class: "yx-flex-wrap", vertical: true, style: { gap: "0", height: "100%" }, onClick: P, onDblclick: $ }, [n(g, { ref: M, dispatch: e2.isShowDetailsMore && k.value, "scrollable-main": true, "max-height": k.value ? "100%" : "50vh", "set-max-height": B, "set-height": e2.setHeight }, (t2 = l2 = n("div", { class: "yx-card-body" }, [H(w.children)]), "function" == typeof t2 || "[object Object]" === Object.prototype.toString.call(t2) && !s(t2) ? l2 : { default: () => [l2] })), e2.isShowDetailsMore && n(c, { text: true, icon: n(d, null, { default: () => [k.value ? n(f, null, null) : n(r("Top"), null, null)] }), onClick: (e3) => {
|
|
37
|
+
e3.stopPropagation(), k.value = !k.value;
|
|
38
|
+
} }, { default: () => [k.value ? S("imatrixUIPublicModel.expand") : S("imatrixUIPublicModel.collapse")] })])];
|
|
38
39
|
var t2;
|
|
39
|
-
}, header: () =>
|
|
40
|
-
|
|
41
|
-
} }, null), e2.
|
|
40
|
+
}, header: () => n("div", { class: "yx-flex-wrap", justify: "space-between", align: "center", onClick: P, onDblclick: $ }, [n("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px", flex: "1 1 auto", maxWidth: "calc(100% - 80px)" } }, [e2.no && n(p, { type: "primary", size: "small" }, { default: () => [e2.no] }), n("div", { "layout-title": true, class: "ellipsis" }, [H(w.titleSlot)])]), n("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px" } }, [H(w.headerRightSlot), e2.isEnableEdit && n(c, { text: true, icon: n(d, null, { default: () => [n(v, null, null)] }), onClick: (e3) => {
|
|
41
|
+
e3.stopPropagation(), x("rowDblclick", e3);
|
|
42
|
+
} }, null), e2.isSubTable && n(c, { text: true, icon: n(d, null, { default: () => [n(m, null, null)] }), onClick: (l3) => {
|
|
43
|
+
l3.stopPropagation(), x("showSubTable", e2.form);
|
|
44
|
+
} }, null), e2.isCheck && n(h, { "model-value": e2.isChecked, disabled: !!e2.form.$editing, style: "height: auto;", onClick: (e3) => {
|
|
42
45
|
e3.stopPropagation();
|
|
43
|
-
}, onChange:
|
|
46
|
+
}, onChange: D }, null)])]), ...j.value.length > 0 ? { footer: j.value } : {} });
|
|
44
47
|
};
|
|
45
48
|
} });
|
|
46
49
|
export {
|
|
47
|
-
|
|
50
|
+
b as default
|
|
48
51
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSlots as e, ref as t, computed as o, reactive as l, useAttrs as s, mergeProps as
|
|
1
|
+
import { useSlots as e, ref as t, computed as o, reactive as l, useAttrs as s, mergeProps as r, onMounted as a, watch as i, openBlock as c, createBlock as d, unref as u, withCtx as n, renderSlot as h } from "vue";
|
|
2
2
|
import { ElScrollbar as p } from "element-plus";
|
|
3
3
|
import m from "../../store/index.mjs";
|
|
4
4
|
import "./index.vue2.mjs";
|
|
@@ -16,13 +16,13 @@ const g = v({ __name: "index", props: { showScrollShadow: { type: Boolean, defau
|
|
|
16
16
|
console.error(e3);
|
|
17
17
|
}
|
|
18
18
|
}, S = o(() => {
|
|
19
|
-
const e2 =
|
|
19
|
+
const e2 = r(b, x);
|
|
20
20
|
return { ...{ ...w.setMaxHeight ? { maxHeight: y(w.setMaxHeight) } : {}, ...w.setHeight ? { height: y(w.setHeight) } : {} }, ...e2 };
|
|
21
21
|
}), $ = (e2) => {
|
|
22
22
|
if (!e2)
|
|
23
23
|
return;
|
|
24
24
|
const t2 = e2.scrollTop <= w.triggerDistance;
|
|
25
|
-
e2.scrollTop + e2.clientHeight >= e2.scrollHeight - w.triggerDistance ? (!["at-bottom"].includes(T.value) && g2("scrollToBottom"), T.value = "at-bottom") : t2 ? (!["at-top"].includes(T.value) && g2("scrollToTop"), T.value = "at-top") : T.value = void 0;
|
|
25
|
+
e2.scrollTop + e2.clientHeight + 1 >= e2.scrollHeight - w.triggerDistance ? (!["at-bottom"].includes(T.value) && g2("scrollToBottom"), T.value = "at-bottom") : t2 ? (!["at-top"].includes(T.value) && g2("scrollToTop"), T.value = "at-top") : T.value = void 0;
|
|
26
26
|
}, L = () => {
|
|
27
27
|
var _a2;
|
|
28
28
|
const e2 = (_a2 = H.value) == null ? void 0 : _a2.$el.querySelector(".el-scrollbar__wrap");
|
|
@@ -31,7 +31,7 @@ const g = v({ __name: "index", props: { showScrollShadow: { type: Boolean, defau
|
|
|
31
31
|
w.showScrollShadow ? (t2 ? H.value.$el.classList.remove("scroll-top-shadow") : H.value.$el.classList.add("scroll-top-shadow"), o2 ? H.value.$el.classList.remove("scroll-bottom-shadow") : H.value.$el.classList.add("scroll-bottom-shadow")) : H.value.$el.classList.remove("scroll-top-shadow", "scroll-bottom-shadow"), $(e2);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
return
|
|
34
|
+
return a(() => {
|
|
35
35
|
const e2 = H.value.$el.querySelector(".el-scrollbar__wrap");
|
|
36
36
|
e2 && (e2.addEventListener("scroll", L), L(), $(e2));
|
|
37
37
|
}), i(() => w.showScrollShadow, () => {
|
|
@@ -45,8 +45,8 @@ const g = v({ __name: "index", props: { showScrollShadow: { type: Boolean, defau
|
|
|
45
45
|
return (_a2 = f.default) == null ? void 0 : _a2.call(f);
|
|
46
46
|
}, (e2, t2) => {
|
|
47
47
|
e2 !== t2 && setTimeout(L, 500);
|
|
48
|
-
}, { deep: true }), (e2, t2) => (c(), d(u(p),
|
|
49
|
-
} }, [["__scopeId", "data-v-
|
|
48
|
+
}, { deep: true }), (e2, t2) => (c(), d(u(p), r(S.value, { class: { "is-dispatch": w.dispatch }, ref_key: "scrollbarRef", ref: H }), { default: n(() => [h(e2.$slots, "default", {}, void 0, true)]), _: 3 }, 16, ["class"]));
|
|
49
|
+
} }, [["__scopeId", "data-v-dba8fdf8"]]);
|
|
50
50
|
export {
|
|
51
51
|
g as default
|
|
52
52
|
};
|
package/es/src/i18n/langs/cn.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { imatrixUIPublicModel: { sure: "确定", cancel: "取消", allDepartments: "所有部门", allUsers: "所有用户", reset: "重置", to: "至", edit: "操作", clear: "清空", download: "下载", delete: "删除", preview: "预览", add: "增加", more: "更多", graphView: "图形视图", listView: "列表视图", fieldName: "字段名(*)", operator: "操作符", value: "值(*)", andOr: "并且/或者", whenTheVariableIsEmpty: "变量为空时", perhaps: "或者", also: "并且", greaterThan: "大于", lessThan: "小于", beEqualTo: "等于", notGreaterThan: "不大于", notLessThan: "不小于", notEqualTo: "不等于", contain: "包含", notIncluded: "不包含", laterThan: "晚于", earlierThan: "早于", noLaterThan: "不晚于", noEarlierThan: "不早于", ignore11: "忽略(1=1)", nonConformity: "不符合(1<>1)", switchToNormalQuery: "切换为普通查询", switchToAdvancedQuery: "切换为高级查询", isNull: "等于Null", isNotNull: "不等于Null", previewImage: "预览图片", fullScreen: "全屏", forbidden: "禁用", startUsing: "启用", systemCode: "系统编码", code: "编码", emptyValue: "空值", expand: "展开", collapse: "收起", confirmClosePage: "确认关闭此页面吗?未保存的数据将会丢失。" }, imatrixUIMessage: { whetherToConfirmDeletion: "是否确认删除", tips: "提示", pleaseEnterContent: "请输入内容", internalServerError: "请求失败", pleaseSelectDepartment: "请选择部门", pleaseSelectPersonnel: "请选择人员", pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel: "请先移除所有人员,再选择具体人员", queryResultIsEmpty: "查询结果为空", pleaseSelectATeam: "请选择工作组", pleaseEnterTeamName: "请输入工作组信息筛选", validationFailed: "验证失败", selectionDate: "选择日期", selectTime: "选择时间", pleaseEnterATimePoint: "请输入时间点", pleaseSelect: "请选择", startDate: "开始日期", endDate: "结束日期", noExportColumnsConfigured: "没有配置导出列", organizationTreeNoResultNotRemove: "未选择任何信息,无需移除", exceedFileSize: "超过文件大小限制{fileSize}M", upload: "上传", invalideDoubleValue: "{num} 不是合法的小数", noJumpPage: "未配置跳转页面", saveSuccessfully: "保存成功", pleaseInputSearchCondition: "请输入查询条件", fileUpload: "文件上传", selectYear: "选择年", search: "查询", forbiddenException: "您没有权限访问", theButtonIsNotBoundToAResource: "该按钮未绑定资源,请先绑定资源", asyncExport: "正在异步导出,请等待消息通知!", selectedWorkingGroup: "已选工作组", forbiddenExceptionLinkUrl: "请点击进行权限申请", forbiddenExceptionLinkUser: "如有疑问请联系", uploadFileTip: "上传的文件不超过{fileSize}M", asyncExportJumpMsg: "或点击我跳转到下载页面", mustFill: "{label} 必须填写", filePathNotFound: "文件UUID未找到,请检查配置", pleaseSelectDeleteData: "请选择要删除的数据" }, superGrid: { editablePlaceholder: "请点击输入", rowEditMessageBox: { title: "操作确认", content: "当前行有未保存的修改,是否进行保存修改切换?", confirmButton: "保存修改", cancelButton: "放弃修改" }, columnConfig: "字段配置", pleaseSaveOrCancelEditingLine: "请先保存或撤销编辑第 {row} 行数据", pleaseSaveLine: "请先保存第 {row} 行数据", noNeedToSaveRow: "无需保存第 {row} 行数据", pleaseSetURLToSaveRowInformation: "请设置“保存行信息的url”", lineSavedSuccessfully: "第 {row} 行保存成功", theReturnValueOfTheBeforesaveCallbackMethodIsFalse: "beforeSave回调方法返回值为false", lineNoNeedToUndoEdit: "第 {row} 行无需撤销编辑", lineCancelledSuccessfully: "第 {row} 行撤销成功", label: "字段名", isShow: "是否显示", isExportable: "是否导出", recordLine: "第 {row} 行记录", pageRecordLine: "第 {pageNum} 页第 {row} 行记录", fileName: "文件名称", deleteSuccessful: "删除成功", index: "序号", searchConditionName: "查询条件名称", pleaseInputSearchConditionName: "请输入查询条件名称", saveCondition: "保存条件", saveConditionTitle: "保存查询条件", displayOrder: "显示顺序", searchDisplayOrder: "查询显示顺序", width: "列宽", default: "默认", custom: "自定义", show: "显示", hidden: "隐藏", export: "导出", unExport: "不导出", whetherToConfirmReset: "是否确认重置?", resetSuccessful: "重置成功", dragColumnOrderMessage: "支持拖动改变列顺序", selectAll: "全选", viewImage: "查看图片", previewTitleWhenNotImg: "非图片格式,使用其它方式预览", refresh: "刷新", open: "展开", fold: "收起", prevRow: "上一行", nextRow: "下一行", detail: "详情", searchEmpty: "查询空值", canntAddTip: "不满足新建操作条件,不能执行新建操作,请检查!", rowCanntDeleteTip: "不满足删除操作条件,不能执行删除操作,请检查!", rowCanntEditTip: "不满足编辑操作条件,不能执行编辑操作,请检查!" }, departmentTree: {}, departmentTreeInline: { pleaseEnterDepartmentName: "请输入部门信息筛选", name: "部门名称", code: "部门编码", removeDepartment: "移除部门", selectedDept: "已选部门", namePath: "名称路径", allCheck: "全选", pleaseInputNameOrCode: "请输入名称/编码", selectResultInfoHasSelect: "已选择:", selectResultInfo: "{num}个部门(含子部门)", selectResultTitle: "已选择信息" }, departmentUserTree: { pleaseEnterUserInformation: "请输入用户信息筛选", selectedPeople: "已选人员", searchFieldUserName: "姓名", searchFieldLoginName: "登录名", searchFieldEmail: "邮箱", searchFieldTelephone: "手机号", searchFieldJobNumber: "工号", searchFieldHonorificName: "尊称", selectUserResultInfo: "{userNum}个用户", selectDeptResultInfo: "{deptNum}个部门(含子部门)" }, departmentUserTreeInline: { name: "姓名", department: "所属部门", branch: "所属分支", removeUser: "移除用户", email: "邮箱", loginName: "登录名", superiorDeptNameFullPath: "组织全路径", user: "用户", groupName: "名称", groupForm: "群组表单", groupList: "群组维护", group: "群组", orgTree: "组织树", groupNameNotEmpty: "群组名称必填" }, workgroupTree: { allTeamMembers: "所有工作组人员", name: "工作组名称", code: "工作组编码", removeWorkgroup: "移除工作组", workingGroupName: "工作组名称", workingGroupNumber: "工作组编号", workgroupDescription: "工作组描述", selectResultInfo: "{num}个工作组" }, workflowButton: { save: "暂存", submit: "提交", approve: "同意", refuse: "不同意", agreement: "赞成", oppose: "反对", kiken: "弃权", get_back_button: "取回", copy: "抄送", draw: "领取", abandon_draw: "放弃领取", add_sign: "加签", remove_sign: "减签", signoff: "签收", assign: "交办", assign_task: "转办", readed: "已阅", export_report: "导出报告", draw_dept_task: "部门领取", abandon_draw_dept_task: "放弃部门领取" }, workflowHistoryList: { specailText: "特", index: "序号", taskName: "环节名称", operation: "流转操作", opinion: "办理意见", processStart: "流程开始", processEnd: "流程结束", process_start: "[{key_1}]流程开始", prcoess_end: "[{key_1}]流程结束", force_end_process: "{key_1}强制结束了该流程,[{key_2}]的任务被取消", history_jump: "流程{key_3}到[{key_1}],[{key_2}]的任务被取消", history_back: "{key_1}退回任务,流程退回到[{key_2}]", history_removesign: "{key_1}给[{key_2}]减签", history_changetransactor_and_delegate: "{key_1}把办理人[{key_2}]更改成[{key_3})],{key_4}把任务委托给了[{key_5}]", history_changetransactor: "{key_1}把办理人[{2}]更改成[{key_3}]", history_addsign: "{key_1}给[{key_2}]加签", history_addtransactor: "{key_1}增加办理人[{key_2}]", history_removetransactor: "{key_1}减少办理人[{key_2}]", history_delegate_and_assign: "{key_1}把任务指派给了[{key_2}],[{key_3}]把任务委托给了[{key_4}]", history_assign: "{key_1}把任务指派给了[{key_2}]", transfer: "{key_1}移交给[{key_2}]", history_complete_transfer: "{key_1}执行了[{key_2}]操作,取消了其它接收人[{key_3}]的任务", history_delegate_receive: "{key_1}收回委托给[{key_2}]的任务", history_delegate: "{key_1}已把任务[{key_2}]委托给[{key_3}]", history_quit_transfer: "{key_1}离职,已把任务[{2}]移交给了[{key_3}]", history_change_job_transfer: "{1}换岗,已把任务[{2}]移交给了[{key_3}]", commonButtonOperation: "{key_1}执行了[{key_2}]操作", history_draw_task: "{key_1}领取了任务,取消了候选人[{key_2}]的任务", history_abandon_draw: "{key_1}放弃领取该任务,还原了候选人[{key_2}]的任务", create_copy_task: "{key_1}把任务抄送给了[{key_2}]", toDoText: "待处理", operator: "操作人", operatorLg: "操作人登录名", operatorDept: "操作人部门", operationTime: "操作时间", history_draw_dept_task: "{key_1}领取了部门[{key_2}]的任务", history_abandon_draw_dept_task: "{key_1}放弃领取部门[{key_2}]的任务", remark: "备注", taskState: "节点状态", processingDuration: "处理时长(H)", stayDuration: "停留时长", isOverdue: "是否超期", taskStateDoing: "进行中", taskStateDone: "已完成" }, gateway: { timeout: "接口调用超时", callFailed: "接口调用失败" }, superNineGrid: { add: "新建" }, fsUpload: { upload: "上传", download: "下载", delete: "删除", deleteSuccessful: "删除成功", preview: "预览", name: "名称", picture: "图片", operating: "操作", uploadSucceeded: "上传成功", theNumberOfUploadsExceedsTheLimitTheLimitIs: "上传数量超过限制,限制数量为", image: "图片", video: "视频", updateSuccess: "更新成功", more: "更多", uploadFailed: "上传失败!" }, messageVideo: { attemptingToIdentify: "正在尝试识别....", callingRearCamera: "正在调用后置摄像头...", identificationFailed: "识别失败" }, IntervalSelection: { year: "年", quarter: "季度", auxiliary: "第", week: "周", month: "月", day: "日", tian: "天", hour: "小时", minute: "分钟", second: "秒" }, imatrixUIPromptMessage: { NoContent: "暂无内容" }, chatEmbed: { name: "AI小助手", history: "历史记录", minimize: "缩小", fullscreen: "全屏", close: "关闭", regenerate: "重新生成", copy: "复制", newChat: "新建会话", copySuccess: "复制成功", requestFailed: "请求会话失败!" } };
|
|
1
|
+
const e = { imatrixUIPublicModel: { sure: "确定", cancel: "取消", allDepartments: "所有部门", allUsers: "所有用户", reset: "重置", to: "至", edit: "操作", clear: "清空", download: "下载", delete: "删除", preview: "预览", add: "增加", more: "更多", graphView: "图形视图", listView: "列表视图", fieldName: "字段名(*)", operator: "操作符", value: "值(*)", andOr: "并且/或者", whenTheVariableIsEmpty: "变量为空时", perhaps: "或者", also: "并且", greaterThan: "大于", lessThan: "小于", beEqualTo: "等于", notGreaterThan: "不大于", notLessThan: "不小于", notEqualTo: "不等于", contain: "包含", notIncluded: "不包含", laterThan: "晚于", earlierThan: "早于", noLaterThan: "不晚于", noEarlierThan: "不早于", ignore11: "忽略(1=1)", nonConformity: "不符合(1<>1)", switchToNormalQuery: "切换为普通查询", switchToAdvancedQuery: "切换为高级查询", isNull: "等于Null", isNotNull: "不等于Null", previewImage: "预览图片", fullScreen: "全屏", forbidden: "禁用", startUsing: "启用", systemCode: "系统编码", code: "编码", emptyValue: "空值", expand: "展开", collapse: "收起", noData: "暂无数据", confirmClosePage: "确认关闭此页面吗?未保存的数据将会丢失。", noMoreData: "没有更多数据了" }, imatrixUIMessage: { whetherToConfirmDeletion: "是否确认删除", tips: "提示", pleaseEnterContent: "请输入内容", internalServerError: "请求失败", pleaseSelectDepartment: "请选择部门", pleaseSelectPersonnel: "请选择人员", pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel: "请先移除所有人员,再选择具体人员", queryResultIsEmpty: "查询结果为空", pleaseSelectATeam: "请选择工作组", pleaseEnterTeamName: "请输入工作组信息筛选", validationFailed: "验证失败", selectionDate: "选择日期", selectTime: "选择时间", pleaseEnterATimePoint: "请输入时间点", pleaseSelect: "请选择", startDate: "开始日期", endDate: "结束日期", noExportColumnsConfigured: "没有配置导出列", organizationTreeNoResultNotRemove: "未选择任何信息,无需移除", exceedFileSize: "超过文件大小限制{fileSize}M", upload: "上传", invalideDoubleValue: "{num} 不是合法的小数", noJumpPage: "未配置跳转页面", saveSuccessfully: "保存成功", pleaseInputSearchCondition: "请输入查询条件", fileUpload: "文件上传", selectYear: "选择年", search: "查询", forbiddenException: "您没有权限访问", theButtonIsNotBoundToAResource: "该按钮未绑定资源,请先绑定资源", asyncExport: "正在异步导出,请等待消息通知!", selectedWorkingGroup: "已选工作组", forbiddenExceptionLinkUrl: "请点击进行权限申请", forbiddenExceptionLinkUser: "如有疑问请联系", uploadFileTip: "上传的文件不超过{fileSize}M", asyncExportJumpMsg: "或点击我跳转到下载页面", mustFill: "{label} 必须填写", filePathNotFound: "文件UUID未找到,请检查配置", pleaseSelectDeleteData: "请选择要删除的数据" }, superGrid: { editablePlaceholder: "请点击输入", rowEditMessageBox: { title: "操作确认", content: "当前行有未保存的修改,是否进行保存修改切换?", confirmButton: "保存修改", cancelButton: "放弃修改" }, columnConfig: "字段配置", pleaseSaveOrCancelEditingLine: "请先保存或撤销编辑第 {row} 行数据", pleaseSaveLine: "请先保存第 {row} 行数据", noNeedToSaveRow: "无需保存第 {row} 行数据", pleaseSetURLToSaveRowInformation: "请设置“保存行信息的url”", lineSavedSuccessfully: "第 {row} 行保存成功", theReturnValueOfTheBeforesaveCallbackMethodIsFalse: "beforeSave回调方法返回值为false", lineNoNeedToUndoEdit: "第 {row} 行无需撤销编辑", lineCancelledSuccessfully: "第 {row} 行撤销成功", label: "字段名", isShow: "是否显示", isExportable: "是否导出", recordLine: "第 {row} 行记录", pageRecordLine: "第 {pageNum} 页第 {row} 行记录", fileName: "文件名称", deleteSuccessful: "删除成功", index: "序号", searchConditionName: "查询条件名称", pleaseInputSearchConditionName: "请输入查询条件名称", saveCondition: "保存条件", saveConditionTitle: "保存查询条件", displayOrder: "显示顺序", searchDisplayOrder: "查询显示顺序", width: "列宽", default: "默认", custom: "自定义", show: "显示", hidden: "隐藏", export: "导出", unExport: "不导出", whetherToConfirmReset: "是否确认重置?", resetSuccessful: "重置成功", dragColumnOrderMessage: "支持拖动改变列顺序", selectAll: "全选", viewImage: "查看图片", previewTitleWhenNotImg: "非图片格式,使用其它方式预览", refresh: "刷新", open: "展开", fold: "收起", prevRow: "上一行", nextRow: "下一行", detail: "详情", searchEmpty: "查询空值", canntAddTip: "不满足新建操作条件,不能执行新建操作,请检查!", rowCanntDeleteTip: "不满足删除操作条件,不能执行删除操作,请检查!", rowCanntEditTip: "不满足编辑操作条件,不能执行编辑操作,请检查!", searchCondition: "查询条件", orderField: "排序字段", orderType: "排序方式", orderTypeAsc: "升序", orderTypeDesc: "降序", close: "关闭" }, departmentTree: {}, departmentTreeInline: { pleaseEnterDepartmentName: "请输入部门信息筛选", name: "部门名称", code: "部门编码", removeDepartment: "移除部门", selectedDept: "已选部门", namePath: "名称路径", allCheck: "全选", pleaseInputNameOrCode: "请输入名称/编码", selectResultInfoHasSelect: "已选择:", selectResultInfo: "{num}个部门(含子部门)", selectResultTitle: "已选择信息" }, departmentUserTree: { pleaseEnterUserInformation: "请输入用户信息筛选", selectedPeople: "已选人员", searchFieldUserName: "姓名", searchFieldLoginName: "登录名", searchFieldEmail: "邮箱", searchFieldTelephone: "手机号", searchFieldJobNumber: "工号", searchFieldHonorificName: "尊称", selectUserResultInfo: "{userNum}个用户", selectDeptResultInfo: "{deptNum}个部门(含子部门)" }, departmentUserTreeInline: { name: "姓名", department: "所属部门", branch: "所属分支", removeUser: "移除用户", email: "邮箱", loginName: "登录名", superiorDeptNameFullPath: "组织全路径", user: "用户", groupName: "名称", groupForm: "群组表单", groupList: "群组维护", group: "群组", orgTree: "组织树", groupNameNotEmpty: "群组名称必填" }, workgroupTree: { allTeamMembers: "所有工作组人员", name: "工作组名称", code: "工作组编码", removeWorkgroup: "移除工作组", workingGroupName: "工作组名称", workingGroupNumber: "工作组编号", workgroupDescription: "工作组描述", selectResultInfo: "{num}个工作组" }, workflowButton: { save: "暂存", submit: "提交", approve: "同意", refuse: "不同意", agreement: "赞成", oppose: "反对", kiken: "弃权", get_back_button: "取回", copy: "抄送", draw: "领取", abandon_draw: "放弃领取", add_sign: "加签", remove_sign: "减签", signoff: "签收", assign: "交办", assign_task: "转办", readed: "已阅", export_report: "导出报告", draw_dept_task: "部门领取", abandon_draw_dept_task: "放弃部门领取" }, workflowHistoryList: { specailText: "特", index: "序号", taskName: "环节名称", operation: "流转操作", opinion: "办理意见", processStart: "流程开始", processEnd: "流程结束", process_start: "[{key_1}]流程开始", prcoess_end: "[{key_1}]流程结束", force_end_process: "{key_1}强制结束了该流程,[{key_2}]的任务被取消", history_jump: "流程{key_3}到[{key_1}],[{key_2}]的任务被取消", history_back: "{key_1}退回任务,流程退回到[{key_2}]", history_removesign: "{key_1}给[{key_2}]减签", history_changetransactor_and_delegate: "{key_1}把办理人[{key_2}]更改成[{key_3})],{key_4}把任务委托给了[{key_5}]", history_changetransactor: "{key_1}把办理人[{2}]更改成[{key_3}]", history_addsign: "{key_1}给[{key_2}]加签", history_addtransactor: "{key_1}增加办理人[{key_2}]", history_removetransactor: "{key_1}减少办理人[{key_2}]", history_delegate_and_assign: "{key_1}把任务指派给了[{key_2}],[{key_3}]把任务委托给了[{key_4}]", history_assign: "{key_1}把任务指派给了[{key_2}]", transfer: "{key_1}移交给[{key_2}]", history_complete_transfer: "{key_1}执行了[{key_2}]操作,取消了其它接收人[{key_3}]的任务", history_delegate_receive: "{key_1}收回委托给[{key_2}]的任务", history_delegate: "{key_1}已把任务[{key_2}]委托给[{key_3}]", history_quit_transfer: "{key_1}离职,已把任务[{2}]移交给了[{key_3}]", history_change_job_transfer: "{1}换岗,已把任务[{2}]移交给了[{key_3}]", commonButtonOperation: "{key_1}执行了[{key_2}]操作", history_draw_task: "{key_1}领取了任务,取消了候选人[{key_2}]的任务", history_abandon_draw: "{key_1}放弃领取该任务,还原了候选人[{key_2}]的任务", create_copy_task: "{key_1}把任务抄送给了[{key_2}]", toDoText: "待处理", operator: "操作人", operatorLg: "操作人登录名", operatorDept: "操作人部门", operationTime: "操作时间", history_draw_dept_task: "{key_1}领取了部门[{key_2}]的任务", history_abandon_draw_dept_task: "{key_1}放弃领取部门[{key_2}]的任务", remark: "备注", taskState: "节点状态", processingDuration: "处理时长(H)", stayDuration: "停留时长", isOverdue: "是否超期", taskStateDoing: "进行中", taskStateDone: "已完成" }, gateway: { timeout: "接口调用超时", callFailed: "接口调用失败" }, superNineGrid: { add: "新建" }, fsUpload: { upload: "上传", download: "下载", delete: "删除", deleteSuccessful: "删除成功", preview: "预览", name: "名称", picture: "图片", operating: "操作", uploadSucceeded: "上传成功", theNumberOfUploadsExceedsTheLimitTheLimitIs: "上传数量超过限制,限制数量为", image: "图片", video: "视频", updateSuccess: "更新成功", more: "更多", uploadFailed: "上传失败!" }, messageVideo: { attemptingToIdentify: "正在尝试识别....", callingRearCamera: "正在调用后置摄像头...", identificationFailed: "识别失败" }, IntervalSelection: { year: "年", quarter: "季度", auxiliary: "第", week: "周", month: "月", day: "日", tian: "天", hour: "小时", minute: "分钟", second: "秒" }, imatrixUIPromptMessage: { NoContent: "暂无内容" }, chatEmbed: { name: "AI小助手", history: "历史记录", minimize: "缩小", fullscreen: "全屏", close: "关闭", regenerate: "重新生成", copy: "复制", newChat: "新建会话", copySuccess: "复制成功", requestFailed: "请求会话失败!" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|