@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentSelect-A7uGTuHW.js +3498 -0
- package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
- package/dist/HCheckList-ODQHidN8.js +37 -0
- package/dist/HoverCard-CmJCoa2b.js +44 -0
- package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
- package/dist/ImportExport-DisdLoY8.js +342 -0
- package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
- package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
- package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
- package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
- package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
- package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
- package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
- package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
- package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
- package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
- package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
- package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
- package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
- package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
- package/dist/chunk-DiMWNkAf.js +18 -0
- package/dist/cloneDeep-CSOSavu3.js +6 -0
- package/dist/components/GroupSelector/index.vue.d.ts +7 -1
- package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
- package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
- package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
- package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
- package/dist/drawerDictionary-DYJTAZr6.js +126 -0
- package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
- package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
- package/dist/drawerOrganization-CwtSFUj0.js +247 -0
- package/dist/drawerPosition-CfyfeQCN.js +166 -0
- package/dist/drawerRegion-DAwY_29K.js +183 -0
- package/dist/drawerRole-B7uCfHk-.js +154 -0
- package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
- package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
- package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +613 -689
- package/dist/isEmpty-BjEzPyCa.js +12 -0
- package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
- package/dist/layout_setting.css +1 -1
- package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
- package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
- package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-C2GciMXz.js +155 -0
- package/dist/not-data-Bml86wdH.js +3 -0
- package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
- package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
- package/dist/operate_history.css +1 -1
- package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
- package/dist/organization.css +1 -1
- package/dist/other_setting-oVuhA70c.js +213 -0
- package/dist/other_setting.css +1 -1
- package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
- package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
- package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
- package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
- package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
- package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
- package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
- package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
- package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-znESrYgi.js +140 -0
- package/dist/useAppAndResource-B7FmNfKG.js +52 -0
- package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
- package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
- package/dist/views/components/setItem.vue.d.ts +5 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
- package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
- package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/other_setting/interface.d.ts +1 -2
- package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
- package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
- package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
- package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
- package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
- package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
- package/dist/watermark_setting-DYirSIAn.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +13 -13
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/other_setting/interface.ts +1 -1
- package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
- package/dist/ComponentSelect-WO-3S5rH.js +0 -2
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
- package/dist/HCheckList-B5Qk_HBI.js +0 -2
- package/dist/HCheckList-DLBewmPw.js +0 -36
- package/dist/HoverCard-69ZIOivd.js +0 -2
- package/dist/HoverCard-BDFcxxvk.js +0 -43
- package/dist/IconSelect-C_Gj5G4I.js +0 -3
- package/dist/ImportExport-CL5uPlby.js +0 -342
- package/dist/ImportExport-CPy2rvv7.js +0 -4
- package/dist/LayoutForm-QFjwakyQ.js +0 -4
- package/dist/MetaForm-Bb-um1Zo.js +0 -4
- package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
- package/dist/ResourceEdit-BTaNdwC_.js +0 -10
- package/dist/ResourceRelation-BIOzTOKA.js +0 -2
- package/dist/RoleRelation-CyTcqRfZ.js +0 -2
- package/dist/TenantEdit-BlMmL6q5.js +0 -2
- package/dist/UserAuthorization-qGr1Sdat.js +0 -3
- package/dist/UserEdit-CwfyqNWf.js +0 -3
- package/dist/animation_item-GzGItm3s.js +0 -2
- package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
- package/dist/browserType-BXTT4j6i.js +0 -2
- package/dist/chunk-Cpsc_9al.js +0 -18
- package/dist/cloneDeep-DDAtsK42.js +0 -7
- package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
- package/dist/drawerDictionary-D911w7pC.js +0 -2
- package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
- package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
- package/dist/drawerGroup-CEEDMBg9.js +0 -3
- package/dist/drawerOrganization-CqEMD3gE.js +0 -246
- package/dist/drawerOrganization-mks5NMd9.js +0 -2
- package/dist/drawerPosition-Bd0s7qze.js +0 -165
- package/dist/drawerPosition-DwlTrlGA.js +0 -2
- package/dist/drawerRegion-DUbQAZuV.js +0 -182
- package/dist/drawerRegion-DwVzsZfT.js +0 -2
- package/dist/drawerRole-BNrbcSmr.js +0 -3
- package/dist/drawerRole-BxUIekjh.js +0 -3
- package/dist/drawerRole-CyA2oFht.js +0 -4
- package/dist/drawerRole-D5X7oHB_.js +0 -153
- package/dist/isEmpty-BvRqbmpu.js +0 -13
- package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
- package/dist/menu_setting-5Jet091Q.js +0 -155
- package/dist/not-data-Cx--tk_h.js +0 -2
- package/dist/not-data-tyTawN37.js +0 -2
- package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
- package/dist/other_setting-DQ70WnZK.js +0 -213
- package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
- package/dist/routeSystem-DXMoWhFo.js +0 -2
- package/dist/setItem-Qa7UapHO.js +0 -4
- package/dist/tabbar_setting-B3kMhRNm.js +0 -139
- package/dist/toolbar_setting-DNBdxeGP.js +0 -140
- package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
- package/dist/watermark_setting-CXp4Og0Y.js +0 -191
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
+
import { Lt as useToggle, f as postBlackWhiteListAddBlackWhiteList, m as postBlackWhiteListUpdateBlackWhiteList } from "./index.js";
|
|
3
|
+
import { createBlock, createTextVNode, createVNode, defineComponent, isRef, openBlock, ref, resolveComponent, unref, withCtx } from "vue";
|
|
4
|
+
import { message } from "ant-design-vue";
|
|
5
|
+
import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, Space as Space$1, Switch, Textarea } from "ant-design-vue/es";
|
|
6
|
+
var drawerBlackWhiteList_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
name: "DrawerBlackWhiteList",
|
|
8
|
+
__name: "drawerBlackWhiteList",
|
|
9
|
+
props: { type: {} },
|
|
10
|
+
emits: ["submit"],
|
|
11
|
+
setup(e, { expose: i, emit: o }) {
|
|
12
|
+
let c = e, l = o, u = {
|
|
13
|
+
ip: [{
|
|
14
|
+
required: !0,
|
|
15
|
+
validator: v,
|
|
16
|
+
trigger: ["blur", "change"]
|
|
17
|
+
}],
|
|
18
|
+
enable: [{
|
|
19
|
+
required: !0,
|
|
20
|
+
message: "请选择是否开启",
|
|
21
|
+
trigger: ["blur", "change"]
|
|
22
|
+
}]
|
|
23
|
+
}, d = ref(""), [f, p] = useToggle(!1), m = ref(), h = { enable: !0 }, g = ref({}), _ = ref(!1);
|
|
24
|
+
function v(e, t, n) {
|
|
25
|
+
t ? /^(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})$/.test(t) ? n() : n(/* @__PURE__ */ Error("ip地址格式不正确")) : n(/* @__PURE__ */ Error("请输入ip地址"));
|
|
26
|
+
}
|
|
27
|
+
async function y(e, t, n) {
|
|
28
|
+
d.value = e, p(!0), t ? (_.value = !0, g.value = { ...n ?? {} }) : (_.value = !1, g.value = { ...h });
|
|
29
|
+
}
|
|
30
|
+
let [b, x] = useToggle(!1);
|
|
31
|
+
function S() {
|
|
32
|
+
m.value?.validate().then(() => {
|
|
33
|
+
x(!0), (_.value ? postBlackWhiteListUpdateBlackWhiteList : postBlackWhiteListAddBlackWhiteList)({
|
|
34
|
+
...g.value,
|
|
35
|
+
type: c.type
|
|
36
|
+
}).then((e) => {
|
|
37
|
+
e.success && (message.success(`${d.value}成功!`), p(!1), l("submit"));
|
|
38
|
+
}).finally(() => x(!1));
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function C() {
|
|
42
|
+
p(!1);
|
|
43
|
+
}
|
|
44
|
+
return i({ open: y }), (e, t) => {
|
|
45
|
+
let n = Input$1, r = FormItem, i = Switch, a = Textarea, o = Form$1, s = Button, c = Space$1, l = Drawer;
|
|
46
|
+
return openBlock(), createBlock(l, {
|
|
47
|
+
open: unref(f),
|
|
48
|
+
"onUpdate:open": t[4] ||= (e) => isRef(f) ? f.value = e : null,
|
|
49
|
+
title: `${unref(d)}信息`,
|
|
50
|
+
placement: "right",
|
|
51
|
+
width: 600,
|
|
52
|
+
"destroy-on-close": "",
|
|
53
|
+
"footer-style": { textAlign: "right" },
|
|
54
|
+
onClose: C
|
|
55
|
+
}, {
|
|
56
|
+
footer: withCtx(() => [createVNode(c, null, {
|
|
57
|
+
default: withCtx(() => [createVNode(s, { onClick: C }, {
|
|
58
|
+
default: withCtx(() => [...t[5] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
59
|
+
_: 1
|
|
60
|
+
}), createVNode(s, {
|
|
61
|
+
type: "primary",
|
|
62
|
+
loading: unref(b),
|
|
63
|
+
onClick: t[3] ||= (e) => S()
|
|
64
|
+
}, {
|
|
65
|
+
default: withCtx(() => [...t[6] ||= [createTextVNode(" 提交 ", -1)]]),
|
|
66
|
+
_: 1
|
|
67
|
+
}, 8, ["loading"])]),
|
|
68
|
+
_: 1
|
|
69
|
+
})]),
|
|
70
|
+
default: withCtx(() => [createVNode(o, {
|
|
71
|
+
ref_key: "formRef",
|
|
72
|
+
ref: m,
|
|
73
|
+
model: unref(g),
|
|
74
|
+
rules: u,
|
|
75
|
+
"label-col": { span: 4 }
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [
|
|
78
|
+
createVNode(r, {
|
|
79
|
+
label: "来源ip地址",
|
|
80
|
+
name: "ip"
|
|
81
|
+
}, {
|
|
82
|
+
default: withCtx(() => [createVNode(n, {
|
|
83
|
+
value: unref(g).ip,
|
|
84
|
+
"onUpdate:value": t[0] ||= (e) => unref(g).ip = e,
|
|
85
|
+
maxlength: 20
|
|
86
|
+
}, null, 8, ["value"])]),
|
|
87
|
+
_: 1
|
|
88
|
+
}),
|
|
89
|
+
createVNode(r, {
|
|
90
|
+
label: "状态",
|
|
91
|
+
name: "enable"
|
|
92
|
+
}, {
|
|
93
|
+
default: withCtx(() => [createVNode(i, {
|
|
94
|
+
checked: unref(g).enable,
|
|
95
|
+
"onUpdate:checked": t[1] ||= (e) => unref(g).enable = e
|
|
96
|
+
}, null, 8, ["checked"])]),
|
|
97
|
+
_: 1
|
|
98
|
+
}),
|
|
99
|
+
createVNode(r, {
|
|
100
|
+
label: "描述",
|
|
101
|
+
name: "description"
|
|
102
|
+
}, {
|
|
103
|
+
default: withCtx(() => [createVNode(a, {
|
|
104
|
+
value: unref(g).description,
|
|
105
|
+
"onUpdate:value": t[2] ||= (e) => unref(g).description = e,
|
|
106
|
+
rows: 3,
|
|
107
|
+
"show-count": "",
|
|
108
|
+
maxlength: 200
|
|
109
|
+
}, null, 8, ["value"])]),
|
|
110
|
+
_: 1
|
|
111
|
+
})
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
}, 8, ["model"])]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["open", "title"]);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}), drawerBlackWhiteList_exports = /* @__PURE__ */ __exportAll({ default: () => drawerBlackWhiteList_default }), drawerBlackWhiteList_default = drawerBlackWhiteList_vue_vue_type_script_setup_true_lang_default;
|
|
120
|
+
export { drawerBlackWhiteList_exports as n, drawerBlackWhiteList_default as t };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
+
import { Lt as useToggle, s as postDictTypeSave } from "./index.js";
|
|
3
|
+
import { t as ACTION } from "./enum-D2UEJsrC.js";
|
|
4
|
+
import { createBlock, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, unref, withCtx } from "vue";
|
|
5
|
+
import { message } from "ant-design-vue";
|
|
6
|
+
import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, InputNumber, Space as Space$1, Textarea } from "ant-design-vue/es";
|
|
7
|
+
var drawerDictionary_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "DrawerDictionary",
|
|
9
|
+
__name: "drawerDictionary",
|
|
10
|
+
emits: ["submit"],
|
|
11
|
+
setup(e, { expose: r, emit: o }) {
|
|
12
|
+
let c = o, l = {
|
|
13
|
+
name: [{
|
|
14
|
+
required: !0,
|
|
15
|
+
message: "请输入类型名称",
|
|
16
|
+
trigger: "blur"
|
|
17
|
+
}],
|
|
18
|
+
code: [{
|
|
19
|
+
required: !0,
|
|
20
|
+
message: "请输入类型编码",
|
|
21
|
+
trigger: "blur"
|
|
22
|
+
}]
|
|
23
|
+
}, u = reactive({ title: "" }), [d, f] = useToggle(!1), p = ref(), m = ref({});
|
|
24
|
+
async function h(e, t) {
|
|
25
|
+
f(!0), u.title = e, e === ACTION.EDIT ? m.value = { ...t ?? {} } : m.value = {};
|
|
26
|
+
}
|
|
27
|
+
let [g, _] = useToggle(!1);
|
|
28
|
+
function v() {
|
|
29
|
+
p.value?.validate().then(() => {
|
|
30
|
+
_(!0), postDictTypeSave({ ...m.value }).then((e) => {
|
|
31
|
+
e.success && (message.success(`${u.title}成功!`), f(!1), c("submit"));
|
|
32
|
+
}).finally(() => _(!1));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function y() {
|
|
36
|
+
f(!1);
|
|
37
|
+
}
|
|
38
|
+
return r({ open: h }), (e, t) => {
|
|
39
|
+
let n = Input$1, r = FormItem, i = Textarea, a = InputNumber, o = Form$1, s = Button, c = Space$1, f = Drawer;
|
|
40
|
+
return openBlock(), createBlock(f, {
|
|
41
|
+
open: unref(d),
|
|
42
|
+
"onUpdate:open": t[5] ||= (e) => isRef(d) ? d.value = e : null,
|
|
43
|
+
title: `${unref(u).title}类型`,
|
|
44
|
+
placement: "right",
|
|
45
|
+
width: 520,
|
|
46
|
+
"destroy-on-close": "",
|
|
47
|
+
"footer-style": { textAlign: "right" },
|
|
48
|
+
onClose: y
|
|
49
|
+
}, {
|
|
50
|
+
footer: withCtx(() => [createVNode(c, null, {
|
|
51
|
+
default: withCtx(() => [createVNode(s, { onClick: y }, {
|
|
52
|
+
default: withCtx(() => [...t[6] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
53
|
+
_: 1
|
|
54
|
+
}), createVNode(s, {
|
|
55
|
+
type: "primary",
|
|
56
|
+
loading: unref(g),
|
|
57
|
+
onClick: t[4] ||= (e) => v()
|
|
58
|
+
}, {
|
|
59
|
+
default: withCtx(() => [...t[7] ||= [createTextVNode(" 提交 ", -1)]]),
|
|
60
|
+
_: 1
|
|
61
|
+
}, 8, ["loading"])]),
|
|
62
|
+
_: 1
|
|
63
|
+
})]),
|
|
64
|
+
default: withCtx(() => [createVNode(o, {
|
|
65
|
+
ref_key: "formRef",
|
|
66
|
+
ref: p,
|
|
67
|
+
model: unref(m),
|
|
68
|
+
rules: l,
|
|
69
|
+
"label-col": { span: 4 }
|
|
70
|
+
}, {
|
|
71
|
+
default: withCtx(() => [
|
|
72
|
+
createVNode(r, {
|
|
73
|
+
label: "类型名称",
|
|
74
|
+
name: "name"
|
|
75
|
+
}, {
|
|
76
|
+
default: withCtx(() => [createVNode(n, {
|
|
77
|
+
value: unref(m).name,
|
|
78
|
+
"onUpdate:value": t[0] ||= (e) => unref(m).name = e,
|
|
79
|
+
maxlength: 30
|
|
80
|
+
}, null, 8, ["value"])]),
|
|
81
|
+
_: 1
|
|
82
|
+
}),
|
|
83
|
+
createVNode(r, {
|
|
84
|
+
label: "类型编码",
|
|
85
|
+
name: "code"
|
|
86
|
+
}, {
|
|
87
|
+
default: withCtx(() => [createVNode(n, {
|
|
88
|
+
value: unref(m).code,
|
|
89
|
+
"onUpdate:value": t[1] ||= (e) => unref(m).code = e,
|
|
90
|
+
maxlength: 30,
|
|
91
|
+
disabled: unref(u).title === unref(ACTION).EDIT
|
|
92
|
+
}, null, 8, ["value", "disabled"])]),
|
|
93
|
+
_: 1
|
|
94
|
+
}),
|
|
95
|
+
createVNode(r, {
|
|
96
|
+
label: "描述",
|
|
97
|
+
name: "description"
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [createVNode(i, {
|
|
100
|
+
value: unref(m).description,
|
|
101
|
+
"onUpdate:value": t[2] ||= (e) => unref(m).description = e,
|
|
102
|
+
rows: 3,
|
|
103
|
+
"show-count": "",
|
|
104
|
+
maxlength: 200
|
|
105
|
+
}, null, 8, ["value"])]),
|
|
106
|
+
_: 1
|
|
107
|
+
}),
|
|
108
|
+
createVNode(r, {
|
|
109
|
+
label: "排序",
|
|
110
|
+
name: "sort"
|
|
111
|
+
}, {
|
|
112
|
+
default: withCtx(() => [createVNode(a, {
|
|
113
|
+
value: unref(m).sort,
|
|
114
|
+
"onUpdate:value": t[3] ||= (e) => unref(m).sort = e
|
|
115
|
+
}, null, 8, ["value"])]),
|
|
116
|
+
_: 1
|
|
117
|
+
})
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["model"])]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["open", "title"]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}), drawerDictionary_exports = /* @__PURE__ */ __exportAll({ default: () => drawerDictionary_default }), drawerDictionary_default = drawerDictionary_vue_vue_type_script_setup_true_lang_default;
|
|
126
|
+
export { drawerDictionary_exports as n, drawerDictionary_default as t };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
+
import { Lt as useToggle, a as postDictItemSave } from "./index.js";
|
|
3
|
+
import { t as ACTION } from "./enum-D2UEJsrC.js";
|
|
4
|
+
import { createBlock, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, unref, withCtx } from "vue";
|
|
5
|
+
import { message } from "ant-design-vue";
|
|
6
|
+
import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, InputNumber, Space as Space$1, Switch, Textarea } from "ant-design-vue/es";
|
|
7
|
+
var drawerDictionaryItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "DrawerDictionaryItem",
|
|
9
|
+
__name: "drawerDictionaryItem",
|
|
10
|
+
emits: ["submit"],
|
|
11
|
+
setup(e, { expose: i, emit: s }) {
|
|
12
|
+
let l = s, u = {
|
|
13
|
+
dictLabel: [{
|
|
14
|
+
required: !0,
|
|
15
|
+
message: "请输入字典项名称",
|
|
16
|
+
trigger: "blur"
|
|
17
|
+
}],
|
|
18
|
+
dictValue: [{
|
|
19
|
+
required: !0,
|
|
20
|
+
message: "请输入字典项值",
|
|
21
|
+
trigger: "blur"
|
|
22
|
+
}]
|
|
23
|
+
}, d = reactive({
|
|
24
|
+
title: "",
|
|
25
|
+
code: ""
|
|
26
|
+
}), [f, p] = useToggle(!1), m = ref(), h = ref({});
|
|
27
|
+
async function g(e, t, n) {
|
|
28
|
+
p(!0), d.title = e, d.code = t, e === ACTION.EDIT ? h.value = n ?? {} : (h.value = {}, h.value.enable = !0, h.value.code = t);
|
|
29
|
+
}
|
|
30
|
+
let [_, v] = useToggle(!1);
|
|
31
|
+
function y() {
|
|
32
|
+
m.value?.validate().then(() => {
|
|
33
|
+
v(!0), postDictItemSave({ ...h.value }).then((e) => {
|
|
34
|
+
e.success && (message.success(`${d.title}成功!`), p(!1), l("submit"));
|
|
35
|
+
}).finally(() => v(!1));
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function b() {
|
|
39
|
+
p(!1);
|
|
40
|
+
}
|
|
41
|
+
return i({ open: g }), (e, t) => {
|
|
42
|
+
let n = Input$1, r = FormItem, i = Textarea, a = InputNumber, o = Switch, s = Form$1, c = Button, l = Space$1, p = Drawer;
|
|
43
|
+
return openBlock(), createBlock(p, {
|
|
44
|
+
open: unref(f),
|
|
45
|
+
"onUpdate:open": t[6] ||= (e) => isRef(f) ? f.value = e : null,
|
|
46
|
+
title: `${unref(d).title}字典数据`,
|
|
47
|
+
placement: "right",
|
|
48
|
+
width: 520,
|
|
49
|
+
"destroy-on-close": "",
|
|
50
|
+
"footer-style": { textAlign: "right" },
|
|
51
|
+
onClose: b
|
|
52
|
+
}, {
|
|
53
|
+
footer: withCtx(() => [createVNode(l, null, {
|
|
54
|
+
default: withCtx(() => [createVNode(c, { onClick: b }, {
|
|
55
|
+
default: withCtx(() => [...t[7] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
56
|
+
_: 1
|
|
57
|
+
}), createVNode(c, {
|
|
58
|
+
type: "primary",
|
|
59
|
+
loading: unref(_),
|
|
60
|
+
onClick: t[5] ||= (e) => y()
|
|
61
|
+
}, {
|
|
62
|
+
default: withCtx(() => [...t[8] ||= [createTextVNode(" 提交 ", -1)]]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["loading"])]),
|
|
65
|
+
_: 1
|
|
66
|
+
})]),
|
|
67
|
+
default: withCtx(() => [createVNode(s, {
|
|
68
|
+
ref_key: "formRef",
|
|
69
|
+
ref: m,
|
|
70
|
+
model: unref(h),
|
|
71
|
+
rules: u,
|
|
72
|
+
"label-col": { span: 5 }
|
|
73
|
+
}, {
|
|
74
|
+
default: withCtx(() => [
|
|
75
|
+
createVNode(r, {
|
|
76
|
+
label: "字典项名称",
|
|
77
|
+
name: "dictLabel"
|
|
78
|
+
}, {
|
|
79
|
+
default: withCtx(() => [createVNode(n, {
|
|
80
|
+
value: unref(h).dictLabel,
|
|
81
|
+
"onUpdate:value": t[0] ||= (e) => unref(h).dictLabel = e,
|
|
82
|
+
maxlength: 100
|
|
83
|
+
}, null, 8, ["value"])]),
|
|
84
|
+
_: 1
|
|
85
|
+
}),
|
|
86
|
+
createVNode(r, {
|
|
87
|
+
label: "字典项值",
|
|
88
|
+
name: "dictValue"
|
|
89
|
+
}, {
|
|
90
|
+
default: withCtx(() => [createVNode(n, {
|
|
91
|
+
value: unref(h).dictValue,
|
|
92
|
+
"onUpdate:value": t[1] ||= (e) => unref(h).dictValue = e,
|
|
93
|
+
maxlength: 100
|
|
94
|
+
}, null, 8, ["value"])]),
|
|
95
|
+
_: 1
|
|
96
|
+
}),
|
|
97
|
+
createVNode(r, {
|
|
98
|
+
label: "描述",
|
|
99
|
+
name: "description"
|
|
100
|
+
}, {
|
|
101
|
+
default: withCtx(() => [createVNode(i, {
|
|
102
|
+
value: unref(h).description,
|
|
103
|
+
"onUpdate:value": t[2] ||= (e) => unref(h).description = e,
|
|
104
|
+
rows: 3,
|
|
105
|
+
"show-count": "",
|
|
106
|
+
maxlength: 200
|
|
107
|
+
}, null, 8, ["value"])]),
|
|
108
|
+
_: 1
|
|
109
|
+
}),
|
|
110
|
+
createVNode(r, {
|
|
111
|
+
label: "排序",
|
|
112
|
+
name: "sort"
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [createVNode(a, {
|
|
115
|
+
value: unref(h).sort,
|
|
116
|
+
"onUpdate:value": t[3] ||= (e) => unref(h).sort = e
|
|
117
|
+
}, null, 8, ["value"])]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
createVNode(r, {
|
|
121
|
+
label: "是否启动",
|
|
122
|
+
name: "enable"
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => [createVNode(o, {
|
|
125
|
+
checked: unref(h).enable,
|
|
126
|
+
"onUpdate:checked": t[4] ||= (e) => unref(h).enable = e
|
|
127
|
+
}, null, 8, ["checked"])]),
|
|
128
|
+
_: 1
|
|
129
|
+
})
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 8, ["model"])]),
|
|
133
|
+
_: 1
|
|
134
|
+
}, 8, ["open", "title"]);
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
}), drawerDictionaryItem_exports = /* @__PURE__ */ __exportAll({ default: () => drawerDictionaryItem_default }), drawerDictionaryItem_default = drawerDictionaryItem_vue_vue_type_script_setup_true_lang_default;
|
|
138
|
+
export { drawerDictionaryItem_exports as n, drawerDictionaryItem_default as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
1
2
|
import { Lt as useToggle, Pt as postGroupSaveOrUpdate, jt as getGroupDetailById, selectOrg, selectUser } from "./index.js";
|
|
2
3
|
import { n as GROUP_TYPE, r as useOptions, t as ACTION } from "./enum-Cr7uWnB2.js";
|
|
3
4
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, renderList, resolveComponent, toDisplayString, unref, withCtx } from "vue";
|
|
@@ -6,15 +7,15 @@ import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, Select, Spa
|
|
|
6
7
|
var _hoisted_1 = { class: "pt-10px" }, _hoisted_2 = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, _hoisted_3 = {
|
|
7
8
|
key: 1,
|
|
8
9
|
class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
|
|
9
|
-
},
|
|
10
|
+
}, drawerGroup_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
10
11
|
name: "DrawerGroup",
|
|
11
12
|
__name: "drawerGroup",
|
|
12
13
|
emits: ["submit"],
|
|
13
|
-
setup(
|
|
14
|
-
let
|
|
14
|
+
setup(e, { expose: c, emit: d }) {
|
|
15
|
+
let f = d, p = reactive({
|
|
15
16
|
title: "",
|
|
16
17
|
type: ""
|
|
17
|
-
}),
|
|
18
|
+
}), m = {
|
|
18
19
|
name: [{
|
|
19
20
|
required: !0,
|
|
20
21
|
message: "请输入群组名称",
|
|
@@ -39,132 +40,132 @@ var _hoisted_1 = { class: "pt-10px" }, _hoisted_2 = { class: "inline-block mb-6p
|
|
|
39
40
|
message: "请选择群组成员",
|
|
40
41
|
trigger: ["blur", "change"]
|
|
41
42
|
}]
|
|
42
|
-
}, [
|
|
43
|
+
}, [h, g] = useToggle(!1), _ = ref(), v = ref({}), y = computed(() => v.value?.pubGroupMemberList?.map((e) => ({
|
|
43
44
|
...e,
|
|
44
|
-
name:
|
|
45
|
+
name: p.type === GROUP_TYPE.ORG ? e.orgName : e.userName
|
|
45
46
|
})));
|
|
46
|
-
async function
|
|
47
|
-
if (
|
|
48
|
-
let e = await getGroupDetailById({ id:
|
|
49
|
-
e.success && (
|
|
47
|
+
async function b(e, t, n) {
|
|
48
|
+
if (g(!0), p.title = e, p.type = t, v.value = {}, e === ACTION.EDIT) {
|
|
49
|
+
let e = await getGroupDetailById({ id: n?.id });
|
|
50
|
+
e.success && (v.value = e?.data ?? {});
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
modelValue:
|
|
53
|
+
function x() {
|
|
54
|
+
p.type === GROUP_TYPE.ORG && selectOrg({
|
|
55
|
+
modelValue: v.value.pubGroupMemberList ?? [],
|
|
55
56
|
multiple: !0,
|
|
56
57
|
onSubmit(e = []) {
|
|
57
|
-
|
|
58
|
+
v.value.pubGroupMemberList = e;
|
|
58
59
|
}
|
|
59
|
-
}),
|
|
60
|
-
modelValue:
|
|
60
|
+
}), p.type === GROUP_TYPE.PER && selectUser({
|
|
61
|
+
modelValue: v.value.pubGroupMemberList ?? [],
|
|
61
62
|
multiple: !0,
|
|
62
63
|
onSubmit(e = []) {
|
|
63
|
-
|
|
64
|
+
v.value.pubGroupMemberList = e;
|
|
64
65
|
}
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
|
-
let [
|
|
68
|
-
function
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
let { pubGroupMemberList: e = [], ...
|
|
72
|
-
...
|
|
73
|
-
type:
|
|
68
|
+
let [S, C] = useToggle(!1);
|
|
69
|
+
function w() {
|
|
70
|
+
_.value?.validate().then(() => {
|
|
71
|
+
C(!0);
|
|
72
|
+
let { pubGroupMemberList: e = [], ...t } = v.value, r = {
|
|
73
|
+
...t,
|
|
74
|
+
type: p.type,
|
|
74
75
|
pubGroupMemberList: e?.map((e) => ({
|
|
75
76
|
orgId: e?.orgId,
|
|
76
77
|
userId: e?.userId
|
|
77
78
|
}))
|
|
78
79
|
};
|
|
79
|
-
delete
|
|
80
|
-
e.success && (message.success(`${
|
|
81
|
-
}).finally(() =>
|
|
80
|
+
delete r.createTime, delete r.updateTime, postGroupSaveOrUpdate(r).then((e) => {
|
|
81
|
+
e.success && (message.success(`${p.title}成功!`), g(!1), f("submit"));
|
|
82
|
+
}).finally(() => C(!1));
|
|
82
83
|
});
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
-
|
|
85
|
+
function T() {
|
|
86
|
+
g(!1);
|
|
86
87
|
}
|
|
87
|
-
return
|
|
88
|
-
let
|
|
89
|
-
return openBlock(), createBlock(
|
|
90
|
-
open: unref(
|
|
91
|
-
"onUpdate:open":
|
|
92
|
-
title: `${unref(
|
|
88
|
+
return c({ open: b }), (e, t) => {
|
|
89
|
+
let n = Input$1, r = FormItem, i = Textarea, a = Select, o = Button, s = Tooltip$1, c = Form$1, l = Space$1, u = Drawer;
|
|
90
|
+
return openBlock(), createBlock(u, {
|
|
91
|
+
open: unref(h),
|
|
92
|
+
"onUpdate:open": t[4] ||= (e) => isRef(h) ? h.value = e : null,
|
|
93
|
+
title: `${unref(p).title}${unref(p).type === unref(GROUP_TYPE).ORG ? "组织" : "人员"}群组`,
|
|
93
94
|
placement: "right",
|
|
94
95
|
width: 600,
|
|
95
96
|
"destroy-on-close": "",
|
|
96
97
|
"footer-style": { textAlign: "right" },
|
|
97
|
-
onClose:
|
|
98
|
+
onClose: T
|
|
98
99
|
}, {
|
|
99
|
-
footer: withCtx(() => [createVNode(
|
|
100
|
-
default: withCtx(() => [createVNode(
|
|
101
|
-
default: withCtx(() => [...
|
|
100
|
+
footer: withCtx(() => [createVNode(l, null, {
|
|
101
|
+
default: withCtx(() => [createVNode(o, { onClick: T }, {
|
|
102
|
+
default: withCtx(() => [...t[6] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
102
103
|
_: 1
|
|
103
|
-
}), createVNode(
|
|
104
|
+
}), createVNode(o, {
|
|
104
105
|
type: "primary",
|
|
105
|
-
loading: unref(
|
|
106
|
-
onClick:
|
|
106
|
+
loading: unref(S),
|
|
107
|
+
onClick: t[3] ||= (e) => w()
|
|
107
108
|
}, {
|
|
108
|
-
default: withCtx(() => [...
|
|
109
|
+
default: withCtx(() => [...t[7] ||= [createTextVNode(" 提交 ", -1)]]),
|
|
109
110
|
_: 1
|
|
110
111
|
}, 8, ["loading"])]),
|
|
111
112
|
_: 1
|
|
112
113
|
})]),
|
|
113
|
-
default: withCtx(() => [createVNode(
|
|
114
|
+
default: withCtx(() => [createVNode(c, {
|
|
114
115
|
ref_key: "formRef",
|
|
115
|
-
ref:
|
|
116
|
-
model: unref(
|
|
117
|
-
rules:
|
|
116
|
+
ref: _,
|
|
117
|
+
model: unref(v),
|
|
118
|
+
rules: m,
|
|
118
119
|
"label-col": { span: 5 },
|
|
119
120
|
"label-wrap": !0
|
|
120
121
|
}, {
|
|
121
122
|
default: withCtx(() => [
|
|
122
|
-
createVNode(
|
|
123
|
+
createVNode(r, {
|
|
123
124
|
label: "群组名称",
|
|
124
125
|
name: "name"
|
|
125
126
|
}, {
|
|
126
|
-
default: withCtx(() => [createVNode(
|
|
127
|
-
value: unref(
|
|
128
|
-
"onUpdate:value":
|
|
127
|
+
default: withCtx(() => [createVNode(n, {
|
|
128
|
+
value: unref(v).name,
|
|
129
|
+
"onUpdate:value": t[0] ||= (e) => unref(v).name = e,
|
|
129
130
|
maxlength: 128
|
|
130
131
|
}, null, 8, ["value"])]),
|
|
131
132
|
_: 1
|
|
132
133
|
}),
|
|
133
|
-
createVNode(
|
|
134
|
+
createVNode(r, {
|
|
134
135
|
label: "群组描述",
|
|
135
136
|
name: "remark"
|
|
136
137
|
}, {
|
|
137
|
-
default: withCtx(() => [createVNode(
|
|
138
|
-
value: unref(
|
|
139
|
-
"onUpdate:value":
|
|
138
|
+
default: withCtx(() => [createVNode(i, {
|
|
139
|
+
value: unref(v).remark,
|
|
140
|
+
"onUpdate:value": t[1] ||= (e) => unref(v).remark = e,
|
|
140
141
|
maxlength: 250,
|
|
141
142
|
"show-count": ""
|
|
142
143
|
}, null, 8, ["value"])]),
|
|
143
144
|
_: 1
|
|
144
145
|
}),
|
|
145
|
-
createVNode(
|
|
146
|
+
createVNode(r, {
|
|
146
147
|
label: "群组使用范围",
|
|
147
148
|
name: "viewScope"
|
|
148
149
|
}, {
|
|
149
|
-
default: withCtx(() => [createVNode(
|
|
150
|
-
value: unref(
|
|
151
|
-
"onUpdate:value":
|
|
150
|
+
default: withCtx(() => [createVNode(a, {
|
|
151
|
+
value: unref(v).viewScope,
|
|
152
|
+
"onUpdate:value": t[2] ||= (e) => unref(v).viewScope = e,
|
|
152
153
|
options: unref(useOptions),
|
|
153
154
|
placeholder: "本部门/本部门及子部门/全部"
|
|
154
155
|
}, null, 8, ["value", "options"])]),
|
|
155
156
|
_: 1
|
|
156
157
|
}),
|
|
157
|
-
createVNode(
|
|
158
|
+
createVNode(r, {
|
|
158
159
|
label: "群组成员",
|
|
159
160
|
name: "pubGroupMemberList"
|
|
160
161
|
}, {
|
|
161
|
-
default: withCtx(() => [createVNode(
|
|
162
|
+
default: withCtx(() => [createVNode(o, {
|
|
162
163
|
type: "primary",
|
|
163
|
-
onClick:
|
|
164
|
+
onClick: x
|
|
164
165
|
}, {
|
|
165
|
-
default: withCtx(() => [...
|
|
166
|
+
default: withCtx(() => [...t[5] ||= [createTextVNode(" 编辑成员 ", -1)]]),
|
|
166
167
|
_: 1
|
|
167
|
-
}), createElementVNode("div", _hoisted_1, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(
|
|
168
|
+
}), createElementVNode("div", _hoisted_1, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(y), (e) => (openBlock(), createElementBlock(Fragment, { key: e }, [e.name && e.name?.length > 20 ? (openBlock(), createBlock(s, {
|
|
168
169
|
key: 0,
|
|
169
170
|
title: e.name
|
|
170
171
|
}, {
|
|
@@ -180,5 +181,5 @@ var _hoisted_1 = { class: "pt-10px" }, _hoisted_2 = { class: "inline-block mb-6p
|
|
|
180
181
|
}, 8, ["open", "title"]);
|
|
181
182
|
};
|
|
182
183
|
}
|
|
183
|
-
});
|
|
184
|
-
export { drawerGroup_default as t };
|
|
184
|
+
}), drawerGroup_exports = /* @__PURE__ */ __exportAll({ default: () => drawerGroup_default }), drawerGroup_default = drawerGroup_vue_vue_type_script_setup_true_lang_default;
|
|
185
|
+
export { drawerGroup_exports as n, drawerGroup_default as t };
|