@utogether/udp-core 1.0.1 → 1.0.3

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 (239) hide show
  1. package/build/plugins.ts +13 -2
  2. package/dist/{403-JWjatlxJ.js → 403-D6H3sArg.js} +7 -6
  3. package/dist/{404-BcdMJfPb.js → 404-DTyfysQ2.js} +14 -13
  4. package/dist/{500-bsa3F_cc.js → 500-DKaVDaBm.js} +10 -9
  5. package/dist/{AuthorityInfo-CqItgNs5.js → AuthorityInfo-DQULR69Y.js} +1 -1
  6. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js +100 -0
  7. package/dist/{AuthorityPanel-BaLMwMgW.js → AuthorityPanel-BeBNiwqc.js} +1 -1
  8. package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js → AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js} +6 -6
  9. package/dist/{Company-DVff9IA7.js → Company-BWFrR-Cq.js} +3 -3
  10. package/dist/{CompanyPanel-CNrdq4XE.js → CompanyPanel-Dh814lsw.js} +16 -16
  11. package/dist/{Department-CqcpfL4i.js → Department-DagPxerl.js} +10 -10
  12. package/dist/{DepartmentPanel-Bvti4LGu.js → DepartmentPanel-BVy2YGED.js} +108 -78
  13. package/dist/{DesignPanel-CjykspE1.js → DesignPanel-DKfjfj2S.js} +1 -1
  14. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BK9EERdd.js → DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js} +24 -26
  15. package/dist/DictView-CE5nEiKu.js +110 -0
  16. package/dist/InvOrganization-CZk_EbFZ.js +74 -0
  17. package/dist/Org-BO8jfnqN.js +39 -0
  18. package/dist/{Preview-Cm_7RhYU.js → Preview-DYJaP96f.js} +2 -2
  19. package/dist/{ReportDefine-CJVlQ--7.js → ReportDefine-DZXbs7iX.js} +1 -1
  20. package/dist/{ReportDesign-B0unlrkt.js → ReportDesign-CSdqOQ1D.js} +46 -46
  21. package/dist/{ReportQuery-BKuMCEvF.js → ReportQuery-_Vdt3CnA.js} +5 -5
  22. package/dist/{ReportQueryFrom-DAngMJLU.js → ReportQueryFrom-BWKddh9p.js} +1 -1
  23. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CPpwmztJ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js} +6 -5
  24. package/dist/{ReportTemplate-8YH3L8Pv.js → ReportTemplate-DS-DGao8.js} +26 -26
  25. package/dist/{Role-MxI30-0W.js → Role-BM0kEu7y.js} +6 -6
  26. package/dist/{RoleAssign-BzUY_y_y.js → RoleAssign-Cp05HUWn.js} +9 -9
  27. package/dist/{RolePanel-DS_TErTn.js → RolePanel-DeuHpCdK.js} +1 -1
  28. package/dist/{RolePanel-CXdcvsR5.js → RolePanel-hXeshcCZ.js} +1 -1
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Ddl-A7Zh.js → RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js} +42 -36
  30. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js +132 -0
  31. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js → ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js} +20 -20
  32. package/dist/{Staff-D7tXo_Gn.js → Staff-DLltLFMl.js} +3 -3
  33. package/dist/{StaffInfo-Bk8BY8PO.js → StaffInfo-pfELaI_i.js} +1 -1
  34. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DqKwZi5f.js → StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js} +13 -13
  35. package/dist/{StaffPanel-VtpGCTIq.js → StaffPanel-D3Pk28JN.js} +1 -1
  36. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js +143 -0
  37. package/dist/{SysUser-D0Q6OvD7.js → SysUser-BOh7ejz3.js} +2 -2
  38. package/dist/{SysUserPanel-1_vrsANQ.js → SysUserPanel-RElVo0BV.js} +1 -1
  39. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js +341 -0
  40. package/dist/{SystemMenu-9PG3vESE.js → SystemMenu-DZneBqKO.js} +53 -51
  41. package/dist/{UserInfo-qgXUEGwi.js → UserInfo-D9qo_f_9.js} +1 -1
  42. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CN0C5rVk.js → UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js} +35 -33
  43. package/dist/{childView-C7ZSA5fR.js → childView-CmlGxD9G.js} +1 -1
  44. package/dist/{childView-yV2QLwfA.js → childView-DStrPumM.js} +1 -1
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-DdKxPGdh.js → childView.vue_vue_type_style_index_0_lang-B9k694be.js} +23 -24
  46. package/dist/childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js +177 -0
  47. package/dist/{code-rule-95K1jr-u.js → code-rule-CxzgQDH_.js} +42 -41
  48. package/dist/core.es.js +19 -10
  49. package/dist/{cron-task-DGrQwOHs.js → cron-task-kbyRTz97.js} +5 -5
  50. package/dist/flow-task-B07st2aD.js +10 -0
  51. package/dist/{frameView-7SmME93D.js → frameView-BawZlIge.js} +15 -14
  52. package/dist/img/l_img.svg +1 -1
  53. package/dist/img/minicolors.png +0 -0
  54. package/dist/img/v_img.svg +1 -1
  55. package/dist/index-nkstuOxE.js +5533 -0
  56. package/dist/{layoutView-C6WIVWGZ.js → layoutView-DVGqPJmA.js} +1776 -1764
  57. package/dist/{log-in-e7D5Ss1P.js → log-in-j2PZGLQH.js} +36 -29
  58. package/dist/log-out-DIJU-Vpf.js +130 -0
  59. package/dist/login-DvmHMcgD.js +251 -0
  60. package/dist/{login-log-CvVnyGi3.js → login-log-DJBGJVV0.js} +10 -8
  61. package/dist/{lov-view-DoF5LqFQ.js → lov-view-C-dIDLh8.js} +9 -9
  62. package/dist/{menuInfo-CNzGQwOD.js → menuInfo-D0mcKmrT.js} +1 -1
  63. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-51SYxVc_.js → menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js} +144 -121
  64. package/dist/pda-app-BjvyTDkw.js +710 -0
  65. package/dist/redirect-BqegffKC.js +15 -0
  66. package/dist/{resource-gVFFMO9l.js → resource-BknIxaTQ.js} +17 -17
  67. package/dist/{su-welcome-BN_s_RX_.js → su-welcome-CwtvamZC.js} +137 -139
  68. package/dist/sys-config-CCKhGcCL.js +370 -0
  69. package/dist/udp-core.css +1 -9
  70. package/dist/utogether-MlnyYtNS.js +4 -0
  71. package/index.ts +19 -6
  72. package/package.json +18 -17
  73. package/src/App.vue +2 -7
  74. package/src/api/http.ts +1 -4
  75. package/src/api/index.ts +5 -3
  76. package/src/api/user.ts +2 -2
  77. package/src/components/SuCharts/src/UserInfo.vue +3 -3
  78. package/src/components/SuScrollTree/ScrollPanel.vue +4 -9
  79. package/src/components/udp/content/index.vue +88 -0
  80. package/src/components/udp/form/form.vue +109 -0
  81. package/src/components/udp/grid/index.vue +524 -0
  82. package/src/components/udp/index.ts +5 -4
  83. package/src/components/udp/ut-stamp-badge/index.vue +271 -0
  84. package/src/components/udp/utils.ts +408 -40
  85. package/src/directives/permission/index.ts +1 -1
  86. package/src/layout/components/lay-navbar/index.vue +9 -7
  87. package/src/layout/components/lay-panel/index.vue +3 -3
  88. package/src/layout/components/lay-search/index.vue +1 -1
  89. package/src/layout/components/lay-select-org/index.vue +4 -9
  90. package/src/layout/components/lay-setting/index.vue +503 -510
  91. package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
  92. package/src/layout/components/lay-sidebar/horizontal.vue +8 -6
  93. package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
  94. package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -98
  95. package/src/layout/components/lay-tag/index.vue +598 -625
  96. package/src/layout/hooks/useDataThemeChange.ts +1 -1
  97. package/src/layout/hooks/useNav.ts +176 -173
  98. package/src/layout/hooks/useTag.ts +227 -233
  99. package/src/layout/layoutView.vue +215 -215
  100. package/src/layout/types.ts +93 -92
  101. package/src/main.ts +115 -109
  102. package/src/plugins/i18n/en.ts +26 -13
  103. package/src/plugins/i18n/module/u-workflow.ts +1 -1
  104. package/src/plugins/i18n/zh.ts +363 -337
  105. package/src/plugins/vxe-table/index.ts +116 -46
  106. package/src/plugins/vxe-table/render.tsx +950 -817
  107. package/src/router/index.ts +187 -183
  108. package/src/router/modules/flow.ts +35 -0
  109. package/src/router/modules/home.ts +32 -32
  110. package/src/router/modules/remaining.ts +1 -26
  111. package/src/router/utils.ts +420 -377
  112. package/src/store/modules/app.ts +2 -4
  113. package/src/store/modules/epTheme.ts +48 -49
  114. package/src/store/modules/multiTags.ts +15 -14
  115. package/src/store/modules/permission.ts +25 -15
  116. package/src/store/modules/system.ts +1 -3
  117. package/src/style/button.scss +11 -4
  118. package/src/style/login.css +1 -1
  119. package/src/style/tailwind.css +1 -68
  120. package/src/style/vxetable.scss +103 -11
  121. package/src/utils/authority/index.ts +1 -1
  122. package/src/utils/dataFormat/index.ts +222 -223
  123. package/src/utils/index.ts +3 -1
  124. package/src/utils/lifecycle.ts +39 -20
  125. package/src/utils/propTypes.ts +1 -6
  126. package/src/utils/storage/index.ts +2 -2
  127. package/src/utils/{http → udp/http}/index.ts +27 -30
  128. package/src/utils/{http → udp/http}/types.d.ts +2 -6
  129. package/src/views/login/login-view.vue +6 -20
  130. package/src/views/organization/company/CompanyPanel.vue +2 -2
  131. package/src/views/organization/department/Department.vue +58 -58
  132. package/src/views/organization/department/DepartmentPanel.vue +303 -283
  133. package/src/views/organization/inv-org/InvOrganization.vue +23 -9
  134. package/src/views/organization/org/Org.vue +9 -5
  135. package/src/views/organization/staff/StaffInfo.vue +127 -133
  136. package/src/views/organization/staff/StaffPanel.vue +171 -145
  137. package/src/views/system/cron/cron-task.vue +2 -12
  138. package/src/views/system/menu/AuthorityPanel.vue +2 -2
  139. package/src/views/system/menu/SystemMenu.vue +185 -191
  140. package/src/views/system/menu/menuInfo.vue +39 -23
  141. package/src/views/system/role/AuthorityInfo.vue +19 -15
  142. package/src/views/system/role/Role.vue +1 -5
  143. package/src/views/system/role/RolePanel.vue +11 -2
  144. package/src/views/system/role/UserInfo.vue +11 -9
  145. package/src/views/system/role-assign/RoleAssign.vue +2 -2
  146. package/src/views/system/role-assign/RolePanel.vue +12 -9
  147. package/src/views/system/sys/sys-config.vue +70 -21
  148. package/src/views/system/sysUser/SysUserPanel.vue +347 -278
  149. package/src/views/uapp/pda/pda-app.vue +48 -16
  150. package/src/views/udev/coderule/code-rule.vue +132 -121
  151. package/src/views/udev/dict/DictView.vue +118 -106
  152. package/src/views/udev/dict/childView.vue +183 -222
  153. package/src/views/udev/lov/childView.vue +174 -180
  154. package/src/views/ufile/aggregation/File.vue +5 -5
  155. package/src/views/ufile/file/water-mark.vue +14 -14
  156. package/src/views/uhome/components/menu-favorite.vue +315 -331
  157. package/src/views/uhome/su-welcome.vue +319 -339
  158. package/src/views/ulogin/login.vue +325 -316
  159. package/src/views/upms/interface/log-in.vue +100 -106
  160. package/src/views/upms/interface/log-out.vue +104 -107
  161. package/src/views/upms/user/login-log.vue +54 -60
  162. package/src/views/urpt/design/DesignPanel.vue +16 -35
  163. package/src/views/urpt/design/Preview.vue +1 -0
  164. package/src/views/urpt/design/ReportDesign.vue +17 -23
  165. package/src/views/urpt/static-resource/resource.vue +3 -3
  166. package/src/views/urpt/template/ReportTemplate.vue +7 -7
  167. package/src/views/utask/flow-task.vue +18 -0
  168. package/types/global.d.ts +231 -236
  169. package/vite.config.ts +13 -2
  170. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js +0 -102
  171. package/dist/DictView-q7kR9K--.js +0 -95
  172. package/dist/InvOrganization-DI45LqZV.js +0 -260
  173. package/dist/Org-CZju_ZiR.js +0 -35
  174. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DJKu6PXz.js +0 -126
  175. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-C3Ixs12y.js +0 -111
  176. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-C5XEmxsV.js +0 -288
  177. package/dist/childView.vue_vue_type_style_index_0_lang-bkmucBUL.js +0 -187
  178. package/dist/core.umd.js +0 -173
  179. package/dist/index-OswH7SsT.js +0 -9937
  180. package/dist/log-out--RRncZhN.js +0 -120
  181. package/dist/login-BhCMeCLS.js +0 -251
  182. package/dist/pda-app-nn3llDUx.js +0 -2209
  183. package/dist/redirect-CmMplDV4.js +0 -15
  184. package/dist/sys-config-DGutV-VX.js +0 -277
  185. package/dist/utogether-wFDCI28t.js +0 -182
  186. package/src/assets/images/empty.png +0 -0
  187. package/src/assets/images/logo.png +0 -0
  188. package/src/components/ReCountTo/README.md +0 -2
  189. package/src/components/ReCountTo/index.ts +0 -18
  190. package/src/components/ReCountTo/src/normal/index.tsx +0 -165
  191. package/src/components/ReCountTo/src/normal/props.ts +0 -37
  192. package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
  193. package/src/components/ReCountTo/src/rebound/props.ts +0 -14
  194. package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
  195. package/src/components/ReCropper/index.ts +0 -14
  196. package/src/components/ReCropper/src/index.tsx +0 -141
  197. package/src/components/ReFlicker/index.css +0 -39
  198. package/src/components/ReFlicker/index.ts +0 -50
  199. package/src/components/ReFlop/index.ts +0 -14
  200. package/src/components/ReFlop/src/Filpper.tsx +0 -99
  201. package/src/components/ReFlop/src/filpper.css +0 -184
  202. package/src/components/ReFlop/src/index.vue +0 -126
  203. package/src/components/ReFlowChart/index.ts +0 -24
  204. package/src/components/ReFlowChart/src/Control.vue +0 -139
  205. package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
  206. package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
  207. package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
  208. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
  209. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
  210. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
  211. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
  212. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
  213. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
  214. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
  215. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
  216. package/src/components/ReFlowChart/src/config.ts +0 -62
  217. package/src/components/ReSplitPane/index.css +0 -49
  218. package/src/components/ReSplitPane/index.tsx +0 -119
  219. package/src/components/ReSplitPane/resizer.css +0 -45
  220. package/src/components/ReSplitPane/resizer.tsx +0 -30
  221. package/src/components/SuCommon/card/components/Card.vue +0 -148
  222. package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
  223. package/src/components/SuCommon/card/index.vue +0 -142
  224. package/src/components/SuCommon/icon-select/index.vue +0 -241
  225. package/src/components/SuCommon/table/index.vue +0 -208
  226. package/src/components/SuCommon/utils/index.ts +0 -103
  227. package/src/components/SuCommon/utils/slot.tsx +0 -50
  228. package/src/components/udp/form-upload.vue +0 -132
  229. package/src/components/udp/modal-form.vue +0 -180
  230. package/src/utils/udp/useRender.ts +0 -420
  231. package/src/views/components/contextmenu/basic.vue +0 -74
  232. package/src/views/components/contextmenu/context-menu.vue +0 -40
  233. package/src/views/components/contextmenu/menuDynamic.vue +0 -99
  234. package/src/views/components/contextmenu/menuGroup.vue +0 -71
  235. package/src/views/components/count-to/index.vue +0 -43
  236. package/src/views/components/cropping/index.vue +0 -59
  237. package/src/views/components/cropping/picture.jpeg +0 -0
  238. package/src/views/components/split-pane/index.vue +0 -82
  239. package/src/views/components/video/index.vue +0 -57
package/build/plugins.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: wei.li
3
3
  * @Date: 2022-05-26 10:25:57
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-04-16 15:10:58
5
+ * @LastEditTime: 2025-07-26 10:31:27
6
6
  * @Description: file content
7
7
  */
8
8
  import vue from '@vitejs/plugin-vue';
@@ -10,17 +10,28 @@ import { viteBuildInfo } from './';
10
10
  import svgLoader from 'vite-svg-loader';
11
11
  import vueJsx from '@vitejs/plugin-vue-jsx';
12
12
  import tailwindcss from '@tailwindcss/vite';
13
+ import { visualizer } from 'rollup-plugin-visualizer';
14
+ import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
15
+ import removeConsole from 'vite-plugin-remove-console';
13
16
 
14
17
  export function getPluginsList() {
18
+ const lifecycle = process.env.npm_lifecycle_event;
15
19
  return [
16
20
  tailwindcss(),
17
21
  vue(),
18
22
  // jsx、tsx语法支持
19
23
  vueJsx(),
20
24
  // 线上环境删除console
25
+ removeConsole(),
21
26
  viteBuildInfo(),
22
27
  // 自定义主题
23
28
  // svg组件化支持
24
- svgLoader()
29
+ svgLoader(),
30
+ ViteImageOptimizer({
31
+ png: { quality: 70 },
32
+ jpg: { quality: 70 }
33
+ }),
34
+ // 打包分析
35
+ lifecycle === 'report' ? visualizer({ open: true, brotliSize: true, filename: 'report.html' }) : (null as any)
25
36
  ];
26
37
  }
@@ -1,5 +1,6 @@
1
- import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as u, withCtx as k } from "vue";
2
- import { c as y, u as v, H as C } from "./index-OswH7SsT.js";
1
+ import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as k, withCtx as u } from "vue";
2
+ import { useRouter as y, useRoute as v } from "vue-router";
3
+ import { H as C } from "./index-nkstuOxE.js";
3
4
  const E = {
4
5
  width: "251",
5
6
  height: "294"
@@ -20,7 +21,7 @@ const A = { render: _ }, D = {
20
21
  class: "mb-4 text-gray-500",
21
22
  initial: { opacity: 0, y: 100 },
22
23
  enter: { opacity: 1, y: 0, transition: { delay: 300 } }
23
- }, N = /* @__PURE__ */ r({
24
+ }, H = /* @__PURE__ */ r({
24
25
  __name: "403",
25
26
  setup(c) {
26
27
  const s = y(), i = v(), o = () => {
@@ -41,13 +42,13 @@ const A = { render: _ }, D = {
41
42
  ]))), [
42
43
  [p]
43
44
  ]),
44
- h((a(), u(d, {
45
+ h((a(), k(d, {
45
46
  initial: { opacity: 0, y: 100 },
46
47
  enter: { opacity: 1, y: 0, transition: { delay: 500 } },
47
48
  type: "primary",
48
49
  onClick: o
49
50
  }, {
50
- default: k(() => t[2] || (t[2] = [
51
+ default: u(() => t[2] || (t[2] = [
51
52
  e("返回首页")
52
53
  ])),
53
54
  _: 1
@@ -60,5 +61,5 @@ const A = { render: _ }, D = {
60
61
  }
61
62
  });
62
63
  export {
63
- N as default
64
+ H as default
64
65
  };
@@ -1,11 +1,12 @@
1
- import { createElementBlock as s, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
2
- import { c as u, u as k, H as C } from "./index-OswH7SsT.js";
1
+ import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
2
+ import { useRouter as k, useRoute as u } from "vue-router";
3
+ import { H as C } from "./index-nkstuOxE.js";
3
4
  const y = {
4
5
  width: "252",
5
6
  height: "294"
6
7
  };
7
8
  function E(c, h) {
8
- return a(), s("svg", y, h[0] || (h[0] = [
9
+ return a(), l("svg", y, h[0] || (h[0] = [
9
10
  m('<g fill="none"><path fill="#E4EBF7" d="M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321" mask="url(#b)" transform="translate(0 .012)"></path><path fill="#FFF" d="M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66"></path><path stroke="#FFF" d="m36.975 134.297 10.482 5.943m.916 6.268-12.648 10.788"></path><path fill="#FFF" d="M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136m17.713-16.105a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145m41.43-116.372 29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176m11.406 18.336 29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175"></path><path fill="#FFF" d="M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172m71.725 108.807c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93s9.483 5.447 8.93 10.932"></path><path stroke="#FFF" d="m179.26 141.75 12.64 7.167m1.106 7.56-15.255 13.011"></path><path fill="#FFF" d="M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372m18.672-16.732a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382"></path><path stroke="#FFF" d="M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zm73.339-76.268a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zm-8.89 35.024a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zm-39.463-43.444a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zm18.374-15.471a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zm6.767 88.546a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z"></path><path stroke="#FFF" d="m214.404 153.302-1.912 20.184-10.928 5.99m-27.903-4.684-6.356 9.814h-11.36l-4.508 6.484m23.504-65.922v-15.804m45.883 7.886-12.84 7.901-15.31-7.902V94.39"></path><path fill="#FFF" d="M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742"></path><path fill="#1890FF" d="M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48s-13.2 29.48-29.48 29.48c-16.282 0-29.48-13.2-29.48-29.48"></path><path fill="#FFF" d="M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964a2.9 2.9 0 0 1-2 .75c-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928q.75-.75 1.93-.75c.785 0 1.462.25 1.999.75m4.285-19.463q2.143 1.874 2.143 5.142c0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.1 5.1 0 0 0-1.428 1.75 5.2 5.2 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43q-.553.75-.76 1.904a2 2 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894"></path><path fill="#FFB594" d="M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88"></path><path fill="#FFC6A0" d="m90.483 67.504-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132s-2.412 3.624-2.412 3.624"></path><path fill="#FFF" d="M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682"></path><path fill="#CBD1D1" d="M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178s6.874 1.1 11.686-1.26c-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573"></path><path fill="#2B0849" d="M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286z"></path><path fill="#A4AABA" d="M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558"></path><path fill="#CBD1D1" d="M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199z"></path><path fill="#2B0849" d="M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062"></path><path fill="#A4AABA" d="M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252s-4.903-2.119-5.624.15"></path><path fill="#7BB2F9" d="m99.66 278.514 13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165"></path><path stroke="#648BD8" d="M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935m23.32 8.451s2.774-1.11 6.103-3.883M107.275 222.1s2.773-1.11 6.102-3.884M74.74 224.767s2.622-.591 6.505-3.365m4.785-69.768c-.27 3.106.3 8.525-4.336 9.123m21.931-10.877s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944m.448-16.451s.035 12.88-1.196 24.377m-4.921 1.096s7.212-1.664 9.431-1.664M74.31 205.861a212 212 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776-.947 2.045-4.985 15.355c-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12m14.931-60.462a321 321 0 0 1-.882 4.754m7.784-50.328L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31"></path><path fill="#192064" d="M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038"></path><path fill="#FFF" d="m106.322 151.165.003-4.911a.81.81 0 0 0-.778-.815 110 110 0 0 0-7.836-.014.82.82 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81"></path><path fill="#192064" d="m105.207 150.233.002-3.076a.64.64 0 0 0-.619-.646 94 94 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121 121 0 0 1 5.794.011c.362.01.665-.28.665-.642"></path><path stroke="#648BD8" d="M100.263 275.415h12.338m-11.165-4.885c.006 3.387.042 5.79.111 6.506m-.096-12.488a916 916 0 0 0-.015 4.337m-.45-93.92.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243s.897 1.122 0 3.365c-.596 1.489-.994 21.1-1.096 35.146"></path><path fill="#FFC6A0" d="M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801m57.584 7.63.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.32.32 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.33.33 0 0 0 .264-.268"></path><path fill="#FFC6A0" d="M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456"></path><path fill="#520038" d="M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15z"></path><path fill="#552950" d="M104.977 76.064c-.103.61-.582 1.038-1.07.956s-.801-.644-.698-1.254.582-1.038 1.07-.956.8.644.698 1.254m7.155 1.63c-.103.61-.582 1.038-1.07.956s-.8-.644-.698-1.254.582-1.038 1.07-.956.8.643.698 1.254"></path><path stroke="#DB836E" d="m110.13 74.84-.896 1.61-.298 4.357h-2.228"></path><path stroke="#5C2552" d="M110.846 74.481s1.79-.716 2.506.537"></path><path stroke="#DB836E" d="M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67"></path><path stroke="#5C2552" d="M103.287 72.93s1.83 1.113 4.137.954"></path><path stroke="#DB836E" d="M103.685 81.762s2.227 1.193 4.376 1.193m-3.421 1.353s.954.398 1.511.318m-11.458-3.421s2.308 7.4 10.424 7.639"></path><path stroke="#E4EBF7" d="M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206M129.405 122.865s-5.272 7.403-9.422 10.768M119.306 107.329s.452 4.366-2.127 32.062"></path><path fill="#F2D7AD" d="M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01"></path><path fill="#F4D19D" d="M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92"></path><path fill="#F2D7AD" d="M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092z"></path><path fill="#CC9B6E" d="M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"></path><path fill="#F4D19D" d="M158.298 127.896h-18.669a2.07 2.07 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83"></path><path fill="#CC9B6E" d="M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zm-27.293 22.206-.032-8.177.519-.002.032 8.177z"></path><path fill="#CC9B6E" d="m130.511 139.783-.08-21.414.519-.002.08 21.414zm-18.635 1.149-.498-.143 1.479-5.167.498.143zm-3.439.128-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zm8.17 0-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"></path><path fill="#FFC6A0" d="m154.316 131.892-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238"></path><path stroke="#DB836E" d="M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044"></path><path stroke="#DB836E" d="M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617"></path><path stroke="#DB836E" d="M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402m.504 2.692s-1.103 3.16 5.44 3.533m-.352-14.469v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754"></path><path fill="#5BA02E" d="M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647"></path><path fill="#92C110" d="M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647"></path><path fill="#F2D7AD" d="M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187"></path><path stroke="#E4EBF7" d="M88.979 89.48s7.776 5.384 16.6 2.842"></path></g>', 1)
10
11
  ]));
11
12
  }
@@ -20,26 +21,26 @@ const _ = { render: E }, z = {
20
21
  class: "mb-4 text-gray-500",
21
22
  initial: { opacity: 0, y: 100 },
22
23
  enter: { opacity: 1, y: 0, transition: { delay: 300 } }
23
- }, V = /* @__PURE__ */ r({
24
+ }, N = /* @__PURE__ */ r({
24
25
  __name: "404",
25
26
  setup(c) {
26
- const h = u(), i = k(), o = () => {
27
+ const h = k(), i = u(), o = () => {
27
28
  C(i, !1), h.push("/");
28
29
  };
29
30
  return (b, t) => {
30
- const d = n("el-button"), l = F("motion");
31
- return a(), s("div", z, [
31
+ const d = n("el-button"), s = F("motion");
32
+ return a(), l("div", z, [
32
33
  f(v(_)),
33
34
  M("div", A, [
34
- p((a(), s("p", x, t[0] || (t[0] = [
35
+ p((a(), l("p", x, t[0] || (t[0] = [
35
36
  e(" 404 ")
36
37
  ]))), [
37
- [l]
38
+ [s]
38
39
  ]),
39
- p((a(), s("p", g, t[1] || (t[1] = [
40
+ p((a(), l("p", g, t[1] || (t[1] = [
40
41
  e(" 抱歉,你访问的页面不存在 ")
41
42
  ]))), [
42
- [l]
43
+ [s]
43
44
  ]),
44
45
  p((a(), B(d, {
45
46
  initial: { opacity: 0, y: 100 },
@@ -52,7 +53,7 @@ const _ = { render: E }, z = {
52
53
  ])),
53
54
  _: 1
54
55
  })), [
55
- [l]
56
+ [s]
56
57
  ])
57
58
  ])
58
59
  ]);
@@ -60,5 +61,5 @@ const _ = { render: E }, z = {
60
61
  }
61
62
  });
62
63
  export {
63
- V as default
64
+ N as default
64
65
  };
@@ -1,5 +1,6 @@
1
- import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as u, withCtx as v } from "vue";
2
- import { c as B, u as C, H as D } from "./index-OswH7SsT.js";
1
+ import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as f, createVNode as n, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as v, withCtx as B } from "vue";
2
+ import { useRouter as u, useRoute as C } from "vue-router";
3
+ import { H as D } from "./index-nkstuOxE.js";
3
4
  const y = {
4
5
  width: "254",
5
6
  height: "294"
@@ -20,16 +21,16 @@ const E = { render: A }, _ = {
20
21
  class: "mb-4 text-gray-500",
21
22
  initial: { opacity: 0, y: 100 },
22
23
  enter: { opacity: 1, y: 0, transition: { delay: 300 } }
23
- }, z = /* @__PURE__ */ r({
24
+ }, N = /* @__PURE__ */ r({
24
25
  __name: "500",
25
26
  setup(c) {
26
- const h = B(), i = C(), d = () => {
27
+ const h = u(), i = C(), d = () => {
27
28
  D(i, !1), h.push("/");
28
29
  };
29
30
  return (H, t) => {
30
- const m = F("el-button"), l = n("motion");
31
+ const m = F("el-button"), l = f("motion");
31
32
  return a(), s("div", _, [
32
- f(k(E)),
33
+ n(k(E)),
33
34
  M("div", x, [
34
35
  p((a(), s("p", g, t[0] || (t[0] = [
35
36
  e(" 500 ")
@@ -41,7 +42,7 @@ const E = { render: A }, _ = {
41
42
  ]))), [
42
43
  [l]
43
44
  ]),
44
- p((a(), u(m, {
45
+ p((a(), v(m, {
45
46
  initial: { opacity: 0, y: 100 },
46
47
  enter: { opacity: 1, y: 0, transition: { delay: 500 } },
47
48
  type: "primary",
@@ -49,7 +50,7 @@ const E = { render: A }, _ = {
49
50
  style: { width: "150px", "font-size": "20px" },
50
51
  onClick: d
51
52
  }, {
52
- default: v(() => t[2] || (t[2] = [
53
+ default: B(() => t[2] || (t[2] = [
53
54
  e("返回首页")
54
55
  ])),
55
56
  _: 1
@@ -62,5 +63,5 @@ const E = { render: A }, _ = {
62
63
  }
63
64
  });
64
65
  export {
65
- z as default
66
+ N as default
66
67
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,100 @@
1
+ import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
2
+ import { y as c } from "./index-nkstuOxE.js";
3
+ import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
4
+ const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, H = /* @__PURE__ */ N({
5
+ __name: "AuthorityInfo",
6
+ props: {
7
+ show: { type: Boolean, default: !1 },
8
+ record: { default: () => ({}) },
9
+ dataStatus: { default: "detail" },
10
+ direction: { default: "rtl" }
11
+ },
12
+ emits: ["onClose"],
13
+ setup(h, { emit: y }) {
14
+ const d = h, u = f(null), o = f(!1), s = B({
15
+ dataList: [],
16
+ defaultCheckedKeys: []
17
+ // 默认权限
18
+ }), v = window.innerHeight - 180, g = y, w = async () => {
19
+ const e = await c().get("/uums/menu/listMenuTree", {});
20
+ o.value = !1, s.dataList = e;
21
+ }, k = async () => {
22
+ const e = {
23
+ roleId: d.record.id,
24
+ menuType: "1"
25
+ }, a = await c().get("/uums/role/getRoleMenus", e);
26
+ s.defaultCheckedKeys = a.map((i) => i.id);
27
+ }, C = async () => {
28
+ const { record: e } = d;
29
+ o.value = !0;
30
+ const a = u.value.getCheckedNodes(!1, !0);
31
+ e.sysMenus = a, await S(c().put("/uums/role", [e])), o.value = !1, l();
32
+ };
33
+ function l() {
34
+ g("onClose");
35
+ }
36
+ return M(() => {
37
+ o.value = !0, k(), w();
38
+ }), (e, a) => {
39
+ const i = n("el-tree-v2"), b = n("el-divider"), m = n("ut-button"), x = n("el-row"), T = n("el-drawer"), L = A("spinning");
40
+ return _(), p("div", E, [
41
+ t(T, {
42
+ "model-value": e.show,
43
+ title: e.$t("message.title.authority", { role: e.record.roleName }),
44
+ "before-close": l,
45
+ direction: "rtl",
46
+ "destroy-on-close": "",
47
+ "body-class": "ut-draw-body",
48
+ size: "40%"
49
+ }, {
50
+ footer: r(() => [
51
+ t(b, { style: { margin: "16px 0" } }),
52
+ t(x, {
53
+ type: "flex",
54
+ justify: "end",
55
+ style: { "padding-right": "20px" }
56
+ }, {
57
+ default: r(() => [
58
+ t(m, {
59
+ content: "cancel",
60
+ icon: "ri-close-fill",
61
+ status: "warning",
62
+ onTap: l
63
+ }),
64
+ t(m, {
65
+ content: "confirm",
66
+ icon: "ri-save-3-fill",
67
+ status: "u-cyan",
68
+ onTap: C
69
+ })
70
+ ]),
71
+ _: 1
72
+ })
73
+ ]),
74
+ default: r(() => [
75
+ D((_(), p("div", I, [
76
+ K("div", null, [
77
+ t(i, {
78
+ ref_key: "xTree",
79
+ ref: u,
80
+ data: s.dataList,
81
+ props: { children: "children", label: "menuName" },
82
+ "default-checked-keys": s.defaultCheckedKeys,
83
+ height: v,
84
+ "show-checkbox": "",
85
+ "node-key": "id"
86
+ }, null, 8, ["data", "default-checked-keys"])
87
+ ])
88
+ ])), [
89
+ [L, o.value]
90
+ ])
91
+ ]),
92
+ _: 1
93
+ }, 8, ["model-value", "title"])
94
+ ]);
95
+ };
96
+ }
97
+ });
98
+ export {
99
+ H as _
100
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js";
1
+ import { _ as f } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -13,15 +13,15 @@ const x = {
13
13
  default: !1
14
14
  }
15
15
  },
16
- emits: ["onClose"],
16
+ emits: ["close"],
17
17
  setup(a, {
18
18
  emit: u
19
19
  }) {
20
20
  const s = a;
21
21
  _(() => s.show, () => {
22
- n.value = s.show && c();
22
+ n.value = s.show && p();
23
23
  });
24
- const n = v(""), i = N(), p = [{
24
+ const n = v(""), i = N(), c = [{
25
25
  type: "checkbox",
26
26
  width: 50,
27
27
  align: "center"
@@ -60,7 +60,7 @@ const x = {
60
60
  defaultValue: "1"
61
61
  }),
62
62
  formatter: ["formatDict", "SU.ENABLE"]
63
- }], c = () => {
63
+ }], p = () => {
64
64
  const {
65
65
  record: e
66
66
  } = s, {
@@ -73,7 +73,7 @@ const x = {
73
73
  e.permissionCode = `${n.value}.${e.dispalyCode}`;
74
74
  }, f = u;
75
75
  function C() {
76
- f("onClose");
76
+ f("close");
77
77
  }
78
78
  return (e, r) => {
79
79
  const t = l("ut-grid"), o = l("el-drawer");
@@ -87,7 +87,7 @@ const x = {
87
87
  }, {
88
88
  default: w(() => [d(t, {
89
89
  ref: "SuGridRef",
90
- columns: p,
90
+ columns: c,
91
91
  url: "/uums/menu",
92
92
  "default-params": {
93
93
  parentId: e.record.id
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
- import p from "./CompanyPanel-CNrdq4XE.js";
4
- import { _ as d } from "./index-OswH7SsT.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js";
3
+ import p from "./CompanyPanel-Dh814lsw.js";
4
+ import { _ as d } from "./index-nkstuOxE.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
6
6
  __name: "Company",
7
7
  setup(C) {
@@ -1,10 +1,10 @@
1
- import { defineComponent as V, reactive as j, inject as C, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as m, withCtx as d, createElementVNode as n, createCommentVNode as v, createTextVNode as D, toDisplayString as L } from "vue";
1
+ import { defineComponent as V, reactive as j, inject as w, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as c, withCtx as d, createElementVNode as n, createCommentVNode as v, createTextVNode as D, toDisplayString as L } from "vue";
2
2
  import { useI18n as M } from "vue-i18n";
3
3
  import { VxeUI as U } from "vxe-table";
4
4
  import { templateRef as R } from "@vueuse/core";
5
5
  import { clone as z } from "xe-utils";
6
6
  import { warnMessage as G, successMessage as H } from "@utogether/utils";
7
- import { w as J, _ as K } from "./index-OswH7SsT.js";
7
+ import { y as J, _ as K } from "./index-nkstuOxE.js";
8
8
  const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
9
9
  __name: "CompanyPanel",
10
10
  setup(W) {
@@ -28,18 +28,18 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
28
28
  message: `${r("message.required")}${r("message.udp.unitCode")}`
29
29
  }
30
30
  ]
31
- }, u = C("active"), $ = C("scrollPanelChange"), f = J();
31
+ }, m = w("active"), $ = w("scrollPanelChange"), f = J();
32
32
  B(
33
- () => u.value,
33
+ () => m.value,
34
34
  (t, a) => {
35
- e.record = u.value, t != null && t.id && (a != null && a.id) && t !== a && x("detail");
35
+ e.record = m.value, t != null && t.id && (a != null && a.id) && t !== a && x("detail");
36
36
  }
37
37
  );
38
38
  const S = () => {
39
39
  var t;
40
- e.dataStatus = "add", e.record = {}, e.record.parentId = (t = u.value) == null ? void 0 : t.id, e.isChecked = !1, e.dialogFormVisible = !0;
40
+ e.dataStatus = "add", e.record = {}, e.record.parentId = (t = m.value) == null ? void 0 : t.id, e.isChecked = !1, e.dialogFormVisible = !0;
41
41
  }, x = (t) => {
42
- e.dataStatus = t, e.record = z(u.value, !0), e.dialogFormVisible = !0;
42
+ e.dataStatus = t, e.record = z(m.value, !0), e.dialogFormVisible = !0;
43
43
  }, y = R("xForm", null), h = () => {
44
44
  y.value.validate(async (t) => {
45
45
  if (!t) {
@@ -60,7 +60,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
60
60
  e.dialogFormVisible = !1;
61
61
  };
62
62
  return (t, a) => {
63
- const o = i("ut-button"), P = i("vxe-toolbar"), g = i("vxe-form-item"), q = i("vxe-form"), c = i("el-row"), A = i("vxe-checkbox"), w = i("vxe-button"), T = i("el-card");
63
+ const o = i("ut-button"), P = i("vxe-toolbar"), g = i("vxe-form-item"), q = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
64
64
  return l(), E("div", O, [
65
65
  s(P, {
66
66
  perfect: "",
@@ -88,7 +88,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
88
88
  ]),
89
89
  _: 1
90
90
  }),
91
- e.dialogFormVisible ? (l(), m(c, {
91
+ e.dialogFormVisible ? (l(), c(u, {
92
92
  key: 0,
93
93
  type: "flex",
94
94
  justify: "center",
@@ -105,7 +105,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
105
105
  a[4] || (a[4] = n("div", { class: "clearfix" }, [
106
106
  n("span", { class: "w-card-title" })
107
107
  ], -1)),
108
- s(c, null, {
108
+ s(u, null, {
109
109
  default: d(() => [
110
110
  s(q, {
111
111
  ref_key: "xForm",
@@ -139,12 +139,12 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
139
139
  ]),
140
140
  _: 1
141
141
  }),
142
- s(c, {
142
+ s(u, {
143
143
  type: "flex",
144
144
  justify: "center"
145
145
  }, {
146
146
  default: d(() => [
147
- e.dataStatus === "add" ? (l(), m(A, {
147
+ e.dataStatus === "add" ? (l(), c(A, {
148
148
  key: 0,
149
149
  modelValue: e.isChecked,
150
150
  "onUpdate:modelValue": a[3] || (a[3] = (p) => e.isChecked = p),
@@ -155,13 +155,13 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["modelValue"])) : v("", !0),
158
- e.dataStatus !== "detail" ? (l(), m(w, {
158
+ e.dataStatus !== "detail" ? (l(), c(C, {
159
159
  key: 1,
160
160
  status: "primary",
161
161
  content: t.$t("message.btn.confirm"),
162
162
  onClick: h
163
163
  }, null, 8, ["content"])) : v("", !0),
164
- e.dataStatus !== "detail" ? (l(), m(w, {
164
+ e.dataStatus !== "detail" ? (l(), c(C, {
165
165
  key: 2,
166
166
  status: "warning",
167
167
  content: t.$t("message.btn.cancel"),
@@ -175,7 +175,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
175
175
  })
176
176
  ]),
177
177
  _: 1
178
- })) : (l(), m(c, {
178
+ })) : (l(), c(u, {
179
179
  key: 1,
180
180
  class: "w-noclick-wrapper"
181
181
  }, {
@@ -200,7 +200,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
200
200
  ]);
201
201
  };
202
202
  }
203
- }), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-e3e008df"]]);
203
+ }), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-bc1a230e"]]);
204
204
  export {
205
205
  se as default
206
206
  };
@@ -1,25 +1,25 @@
1
- import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as o } from "vue";
2
- import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
- import _ from "./DepartmentPanel-Bvti4LGu.js";
4
- import { _ as d } from "./index-OswH7SsT.js";
1
+ import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as a } from "vue";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js";
3
+ import _ from "./DepartmentPanel-BVy2YGED.js";
4
+ import { _ as d } from "./index-nkstuOxE.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ l({
6
6
  __name: "Department",
7
7
  setup(D) {
8
- const a = e({}), r = e(!1), s = e([]);
9
- return t("active", a), t("scrollPanelChange", r), t("treeList", s), (c, C) => (m(), i("div", f, [
8
+ const o = e({}), r = e(!1), s = e([]);
9
+ return t("active", o), t("scrollPanelChange", r), t("treeList", s), (c, C) => (m(), i("div", f, [
10
10
  n("div", u, [
11
- o(p, {
11
+ a(p, {
12
12
  title: c.$t("department"),
13
13
  url: "/uums/department/treeDepartment",
14
14
  "tree-otions": { children: "children", label: "deptName" }
15
15
  }, null, 8, ["title"])
16
16
  ]),
17
17
  n("div", h, [
18
- o(_)
18
+ a(_)
19
19
  ])
20
20
  ]));
21
21
  }
22
- }), x = /* @__PURE__ */ d(v, [["__scopeId", "data-v-30dd7ea4"]]);
22
+ }), k = /* @__PURE__ */ d(v, [["__scopeId", "data-v-a043aab6"]]);
23
23
  export {
24
- x as default
24
+ k as default
25
25
  };