agilebuilder-ui 1.1.65-tmp26 → 1.1.65-tmp28
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 +1381 -1349
- package/dist/style.css +42 -22
- package/es/IntervalSelection/src/sectionDate.vue.mjs +8 -8
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -11
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +8 -8
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +5 -5
- package/es/chat-embed/src/chat-sender.vue2.mjs +41 -41
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +1 -2
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +6 -7
- package/es/chat-embed/src/components/history-detail.vue2.mjs +18 -18
- package/es/chat-embed/src/header.vue2.mjs +16 -16
- package/es/chat-embed/src/index.vue2.mjs +161 -161
- package/es/chat-embed/src/recommendation-message.vue2.mjs +9 -6
- package/es/chat-embed/src/sidebar-item.vue2.mjs +65 -65
- package/es/chat-embed/src/voice/voice.vue.mjs +36 -35
- package/es/date-picker-range/index.vue2.mjs +39 -39
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +8 -7
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +54 -54
- package/es/department-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-tree-mobile/src/dept-result.vue.mjs +7 -6
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +5 -5
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +10 -9
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +64 -64
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/empty-state/index.vue.mjs +2 -2
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +1 -1
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +1 -1
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +12 -12
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +24 -24
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +17 -17
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +12 -12
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +34 -34
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +15 -15
- package/es/json-view/json-view-dialog.vue.mjs +5 -5
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +1 -1
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +5 -5
- package/es/row-form/index.vue2.mjs +31 -31
- package/es/row-form/operation.vue.mjs +13 -13
- package/es/secret-info/index.vue.mjs +1 -1
- package/es/src/components/Affix/index.vue2.mjs +26 -26
- package/es/src/components/Scrollbar/index.vue.mjs +22 -22
- package/es/src/views/error-page/401.vue.mjs +8 -8
- package/es/src/views/error-page/404.vue.mjs +8 -8
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +2 -2
- package/es/src/views/super-icon/index.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
- package/es/src/views/super-icon/src/index.vue3.mjs +4 -0
- package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
- package/es/style.css +907 -887
- package/es/super-grid/src/columns-config.vue.mjs +1 -1
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +5 -5
- package/es/super-grid/src/components/select-input.vue.mjs +55 -55
- package/es/super-grid/src/row-detail.vue.mjs +1 -1
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +1 -1
- package/es/super-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-grid/src/super-grid.vue.mjs +1 -1
- package/es/super-nine-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-nine-grid/src/search-form.vue.mjs +1 -1
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +1 -1
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +8 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +8 -7
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +51 -51
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +5 -5
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +65 -65
- package/es/year-range-picker/src/year-range-picker.vue.mjs +1 -1
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +6 -6
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +13 -10
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +8 -8
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +5 -5
- package/lib/chat-embed/src/chat-sender.vue2.cjs +20 -20
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +1 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +5 -6
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +18 -18
- package/lib/chat-embed/src/header.vue2.cjs +17 -17
- package/lib/chat-embed/src/index.vue2.cjs +123 -123
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +7 -4
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +35 -35
- package/lib/chat-embed/src/voice/voice.vue.cjs +36 -35
- package/lib/date-picker-range/index.vue2.cjs +11 -11
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +7 -6
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +53 -53
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +7 -6
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +5 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +9 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +61 -61
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/empty-state/index.vue.cjs +2 -2
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +1 -1
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +1 -1
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +12 -12
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +24 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +17 -17
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +12 -12
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +36 -36
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +15 -15
- package/lib/json-view/json-view-dialog.vue.cjs +6 -6
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +1 -1
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +5 -5
- package/lib/row-form/index.vue2.cjs +31 -31
- package/lib/row-form/operation.vue.cjs +13 -13
- package/lib/secret-info/index.vue.cjs +1 -1
- package/lib/src/components/Affix/index.vue2.cjs +28 -28
- package/lib/src/components/Scrollbar/index.vue.cjs +22 -22
- package/lib/src/views/error-page/401.vue.cjs +7 -7
- package/lib/src/views/error-page/404.vue.cjs +4 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +1 -1
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +2 -2
- package/lib/src/views/super-icon/index.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue2.cjs +10 -0
- package/lib/src/views/super-icon/src/index.vue3.cjs +2 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +12 -0
- package/lib/style.css +920 -900
- package/lib/super-grid/src/columns-config.vue.cjs +1 -1
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +5 -5
- package/lib/super-grid/src/components/select-input.vue.cjs +56 -56
- package/lib/super-grid/src/row-detail.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-grid/src/super-grid.vue.cjs +1 -1
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-nine-grid/src/search-form.vue.cjs +1 -1
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +1 -1
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +9 -8
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +48 -48
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +9 -8
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +63 -63
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +1 -1
- package/package.json +2 -2
- package/src/views/layout/components/Menubar/Item.vue +1 -1
- package/src/views/super-icon/index.js +6 -0
- package/src/views/super-icon/src/index.vue +52 -0
- package/src/views/svg-icon/src/svg-icon.vue +5 -8
|
@@ -5,10 +5,10 @@ import o from "../../utils/utils.mjs";
|
|
|
5
5
|
import l from "./workgroup-tree-service.mjs";
|
|
6
6
|
import r from "./search-result.vue.mjs";
|
|
7
7
|
import i from "../../empty-state/index.vue.mjs";
|
|
8
|
-
import { resolveComponent as a, openBlock as n, createElementBlock as
|
|
8
|
+
import { resolveComponent as a, openBlock as n, createElementBlock as h, createVNode as d, withCtx as c, withKeys as u, Fragment as p, createElementVNode as g, createBlock as f, normalizeClass as k, toDisplayString as m, createCommentVNode as w } from "vue";
|
|
9
9
|
import "./workgroup-tree-inline.vue2.mjs";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import y from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
11
|
+
const N = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "name", children: "children", isLeaf: "leaf" }, containBranch: false, tenantNodeId: -1, restaurants: [], searchValue: null, searchResult: [], selectResult: [], searchStoreKey: "searchWorkgroup", selectNodeInfo: null, selectWorkgroupData: null, tenantInfo: {}, ElIconSearch: e, canShowOrgTree: false }), name: "InlineWorkgroupTree", components: { WorkgroupResult: r, EmptyState: i }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, selectGroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
12
12
|
e2 || (this.searchValue = e2, this.loadWorkgroup(this.tenantNodeId));
|
|
13
13
|
} }, created() {
|
|
14
14
|
o.canShowOrgTree().then((e2) => {
|
|
@@ -118,11 +118,11 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
118
118
|
s2 = 0 === e2.level ? 0 : e2.data.id;
|
|
119
119
|
var o2 = [];
|
|
120
120
|
this.$refs.workgroupTree && (o2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === s2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(s2, e2, t2, o2);
|
|
121
|
-
} }, emits: ["result"] },
|
|
122
|
-
const
|
|
123
|
-
const i2 = a("el-button"), y2 = a("el-autocomplete"), N2 = a("el-header"),
|
|
124
|
-
return n(),
|
|
121
|
+
} }, emits: ["result"] }, S = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, R = ["title"], T = { key: 1, style: { height: "100%", overflow: "hidden" } }, I = { style: { "text-align": "left", "font-size": "16px" } }, x = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
122
|
+
const v = y(N, [["render", function(e2, t2, s2, o2, l2, r2) {
|
|
123
|
+
const i2 = a("el-button"), y2 = a("el-autocomplete"), N2 = a("el-header"), v2 = a("Menu"), W = a("Calendar"), b = a("el-icon"), C = a("el-tree"), $ = a("EmptyState"), O = a("workgroup-result"), V = a("el-main"), _ = a("el-container"), K = a("el-aside");
|
|
124
|
+
return n(), h("div", null, [d(_, { style: { height: "395px" } }, { default: c(() => [d(K, { width: "430px" }, { default: c(() => [d(_, { style: { height: "390px" } }, { default: c(() => [d(N2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: c(() => [d(y2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: r2.handleSelect, onKeyup: u(r2.clickSearch, ["enter"]) }, { append: c(() => [d(i2, { icon: l2.ElIconSearch, onClick: r2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), d(V, null, { default: c(() => [l2.searchValue ? w("", true) : (n(), h(p, { key: 0 }, [l2.canShowOrgTree ? (n(), h("div", S, [d(C, { ref: "workgroupTree", "filter-node-method": r2.filterNode, load: r2.loadNode, props: l2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "id", onCheck: r2.handleCheckNode, onNodeClick: r2.handleNodeClick }, { default: c(({ node: e3, data: t3 }) => [g("span", null, [d(b, null, { default: c(() => [-1 === e3.data.id ? (n(), f(v2, { key: 0 })) : (n(), f(W, { key: 1 }))]), _: 2 }, 1024), g("span", { class: k(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, m(e3.label), 11, R)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n(), f($, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n(), h("div", T, [d(O, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": l2.selectResult, onAddWorkgroup: r2.addWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : w("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (n(), f(_, { key: 0 }, { default: c(() => [d(K, { width: "2px" }, { default: c(() => [...t2[1] || (t2[1] = [g("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)])]), _: 1 }), d(V, { style: { padding: "10px" } }, { default: c(() => [g("div", I, m(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), g("div", x, [d(O, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroup: r2.removeWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : w("", true)]), _: 1 })]);
|
|
125
125
|
}], ["__scopeId", "data-v-22410ec9"]]);
|
|
126
126
|
export {
|
|
127
|
-
|
|
127
|
+
v as default
|
|
128
128
|
};
|
|
@@ -2,13 +2,14 @@ import { defineComponent as e, ref as t, resolveComponent as l, openBlock as a,
|
|
|
2
2
|
import { DeleteFilled as c } from "@element-plus/icons-vue";
|
|
3
3
|
const m = { style: { "text-align": "center" } }, p = { class: "item-row" }, f = { class: "item-label" }, v = ["onClick"], k = e({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(e2, { expose: k2, emit: y }) {
|
|
4
4
|
let _ = t(false);
|
|
5
|
+
const g = y;
|
|
5
6
|
return k2({ showResult: function() {
|
|
6
7
|
_.value = true, JSON.stringify();
|
|
7
8
|
} }), (t2, k3) => {
|
|
8
|
-
const
|
|
9
|
+
const y2 = l("el-icon"), D = l("el-tree"), R = l("el-drawer");
|
|
9
10
|
return a(), o(R, { modelValue: s(_), "onUpdate:modelValue": k3[0] || (k3[0] = (e3) => n(_) ? _.value = e3 : _ = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: r(() => [i("div", m, d(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: r(() => [u(D, { ref: "orgResultTreeRef", data: e2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: r(({ node: e3, data: t3 }) => [i("div", p, [i("div", f, d(t3.name), 1), i("div", { class: "item-side", onClick: (e4) => {
|
|
10
|
-
|
|
11
|
-
} }, [u(
|
|
11
|
+
g("removeDept", t3);
|
|
12
|
+
} }, [u(y2, null, { default: r(() => [u(s(c))]), _: 1 })], 8, v)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
|
|
12
13
|
};
|
|
13
14
|
} });
|
|
14
15
|
export {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, openBlock as r, createBlock as t, unref as a, isRef as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as o, openBlock as r, createBlock as t, unref as a, isRef as n, withCtx as i, createElementVNode as s, toDisplayString as c, createCommentVNode as p } from "vue";
|
|
2
2
|
import u from "./workgroup-tree-inline-app.vue.mjs";
|
|
3
3
|
const m = { style: { "text-align": "center" } }, d = e({ name: "DepartmentTreeMobile", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(e2, { emit: d2 }) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const f = d2;
|
|
5
|
+
let h = l(true);
|
|
6
|
+
function I(e3) {
|
|
7
|
+
f("close", e3), h.value = false;
|
|
7
8
|
}
|
|
8
|
-
return (
|
|
9
|
-
const
|
|
10
|
-
return r(), t(
|
|
9
|
+
return (l2, d3) => {
|
|
10
|
+
const f2 = o("el-drawer");
|
|
11
|
+
return r(), t(f2, { modelValue: a(h), "onUpdate:modelValue": d3[0] || (d3[0] = (e3) => n(h) ? h.value = e3 : h = e3), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: d3[1] || (d3[1] = (e3) => I()) }, { header: i(() => [s("div", m, c(l2.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: i(() => [a(h) ? (r(), t(u, { key: 0, multiple: e2.multiple, branchInfo: e2.branchInfo, selectWorkgroupInfo: e2.selectWorkgroupInfo, searchField: e2.searchField, "limit-filter-column": e2.limitFilterColumn, separator: e2.separator, onClose: I }, null, 8, ["multiple", "branchInfo", "selectWorkgroupInfo", "searchField", "limit-filter-column", "separator"])) : p("", true)]), _: 1 }, 8, ["modelValue"]);
|
|
11
12
|
};
|
|
12
13
|
} });
|
|
13
14
|
export {
|
|
@@ -7,101 +7,101 @@ import { ElMessage as _ } from "element-plus";
|
|
|
7
7
|
import { useI18n as C } from "vue-i18n";
|
|
8
8
|
import R from "../../utils/utils.mjs";
|
|
9
9
|
import O from "../../src/assets/nonemessage.png.mjs";
|
|
10
|
-
const T = { style: { display: "flex" } }, V = { style: { flex: "0 0 20%", "text-align": "left" } }, N = { style: { flex: "0 0 80%", "text-align": "right" } }, S = { class: "item-row" }, U = { class: "item-label" }, $ = { style: { display: "flex" } }, E = { key: 0 },
|
|
11
|
-
const B = e2, D = l(null);
|
|
12
|
-
let
|
|
10
|
+
const T = { style: { display: "flex" } }, V = { style: { flex: "0 0 20%", "text-align": "left" } }, N = { style: { flex: "0 0 80%", "text-align": "right" } }, S = { class: "item-row" }, U = { class: "item-label" }, $ = { style: { display: "flex" } }, E = { key: 0 }, P = { style: { "padding-left": "10px" } }, j = { key: 1 }, K = { class: "button-area" }, J = e({ __name: "workgroup-tree-inline-app", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(e2, { emit: J2 }) {
|
|
11
|
+
const B = e2, D = J2, M = l(null);
|
|
12
|
+
let W = l(null), q = l(false), z = l(null), A = l([]);
|
|
13
13
|
l([]);
|
|
14
|
-
let
|
|
14
|
+
let F = l([]);
|
|
15
15
|
l([]), l([]);
|
|
16
|
-
let
|
|
17
|
-
const { t:
|
|
18
|
-
function
|
|
16
|
+
let G = l([]), H = l(null), L = l(false), Q = l({ searchValue: null, treeType: "GROUP_TREE", departmentInfo: null });
|
|
17
|
+
const { t: X } = C();
|
|
18
|
+
function Y() {
|
|
19
19
|
R.canShowOrgTree().then((e3) => {
|
|
20
20
|
e3 ? I(B.branchInfo, -1).then((e4) => {
|
|
21
|
-
|
|
22
|
-
}) :
|
|
21
|
+
A.value = e4, w(F.value, G.value);
|
|
22
|
+
}) : A.value = [];
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
B.multiple && (l2 ?
|
|
25
|
+
function Z(e3, l2, t2) {
|
|
26
|
+
B.multiple && (l2 ? le(e3) : te(e3));
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
!B.multiple && e3.nodeType && "WORKGROUP" === e3.nodeType && (
|
|
30
|
-
}
|
|
31
|
-
function ee(e3) {
|
|
32
|
-
if (A.value, e3.nodeType && "WORKGROUP" === e3.nodeType) {
|
|
33
|
-
const l2 = A.value.filter((l3) => l3.nodeId === e3.nodeId);
|
|
34
|
-
l2 && 0 !== l2.length || A.value.push(JSON.parse(JSON.stringify(e3)));
|
|
35
|
-
}
|
|
28
|
+
function ee(e3, l2, t2, a2) {
|
|
29
|
+
!B.multiple && e3.nodeType && "WORKGROUP" === e3.nodeType && (F.value = [e3]);
|
|
36
30
|
}
|
|
37
31
|
function le(e3) {
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
if (F.value, e3.nodeType && "WORKGROUP" === e3.nodeType) {
|
|
33
|
+
const l2 = F.value.filter((l3) => l3.nodeId === e3.nodeId);
|
|
34
|
+
l2 && 0 !== l2.length || F.value.push(JSON.parse(JSON.stringify(e3)));
|
|
35
|
+
}
|
|
40
36
|
}
|
|
41
37
|
function te(e3) {
|
|
38
|
+
const l2 = F.value.findIndex((l3) => l3.nodeId === e3.nodeId);
|
|
39
|
+
F.value, void 0 !== l2 && -1 !== l2 && F.value.splice(l2, 1), L.value = false;
|
|
40
|
+
}
|
|
41
|
+
function ae(e3) {
|
|
42
42
|
if (B.multiple)
|
|
43
43
|
if (e3) {
|
|
44
|
-
const e4 =
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
const e4 = A.value.map((e5) => e5.nodeId);
|
|
45
|
+
M.value.setCheckedKeys(e4, false), A.value.forEach((e5) => {
|
|
46
|
+
le(e5);
|
|
47
47
|
});
|
|
48
48
|
} else
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}),
|
|
49
|
+
A.value.forEach((e4) => {
|
|
50
|
+
te(e4);
|
|
51
|
+
}), M.value.setCheckedKeys([], false);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
53
|
+
function ne() {
|
|
54
|
+
H.value.showResult();
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
const l2 =
|
|
56
|
+
function oe(e3) {
|
|
57
|
+
const l2 = F.value.filter((l3) => l3.nodeId === e3.nodeId);
|
|
58
58
|
if (l2 && l2.length > 0) {
|
|
59
59
|
const l3 = [];
|
|
60
|
-
|
|
60
|
+
F.value.forEach((t2) => {
|
|
61
61
|
t2.nodeId !== e3.nodeId && l3.push(t2.nodeId);
|
|
62
|
-
}),
|
|
62
|
+
}), M.value.setCheckedKeys(l3, true);
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
te(e3);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function se() {
|
|
67
67
|
if (B.multiple) {
|
|
68
68
|
let e3 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
69
|
-
|
|
69
|
+
F.value.forEach((l3) => {
|
|
70
70
|
let t2;
|
|
71
71
|
t2 = null !== l3.data && void 0 !== l3.data ? JSON.parse(l3.data) : l3, function(e4, l4, t3) {
|
|
72
|
-
e4.ids.push(l4.id), e4.codes.push(t3.code), e4.containBranch =
|
|
72
|
+
e4.ids.push(l4.id), e4.codes.push(t3.code), e4.containBranch = q.value, t3.tenantCode = W.value.code, t3.tenantName = W.value.tenantName, e4.workgroups.push(t3);
|
|
73
73
|
const a2 = t3.name;
|
|
74
74
|
e4.names.push(a2);
|
|
75
75
|
}(e3, l3, t2);
|
|
76
76
|
});
|
|
77
77
|
let l2 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
78
|
-
Object.assign(l2, e3), l2.ids.length > 0 ?
|
|
78
|
+
Object.assign(l2, e3), l2.ids.length > 0 ? D("close", l2) : _({ message: X("imatrixUIMessage.pleaseSelectDepartment"), type: "warning" });
|
|
79
79
|
} else {
|
|
80
|
-
const e3 =
|
|
81
|
-
l2.tenantName =
|
|
82
|
-
const a2 = { id: e3.id, name: t2, code: l2.code, containBranch:
|
|
83
|
-
|
|
80
|
+
const e3 = F.value[0], l2 = JSON.parse(e3.data), t2 = e3.name;
|
|
81
|
+
l2.tenantName = W.value.tenantName, l2.tenantCode = W.value.code;
|
|
82
|
+
const a2 = { id: e3.id, name: t2, code: l2.code, containBranch: q.value, workgroup: l2 };
|
|
83
|
+
D("close", a2);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
|
|
88
|
-
e3 ? (0 === e3.length && _({ message:
|
|
89
|
-
})) :
|
|
86
|
+
function ue() {
|
|
87
|
+
Q.value.searchValue ? (Q.value.searchValue = Q.value.searchValue.trim(), Q.value.departmentInfo = B.branchInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-mobile-workgroups", Q.value).then((e3) => {
|
|
88
|
+
e3 ? (0 === e3.length && _({ message: X("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), A.value = e3) : _({ message: X("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
|
|
89
|
+
})) : Y();
|
|
90
90
|
}
|
|
91
91
|
return t(() => {
|
|
92
92
|
y(B.searchField, B.selectWorkgroupInfo, B.separator).then((e3) => {
|
|
93
|
-
|
|
93
|
+
F.value = e3, k().then((e4) => {
|
|
94
94
|
const l2 = e4[0].data;
|
|
95
|
-
|
|
95
|
+
W.value = JSON.parse(l2), q.value = e4[0].containBranch, z.value = e4[0].name, Y();
|
|
96
96
|
});
|
|
97
97
|
}), function() {
|
|
98
98
|
const e3 = document.querySelector(".org-tree");
|
|
99
99
|
let l2 = b();
|
|
100
100
|
l2 = l2 - 110 - 60 - 60 - 60, e3.style.height = l2 + "px", e3.style.minHeight = "300px";
|
|
101
101
|
}();
|
|
102
|
-
}), (
|
|
103
|
-
const
|
|
104
|
-
return n(), o("div", null, [s(
|
|
102
|
+
}), (l2, t2) => {
|
|
103
|
+
const y2 = a("el-checkbox"), k2 = a("el-icon"), I2 = a("el-input"), w2 = a("el-col"), b2 = a("el-row"), _2 = a("el-card"), C2 = a("el-breadcrumb-item"), R2 = a("el-breadcrumb"), J3 = a("el-empty"), B2 = a("el-tree"), D2 = a("el-button");
|
|
104
|
+
return n(), o("div", null, [s(_2, { class: "card-content", style: { height: "50px" } }, { default: u(() => [s(b2, { class: "item-row item-row-all" }, { default: u(() => [s(w2, { style: { width: "100%" } }, { default: u(() => [r("div", T, [r("div", V, [e2.multiple ? (n(), i(y2, { key: 0, modelValue: c(L), "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => d(L) ? L.value = e3 : L = e3), label: l2.$t("departmentTreeInline.allCheck"), value: "all", onChange: ae }, null, 8, ["modelValue", "label"])) : p("", true)]), r("div", N, [s(I2, { modelValue: c(Q).searchValue, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => c(Q).searchValue = e3), placeholder: l2.$t("departmentTreeInline.pleaseInputNameOrCode"), onClear: ue, onKeyup: m(ue, ["enter"]), onBlur: ue, clearable: "" }, { suffix: u(() => [s(k2, { onClick: ue }, { default: u(() => [s(c(v))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder"])])])]), _: 1 })]), _: 1 })]), _: 1 }), c(z) ? (n(), i(_2, { key: 0, class: "card-content", style: { height: "40px" } }, { default: u(() => [s(b2, { class: "item-row item-row-all" }, { default: u(() => [s(w2, { class: "item-label dept-path" }, { default: u(() => [s(R2, { separator: "/" }, { default: u(() => [s(C2, null, { default: u(() => [r("span", null, f(c(z)), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })) : p("", true), s(_2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: u(() => [c(A).length ? (n(), i(B2, { key: 1, ref_key: "orgTreeRef", ref: M, data: c(A), "show-checkbox": e2.multiple, "node-key": "nodeId", "check-on-click-node": "", "default-checked-keys": c(G), onCheckChange: Z, onNodeClick: ee }, { default: u(({ node: e3, data: l3 }) => [r("div", S, [r("div", U, f(l3.name), 1)])]), _: 1 }, 8, ["data", "show-checkbox", "default-checked-keys"])) : (n(), i(J3, { key: 0, image: c(O) }, null, 8, ["image"]))]), _: 1 }), s(_2, { class: "card-footer" }, { default: u(() => [r("div", $, [r("div", { class: "select-result", onClick: ne }, [e2.multiple ? (n(), o("span", { key: 0, onClick: ne }, [c(F).length > 0 ? (n(), o("span", E, [h(f(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + f(l2.$t("workgroupTree.selectResultInfo", { num: c(F).length })) + " ", 1), r("span", P, [s(k2, null, { default: u(() => [s(c(g))]), _: 1 })])])) : p("", true)])) : c(F).length > 0 ? (n(), o("span", j, f(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + f(c(F)[0].name), 1)) : p("", true)]), r("div", K, [s(D2, { size: "large", type: "primary", onClick: se }, { default: u(() => [h(f(l2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 })])])]), _: 1 }), s(x, { ref_key: "deptResultRef", ref: H, selectDepts: c(F), onRemoveDept: oe }, null, 8, ["selectDepts"])]);
|
|
105
105
|
};
|
|
106
106
|
} });
|
|
107
107
|
export {
|
|
@@ -162,11 +162,11 @@ const S = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
162
162
|
let s2 = t2.name;
|
|
163
163
|
t2.enName && "" !== t2.enName && (s2 = s2 + "(" + t2.enName + ")"), t2.tenantCode = this.tenantInfo.code, t2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.users.push(t2), e2.userIds.push(t2.id), e2.loginNames.push(t2.loginName), e2.userNames.push(s2), e2.emails.push(t2.email), e2.telephones.push(t2.telephone);
|
|
164
164
|
}
|
|
165
|
-
}, filterUserId: (e2) => (t2) => t2 === e2.id, filterUserNode: (e2) => (t2) => t2.substring(t2.lastIndexOf("~") + 1) === e2.id + "" }, emits: ["result"] }, I = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, y = ["title"], w = { key: 1, style: { height: "100%", overflow: "hidden" } }, R =
|
|
166
|
-
const
|
|
167
|
-
const i2 = n("el-button"), U2 = n("el-autocomplete"), S2 = n("el-header"),
|
|
168
|
-
return a(), h("div", null, [d(
|
|
165
|
+
}, filterUserId: (e2) => (t2) => t2 === e2.id, filterUserNode: (e2) => (t2) => t2.substring(t2.lastIndexOf("~") + 1) === e2.id + "" }, emits: ["result"] }, I = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, y = ["title"], w = { key: 1, style: { height: "100%", overflow: "hidden" } }, R = { style: { "text-align": "left", "font-size": "16px" } }, T = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
166
|
+
const C = U(S, [["render", function(e2, t2, s2, r2, l2, o2) {
|
|
167
|
+
const i2 = n("el-button"), U2 = n("el-autocomplete"), S2 = n("el-header"), C2 = n("Menu"), b = n("Calendar"), x = n("el-icon"), v = n("el-tree"), W = n("EmptyState"), $ = n("workgroup-user-result"), V = n("el-main"), O = n("el-container"), E = n("el-aside");
|
|
168
|
+
return a(), h("div", null, [d(O, { style: { height: "395px" } }, { default: c(() => [d(E, { width: "430px" }, { default: c(() => [d(O, { style: { height: "390px" } }, { default: c(() => [d(S2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: c(() => [d(U2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", size: "default", onSelect: o2.handleSelect, onKeyup: u(o2.clickSearch, ["enter"]) }, { append: c(() => [d(i2, { icon: l2.ElIconSearch, onClick: o2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), d(V, { style: { padding: "10px" } }, { default: c(() => [l2.searchValue ? N("", true) : (a(), h(p, { key: 0 }, [l2.canShowOrgTree ? (a(), h("div", I, [d(v, { ref: "workgroupUserTree", "filter-node-method": o2.filterNode, load: e2.loadNode, props: l2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "nodeId", onCheck: o2.handleCheckNode, onNodeClick: o2.handleNodeClick }, { default: c(({ node: e3, data: t3 }) => [f("span", null, [d(x, null, { default: c(() => [-1 === e3.data.id ? (a(), m(C2, { key: 0 })) : (a(), m(b, { key: 1 }))]), _: 2 }, 1024), f("span", { class: g(t3.nodeType && "USER" === t3.nodeType && l2.searchValue && o2.filterUserVal(t3, l2.searchValue) ? "searchResult" : ""), title: e3.label }, k(e3.label), 11, y)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (a(), m(W, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (a(), h("div", w, [d($, { ref: "workgroupUserResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": l2.selectResult, onAddWorkgroupUser: o2.addWorkgroupUser, onResultRowDblclick: o2.resultRowDblclick, onSelectResult: o2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])) : N("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (a(), m(O, { key: 0 }, { default: c(() => [d(E, { width: "2px" }, { default: c(() => [...t2[1] || (t2[1] = [f("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)])]), _: 1 }), d(V, { style: { padding: "10px" } }, { default: c(() => [f("div", R, k(e2.$t("departmentUserTree.selectedPeople")) + "::", 1), f("div", T, [d($, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroupUser: o2.removeWorkgroupUser, onResultRowDblclick: o2.resultRowDblclick, onSelectResult: o2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : N("", true)]), _: 1 })]);
|
|
169
169
|
}]]);
|
|
170
170
|
export {
|
|
171
|
-
|
|
171
|
+
C as default
|
|
172
172
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as t, openBlock as a, createBlock as n, withCtx as c, createVNode as r, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as t, openBlock as a, createBlock as n, withCtx as c, createVNode as r, createElementBlock as s, toDisplayString as u, unref as i, Fragment as p, renderList as k } from "vue";
|
|
2
2
|
const m = { key: 1 }, d = ["onClick"], o = { key: 1 }, b = e({ __name: "dept-path", props: { tenantName: { type: String, default: null }, clickDepts: { type: Array, default: null } }, emits: ["clickBreadcrumb"], setup(e2, { emit: b2 }) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
const f = b2;
|
|
4
|
+
let y = l(e2.tenantName);
|
|
5
|
+
function h(e3, l2, t2) {
|
|
6
|
+
f("clickBreadcrumb", e3, l2, t2);
|
|
6
7
|
}
|
|
7
8
|
return (l2, b3) => {
|
|
8
|
-
const
|
|
9
|
-
return a(), n(_, { separator: "/" }, { default: c(() => [r(
|
|
9
|
+
const f2 = t("el-breadcrumb-item"), _ = t("el-breadcrumb");
|
|
10
|
+
return a(), n(_, { separator: "/" }, { default: c(() => [r(f2, null, { default: c(() => [e2.clickDepts.length > 0 ? (a(), s("span", { key: 0, class: "breadcrumb-label-link", onClick: b3[0] || (b3[0] = (e3) => h(null, true)) }, u(i(y)), 1)) : (a(), s("span", m, u(i(y)), 1))]), _: 1 }), (a(true), s(p, null, k(e2.clickDepts, (l3, t2) => (a(), n(f2, { key: l3.id }, { default: c(() => [t2 < e2.clickDepts.length - 1 ? (a(), s("span", { key: 0, class: "breadcrumb-label-link", onClick: (e3) => h(l3, false, t2) }, u(l3.showName), 9, d)) : (a(), s("span", o, u(l3.showName), 1))]), _: 2 }, 1024))), 128))]), _: 1 });
|
|
10
11
|
};
|
|
11
12
|
} });
|
|
12
13
|
export {
|
|
@@ -3,13 +3,14 @@ import { DeleteFilled as f } from "@element-plus/icons-vue";
|
|
|
3
3
|
import { getUserMainDeptName as y, getDeptNamePath as v } from "../../utils/organization.mjs";
|
|
4
4
|
const R = { style: { "text-align": "center" } }, k = { class: "item-row" }, g = { class: "item-label" }, T = { key: 0, style: { color: "#999" } }, _ = { key: 1, style: { color: "#999" } }, w = ["onClick"], U = e({ __name: "dept-result", props: { selectUsers: { type: Array, default: null } }, emits: ["removeResult"], setup(e2, { expose: U2, emit: h }) {
|
|
5
5
|
let x = t(false);
|
|
6
|
+
const z = h;
|
|
6
7
|
return U2({ showResult: function() {
|
|
7
8
|
x.value = true;
|
|
8
9
|
} }), (t2, U3) => {
|
|
9
|
-
const
|
|
10
|
+
const h2 = l("el-icon"), I = l("el-tree"), N = l("el-drawer");
|
|
10
11
|
return o(), s(N, { modelValue: a(x), "onUpdate:modelValue": U3[0] || (U3[0] = (e3) => r(x) ? x.value = e3 : x = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: n(() => [d("div", R, i(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: n(() => [a(x) ? (o(), s(I, { key: 0, ref: "orgResultTreeRef", data: e2.selectUsers, "node-key": "nodeId" }, { default: n(({ node: e3, data: t3 }) => [d("div", k, [d("div", g, [u(i(t3.showName) + " ", 1), t3.nodeType && "USER" === t3.nodeType ? (o(), m("span", T, "(" + i(t3.loginName) + i(a(y)(t3) ? "/" + a(y)(t3) : "") + ")", 1)) : c("", true), "-1" !== t3.parentNodeId && a(v)(t3) ? (o(), m("span", _, "(" + i(a(v)(t3)) + ")", 1)) : c("", true)]), d("div", { class: "item-side", onClick: (e4) => {
|
|
11
|
-
|
|
12
|
-
} }, [p(
|
|
12
|
+
z("removeResult", t3);
|
|
13
|
+
} }, [p(h2, null, { default: n(() => [p(a(f))]), _: 1 })], 8, w)])]), _: 1 }, 8, ["data"])) : c("", true)]), _: 1 }, 8, ["modelValue"]);
|
|
13
14
|
};
|
|
14
15
|
} });
|
|
15
16
|
export {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defineComponent as e, ref as r, resolveComponent as l, openBlock as o, createBlock as t, unref as s, isRef as a, withCtx as n, createElementVNode as c, toDisplayString as i, createCommentVNode as p } from "vue";
|
|
2
2
|
import u from "./workgroup-user-tree-inline-app.vue.mjs";
|
|
3
3
|
const m = { style: { "text-align": "center" } }, d = e({ name: "DepartmentUserTreeMobile", props: { multiple: {}, branchInfo: {}, selectUserInfo: {}, searchField: {}, separator: {} }, emits: ["close"], setup(e2, { emit: d2 }) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const f = d2;
|
|
5
|
+
let h = r(true);
|
|
6
|
+
function I(e3) {
|
|
7
|
+
f("close", e3), h.value = false;
|
|
7
8
|
}
|
|
8
|
-
return (
|
|
9
|
-
const
|
|
10
|
-
return o(), t(
|
|
9
|
+
return (r2, d3) => {
|
|
10
|
+
const f2 = l("el-drawer");
|
|
11
|
+
return o(), t(f2, { modelValue: s(h), "onUpdate:modelValue": d3[0] || (d3[0] = (e3) => a(h) ? h.value = e3 : h = e3), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: d3[1] || (d3[1] = (e3) => I()) }, { header: n(() => [c("div", m, i(r2.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: n(() => [s(h) ? (o(), t(u, { key: 0, multiple: e2.multiple, branchInfo: e2.branchInfo, selectUserInfo: e2.selectUserInfo, searchField: e2.searchField, separator: e2.separator, onClose: I }, null, 8, ["multiple", "branchInfo", "selectUserInfo", "searchField", "separator"])) : p("", true)]), _: 1 }, 8, ["modelValue"]);
|
|
11
12
|
};
|
|
12
13
|
} });
|
|
13
14
|
export {
|