@das-fed/upf-ui 6.4.0-dev.165 → 6.4.0-dev.166
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/package.json +5 -5
- package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
- package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
- package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
- package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +17 -17
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +18 -18
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +9 -7
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
- package/packages/business-components/device-panel/index.js +3506 -3482
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +83 -81
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +29 -0
- package/packages/business-components/import-button/index.js +237 -233
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +166 -166
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +55 -55
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +148 -146
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +472 -463
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +69 -69
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +125 -125
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +99 -99
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +9 -8
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +951 -943
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +180 -179
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +175 -175
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +163 -163
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +15 -15
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +10 -10
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +10 -10
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +127 -127
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +46 -46
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +12 -12
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +47 -43
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +27 -27
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +23 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +20 -20
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +159 -155
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +34 -34
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +7 -7
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +42 -42
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +20 -20
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +4 -4
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +1596 -1592
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +117 -117
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +93 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +110 -110
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +60 -60
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +41 -41
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +14 -14
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +546 -544
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +42 -42
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +15 -15
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +9 -0
- package/packages/components/tree/index.js +310 -309
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +8 -0
- package/packages/components/tree-v2/index.js +9 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +57 -56
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +12 -12
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/web-front-end/i18n/dasui_en-US.js +482 -478
- package/web-front-end/i18n/dasui_zh-CN.js +2 -2
- package/web-front-end/i18n/dasui_zh-MO.js +757 -0
- package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CViVnNHG.js.gz +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/business-components/user-org-dialog/style.css';
|
|
2
|
-
import { ref as i, defineComponent as Z, computed as _, createElementBlock as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { i18n as
|
|
2
|
+
import { ref as i, defineComponent as Z, computed as _, createElementBlock as M, openBlock as V, createVNode as c, unref as l, isRef as ze, withCtx as g, withDirectives as Oe, toDisplayString as B, h as oe, onMounted as pe, watch as ve, nextTick as fe, createElementVNode as P, createBlock as Q, mergeProps as ke, createCommentVNode as Te, createTextVNode as se } from "vue";
|
|
3
|
+
import { withInstall as De } from "@das-fed/upf-utils/with-install/index";
|
|
4
|
+
import { i18n as k, t as Y, setI18nRule as we } from "@das-fed/upf-web/packages/i18n/index";
|
|
5
5
|
import { DasTabs as Ne } from "@das-fed/upf-ui/packages/components/tabs/index";
|
|
6
6
|
import { DasButton as re } from "@das-fed/upf-ui/packages/components/button/index";
|
|
7
7
|
import { DasDialog as Ve } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
8
8
|
import { getProjectInfo as Ie } from "@das-fed/upf-utils/common-info";
|
|
9
9
|
import { DasSearch as me } from "@das-fed/upf-ui/packages/components/search/index";
|
|
10
|
-
import { DasSpin as
|
|
11
|
-
import { DasSplitPanel as
|
|
12
|
-
import { DasTable as be, DasTableColumn as
|
|
10
|
+
import { DasSpin as he } from "@das-fed/upf-ui/packages/components/spin/index";
|
|
11
|
+
import { DasSplitPanel as ge } from "@das-fed/upf-ui/packages/components/split-panel/index";
|
|
12
|
+
import { DasTable as be, DasTableColumn as q } from "@das-fed/upf-ui/packages/components/table/index";
|
|
13
13
|
import { DasTree as _e } from "@das-fed/upf-ui/packages/components/tree/index";
|
|
14
14
|
import { DasSelectList as Pe } from "@das-fed/upf-ui/packages/components/select-list/index";
|
|
15
15
|
import { vDasTooltip as Ue } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
16
16
|
import { enterpriseright as $e } from "@das-fed/upf-utils/api-services/modules/enterpriseright";
|
|
17
17
|
import { createService as xe } from "@das-fed/upf-utils/create-api-service";
|
|
18
18
|
import { DasTooltip as Le } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
19
|
-
const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-text" },
|
|
19
|
+
const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-text" }, Me = { key: 0 }, Be = { key: 1 }, Ee = { key: 2 }, Ke = { key: 3 }, qe = {
|
|
20
20
|
name: "selectList"
|
|
21
|
-
},
|
|
22
|
-
...
|
|
21
|
+
}, je = /* @__PURE__ */ Z({
|
|
22
|
+
...qe,
|
|
23
23
|
props: {
|
|
24
24
|
isSelectedSensitive: { type: Boolean, default: !0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["itemRemove", "clearCheck"],
|
|
27
|
-
setup(S, { emit:
|
|
28
|
-
const u = S, r = _(() => u.isSelectedSensitive),
|
|
29
|
-
|
|
27
|
+
setup(S, { emit: T }) {
|
|
28
|
+
const u = S, r = _(() => u.isSelectedSensitive), h = T, D = ($) => {
|
|
29
|
+
h("itemRemove", $);
|
|
30
30
|
}, C = ($) => {
|
|
31
|
-
|
|
31
|
+
h("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return ($, w) => (V(),
|
|
33
|
+
return ($, w) => (V(), M("div", Ae, [
|
|
34
34
|
c(l(Pe), {
|
|
35
35
|
modelValue: l(y),
|
|
36
|
-
"onUpdate:modelValue": w[0] || (w[0] = (d) =>
|
|
36
|
+
"onUpdate:modelValue": w[0] || (w[0] = (d) => ze(y) ? y.value = d : null),
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
"custom-style": { border: "none" },
|
|
40
|
-
onItemRemove:
|
|
40
|
+
onItemRemove: D,
|
|
41
41
|
onRemoveAll: C
|
|
42
42
|
}, {
|
|
43
|
-
default:
|
|
44
|
-
|
|
45
|
-
d.identityType == 2 ? (V(),
|
|
43
|
+
default: g(({ item: d }) => [
|
|
44
|
+
Oe((V(), M("div", Re, [
|
|
45
|
+
d.identityType == 2 ? (V(), M("span", Me, B(d.name), 1)) : d.identityType == 1 && r.value ? (V(), M("span", Be, B(d.name) + B(d.sensitivePhone ? `(${d.sensitivePhone})` : ""), 1)) : d.identityType == 1 && !r.value ? (V(), M("span", Ee, B(d.name) + B(d.phone ? `(${d.phone})` : ""), 1)) : (V(), M("span", Ke, B(d.name), 1))
|
|
46
46
|
])), [
|
|
47
47
|
[l(Ue)]
|
|
48
48
|
])
|
|
@@ -51,16 +51,16 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
51
51
|
}, 8, ["modelValue"])
|
|
52
52
|
]));
|
|
53
53
|
}
|
|
54
|
-
}), ee = (S,
|
|
54
|
+
}), ee = (S, T) => {
|
|
55
55
|
const u = S.__vccOpts || S;
|
|
56
|
-
for (const [r,
|
|
57
|
-
u[r] =
|
|
56
|
+
for (const [r, h] of T)
|
|
57
|
+
u[r] = h;
|
|
58
58
|
return u;
|
|
59
|
-
},
|
|
59
|
+
}, Fe = /* @__PURE__ */ ee(je, [["__scopeId", "data-v-076741ab"]]), ue = i(null), ye = (S, T, u) => ({
|
|
60
60
|
selectListRef: ue,
|
|
61
|
-
selectListVue: () => oe(
|
|
61
|
+
selectListVue: () => oe(Fe, {
|
|
62
62
|
isSelectedSensitive: S,
|
|
63
|
-
onItemRemove:
|
|
63
|
+
onItemRemove: T,
|
|
64
64
|
onClearCheck: u,
|
|
65
65
|
ref: ue
|
|
66
66
|
})
|
|
@@ -73,43 +73,43 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
73
73
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
74
74
|
initProps: {}
|
|
75
75
|
},
|
|
76
|
-
setup(S, { expose:
|
|
76
|
+
setup(S, { expose: T }) {
|
|
77
77
|
const u = S, r = _(() => {
|
|
78
78
|
var t;
|
|
79
79
|
return ((t = u.initProps) == null ? void 0 : t.isCustomApi) || !1;
|
|
80
|
-
}),
|
|
80
|
+
}), h = _(() => {
|
|
81
81
|
var t;
|
|
82
82
|
return ((t = u.initProps) == null ? void 0 : t.disabledNodeLabel) || "optional";
|
|
83
|
-
}),
|
|
83
|
+
}), D = _(() => {
|
|
84
84
|
var t, s;
|
|
85
85
|
return (s = (t = u.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : s.orgTree;
|
|
86
86
|
}), C = _(() => {
|
|
87
87
|
var t, s;
|
|
88
88
|
return (s = (t = u.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : s.orgTable;
|
|
89
|
-
}), $ = _(() => u.isSelectedSensitive), w = i(!1), d = i([]), p = i(""),
|
|
89
|
+
}), $ = _(() => u.isSelectedSensitive), w = i(!1), d = i([]), p = i(""), E = i(""), v = i(""), U = i([]), b = i([]), N = i(20), f = i(1), x = i(0);
|
|
90
90
|
pe(() => {
|
|
91
91
|
W(), L();
|
|
92
92
|
});
|
|
93
93
|
const L = () => {
|
|
94
94
|
b.value = y.value.filter((t) => t.identityType == 2);
|
|
95
|
-
},
|
|
95
|
+
}, j = (t) => {
|
|
96
96
|
t && t instanceof Array && (b.value = t.filter((s) => s.identityType == 1));
|
|
97
|
-
},
|
|
97
|
+
}, F = (t) => {
|
|
98
98
|
b.value = b.value.filter((s) => s.id != t.id);
|
|
99
99
|
}, G = () => {
|
|
100
100
|
y.value = [], b.value = [];
|
|
101
|
-
}, { selectListVue: H } = ye($.value,
|
|
101
|
+
}, { selectListVue: H } = ye($.value, F, G), J = (t) => {
|
|
102
102
|
var e, a, o;
|
|
103
|
-
const s = r.value && ((e =
|
|
104
|
-
t._disabled = !t[
|
|
103
|
+
const s = r.value && ((e = D.value) != null && e.disabledOrgTypes) && ((a = D.value) == null ? void 0 : a.disabledOrgTypes.length) > 0 ? (o = D.value) == null ? void 0 : o.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
104
|
+
t._disabled = !t[h.value] || s.includes(t.type), !t._disabled && !p.value && (p.value = t.id), t.children && t.children.length && t.children.forEach((n) => {
|
|
105
105
|
J(n);
|
|
106
106
|
});
|
|
107
107
|
}, W = async () => {
|
|
108
108
|
var o, n;
|
|
109
109
|
w.value = !0;
|
|
110
110
|
let t = {};
|
|
111
|
-
if (r.value &&
|
|
112
|
-
const { params: m = {}, query: R = {} } =
|
|
111
|
+
if (r.value && D.value) {
|
|
112
|
+
const { params: m = {}, query: R = {} } = D.value;
|
|
113
113
|
t = { ...m, ...R };
|
|
114
114
|
} else
|
|
115
115
|
t = {
|
|
@@ -117,7 +117,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
117
117
|
parentId: "",
|
|
118
118
|
implicit: !1
|
|
119
119
|
};
|
|
120
|
-
const s = r.value && ((o =
|
|
120
|
+
const s = r.value && ((o = D.value) != null && o.api) ? (n = D.value) == null ? void 0 : n.api : Ce, [e, a] = await s(t).run();
|
|
121
121
|
if (e) {
|
|
122
122
|
w.value = !1;
|
|
123
123
|
return;
|
|
@@ -125,7 +125,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
125
125
|
a && a.length && a.forEach((m) => {
|
|
126
126
|
J(m);
|
|
127
127
|
}), d.value = a, I();
|
|
128
|
-
},
|
|
128
|
+
}, z = async () => {
|
|
129
129
|
var o, n;
|
|
130
130
|
if (!p.value) {
|
|
131
131
|
w.value = !1, U.value = [], x.value = 0;
|
|
@@ -134,8 +134,8 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
134
134
|
w.value = !0;
|
|
135
135
|
let t = {};
|
|
136
136
|
if (r.value && C.value) {
|
|
137
|
-
const { params: m = {}, query: R = {}, treeKey:
|
|
138
|
-
t = { ...m, ...R },
|
|
137
|
+
const { params: m = {}, query: R = {}, treeKey: K = "", searchKey: O = "" } = C.value;
|
|
138
|
+
t = { ...m, ...R }, K ? t[K] = p.value : t.parentId = p.value, O ? t[O] = v.value : t.search = v.value;
|
|
139
139
|
} else
|
|
140
140
|
t = {
|
|
141
141
|
parentId: p.value,
|
|
@@ -151,13 +151,13 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
151
151
|
}
|
|
152
152
|
U.value = a.data.map((m) => (m.identityType = 2, m)), x.value = Number(a.totalCount), w.value = !1;
|
|
153
153
|
}, I = () => {
|
|
154
|
-
v.value = "",
|
|
154
|
+
v.value = "", E.value = "", U.value = [], N.value = 20, f.value = 1, A();
|
|
155
155
|
}, A = () => {
|
|
156
|
-
f.value = 1,
|
|
156
|
+
f.value = 1, z();
|
|
157
157
|
}, te = (t) => {
|
|
158
|
-
f.value = 1, N.value = t,
|
|
158
|
+
f.value = 1, N.value = t, z();
|
|
159
159
|
}, X = (t) => {
|
|
160
|
-
f.value = t,
|
|
160
|
+
f.value = t, z();
|
|
161
161
|
}, ae = (t) => {
|
|
162
162
|
let s = [], e = [];
|
|
163
163
|
t.forEach((a) => {
|
|
@@ -172,19 +172,19 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
172
172
|
() => p,
|
|
173
173
|
(t, s) => {
|
|
174
174
|
t && s && t.value === s.value || fe(() => {
|
|
175
|
-
|
|
175
|
+
z();
|
|
176
176
|
});
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
immediate: !0,
|
|
180
180
|
deep: !0
|
|
181
181
|
}
|
|
182
|
-
),
|
|
183
|
-
setSelectData:
|
|
184
|
-
}), (t, s) => (V(),
|
|
185
|
-
c(l(
|
|
186
|
-
default:
|
|
187
|
-
c(l(
|
|
182
|
+
), T({
|
|
183
|
+
setSelectData: j
|
|
184
|
+
}), (t, s) => (V(), M("div", We, [
|
|
185
|
+
c(l(he), { spinning: w.value }, {
|
|
186
|
+
default: g(() => [
|
|
187
|
+
c(l(ge), {
|
|
188
188
|
defaultSplit: { first: 223 },
|
|
189
189
|
canFold: !0,
|
|
190
190
|
canDrag: !0,
|
|
@@ -192,7 +192,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
192
192
|
border: "none"
|
|
193
193
|
}
|
|
194
194
|
}, {
|
|
195
|
-
firstSlot:
|
|
195
|
+
firstSlot: g(() => [
|
|
196
196
|
P("div", Xe, [
|
|
197
197
|
c(l(_e), {
|
|
198
198
|
ref: "organizationTree",
|
|
@@ -200,16 +200,16 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
200
200
|
isFilter: "",
|
|
201
201
|
"node-key": "id",
|
|
202
202
|
props: { disabled: "_disabled" },
|
|
203
|
-
inputOptions: { placeholder: l(
|
|
203
|
+
inputOptions: { placeholder: l(k)("搜索组织名称").value },
|
|
204
204
|
modelValue: p.value,
|
|
205
205
|
"onUpdate:modelValue": s[0] || (s[0] = (e) => p.value = e),
|
|
206
|
-
"filter-value":
|
|
207
|
-
"onUpdate:filterValue": s[1] || (s[1] = (e) =>
|
|
206
|
+
"filter-value": E.value,
|
|
207
|
+
"onUpdate:filterValue": s[1] || (s[1] = (e) => E.value = e),
|
|
208
208
|
"is-ellipsis": ""
|
|
209
209
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
210
210
|
])
|
|
211
211
|
]),
|
|
212
|
-
secondSlot:
|
|
212
|
+
secondSlot: g(() => [
|
|
213
213
|
P("div", Ye, [
|
|
214
214
|
P("div", Ze, [
|
|
215
215
|
P("div", et, [
|
|
@@ -219,7 +219,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
219
219
|
searchType: "basis",
|
|
220
220
|
isIconLeft: "",
|
|
221
221
|
size: "small",
|
|
222
|
-
placeholder: l(
|
|
222
|
+
placeholder: l(k)("搜索组织名称/组织编码").value,
|
|
223
223
|
onChange: A
|
|
224
224
|
}, null, 8, ["modelValue", "placeholder"])
|
|
225
225
|
]),
|
|
@@ -240,17 +240,17 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
240
240
|
onSelectionChange: ae,
|
|
241
241
|
onCurrentPageChange: X
|
|
242
242
|
}, {
|
|
243
|
-
default:
|
|
244
|
-
c(l(
|
|
245
|
-
label: l(
|
|
243
|
+
default: g(() => [
|
|
244
|
+
c(l(q), {
|
|
245
|
+
label: l(k)("组织名称").value,
|
|
246
246
|
prop: "name"
|
|
247
247
|
}, null, 8, ["label"]),
|
|
248
|
-
c(l(
|
|
249
|
-
label: l(
|
|
248
|
+
c(l(q), {
|
|
249
|
+
label: l(k)("组织编码").value,
|
|
250
250
|
prop: "code"
|
|
251
251
|
}, null, 8, ["label"]),
|
|
252
|
-
c(l(
|
|
253
|
-
label: l(
|
|
252
|
+
c(l(q), {
|
|
253
|
+
label: l(k)("组织路径").value,
|
|
254
254
|
prop: "pathName"
|
|
255
255
|
}, null, 8, ["label"])
|
|
256
256
|
]),
|
|
@@ -270,11 +270,11 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
270
270
|
}, 8, ["spinning"])
|
|
271
271
|
]));
|
|
272
272
|
}
|
|
273
|
-
}), ot = /* @__PURE__ */ ee(st, [["__scopeId", "data-v-8ed097ab"]]), ce = i(null), nt = (S,
|
|
273
|
+
}), ot = /* @__PURE__ */ ee(st, [["__scopeId", "data-v-8ed097ab"]]), ce = i(null), nt = (S, T, u) => ({
|
|
274
274
|
selectOrgRef: ce,
|
|
275
275
|
selectOrgVue: () => oe(ot, {
|
|
276
276
|
projectId: S,
|
|
277
|
-
isSelectedSensitive:
|
|
277
|
+
isSelectedSensitive: T,
|
|
278
278
|
ref: ce,
|
|
279
279
|
initProps: u
|
|
280
280
|
})
|
|
@@ -288,11 +288,11 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
288
288
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
289
289
|
initProps: {}
|
|
290
290
|
},
|
|
291
|
-
setup(S, { expose:
|
|
292
|
-
const u = S, r = i(),
|
|
291
|
+
setup(S, { expose: T }) {
|
|
292
|
+
const u = S, r = i(), h = _(() => {
|
|
293
293
|
var e;
|
|
294
294
|
return ((e = u.initProps) == null ? void 0 : e.isCustomApi) || !1;
|
|
295
|
-
}),
|
|
295
|
+
}), D = _(() => {
|
|
296
296
|
var e;
|
|
297
297
|
return ((e = u.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
|
|
298
298
|
}), C = _(() => {
|
|
@@ -301,11 +301,11 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
301
301
|
}), $ = _(() => {
|
|
302
302
|
var e, a;
|
|
303
303
|
return (a = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : a.userTable;
|
|
304
|
-
}), w = _(() => u.isTableSensitive), d = _(() => u.isSelectedSensitive), p = i(!1),
|
|
304
|
+
}), w = _(() => u.isTableSensitive), d = _(() => u.isSelectedSensitive), p = i(!1), E = i([]), v = i(""), U = i(""), b = i(""), N = i([]), f = i([]), x = i(20), L = i(1), j = i(0);
|
|
305
305
|
pe(() => {
|
|
306
|
-
I(),
|
|
306
|
+
I(), F();
|
|
307
307
|
});
|
|
308
|
-
const
|
|
308
|
+
const F = () => {
|
|
309
309
|
f.value = y.value.filter((e) => e.identityType == 1);
|
|
310
310
|
}, G = (e) => {
|
|
311
311
|
e && e instanceof Array && (f.value = e.filter((a) => a.identityType == 1));
|
|
@@ -313,44 +313,44 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
313
313
|
f.value = f.value.filter((a) => a.id != e.id);
|
|
314
314
|
}, J = () => {
|
|
315
315
|
y.value = [], f.value = [];
|
|
316
|
-
}, { selectListVue: W } = ye(d.value, H, J),
|
|
316
|
+
}, { selectListVue: W } = ye(d.value, H, J), z = (e) => {
|
|
317
317
|
var o, n, m;
|
|
318
|
-
const a =
|
|
319
|
-
e._disabled = !e[
|
|
320
|
-
|
|
318
|
+
const a = h.value && ((o = C.value) != null && o.disabledOrgTypes) && ((n = C.value) == null ? void 0 : n.disabledOrgTypes.length) > 0 ? (m = C.value) == null ? void 0 : m.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
319
|
+
e._disabled = !e[D.value] || a.includes(e.type), !e._disabled && !v.value && (v.value = e.id), e.children && e.children.length && e.children.forEach((R) => {
|
|
320
|
+
z(R);
|
|
321
321
|
});
|
|
322
322
|
}, I = async () => {
|
|
323
323
|
var m, R;
|
|
324
324
|
p.value = !0;
|
|
325
325
|
let e = {};
|
|
326
|
-
if (
|
|
327
|
-
const { params:
|
|
328
|
-
e = { ...
|
|
326
|
+
if (h.value && C.value) {
|
|
327
|
+
const { params: K = {}, query: O = {} } = C.value;
|
|
328
|
+
e = { ...K, ...O };
|
|
329
329
|
} else
|
|
330
330
|
e = {
|
|
331
331
|
name: "",
|
|
332
332
|
parentId: "",
|
|
333
333
|
implicit: !1
|
|
334
334
|
};
|
|
335
|
-
const a =
|
|
335
|
+
const a = h.value && ((m = C.value) != null && m.api) ? (R = C.value) == null ? void 0 : R.api : Ce, [o, n] = await a(e).run();
|
|
336
336
|
if (o) {
|
|
337
337
|
p.value = !1;
|
|
338
338
|
return;
|
|
339
339
|
}
|
|
340
|
-
n && n.length && n.forEach((
|
|
341
|
-
|
|
342
|
-
}),
|
|
340
|
+
n && n.length && n.forEach((K) => {
|
|
341
|
+
z(K);
|
|
342
|
+
}), E.value = n, te();
|
|
343
343
|
}, A = async () => {
|
|
344
|
-
var m, R,
|
|
344
|
+
var m, R, K;
|
|
345
345
|
if (!v.value) {
|
|
346
|
-
p.value = !1, N.value = [],
|
|
346
|
+
p.value = !1, N.value = [], j.value = 0;
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
349
349
|
p.value = !0;
|
|
350
350
|
let e = {};
|
|
351
|
-
if (
|
|
352
|
-
const { params:
|
|
353
|
-
e = { ...
|
|
351
|
+
if (h.value && $.value) {
|
|
352
|
+
const { params: O = {}, query: le = {}, treeKey: ne = "", searchKey: ie = "" } = $.value;
|
|
353
|
+
e = { ...O, ...le }, ne ? e[ne] = v.value : e.id = v.value, ie ? e[ie] = b.value : e.filterValue = b.value;
|
|
354
354
|
} else
|
|
355
355
|
e = {
|
|
356
356
|
id: v.value,
|
|
@@ -359,16 +359,16 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
359
359
|
//账号或姓名
|
|
360
360
|
};
|
|
361
361
|
e.pageIndex = L.value, e.pageSize = x.value, e.statusList = [1, 2];
|
|
362
|
-
const a =
|
|
362
|
+
const a = h.value && ((m = $.value) != null && m.api) ? (R = $.value) == null ? void 0 : R.api : Je, [o, n] = await a(e).run();
|
|
363
363
|
if (o) {
|
|
364
364
|
p.value = !1;
|
|
365
365
|
return;
|
|
366
366
|
}
|
|
367
|
-
p.value = !1, N.value = (
|
|
368
|
-
|
|
369
|
-
let le =
|
|
370
|
-
return
|
|
371
|
-
}),
|
|
367
|
+
p.value = !1, N.value = (K = n == null ? void 0 : n.data) == null ? void 0 : K.map((O) => {
|
|
368
|
+
O.identityType = 1;
|
|
369
|
+
let le = O.status == 1 ? Y("das-user-org-dialog-user-normal") : O.status == 2 ? Y("das-user-org-dialog-user-locked") : O.status == 3 ? Y("das-user-org-dialog-user-disable") : "";
|
|
370
|
+
return O.statusName = (O == null ? void 0 : O.statusName) || le, O;
|
|
371
|
+
}), j.value = Number(n.totalCount);
|
|
372
372
|
}, te = () => {
|
|
373
373
|
b.value = "", U.value = "", N.value = [], x.value = 20, L.value = 1, X();
|
|
374
374
|
}, X = () => {
|
|
@@ -398,12 +398,12 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
398
398
|
immediate: !0,
|
|
399
399
|
deep: !0
|
|
400
400
|
}
|
|
401
|
-
),
|
|
401
|
+
), T({
|
|
402
402
|
setSelectData: G
|
|
403
|
-
}), (e, a) => (V(),
|
|
404
|
-
c(l(
|
|
405
|
-
default:
|
|
406
|
-
c(l(
|
|
403
|
+
}), (e, a) => (V(), M("div", it, [
|
|
404
|
+
c(l(he), { spinning: p.value }, {
|
|
405
|
+
default: g(() => [
|
|
406
|
+
c(l(ge), {
|
|
407
407
|
defaultSplit: { first: 223 },
|
|
408
408
|
canFold: !0,
|
|
409
409
|
canDrag: !0,
|
|
@@ -411,15 +411,15 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
411
411
|
border: "none"
|
|
412
412
|
}
|
|
413
413
|
}, {
|
|
414
|
-
firstSlot:
|
|
414
|
+
firstSlot: g(() => [
|
|
415
415
|
P("div", rt, [
|
|
416
416
|
c(l(_e), {
|
|
417
417
|
ref: "organizationTree",
|
|
418
|
-
data:
|
|
418
|
+
data: E.value,
|
|
419
419
|
isFilter: "",
|
|
420
420
|
"node-key": "id",
|
|
421
421
|
props: { disabled: "_disabled" },
|
|
422
|
-
inputOptions: { placeholder: l(
|
|
422
|
+
inputOptions: { placeholder: l(k)("搜索组织名称").value },
|
|
423
423
|
modelValue: v.value,
|
|
424
424
|
"onUpdate:modelValue": a[0] || (a[0] = (o) => v.value = o),
|
|
425
425
|
"filter-value": U.value,
|
|
@@ -428,7 +428,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
428
428
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
429
429
|
])
|
|
430
430
|
]),
|
|
431
|
-
secondSlot:
|
|
431
|
+
secondSlot: g(() => [
|
|
432
432
|
P("div", ut, [
|
|
433
433
|
P("div", ct, [
|
|
434
434
|
P("div", dt, [
|
|
@@ -438,7 +438,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
438
438
|
searchType: "basis",
|
|
439
439
|
isIconLeft: "",
|
|
440
440
|
size: "small",
|
|
441
|
-
placeholder: l(
|
|
441
|
+
placeholder: l(k)("搜索姓名/账号").value,
|
|
442
442
|
onChange: X
|
|
443
443
|
}, null, 8, ["modelValue", "placeholder"])
|
|
444
444
|
]),
|
|
@@ -451,7 +451,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
451
451
|
height: "100%",
|
|
452
452
|
ref: "treeTableRef",
|
|
453
453
|
data: N.value,
|
|
454
|
-
total:
|
|
454
|
+
total: j.value,
|
|
455
455
|
selection: "",
|
|
456
456
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
457
457
|
"current-page": L.value,
|
|
@@ -464,40 +464,40 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
464
464
|
onSelectionChange: s,
|
|
465
465
|
onCurrentPageChange: t
|
|
466
466
|
}, {
|
|
467
|
-
default:
|
|
468
|
-
c(l(
|
|
469
|
-
label: l(
|
|
467
|
+
default: g(() => [
|
|
468
|
+
c(l(q), {
|
|
469
|
+
label: l(k)("姓名").value,
|
|
470
470
|
prop: "name"
|
|
471
471
|
}, null, 8, ["label"]),
|
|
472
|
-
c(l(
|
|
473
|
-
label: l(
|
|
472
|
+
c(l(q), {
|
|
473
|
+
label: l(k)("账号").value,
|
|
474
474
|
prop: "userName"
|
|
475
475
|
}, null, 8, ["label"]),
|
|
476
|
-
w.value ? (V(), Q(l(
|
|
476
|
+
w.value ? (V(), Q(l(q), {
|
|
477
477
|
key: 0,
|
|
478
|
-
label: l(
|
|
478
|
+
label: l(k)("手机号").value,
|
|
479
479
|
prop: "sensitivePhone"
|
|
480
480
|
}, {
|
|
481
|
-
default:
|
|
481
|
+
default: g(({ row: o }) => [
|
|
482
482
|
c(l(Le), {
|
|
483
483
|
placement: "top",
|
|
484
484
|
content: o.phone,
|
|
485
485
|
"append-to": r.value
|
|
486
486
|
}, {
|
|
487
|
-
default:
|
|
488
|
-
P("span", null,
|
|
487
|
+
default: g(() => [
|
|
488
|
+
P("span", null, B(o.sensitivePhone), 1)
|
|
489
489
|
]),
|
|
490
490
|
_: 2
|
|
491
491
|
}, 1032, ["content", "append-to"])
|
|
492
492
|
]),
|
|
493
493
|
_: 1
|
|
494
|
-
}, 8, ["label"])) : (V(), Q(l(
|
|
494
|
+
}, 8, ["label"])) : (V(), Q(l(q), {
|
|
495
495
|
key: 1,
|
|
496
|
-
label: l(
|
|
496
|
+
label: l(k)("手机号").value,
|
|
497
497
|
prop: "phone"
|
|
498
498
|
}, null, 8, ["label"])),
|
|
499
|
-
c(l(
|
|
500
|
-
label: l(
|
|
499
|
+
c(l(q), {
|
|
500
|
+
label: l(k)("状态").value,
|
|
501
501
|
prop: "statusName"
|
|
502
502
|
}, null, 8, ["label"])
|
|
503
503
|
]),
|
|
@@ -517,16 +517,16 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
517
517
|
}, 8, ["spinning"])
|
|
518
518
|
]));
|
|
519
519
|
}
|
|
520
|
-
}), mt = /* @__PURE__ */ ee(ft, [["__scopeId", "data-v-c58fb201"]]), de = i(null),
|
|
520
|
+
}), mt = /* @__PURE__ */ ee(ft, [["__scopeId", "data-v-c58fb201"]]), de = i(null), ht = (S, T, u, r) => ({
|
|
521
521
|
selectUserRef: de,
|
|
522
522
|
selectUserVue: () => oe(mt, {
|
|
523
523
|
projectId: S,
|
|
524
|
-
isTableSensitive:
|
|
524
|
+
isTableSensitive: T,
|
|
525
525
|
isSelectedSensitive: u,
|
|
526
526
|
ref: de,
|
|
527
527
|
initProps: r
|
|
528
528
|
})
|
|
529
|
-
}),
|
|
529
|
+
}), gt = { class: "select-org-user-dialog-box" }, bt = {
|
|
530
530
|
key: 0,
|
|
531
531
|
class: "select-org-user-dialog-content"
|
|
532
532
|
}, _t = { class: "foot-btn-box" }, yt = {
|
|
@@ -544,50 +544,50 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
544
544
|
singleTabKey: { default: "" }
|
|
545
545
|
},
|
|
546
546
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
547
|
-
setup(S, { expose:
|
|
548
|
-
const r = S,
|
|
547
|
+
setup(S, { expose: T, emit: u }) {
|
|
548
|
+
const r = S, h = u, D = i(!1), C = _(() => r.header || Y("添加组织/用户")), $ = _(() => r.isTableSensitive), w = _(() => r.isSelectedSensitive), d = _(() => r.singleTabKey), p = _({
|
|
549
549
|
get: () => r.modelValue,
|
|
550
|
-
set: (
|
|
551
|
-
}),
|
|
552
|
-
|
|
550
|
+
set: (z) => h("update:modelValue", z)
|
|
551
|
+
}), E = Ie().id, { selectOrgVue: v, selectOrgRef: U } = nt(E, w.value, r), { selectUserVue: b, selectUserRef: N } = ht(
|
|
552
|
+
E,
|
|
553
553
|
$.value,
|
|
554
554
|
w.value,
|
|
555
555
|
r
|
|
556
556
|
), f = i(1), x = [
|
|
557
557
|
{
|
|
558
558
|
key: 1,
|
|
559
|
-
tab:
|
|
559
|
+
tab: k("组织").value,
|
|
560
560
|
contentSlot: "contentSlot1"
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
563
|
key: 2,
|
|
564
|
-
tab:
|
|
564
|
+
tab: k("用户").value,
|
|
565
565
|
contentSlot: "contentSlot2"
|
|
566
566
|
}
|
|
567
567
|
], L = () => {
|
|
568
|
-
|
|
569
|
-
},
|
|
570
|
-
|
|
571
|
-
},
|
|
568
|
+
h("selectCancel");
|
|
569
|
+
}, j = async () => {
|
|
570
|
+
h("selectConfirm", y.value);
|
|
571
|
+
}, F = (z) => {
|
|
572
572
|
}, G = () => {
|
|
573
|
-
f.value = 1,
|
|
573
|
+
f.value = 1, D.value = !1, h("selectCancel");
|
|
574
574
|
}, H = () => {
|
|
575
|
-
y.value = r.selectData,
|
|
575
|
+
y.value = r.selectData, D.value = !0;
|
|
576
576
|
};
|
|
577
|
-
return
|
|
578
|
-
setUserSelectData: (
|
|
577
|
+
return T({
|
|
578
|
+
setUserSelectData: (z) => {
|
|
579
579
|
var I;
|
|
580
|
-
(I = N == null ? void 0 : N.value) == null || I.setSelectData(
|
|
580
|
+
(I = N == null ? void 0 : N.value) == null || I.setSelectData(z);
|
|
581
581
|
},
|
|
582
|
-
setOrgSelectData: (
|
|
582
|
+
setOrgSelectData: (z) => {
|
|
583
583
|
var I;
|
|
584
|
-
(I = U == null ? void 0 : U.value) == null || I.setSelectData(
|
|
584
|
+
(I = U == null ? void 0 : U.value) == null || I.setSelectData(z);
|
|
585
585
|
}
|
|
586
|
-
}), (
|
|
587
|
-
c(l(Ve),
|
|
586
|
+
}), (z, I) => (V(), M("div", gt, [
|
|
587
|
+
c(l(Ve), ke({
|
|
588
588
|
modelValue: p.value,
|
|
589
589
|
"onUpdate:modelValue": I[1] || (I[1] = (A) => p.value = A)
|
|
590
|
-
},
|
|
590
|
+
}, z.$attrs, {
|
|
591
591
|
customClass: "select-org-user-dialog",
|
|
592
592
|
type: "basic",
|
|
593
593
|
size: "small",
|
|
@@ -599,34 +599,34 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
599
599
|
onClose: G,
|
|
600
600
|
onOpen: H
|
|
601
601
|
}), {
|
|
602
|
-
header:
|
|
603
|
-
se(
|
|
602
|
+
header: g(() => [
|
|
603
|
+
se(B(C.value), 1)
|
|
604
604
|
]),
|
|
605
|
-
footer:
|
|
605
|
+
footer: g(() => [
|
|
606
606
|
P("div", _t, [
|
|
607
607
|
c(l(re), {
|
|
608
608
|
size: "middle",
|
|
609
609
|
onClick: L
|
|
610
610
|
}, {
|
|
611
|
-
default:
|
|
612
|
-
se(
|
|
611
|
+
default: g(() => [
|
|
612
|
+
se(B(l(k)("取消").value), 1)
|
|
613
613
|
]),
|
|
614
614
|
_: 1
|
|
615
615
|
}),
|
|
616
616
|
c(l(re), {
|
|
617
617
|
btnType: "primary",
|
|
618
618
|
size: "middle",
|
|
619
|
-
onClick:
|
|
619
|
+
onClick: j
|
|
620
620
|
}, {
|
|
621
|
-
default:
|
|
622
|
-
se(
|
|
621
|
+
default: g(() => [
|
|
622
|
+
se(B(l(k)("确定").value), 1)
|
|
623
623
|
]),
|
|
624
624
|
_: 1
|
|
625
625
|
})
|
|
626
626
|
])
|
|
627
627
|
]),
|
|
628
|
-
default:
|
|
629
|
-
|
|
628
|
+
default: g(() => [
|
|
629
|
+
D.value ? (V(), M("div", bt, [
|
|
630
630
|
d.value == 1 ? (V(), Q(l(v), { key: 0 })) : d.value == 2 ? (V(), Q(l(b), { key: 1 })) : (V(), Q(l(Ne), {
|
|
631
631
|
key: 2,
|
|
632
632
|
activeKey: f.value,
|
|
@@ -634,49 +634,50 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
634
634
|
isStrict: "",
|
|
635
635
|
hideAdd: "",
|
|
636
636
|
options: x,
|
|
637
|
-
onChange:
|
|
637
|
+
onChange: F
|
|
638
638
|
}, {
|
|
639
|
-
contentSlot1:
|
|
639
|
+
contentSlot1: g(() => [
|
|
640
640
|
c(l(v))
|
|
641
641
|
]),
|
|
642
|
-
contentSlot2:
|
|
642
|
+
contentSlot2: g(() => [
|
|
643
643
|
c(l(b))
|
|
644
644
|
]),
|
|
645
645
|
_: 1
|
|
646
646
|
}, 8, ["activeKey"]))
|
|
647
|
-
])) :
|
|
647
|
+
])) : Te("", !0)
|
|
648
648
|
]),
|
|
649
649
|
_: 1
|
|
650
650
|
}, 16, ["modelValue"])
|
|
651
651
|
]));
|
|
652
652
|
}
|
|
653
|
-
}), Ct = /* @__PURE__ */ ee(St, [["__scopeId", "data-v-51087d95"]]),
|
|
654
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
|
|
655
|
-
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
656
|
-
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
657
|
-
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
658
|
-
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
659
|
-
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", _appCode: "framework" },
|
|
660
|
-
组织编码: { "zh-CN": "组织编码", en: "Organization Code", _appCode: "framework" },
|
|
661
|
-
组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
|
|
662
|
-
组织路径: { "zh-CN": "组织路径", en: "Organization Path", _appCode: "framework" },
|
|
663
|
-
取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
|
|
664
|
-
确定: { "zh-CN": "确定", en: "OK", _appCode: "framework" },
|
|
665
|
-
组织: { "zh-CN": "组织", en: "Organization", _appCode: "framework" },
|
|
666
|
-
"添加组织/用户": { "zh-CN": "添加组织/用户", en: "Add organization/user", _appCode: "framework" },
|
|
653
|
+
}), Ct = /* @__PURE__ */ ee(St, [["__scopeId", "data-v-51087d95"]]), zt = {
|
|
654
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", "zh-MO": "搜索姓名", _appCode: "framework" },
|
|
655
|
+
账号: { "zh-CN": "账号", en: "Account", "zh-MO": "賬號", _appCode: "framework" },
|
|
656
|
+
姓名: { "zh-CN": "姓名", en: "Name", "zh-MO": "姓名", _appCode: "framework" },
|
|
657
|
+
手机号: { "zh-CN": "手机号", en: "Phone Number", "zh-MO": "手機號", _appCode: "framework" },
|
|
658
|
+
状态: { "zh-CN": "状态", en: "Status", "zh-MO": "狀態", _appCode: "framework" },
|
|
659
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", "zh-MO": "搜索組織名稱", _appCode: "framework" },
|
|
660
|
+
组织编码: { "zh-CN": "组织编码", en: "Organization Code", "zh-MO": "組織編碼", _appCode: "framework" },
|
|
661
|
+
组织名称: { "zh-CN": "组织名称", en: "Organization Name", "zh-MO": "組織名稱", _appCode: "framework" },
|
|
662
|
+
组织路径: { "zh-CN": "组织路径", en: "Organization Path", "zh-MO": "組織路徑", _appCode: "framework" },
|
|
663
|
+
取消: { "zh-CN": "取消", en: "Cancel", "zh-MO": "取消", _appCode: "framework" },
|
|
664
|
+
确定: { "zh-CN": "确定", en: "OK", "zh-MO": "確定", _appCode: "framework" },
|
|
665
|
+
组织: { "zh-CN": "组织", en: "Organization", "zh-MO": "組織", _appCode: "framework" },
|
|
666
|
+
"添加组织/用户": { "zh-CN": "添加组织/用户", en: "Add organization/user", "zh-MO": "添加組織/用戶", _appCode: "framework" },
|
|
667
667
|
"搜索组织名称/组织编码": {
|
|
668
668
|
"zh-CN": "搜索组织名称/组织编码",
|
|
669
669
|
en: "Search organization name/code",
|
|
670
|
+
"zh-MO": "搜索組織名稱/組織編碼",
|
|
670
671
|
_appCode: "framework"
|
|
671
672
|
},
|
|
672
|
-
"搜索姓名/账号": { "zh-CN": "搜索姓名/账号", en: "Search name/account", _appCode: "framework" },
|
|
673
|
-
"das-user-org-dialog-user-normal": { "zh-CN": "正常", en: "Normal", _appCode: "framework" },
|
|
674
|
-
"das-user-org-dialog-user-locked": { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
|
|
675
|
-
"das-user-org-dialog-user-disable": { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" }
|
|
673
|
+
"搜索姓名/账号": { "zh-CN": "搜索姓名/账号", en: "Search name/account", "zh-MO": "搜索姓名/賬號", _appCode: "framework" },
|
|
674
|
+
"das-user-org-dialog-user-normal": { "zh-CN": "正常", en: "Normal", "zh-MO": "正常", _appCode: "framework" },
|
|
675
|
+
"das-user-org-dialog-user-locked": { "zh-CN": "锁定", en: "Locked", "zh-MO": "鎖定", _appCode: "framework" },
|
|
676
|
+
"das-user-org-dialog-user-disable": { "zh-CN": "禁用", en: "Disabled", "zh-MO": "禁用", _appCode: "framework" }
|
|
676
677
|
};
|
|
677
|
-
we(
|
|
678
|
-
const
|
|
678
|
+
we(zt);
|
|
679
|
+
const Et = () => i(null), Kt = De(Ct);
|
|
679
680
|
export {
|
|
680
|
-
|
|
681
|
-
|
|
681
|
+
Kt as DasUserOrgDialog,
|
|
682
|
+
Et as DasUserOrgDialogRef
|
|
682
683
|
};
|