@pubinfo-pr/module-rbac 0.224.1 → 0.225.2

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.
Files changed (98) hide show
  1. package/dist/api/modules/assist/gonggaofuwu.d.ts +43 -0
  2. package/dist/api/modules/assist/index.d.ts +1 -0
  3. package/dist/api/modules/assist/qunzujiekou.d.ts +0 -28
  4. package/dist/api/modules/rbac/gangweijiekou.d.ts +0 -7
  5. package/dist/api/modules/rbac/jiaosejiekou.d.ts +0 -14
  6. package/dist/api/modules/rbac/yonghujiekou.d.ts +0 -42
  7. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +0 -7
  8. package/dist/api/modules/rbac/zuzhijiekou.d.ts +0 -7
  9. package/dist/breadcrumb_setting-BbYhO74F.js +108 -0
  10. package/dist/{drawerOrganization-CPsQlz-f.js → drawerOrganization-CwtSFUj0.js} +24 -59
  11. package/dist/index.css +1 -1
  12. package/dist/index.js +17 -17
  13. package/dist/lottie-03f0a035.json +1 -0
  14. package/dist/lottie-0ee63e7f.json +1 -0
  15. package/dist/lottie-10eef4fe.json +1 -0
  16. package/dist/lottie-13f452f1.json +1 -0
  17. package/dist/lottie-14b7b290.json +1 -0
  18. package/dist/lottie-15b8cef1.json +1 -0
  19. package/dist/lottie-15f77960.json +1 -0
  20. package/dist/lottie-1ae9b726.json +1 -0
  21. package/dist/lottie-1b02359f.json +1 -0
  22. package/dist/lottie-1ef286cd.json +1 -0
  23. package/dist/lottie-23cfd18c.json +1 -0
  24. package/dist/lottie-265a0a5d.json +1 -0
  25. package/dist/lottie-28d57c49.json +1 -0
  26. package/dist/lottie-2b54ed10.json +1 -0
  27. package/dist/lottie-2bb6f642.json +1 -0
  28. package/dist/lottie-2cdc07bd.json +1 -0
  29. package/dist/lottie-31c58607.json +1 -0
  30. package/dist/lottie-32884f23.json +1 -0
  31. package/dist/lottie-32fca43a.json +1 -0
  32. package/dist/lottie-3a75445b.json +1 -0
  33. package/dist/lottie-3f27d67c.json +1 -0
  34. package/dist/lottie-4189453f.json +1 -0
  35. package/dist/lottie-4702b37c.json +1 -0
  36. package/dist/lottie-520a5c68.json +1 -0
  37. package/dist/lottie-56bea508.json +1 -0
  38. package/dist/lottie-57c732a3.json +1 -0
  39. package/dist/lottie-5be4a28f.json +1 -0
  40. package/dist/lottie-5e6d7cfa.json +1 -0
  41. package/dist/lottie-64e176c9.json +1 -0
  42. package/dist/lottie-6583dca6.json +1 -0
  43. package/dist/lottie-66c640c6.json +1 -0
  44. package/dist/lottie-68393156.json +1 -0
  45. package/dist/lottie-688465aa.json +1 -0
  46. package/dist/lottie-6bf334f4.json +1 -0
  47. package/dist/lottie-7b4f72ce.json +1 -0
  48. package/dist/lottie-837ec087.json +1 -0
  49. package/dist/lottie-838ac1ba.json +1 -0
  50. package/dist/lottie-8465c2cf.json +1 -0
  51. package/dist/lottie-9e9f04a4.json +1 -0
  52. package/dist/lottie-a13964cb.json +1 -0
  53. package/dist/lottie-ab93a057.json +1 -0
  54. package/dist/lottie-abe308fc.json +1 -0
  55. package/dist/lottie-b24f2cd3.json +1 -0
  56. package/dist/lottie-bf00eaed.json +1 -0
  57. package/dist/lottie-cb22efd7.json +1 -0
  58. package/dist/lottie-cb953f20.json +1 -0
  59. package/dist/lottie-cc209e34.json +1 -0
  60. package/dist/lottie-cfdffceb.json +1 -0
  61. package/dist/lottie-d33c0299.json +1 -0
  62. package/dist/lottie-d430c8ca.json +1 -0
  63. package/dist/lottie-d8cfa560.json +1 -0
  64. package/dist/lottie-da91beb6.json +1 -0
  65. package/dist/lottie-e2bdf85c.json +1 -0
  66. package/dist/lottie-e34ad826.json +1 -0
  67. package/dist/lottie-e80720aa.json +1 -0
  68. package/dist/lottie-e894bc92.json +1 -0
  69. package/dist/lottie-f28020f2.json +1 -0
  70. package/dist/lottie-f71ebbf4.json +1 -0
  71. package/dist/lottie-fb1f4917.json +1 -0
  72. package/dist/lottie-ff2e97c4.json +1 -0
  73. package/dist/menu_setting-CiLR0vkM.js +155 -0
  74. package/dist/{organization-BXGT-lb7.js → organization-Dv3FbKke.js} +1 -1
  75. package/dist/other_setting-eDXoBjJm.js +213 -0
  76. package/dist/page_animation_setting-D1L1pmXk.js +108 -0
  77. package/dist/tabbar_setting-CfE94AAt.js +139 -0
  78. package/dist/toolbar_setting-CwfUnZ1j.js +140 -0
  79. package/dist/watermark_setting-DGSDikAC.js +191 -0
  80. package/package.json +3 -3
  81. package/src/api/modules/assist/gonggaofuwu.ts +124 -0
  82. package/src/api/modules/assist/index.ts +1 -0
  83. package/src/api/modules/assist/qunzujiekou.ts +0 -72
  84. package/src/api/modules/assist/typings.d.ts +129 -17
  85. package/src/api/modules/rbac/gangweijiekou.ts +0 -18
  86. package/src/api/modules/rbac/jiaosejiekou.ts +0 -36
  87. package/src/api/modules/rbac/typings.d.ts +1 -133
  88. package/src/api/modules/rbac/yonghujiekou.ts +0 -122
  89. package/src/api/modules/rbac/ziyuanjiekou.ts +0 -21
  90. package/src/api/modules/rbac/zuzhijiekou.ts +0 -18
  91. package/src/views/organization/components/drawerOrganization.vue +0 -43
  92. package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
  93. package/dist/menu_setting-ChueWHs4.js +0 -155
  94. package/dist/other_setting-BEV_UK0g.js +0 -213
  95. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  96. package/dist/tabbar_setting-kbuTvrLB.js +0 -139
  97. package/dist/toolbar_setting-BG-k2UFc.js +0 -140
  98. package/dist/watermark_setting-Cl2EtPAa.js +0 -191
@@ -0,0 +1,43 @@
1
+ import { basic as request } from '@/api/request';
2
+ /**
3
+ * @description 删除公告服务
4
+ * @url /notice/deleteNotice
5
+ * @method GET
6
+ * @author @pubinfo/openapi
7
+ */
8
+ export declare function getNoticeDeleteNotice<R = API.ResponseData, T = API.ResponseData>(params: API.getNoticeDeleteNoticeParams, options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
9
+ /**
10
+ * @description 删除公告推送基本信息
11
+ * @url /notice/deleteNoticeSend
12
+ * @method GET
13
+ * @author @pubinfo/openapi
14
+ */
15
+ export declare function getNoticeDeleteNoticeSend<R = API.ResponseData, T = API.ResponseData>(params: API.getNoticeDeleteNoticeSendParams, options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
16
+ /**
17
+ * @description 公告服务详情
18
+ * @url /notice/detailNotice
19
+ * @method GET
20
+ * @author @pubinfo/openapi
21
+ */
22
+ export declare function getNoticeDetailNotice<R = API.ResponseData, T = API.ResponseData>(params: API.getNoticeDetailNoticeParams, options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
23
+ /**
24
+ * @description 公告分页查询
25
+ * @url /notice/pageNotice
26
+ * @method POST
27
+ * @author @pubinfo/openapi
28
+ */
29
+ export declare function postNoticePageNotice<R = API.ResponseDataPageDataPubNotice, T = API.ResponseDataPageDataPubNotice>(body: API.PubNoticePageDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
30
+ /**
31
+ * @description 新增或编辑公告服务
32
+ * @url /notice/saveOrUpdateNotice
33
+ * @method POST
34
+ * @author @pubinfo/openapi
35
+ */
36
+ export declare function postNoticeSaveOrUpdateNotice<R = API.ResponseData, T = API.ResponseData>(body: API.PubNoticeDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
37
+ /**
38
+ * @description 新增或编辑公告推送基本信息
39
+ * @url /notice/saveOrUpdateNoticeSend
40
+ * @method POST
41
+ * @author @pubinfo/openapi
42
+ */
43
+ export declare function postNoticeSaveOrUpdateNoticeSend<R = API.ResponseData, T = API.ResponseData>(body: API.PubNoticeSendDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -1,2 +1,3 @@
1
+ export * from './gonggaofuwu';
1
2
  export * from './qunzujiekou';
2
3
  export * from './quyujiekou';
@@ -27,20 +27,6 @@ export declare function getGroupDetailById<R = API.ResponseDataPubGroupBo, T = A
27
27
  * @author @pubinfo/openapi
28
28
  */
29
29
  export declare function postGroupFindPage<R = API.ResponseDataPageDataPubGroup, T = API.ResponseDataPageDataPubGroup>(body: API.pubGroupDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
30
- /**
31
- * @description 获得组织组列表
32
- * @url /group/getOrgGroupList
33
- * @method POST
34
- * @author @pubinfo/openapi
35
- */
36
- export declare function postGroupGetOrgGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
37
- /**
38
- * @description 获得用户组列表
39
- * @url /group/getUserGroupList
40
- * @method POST
41
- * @author @pubinfo/openapi
42
- */
43
- export declare function postGroupGetUserGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
44
30
  /**
45
31
  * @description 群组信息不分页查询 list
46
32
  * @url /group/list
@@ -55,17 +41,3 @@ export declare function postGroupList<R = API.ResponseDataListPubGroup, T = API.
55
41
  * @author @pubinfo/openapi
56
42
  */
57
43
  export declare function postGroupSaveOrUpdate<R = API.ResponseData, T = API.ResponseData>(body: API.PubGroupBo, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
58
- /**
59
- * @description 校验组织群组们是否有效
60
- * @url /group/validOrgGroups
61
- * @method POST
62
- * @author @pubinfo/openapi
63
- */
64
- export declare function postGroupValidOrgGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
65
- /**
66
- * @description 校验用户群组们是否有效
67
- * @url /group/validUserGroups
68
- * @method POST
69
- * @author @pubinfo/openapi
70
- */
71
- export declare function postGroupValidUserGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -41,10 +41,3 @@ export declare function getRbacPostList<R = API.ResponseDataListPubPost, T = API
41
41
  * @author @pubinfo/openapi
42
42
  */
43
43
  export declare function postRbacPostSave<R = API.ResponseDataString, T = API.ResponseDataString>(body: API.PubPostDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
44
- /**
45
- * @description 校验岗位们是否有效
46
- * @url /rbac/post/validPostList
47
- * @method POST
48
- * @author @pubinfo/openapi
49
- */
50
- export declare function postRbacPostValidPostList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -6,13 +6,6 @@ import { basic as request } from '@/api/request';
6
6
  * @author @pubinfo/openapi
7
7
  */
8
8
  export declare function postRbacRoleAddRole<R = API.ResponseDataPubRoleBo, T = API.ResponseDataPubRoleBo>(body: API.PubRoleAddDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
9
- /**
10
- * @description 获得拥有多个角色的用户编号集合
11
- * @url /rbac/role/getUserRoleIdListByRoleIds
12
- * @method POST
13
- * @author @pubinfo/openapi
14
- */
15
- export declare function postRbacRoleGetUserRoleIdListByRoleIds<R = API.ResponseDataPubUserRoleBo, T = API.ResponseDataPubUserRoleBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
16
9
  /**
17
10
  * @description 根据id查询
18
11
  * @url /rbac/role/info
@@ -55,10 +48,3 @@ export declare function postRbacRoleRoleUpdate<R = API.ResponseDataPubRoleBo, T
55
48
  * @author @pubinfo/openapi
56
49
  */
57
50
  export declare function postRbacRoleRoleUserPage<R = API.ResponseDataPageDataPubUserOrgRoleBo, T = API.ResponseDataPageDataPubUserOrgRoleBo>(body: API.PubRoleQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
58
- /**
59
- * @description 校验角色们是否有效
60
- * @url /rbac/role/validRoleList
61
- * @method POST
62
- * @author @pubinfo/openapi
63
- */
64
- export declare function postRbacRoleValidRoleList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -1,11 +1,4 @@
1
1
  import { basic as request } from '@/api/request';
2
- /**
3
- * @description 验证码-修改登录密码
4
- * @url /rbac/user/captcha/changePasswordWithVerifyCode
5
- * @method POST
6
- * @author @pubinfo/openapi
7
- */
8
- export declare function postRbacUserCaptchaChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserCaptchaChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
9
2
  /**
10
3
  * @description 修改登录密码
11
4
  * @url /rbac/user/changePassword
@@ -27,34 +20,6 @@ export declare function postRbacUserChangePassword<R = API.ResponseDataVoid, T =
27
20
  * @author @pubinfo/openapi
28
21
  */
29
22
  export declare function postRbacUserChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
30
- /**
31
- * @description 根据id查询
32
- * @url /rbac/user/getUser
33
- * @method POST
34
- * @author @pubinfo/openapi
35
- */
36
- export declare function postRbacUserGetUser<R = API.ResponseDataPubUser, T = API.ResponseDataPubUser>(params: API.postRbacUserGetUserParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
37
- /**
38
- * @description 通过用户ID查询用户们
39
- * @url /rbac/user/getUserList
40
- * @method POST
41
- * @author @pubinfo/openapi
42
- */
43
- export declare function postRbacUserGetUserList<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
44
- /**
45
- * @description 获得指定组织的用户数组
46
- * @url /rbac/user/getUserListByOrgIds
47
- * @method POST
48
- * @author @pubinfo/openapi
49
- */
50
- export declare function postRbacUserGetUserListByOrgIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
51
- /**
52
- * @description 获得指定岗位的用户数组
53
- * @url /rbac/user/getUserListByPostIds
54
- * @method POST
55
- * @author @pubinfo/openapi
56
- */
57
- export declare function postRbacUserGetUserListByPostIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
58
23
  /**
59
24
  * @description 编辑角色和授权数据权限
60
25
  * @url /rbac/user/grantUserRoleAndDatPermission
@@ -139,10 +104,3 @@ export declare function postRbacUserUserUpdate<R = API.ResponseDataVoid, T = API
139
104
  * @author @pubinfo/openapi
140
105
  */
141
106
  export declare function postRbacUserUserUpdateV2<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubUserUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
142
- /**
143
- * @description 校验用户们是否有效
144
- * @url /rbac/user/validateUserList
145
- * @method POST
146
- * @author @pubinfo/openapi
147
- */
148
- export declare function postRbacUserValidateUserList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -55,13 +55,6 @@ export declare function postRbacResourceMenuTree<R = API.ResponseDataListPubReso
55
55
  * @author @pubinfo/openapi
56
56
  */
57
57
  export declare function postRbacResourceMineOrAllResourceTree<R = API.ResponseDataListPubResourceTreeBo, T = API.ResponseDataListPubResourceTreeBo>(params: API.postRbacResourceMineOrAllResourceTreeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
58
- /**
59
- * @description 资源拖拉拽更新
60
- * @url /rbac/resource/reSortUpdate
61
- * @method POST
62
- * @author @pubinfo/openapi
63
- */
64
- export declare function postRbacResourceReSortUpdate<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubResourceReSortUpdateDTO[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
65
58
  /**
66
59
  * @description 资源删除
67
60
  * @url /rbac/resource/resourceDelete
@@ -62,10 +62,3 @@ export declare function getRbacOrgSearchTreeById<R = API.ResponseDataPubOrgTreeB
62
62
  * @author @pubinfo/openapi
63
63
  */
64
64
  export declare function postRbacOrgUpdateOrg<R = API.ResponseDataPubOrg, T = API.ResponseDataPubOrg>(body: API.PubOrgUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
65
- /**
66
- * @description 校验组织们是否有效
67
- * @url /rbac/org/validateOrgList
68
- * @method POST
69
- * @author @pubinfo/openapi
70
- */
71
- export declare function postRbacOrgValidateOrgList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -0,0 +1,108 @@
1
+ import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
2
+ import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
3
+ import "./animation_item-DBOz2rcX.js";
4
+ import "./HCheckList-ODQHidN8.js";
5
+ import { t as setItem_default } from "./setItem-Vkcwkj-O.js";
6
+ import { PubinfoIcon } from "pubinfo-pr";
7
+ import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, reactive, renderList, resolveComponent, unref } from "vue";
8
+ import { message } from "ant-design-vue";
9
+ import './breadcrumb_setting.css';var enable_default$1 = new URL("lottie-2bb6f642.json", import.meta.url).href, enableMainMenu_default$1 = new URL("lottie-b24f2cd3.json", import.meta.url).href, style_default$1 = new URL("lottie-7b4f72ce.json", import.meta.url).href, enable_default = new URL("lottie-2cdc07bd.json", import.meta.url).href, enableMainMenu_default = new URL("lottie-fb1f4917.json", import.meta.url).href, style_default = new URL("lottie-03f0a035.json", import.meta.url).href, _hoisted_1 = {
10
+ "w-full": "",
11
+ "h-full": "",
12
+ "p-10px": ""
13
+ }, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = {
14
+ class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
15
+ aspect: "[3/2] "
16
+ }, breadcrumb_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
17
+ name: "BreadcrumbSetting",
18
+ __name: "index",
19
+ setup(e) {
20
+ let r = useSettingsStore(), i = reactive([
21
+ {
22
+ name: "是否启用",
23
+ type: "switch",
24
+ descripe: "",
25
+ open: r.globalSettings.breadcrumb.enable,
26
+ activeStyle: "",
27
+ lightData: enable_default,
28
+ darkData: enable_default$1
29
+ },
30
+ {
31
+ name: "风格",
32
+ type: "check",
33
+ descripe: "",
34
+ open: !0,
35
+ activeStyle: r.globalSettings.breadcrumb.style,
36
+ styleOptions: [{
37
+ label: "默认",
38
+ value: ""
39
+ }, {
40
+ label: "现代",
41
+ value: "modern"
42
+ }],
43
+ lightData: style_default,
44
+ darkData: style_default$1
45
+ },
46
+ {
47
+ name: "是否显示主导航",
48
+ type: "switch",
49
+ descripe: "",
50
+ open: r.globalSettings.breadcrumb.enableMainMenu,
51
+ activeStyle: "",
52
+ lightData: enableMainMenu_default,
53
+ darkData: enableMainMenu_default$1
54
+ }
55
+ ]), a = "";
56
+ function o(e, t) {
57
+ switch (e) {
58
+ case 0:
59
+ r.globalSettings.breadcrumb.enable = t, a = JSON.stringify({ breadcrumb: { enable: t } });
60
+ break;
61
+ case 1:
62
+ r.globalSettings.breadcrumb.style = t, a = JSON.stringify({ breadcrumb: { style: t } });
63
+ break;
64
+ case 2:
65
+ r.globalSettings.breadcrumb.enableMainMenu = t, a = JSON.stringify({ breadcrumb: { enableMainMenu: t } });
66
+ break;
67
+ }
68
+ s(a);
69
+ }
70
+ function s(e) {
71
+ postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
72
+ e.success && message.success("设置成功");
73
+ });
74
+ }
75
+ return (e, t) => {
76
+ let n = PubinfoIcon;
77
+ return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
78
+ name: "icon_breadcrumb",
79
+ class: "text-base mr-[6px]",
80
+ size: 22
81
+ }), t[0] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "面包屑导航", -1)]), createElementVNode("div", _hoisted_4, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(i), (e, t) => (openBlock(), createBlock(setItem_default, {
82
+ key: e.name,
83
+ class: "mb-20px",
84
+ aspect: "[9/6]",
85
+ name: e.name,
86
+ descripe: e.descripe,
87
+ open: e.open,
88
+ type: e.type,
89
+ "active-style": e.activeStyle,
90
+ "style-options": e.styleOptions,
91
+ "light-animation-data": e.lightData,
92
+ "dark-animation-data": e.darkData,
93
+ onChange: (e) => o(t, e)
94
+ }, null, 8, [
95
+ "name",
96
+ "descripe",
97
+ "open",
98
+ "type",
99
+ "active-style",
100
+ "style-options",
101
+ "light-animation-data",
102
+ "dark-animation-data",
103
+ "onChange"
104
+ ]))), 128))])])]);
105
+ };
106
+ }
107
+ }), [["__scopeId", "data-v-b756993c"]]);
108
+ export { breadcrumb_setting_default as default };
@@ -1,6 +1,6 @@
1
1
  import { r as __exportAll } from "./chunk-DiMWNkAf.js";
2
- import { C as postRbacOrgUpdateOrg, Lt as useToggle, r as getDictItemList, selectUser, v as getRbacOrgInfo, x as postRbacOrgAddOrg } from "./index.js";
3
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
2
+ import { C as postRbacOrgUpdateOrg, Lt as useToggle, r as getDictItemList, v as getRbacOrgInfo, x as postRbacOrgAddOrg } from "./index.js";
3
+ import { createBlock, createCommentVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
4
4
  import { message } from "ant-design-vue";
5
5
  import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, InputNumber, Select, Space as Space$1, Switch } from "ant-design-vue/es";
6
6
  let ACTION = /* @__PURE__ */ function(e) {
@@ -11,18 +11,12 @@ let ACTION = /* @__PURE__ */ function(e) {
11
11
  return e[e.ON = 1] = "ON", e[e.OFF = 0] = "OFF", e;
12
12
  }({});
13
13
  RESOURCE_TYPE.OWNER, RESOURCE_TYPE.ALL, ENABLE_TYPE.ON, ENABLE_TYPE.OFF;
14
- var _hoisted_1 = {
15
- flex: "",
16
- "items-center": ""
17
- }, _hoisted_2 = {
18
- key: 0,
19
- "mr-6px": ""
20
- }, drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
14
+ var drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
21
15
  name: "OrganizationEdit",
22
16
  __name: "drawerOrganization",
23
17
  emits: ["submit"],
24
- setup(e, { expose: s, emit: u }) {
25
- let d = u, f = {
18
+ setup(e, { expose: o, emit: l }) {
19
+ let d = l, f = {
26
20
  name: [{
27
21
  required: !0,
28
22
  message: "请输入组织名称",
@@ -79,15 +73,11 @@ var _hoisted_1 = {
79
73
  let v = ref({
80
74
  parentId: "",
81
75
  enable: !0
82
- }), y = ref([]);
83
- async function b(e, t) {
84
- if (h(!0), p.title = e, y.value = [], e === ACTION.EDIT) {
76
+ });
77
+ async function y(e, t) {
78
+ if (h(!0), p.title = e, e === ACTION.EDIT) {
85
79
  let e = await getRbacOrgInfo({ id: t?.id });
86
- e.success && (v.value = e.data ?? {}, y.value = [{
87
- orgId: e.data?.leaderUserOrgId ?? "",
88
- userId: e.data?.leaderUserId ?? "",
89
- userName: e.data?.leaderUserName ?? ""
90
- }]);
80
+ e.success && (v.value = e.data ?? {});
91
81
  } else e === ACTION.ADDNEXT ? v.value = {
92
82
  parentName: t?.name,
93
83
  parentId: t?.id,
@@ -99,35 +89,20 @@ var _hoisted_1 = {
99
89
  district: !1
100
90
  };
101
91
  }
102
- function x() {
103
- selectUser({
104
- modelValue: y.value,
105
- multiple: !1,
106
- onSubmit(e = []) {
107
- y.value = e.map((e) => ({
108
- orgId: e.orgId,
109
- userId: e.userId,
110
- userName: e.userName
111
- }));
112
- }
113
- });
114
- }
115
- let [S, C] = useToggle(!1);
116
- function w() {
92
+ let [b, x] = useToggle(!1);
93
+ function S() {
117
94
  let e = p.title === ACTION.EDIT ? postRbacOrgUpdateOrg : postRbacOrgAddOrg;
118
95
  g.value?.validate().then(() => {
119
- C(!0);
120
- let t = { ...v.value };
121
- y.value.length > 0 && (t.leaderUserId = y.value[0].userId, t.leaderUserName = y.value[0].userName, t.leaderUserOrgId = y.value[0].orgId), e(t).then((e) => {
96
+ x(!0), e({ ...v.value }).then((e) => {
122
97
  e.success && (message.success(`${p.title}成功!`), h(!1), d("submit", { ...v.value }));
123
- }).finally(() => C(!1));
98
+ }).finally(() => x(!1));
124
99
  });
125
100
  }
126
- function T() {
101
+ function C() {
127
102
  v.value = { enable: !1 }, h(!1);
128
103
  }
129
- return s({ open: b }), (e, t) => {
130
- let n = FormItem, r = Input$1, i = Select, a = Switch, o = InputNumber, s = Button, c = Form$1, l = Space$1, u = Drawer;
104
+ return o({ open: y }), (e, t) => {
105
+ let n = FormItem, r = Input$1, i = Select, a = Switch, o = InputNumber, s = Form$1, c = Button, l = Space$1, u = Drawer;
131
106
  return openBlock(), createBlock(u, {
132
107
  open: unref(m),
133
108
  "onUpdate:open": t[11] ||= (e) => isRef(m) ? m.value = e : null,
@@ -136,23 +111,23 @@ var _hoisted_1 = {
136
111
  width: 600,
137
112
  "destroy-on-close": "",
138
113
  "footer-style": { textAlign: "right" },
139
- onClose: T
114
+ onClose: C
140
115
  }, {
141
116
  footer: withCtx(() => [createVNode(l, null, {
142
- default: withCtx(() => [createVNode(s, { onClick: T }, {
143
- default: withCtx(() => [...t[13] ||= [createTextVNode(" 取消 ", -1)]]),
117
+ default: withCtx(() => [createVNode(c, { onClick: C }, {
118
+ default: withCtx(() => [...t[12] ||= [createTextVNode(" 取消 ", -1)]]),
144
119
  _: 1
145
- }), createVNode(s, {
120
+ }), createVNode(c, {
146
121
  type: "primary",
147
- loading: unref(S),
148
- onClick: t[10] ||= (e) => w()
122
+ loading: unref(b),
123
+ onClick: t[10] ||= (e) => S()
149
124
  }, {
150
- default: withCtx(() => [...t[14] ||= [createTextVNode(" 提交 ", -1)]]),
125
+ default: withCtx(() => [...t[13] ||= [createTextVNode(" 提交 ", -1)]]),
151
126
  _: 1
152
127
  }, 8, ["loading"])]),
153
128
  _: 1
154
129
  })]),
155
- default: withCtx(() => [createVNode(c, {
130
+ default: withCtx(() => [createVNode(s, {
156
131
  ref_key: "formRef",
157
132
  ref: g,
158
133
  model: unref(v),
@@ -231,16 +206,6 @@ var _hoisted_1 = {
231
206
  }, null, 8, ["value"])]),
232
207
  _: 1
233
208
  }),
234
- createVNode(n, { label: "组织负责人" }, {
235
- default: withCtx(() => [createElementVNode("div", _hoisted_1, [unref(y).length > 0 ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(y)[0]?.userName), 1)) : createCommentVNode("", !0), createVNode(s, {
236
- type: "primary",
237
- onClick: x
238
- }, {
239
- default: withCtx(() => [...t[12] ||= [createTextVNode(" 选择负责人 ", -1)]]),
240
- _: 1
241
- })])]),
242
- _: 1
243
- }),
244
209
  createVNode(n, {
245
210
  label: "统一社会信用代码",
246
211
  name: "creditCode"