@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.54
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/esm-map.json +3 -1
- package/i18n-collection/en.js +407 -406
- package/i18n-collection/zh-CN.js +437 -437
- package/package.json +5 -5
- package/packages/business-components/app-container/index.d.ts +1 -0
- package/packages/business-components/app-container/index.js +152 -120
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +18 -0
- package/packages/business-components/app-container/src/type.d.ts +1 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/app-container/theme/index.d.ts +1 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +15 -0
- package/packages/business-components/change-enterprises/index.js +51 -45
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +77 -1
- package/packages/business-components/change-pwd/index.js +118 -99
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +19 -0
- package/packages/business-components/currency-page/index.js +27 -20
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +767 -0
- package/packages/business-components/device-panel/index.js +4961 -4767
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +51 -0
- package/packages/business-components/export-button/index.js +117 -102
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +103 -0
- package/packages/business-components/import-button/index.js +220 -192
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +27 -0
- package/packages/business-components/model-table-dialog/index.js +663 -660
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +48 -16
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +114 -1
- package/packages/business-components/process-configuration/index.js +158 -130
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
- package/packages/business-components/process-form/apis.d.ts +1 -0
- package/packages/business-components/process-form/i18n/index.d.ts +279 -0
- package/packages/business-components/process-form/index.js +1170 -1071
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +33 -1
- package/packages/business-components/process-log/index.js +151 -146
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +39 -0
- package/packages/business-components/process-search-form/index.d.ts +2 -2
- package/packages/business-components/process-search-form/index.js +420 -389
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
- package/packages/business-components/process-search-form/src/type.d.ts +1 -1
- package/packages/business-components/process-table/i18n/index.d.ts +35 -0
- package/packages/business-components/process-table/index.js +265 -254
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +7 -0
- package/packages/business-components/upload-file/index.js +26 -22
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +331 -0
- package/packages/business-components/urgent-panel/index.js +900 -814
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +53 -1
- package/packages/business-components/user-org-dialog/index.js +196 -186
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +71 -0
- package/packages/business-components/video-dialog/index.js +199 -179
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/button/i18n/index.d.ts +1 -6
- package/packages/components/button/index.js +16 -21
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +52 -44
- package/packages/components/calendar/index.js +77 -75
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +7 -0
- package/packages/components/cascader/index.js +38 -35
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +7 -0
- package/packages/components/color-picker/index.js +37 -34
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +7 -0
- package/packages/components/custom-search-item/index.js +27 -24
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +15 -0
- package/packages/components/date-picker/index.js +81 -76
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -6
- package/packages/components/dialog/index.js +58 -58
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +43 -0
- package/packages/components/dimple-layout/index.js +1077 -1064
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +7 -0
- package/packages/components/dropdown/index.js +32 -29
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/index.js +14 -16
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +27 -3
- package/packages/components/image-upload/index.js +84 -78
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +31 -0
- package/packages/components/image-viewer/index.js +246 -237
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +15 -0
- package/packages/components/input/index.js +50 -45
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +1 -1
- package/packages/components/input-dialog-select/index.js +20 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +15 -0
- package/packages/components/live-player/index.js +15 -9
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +7 -0
- package/packages/components/loading/index.js +93 -90
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +23 -0
- package/packages/components/map/index.js +355 -347
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +7 -0
- package/packages/components/menu-aside/index.js +221 -212
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/src/style-theme.d.ts +5 -0
- package/packages/components/menu-aside/style.css +1 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-aside/theme/base.d.ts +1 -0
- package/packages/components/menu-header/index.js +32 -26
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/menu-header/src/style-theme.d.ts +5 -0
- package/packages/components/menu-header/theme/base.d.ts +1 -0
- package/packages/components/message/i18n/index.d.ts +7 -0
- package/packages/components/message/index.js +17 -14
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +7 -0
- package/packages/components/notification/index.js +10 -7
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +19 -0
- package/packages/components/pagination/index.js +81 -75
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -2
- package/packages/components/preview/i18n/index.d.ts +1 -1
- package/packages/components/preview/index.js +1 -1
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +10 -3
- package/packages/components/rich-editor/index.js +4 -3
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search/i18n/index.d.ts +25 -1
- package/packages/components/search/index.js +31 -28
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +23 -0
- package/packages/components/select/index.js +204 -197
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -4
- package/packages/components/select-list/index.js +4 -4
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-month/index.js +15 -15
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
- package/packages/components/special-range-picker-year/index.js +81 -81
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +7 -0
- package/packages/components/spin/index.js +35 -32
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +72 -2
- package/packages/components/table/index.js +1245 -1225
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +15 -0
- package/packages/components/tabs/index.js +70 -65
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/time-line/i18n/index.d.ts +1 -1
- package/packages/components/time-line/index.js +6 -9
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +7 -0
- package/packages/components/tooltip/index.js +38 -35
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +35 -0
- package/packages/components/tree/index.js +692 -682
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -5
- package/packages/components/upload/index.js +50 -50
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +7 -0
- package/packages/components/virtual-tree/index.js +35 -31
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/icons/edit-3/index.d.ts +1 -0
- package/packages/icons/edit-3/index.js +17 -0
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/edit-3/index.vue.d.ts +16 -0
- package/packages/icons/index.d.ts +2 -0
- package/packages/icons/index.js +2 -0
- package/packages/icons/right-3/index.d.ts +1 -0
- package/packages/icons/right-3/index.js +17 -0
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/right-3/index.vue.d.ts +16 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/user-org-dialog/style.css';
|
|
2
|
-
import { ref as u, defineComponent as Y, computed as h, openBlock as
|
|
2
|
+
import { ref as u, defineComponent as Y, computed as h, openBlock as k, createElementBlock as L, createVNode as c, unref as l, isRef as Ce, withCtx as v, withDirectives as Te, toDisplayString as A, h as se, onMounted as de, watch as pe, nextTick as ve, createElementVNode as U, createBlock as H, mergeProps as ze, createTextVNode as le, createCommentVNode as De } from "vue";
|
|
3
3
|
import { withInstall as Oe } from "@das-fed/utils/with-install/index";
|
|
4
|
-
import { i18n as
|
|
5
|
-
import { DasTabs as
|
|
4
|
+
import { i18n as z, t as Ve, setI18nRule as ke } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasTabs as Ne } from "@das-fed/ui/packages/components/tabs/index";
|
|
6
6
|
import { DasButton as ie } from "@das-fed/ui/packages/components/button/index";
|
|
7
7
|
import { DasDialog as Ue } from "@das-fed/ui/packages/components/dialog/index";
|
|
8
|
-
import { getProjectInfo as
|
|
8
|
+
import { getProjectInfo as Ie } from "@das-fed/utils/common-info";
|
|
9
9
|
import { DasSearch as fe } from "@das-fed/ui/packages/components/search/index";
|
|
10
10
|
import { DasSpin as me } from "@das-fed/ui/packages/components/spin/index";
|
|
11
11
|
import { DasSplitPanel as ge } from "@das-fed/ui/packages/components/split-panel/index";
|
|
12
12
|
import { DasTable as he, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
|
|
13
13
|
import { DasTree as be } from "@das-fed/ui/packages/components/tree/index";
|
|
14
|
-
import { DasSelectList as
|
|
15
|
-
import { vDasTooltip as
|
|
16
|
-
import { enterpriseright as
|
|
17
|
-
import { createService as
|
|
14
|
+
import { DasSelectList as Pe } from "@das-fed/ui/packages/components/select-list/index";
|
|
15
|
+
import { vDasTooltip as $e } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
16
|
+
import { enterpriseright as xe } from "@das-fed/utils/api-services/modules/enterpriseright";
|
|
17
|
+
import { createService as we } from "@das-fed/utils/create-api-service";
|
|
18
18
|
import { DasTooltip as Re } from "@das-fed/ui/packages/components/tooltip/index";
|
|
19
|
-
const b = u([]),
|
|
19
|
+
const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-text" }, Be = { key: 0 }, Ee = { key: 1 }, Ke = { key: 2 }, qe = { key: 3 }, je = {
|
|
20
20
|
name: "selectList"
|
|
21
21
|
}, Fe = /* @__PURE__ */ Y({
|
|
22
22
|
...je,
|
|
@@ -24,51 +24,51 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
24
24
|
isSelectedSensitive: { type: Boolean, default: !0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["itemRemove", "clearCheck"],
|
|
27
|
-
setup(y, { emit:
|
|
28
|
-
const r = y,
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
|
|
27
|
+
setup(y, { emit: D }) {
|
|
28
|
+
const r = y, o = h(() => r.isSelectedSensitive), N = D, d = (B) => {
|
|
29
|
+
N("itemRemove", B);
|
|
30
|
+
}, I = (B) => {
|
|
31
|
+
N("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return (B, O) => (
|
|
34
|
-
c(l(
|
|
33
|
+
return (B, O) => (k(), L("div", Le, [
|
|
34
|
+
c(l(Pe), {
|
|
35
35
|
modelValue: l(b),
|
|
36
|
-
"onUpdate:modelValue": O[0] || (O[0] = (i) =>
|
|
36
|
+
"onUpdate:modelValue": O[0] || (O[0] = (i) => Ce(b) ? b.value = i : null),
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
"custom-style": { border: "none" },
|
|
40
40
|
onItemRemove: d,
|
|
41
|
-
onRemoveAll:
|
|
41
|
+
onRemoveAll: I
|
|
42
42
|
}, {
|
|
43
43
|
default: v(({ item: i }) => [
|
|
44
|
-
|
|
45
|
-
i.identityType == 2 ? (
|
|
44
|
+
Te((k(), L("div", Ae, [
|
|
45
|
+
i.identityType == 2 ? (k(), L(
|
|
46
46
|
"span",
|
|
47
47
|
Be,
|
|
48
|
-
|
|
48
|
+
A(i.name),
|
|
49
49
|
1
|
|
50
50
|
/* TEXT */
|
|
51
|
-
)) : i.identityType == 1 &&
|
|
51
|
+
)) : i.identityType == 1 && o.value ? (k(), L(
|
|
52
52
|
"span",
|
|
53
53
|
Ee,
|
|
54
|
-
|
|
54
|
+
A(i.name) + A(i.sensitivePhone ? `(${i.sensitivePhone})` : ""),
|
|
55
55
|
1
|
|
56
56
|
/* TEXT */
|
|
57
|
-
)) : i.identityType == 1 && !
|
|
57
|
+
)) : i.identityType == 1 && !o.value ? (k(), L(
|
|
58
58
|
"span",
|
|
59
59
|
Ke,
|
|
60
|
-
|
|
60
|
+
A(i.name) + A(i.phone ? `(${i.phone})` : ""),
|
|
61
61
|
1
|
|
62
62
|
/* TEXT */
|
|
63
|
-
)) : (
|
|
63
|
+
)) : (k(), L(
|
|
64
64
|
"span",
|
|
65
65
|
qe,
|
|
66
|
-
|
|
66
|
+
A(i.name),
|
|
67
67
|
1
|
|
68
68
|
/* TEXT */
|
|
69
69
|
))
|
|
70
70
|
])), [
|
|
71
|
-
[l(
|
|
71
|
+
[l($e)]
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
@@ -76,20 +76,20 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
76
76
|
}, 8, ["modelValue"])
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
|
-
}), Z = (y,
|
|
79
|
+
}), Z = (y, D) => {
|
|
80
80
|
const r = y.__vccOpts || y;
|
|
81
|
-
for (const [
|
|
82
|
-
r[
|
|
81
|
+
for (const [o, N] of D)
|
|
82
|
+
r[o] = N;
|
|
83
83
|
return r;
|
|
84
|
-
}, Me = /* @__PURE__ */ Z(Fe, [["__scopeId", "data-v-5b1d2b02"]]), ue = u(null), ye = (y,
|
|
84
|
+
}, Me = /* @__PURE__ */ Z(Fe, [["__scopeId", "data-v-5b1d2b02"]]), ue = u(null), ye = (y, D, r) => ({
|
|
85
85
|
selectListRef: ue,
|
|
86
86
|
selectListVue: () => se(Me, {
|
|
87
87
|
isSelectedSensitive: y,
|
|
88
|
-
onItemRemove:
|
|
88
|
+
onItemRemove: D,
|
|
89
89
|
onClearCheck: r,
|
|
90
90
|
ref: ue
|
|
91
91
|
})
|
|
92
|
-
}), Ge = "v1", He = `/api/fms/base/interface//${Ge}`, Se =
|
|
92
|
+
}), Ge = "v1", He = `/api/fms/base/interface//${Ge}`, Se = we(`${He}`), _e = Se.post("/organization/authtree"), Je = xe.post("/organization/user"), Qe = Se.post("/organization/organizationpage"), We = { class: "select-org-container" }, Xe = { class: "split-left-content" }, Ye = { class: "split-right-box" }, Ze = { class: "split-table" }, et = { class: "table-searc-box" }, tt = { class: "split-table-content" }, at = { class: "split-checkd" }, lt = {
|
|
93
93
|
name: "selectOrg"
|
|
94
94
|
}, st = /* @__PURE__ */ Y({
|
|
95
95
|
...lt,
|
|
@@ -98,85 +98,85 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
98
98
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
99
99
|
initProps: {}
|
|
100
100
|
},
|
|
101
|
-
setup(y, { expose:
|
|
102
|
-
const r = y,
|
|
101
|
+
setup(y, { expose: D }) {
|
|
102
|
+
const r = y, o = h(() => {
|
|
103
103
|
var a;
|
|
104
104
|
return ((a = r.initProps) == null ? void 0 : a.isCustomApi) || !1;
|
|
105
|
-
}),
|
|
105
|
+
}), N = h(() => {
|
|
106
106
|
var a;
|
|
107
107
|
return ((a = r.initProps) == null ? void 0 : a.disabledNodeLabel) || "optional";
|
|
108
108
|
}), d = h(() => {
|
|
109
109
|
var a, e;
|
|
110
110
|
return (e = (a = r.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTree;
|
|
111
|
-
}),
|
|
111
|
+
}), I = h(() => {
|
|
112
112
|
var a, e;
|
|
113
113
|
return (e = (a = r.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTable;
|
|
114
|
-
}), B = h(() => r.isSelectedSensitive), O = u(!1), i = u([]),
|
|
114
|
+
}), B = h(() => r.isSelectedSensitive), O = u(!1), i = u([]), V = u(""), S = u(""), P = u(""), _ = u([]), C = u([]), f = u(20), m = u(1), $ = u(0);
|
|
115
115
|
de(() => {
|
|
116
|
-
|
|
116
|
+
x(), q();
|
|
117
117
|
});
|
|
118
118
|
const q = () => {
|
|
119
|
-
|
|
119
|
+
C.value = b.value.filter((a) => a.identityType == 2);
|
|
120
120
|
}, j = (a) => {
|
|
121
|
-
a && a instanceof Array && (
|
|
121
|
+
a && a instanceof Array && (C.value = a.filter((e) => e.identityType == 1));
|
|
122
122
|
}, F = (a) => {
|
|
123
|
-
|
|
123
|
+
C.value = C.value.filter((e) => e.id != a.id);
|
|
124
124
|
}, M = () => {
|
|
125
|
-
b.value = [],
|
|
125
|
+
b.value = [], C.value = [];
|
|
126
126
|
}, { selectListRef: J, selectListVue: ee } = ye(B.value, F, M), G = (a) => {
|
|
127
|
-
var t, s,
|
|
128
|
-
const e =
|
|
129
|
-
a._disabled = !a[
|
|
127
|
+
var t, s, n;
|
|
128
|
+
const e = o.value && ((t = d.value) != null && t.disabledOrgTypes) && ((s = d.value) == null ? void 0 : s.disabledOrgTypes.length) > 0 ? (n = d.value) == null ? void 0 : n.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
129
|
+
a._disabled = !a[N.value] || e.includes(a.type), !a._disabled && !V.value && (V.value = a.id), a.children && a.children.length && a.children.forEach((p) => {
|
|
130
130
|
G(p);
|
|
131
131
|
});
|
|
132
|
-
},
|
|
133
|
-
var
|
|
132
|
+
}, x = async () => {
|
|
133
|
+
var n, p;
|
|
134
134
|
O.value = !0;
|
|
135
135
|
let a = {};
|
|
136
|
-
if (
|
|
137
|
-
const { params:
|
|
138
|
-
a = { ...
|
|
136
|
+
if (o.value && d.value) {
|
|
137
|
+
const { params: T = {}, query: R = {} } = d.value;
|
|
138
|
+
a = { ...T, ...R };
|
|
139
139
|
} else
|
|
140
140
|
a = {
|
|
141
141
|
name: "",
|
|
142
142
|
parentId: "",
|
|
143
143
|
implicit: !1
|
|
144
144
|
};
|
|
145
|
-
const e =
|
|
145
|
+
const e = o.value && ((n = d.value) != null && n.api) ? (p = d.value) == null ? void 0 : p.api : _e, [t, s] = await e(a).run();
|
|
146
146
|
if (t) {
|
|
147
147
|
O.value = !1;
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
|
-
s && s.length && s.forEach((
|
|
151
|
-
G(
|
|
152
|
-
}), i.value = s,
|
|
150
|
+
s && s.length && s.forEach((T) => {
|
|
151
|
+
G(T);
|
|
152
|
+
}), i.value = s, w();
|
|
153
153
|
}, g = async () => {
|
|
154
|
-
var
|
|
155
|
-
if (!
|
|
156
|
-
O.value = !1, _.value = [],
|
|
154
|
+
var n, p;
|
|
155
|
+
if (!V.value) {
|
|
156
|
+
O.value = !1, _.value = [], $.value = 0;
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
159
|
O.value = !0;
|
|
160
160
|
let a = {};
|
|
161
|
-
if (
|
|
162
|
-
const { params:
|
|
163
|
-
a = { ...
|
|
161
|
+
if (o.value && I.value) {
|
|
162
|
+
const { params: T = {}, query: R = {}, treeKey: E = "", searchKey: X = "" } = I.value;
|
|
163
|
+
a = { ...T, ...R }, E ? a[E] = V.value : a.parentId = V.value, X ? a[X] = P.value : a.search = P.value;
|
|
164
164
|
} else
|
|
165
165
|
a = {
|
|
166
|
-
parentId:
|
|
166
|
+
parentId: V.value,
|
|
167
167
|
// 树id
|
|
168
|
-
search:
|
|
168
|
+
search: P.value
|
|
169
169
|
// 名称
|
|
170
170
|
};
|
|
171
171
|
a.pageIndex = m.value, a.pageSize = f.value;
|
|
172
|
-
const e =
|
|
172
|
+
const e = o.value && ((n = I.value) != null && n.api) ? (p = I.value) == null ? void 0 : p.api : Qe, [t, s] = await e(a).run();
|
|
173
173
|
if (t) {
|
|
174
174
|
O.value = !1;
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
_.value = s.data.map((
|
|
178
|
-
},
|
|
179
|
-
|
|
177
|
+
_.value = s.data.map((T) => (T.identityType = 2, T)), $.value = Number(s.totalCount), O.value = !1;
|
|
178
|
+
}, w = () => {
|
|
179
|
+
P.value = "", S.value = "", _.value = [], f.value = 20, m.value = 1, Q();
|
|
180
180
|
}, Q = () => {
|
|
181
181
|
m.value = 1, g();
|
|
182
182
|
}, W = (a) => {
|
|
@@ -190,11 +190,11 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
190
190
|
}), _.value.forEach((s) => {
|
|
191
191
|
e.includes(s.id) || t.push(s.id);
|
|
192
192
|
}), b.value = b.value.filter((s) => !t.includes(s.id)), a.forEach((s) => {
|
|
193
|
-
b.value.some((
|
|
193
|
+
b.value.some((n) => n.id === s.id) || b.value.push(s);
|
|
194
194
|
});
|
|
195
195
|
};
|
|
196
196
|
return pe(
|
|
197
|
-
() =>
|
|
197
|
+
() => V,
|
|
198
198
|
() => {
|
|
199
199
|
ve(() => {
|
|
200
200
|
g();
|
|
@@ -204,9 +204,9 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
204
204
|
immediate: !0,
|
|
205
205
|
deep: !0
|
|
206
206
|
}
|
|
207
|
-
),
|
|
207
|
+
), D({
|
|
208
208
|
setSelectData: j
|
|
209
|
-
}), (a, e) => (
|
|
209
|
+
}), (a, e) => (k(), L("div", We, [
|
|
210
210
|
c(l(me), { spinning: O.value }, {
|
|
211
211
|
default: v(() => [
|
|
212
212
|
c(l(ge), {
|
|
@@ -225,9 +225,9 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
225
225
|
isFilter: "",
|
|
226
226
|
"node-key": "id",
|
|
227
227
|
props: { disabled: "_disabled" },
|
|
228
|
-
inputOptions: { placeholder: l(
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
|
228
|
+
inputOptions: { placeholder: l(z)("搜索组织名称").value },
|
|
229
|
+
modelValue: V.value,
|
|
230
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => V.value = t),
|
|
231
231
|
"filter-value": S.value,
|
|
232
232
|
"onUpdate:filterValue": e[1] || (e[1] = (t) => S.value = t),
|
|
233
233
|
"is-ellipsis": ""
|
|
@@ -239,12 +239,12 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
239
239
|
U("div", Ze, [
|
|
240
240
|
U("div", et, [
|
|
241
241
|
c(l(fe), {
|
|
242
|
-
modelValue:
|
|
243
|
-
"onUpdate:modelValue": e[2] || (e[2] = (t) =>
|
|
242
|
+
modelValue: P.value,
|
|
243
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => P.value = t),
|
|
244
244
|
searchType: "basis",
|
|
245
245
|
isIconLeft: "",
|
|
246
246
|
size: "small",
|
|
247
|
-
placeholder: l(
|
|
247
|
+
placeholder: l(z)("搜索组织名称/组织编码").value,
|
|
248
248
|
onChange: Q
|
|
249
249
|
}, null, 8, ["modelValue", "placeholder"])
|
|
250
250
|
]),
|
|
@@ -252,13 +252,13 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
252
252
|
c(l(he), {
|
|
253
253
|
height: "100%",
|
|
254
254
|
data: _.value,
|
|
255
|
-
total:
|
|
255
|
+
total: $.value,
|
|
256
256
|
selection: "",
|
|
257
257
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
258
258
|
"current-page": m.value,
|
|
259
259
|
"onUpdate:currentPage": e[3] || (e[3] = (t) => m.value = t),
|
|
260
|
-
"selection-rows":
|
|
261
|
-
"onUpdate:selectionRows": e[4] || (e[4] = (t) =>
|
|
260
|
+
"selection-rows": C.value,
|
|
261
|
+
"onUpdate:selectionRows": e[4] || (e[4] = (t) => C.value = t),
|
|
262
262
|
"page-size": f.value,
|
|
263
263
|
"onUpdate:pageSize": e[5] || (e[5] = (t) => f.value = t),
|
|
264
264
|
onSizeChange: W,
|
|
@@ -267,15 +267,15 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
267
267
|
}, {
|
|
268
268
|
default: v(() => [
|
|
269
269
|
c(l(K), {
|
|
270
|
-
label: l(
|
|
270
|
+
label: l(z)("组织名称").value,
|
|
271
271
|
prop: "name"
|
|
272
272
|
}, null, 8, ["label"]),
|
|
273
273
|
c(l(K), {
|
|
274
|
-
label: l(
|
|
274
|
+
label: l(z)("组织编码").value,
|
|
275
275
|
prop: "code"
|
|
276
276
|
}, null, 8, ["label"]),
|
|
277
277
|
c(l(K), {
|
|
278
|
-
label: l(
|
|
278
|
+
label: l(z)("组织路径").value,
|
|
279
279
|
prop: "pathName"
|
|
280
280
|
}, null, 8, ["label"])
|
|
281
281
|
]),
|
|
@@ -298,11 +298,11 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
298
298
|
}, 8, ["spinning"])
|
|
299
299
|
]));
|
|
300
300
|
}
|
|
301
|
-
}),
|
|
301
|
+
}), nt = /* @__PURE__ */ Z(st, [["__scopeId", "data-v-89081b7e"]]), re = u(null), ot = (y, D, r) => ({
|
|
302
302
|
selectOrgRef: re,
|
|
303
|
-
selectOrgVue: () => se(
|
|
303
|
+
selectOrgVue: () => se(nt, {
|
|
304
304
|
projectId: y,
|
|
305
|
-
isSelectedSensitive:
|
|
305
|
+
isSelectedSensitive: D,
|
|
306
306
|
ref: re,
|
|
307
307
|
initProps: r
|
|
308
308
|
})
|
|
@@ -316,20 +316,20 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
316
316
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
317
317
|
initProps: {}
|
|
318
318
|
},
|
|
319
|
-
setup(y, { expose:
|
|
320
|
-
const r = y,
|
|
319
|
+
setup(y, { expose: D }) {
|
|
320
|
+
const r = y, o = h(() => {
|
|
321
321
|
var e;
|
|
322
322
|
return ((e = r.initProps) == null ? void 0 : e.isCustomApi) || !1;
|
|
323
|
-
}),
|
|
323
|
+
}), N = h(() => {
|
|
324
324
|
var e;
|
|
325
325
|
return ((e = r.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
|
|
326
326
|
}), d = h(() => {
|
|
327
327
|
var e, t;
|
|
328
328
|
return (t = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.orgTree;
|
|
329
|
-
}),
|
|
329
|
+
}), I = h(() => {
|
|
330
330
|
var e, t;
|
|
331
331
|
return (t = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.userTable;
|
|
332
|
-
}), B = h(() => r.isTableSensitive), O = h(() => r.isSelectedSensitive), i = u(!1),
|
|
332
|
+
}), B = h(() => r.isTableSensitive), O = h(() => r.isSelectedSensitive), i = u(!1), V = u([]), S = u(""), P = u(""), _ = u(""), C = u([]), f = u([]), m = u(20), $ = u(1), q = u(0);
|
|
333
333
|
de(() => {
|
|
334
334
|
g(), j();
|
|
335
335
|
});
|
|
@@ -341,17 +341,17 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
341
341
|
f.value = f.value.filter((t) => t.id != e.id);
|
|
342
342
|
}, J = () => {
|
|
343
343
|
b.value = [], f.value = [];
|
|
344
|
-
}, { selectListRef: ee, selectListVue: G } = ye(O.value, M, J),
|
|
345
|
-
var s,
|
|
346
|
-
const t =
|
|
347
|
-
e._disabled = !e[
|
|
348
|
-
|
|
344
|
+
}, { selectListRef: ee, selectListVue: G } = ye(O.value, M, J), x = (e) => {
|
|
345
|
+
var s, n, p;
|
|
346
|
+
const t = o.value && ((s = d.value) != null && s.disabledOrgTypes) && ((n = d.value) == null ? void 0 : n.disabledOrgTypes.length) > 0 ? (p = d.value) == null ? void 0 : p.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
347
|
+
e._disabled = !e[N.value] || t.includes(e.type), !e._disabled && !S.value && (S.value = e.id), e.children && e.children.length && e.children.forEach((T) => {
|
|
348
|
+
x(T);
|
|
349
349
|
});
|
|
350
350
|
}, g = async () => {
|
|
351
|
-
var p,
|
|
351
|
+
var p, T;
|
|
352
352
|
i.value = !0;
|
|
353
353
|
let e = {};
|
|
354
|
-
if (
|
|
354
|
+
if (o.value && d.value) {
|
|
355
355
|
const { params: R = {}, query: E = {} } = d.value;
|
|
356
356
|
e = { ...R, ...E };
|
|
357
357
|
} else
|
|
@@ -360,25 +360,25 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
360
360
|
parentId: "",
|
|
361
361
|
implicit: !1
|
|
362
362
|
};
|
|
363
|
-
const t =
|
|
363
|
+
const t = o.value && ((p = d.value) != null && p.api) ? (T = d.value) == null ? void 0 : T.api : _e, [s, n] = await t(e).run();
|
|
364
364
|
if (s) {
|
|
365
365
|
i.value = !1;
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}),
|
|
371
|
-
},
|
|
372
|
-
var p,
|
|
368
|
+
n && n.length && n.forEach((R) => {
|
|
369
|
+
x(R);
|
|
370
|
+
}), V.value = n, Q();
|
|
371
|
+
}, w = async () => {
|
|
372
|
+
var p, T, R;
|
|
373
373
|
if (!S.value) {
|
|
374
|
-
i.value = !1,
|
|
374
|
+
i.value = !1, C.value = [], q.value = 0;
|
|
375
375
|
return;
|
|
376
376
|
}
|
|
377
377
|
i.value = !0;
|
|
378
378
|
let e = {};
|
|
379
|
-
if (
|
|
380
|
-
const { params: E = {}, query: X = {}, treeKey:
|
|
381
|
-
e = { ...E, ...X },
|
|
379
|
+
if (o.value && I.value) {
|
|
380
|
+
const { params: E = {}, query: X = {}, treeKey: ne = "", searchKey: oe = "" } = I.value;
|
|
381
|
+
e = { ...E, ...X }, ne ? e[ne] = S.value : e.id = S.value, oe ? e[oe] = _.value : e.filterValue = _.value;
|
|
382
382
|
} else
|
|
383
383
|
e = {
|
|
384
384
|
id: S.value,
|
|
@@ -386,45 +386,45 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
386
386
|
filterValue: _.value
|
|
387
387
|
//账号或姓名
|
|
388
388
|
};
|
|
389
|
-
e.pageIndex =
|
|
390
|
-
const t =
|
|
389
|
+
e.pageIndex = $.value, e.pageSize = m.value, e.statusList = [1, 2];
|
|
390
|
+
const t = o.value && ((p = I.value) != null && p.api) ? (T = I.value) == null ? void 0 : T.api : Je, [s, n] = await t(e).run();
|
|
391
391
|
if (s) {
|
|
392
392
|
i.value = !1;
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
i.value = !1,
|
|
395
|
+
i.value = !1, C.value = (R = n == null ? void 0 : n.data) == null ? void 0 : R.map((E) => (E.identityType = 1, E)), q.value = Number(n.totalCount);
|
|
396
396
|
}, Q = () => {
|
|
397
|
-
_.value = "",
|
|
397
|
+
_.value = "", P.value = "", C.value = [], m.value = 20, $.value = 1, W();
|
|
398
398
|
}, W = () => {
|
|
399
|
-
|
|
399
|
+
$.value = 1, w();
|
|
400
400
|
}, te = (e) => {
|
|
401
|
-
|
|
401
|
+
$.value = 1, m.value = e, w();
|
|
402
402
|
}, ae = (e) => {
|
|
403
|
-
|
|
403
|
+
$.value = e, w();
|
|
404
404
|
}, a = (e) => {
|
|
405
405
|
let t = [], s = [];
|
|
406
|
-
e.forEach((
|
|
407
|
-
t.push(
|
|
408
|
-
}),
|
|
409
|
-
t.includes(
|
|
410
|
-
}), b.value = b.value.filter((
|
|
411
|
-
b.value.some((p) => p.id ===
|
|
406
|
+
e.forEach((n) => {
|
|
407
|
+
t.push(n.id);
|
|
408
|
+
}), C.value.forEach((n) => {
|
|
409
|
+
t.includes(n.id) || s.push(n.id);
|
|
410
|
+
}), b.value = b.value.filter((n) => !s.includes(n.id)), e.forEach((n) => {
|
|
411
|
+
b.value.some((p) => p.id === n.id) || b.value.push(n);
|
|
412
412
|
});
|
|
413
413
|
};
|
|
414
414
|
return pe(
|
|
415
415
|
() => S,
|
|
416
416
|
() => {
|
|
417
417
|
ve(() => {
|
|
418
|
-
|
|
418
|
+
w();
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
immediate: !0,
|
|
423
423
|
deep: !0
|
|
424
424
|
}
|
|
425
|
-
),
|
|
425
|
+
), D({
|
|
426
426
|
setSelectData: F
|
|
427
|
-
}), (e, t) => (
|
|
427
|
+
}), (e, t) => (k(), L("div", it, [
|
|
428
428
|
c(l(me), { spinning: i.value }, {
|
|
429
429
|
default: v(() => [
|
|
430
430
|
c(l(ge), {
|
|
@@ -439,15 +439,15 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
439
439
|
U("div", ut, [
|
|
440
440
|
c(l(be), {
|
|
441
441
|
ref: "organizationTree",
|
|
442
|
-
data:
|
|
442
|
+
data: V.value,
|
|
443
443
|
isFilter: "",
|
|
444
444
|
"node-key": "id",
|
|
445
445
|
props: { disabled: "_disabled" },
|
|
446
|
-
inputOptions: { placeholder: l(
|
|
446
|
+
inputOptions: { placeholder: l(z)("搜索组织名称").value },
|
|
447
447
|
modelValue: S.value,
|
|
448
448
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => S.value = s),
|
|
449
|
-
"filter-value":
|
|
450
|
-
"onUpdate:filterValue": t[1] || (t[1] = (s) =>
|
|
449
|
+
"filter-value": P.value,
|
|
450
|
+
"onUpdate:filterValue": t[1] || (t[1] = (s) => P.value = s),
|
|
451
451
|
"is-ellipsis": ""
|
|
452
452
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
453
453
|
])
|
|
@@ -462,7 +462,7 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
462
462
|
searchType: "basis",
|
|
463
463
|
isIconLeft: "",
|
|
464
464
|
size: "small",
|
|
465
|
-
placeholder: l(
|
|
465
|
+
placeholder: l(z)("搜索姓名/账号").value,
|
|
466
466
|
onChange: W
|
|
467
467
|
}, null, 8, ["modelValue", "placeholder"])
|
|
468
468
|
]),
|
|
@@ -470,12 +470,12 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
470
470
|
c(l(he), {
|
|
471
471
|
height: "100%",
|
|
472
472
|
ref: "treeTableRef",
|
|
473
|
-
data:
|
|
473
|
+
data: C.value,
|
|
474
474
|
total: q.value,
|
|
475
475
|
selection: "",
|
|
476
476
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
477
|
-
"current-page":
|
|
478
|
-
"onUpdate:currentPage": t[3] || (t[3] = (s) =>
|
|
477
|
+
"current-page": $.value,
|
|
478
|
+
"onUpdate:currentPage": t[3] || (t[3] = (s) => $.value = s),
|
|
479
479
|
"selection-rows": f.value,
|
|
480
480
|
"onUpdate:selectionRows": t[4] || (t[4] = (s) => f.value = s),
|
|
481
481
|
"page-size": m.value,
|
|
@@ -486,16 +486,16 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
486
486
|
}, {
|
|
487
487
|
default: v(() => [
|
|
488
488
|
c(l(K), {
|
|
489
|
-
label: l(
|
|
489
|
+
label: l(z)("姓名").value,
|
|
490
490
|
prop: "name"
|
|
491
491
|
}, null, 8, ["label"]),
|
|
492
492
|
c(l(K), {
|
|
493
|
-
label: l(
|
|
493
|
+
label: l(z)("账号").value,
|
|
494
494
|
prop: "userName"
|
|
495
495
|
}, null, 8, ["label"]),
|
|
496
|
-
B.value ? (
|
|
496
|
+
B.value ? (k(), H(l(K), {
|
|
497
497
|
key: 0,
|
|
498
|
-
label: l(
|
|
498
|
+
label: l(z)("手机号").value,
|
|
499
499
|
prop: "sensitivePhone"
|
|
500
500
|
}, {
|
|
501
501
|
default: v(({ row: s }) => [
|
|
@@ -507,7 +507,7 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
507
507
|
U(
|
|
508
508
|
"span",
|
|
509
509
|
null,
|
|
510
|
-
|
|
510
|
+
A(s.sensitivePhone),
|
|
511
511
|
1
|
|
512
512
|
/* TEXT */
|
|
513
513
|
)
|
|
@@ -518,13 +518,13 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
518
518
|
]),
|
|
519
519
|
_: 1
|
|
520
520
|
/* STABLE */
|
|
521
|
-
}, 8, ["label"])) : (
|
|
521
|
+
}, 8, ["label"])) : (k(), H(l(K), {
|
|
522
522
|
key: 1,
|
|
523
|
-
label: l(
|
|
523
|
+
label: l(z)("手机号").value,
|
|
524
524
|
prop: "phone"
|
|
525
525
|
}, null, 8, ["label"])),
|
|
526
526
|
c(l(K), {
|
|
527
|
-
label: l(
|
|
527
|
+
label: l(z)("状态").value,
|
|
528
528
|
prop: "statusName"
|
|
529
529
|
}, null, 8, ["label"])
|
|
530
530
|
]),
|
|
@@ -547,21 +547,21 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
547
547
|
}, 8, ["spinning"])
|
|
548
548
|
]));
|
|
549
549
|
}
|
|
550
|
-
}), gt = /* @__PURE__ */ Z(mt, [["__scopeId", "data-v-206cd2ef"]]), ce = u(null), ht = (y,
|
|
550
|
+
}), gt = /* @__PURE__ */ Z(mt, [["__scopeId", "data-v-206cd2ef"]]), ce = u(null), ht = (y, D, r, o) => ({
|
|
551
551
|
selectUserRef: ce,
|
|
552
552
|
selectUserVue: () => se(gt, {
|
|
553
553
|
projectId: y,
|
|
554
|
-
isTableSensitive:
|
|
554
|
+
isTableSensitive: D,
|
|
555
555
|
isSelectedSensitive: r,
|
|
556
556
|
ref: ce,
|
|
557
|
-
initProps:
|
|
557
|
+
initProps: o
|
|
558
558
|
})
|
|
559
559
|
}), bt = { class: "select-org-user-dialog-box" }, yt = {
|
|
560
560
|
key: 0,
|
|
561
561
|
class: "select-org-user-dialog-content"
|
|
562
562
|
}, St = { class: "foot-btn-box" }, _t = {
|
|
563
563
|
name: "selectOrganizationAndUser"
|
|
564
|
-
},
|
|
564
|
+
}, Ct = /* @__PURE__ */ Y({
|
|
565
565
|
..._t,
|
|
566
566
|
props: {
|
|
567
567
|
header: { default: "" },
|
|
@@ -574,50 +574,50 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
574
574
|
singleTabKey: { default: "" }
|
|
575
575
|
},
|
|
576
576
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
577
|
-
setup(y, { expose:
|
|
578
|
-
const
|
|
579
|
-
get: () =>
|
|
580
|
-
set: (
|
|
581
|
-
}), S =
|
|
577
|
+
setup(y, { expose: D, emit: r }) {
|
|
578
|
+
const o = y, N = r, d = u(!1), I = h(() => o.header || Ve("添加组织/用户")), B = h(() => o.isTableSensitive), O = h(() => o.isSelectedSensitive), i = h(() => o.singleTabKey), V = h({
|
|
579
|
+
get: () => o.modelValue,
|
|
580
|
+
set: (x) => N("update:modelValue", x)
|
|
581
|
+
}), S = Ie().id, { selectOrgVue: P, selectOrgRef: _ } = ot(S, O.value, o), { selectUserVue: C, selectUserRef: f } = ht(
|
|
582
582
|
S,
|
|
583
583
|
B.value,
|
|
584
584
|
O.value,
|
|
585
|
-
|
|
586
|
-
), m = u(1),
|
|
585
|
+
o
|
|
586
|
+
), m = u(1), $ = [
|
|
587
587
|
{
|
|
588
588
|
key: 1,
|
|
589
|
-
tab:
|
|
589
|
+
tab: z("组织").value,
|
|
590
590
|
contentSlot: "contentSlot1"
|
|
591
591
|
},
|
|
592
592
|
{
|
|
593
593
|
key: 2,
|
|
594
|
-
tab:
|
|
594
|
+
tab: z("用户").value,
|
|
595
595
|
contentSlot: "contentSlot2"
|
|
596
596
|
}
|
|
597
597
|
], q = () => {
|
|
598
|
-
|
|
598
|
+
N("selectCancel");
|
|
599
599
|
}, j = async () => {
|
|
600
|
-
|
|
601
|
-
}, F = (
|
|
600
|
+
N("selectConfirm", b.value);
|
|
601
|
+
}, F = (x) => {
|
|
602
602
|
}, M = () => {
|
|
603
|
-
m.value = 1, d.value = !1,
|
|
603
|
+
m.value = 1, d.value = !1, N("selectCancel");
|
|
604
604
|
}, J = () => {
|
|
605
|
-
b.value =
|
|
605
|
+
b.value = o.selectData, d.value = !0;
|
|
606
606
|
};
|
|
607
|
-
return
|
|
608
|
-
setUserSelectData: (
|
|
607
|
+
return D({
|
|
608
|
+
setUserSelectData: (x) => {
|
|
609
609
|
var g;
|
|
610
|
-
(g = f == null ? void 0 : f.value) == null || g.setSelectData(
|
|
610
|
+
(g = f == null ? void 0 : f.value) == null || g.setSelectData(x);
|
|
611
611
|
},
|
|
612
|
-
setOrgSelectData: (
|
|
612
|
+
setOrgSelectData: (x) => {
|
|
613
613
|
var g;
|
|
614
|
-
(g = _ == null ? void 0 : _.value) == null || g.setSelectData(
|
|
614
|
+
(g = _ == null ? void 0 : _.value) == null || g.setSelectData(x);
|
|
615
615
|
}
|
|
616
|
-
}), (
|
|
617
|
-
c(l(Ue),
|
|
618
|
-
modelValue:
|
|
619
|
-
"onUpdate:modelValue": g[1] || (g[1] = (
|
|
620
|
-
},
|
|
616
|
+
}), (x, g) => (k(), L("div", bt, [
|
|
617
|
+
c(l(Ue), ze({
|
|
618
|
+
modelValue: V.value,
|
|
619
|
+
"onUpdate:modelValue": g[1] || (g[1] = (w) => V.value = w)
|
|
620
|
+
}, x.$attrs, {
|
|
621
621
|
customClass: "select-org-user-dialog",
|
|
622
622
|
type: "basic",
|
|
623
623
|
size: "small",
|
|
@@ -631,7 +631,7 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
631
631
|
}), {
|
|
632
632
|
header: v(() => [
|
|
633
633
|
le(
|
|
634
|
-
|
|
634
|
+
A(I.value),
|
|
635
635
|
1
|
|
636
636
|
/* TEXT */
|
|
637
637
|
)
|
|
@@ -644,7 +644,7 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
644
644
|
}, {
|
|
645
645
|
default: v(() => [
|
|
646
646
|
le(
|
|
647
|
-
|
|
647
|
+
A(l(z)("取消").value),
|
|
648
648
|
1
|
|
649
649
|
/* TEXT */
|
|
650
650
|
)
|
|
@@ -659,7 +659,7 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
659
659
|
}, {
|
|
660
660
|
default: v(() => [
|
|
661
661
|
le(
|
|
662
|
-
|
|
662
|
+
A(l(z)("确定").value),
|
|
663
663
|
1
|
|
664
664
|
/* TEXT */
|
|
665
665
|
)
|
|
@@ -670,40 +670,50 @@ const b = u([]), Ae = { class: "select-list-container" }, Ne = { class: "check-t
|
|
|
670
670
|
])
|
|
671
671
|
]),
|
|
672
672
|
default: v(() => [
|
|
673
|
-
d.value ? (
|
|
674
|
-
i.value == 1 ? (
|
|
673
|
+
d.value ? (k(), L("div", yt, [
|
|
674
|
+
i.value == 1 ? (k(), H(l(P), { key: 0 })) : i.value == 2 ? (k(), H(l(C), { key: 1 })) : (k(), H(l(Ne), {
|
|
675
675
|
key: 2,
|
|
676
676
|
activeKey: m.value,
|
|
677
|
-
"onUpdate:activeKey": g[0] || (g[0] = (
|
|
677
|
+
"onUpdate:activeKey": g[0] || (g[0] = (w) => m.value = w),
|
|
678
678
|
isStrict: "",
|
|
679
679
|
hideAdd: "",
|
|
680
|
-
options:
|
|
680
|
+
options: $,
|
|
681
681
|
onChange: F
|
|
682
682
|
}, {
|
|
683
683
|
contentSlot1: v(() => [
|
|
684
|
-
c(l(
|
|
684
|
+
c(l(P))
|
|
685
685
|
]),
|
|
686
686
|
contentSlot2: v(() => [
|
|
687
|
-
c(l(
|
|
687
|
+
c(l(C))
|
|
688
688
|
]),
|
|
689
689
|
_: 1
|
|
690
690
|
/* STABLE */
|
|
691
691
|
}, 8, ["activeKey"]))
|
|
692
|
-
])) :
|
|
692
|
+
])) : De("v-if", !0)
|
|
693
693
|
]),
|
|
694
694
|
_: 1
|
|
695
695
|
/* STABLE */
|
|
696
696
|
}, 16, ["modelValue"])
|
|
697
697
|
]));
|
|
698
698
|
}
|
|
699
|
-
}),
|
|
700
|
-
"
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
}
|
|
699
|
+
}), Tt = /* @__PURE__ */ Z(Ct, [["__scopeId", "data-v-139fae42"]]), zt = {
|
|
700
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name" },
|
|
701
|
+
账号: { "zh-CN": "账号", en: "Account" },
|
|
702
|
+
姓名: { "zh-CN": "姓名", en: "Name" },
|
|
703
|
+
手机号: { "zh-CN": "手机号", en: "Mobile number" },
|
|
704
|
+
状态: { "zh-CN": "状态", en: "Role Name" },
|
|
705
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search Organization Name" },
|
|
706
|
+
组织编码: { "zh-CN": "组织编码", en: "Role Status" },
|
|
707
|
+
组织名称: { "zh-CN": "组织名称", en: "Role Type" },
|
|
708
|
+
组织路径: { "zh-CN": "组织路径", en: "Organization Path" },
|
|
709
|
+
取消: { "zh-CN": "取消", en: "Cancel" },
|
|
710
|
+
确定: { "zh-CN": "确定", en: "OK" },
|
|
711
|
+
添加组织: { "zh-CN": "添加组织", en: "Add Organization" },
|
|
712
|
+
用户: { "zh-CN": "用户", en: "User" },
|
|
713
|
+
组织: { "zh-CN": "组织", en: "Organization" }
|
|
704
714
|
};
|
|
705
|
-
|
|
706
|
-
const qt = () => u(null), jt = Oe(
|
|
715
|
+
ke(zt);
|
|
716
|
+
const qt = () => u(null), jt = Oe(Tt);
|
|
707
717
|
export {
|
|
708
718
|
jt as DasUserOrgDialog,
|
|
709
719
|
qt as DasUserOrgDialogRef
|