@zyui/components 0.0.34 → 0.0.35
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/es/index.js +2 -2
- package/es/index.mjs +140 -120
- package/es/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +9 -0
- package/es/src/components/DepartmentPicker/index.vue.d.ts +11 -0
- package/es/src/components/UserPicker/index.vue.d.ts +11 -0
- package/es/src/components/UserPicker/userPickerDisplay.vue.d.ts +9 -0
- package/es/style.css +1 -1
- package/lib/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +9 -0
- package/lib/src/components/DepartmentPicker/index.vue.d.ts +11 -0
- package/lib/src/components/UserPicker/index.vue.d.ts +11 -0
- package/lib/src/components/UserPicker/userPickerDisplay.vue.d.ts +9 -0
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var Qhe = (o, r, i) => r in o ? Jhe(o, r, { enumerable: !0, configurable: !0, wr
|
|
|
3
3
|
var uu = (o, r, i) => Qhe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
4
4
|
import { defineComponent as qo, reactive as jR, provide as Xm, inject as qg, ref as Sn, watch as ss, toValue as Ut, computed as qn, openBlock as Tt, createElementBlock as hn, createElementVNode as Vt, mergeModels as pl, useModel as fa, Fragment as vr, renderList as Wa, createVNode as on, unref as je, withCtx as Rn, createCommentVNode as Ts, toDisplayString as Rs, createTextVNode as Us, createBlock as ds, withDirectives as NU, mergeProps as O4, resolveComponent as $4, isRef as sb, onUnmounted as ld, watchEffect as yue, getCurrentScope as Aoe, onScopeDispose as bR, onMounted as Yi, toRefs as WR, renderSlot as Mr, normalizeStyle as jl, nextTick as im, onBeforeUnmount as ZR, onActivated as epe, onDeactivated as tpe, h as ja, withModifiers as Z2, Teleport as Ooe, normalizeClass as Pd, vShow as npe, resolveDynamicComponent as P_, createPropsRestProxy as ope, toRef as ri, effectScope as wue, getCurrentInstance as G2, useSlots as spe, onBeforeMount as rpe, useAttrs as ape, isMemoSame as ipe, customRef as lpe, markRaw as yR, readonly as cpe, createStaticVNode as upe, createSlots as dpe, withKeys as GR } from "vue";
|
|
5
5
|
import { ElImage as z2, ElIcon as ep, ElPopover as MU, ElForm as q2, ElFormItem as qm, ElInput as Yg, ElButton as Pu, ElScrollbar as RU, ElLoadingDirective as $oe, ElSelect as Zz, ElOption as Gz, ElDialog as IU, ElTabs as Cue, ElTabPane as Sue, ElTable as fpe, ElTableColumn as rz, ElCheckbox as my, ElMessageBox as mpe, ElRadioGroup as xue, ElRadio as Ane, ElRow as gpe, ElCol as xae, ElTree as _ue } from "element-plus";
|
|
6
|
-
const hpe = "0.0.
|
|
6
|
+
const hpe = "0.0.35";
|
|
7
7
|
var ppe = Object.defineProperty, vpe = (o, r, i) => r in o ? ppe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i, hte = (o, r, i) => vpe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
8
8
|
function Eue(o, r) {
|
|
9
9
|
return function() {
|
|
@@ -82768,28 +82768,32 @@ const koe = [
|
|
|
82768
82768
|
isAbbr: {
|
|
82769
82769
|
type: Boolean,
|
|
82770
82770
|
default: !0
|
|
82771
|
+
},
|
|
82772
|
+
showCount: {
|
|
82773
|
+
type: Number,
|
|
82774
|
+
default: 2
|
|
82771
82775
|
}
|
|
82772
82776
|
},
|
|
82773
82777
|
emits: ["click"],
|
|
82774
82778
|
setup(o, { emit: r }) {
|
|
82775
82779
|
const i = r, u = o, m = (h) => {
|
|
82776
82780
|
var S;
|
|
82777
|
-
return !h || h.length === 0 ? "" : h.length <=
|
|
82781
|
+
return !h || h.length === 0 ? "" : h.length <= (u == null ? void 0 : u.showCount) || !(u != null && u.isAbbr) ? (S = h == null ? void 0 : h.map((E) => E == null ? void 0 : E.name)) == null ? void 0 : S.join(",") : `${h.slice(0, u == null ? void 0 : u.showCount).map((E) => (E == null ? void 0 : E.name) || "").filter(Boolean).join(",")}`;
|
|
82778
82782
|
};
|
|
82779
82783
|
return (h, v) => {
|
|
82780
82784
|
var w, S, E;
|
|
82781
82785
|
return Tt(), hn("div", null, [
|
|
82782
82786
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
82783
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >=
|
|
82787
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= (u == null ? void 0 : u.showCount) + 1 && (u != null && u.isAbbr) ? (Tt(), hn("div", _We, [
|
|
82784
82788
|
v[1] || (v[1] = Us(" 等 ")),
|
|
82785
82789
|
Vt("span", EWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
82786
82790
|
v[2] || (v[2] = Us(" 人 "))
|
|
82787
82791
|
])) : Ts("", !0),
|
|
82788
82792
|
on(je(Pu), {
|
|
82789
82793
|
size: "small",
|
|
82790
|
-
class: Pd({
|
|
82794
|
+
class: Pd(["align-middle", {
|
|
82791
82795
|
"ml-2": (E = u == null ? void 0 : u.value) == null ? void 0 : E.length
|
|
82792
|
-
}),
|
|
82796
|
+
}]),
|
|
82793
82797
|
onClick: v[0] || (v[0] = () => {
|
|
82794
82798
|
i("click");
|
|
82795
82799
|
})
|
|
@@ -82809,6 +82813,11 @@ const koe = [
|
|
|
82809
82813
|
isAbbr: {
|
|
82810
82814
|
type: Boolean,
|
|
82811
82815
|
default: !0
|
|
82816
|
+
},
|
|
82817
|
+
/** 默认显示的内容,最大展示数量 */
|
|
82818
|
+
showCount: {
|
|
82819
|
+
type: Number,
|
|
82820
|
+
default: 2
|
|
82812
82821
|
}
|
|
82813
82822
|
}, {
|
|
82814
82823
|
modelValue: { default: [] },
|
|
@@ -82837,8 +82846,9 @@ const koe = [
|
|
|
82837
82846
|
on(Dhe, {
|
|
82838
82847
|
value: je(h),
|
|
82839
82848
|
onClick: w,
|
|
82840
|
-
isAbbr: i.isAbbr
|
|
82841
|
-
|
|
82849
|
+
isAbbr: i == null ? void 0 : i.isAbbr,
|
|
82850
|
+
showCount: i == null ? void 0 : i.showCount
|
|
82851
|
+
}, null, 8, ["value", "isAbbr", "showCount"])
|
|
82842
82852
|
]),
|
|
82843
82853
|
on(xWe, {
|
|
82844
82854
|
ref_key: "dialogRef",
|
|
@@ -83017,7 +83027,7 @@ const koe = [
|
|
|
83017
83027
|
])
|
|
83018
83028
|
]));
|
|
83019
83029
|
}
|
|
83020
|
-
}), HWe = { class: "h-full flex flex-col" }, VWe = { class: "flex-grow h-1 overflow-auto" },
|
|
83030
|
+
}), HWe = { class: "h-full flex flex-col" }, VWe = { class: "px-2" }, zWe = { class: "flex-grow h-1 overflow-auto" }, UWe = ["onClick"], jWe = { class: "flex items-center gap-2" }, WWe = { class: "img" }, ZWe = /* @__PURE__ */ qo({
|
|
83021
83031
|
__name: "department",
|
|
83022
83032
|
props: {
|
|
83023
83033
|
modelValue: {},
|
|
@@ -83049,7 +83059,7 @@ const koe = [
|
|
|
83049
83059
|
w != null && w.id && ((S = i.value) != null && S.includes(w == null ? void 0 : w.id) ? i.value = (E = i.value) == null ? void 0 : E.filter(($) => $ !== (w == null ? void 0 : w.id)) : (A = i.value) == null || A.push(w == null ? void 0 : w.id));
|
|
83050
83060
|
};
|
|
83051
83061
|
return (w, S) => (Tt(), hn("div", HWe, [
|
|
83052
|
-
Vt("div",
|
|
83062
|
+
Vt("div", VWe, [
|
|
83053
83063
|
on(je(q2), {
|
|
83054
83064
|
inline: !0,
|
|
83055
83065
|
model: r.value,
|
|
@@ -83080,15 +83090,15 @@ const koe = [
|
|
|
83080
83090
|
size: "large"
|
|
83081
83091
|
}, null, 8, ["modelValue"])
|
|
83082
83092
|
]),
|
|
83083
|
-
Vt("div",
|
|
83093
|
+
Vt("div", zWe, [
|
|
83084
83094
|
(Tt(!0), hn(vr, null, Wa(je(u), (E, A) => {
|
|
83085
83095
|
var $;
|
|
83086
83096
|
return Tt(), hn("div", {
|
|
83087
|
-
class: "flex items-center justify-between",
|
|
83097
|
+
class: "flex items-center justify-between cursor-pointer hover:bg-[#f5f7fa] px-2 rounded-[4px]",
|
|
83088
83098
|
key: A,
|
|
83089
83099
|
onClick: (R) => v(E)
|
|
83090
83100
|
}, [
|
|
83091
|
-
Vt("div",
|
|
83101
|
+
Vt("div", jWe, [
|
|
83092
83102
|
on(je(my), {
|
|
83093
83103
|
"model-value": ($ = i.value) == null ? void 0 : $.includes(E == null ? void 0 : E.id),
|
|
83094
83104
|
size: "large"
|
|
@@ -83098,7 +83108,7 @@ const koe = [
|
|
|
83098
83108
|
class: "face-img"
|
|
83099
83109
|
}, {
|
|
83100
83110
|
error: Rn(() => [
|
|
83101
|
-
Vt("div",
|
|
83111
|
+
Vt("div", WWe, [
|
|
83102
83112
|
on(je(ep), { size: "16" }, {
|
|
83103
83113
|
default: Rn(() => [
|
|
83104
83114
|
on(je(iI), { color: "#fff" })
|
|
@@ -83111,12 +83121,12 @@ const koe = [
|
|
|
83111
83121
|
}, 1032, ["src"]),
|
|
83112
83122
|
Vt("div", null, Rs(E == null ? void 0 : E.name), 1)
|
|
83113
83123
|
])
|
|
83114
|
-
], 8,
|
|
83124
|
+
], 8, UWe);
|
|
83115
83125
|
}), 128))
|
|
83116
83126
|
])
|
|
83117
83127
|
]));
|
|
83118
83128
|
}
|
|
83119
|
-
}),
|
|
83129
|
+
}), GWe = /* @__PURE__ */ Ki(ZWe, [["__scopeId", "data-v-2d3253c1"]]), qWe = { class: "flex flex-row h-[420px]" }, YWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, KWe = { class: "h-full" }, XWe = { class: "w-[50%] pl-2" }, JWe = { class: "h-full flex flex-col" }, QWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, eZe = { class: "flex justify-between" }, tZe = /* @__PURE__ */ qo({
|
|
83120
83130
|
__name: "index",
|
|
83121
83131
|
setup(o, { expose: r }) {
|
|
83122
83132
|
const i = Sn(!1);
|
|
@@ -83138,7 +83148,7 @@ const koe = [
|
|
|
83138
83148
|
"destroy-on-close": !0
|
|
83139
83149
|
}, {
|
|
83140
83150
|
footer: Rn(() => [
|
|
83141
|
-
Vt("div",
|
|
83151
|
+
Vt("div", eZe, [
|
|
83142
83152
|
S[6] || (S[6] = Vt("div", null, null, -1)),
|
|
83143
83153
|
Vt("div", null, [
|
|
83144
83154
|
on(je(Pu), {
|
|
@@ -83162,19 +83172,19 @@ const koe = [
|
|
|
83162
83172
|
])
|
|
83163
83173
|
]),
|
|
83164
83174
|
default: Rn(() => [
|
|
83165
|
-
Vt("div",
|
|
83166
|
-
Vt("div",
|
|
83167
|
-
Vt("div",
|
|
83175
|
+
Vt("div", qWe, [
|
|
83176
|
+
Vt("div", YWe, [
|
|
83177
|
+
Vt("div", KWe, [
|
|
83168
83178
|
on(LWe, {
|
|
83169
83179
|
modelValue: m.value,
|
|
83170
83180
|
"onUpdate:modelValue": S[0] || (S[0] = (E) => m.value = E)
|
|
83171
83181
|
}, null, 8, ["modelValue"])
|
|
83172
83182
|
])
|
|
83173
83183
|
]),
|
|
83174
|
-
Vt("div",
|
|
83175
|
-
Vt("div",
|
|
83176
|
-
Vt("div",
|
|
83177
|
-
on(
|
|
83184
|
+
Vt("div", XWe, [
|
|
83185
|
+
Vt("div", JWe, [
|
|
83186
|
+
Vt("div", QWe, [
|
|
83187
|
+
on(GWe, {
|
|
83178
83188
|
modelValue: m.value,
|
|
83179
83189
|
"onUpdate:modelValue": S[1] || (S[1] = (E) => m.value = E),
|
|
83180
83190
|
ref: "groupRef"
|
|
@@ -83187,10 +83197,10 @@ const koe = [
|
|
|
83187
83197
|
_: 1
|
|
83188
83198
|
}, 8, ["modelValue"]));
|
|
83189
83199
|
}
|
|
83190
|
-
}),
|
|
83200
|
+
}), nZe = {
|
|
83191
83201
|
key: 0,
|
|
83192
83202
|
class: "inline-block"
|
|
83193
|
-
},
|
|
83203
|
+
}, oZe = { class: "color-[#409EFF]" }, Ihe = /* @__PURE__ */ qo({
|
|
83194
83204
|
__name: "departmentPickerDisplay",
|
|
83195
83205
|
props: {
|
|
83196
83206
|
value: {
|
|
@@ -83200,28 +83210,32 @@ const koe = [
|
|
|
83200
83210
|
isAbbr: {
|
|
83201
83211
|
type: Boolean,
|
|
83202
83212
|
default: !0
|
|
83213
|
+
},
|
|
83214
|
+
showCount: {
|
|
83215
|
+
type: Number,
|
|
83216
|
+
default: 2
|
|
83203
83217
|
}
|
|
83204
83218
|
},
|
|
83205
83219
|
emits: ["click"],
|
|
83206
83220
|
setup(o, { emit: r }) {
|
|
83207
83221
|
const i = r, u = o, m = (h) => {
|
|
83208
83222
|
var S;
|
|
83209
|
-
return !h || h.length === 0 ? "" : h.length <=
|
|
83223
|
+
return !h || h.length === 0 ? "" : h.length <= (u == null ? void 0 : u.showCount) || !u.isAbbr ? (S = h == null ? void 0 : h.map((E) => E == null ? void 0 : E.name)) == null ? void 0 : S.join(",") : `${h.slice(0, u == null ? void 0 : u.showCount).map((E) => (E == null ? void 0 : E.name) || "").filter(Boolean).join(",")}`;
|
|
83210
83224
|
};
|
|
83211
83225
|
return (h, v) => {
|
|
83212
83226
|
var w, S, E;
|
|
83213
83227
|
return Tt(), hn("div", null, [
|
|
83214
83228
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
83215
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >=
|
|
83229
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= (u == null ? void 0 : u.showCount) + 1 && (u != null && u.isAbbr) ? (Tt(), hn("div", nZe, [
|
|
83216
83230
|
v[1] || (v[1] = Us(" 等 ")),
|
|
83217
|
-
Vt("span",
|
|
83231
|
+
Vt("span", oZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
83218
83232
|
v[2] || (v[2] = Us(" 部门 "))
|
|
83219
83233
|
])) : Ts("", !0),
|
|
83220
83234
|
on(je(Pu), {
|
|
83221
83235
|
size: "small",
|
|
83222
|
-
class: Pd({
|
|
83236
|
+
class: Pd(["align-middle", {
|
|
83223
83237
|
"ml-2": (E = u == null ? void 0 : u.value) == null ? void 0 : E.length
|
|
83224
|
-
}),
|
|
83238
|
+
}]),
|
|
83225
83239
|
onClick: v[0] || (v[0] = () => {
|
|
83226
83240
|
i("click");
|
|
83227
83241
|
})
|
|
@@ -83234,13 +83248,18 @@ const koe = [
|
|
|
83234
83248
|
]);
|
|
83235
83249
|
};
|
|
83236
83250
|
}
|
|
83237
|
-
}),
|
|
83251
|
+
}), sZe = /* @__PURE__ */ qo({
|
|
83238
83252
|
__name: "index",
|
|
83239
83253
|
props: /* @__PURE__ */ pl({
|
|
83240
83254
|
/** 默认显示的内容,是否简写 */
|
|
83241
83255
|
isAbbr: {
|
|
83242
83256
|
type: Boolean,
|
|
83243
83257
|
default: !0
|
|
83258
|
+
},
|
|
83259
|
+
/** 默认显示的内容,最大展示数量 */
|
|
83260
|
+
showCount: {
|
|
83261
|
+
type: Number,
|
|
83262
|
+
default: 2
|
|
83244
83263
|
}
|
|
83245
83264
|
}, {
|
|
83246
83265
|
modelValue: { default: [] },
|
|
@@ -83269,10 +83288,11 @@ const koe = [
|
|
|
83269
83288
|
on(Ihe, {
|
|
83270
83289
|
value: je(m),
|
|
83271
83290
|
onClick: h,
|
|
83272
|
-
isAbbr: r.isAbbr
|
|
83273
|
-
|
|
83291
|
+
isAbbr: r.isAbbr,
|
|
83292
|
+
showCount: r.showCount
|
|
83293
|
+
}, null, 8, ["value", "isAbbr", "showCount"])
|
|
83274
83294
|
]),
|
|
83275
|
-
on(
|
|
83295
|
+
on(tZe, {
|
|
83276
83296
|
ref_key: "dialogRef",
|
|
83277
83297
|
ref: u
|
|
83278
83298
|
}, null, 512)
|
|
@@ -83280,7 +83300,7 @@ const koe = [
|
|
|
83280
83300
|
_: 3
|
|
83281
83301
|
}, 8, ["modelValue"]));
|
|
83282
83302
|
}
|
|
83283
|
-
}),
|
|
83303
|
+
}), rZe = Symbol("userPicker"), aZe = /* @__PURE__ */ qo({
|
|
83284
83304
|
__name: "provider",
|
|
83285
83305
|
props: {
|
|
83286
83306
|
modelValue: {},
|
|
@@ -83289,7 +83309,7 @@ const koe = [
|
|
|
83289
83309
|
emits: ["update:modelValue"],
|
|
83290
83310
|
setup(o) {
|
|
83291
83311
|
const r = fa(o, "modelValue");
|
|
83292
|
-
return Xm(
|
|
83312
|
+
return Xm(rZe, {
|
|
83293
83313
|
modelValue: r
|
|
83294
83314
|
}), (i, u) => Mr(i.$slots, "default");
|
|
83295
83315
|
}
|
|
@@ -83307,7 +83327,7 @@ const koe = [
|
|
|
83307
83327
|
throw Jv[o].isFetching = !1, m;
|
|
83308
83328
|
});
|
|
83309
83329
|
return Jv[o].promise = u, await u;
|
|
83310
|
-
},
|
|
83330
|
+
}, iZe = async (o, r) => {
|
|
83311
83331
|
const i = r;
|
|
83312
83332
|
if (!i) throw new Error("http 实例未提供");
|
|
83313
83333
|
const u = "userSelector_" + JSON.stringify(o);
|
|
@@ -83315,7 +83335,7 @@ const koe = [
|
|
|
83315
83335
|
u,
|
|
83316
83336
|
() => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
|
|
83317
83337
|
);
|
|
83318
|
-
},
|
|
83338
|
+
}, lZe = async (o, r) => {
|
|
83319
83339
|
const i = r;
|
|
83320
83340
|
if (!i) throw new Error("http 实例未提供");
|
|
83321
83341
|
const u = "roleByGroup_" + JSON.stringify(o);
|
|
@@ -83323,14 +83343,14 @@ const koe = [
|
|
|
83323
83343
|
u,
|
|
83324
83344
|
() => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
|
|
83325
83345
|
);
|
|
83326
|
-
},
|
|
83346
|
+
}, cZe = (o) => {
|
|
83327
83347
|
const { params: r, type: i = "roleIds" } = o, { http: u } = X4(), m = Sn(!1), h = Sn({
|
|
83328
83348
|
userlist: [],
|
|
83329
83349
|
rolelist: [],
|
|
83330
83350
|
grouplist: [],
|
|
83331
83351
|
positionlist: []
|
|
83332
83352
|
}), v = async () => {
|
|
83333
|
-
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", E = S ?
|
|
83353
|
+
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", E = S ? lZe : iZe;
|
|
83334
83354
|
m.value = !0, await (E == null ? void 0 : E(w, u).then((A) => {
|
|
83335
83355
|
S ? h.value = {
|
|
83336
83356
|
...h.value,
|
|
@@ -83359,7 +83379,7 @@ const koe = [
|
|
|
83359
83379
|
const { keyword: S, unitId: E, groupIds: A } = Ut(r) || {};
|
|
83360
83380
|
let $ = { keyword: S, unitId: E };
|
|
83361
83381
|
return i === "roleIds" && ($ = { ...$, groupIds: A }), $ = sI($), $;
|
|
83362
|
-
}), { loading: m, refresh: h, allData: v } =
|
|
83382
|
+
}), { loading: m, refresh: h, allData: v } = cZe({ params: u, type: i }), w = qn(() => {
|
|
83363
83383
|
var L, U, q, K, ae;
|
|
83364
83384
|
let S = [];
|
|
83365
83385
|
const { groupIds: E, roleIds: A } = Ut(r) || {}, $ = (L = E == null ? void 0 : E.split(",")) == null ? void 0 : L.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
|
|
@@ -83399,7 +83419,7 @@ const koe = [
|
|
|
83399
83419
|
});
|
|
83400
83420
|
} else
|
|
83401
83421
|
return [];
|
|
83402
|
-
},
|
|
83422
|
+
}, uZe = { class: "h-full flex flex-col pr-2" }, dZe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, fZe = { class: "color-[#333]" }, mZe = { class: "color-[#909399]" }, gZe = { class: "flex-grow h-1 overflow-auto" }, hZe = { class: "flex flex-wrap gap-2" }, pZe = { class: "color-[#909399]" }, vZe = /* @__PURE__ */ qo({
|
|
83403
83423
|
__name: "list",
|
|
83404
83424
|
props: {
|
|
83405
83425
|
modelValue: {
|
|
@@ -83414,11 +83434,11 @@ const koe = [
|
|
|
83414
83434
|
}, m = (h) => {
|
|
83415
83435
|
r.value = r.value.filter((v) => v !== (h == null ? void 0 : h.id));
|
|
83416
83436
|
};
|
|
83417
|
-
return (h, v) => (Tt(), hn("div",
|
|
83418
|
-
Vt("div",
|
|
83419
|
-
Vt("div",
|
|
83437
|
+
return (h, v) => (Tt(), hn("div", uZe, [
|
|
83438
|
+
Vt("div", dZe, [
|
|
83439
|
+
Vt("div", fZe, [
|
|
83420
83440
|
v[0] || (v[0] = Us(" 已选择 ")),
|
|
83421
|
-
Vt("span",
|
|
83441
|
+
Vt("span", mZe, Rs(r.value.length), 1)
|
|
83422
83442
|
]),
|
|
83423
83443
|
Vt("div", {
|
|
83424
83444
|
class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
|
|
@@ -83428,13 +83448,13 @@ const koe = [
|
|
|
83428
83448
|
Us(" 清空 ")
|
|
83429
83449
|
]))
|
|
83430
83450
|
]),
|
|
83431
|
-
Vt("div",
|
|
83432
|
-
Vt("div",
|
|
83451
|
+
Vt("div", gZe, [
|
|
83452
|
+
Vt("div", hZe, [
|
|
83433
83453
|
(Tt(!0), hn(vr, null, Wa(je(i), (w) => (Tt(), hn("div", {
|
|
83434
83454
|
key: w == null ? void 0 : w.id,
|
|
83435
83455
|
class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
|
|
83436
83456
|
}, [
|
|
83437
|
-
Vt("div",
|
|
83457
|
+
Vt("div", pZe, Rs(w == null ? void 0 : w.name), 1),
|
|
83438
83458
|
on(je(ep), {
|
|
83439
83459
|
onClick: (S) => m(w),
|
|
83440
83460
|
class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
|
|
@@ -83449,7 +83469,7 @@ const koe = [
|
|
|
83449
83469
|
])
|
|
83450
83470
|
]));
|
|
83451
83471
|
}
|
|
83452
|
-
}),
|
|
83472
|
+
}), bZe = { class: "h-full flex flex-col" }, yZe = { class: "px-2" }, wZe = { class: "flex-grow h-1 overflow-auto" }, CZe = ["onClick"], SZe = { class: "flex items-center gap-2" }, xZe = /* @__PURE__ */ qo({
|
|
83453
83473
|
__name: "role",
|
|
83454
83474
|
props: {
|
|
83455
83475
|
modelValue: {},
|
|
@@ -83480,8 +83500,8 @@ const koe = [
|
|
|
83480
83500
|
var S, E, A;
|
|
83481
83501
|
w != null && w.id && ((S = i.value) != null && S.includes(w == null ? void 0 : w.id) ? i.value = (E = i.value) == null ? void 0 : E.filter(($) => $ !== (w == null ? void 0 : w.id)) : (A = i.value) == null || A.push(w == null ? void 0 : w.id));
|
|
83482
83502
|
};
|
|
83483
|
-
return (w, S) => (Tt(), hn("div",
|
|
83484
|
-
Vt("div",
|
|
83503
|
+
return (w, S) => (Tt(), hn("div", bZe, [
|
|
83504
|
+
Vt("div", yZe, [
|
|
83485
83505
|
on(je(q2), {
|
|
83486
83506
|
inline: !0,
|
|
83487
83507
|
model: r.value,
|
|
@@ -83512,15 +83532,15 @@ const koe = [
|
|
|
83512
83532
|
size: "large"
|
|
83513
83533
|
}, null, 8, ["modelValue"])
|
|
83514
83534
|
]),
|
|
83515
|
-
Vt("div",
|
|
83535
|
+
Vt("div", wZe, [
|
|
83516
83536
|
(Tt(!0), hn(vr, null, Wa(je(u), (E, A) => {
|
|
83517
83537
|
var $;
|
|
83518
83538
|
return Tt(), hn("div", {
|
|
83519
|
-
class: "flex items-center justify-between",
|
|
83539
|
+
class: "flex items-center justify-between cursor-pointer hover:bg-[#f5f7fa] px-2 rounded-[4px]",
|
|
83520
83540
|
key: A,
|
|
83521
83541
|
onClick: (R) => v(E)
|
|
83522
83542
|
}, [
|
|
83523
|
-
Vt("div",
|
|
83543
|
+
Vt("div", SZe, [
|
|
83524
83544
|
on(je(my), {
|
|
83525
83545
|
"model-value": ($ = i.value) == null ? void 0 : $.includes(E == null ? void 0 : E.id),
|
|
83526
83546
|
size: "large"
|
|
@@ -83538,12 +83558,12 @@ const koe = [
|
|
|
83538
83558
|
}, 1032, ["src"]),
|
|
83539
83559
|
Vt("div", null, Rs(E == null ? void 0 : E.name), 1)
|
|
83540
83560
|
])
|
|
83541
|
-
], 8,
|
|
83561
|
+
], 8, CZe);
|
|
83542
83562
|
}), 128))
|
|
83543
83563
|
])
|
|
83544
83564
|
]));
|
|
83545
83565
|
}
|
|
83546
|
-
}),
|
|
83566
|
+
}), _Ze = /* @__PURE__ */ Ki(xZe, [["__scopeId", "data-v-de28b71e"]]), EZe = { class: "flex flex-row h-[420px]" }, TZe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, kZe = { class: "h-full" }, AZe = { class: "w-[50%] pl-2" }, OZe = { class: "h-full flex flex-col" }, $Ze = { class: "flex-grow overflow-auto flex-shrink h-1" }, DZe = { class: "flex justify-between" }, NZe = /* @__PURE__ */ qo({
|
|
83547
83567
|
__name: "index",
|
|
83548
83568
|
setup(o, { expose: r }) {
|
|
83549
83569
|
const i = Sn(!1);
|
|
@@ -83565,7 +83585,7 @@ const koe = [
|
|
|
83565
83585
|
"destroy-on-close": !0
|
|
83566
83586
|
}, {
|
|
83567
83587
|
footer: Rn(() => [
|
|
83568
|
-
Vt("div",
|
|
83588
|
+
Vt("div", DZe, [
|
|
83569
83589
|
S[6] || (S[6] = Vt("div", null, null, -1)),
|
|
83570
83590
|
Vt("div", null, [
|
|
83571
83591
|
on(je(Pu), {
|
|
@@ -83589,19 +83609,19 @@ const koe = [
|
|
|
83589
83609
|
])
|
|
83590
83610
|
]),
|
|
83591
83611
|
default: Rn(() => [
|
|
83592
|
-
Vt("div",
|
|
83593
|
-
Vt("div",
|
|
83594
|
-
Vt("div",
|
|
83595
|
-
on(
|
|
83612
|
+
Vt("div", EZe, [
|
|
83613
|
+
Vt("div", TZe, [
|
|
83614
|
+
Vt("div", kZe, [
|
|
83615
|
+
on(vZe, {
|
|
83596
83616
|
modelValue: m.value,
|
|
83597
83617
|
"onUpdate:modelValue": S[0] || (S[0] = (E) => m.value = E)
|
|
83598
83618
|
}, null, 8, ["modelValue"])
|
|
83599
83619
|
])
|
|
83600
83620
|
]),
|
|
83601
|
-
Vt("div",
|
|
83602
|
-
Vt("div",
|
|
83603
|
-
Vt("div",
|
|
83604
|
-
on(
|
|
83621
|
+
Vt("div", AZe, [
|
|
83622
|
+
Vt("div", OZe, [
|
|
83623
|
+
Vt("div", $Ze, [
|
|
83624
|
+
on(_Ze, {
|
|
83605
83625
|
modelValue: m.value,
|
|
83606
83626
|
"onUpdate:modelValue": S[1] || (S[1] = (E) => m.value = E)
|
|
83607
83627
|
}, null, 8, ["modelValue"])
|
|
@@ -83613,10 +83633,10 @@ const koe = [
|
|
|
83613
83633
|
_: 1
|
|
83614
83634
|
}, 8, ["modelValue"]));
|
|
83615
83635
|
}
|
|
83616
|
-
}),
|
|
83636
|
+
}), MZe = {
|
|
83617
83637
|
key: 0,
|
|
83618
83638
|
class: "inline-block"
|
|
83619
|
-
},
|
|
83639
|
+
}, RZe = { class: "color-[#409EFF]" }, Lhe = /* @__PURE__ */ qo({
|
|
83620
83640
|
__name: "rolePickerDisplay",
|
|
83621
83641
|
props: {
|
|
83622
83642
|
value: {
|
|
@@ -83638,16 +83658,16 @@ const koe = [
|
|
|
83638
83658
|
var w, S, E;
|
|
83639
83659
|
return Tt(), hn("div", null, [
|
|
83640
83660
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
83641
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (Tt(), hn("div",
|
|
83661
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (Tt(), hn("div", MZe, [
|
|
83642
83662
|
v[1] || (v[1] = Us(" 等 ")),
|
|
83643
|
-
Vt("span",
|
|
83663
|
+
Vt("span", RZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
83644
83664
|
v[2] || (v[2] = Us(" 岗位 "))
|
|
83645
83665
|
])) : Ts("", !0),
|
|
83646
83666
|
on(je(Pu), {
|
|
83647
83667
|
size: "small",
|
|
83648
|
-
class: Pd({
|
|
83668
|
+
class: Pd(["align-middle", {
|
|
83649
83669
|
"ml-2": (E = u == null ? void 0 : u.value) == null ? void 0 : E.length
|
|
83650
|
-
}),
|
|
83670
|
+
}]),
|
|
83651
83671
|
onClick: v[0] || (v[0] = () => {
|
|
83652
83672
|
i("click");
|
|
83653
83673
|
})
|
|
@@ -83660,7 +83680,7 @@ const koe = [
|
|
|
83660
83680
|
]);
|
|
83661
83681
|
};
|
|
83662
83682
|
}
|
|
83663
|
-
}),
|
|
83683
|
+
}), IZe = /* @__PURE__ */ qo({
|
|
83664
83684
|
__name: "index",
|
|
83665
83685
|
props: /* @__PURE__ */ pl({
|
|
83666
83686
|
/** 默认显示的内容,是否简写 */
|
|
@@ -83683,7 +83703,7 @@ const koe = [
|
|
|
83683
83703
|
}
|
|
83684
83704
|
});
|
|
83685
83705
|
};
|
|
83686
|
-
return (v, w) => (Tt(), ds(
|
|
83706
|
+
return (v, w) => (Tt(), ds(aZe, {
|
|
83687
83707
|
modelValue: i.value,
|
|
83688
83708
|
"onUpdate:modelValue": w[0] || (w[0] = (S) => i.value = S)
|
|
83689
83709
|
}, {
|
|
@@ -83698,7 +83718,7 @@ const koe = [
|
|
|
83698
83718
|
isAbbr: r.isAbbr
|
|
83699
83719
|
}, null, 8, ["value", "isAbbr"])
|
|
83700
83720
|
]),
|
|
83701
|
-
on(
|
|
83721
|
+
on(NZe, {
|
|
83702
83722
|
ref_key: "dialogRef",
|
|
83703
83723
|
ref: u
|
|
83704
83724
|
}, null, 512)
|
|
@@ -83720,7 +83740,7 @@ const koe = [
|
|
|
83720
83740
|
throw Qv[o].isFetching = !1, m;
|
|
83721
83741
|
});
|
|
83722
83742
|
return Qv[o].promise = u, await u;
|
|
83723
|
-
},
|
|
83743
|
+
}, PZe = async (o, r) => {
|
|
83724
83744
|
const i = r;
|
|
83725
83745
|
if (!i) throw new Error("http 实例未提供");
|
|
83726
83746
|
const u = "userSelector_" + JSON.stringify(o);
|
|
@@ -83728,7 +83748,7 @@ const koe = [
|
|
|
83728
83748
|
u,
|
|
83729
83749
|
() => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
|
|
83730
83750
|
);
|
|
83731
|
-
},
|
|
83751
|
+
}, BZe = async (o, r) => {
|
|
83732
83752
|
const i = r;
|
|
83733
83753
|
if (!i) throw new Error("http 实例未提供");
|
|
83734
83754
|
const u = "roleByGroup_" + JSON.stringify(o);
|
|
@@ -83736,14 +83756,14 @@ const koe = [
|
|
|
83736
83756
|
u,
|
|
83737
83757
|
() => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
|
|
83738
83758
|
);
|
|
83739
|
-
},
|
|
83759
|
+
}, FZe = (o) => {
|
|
83740
83760
|
const { params: r, type: i = "userIds" } = o, { http: u } = X4(), m = Sn(!1), h = Sn({
|
|
83741
83761
|
userlist: [],
|
|
83742
83762
|
rolelist: [],
|
|
83743
83763
|
grouplist: [],
|
|
83744
83764
|
positionlist: []
|
|
83745
83765
|
}), v = async () => {
|
|
83746
|
-
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", E = S ?
|
|
83766
|
+
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", E = S ? BZe : PZe;
|
|
83747
83767
|
m.value = !0, await (E == null ? void 0 : E(w, u).then((A) => {
|
|
83748
83768
|
S ? h.value = {
|
|
83749
83769
|
...h.value,
|
|
@@ -83772,7 +83792,7 @@ const koe = [
|
|
|
83772
83792
|
const { keyword: S, unitId: E, groupIds: A } = Ut(r) || {};
|
|
83773
83793
|
let $ = { keyword: S, unitId: E };
|
|
83774
83794
|
return i === "roleIds" && ($ = { ...$, groupIds: A }), $ = sI($), $;
|
|
83775
|
-
}), { loading: m, refresh: h, allData: v } =
|
|
83795
|
+
}), { loading: m, refresh: h, allData: v } = FZe({ params: u, type: i }), w = qn(() => {
|
|
83776
83796
|
var L, U, q, K, ae;
|
|
83777
83797
|
let S = [];
|
|
83778
83798
|
const { groupIds: E, roleIds: A } = Ut(r) || {}, $ = (L = E == null ? void 0 : E.split(",")) == null ? void 0 : L.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
|
|
@@ -83798,13 +83818,13 @@ const koe = [
|
|
|
83798
83818
|
refresh: h,
|
|
83799
83819
|
allData: v
|
|
83800
83820
|
};
|
|
83801
|
-
},
|
|
83821
|
+
}, LZe = { class: "w-[420px] flex h-[300px]" }, HZe = { class: "h-full w-1/2 leftContent flex flex-col pr-2" }, VZe = { class: "mb-1" }, zZe = { class: "h-1 overflow-auto flex-grow" }, UZe = ["onClick"], jZe = {
|
|
83802
83822
|
key: 0,
|
|
83803
83823
|
class: "i-bi:check2"
|
|
83804
|
-
},
|
|
83824
|
+
}, WZe = { class: "h-full w-1/2 flex flex-col pl-2" }, ZZe = { class: "mb-1" }, GZe = { class: "h-1 overflow-auto flex-grow" }, qZe = ["onClick"], YZe = {
|
|
83805
83825
|
key: 0,
|
|
83806
83826
|
class: "i-bi:check2"
|
|
83807
|
-
},
|
|
83827
|
+
}, KZe = { class: "color-[#6B7280] text-[12px] tips flex items-center pt-2 justify-between" }, XZe = /* @__PURE__ */ qo({
|
|
83808
83828
|
__name: "roleAndDepartmentSelect",
|
|
83809
83829
|
props: {
|
|
83810
83830
|
modelValue: {
|
|
@@ -83837,9 +83857,9 @@ const koe = [
|
|
|
83837
83857
|
}) : A;
|
|
83838
83858
|
});
|
|
83839
83859
|
return (A, $) => (Tt(), hn("div", null, [
|
|
83840
|
-
Vt("div",
|
|
83841
|
-
Vt("div",
|
|
83842
|
-
Vt("div",
|
|
83860
|
+
Vt("div", LZe, [
|
|
83861
|
+
Vt("div", HZe, [
|
|
83862
|
+
Vt("div", VZe, [
|
|
83843
83863
|
$[2] || ($[2] = Vt("div", { class: "color-[#333] font-bold mb-2" }, "选择部门", -1)),
|
|
83844
83864
|
on(je(Yg), {
|
|
83845
83865
|
modelValue: v.value,
|
|
@@ -83850,19 +83870,19 @@ const koe = [
|
|
|
83850
83870
|
class: "w-full"
|
|
83851
83871
|
}, null, 8, ["modelValue"])
|
|
83852
83872
|
]),
|
|
83853
|
-
Vt("div",
|
|
83873
|
+
Vt("div", zZe, [
|
|
83854
83874
|
(Tt(!0), hn(vr, null, Wa(S.value, (R) => (Tt(), hn("div", {
|
|
83855
83875
|
class: Pd(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.groupId }]),
|
|
83856
83876
|
key: R == null ? void 0 : R.id,
|
|
83857
83877
|
onClick: (L) => i.value.groupId = R == null ? void 0 : R.id
|
|
83858
83878
|
}, [
|
|
83859
83879
|
Us(Rs(R == null ? void 0 : R.name) + " ", 1),
|
|
83860
|
-
(R == null ? void 0 : R.id) === i.value.groupId ? (Tt(), hn("div",
|
|
83861
|
-
], 10,
|
|
83880
|
+
(R == null ? void 0 : R.id) === i.value.groupId ? (Tt(), hn("div", jZe)) : Ts("", !0)
|
|
83881
|
+
], 10, UZe))), 128))
|
|
83862
83882
|
])
|
|
83863
83883
|
]),
|
|
83864
|
-
Vt("div",
|
|
83865
|
-
Vt("div",
|
|
83884
|
+
Vt("div", WZe, [
|
|
83885
|
+
Vt("div", ZZe, [
|
|
83866
83886
|
$[3] || ($[3] = Vt("div", { class: "color-[#333] font-bold mb-2" }, "选择岗位", -1)),
|
|
83867
83887
|
on(je(Yg), {
|
|
83868
83888
|
modelValue: h.value,
|
|
@@ -83873,19 +83893,19 @@ const koe = [
|
|
|
83873
83893
|
class: "w-full"
|
|
83874
83894
|
}, null, 8, ["modelValue"])
|
|
83875
83895
|
]),
|
|
83876
|
-
Vt("div",
|
|
83896
|
+
Vt("div", GZe, [
|
|
83877
83897
|
(Tt(!0), hn(vr, null, Wa(E.value, (R) => (Tt(), hn("div", {
|
|
83878
83898
|
class: Pd(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.roleId }]),
|
|
83879
83899
|
key: R == null ? void 0 : R.id,
|
|
83880
83900
|
onClick: (L) => i.value.roleId = R == null ? void 0 : R.id
|
|
83881
83901
|
}, [
|
|
83882
83902
|
Us(Rs(R == null ? void 0 : R.name) + " ", 1),
|
|
83883
|
-
(R == null ? void 0 : R.id) === i.value.roleId ? (Tt(), hn("div",
|
|
83884
|
-
], 10,
|
|
83903
|
+
(R == null ? void 0 : R.id) === i.value.roleId ? (Tt(), hn("div", YZe)) : Ts("", !0)
|
|
83904
|
+
], 10, qZe))), 128))
|
|
83885
83905
|
])
|
|
83886
83906
|
])
|
|
83887
83907
|
]),
|
|
83888
|
-
Vt("div",
|
|
83908
|
+
Vt("div", KZe, [
|
|
83889
83909
|
$[5] || ($[5] = Vt("div", null, [
|
|
83890
83910
|
Vt("span", { class: "font-bold" }, "提示:"),
|
|
83891
83911
|
Us(" 若部门和岗位均选择不限则视为不限制 ")
|
|
@@ -83903,7 +83923,7 @@ const koe = [
|
|
|
83903
83923
|
])
|
|
83904
83924
|
]));
|
|
83905
83925
|
}
|
|
83906
|
-
}),
|
|
83926
|
+
}), JZe = /* @__PURE__ */ Ki(XZe, [["__scopeId", "data-v-4d4aa43e"]]), QZe = (o) => {
|
|
83907
83927
|
if (Ut(o)) {
|
|
83908
83928
|
const { allData: r } = Vhe({
|
|
83909
83929
|
type: "groupIds"
|
|
@@ -83926,10 +83946,10 @@ const koe = [
|
|
|
83926
83946
|
});
|
|
83927
83947
|
} else
|
|
83928
83948
|
return qn(() => []);
|
|
83929
|
-
},
|
|
83949
|
+
}, eGe = { class: "w-full" }, tGe = { class: "flex justify-between header items-center h-[32px]" }, nGe = { class: "flex gap-1" }, oGe = { class: "content mt-2" }, sGe = { class: "flex-center gap-1" }, rGe = ["onClick"], aGe = {
|
|
83930
83950
|
key: 0,
|
|
83931
83951
|
class: "h-[100px] flex-center"
|
|
83932
|
-
},
|
|
83952
|
+
}, iGe = /* @__PURE__ */ qo({
|
|
83933
83953
|
__name: "index",
|
|
83934
83954
|
props: {
|
|
83935
83955
|
modelValue: { default: [] },
|
|
@@ -83942,7 +83962,7 @@ const koe = [
|
|
|
83942
83962
|
E != null && E.roleId && (E != null && E.groupId) && ((A = r.value) != null && A.some(
|
|
83943
83963
|
(L) => L.roleId === E.roleId && L.groupId === E.groupId
|
|
83944
83964
|
) || (r.value = [...r.value || [], E])), ($ = m.value) == null || $.hide();
|
|
83945
|
-
}, m = Sn(null), h =
|
|
83965
|
+
}, m = Sn(null), h = QZe(r), v = (E) => {
|
|
83946
83966
|
var R, L;
|
|
83947
83967
|
let A = (R = E == null ? void 0 : E.role) == null ? void 0 : R.id, $ = (L = E == null ? void 0 : E.group) == null ? void 0 : L.id;
|
|
83948
83968
|
r.value = r.value.filter((U) => !Al(U, { roleId: A, groupId: $ }));
|
|
@@ -83953,13 +83973,13 @@ const koe = [
|
|
|
83953
83973
|
};
|
|
83954
83974
|
return (E, A) => {
|
|
83955
83975
|
var $;
|
|
83956
|
-
return Tt(), hn("div",
|
|
83957
|
-
Vt("div",
|
|
83976
|
+
return Tt(), hn("div", eGe, [
|
|
83977
|
+
Vt("div", tGe, [
|
|
83958
83978
|
A[3] || (A[3] = Vt("div", { class: "color-[#333]" }, [
|
|
83959
83979
|
Us(" 已选择 "),
|
|
83960
83980
|
Vt("span", { class: "color-[#909399] text-[13px]" }, "(3)")
|
|
83961
83981
|
], -1)),
|
|
83962
|
-
Vt("div",
|
|
83982
|
+
Vt("div", nGe, [
|
|
83963
83983
|
on(je(MU), {
|
|
83964
83984
|
ref_key: "popoverRef",
|
|
83965
83985
|
ref: m,
|
|
@@ -83977,7 +83997,7 @@ const koe = [
|
|
|
83977
83997
|
})
|
|
83978
83998
|
]),
|
|
83979
83999
|
default: Rn(() => [
|
|
83980
|
-
on(
|
|
84000
|
+
on(JZe, {
|
|
83981
84001
|
modelValue: i.value,
|
|
83982
84002
|
"onUpdate:modelValue": A[0] || (A[0] = (R) => i.value = R),
|
|
83983
84003
|
onOk: u
|
|
@@ -83997,34 +84017,34 @@ const koe = [
|
|
|
83997
84017
|
})
|
|
83998
84018
|
])
|
|
83999
84019
|
]),
|
|
84000
|
-
Vt("div",
|
|
84020
|
+
Vt("div", oGe, [
|
|
84001
84021
|
(Tt(!0), hn(vr, null, Wa(je(h), (R, L) => {
|
|
84002
84022
|
var U, q;
|
|
84003
84023
|
return Tt(), hn("div", {
|
|
84004
84024
|
key: L,
|
|
84005
84025
|
class: "item"
|
|
84006
84026
|
}, [
|
|
84007
|
-
Vt("div",
|
|
84027
|
+
Vt("div", sGe, [
|
|
84008
84028
|
A[4] || (A[4] = Vt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
|
|
84009
84029
|
Us(" " + Rs((U = R == null ? void 0 : R.group) == null ? void 0 : U.name) + " - " + Rs((q = R == null ? void 0 : R.role) == null ? void 0 : q.name), 1)
|
|
84010
84030
|
]),
|
|
84011
84031
|
Vt("div", {
|
|
84012
84032
|
class: "i-bi:x-circle-fill color-[#C0C4CC] hover:color-[#409EFF] cursor-pointer",
|
|
84013
84033
|
onClick: () => v(R)
|
|
84014
|
-
}, null, 8,
|
|
84034
|
+
}, null, 8, rGe)
|
|
84015
84035
|
]);
|
|
84016
84036
|
}), 128)),
|
|
84017
|
-
(($ = je(h)) == null ? void 0 : $.length) > 0 ? Ts("", !0) : (Tt(), hn("div",
|
|
84037
|
+
(($ = je(h)) == null ? void 0 : $.length) > 0 ? Ts("", !0) : (Tt(), hn("div", aGe, "暂无数据"))
|
|
84018
84038
|
])
|
|
84019
84039
|
]);
|
|
84020
84040
|
};
|
|
84021
84041
|
}
|
|
84022
|
-
}),
|
|
84042
|
+
}), lGe = /* @__PURE__ */ Ki(iGe, [["__scopeId", "data-v-6811f20c"]]), bue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84023
84043
|
__proto__: null,
|
|
84024
84044
|
ConfigProvider: Fve,
|
|
84025
84045
|
ConfirmTextSetter: Aje,
|
|
84026
84046
|
DateFormatSetter: Eje,
|
|
84027
|
-
DepartmentPicker:
|
|
84047
|
+
DepartmentPicker: sZe,
|
|
84028
84048
|
DepartmentPickerDisplay: Ihe,
|
|
84029
84049
|
FilePreview: A6e,
|
|
84030
84050
|
FormFlow: AUe,
|
|
@@ -84036,8 +84056,8 @@ const koe = [
|
|
|
84036
84056
|
OptionsSetter: xje,
|
|
84037
84057
|
ProEditor: mMe,
|
|
84038
84058
|
ProEditorPreview: vMe,
|
|
84039
|
-
RoleAndDepartmentPicker:
|
|
84040
|
-
RolePicker:
|
|
84059
|
+
RoleAndDepartmentPicker: lGe,
|
|
84060
|
+
RolePicker: IZe,
|
|
84041
84061
|
RolePickerDisplay: Lhe,
|
|
84042
84062
|
UserPicker: TWe,
|
|
84043
84063
|
UserPickerDisplay: Dhe,
|
|
@@ -84046,18 +84066,18 @@ const koe = [
|
|
|
84046
84066
|
configProviderContextKey: Hoe,
|
|
84047
84067
|
defaultConfig: hde,
|
|
84048
84068
|
useConfigProvider: X4
|
|
84049
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
84050
|
-
function
|
|
84069
|
+
}, Symbol.toStringTag, { value: "Module" })), cGe = hpe;
|
|
84070
|
+
function uGe(o) {
|
|
84051
84071
|
return Object.keys(bue).forEach((r) => {
|
|
84052
84072
|
o.component(r, bue[r]);
|
|
84053
84073
|
}), o;
|
|
84054
84074
|
}
|
|
84055
|
-
const
|
|
84075
|
+
const wGe = { install: uGe, version: cGe };
|
|
84056
84076
|
export {
|
|
84057
84077
|
Fve as ConfigProvider,
|
|
84058
84078
|
Aje as ConfirmTextSetter,
|
|
84059
84079
|
Eje as DateFormatSetter,
|
|
84060
|
-
|
|
84080
|
+
sZe as DepartmentPicker,
|
|
84061
84081
|
Ihe as DepartmentPickerDisplay,
|
|
84062
84082
|
A6e as FilePreview,
|
|
84063
84083
|
AUe as FormFlow,
|
|
@@ -84069,17 +84089,17 @@ export {
|
|
|
84069
84089
|
xje as OptionsSetter,
|
|
84070
84090
|
mMe as ProEditor,
|
|
84071
84091
|
vMe as ProEditorPreview,
|
|
84072
|
-
|
|
84073
|
-
|
|
84092
|
+
lGe as RoleAndDepartmentPicker,
|
|
84093
|
+
IZe as RolePicker,
|
|
84074
84094
|
Lhe as RolePickerDisplay,
|
|
84075
84095
|
TWe as UserPicker,
|
|
84076
84096
|
Dhe as UserPickerDisplay,
|
|
84077
84097
|
W_e as UserSelector,
|
|
84078
84098
|
E6e as ZyPageLayout,
|
|
84079
84099
|
Hoe as configProviderContextKey,
|
|
84080
|
-
|
|
84100
|
+
wGe as default,
|
|
84081
84101
|
hde as defaultConfig,
|
|
84082
|
-
|
|
84102
|
+
uGe as install,
|
|
84083
84103
|
X4 as useConfigProvider,
|
|
84084
|
-
|
|
84104
|
+
cGe as version
|
|
84085
84105
|
};
|