@das-fed/ui 6.4.0-dev.54.8 → 6.4.0-dev.55
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/change-enterprises/i18n/index.d.ts +3 -3
- package/packages/business-components/change-pwd/i18n/index.d.ts +26 -34
- package/packages/business-components/change-pwd/index.js +66 -65
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +172 -0
- package/packages/business-components/device-panel/index.js +331 -261
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +16 -20
- package/packages/business-components/export-button/index.js +88 -86
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +34 -30
- package/packages/business-components/import-button/index.js +148 -144
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -6
- package/packages/business-components/model-table-dialog/index.js +82 -83
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +17 -49
- 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 +37 -29
- package/packages/business-components/process-configuration/index.js +103 -92
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +109 -69
- package/packages/business-components/process-form/index.js +621 -580
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +4 -0
- package/packages/business-components/process-log/index.js +29 -28
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -9
- package/packages/business-components/process-search-form/index.js +77 -80
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -8
- package/packages/business-components/process-table/index.js +36 -36
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +2 -2
- package/packages/business-components/upload-file/index.js +45 -42
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +28 -0
- package/packages/business-components/urgent-panel/index.js +595 -576
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +7 -3
- package/packages/business-components/user-org-dialog/index.js +92 -91
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +29 -17
- package/packages/business-components/video-dialog/index.js +116 -113
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/button/index.js +54 -56
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +9 -21
- package/packages/components/image-upload/index.js +92 -92
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +1 -30
- package/packages/components/image-viewer/index.js +213 -219
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -3
- package/packages/components/input/index.js +1 -1
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +1 -6
- package/packages/components/input-dialog-select/index.js +49 -51
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +3 -7
- package/packages/components/live-player/index.js +7 -5
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/loading/i18n/index.d.ts +1 -1
- package/packages/components/loading/index.js +1 -3
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +7 -11
- package/packages/components/map/index.js +168 -167
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -1
- package/packages/components/menu-aside/index.js +1 -3
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -1
- package/packages/components/message/index.js +1 -3
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -1
- package/packages/components/notification/index.js +1 -3
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/index.js +1 -1
- 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 +6 -7
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/style.css +1 -1
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.js +26 -36
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/{search → search-form}/i18n/index.d.ts +6 -10
- package/packages/components/search-form/index.js +426 -418
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -1
- package/packages/components/spin/index.js +1 -3
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +19 -19
- package/packages/components/table/index.js +7 -7
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -3
- package/packages/components/time-line/index.js +36 -40
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -1
- package/packages/components/tooltip/index.js +1 -3
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +8 -12
- package/packages/components/tree/index.js +141 -137
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +26 -36
- package/packages/components/upload/i18n/index.d.ts +5 -5
- package/packages/components/upload/index.js +1 -1
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -1
- package/packages/components/virtual-tree/index.js +1 -3
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/button/i18n/index.d.ts +0 -2
- package/packages/components/time-line/i18n/index.d.ts +0 -7
|
Binary file
|
|
@@ -43,15 +43,19 @@ declare const _default: {
|
|
|
43
43
|
'zh-CN': string;
|
|
44
44
|
en: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
组织: {
|
|
47
47
|
'zh-CN': string;
|
|
48
48
|
en: string;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
'\u6DFB\u52A0\u7EC4\u7EC7/\u7528\u6237': {
|
|
51
51
|
'zh-CN': string;
|
|
52
52
|
en: string;
|
|
53
53
|
};
|
|
54
|
-
|
|
54
|
+
'\u641C\u7D22\u7EC4\u7EC7\u540D\u79F0/\u7EC4\u7EC7\u7F16\u7801': {
|
|
55
|
+
'zh-CN': string;
|
|
56
|
+
en: string;
|
|
57
|
+
};
|
|
58
|
+
'\u641C\u7D22\u59D3\u540D/\u8D26\u53F7': {
|
|
55
59
|
'zh-CN': string;
|
|
56
60
|
en: string;
|
|
57
61
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { i18n as z, t as Ve, setI18nRule as
|
|
5
|
-
import { DasTabs as
|
|
2
|
+
import { ref as u, defineComponent as Y, computed as h, openBlock as N, createElementBlock as A, createVNode as c, unref as l, isRef as Ce, withCtx as v, withDirectives as Te, toDisplayString as R, 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 Oe } from "vue";
|
|
3
|
+
import { withInstall as De } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { i18n as z, t as Ve, setI18nRule as Ne } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasTabs as ke } 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
8
|
import { getProjectInfo as Ie } from "@das-fed/utils/common-info";
|
|
@@ -15,8 +15,8 @@ import { DasSelectList as Pe } from "@das-fed/ui/packages/components/select-list
|
|
|
15
15
|
import { vDasTooltip as $e } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
16
16
|
import { enterpriseright as xe } from "@das-fed/utils/api-services/modules/enterpriseright";
|
|
17
17
|
import { createService as we } from "@das-fed/utils/create-api-service";
|
|
18
|
-
import { DasTooltip as
|
|
19
|
-
const b = u([]),
|
|
18
|
+
import { DasTooltip as Le } from "@das-fed/ui/packages/components/tooltip/index";
|
|
19
|
+
const b = u([]), Ae = { class: "select-list-container" }, Re = { 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,16 +24,16 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { 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, o = h(() => r.isSelectedSensitive),
|
|
29
|
-
|
|
27
|
+
setup(y, { emit: O }) {
|
|
28
|
+
const r = y, o = h(() => r.isSelectedSensitive), k = O, d = (B) => {
|
|
29
|
+
k("itemRemove", B);
|
|
30
30
|
}, I = (B) => {
|
|
31
|
-
|
|
31
|
+
k("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return (B,
|
|
33
|
+
return (B, D) => (N(), A("div", Ae, [
|
|
34
34
|
c(l(Pe), {
|
|
35
35
|
modelValue: l(b),
|
|
36
|
-
"onUpdate:modelValue":
|
|
36
|
+
"onUpdate:modelValue": D[0] || (D[0] = (i) => Ce(b) ? b.value = i : null),
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
"custom-style": { border: "none" },
|
|
@@ -41,29 +41,29 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
41
41
|
onRemoveAll: I
|
|
42
42
|
}, {
|
|
43
43
|
default: v(({ item: i }) => [
|
|
44
|
-
Te((
|
|
45
|
-
i.identityType == 2 ? (
|
|
44
|
+
Te((N(), A("div", Re, [
|
|
45
|
+
i.identityType == 2 ? (N(), A(
|
|
46
46
|
"span",
|
|
47
47
|
Be,
|
|
48
|
-
|
|
48
|
+
R(i.name),
|
|
49
49
|
1
|
|
50
50
|
/* TEXT */
|
|
51
|
-
)) : i.identityType == 1 && o.value ? (
|
|
51
|
+
)) : i.identityType == 1 && o.value ? (N(), A(
|
|
52
52
|
"span",
|
|
53
53
|
Ee,
|
|
54
|
-
|
|
54
|
+
R(i.name) + R(i.sensitivePhone ? `(${i.sensitivePhone})` : ""),
|
|
55
55
|
1
|
|
56
56
|
/* TEXT */
|
|
57
|
-
)) : i.identityType == 1 && !o.value ? (
|
|
57
|
+
)) : i.identityType == 1 && !o.value ? (N(), A(
|
|
58
58
|
"span",
|
|
59
59
|
Ke,
|
|
60
|
-
|
|
60
|
+
R(i.name) + R(i.phone ? `(${i.phone})` : ""),
|
|
61
61
|
1
|
|
62
62
|
/* TEXT */
|
|
63
|
-
)) : (
|
|
63
|
+
)) : (N(), A(
|
|
64
64
|
"span",
|
|
65
65
|
qe,
|
|
66
|
-
|
|
66
|
+
R(i.name),
|
|
67
67
|
1
|
|
68
68
|
/* TEXT */
|
|
69
69
|
))
|
|
@@ -76,16 +76,16 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
76
76
|
}, 8, ["modelValue"])
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
|
-
}), Z = (y,
|
|
79
|
+
}), Z = (y, O) => {
|
|
80
80
|
const r = y.__vccOpts || y;
|
|
81
|
-
for (const [o,
|
|
82
|
-
r[o] =
|
|
81
|
+
for (const [o, k] of O)
|
|
82
|
+
r[o] = k;
|
|
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, O, r) => ({
|
|
85
85
|
selectListRef: ue,
|
|
86
86
|
selectListVue: () => se(Me, {
|
|
87
87
|
isSelectedSensitive: y,
|
|
88
|
-
onItemRemove:
|
|
88
|
+
onItemRemove: O,
|
|
89
89
|
onClearCheck: r,
|
|
90
90
|
ref: ue
|
|
91
91
|
})
|
|
@@ -98,11 +98,11 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
98
98
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
99
99
|
initProps: {}
|
|
100
100
|
},
|
|
101
|
-
setup(y, { expose:
|
|
101
|
+
setup(y, { expose: O }) {
|
|
102
102
|
const r = y, o = h(() => {
|
|
103
103
|
var a;
|
|
104
104
|
return ((a = r.initProps) == null ? void 0 : a.isCustomApi) || !1;
|
|
105
|
-
}),
|
|
105
|
+
}), k = h(() => {
|
|
106
106
|
var a;
|
|
107
107
|
return ((a = r.initProps) == null ? void 0 : a.disabledNodeLabel) || "optional";
|
|
108
108
|
}), d = h(() => {
|
|
@@ -111,7 +111,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
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),
|
|
114
|
+
}), B = h(() => r.isSelectedSensitive), D = 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
|
});
|
|
@@ -126,16 +126,16 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
126
126
|
}, { selectListRef: J, selectListVue: ee } = ye(B.value, F, M), G = (a) => {
|
|
127
127
|
var t, s, n;
|
|
128
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[
|
|
129
|
+
a._disabled = !a[k.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
132
|
}, x = async () => {
|
|
133
133
|
var n, p;
|
|
134
|
-
|
|
134
|
+
D.value = !0;
|
|
135
135
|
let a = {};
|
|
136
136
|
if (o.value && d.value) {
|
|
137
|
-
const { params: T = {}, query:
|
|
138
|
-
a = { ...T, ...
|
|
137
|
+
const { params: T = {}, query: L = {} } = d.value;
|
|
138
|
+
a = { ...T, ...L };
|
|
139
139
|
} else
|
|
140
140
|
a = {
|
|
141
141
|
name: "",
|
|
@@ -144,7 +144,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
144
144
|
};
|
|
145
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
|
+
D.value = !1;
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
s && s.length && s.forEach((T) => {
|
|
@@ -153,14 +153,14 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
153
153
|
}, g = async () => {
|
|
154
154
|
var n, p;
|
|
155
155
|
if (!V.value) {
|
|
156
|
-
|
|
156
|
+
D.value = !1, _.value = [], $.value = 0;
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
D.value = !0;
|
|
160
160
|
let a = {};
|
|
161
161
|
if (o.value && I.value) {
|
|
162
|
-
const { params: T = {}, query:
|
|
163
|
-
a = { ...T, ...
|
|
162
|
+
const { params: T = {}, query: L = {}, treeKey: E = "", searchKey: X = "" } = I.value;
|
|
163
|
+
a = { ...T, ...L }, 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
166
|
parentId: V.value,
|
|
@@ -171,10 +171,10 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
171
171
|
a.pageIndex = m.value, a.pageSize = f.value;
|
|
172
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
|
+
D.value = !1;
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
_.value = s.data.map((T) => (T.identityType = 2, T)), $.value = Number(s.totalCount),
|
|
177
|
+
_.value = s.data.map((T) => (T.identityType = 2, T)), $.value = Number(s.totalCount), D.value = !1;
|
|
178
178
|
}, w = () => {
|
|
179
179
|
P.value = "", S.value = "", _.value = [], f.value = 20, m.value = 1, Q();
|
|
180
180
|
}, Q = () => {
|
|
@@ -204,10 +204,10 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
204
204
|
immediate: !0,
|
|
205
205
|
deep: !0
|
|
206
206
|
}
|
|
207
|
-
),
|
|
207
|
+
), O({
|
|
208
208
|
setSelectData: j
|
|
209
|
-
}), (a, e) => (
|
|
210
|
-
c(l(me), { spinning:
|
|
209
|
+
}), (a, e) => (N(), A("div", We, [
|
|
210
|
+
c(l(me), { spinning: D.value }, {
|
|
211
211
|
default: v(() => [
|
|
212
212
|
c(l(ge), {
|
|
213
213
|
defaultSplit: { first: 223 },
|
|
@@ -298,11 +298,11 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
298
298
|
}, 8, ["spinning"])
|
|
299
299
|
]));
|
|
300
300
|
}
|
|
301
|
-
}), nt = /* @__PURE__ */ Z(st, [["__scopeId", "data-v-89081b7e"]]), re = u(null), ot = (y,
|
|
301
|
+
}), nt = /* @__PURE__ */ Z(st, [["__scopeId", "data-v-89081b7e"]]), re = u(null), ot = (y, O, r) => ({
|
|
302
302
|
selectOrgRef: re,
|
|
303
303
|
selectOrgVue: () => se(nt, {
|
|
304
304
|
projectId: y,
|
|
305
|
-
isSelectedSensitive:
|
|
305
|
+
isSelectedSensitive: O,
|
|
306
306
|
ref: re,
|
|
307
307
|
initProps: r
|
|
308
308
|
})
|
|
@@ -316,11 +316,11 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
316
316
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
317
317
|
initProps: {}
|
|
318
318
|
},
|
|
319
|
-
setup(y, { expose:
|
|
319
|
+
setup(y, { expose: O }) {
|
|
320
320
|
const r = y, o = h(() => {
|
|
321
321
|
var e;
|
|
322
322
|
return ((e = r.initProps) == null ? void 0 : e.isCustomApi) || !1;
|
|
323
|
-
}),
|
|
323
|
+
}), k = h(() => {
|
|
324
324
|
var e;
|
|
325
325
|
return ((e = r.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
|
|
326
326
|
}), d = h(() => {
|
|
@@ -329,7 +329,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
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),
|
|
332
|
+
}), B = h(() => r.isTableSensitive), D = 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,10 +341,10 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { 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(
|
|
344
|
+
}, { selectListRef: ee, selectListVue: G } = ye(D.value, M, J), x = (e) => {
|
|
345
345
|
var s, n, p;
|
|
346
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[
|
|
347
|
+
e._disabled = !e[k.value] || t.includes(e.type), !e._disabled && !S.value && (S.value = e.id), e.children && e.children.length && e.children.forEach((T) => {
|
|
348
348
|
x(T);
|
|
349
349
|
});
|
|
350
350
|
}, g = async () => {
|
|
@@ -352,8 +352,8 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
352
352
|
i.value = !0;
|
|
353
353
|
let e = {};
|
|
354
354
|
if (o.value && d.value) {
|
|
355
|
-
const { params:
|
|
356
|
-
e = { ...
|
|
355
|
+
const { params: L = {}, query: E = {} } = d.value;
|
|
356
|
+
e = { ...L, ...E };
|
|
357
357
|
} else
|
|
358
358
|
e = {
|
|
359
359
|
name: "",
|
|
@@ -365,11 +365,11 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
365
365
|
i.value = !1;
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
|
-
n && n.length && n.forEach((
|
|
369
|
-
x(
|
|
368
|
+
n && n.length && n.forEach((L) => {
|
|
369
|
+
x(L);
|
|
370
370
|
}), V.value = n, Q();
|
|
371
371
|
}, w = async () => {
|
|
372
|
-
var p, T,
|
|
372
|
+
var p, T, L;
|
|
373
373
|
if (!S.value) {
|
|
374
374
|
i.value = !1, C.value = [], q.value = 0;
|
|
375
375
|
return;
|
|
@@ -392,7 +392,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
392
392
|
i.value = !1;
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
i.value = !1, C.value = (
|
|
395
|
+
i.value = !1, C.value = (L = n == null ? void 0 : n.data) == null ? void 0 : L.map((E) => (E.identityType = 1, E)), q.value = Number(n.totalCount);
|
|
396
396
|
}, Q = () => {
|
|
397
397
|
_.value = "", P.value = "", C.value = [], m.value = 20, $.value = 1, W();
|
|
398
398
|
}, W = () => {
|
|
@@ -422,9 +422,9 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
422
422
|
immediate: !0,
|
|
423
423
|
deep: !0
|
|
424
424
|
}
|
|
425
|
-
),
|
|
425
|
+
), O({
|
|
426
426
|
setSelectData: F
|
|
427
|
-
}), (e, t) => (
|
|
427
|
+
}), (e, t) => (N(), A("div", it, [
|
|
428
428
|
c(l(me), { spinning: i.value }, {
|
|
429
429
|
default: v(() => [
|
|
430
430
|
c(l(ge), {
|
|
@@ -493,13 +493,13 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
493
493
|
label: l(z)("账号").value,
|
|
494
494
|
prop: "userName"
|
|
495
495
|
}, null, 8, ["label"]),
|
|
496
|
-
B.value ? (
|
|
496
|
+
B.value ? (N(), H(l(K), {
|
|
497
497
|
key: 0,
|
|
498
498
|
label: l(z)("手机号").value,
|
|
499
499
|
prop: "sensitivePhone"
|
|
500
500
|
}, {
|
|
501
501
|
default: v(({ row: s }) => [
|
|
502
|
-
c(l(
|
|
502
|
+
c(l(Le), {
|
|
503
503
|
placement: "top",
|
|
504
504
|
content: s.phone
|
|
505
505
|
}, {
|
|
@@ -507,7 +507,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
507
507
|
U(
|
|
508
508
|
"span",
|
|
509
509
|
null,
|
|
510
|
-
|
|
510
|
+
R(s.sensitivePhone),
|
|
511
511
|
1
|
|
512
512
|
/* TEXT */
|
|
513
513
|
)
|
|
@@ -518,7 +518,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
518
518
|
]),
|
|
519
519
|
_: 1
|
|
520
520
|
/* STABLE */
|
|
521
|
-
}, 8, ["label"])) : (
|
|
521
|
+
}, 8, ["label"])) : (N(), H(l(K), {
|
|
522
522
|
key: 1,
|
|
523
523
|
label: l(z)("手机号").value,
|
|
524
524
|
prop: "phone"
|
|
@@ -547,11 +547,11 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { 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, O, r, o) => ({
|
|
551
551
|
selectUserRef: ce,
|
|
552
552
|
selectUserVue: () => se(gt, {
|
|
553
553
|
projectId: y,
|
|
554
|
-
isTableSensitive:
|
|
554
|
+
isTableSensitive: O,
|
|
555
555
|
isSelectedSensitive: r,
|
|
556
556
|
ref: ce,
|
|
557
557
|
initProps: o
|
|
@@ -574,14 +574,14 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
574
574
|
singleTabKey: { default: "" }
|
|
575
575
|
},
|
|
576
576
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
577
|
-
setup(y, { expose:
|
|
578
|
-
const o = y,
|
|
577
|
+
setup(y, { expose: O, emit: r }) {
|
|
578
|
+
const o = y, k = r, d = u(!1), I = h(() => o.header || Ve("添加组织/用户")), B = h(() => o.isTableSensitive), D = h(() => o.isSelectedSensitive), i = h(() => o.singleTabKey), V = h({
|
|
579
579
|
get: () => o.modelValue,
|
|
580
|
-
set: (x) =>
|
|
581
|
-
}), S = Ie().id, { selectOrgVue: P, selectOrgRef: _ } = ot(S,
|
|
580
|
+
set: (x) => k("update:modelValue", x)
|
|
581
|
+
}), S = Ie().id, { selectOrgVue: P, selectOrgRef: _ } = ot(S, D.value, o), { selectUserVue: C, selectUserRef: f } = ht(
|
|
582
582
|
S,
|
|
583
583
|
B.value,
|
|
584
|
-
|
|
584
|
+
D.value,
|
|
585
585
|
o
|
|
586
586
|
), m = u(1), $ = [
|
|
587
587
|
{
|
|
@@ -595,16 +595,16 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
595
595
|
contentSlot: "contentSlot2"
|
|
596
596
|
}
|
|
597
597
|
], q = () => {
|
|
598
|
-
|
|
598
|
+
k("selectCancel");
|
|
599
599
|
}, j = async () => {
|
|
600
|
-
|
|
600
|
+
k("selectConfirm", b.value);
|
|
601
601
|
}, F = (x) => {
|
|
602
602
|
}, M = () => {
|
|
603
|
-
m.value = 1, d.value = !1,
|
|
603
|
+
m.value = 1, d.value = !1, k("selectCancel");
|
|
604
604
|
}, J = () => {
|
|
605
605
|
b.value = o.selectData, d.value = !0;
|
|
606
606
|
};
|
|
607
|
-
return
|
|
607
|
+
return O({
|
|
608
608
|
setUserSelectData: (x) => {
|
|
609
609
|
var g;
|
|
610
610
|
(g = f == null ? void 0 : f.value) == null || g.setSelectData(x);
|
|
@@ -613,7 +613,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
613
613
|
var g;
|
|
614
614
|
(g = _ == null ? void 0 : _.value) == null || g.setSelectData(x);
|
|
615
615
|
}
|
|
616
|
-
}), (x, g) => (
|
|
616
|
+
}), (x, g) => (N(), A("div", bt, [
|
|
617
617
|
c(l(Ue), ze({
|
|
618
618
|
modelValue: V.value,
|
|
619
619
|
"onUpdate:modelValue": g[1] || (g[1] = (w) => V.value = w)
|
|
@@ -631,7 +631,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
631
631
|
}), {
|
|
632
632
|
header: v(() => [
|
|
633
633
|
le(
|
|
634
|
-
|
|
634
|
+
R(I.value),
|
|
635
635
|
1
|
|
636
636
|
/* TEXT */
|
|
637
637
|
)
|
|
@@ -644,7 +644,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
644
644
|
}, {
|
|
645
645
|
default: v(() => [
|
|
646
646
|
le(
|
|
647
|
-
|
|
647
|
+
R(l(z)("取消").value),
|
|
648
648
|
1
|
|
649
649
|
/* TEXT */
|
|
650
650
|
)
|
|
@@ -659,7 +659,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
659
659
|
}, {
|
|
660
660
|
default: v(() => [
|
|
661
661
|
le(
|
|
662
|
-
|
|
662
|
+
R(l(z)("确定").value),
|
|
663
663
|
1
|
|
664
664
|
/* TEXT */
|
|
665
665
|
)
|
|
@@ -670,8 +670,8 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
670
670
|
])
|
|
671
671
|
]),
|
|
672
672
|
default: v(() => [
|
|
673
|
-
d.value ? (
|
|
674
|
-
i.value == 1 ? (
|
|
673
|
+
d.value ? (N(), A("div", yt, [
|
|
674
|
+
i.value == 1 ? (N(), H(l(P), { key: 0 })) : i.value == 2 ? (N(), H(l(C), { key: 1 })) : (N(), H(l(ke), {
|
|
675
675
|
key: 2,
|
|
676
676
|
activeKey: m.value,
|
|
677
677
|
"onUpdate:activeKey": g[0] || (g[0] = (w) => m.value = w),
|
|
@@ -689,7 +689,7 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
689
689
|
_: 1
|
|
690
690
|
/* STABLE */
|
|
691
691
|
}, 8, ["activeKey"]))
|
|
692
|
-
])) :
|
|
692
|
+
])) : Oe("v-if", !0)
|
|
693
693
|
]),
|
|
694
694
|
_: 1
|
|
695
695
|
/* STABLE */
|
|
@@ -697,23 +697,24 @@ const b = u([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
697
697
|
]));
|
|
698
698
|
}
|
|
699
699
|
}), Tt = /* @__PURE__ */ Z(Ct, [["__scopeId", "data-v-139fae42"]]), zt = {
|
|
700
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search
|
|
700
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search Name" },
|
|
701
701
|
账号: { "zh-CN": "账号", en: "Account" },
|
|
702
702
|
姓名: { "zh-CN": "姓名", en: "Name" },
|
|
703
|
-
手机号: { "zh-CN": "手机号", en: "
|
|
704
|
-
状态: { "zh-CN": "状态", en: "
|
|
703
|
+
手机号: { "zh-CN": "手机号", en: "Phone Number" },
|
|
704
|
+
状态: { "zh-CN": "状态", en: "Status" },
|
|
705
705
|
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search Organization Name" },
|
|
706
|
-
组织编码: { "zh-CN": "组织编码", en: "
|
|
707
|
-
组织名称: { "zh-CN": "组织名称", en: "
|
|
706
|
+
组织编码: { "zh-CN": "组织编码", en: "Organization Code" },
|
|
707
|
+
组织名称: { "zh-CN": "组织名称", en: "Organization Name" },
|
|
708
708
|
组织路径: { "zh-CN": "组织路径", en: "Organization Path" },
|
|
709
709
|
取消: { "zh-CN": "取消", en: "Cancel" },
|
|
710
|
-
确定: { "zh-CN": "确定", en: "
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
710
|
+
确定: { "zh-CN": "确定", en: "Confirm" },
|
|
711
|
+
组织: { "zh-CN": "组织", en: "Organization" },
|
|
712
|
+
"添加组织/用户": { "zh-CN": "添加组织/用户", en: "Add Organization/User" },
|
|
713
|
+
"搜索组织名称/组织编码": { "zh-CN": "搜索组织名称/组织编码", en: "Search Organization Name/Code" },
|
|
714
|
+
"搜索姓名/账号": { "zh-CN": "搜索姓名/账号", en: "Search Name/Account" }
|
|
714
715
|
};
|
|
715
|
-
|
|
716
|
-
const qt = () => u(null), jt =
|
|
716
|
+
Ne(zt);
|
|
717
|
+
const qt = () => u(null), jt = De(Tt);
|
|
717
718
|
export {
|
|
718
719
|
jt as DasUserOrgDialog,
|
|
719
720
|
qt as DasUserOrgDialogRef
|
|
Binary file
|
|
@@ -1,70 +1,82 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
加载中: {
|
|
3
|
-
|
|
3
|
+
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
5
|
};
|
|
6
6
|
正在实时预览: {
|
|
7
|
-
|
|
7
|
+
'zh-CN': string;
|
|
8
8
|
en: string;
|
|
9
9
|
};
|
|
10
10
|
声音: {
|
|
11
|
-
|
|
11
|
+
'zh-CN': string;
|
|
12
12
|
en: string;
|
|
13
13
|
};
|
|
14
14
|
截图: {
|
|
15
|
-
|
|
15
|
+
'zh-CN': string;
|
|
16
16
|
en: string;
|
|
17
17
|
};
|
|
18
18
|
聚焦: {
|
|
19
|
-
|
|
19
|
+
'zh-CN': string;
|
|
20
20
|
en: string;
|
|
21
21
|
};
|
|
22
22
|
方向控制: {
|
|
23
|
-
|
|
23
|
+
'zh-CN': string;
|
|
24
24
|
en: string;
|
|
25
25
|
};
|
|
26
26
|
左上: {
|
|
27
|
-
|
|
27
|
+
'zh-CN': string;
|
|
28
28
|
en: string;
|
|
29
29
|
};
|
|
30
30
|
上: {
|
|
31
|
-
|
|
31
|
+
'zh-CN': string;
|
|
32
32
|
en: string;
|
|
33
33
|
};
|
|
34
34
|
右上: {
|
|
35
|
-
|
|
35
|
+
'zh-CN': string;
|
|
36
36
|
en: string;
|
|
37
37
|
};
|
|
38
38
|
左: {
|
|
39
|
-
|
|
39
|
+
'zh-CN': string;
|
|
40
40
|
en: string;
|
|
41
41
|
};
|
|
42
42
|
自动: {
|
|
43
|
-
|
|
43
|
+
'zh-CN': string;
|
|
44
44
|
en: string;
|
|
45
45
|
};
|
|
46
46
|
右: {
|
|
47
|
-
|
|
47
|
+
'zh-CN': string;
|
|
48
48
|
en: string;
|
|
49
49
|
};
|
|
50
50
|
左下: {
|
|
51
|
-
|
|
51
|
+
'zh-CN': string;
|
|
52
52
|
en: string;
|
|
53
53
|
};
|
|
54
54
|
下: {
|
|
55
|
-
|
|
55
|
+
'zh-CN': string;
|
|
56
56
|
en: string;
|
|
57
57
|
};
|
|
58
58
|
右下: {
|
|
59
|
-
|
|
59
|
+
'zh-CN': string;
|
|
60
60
|
en: string;
|
|
61
61
|
};
|
|
62
62
|
视频监控: {
|
|
63
|
-
|
|
63
|
+
'zh-CN': string;
|
|
64
64
|
en: string;
|
|
65
65
|
};
|
|
66
66
|
页面全屏: {
|
|
67
|
-
|
|
67
|
+
'zh-CN': string;
|
|
68
|
+
en: string;
|
|
69
|
+
};
|
|
70
|
+
'\u52A0\u8F7D\u4E2D...': {
|
|
71
|
+
'zh-CN': string;
|
|
72
|
+
en: string;
|
|
73
|
+
};
|
|
74
|
+
'\u805A\u7126-': {
|
|
75
|
+
'zh-CN': string;
|
|
76
|
+
en: string;
|
|
77
|
+
};
|
|
78
|
+
'\u805A\u7126+': {
|
|
79
|
+
'zh-CN': string;
|
|
68
80
|
en: string;
|
|
69
81
|
};
|
|
70
82
|
};
|