gds-plus-design-vue 1.2.62 → 1.2.63

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 (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91338
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +38 -22
  291. package/locale/id_ID.js +22 -6
  292. package/locale/vi_VN.js +1929 -1913
  293. package/locale/zh_CN.js +44 -28
  294. package/package.json +106 -105
  295. package/lib/chartbi.114d32d7.js +0 -60
  296. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  297. package/lib/main.083e0ba3.js +0 -1
  298. package/lib/main.4a858284.js +0 -1
  299. package/lib/main.64cb2027.js +0 -1
  300. package/lib/main.70a46cbc.js +0 -1
  301. package/lib/messages.364eb728.js +0 -9
  302. package/lib/system.account.95bd8508.js +0 -216
  303. package/lib/system.account.d6c7485b.mjs +0 -2552
  304. package/lib/system.config.63c0217d.js +0 -1
  305. package/lib/system.datasource.a2c0bad4.js +0 -1
  306. package/lib/system.dict.dfb4c376.js +0 -1
  307. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  308. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  309. package/lib/system.email.545cedff.mjs +0 -7432
  310. package/lib/system.email.ec0ac728.js +0 -41
  311. package/lib/system.fieldsecurity.eb217079.js +0 -1
  312. package/lib/system.file.1cb952a4.js +0 -1
  313. package/lib/system.log.348b3605.js +0 -1
  314. package/lib/system.machine.49fc6405.js +0 -1
  315. package/lib/system.notice.d7a3346d.js +0 -1
  316. package/lib/system.noticereceived.c0b24616.js +0 -1
  317. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  318. package/lib/system.org.30063246.js +0 -1
  319. package/lib/system.permissions.1ff855c2.js +0 -9
  320. package/lib/system.plugin.2c7c8a5a.js +0 -1
  321. package/lib/system.pos.21294c28.js +0 -1
  322. package/lib/system.promptmanagement.7e8da777.js +0 -1
  323. package/lib/system.role.078fac85.js +0 -1
  324. package/lib/system.sumberrules.b0252f77.js +0 -1
  325. package/lib/system.team.296512d7.mjs +0 -1000
  326. package/lib/system.team.5d6169bc.js +0 -1
  327. package/lib/system.teammembers.313345f7.js +0 -1
  328. package/lib/system.timers.8246e6ba.js +0 -38
  329. package/lib/system.translation.fdff4956.js +0 -1
  330. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  331. package/lib/system.webresource.2a341e05.js +0 -1
  332. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,1331 @@
1
+ import { m, n as u, a as A } from "./components.chartbi.b043dcdc.mjs";
2
+ import { s as D, a as E, b as C } from "./http.loginmanage.05500c29.mjs";
3
+ import { G as $ } from "./components.settingdrawer.a6693034.mjs";
4
+ import { X as I } from "./components.xlsximport.cffa88fe.mjs";
5
+ import { g as x } from "./utils.util.js.82cd8447.mjs";
6
+ import { p as T } from "./http.main.40657f51.mjs";
7
+ import { s as b, a as R, b as S } from "./http.noticemanage.e03bd5f3.mjs";
8
+ import { s as B } from "./http.noticereceivedmanage.50797be1.mjs";
9
+ import { t as F } from "./utils.mixins.js.be01e599.mjs";
10
+ import "./components.form.3344c817.mjs";
11
+ import { a as N } from "./http.filemanage.c0de21d6.mjs";
12
+ const L = {
13
+ props: {
14
+ basicAttribute: {
15
+ type: Object,
16
+ default: () => ({})
17
+ }
18
+ },
19
+ data() {
20
+ return {};
21
+ },
22
+ computed: {
23
+ options() {
24
+ return this.basicAttribute.logo || {};
25
+ },
26
+ tstyle() {
27
+ return `font-size:${this.options.titleFont !== void 0 ? this.options.titleFont : 15}px`;
28
+ },
29
+ ystyle() {
30
+ return `font-size:${this.options.subtitleFont !== void 0 ? this.options.subtitleFont : 11}px`;
31
+ },
32
+ ...m(["userInfo", "addRouters", "userFavoriteMenu", "theme", "sidebar"])
33
+ },
34
+ methods: {}
35
+ };
36
+ var P = function() {
37
+ var e = this, t = e._self._c;
38
+ return t("div", [t("div", { staticClass: "user-logo", class: e.theme === "light" ? "" : "user-logo-dark" }, [e.options.mode === "imageWithText" ? t("div", { staticClass: "logo" }, [t("div", { staticClass: "picture" }, [e.options.smallPicture ? t("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: e.options.smallPicture, expression: "options.smallPicture" }], staticClass: "img", attrs: { "data-url": e.options.smallPicture, "data-load": "Y" } }) : e._e()]), e.sidebar ? e._e() : t("div", { staticClass: "company" }, [t("div", { staticClass: "title line1", style: e.tstyle }, [e._v(e._s(e.options.title))]), t("div", { staticClass: "ytitle line1", style: e.ystyle }, [e._v(e._s(e.options.subtitle))])])]) : t("div", { staticClass: "logo" }, [e.sidebar ? t("div", { staticClass: "picture" }, [e.options.smallPicture ? t("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: e.options.smallPicture, expression: "options.smallPicture" }], staticClass: "img", attrs: { "data-url": e.options.smallPicture, "data-load": "Y" } }) : e._e()]) : t("div", { staticClass: "bpicture" }, [e.options.bigPicture ? t("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: e.options.bigPicture, expression: "options.bigPicture" }], staticClass: "img", attrs: { "data-url": e.options.bigPicture, "data-load": "Y" } }) : e._e()])])])]);
39
+ }, z = [], U = /* @__PURE__ */ u(
40
+ L,
41
+ P,
42
+ z,
43
+ !1,
44
+ null,
45
+ "15f8e6cd",
46
+ null,
47
+ null
48
+ );
49
+ const Q = U.exports;
50
+ var h = null;
51
+ const K = {
52
+ props: {
53
+ menus: {
54
+ type: Array,
55
+ required: !0
56
+ },
57
+ collapsed: {
58
+ type: Boolean,
59
+ required: !1,
60
+ default: !1
61
+ },
62
+ activeKey: {
63
+ type: String,
64
+ default: ""
65
+ }
66
+ },
67
+ data() {
68
+ return {
69
+ record: {},
70
+ visible: !1,
71
+ modeMenus: "singleton",
72
+ name: "",
73
+ appMenus: [],
74
+ omodeMenus: "singleton"
75
+ };
76
+ },
77
+ computed: {
78
+ getUserFavoriteMenu() {
79
+ let s = [];
80
+ return this.userFavoriteMenu.forEach((e) => {
81
+ s.push(e.menuid);
82
+ }), s;
83
+ },
84
+ favoriteMenus() {
85
+ let s = [];
86
+ return this.appMenus.map((e) => {
87
+ e.children.map((t) => {
88
+ t.type == 1 && s.push(
89
+ Object.assign(t, {
90
+ menus: e
91
+ })
92
+ ), t.children && t.children.map((i) => {
93
+ s.push(
94
+ Object.assign(i, {
95
+ menus: e
96
+ })
97
+ );
98
+ });
99
+ });
100
+ }), s.filter((e) => this.getUserFavoriteMenu.includes(e.id));
101
+ },
102
+ modeList() {
103
+ let s = [];
104
+ return this.menus.forEach((e) => {
105
+ (this.modeMenus === "singleton" && e.code === this.record.code || this.modeMenus === "multiple") && s.push(e.code);
106
+ }), s;
107
+ },
108
+ getMode() {
109
+ let s = "gd-icon-bullet-list--points-bullet-unordered-list-lists-bu";
110
+ return this.modeMenus === "multiple" ? s = "gd-icon-application" : this.modeMenus === "collect" && (s = "gd-icon-star"), s;
111
+ },
112
+ lstyle() {
113
+ let s = this.menusWidth.split("&"), e = 372;
114
+ if (s[0] === "secondary")
115
+ e = 472;
116
+ else if (s[0] === "big")
117
+ e = 672;
118
+ else if (s[0] === "custom")
119
+ return `flex:0 0 ${s[1]}px`;
120
+ return `flex:0 0 ${e}px`;
121
+ },
122
+ styleds() {
123
+ return {
124
+ padding: this.collapsed ? `0 0 0 ${this.sidebarConfig.foldWidth}px` : `0 0 0 ${this.sidebarConfig.horizontalWidth}px`
125
+ };
126
+ },
127
+ mstyle() {
128
+ return {
129
+ "--bjsmenuvar": "#282c31",
130
+ "--bjseachvar": "#111314"
131
+ };
132
+ },
133
+ cstyle() {
134
+ return `color:${this.primaryColor}`;
135
+ },
136
+ fadeColord() {
137
+ return this.fadeColor(this.primaryColor, 0.1);
138
+ },
139
+ ...m(["userInfo", "primaryColor", "menusSearchMode", "userFavoriteMenu", "menusWidth", "theme", "sidebarConfig"])
140
+ },
141
+ methods: {
142
+ seachName(s) {
143
+ let e = [...this.appMenus];
144
+ e.forEach((t, i) => {
145
+ t.children.forEach((o, l) => {
146
+ let p = [];
147
+ o.children && (o.children.forEach((f, k) => {
148
+ let w = this.$i18nt(`Dynamics.${f.transkey}`, f.meta.title);
149
+ e[i].children[l].children[k].show = w.toLowerCase().includes(s.toLowerCase());
150
+ }), p = o.children.filter((f) => f.show));
151
+ let M = this.$i18nt(`Dynamics.${o.transkey}`, o.meta.title);
152
+ e[i].children[l].show = p.length > 0 ? !0 : M.toLowerCase().includes(s.toLowerCase());
153
+ });
154
+ let a = this.$i18nt(`Dynamics.${t.transkey}`, t.name), n = t.children.filter((o) => o.show)[0];
155
+ e[i].show = n !== void 0 ? !0 : a.toLowerCase().includes(s.toLowerCase());
156
+ }), this.appMenus = [...e], s === "" && this.modeMenus === "multiple" && this.scrollToAnchor(this.record);
157
+ },
158
+ query() {
159
+ this.seachName(this.name.trim());
160
+ },
161
+ changeName(s) {
162
+ this.seachName(s.trim());
163
+ },
164
+ refreshCollect() {
165
+ h && clearTimeout(h), h = setTimeout(() => {
166
+ this.getSysBookmarkPage();
167
+ }, 2e3);
168
+ },
169
+ countCollect(s, e, t) {
170
+ let i = this.userFavoriteMenu.filter((a) => a.menuId != s.id);
171
+ e === 1 && i.push(t), this.UserFavoriteMenu(i), this.refreshCollect();
172
+ },
173
+ collectMenu(s, e) {
174
+ if (h && clearTimeout(h), e === 1) {
175
+ this.sysBookmarkAdd(s).then((t) => {
176
+ t.success && this.countCollect(s, e, t.data);
177
+ });
178
+ return;
179
+ }
180
+ this.sysBookmarkDelete(s).then((t) => {
181
+ t.success && this.countCollect(s, e);
182
+ });
183
+ },
184
+ sysBookmarkAdd(s) {
185
+ let e = {
186
+ userId: this.userInfo.id,
187
+ menuId: s.id,
188
+ order: 0,
189
+ name: s.meta.title
190
+ };
191
+ return D(e).then((t) => t);
192
+ },
193
+ sysBookmarkDelete(s) {
194
+ let t = {
195
+ id: this.userFavoriteMenu.filter((i) => i.menuid == s.id)[0].id
196
+ };
197
+ return E(t).then((i) => i);
198
+ },
199
+ getSysBookmarkPage() {
200
+ let s = {
201
+ userId: this.userInfo.id,
202
+ pageNo: 1,
203
+ pageSize: 200
204
+ };
205
+ C(s).then((e) => {
206
+ e.code === 200 && this.UserFavoriteMenu(e.data.rows);
207
+ });
208
+ },
209
+ selMode(s) {
210
+ s !== this.modeMenus && (this.omodeMenus = this.modeMenus === "collect" ? this.omodeMenus : this.modeMenus, this.modeMenus = s, this.MenusSearchMode(s), s === "multiple" && this.scrollToAnchor(this.record), this.$refs.popover_seach.doClose());
211
+ },
212
+ mouseenter() {
213
+ this.$emit("mouseenter");
214
+ },
215
+ mouseleave() {
216
+ this.$emit("mouseleave");
217
+ },
218
+ open(s) {
219
+ this.record = s, this.visible = !0, this.scrollToAnchor(s);
220
+ },
221
+ close() {
222
+ this.visible = !1, this.$emit("close");
223
+ },
224
+ setAppMenus(s) {
225
+ this.appMenus = s;
226
+ },
227
+ goPath(s, e, t) {
228
+ (s.type === void 0 ? e : s.type) === 1 && (this.$emit("goPath", {
229
+ data: t,
230
+ item: s
231
+ }), this.name !== "" && (this.name = "", this.query()), this.modeMenus === "collect" && (this.modeMenus = this.omodeMenus), this.close(), this.$nextTick(() => {
232
+ setTimeout(() => {
233
+ if ((s.opentype !== void 0 ? s.opentype : 1) === 2) {
234
+ const n = s.meta.link;
235
+ n && window.open(n);
236
+ return;
237
+ }
238
+ this.$router.push({
239
+ name: s.name
240
+ });
241
+ }, 0);
242
+ }));
243
+ },
244
+ scrollToAnchor(s) {
245
+ this.$nextTick(() => {
246
+ let e = document.getElementById(`gd-menus-item-${s.code}`);
247
+ e && e.scrollIntoView({
248
+ behavior: "auto"
249
+ });
250
+ });
251
+ },
252
+ fadeColor(s, e) {
253
+ let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), a = parseInt(s.substring(5, 7), 16);
254
+ return `rgba(${t},${i},${a},${e})`;
255
+ },
256
+ ...A(["MenusSearchMode", "UserFavoriteMenu"])
257
+ },
258
+ created() {
259
+ this.modeMenus = this.menusSearchMode;
260
+ }
261
+ };
262
+ var O = function() {
263
+ var e = this, t = e._self._c;
264
+ return t("div", { style: e.mstyle }, [e.visible ? t("div", { staticClass: "gd-menus", class: e.theme === "light" ? "" : "gd-menus-dark", style: e.styleds }, [t("div", { staticClass: "gd-menus-list", style: e.lstyle, on: { mouseenter: e.mouseenter, mouseleave: e.mouseleave } }, [t("div", { staticClass: "gd-seach" }, [t("el-input", { staticClass: "inpu", attrs: { placeholder: e.$i18nt("gd.menu.searchModeName", "\u8BF7\u8F93\u5165\u5185\u5BB9"), clearable: "" }, on: { input: e.changeName }, model: { value: e.name, callback: function(i) {
265
+ e.name = i;
266
+ }, expression: "name" } }, [t("el-popover", { ref: "popover_seach", staticClass: "el-input__icon", attrs: { slot: "prefix", placement: "top-start", trigger: "hover" }, slot: "prefix" }, [t("div", { staticClass: "popover-hand", style: { "--dilute": e.fadeColord }, on: { mouseenter: e.mouseenter } }, [t("div", { staticClass: "popover-hand-name", class: e.modeMenus === "singleton" ? "inpu-item-activ" : "", on: { click: function(i) {
267
+ return i.stopPropagation(), e.selMode("singleton");
268
+ } } }, [t("i", { staticClass: "gd-icons gd-icon-bullet-list--points-bullet-unordered-list-lists-bu" }), e._v(" " + e._s(e.$i18nt("gd.menu.singletonMode", "\u5355\u4F8B\u6A21\u5F0F")) + " ")]), t("div", { staticClass: "popover-hand-name", class: e.modeMenus === "multiple" ? "inpu-item-activ" : "", on: { click: function(i) {
269
+ return i.stopPropagation(), e.selMode("multiple");
270
+ } } }, [t("i", { staticClass: "gd-icons gd-icon-application" }), e._v(" " + e._s(e.$i18nt("gd.menu.multipleMode", "\u591A\u4F8B\u6A21\u5F0F")) + " ")]), t("div", { staticClass: "popover-hand-name", class: e.modeMenus === "collect" ? "inpu-item-activ" : "", on: { click: function(i) {
271
+ return i.stopPropagation(), e.selMode("collect");
272
+ } } }, [t("i", { staticClass: "gd-icons gd-icon-star" }), e._v(" " + e._s(e.$i18nt("gd.menu.collectMode", "\u6536\u85CF\u6A21\u5F0F")) + " ")])]), t("i", { staticClass: "gd-icons", class: e.getMode, staticStyle: { "line-height": "32px", "padding-left": "2px", cursor: "pointer" }, attrs: { slot: "reference" }, slot: "reference" })]), t("i", { staticClass: "el-input__icon el-icon-search", staticStyle: { "font-size": "16px", cursor: "pointer" }, attrs: { slot: "suffix" }, on: { click: e.query }, slot: "suffix" })], 1)], 1), e.modeMenus === "collect" ? t("div", { staticClass: "gd-center" }, [t("div", { staticClass: "gd-menus-item" }, [t("div", { staticClass: "item-list" }, [e._l(e.favoriteMenus, function(i) {
273
+ return [t("div", { staticClass: "item", on: { click: function(a) {
274
+ return e.goPath(i, 2, i.menus);
275
+ } } }, [i.meta && i.meta.icon && i.meta.icon !== "none" ? t("div", { staticClass: "iteml" }, [t("i", { staticClass: "gd-icons icons-menu", class: i.meta.icon, staticStyle: { "font-size": "16px" } })]) : e._e(), t("div", { staticClass: "gdtitle line1", attrs: { title: e.$i18nt(`Dynamics.${i.transkey}`, i.meta.title) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.meta.title)) + " ")]), t("div", { staticClass: "item-collect" }, [t("i", { staticClass: "collect el-icon-delete", staticStyle: { color: "red" }, on: { click: function(a) {
276
+ return a.stopPropagation(), e.collectMenu(i, 2);
277
+ } } })])])];
278
+ })], 2)])]) : t("div", { staticClass: "gd-center", class: e.modeMenus === "multiple" ? "gd-centerbj" : "" }, [e._l(e.appMenus, function(i, a) {
279
+ return [e.modeList.includes(i.code) ? t("div", { staticClass: "gd-menus-item", class: a != 0 && i.show ? "gd-menus-itembj" : "", attrs: { id: `gd-menus-item-${i.code}` } }, [i.show && e.modeMenus === "multiple" ? t("div", { staticClass: "divider" }, [t("div", { staticClass: "dividerl" }, [t("i", { staticClass: "gd-icons icons-menu", class: i.icon })]), t("span", { staticClass: "gdtitle", attrs: { title: e.$i18nt(`Dynamics.${i.transkey}`, i.name) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")])]) : e._e(), e._l(i.children, function(n) {
280
+ return [!n.hidden && n.show ? t("div", [n.type == 1 ? t("div", { staticClass: "item-list" }, [t("div", { staticClass: "item", class: n.path === e.activeKey ? "itemactive" : "", on: { click: function(o) {
281
+ return e.goPath(n, 1, i);
282
+ } } }, [n.meta && n.meta.icon && n.meta.icon !== "none" ? t("div", { staticClass: "iteml" }, [t("i", { staticClass: "gd-icons icons-menu", class: n.meta.icon })]) : e._e(), t("div", { staticClass: "gdtitle line1", attrs: { title: e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title)) + " ")]), e.getUserFavoriteMenu.includes(n.id) ? t("div", { staticClass: "item-collected" }, [e.getUserFavoriteMenu.includes(n.id) ? t("i", { staticClass: "gd-icons gd-icon-star-full", style: e.cstyle, on: { click: function(o) {
283
+ return o.stopPropagation(), e.collectMenu(n, 2);
284
+ } } }) : t("i", { staticClass: "gd-icons gd-icon-star", style: e.cstyle, on: { click: function(o) {
285
+ return o.stopPropagation(), e.collectMenu(n, 2);
286
+ } } })]) : t("div", { staticClass: "item-collect" }, [t("i", { staticClass: "gd-icons collect gd-icon-star", style: e.cstyle, on: { click: function(o) {
287
+ return o.stopPropagation(), e.collectMenu(n, 1);
288
+ } } })])])]) : t("div", { staticClass: "dividers" }, [e.modeMenus === "singleton" ? t("el-divider", { attrs: { orientation: "left", "content-position": "left" } }, [t("span", { staticClass: "gdtitle", class: n.path === e.activeKey ? "itemactive" : "", attrs: { title: e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title) }, on: { click: function(o) {
289
+ return e.goPath(n, 2, i);
290
+ } } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title)) + " ")])]) : t("span", { staticClass: "gdtitle", class: n.path === e.activeKey ? "itemactive" : "", attrs: { title: e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title) }, on: { click: function(o) {
291
+ return e.goPath(n, 2, i);
292
+ } } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title)) + " ")])], 1), n.children ? t("div", { staticClass: "item-list" }, [e._l(n.children, function(o) {
293
+ return [!o.hidden && o.show ? t("div", { staticClass: "item", class: o.path === e.activeKey ? "itemactive" : "", on: { click: function(l) {
294
+ return e.goPath(o, 1, i);
295
+ } } }, [o.meta && o.meta.icon && o.meta.icon !== "none" ? t("div", { staticClass: "iteml" }, [t("i", { staticClass: "icons-menu gd-icons", class: o.meta.icon, staticStyle: { "font-size": "16px" } })]) : e._e(), t("div", { staticClass: "gdtitle line1", attrs: { title: e.$i18nt(`Dynamics.${o.transkey}`, o.meta.title) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${o.transkey}`, o.meta.title)) + " ")]), e.getUserFavoriteMenu.includes(o.id) ? t("div", { staticClass: "item-collected" }, [e.getUserFavoriteMenu.includes(o.id) ? t("i", { staticClass: "gd-icons gd-icon-star-full", style: e.cstyle, on: { click: function(l) {
296
+ return l.stopPropagation(), e.collectMenu(o, 2);
297
+ } } }) : t("i", { staticClass: "gd-icons gd-icon-star", style: e.cstyle, on: { click: function(l) {
298
+ return l.stopPropagation(), e.collectMenu(o, 2);
299
+ } } })]) : t("div", { staticClass: "item-collect" }, [t("i", { staticClass: "gd-icons collect gd-icon-star", style: e.cstyle, on: { click: function(l) {
300
+ return l.stopPropagation(), e.collectMenu(o, 1);
301
+ } } })])]) : e._e()];
302
+ })], 2) : e._e()]) : e._e()];
303
+ })], 2) : e._e()];
304
+ }), t("div", { staticClass: "zhan-bj" })], 2)]), t("div", { staticClass: "gd-menus-close", on: { click: e.close } })]) : e._e()]);
305
+ }, H = [], q = /* @__PURE__ */ u(
306
+ K,
307
+ O,
308
+ H,
309
+ !1,
310
+ null,
311
+ "fa68b6c4",
312
+ null,
313
+ null
314
+ );
315
+ const j = q.exports;
316
+ var c = null;
317
+ const J = {
318
+ name: "GdSideNavMenu",
319
+ props: {
320
+ basicAttribute: {
321
+ type: Object,
322
+ default: () => ({})
323
+ }
324
+ },
325
+ data() {
326
+ return {
327
+ defApp: "",
328
+ defMenus: [],
329
+ activeKey: "",
330
+ defaultActive: "",
331
+ activeData: {},
332
+ type: "click"
333
+ };
334
+ },
335
+ components: {
336
+ UserLogo: Q,
337
+ SidebarMenus: j
338
+ },
339
+ computed: {
340
+ componentItem() {
341
+ const s = this.$importViewFiles();
342
+ let e = `..${this.customizeNavMenu}`, t = s[e];
343
+ return t ? t.default : null;
344
+ },
345
+ apps() {
346
+ return this.userInfo.apps;
347
+ },
348
+ styled() {
349
+ let s = this.sidebar ? `${this.sidebarConfig.foldWidth}px` : `${this.sidebarConfig.horizontalWidth}px`;
350
+ return this.navMenuTheme === "fold" ? s = this.sidebar ? `${this.sidebarConfig.foldWidth}px` : `${this.sidebarConfig.verticalWidth}px` : this.navMenuTheme === "customize" && (s = this.sidebar ? `${this.sidebarConfig.foldWidth}px` : `${this.sidebarConfig.customizeWidth}px`), {
351
+ width: s,
352
+ "--bjmenuvar": "#1d2126"
353
+ };
354
+ },
355
+ ...m([
356
+ "userInfo",
357
+ "addRouters",
358
+ "userFavoriteMenu",
359
+ "theme",
360
+ "sidebar",
361
+ "userFavoriteMenu",
362
+ "navMenuTheme",
363
+ "primaryColor",
364
+ "sidebar",
365
+ "sidebarConfig",
366
+ "customizeNavMenu"
367
+ ])
368
+ },
369
+ watch: {
370
+ $route(s) {
371
+ this.changeRoute(s);
372
+ }
373
+ },
374
+ methods: {
375
+ selectMenus(s) {
376
+ if (console.log(s), this.defaultActive === s)
377
+ return;
378
+ let e = {};
379
+ const t = (n) => (n = n.filter((o) => {
380
+ const l = o.code ? o.code : o.key;
381
+ return s === l && (e = o), o.children && (o.children = t(o.children)), !0;
382
+ }), n);
383
+ t(this.defMenus);
384
+ const i = e.type === void 0 ? 1 : e.type;
385
+ if (console.log(e, i), i !== 1)
386
+ return;
387
+ if ((e.opentype !== void 0 ? e.opentype : 1) === 2) {
388
+ const n = e.meta.link;
389
+ n && window.open(n);
390
+ return;
391
+ }
392
+ this.$router.push({
393
+ name: e.name
394
+ }), this.defaultActive = e.code ? e.code : e.key, this.activeData = e;
395
+ },
396
+ getDefApp(s) {
397
+ let e = s && s.name ? s.name : "";
398
+ this.type = "";
399
+ let t = "";
400
+ this.apps.forEach((i) => {
401
+ i.menus && i.menus.forEach((a) => {
402
+ a.name && e === a.name && !a.hidden && (t = i.code);
403
+ });
404
+ }), this.defApp = t;
405
+ },
406
+ goPath(s) {
407
+ this.defApp = s.data.code, this.activeData = s.data.item;
408
+ },
409
+ getSysBookmarkPage() {
410
+ this.userInfo.bookmarks && this.UserFavoriteMenu(this.userInfo.bookmarks);
411
+ let s = {
412
+ userId: this.userInfo.id,
413
+ pageNo: 1,
414
+ pageSize: 200
415
+ };
416
+ C(s).then((e) => {
417
+ e.code === 200 && this.UserFavoriteMenu(e.data.rows);
418
+ });
419
+ },
420
+ init() {
421
+ const s = (t) => (t = t.filter((i) => (i.children && (i.children = s(i.children), i.showLeg = i.children.filter((a) => a.show).length, i.show = i.showLeg === 0 ? !1 : i.show), !0)), t);
422
+ let e = [...this.apps];
423
+ e.forEach((t, i) => {
424
+ const a = t.menus.map((o) => (o.show = o.meta.show, o));
425
+ let n = [];
426
+ this.listToTree(a, n, 0), e[i].children = [...n], e[i].show = !0;
427
+ }), e = s(e).filter((t) => t.children.filter((a) => a.show).length === 0 ? !1 : t.show), this.defMenus = [...e], this.$nextTick(() => {
428
+ setTimeout(() => {
429
+ this.$refs.sMenu.setAppMenus(e);
430
+ }, 100);
431
+ });
432
+ },
433
+ mouseenterMenu() {
434
+ c && clearTimeout(c), this.type = this.type !== "click" ? "mouse" : this.type;
435
+ },
436
+ mouseleaveMenu() {
437
+ c && clearTimeout(c), this.type === "mouse" && (c = setTimeout(() => {
438
+ this.$refs.sMenu.close();
439
+ }, 100));
440
+ },
441
+ mouseenter(s) {
442
+ c && clearTimeout(c), this.type !== "click" && (this.type = this.type !== "click" ? "mouse" : this.type, this.$refs.sMenu.open(s));
443
+ },
444
+ mouseleave() {
445
+ c && clearTimeout(c), this.type !== "click" && (c = setTimeout(() => {
446
+ this.$refs.sMenu.close();
447
+ }, 300));
448
+ },
449
+ changeRoute(s) {
450
+ this.activeKey = s.fullPath, this.activeData = s, this.getDefApp(s);
451
+ },
452
+ getDefApp(s) {
453
+ let e = s && s.name ? s.name : "";
454
+ this.defaultActive = e, this.type = "";
455
+ let t = "";
456
+ this.apps.forEach((i) => {
457
+ i.menus && i.menus.forEach((a) => {
458
+ a.name && e === a.name && !a.hidden && (t = i.code);
459
+ });
460
+ }), this.defApp = t;
461
+ },
462
+ goPath(s) {
463
+ this.defApp = s.data.code, this.activeData = s.data.item;
464
+ },
465
+ selItem(s) {
466
+ this.type = "click", this.defApp = s.code, this.$refs.sMenu.open(s);
467
+ },
468
+ listToTree(s, e, t) {
469
+ s && s.forEach((i) => {
470
+ if (i.pid == t) {
471
+ const a = {
472
+ ...i,
473
+ key: i.key || i.name,
474
+ children: []
475
+ };
476
+ this.listToTree(s, a.children, i.id), a.children.length <= 0 && delete a.children, e.push(a);
477
+ }
478
+ });
479
+ },
480
+ ...A(["UserFavoriteMenu"])
481
+ },
482
+ created() {
483
+ this.init(), this.changeRoute(this.$route), this.getSysBookmarkPage();
484
+ }
485
+ };
486
+ var V = function() {
487
+ var e = this, t = e._self._c;
488
+ return t("div", [e.componentItem ? t("div", { staticClass: "gd-sider", class: e.theme === "light" ? "" : "gd-sider-dark", style: e.styled }, [t(e.componentItem, { tag: "component", attrs: { basicAttribute: e.basicAttribute, defMenus: e.defMenus, sidebar: e.sidebar, defApp: e.defApp }, on: { selectMenus: e.selectMenus } })], 1) : t("div", { staticClass: "gd-sider", class: e.theme === "light" ? "" : "gd-sider-dark", style: e.styled }, [e.basicAttribute.logoOpen ? t("UserLogo", { attrs: { basicAttribute: e.basicAttribute } }) : e._e(), e.navMenuTheme === "vertical" ? t("div", { staticClass: "gd-app" }, [e._l(e.defMenus, function(i, a) {
489
+ return [t("div", { staticClass: "item", class: [e.sidebar ? "sitem" : "", i.code === e.defApp ? "itemactive" : ""], attrs: { title: e.$i18nt(`Dynamics.${i.transkey}`, i.name) }, on: { click: function(n) {
490
+ return e.selItem(i);
491
+ }, mouseenter: function(n) {
492
+ return e.mouseenter(i);
493
+ }, mouseleave: e.mouseleave } }, [t("i", { staticClass: "gd-icons", class: i.icon }), e.sidebar ? e._e() : t("div", { staticClass: "pname line1" }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")]), i.code === e.defApp && !e.sidebar ? t("i", { staticClass: "el-icon-arrow-right" }) : e._e()])];
494
+ })], 2) : t("div", { staticClass: "gd-app" }, [e._l(e.defMenus, function(i, a) {
495
+ return [t("el-menu", { staticClass: "el-menu-vertical-demo", class: [e.sidebar ? "sitem" : ""], attrs: { "default-active": e.defaultActive, "background-color": e.theme === "light" ? "#fff" : "#1d2126", "text-color": e.theme === "light" ? "#333" : "#fff", "active-text-color": e.primaryColor, collapse: e.sidebar }, on: { select: e.selectMenus } }, [i.children && i.children.length > 0 ? t("el-submenu", { attrs: { index: i.code } }, [t("template", { slot: "title" }, [t("i", { staticClass: "gd-icons", class: i.icon, staticStyle: { "padding-right": "4px" } }), t("span", [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)))])]), e._l(i.children, function(n, o) {
496
+ return [n.children && n.children.length > 0 ? t("el-submenu", { attrs: { index: n.key, title: e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title) } }, [t("template", { slot: "title" }, [t("i", { staticClass: "gd-icons", class: n.icon, staticStyle: { "padding-right": "4px" } }), t("span", [e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title)))])]), e._l(n.children, function(l, p) {
497
+ return [t("el-menu-item", { attrs: { index: l.key, title: e.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [t("template", { slot: "title" }, [t("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), t("span", [e._v(e._s(e.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])])], 2)];
498
+ })], 2) : t("el-menu-item", { attrs: { index: n.key, title: e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title) } }, [t("i", { staticClass: "gd-icons", class: n.icon, staticStyle: { "padding-right": "4px" } }), t("span", { attrs: { slot: "title" }, slot: "title" }, [e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.meta.title)))])])];
499
+ })], 2) : t("el-menu-item", { attrs: { index: i.code } }, [t("i", { staticClass: "gd-icons", class: i.icon, staticStyle: { "padding-right": "4px" } }), t("span", { attrs: { slot: "title" }, slot: "title" }, [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, e.ite.meta.title)))])])], 1)];
500
+ })], 2)], 1), t("SidebarMenus", { ref: "sMenu", attrs: { collapsed: e.sidebar, menus: e.defMenus, activeKey: e.activeKey }, on: { goPath: e.goPath, close: function(i) {
501
+ return e.getDefApp(e.activeData);
502
+ }, mouseenter: e.mouseenterMenu, mouseleave: e.mouseleaveMenu } })], 1);
503
+ }, Y = [], X = /* @__PURE__ */ u(
504
+ J,
505
+ V,
506
+ Y,
507
+ !1,
508
+ null,
509
+ "b00d3374",
510
+ null,
511
+ null
512
+ );
513
+ const g = X.exports;
514
+ g.install = function(s) {
515
+ s.component(g.name, g);
516
+ };
517
+ const G = {
518
+ props: {
519
+ daySet: {
520
+ type: Array,
521
+ default: () => []
522
+ }
523
+ },
524
+ data() {
525
+ return {
526
+ queryParam: {
527
+ readStatus: "UNREAD"
528
+ },
529
+ list: [],
530
+ notifications: [],
531
+ confirmLoading: !1,
532
+ pageNo: 1,
533
+ pageSize: 20,
534
+ totalRows: 0,
535
+ loading: !1,
536
+ observer: null
537
+ };
538
+ },
539
+ computed: {
540
+ moreTitle() {
541
+ let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
542
+ return this.loading || (s = this.list.length >= this.totalRows ? this.pageNo > 1 ? this.$i18nt("gd.https.noMoreData", "\u6682\u65E0\u66F4\u591A\u6570\u636E") : "" : this.$i18nt("gd.https.loadMoreData", "\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")), s;
543
+ },
544
+ messagetypeData() {
545
+ return this.getDictionary("messagetype");
546
+ }
547
+ },
548
+ methods: {
549
+ elLoadMore() {
550
+ const s = this.$refs.moreTitle;
551
+ !s || this.observer || (this.observer = new IntersectionObserver((e, t) => {
552
+ e.forEach((i) => {
553
+ i.isIntersecting && this.loadMore();
554
+ });
555
+ }), this.observer.observe(s));
556
+ },
557
+ loadMore() {
558
+ this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getList(!1));
559
+ },
560
+ getDictionary(s) {
561
+ return this.$options.filters.dictData(s);
562
+ },
563
+ messageType(s) {
564
+ const e = this.messagetypeData.filter((t) => t.code == String(s.messagetype))[0];
565
+ return e ? this.$i18nt(`Dynamics.${e.transkey}`, e.name) : s.messagetype;
566
+ },
567
+ getList(s) {
568
+ return this.confirmLoading = !0, this.loading = !0, b(
569
+ Object.assign({}, this.queryParam, {
570
+ pageNo: s ? 1 : this.pageNo,
571
+ pageSize: s ? this.pageNo * this.pageSize : this.pageSize
572
+ })
573
+ ).then((e) => {
574
+ e.code === 200 && (this.totalRows = e.data.totalrows, this.list = s || this.pageNo === 1 ? e.data.rows : this.list.concat(e.data.rows), this.handOrganize(), this.$emit("notifications", e.data.rows), this.pageNo === 1 && this.$nextTick(() => {
575
+ setTimeout(() => {
576
+ this.elLoadMore();
577
+ }, 0);
578
+ })), this.confirmLoading = !1;
579
+ });
580
+ },
581
+ init(s) {
582
+ s ? this.getList(!0) : (this.pageNo = 1, this.list = [], this.notifications = [], this.getList(!1));
583
+ },
584
+ handOrganize() {
585
+ let s = [], e = [];
586
+ this.list.forEach((t) => {
587
+ const i = t.createdtime.split(" ")[0];
588
+ s.includes(i) ? e[e.length - 1].messages.push(t) : (s.push(i), e.push(
589
+ Object.assign({}, t, {
590
+ groupdate: i,
591
+ messages: [t]
592
+ })
593
+ ));
594
+ }), this.notifications = e, this.loading = !1;
595
+ },
596
+ markAsRead(s) {
597
+ this.beaseLoadComplete(s);
598
+ },
599
+ beaseLoadComplete(s) {
600
+ const e = s.targeturl.split("?")[1];
601
+ let t = "";
602
+ if (e && (t = new URLSearchParams(e).get("complete_request")), t === "")
603
+ return;
604
+ const i = decodeURIComponent(t), a = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), n = x(i);
605
+ T(a, n), setTimeout(() => {
606
+ this.init();
607
+ }, 1e3);
608
+ },
609
+ dictSwitch(s, e) {
610
+ let t = this.$options.filters.dictData(e).filter((i) => i.code == s)[0];
611
+ return t != null && t.colour ? t.colour : null;
612
+ },
613
+ markAsReadDetail(s) {
614
+ this.$emit("markAsRead", s), setTimeout(() => {
615
+ this.init();
616
+ }, 300);
617
+ }
618
+ },
619
+ beforeDestroy() {
620
+ this.observer && this.observer.disconnect();
621
+ }
622
+ };
623
+ var Z = function() {
624
+ var e = this, t = e._self._c;
625
+ return t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "70%" } }, [t("div", { staticClass: "notification-list" }, [e._l(e.notifications, function(i, a) {
626
+ return t("div", [t("div", { staticClass: "notification-date", class: a === 0 ? "notification-daten" : "" }, [e.daySet[0].includes(i.groupdate) ? t("span", [e._v(" " + e._s(e.$i18nt("gd.view.today", "\u4ECA\u5929")) + " ")]) : e.daySet[1].includes(i.groupdate) ? t("span", [e._v(" " + e._s(e.$i18nt("gd.view.yesterday", "\u6628\u5929")) + " ")]) : t("span", [e._v(e._s(i.groupdate))])]), e._l(i.messages, function(n, o) {
627
+ return t("div", { key: n.id, staticClass: "notification-item", class: o === i.messages.length - 1 ? "notification-itemn" : "", on: { click: function(l) {
628
+ return e.markAsReadDetail(n);
629
+ } } }, [t("div", { staticClass: "notification-content" }, [t("div", { staticClass: "notification-message" }, [t("div", { staticClass: "name line1" }, [e._v(e._s(n.name))]), t("div", { staticClass: "du", on: { click: function(l) {
630
+ return l.stopPropagation(), e.markAsRead(n);
631
+ } } }, [e._v(e._s(e.$i18nt("gd.menu.markAsRead", "\u6807\u4E3A\u5DF2\u8BFB")))])]), t("div", { staticClass: "notification-detail line1" }, [e._v(e._s(n.content))]), t("div", { staticClass: "notification-nav" }, [t("div", { staticClass: "notification-type" }, [e._v(e._s(e.messageType(n)))]), t("div", { staticClass: "notification-time" }, [e._v(e._s(n.createdtime))])])])]);
632
+ })], 2);
633
+ }), !e.confirmLoading && e.notifications.length == 0 ? t("div", { staticClass: "none" }, [t("div", { staticClass: "empty" }, [t("i", { staticClass: "el-icon-receiving" }), t("div", { staticClass: "empty-err" }, [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]) : e._e(), e.totalRows > 0 ? t("div", { ref: "moreTitle", staticClass: "list-more", class: { "active-item": e.totalRows > 0 && e.list.length >= e.totalRows, "list-morep": e.moreTitle !== "" || e.loading } }, [e.loading ? t("i", { staticClass: "el-icon-loading" }) : e._e(), t("div", { staticClass: "more-title", on: { click: e.loadMore } }, [e._v(e._s(e.moreTitle))])]) : e._e()], 2)]);
634
+ }, W = [], ee = /* @__PURE__ */ u(
635
+ G,
636
+ Z,
637
+ W,
638
+ !1,
639
+ null,
640
+ "8580e637",
641
+ null,
642
+ null
643
+ );
644
+ const te = ee.exports;
645
+ const se = {
646
+ props: {
647
+ daySet: {
648
+ type: Array,
649
+ default: () => []
650
+ }
651
+ },
652
+ data() {
653
+ return {
654
+ queryParam: {
655
+ readStatus: "READ"
656
+ },
657
+ list: [],
658
+ notifications: [],
659
+ confirmLoading: !1,
660
+ showDetails: !1,
661
+ pageNo: 1,
662
+ pageSize: 20,
663
+ totalRows: 0,
664
+ loading: !1,
665
+ observer: null
666
+ };
667
+ },
668
+ computed: {
669
+ moreTitle() {
670
+ let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
671
+ return this.loading || (s = this.list.length >= this.totalRows ? this.pageNo > 1 ? this.$i18nt("gd.https.noMoreData", "\u6682\u65E0\u66F4\u591A\u6570\u636E") : "" : this.$i18nt("gd.https.loadMoreData", "\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")), s;
672
+ },
673
+ messagetypeData() {
674
+ return this.getDictionary("messagetype");
675
+ }
676
+ },
677
+ methods: {
678
+ elLoadMore() {
679
+ const s = this.$refs.moreTitle;
680
+ !s || this.observer || (this.observer = new IntersectionObserver((e, t) => {
681
+ e.forEach((i) => {
682
+ i.isIntersecting && this.loadMore();
683
+ });
684
+ }), this.observer.observe(s));
685
+ },
686
+ loadMore() {
687
+ this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getList(!1));
688
+ },
689
+ getDictionary(s) {
690
+ return this.$options.filters.dictData(s);
691
+ },
692
+ messageType(s) {
693
+ const e = this.messagetypeData.filter((t) => t.code == String(s.messagetype))[0];
694
+ return e ? this.$i18nt(`Dynamics.${e.transkey}`, e.name) : s.messagetype;
695
+ },
696
+ getList(s) {
697
+ return this.confirmLoading = !0, this.loading = !0, b(
698
+ Object.assign({}, this.queryParam, {
699
+ pageNo: s ? 1 : this.pageNo,
700
+ pageSize: s ? this.pageNo * this.pageSize : this.pageSize
701
+ })
702
+ ).then((e) => {
703
+ e.code === 200 && (this.totalRows = e.data.totalrows, this.list = s || this.pageNo === 1 ? e.data.rows : this.list.concat(e.data.rows), this.handOrganize(), this.$emit("notifications", e.data.rows), this.pageNo === 1 && this.$nextTick(() => {
704
+ setTimeout(() => {
705
+ this.elLoadMore();
706
+ }, 0);
707
+ })), this.confirmLoading = !1;
708
+ });
709
+ },
710
+ init(s) {
711
+ s ? this.getList(!0) : (this.pageNo = 1, this.list = [], this.notifications = [], this.getList(!1));
712
+ },
713
+ handOrganize() {
714
+ let s = [], e = [];
715
+ this.list.forEach((t) => {
716
+ const i = t.createdtime.split(" ")[0];
717
+ s.includes(i) ? e[e.length - 1].messages.push(t) : (s.push(i), e.push(
718
+ Object.assign({}, t, {
719
+ groupdate: i,
720
+ messages: [t]
721
+ })
722
+ ));
723
+ }), this.loading = !1, this.notifications = e;
724
+ },
725
+ dictSwitch(s, e) {
726
+ let t = this.$options.filters.dictData(e).filter((i) => i.code == s)[0];
727
+ return t != null && t.colour ? t.colour : null;
728
+ },
729
+ markAsRead(s) {
730
+ this.$emit("markAsRead", s);
731
+ }
732
+ },
733
+ beforeDestroy() {
734
+ this.observer && this.observer.disconnect();
735
+ }
736
+ };
737
+ var ie = function() {
738
+ var e = this, t = e._self._c;
739
+ return t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "70%" } }, [t("div", { staticClass: "notification-list" }, [e._l(e.notifications, function(i, a) {
740
+ return t("div", [t("div", { staticClass: "notification-date", class: a === 0 ? "notification-daten" : "" }, [e.daySet[0].includes(i.groupdate) ? t("span", [e._v(" " + e._s(e.$i18nt("gd.view.today", "\u4ECA\u5929")) + " ")]) : e.daySet[1].includes(i.groupdate) ? t("span", [e._v(" " + e._s(e.$i18nt("gd.view.yesterday", "\u6628\u5929")) + " ")]) : t("span", [e._v(e._s(i.groupdate))])]), e._l(i.messages, function(n, o) {
741
+ return t("div", { key: n.id, staticClass: "notification-item", class: o === i.messages.length - 1 ? "notification-itemn" : "", on: { click: function(l) {
742
+ return e.markAsRead(n);
743
+ } } }, [t("div", { staticClass: "notification-content" }, [t("div", { staticClass: "notification-message" }, [e._v(" " + e._s(n.name) + " ")]), t("div", { staticClass: "notification-detail line1" }, [e._v(e._s(n.content))]), t("div", { staticClass: "notification-nav" }, [t("div", { staticClass: "notification-type" }, [e._v(e._s(e.messageType(n)))]), t("div", { staticClass: "notification-time" }, [e._v(e._s(n.createdtime))])])])]);
744
+ })], 2);
745
+ }), !e.confirmLoading && e.notifications.length == 0 ? t("div", { staticClass: "none" }, [t("div", { staticClass: "empty" }, [t("i", { staticClass: "el-icon-receiving" }), t("div", { staticClass: "empty-err" }, [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]) : e._e(), e.totalRows > 0 ? t("div", { ref: "moreTitle", staticClass: "list-more", class: { "active-item": e.totalRows > 0 && e.list.length >= e.totalRows, "list-morep": e.moreTitle !== "" || e.loading } }, [e.loading ? t("i", { staticClass: "el-icon-loading" }) : e._e(), t("div", { staticClass: "more-title", on: { click: e.loadMore } }, [e._v(e._s(e.moreTitle))])]) : e._e()], 2)]);
746
+ }, ne = [], ae = /* @__PURE__ */ u(
747
+ se,
748
+ ie,
749
+ ne,
750
+ !1,
751
+ null,
752
+ "c25eaf49",
753
+ null,
754
+ null
755
+ );
756
+ const oe = ae.exports;
757
+ const le = {
758
+ data() {
759
+ return {
760
+ visible: !1,
761
+ width: "384px",
762
+ type: "messageDataRefun",
763
+ showDetails: !1,
764
+ notificationsData: []
765
+ };
766
+ },
767
+ computed: {
768
+ daySet() {
769
+ const s = new Date().getTime(), e = new Date().getTime() - 24 * 60 * 60 * 1e3;
770
+ return [this.getDayNum(s), this.getDayNum(e)];
771
+ }
772
+ },
773
+ components: {
774
+ MessageData: te,
775
+ ReadMessageData: oe
776
+ },
777
+ methods: {
778
+ notifications(s) {
779
+ this.notificationsData = s;
780
+ },
781
+ closeShowDetails() {
782
+ console.log(88), this.showDetails = !1, this.refresh(!0);
783
+ },
784
+ markAsRead(s, e) {
785
+ this.showDetails = !0, this.$nextTick(() => {
786
+ setTimeout(() => {
787
+ this.$refs.viewFormDetails.open(s.targeturl);
788
+ });
789
+ });
790
+ },
791
+ refresh(s = !0) {
792
+ this.$nextTick(() => {
793
+ setTimeout(() => {
794
+ const e = this.$refs[this.type];
795
+ e && e.init(s);
796
+ });
797
+ });
798
+ },
799
+ open() {
800
+ this.visible = !0, this.refresh(!1);
801
+ },
802
+ readOneClick() {
803
+ this.$confirm(this.$i18nt("gd.https.oneClickRead", "\u662F\u5426\u4E00\u952E\u5DF2\u8BFB\u6D88\u606F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
804
+ confirmButtonText: this.$i18nt("gd.btn.confirm", "\u786E\u8BA4"),
805
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
806
+ showClose: !1,
807
+ confirmButtonLoading: !1,
808
+ cancelButtonLoading: !1,
809
+ closeOnClickModal: !1,
810
+ type: "warning",
811
+ confirmButtonClass: "el-button--danger",
812
+ customClass: "custom-alert",
813
+ callback: () => {
814
+ },
815
+ beforeClose: (s, e, t) => {
816
+ if (s !== "confirm") {
817
+ t();
818
+ return;
819
+ }
820
+ this.oneClick(s, e, t);
821
+ }
822
+ });
823
+ },
824
+ oneClick(s, e, t) {
825
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, R().then((i) => {
826
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i.code == 200 || i.code == 204 ? (t(), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message);
827
+ });
828
+ },
829
+ getDayNum(s) {
830
+ const e = new Date(s), t = e.getFullYear(), i = e.getMonth() + 1, a = e.getDate();
831
+ return `${t}-${this.formatNumber(i)}-${this.formatNumber(a)}`;
832
+ },
833
+ formatNumber(s) {
834
+ return s = s.toString(), s[1] ? s : "0" + s;
835
+ }
836
+ }
837
+ };
838
+ var re = function() {
839
+ var e = this, t = e._self._c;
840
+ return t("div", [t("el-drawer", { attrs: { visible: e.visible, "close-on-press-escape": !1, "append-to-body": !1, "modal-append-to-body": !0, size: e.width, "show-close": !1, modal: !1, "custom-class": "gd-drawer-msg", withHeader: !1 }, on: { "update:visible": function(i) {
841
+ e.visible = i;
842
+ } } }, [t("div", { staticClass: "drawer-main" }, [t("div", { staticClass: "title" }, [t("el-radio-group", { on: { input: function(i) {
843
+ return e.refresh(!1);
844
+ } }, model: { value: e.type, callback: function(i) {
845
+ e.type = i;
846
+ }, expression: "type" } }, [t("el-radio-button", { attrs: { label: "messageDataRefun" } }, [e._v(e._s(e.$i18nt("gd.menu.unreadMessage", "\u672A\u8BFB\u6D88\u606F")))]), t("el-radio-button", { attrs: { label: "readMessageDataRef" } }, [e._v(e._s(e.$i18nt("gd.menu.readMessages", "\u5DF2\u8BFB\u6D88\u606F")))])], 1), e.notificationsData.length > 0 ? t("i", { staticClass: "gd-icons gd-icon-qinglihuancun", attrs: { title: e.$i18nt("gd.menu.oneClickRead", "\u4E00\u952E\u5DF2\u8BFB") }, on: { click: e.readOneClick } }) : e._e()], 1), e.visible ? t("div", { staticClass: "content" }, [t("MessageData", { directives: [{ name: "show", rawName: "v-show", value: e.type === "messageDataRefun", expression: "type === 'messageDataRefun'" }], ref: "messageDataRefun", attrs: { daySet: e.daySet }, on: { markAsRead: e.markAsRead, notifications: e.notifications } }), t("ReadMessageData", { directives: [{ name: "show", rawName: "v-show", value: e.type === "readMessageDataRef", expression: "type === 'readMessageDataRef'" }], ref: "readMessageDataRef", attrs: { daySet: e.daySet }, on: { markAsRead: e.markAsRead } })], 1) : e._e()])]), e.showDetails ? t("gd-view-form-details", { ref: "viewFormDetails", on: { close: e.closeShowDetails } }) : e._e()], 1);
847
+ }, ce = [], de = /* @__PURE__ */ u(
848
+ le,
849
+ re,
850
+ ce,
851
+ !1,
852
+ null,
853
+ "954b95d6",
854
+ null,
855
+ null
856
+ );
857
+ const ue = de.exports;
858
+ const me = {
859
+ data() {
860
+ return {
861
+ transKey: "gd.notice.detail",
862
+ fullscreen: !1,
863
+ visible: !1,
864
+ width: "900",
865
+ confirmLoading: !1,
866
+ contentRecord: {},
867
+ sysViewButtons: [],
868
+ type: "pdf"
869
+ };
870
+ },
871
+ computed: {
872
+ height() {
873
+ return this.screenHeight - 24 - 40 - 36;
874
+ },
875
+ headTitle() {
876
+ return this.$i18nt(this.transKey, this.title);
877
+ },
878
+ style() {
879
+ return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
880
+ },
881
+ ...m(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
882
+ },
883
+ methods: {
884
+ open(s) {
885
+ this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(s.id), s.attachment && this.$nextTick(() => {
886
+ setTimeout(() => {
887
+ let e = { name: `${s.title}.${this.type}`, fileId: s.attachment, fullscreen: !1 };
888
+ this.$refs.filePreview.open(e);
889
+ }, 0);
890
+ });
891
+ },
892
+ sysNoticeDetail(s) {
893
+ this.fullscreen = !1, S({
894
+ id: s
895
+ }).then((e) => {
896
+ this.confirmLoading = !1, this.contentRecord = e.data;
897
+ });
898
+ },
899
+ handleCancel() {
900
+ this.visible = !1, this.contentRecord = {};
901
+ },
902
+ closed() {
903
+ this.visible = !1;
904
+ },
905
+ toggleFullscreen() {
906
+ this.fullscreen = !this.fullscreen;
907
+ },
908
+ doEvent(s) {
909
+ const e = s.item.functionName;
910
+ this[e] && this[e]();
911
+ }
912
+ }
913
+ };
914
+ var he = function() {
915
+ var e = this, t = e._self._c;
916
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
917
+ e.visible = i;
918
+ }, closed: e.closed } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("div", { staticStyle: { "text-align": "center", "font-size": "30px" } }, [e._v(e._s(this.contentRecord.title))]), t("br"), t("div", { staticStyle: { "text-align": "right", "font-size": "10px" } }, [t("span", [e._v(" " + e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername) + " ")]), t("span", [e._v(" " + e._s(e.$i18nt("gd.notice.releaseTime", "\u53D1\u5E03\u65F6\u95F4")) + ": " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), t("el-divider", { staticStyle: { "margin-top": "5px" } }), t("div", [t("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? t("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1)], 1);
919
+ }, fe = [], pe = /* @__PURE__ */ u(
920
+ me,
921
+ he,
922
+ fe,
923
+ !1,
924
+ null,
925
+ "e0a239f4",
926
+ null,
927
+ null
928
+ );
929
+ const ge = pe.exports;
930
+ const ve = {
931
+ mixins: [F],
932
+ data() {
933
+ return {
934
+ transKey: "gd.btn.add",
935
+ type: "1",
936
+ allData: []
937
+ };
938
+ },
939
+ components: {
940
+ detailForm: ge
941
+ },
942
+ computed: {
943
+ ...m(["tableLists", "tablePageSize", "tableSize", "labelPosition", "formMode"])
944
+ },
945
+ methods: {
946
+ editForm(s) {
947
+ this.transKey = "gd.notice.detail", this.$refs.detailForm.open(s);
948
+ },
949
+ init(s) {
950
+ if (this.type = s.messagetype, this.type == "4") {
951
+ let e = {
952
+ key: "tabledataid",
953
+ transKey: "Dynamics.Sys_Tables_sys_approval_task_Views_toApprovaltask_Fields_15452455065798_Name",
954
+ prop: "tabledataid",
955
+ label: "\u5BA1\u6279\u5355\u636E",
956
+ owidth: "250",
957
+ columnName: "tabledataid_aboutid",
958
+ fkEntityName: "dev_test",
959
+ id: 13238497276230,
960
+ fkId: 13238497276230,
961
+ align: "left",
962
+ checked: !0,
963
+ effectType: "about",
964
+ fieldType: "about",
965
+ gatherConfig: !1,
966
+ fieldFormat: "null",
967
+ dictTypeCode: null,
968
+ dictTypeList: [],
969
+ maxTagCount: 2,
970
+ sourceFk: !0,
971
+ displayMode: "none",
972
+ displayPrefix: "none",
973
+ preview: !0,
974
+ download: !0,
975
+ filedsize: 255,
976
+ hyperlink: !0,
977
+ type: "slot",
978
+ slotType: "tabledataid"
979
+ }, t = {
980
+ id: 22450602588615,
981
+ tasktype: "approver",
982
+ tabledataid_aboutid: 22450596595013,
983
+ namesys_usersubmitter: "\u8096yx",
984
+ status: 0,
985
+ createdtime: "2025-09-11 11:15:34",
986
+ isreturn: 0,
987
+ nodename: "\u524D\u52A0\u7B7E\u5BA1\u6279\u4EBA",
988
+ isautoapproval: 0,
989
+ tabledataid: "\u76F4\u5C5E\u4E0A\u7EA7"
990
+ }, i = e.prop + "_AboutTable", a = t[i];
991
+ this.tableLists.filter((l) => l.tablename == a)[0];
992
+ let o = {
993
+ tableId: "19785037949381",
994
+ data: [
995
+ {
996
+ id: t[e.columnName]
997
+ }
998
+ ]
999
+ };
1000
+ this.$refs.middleware.init(o).then((l) => {
1001
+ setTimeout(() => {
1002
+ }, 1e3);
1003
+ });
1004
+ } else {
1005
+ this.getNoticeData();
1006
+ const e = s.targeturl.split("?")[1];
1007
+ let t = "";
1008
+ e && (t = new URLSearchParams(e).get("id")), setTimeout(() => {
1009
+ this.allData.forEach((i) => {
1010
+ i.id == t && this.editForm(i);
1011
+ });
1012
+ }, 100);
1013
+ }
1014
+ },
1015
+ getNoticeData() {
1016
+ return B(Object.assign({ pageNo: 1, pageSize: 1e5 })).then((s) => {
1017
+ this.allData = s.data.rows;
1018
+ });
1019
+ },
1020
+ openExternal() {
1021
+ }
1022
+ },
1023
+ mounted() {
1024
+ }
1025
+ };
1026
+ var Ae = function() {
1027
+ var e = this, t = e._self._c;
1028
+ return t("div", { staticClass: "gd-page-view" }, [e.type == "1" || e.type == "2" || e.type == "3" ? t("detailForm", { ref: "detailForm" }) : e._e(), e.type == "4" ? t("gd-middleware", { ref: "middleware" }) : e._e()], 1);
1029
+ }, ye = [], _e = /* @__PURE__ */ u(
1030
+ ve,
1031
+ Ae,
1032
+ ye,
1033
+ !1,
1034
+ null,
1035
+ "3e8b356a",
1036
+ null,
1037
+ null
1038
+ );
1039
+ const Ce = _e.exports, y = [
1040
+ [
1041
+ "requestFullscreen",
1042
+ "exitFullscreen",
1043
+ "fullscreenElement",
1044
+ "fullscreenEnabled",
1045
+ "fullscreenchange",
1046
+ "fullscreenerror"
1047
+ ],
1048
+ [
1049
+ "webkitRequestFullscreen",
1050
+ "webkitExitFullscreen",
1051
+ "webkitFullscreenElement",
1052
+ "webkitFullscreenEnabled",
1053
+ "webkitfullscreenchange",
1054
+ "webkitfullscreenerror"
1055
+ ],
1056
+ [
1057
+ "webkitRequestFullScreen",
1058
+ "webkitCancelFullScreen",
1059
+ "webkitCurrentFullScreenElement",
1060
+ "webkitCancelFullScreen",
1061
+ "webkitfullscreenchange",
1062
+ "webkitfullscreenerror"
1063
+ ],
1064
+ [
1065
+ "mozRequestFullScreen",
1066
+ "mozCancelFullScreen",
1067
+ "mozFullScreenElement",
1068
+ "mozFullScreenEnabled",
1069
+ "mozfullscreenchange",
1070
+ "mozfullscreenerror"
1071
+ ],
1072
+ [
1073
+ "msRequestFullscreen",
1074
+ "msExitFullscreen",
1075
+ "msFullscreenElement",
1076
+ "msFullscreenEnabled",
1077
+ "MSFullscreenChange",
1078
+ "MSFullscreenError"
1079
+ ]
1080
+ ], d = (() => {
1081
+ if (typeof document > "u")
1082
+ return !1;
1083
+ const s = y[0], e = {};
1084
+ for (const t of y)
1085
+ if ((t == null ? void 0 : t[1]) in document) {
1086
+ for (const [a, n] of t.entries())
1087
+ e[s[a]] = n;
1088
+ return e;
1089
+ }
1090
+ return !1;
1091
+ })(), _ = {
1092
+ change: d.fullscreenchange,
1093
+ error: d.fullscreenerror
1094
+ };
1095
+ let r = {
1096
+ request(s = document.documentElement, e) {
1097
+ return new Promise((t, i) => {
1098
+ const a = () => {
1099
+ r.off("change", a), t();
1100
+ };
1101
+ r.on("change", a);
1102
+ const n = s[d.requestFullscreen](e);
1103
+ n instanceof Promise && n.then(a).catch(i);
1104
+ });
1105
+ },
1106
+ exit() {
1107
+ return new Promise((s, e) => {
1108
+ if (!r.isFullscreen) {
1109
+ s();
1110
+ return;
1111
+ }
1112
+ const t = () => {
1113
+ r.off("change", t), s();
1114
+ };
1115
+ r.on("change", t);
1116
+ const i = document[d.exitFullscreen]();
1117
+ i instanceof Promise && i.then(t).catch(e);
1118
+ });
1119
+ },
1120
+ toggle(s, e) {
1121
+ return r.isFullscreen ? r.exit() : r.request(s, e);
1122
+ },
1123
+ onchange(s) {
1124
+ r.on("change", s);
1125
+ },
1126
+ onerror(s) {
1127
+ r.on("error", s);
1128
+ },
1129
+ on(s, e) {
1130
+ const t = _[s];
1131
+ t && document.addEventListener(t, e, !1);
1132
+ },
1133
+ off(s, e) {
1134
+ const t = _[s];
1135
+ t && document.removeEventListener(t, e, !1);
1136
+ },
1137
+ raw: d
1138
+ };
1139
+ Object.defineProperties(r, {
1140
+ isFullscreen: {
1141
+ get: () => Boolean(document[d.fullscreenElement])
1142
+ },
1143
+ element: {
1144
+ enumerable: !0,
1145
+ get: () => {
1146
+ var s;
1147
+ return (s = document[d.fullscreenElement]) != null ? s : void 0;
1148
+ }
1149
+ },
1150
+ isEnabled: {
1151
+ enumerable: !0,
1152
+ get: () => Boolean(document[d.fullscreenEnabled])
1153
+ }
1154
+ });
1155
+ d || (r = { isEnabled: !1 });
1156
+ const v = r;
1157
+ const be = {
1158
+ props: {
1159
+ basicAttribute: {
1160
+ type: Object,
1161
+ default: () => ({})
1162
+ }
1163
+ },
1164
+ data() {
1165
+ return {
1166
+ isFullscreen: !1,
1167
+ photoUrl: "",
1168
+ avatar: "",
1169
+ unreadCount: "",
1170
+ handletype: "1",
1171
+ tabsReady: !1
1172
+ };
1173
+ },
1174
+ components: {
1175
+ SettingDrawer: $,
1176
+ XlsxImport: I,
1177
+ InformationMsg: ue,
1178
+ Transfer: Ce
1179
+ },
1180
+ computed: {
1181
+ hasLogout() {
1182
+ const s = this.options.filter((e) => e.key === "logout")[0];
1183
+ return s ? s.statu : !0;
1184
+ },
1185
+ options() {
1186
+ return (this.basicAttribute.menus || []).map((e) => (e.key === "universalImport" ? (e.permission = "sysUser:universalImport", e.transkey = "gd.menu.universalImport") : e.key === "advancedFind" ? (e.permission = "sysUser:advancedFind", e.transkey = "gd.menu.menuAdvancedFind") : e.key === "information" ? e.transkey = "gd.menu.information" : e.key === "theme" ? e.transkey = "gd.menu.themeConfiguration" : e.key === "fullScreen" && (e.transkey = "gd.menu.fullScreen"), e));
1187
+ },
1188
+ menus() {
1189
+ const s = this.hasItems ? [
1190
+ {
1191
+ disabled: !1,
1192
+ key: "application",
1193
+ name: "\u5E94\u7528",
1194
+ statu: !0,
1195
+ permission: "sysApplication:see",
1196
+ transkey: "gd.solution.application"
1197
+ }
1198
+ ] : [], e = this.options.filter((t) => t.key !== "logout");
1199
+ return s.concat(e).filter((t) => t.permission ? this.$hasPerm(t.permission) : !0);
1200
+ },
1201
+ hasItems() {
1202
+ return (this.systemInfo.id ? this.systemInfo : window.$systemInfo).code === "GDS_LCDP";
1203
+ },
1204
+ apps() {
1205
+ return this.userInfo.apps;
1206
+ },
1207
+ getUserImg() {
1208
+ let s = "/gds/" + this.userInfo.filePath + "/" + this.userInfo.fileObjectName;
1209
+ return `${this.$getImageUrl(s)}`;
1210
+ },
1211
+ fadeColord() {
1212
+ return this.fadeColor(this.primaryColor, 0.2);
1213
+ },
1214
+ ...m(["tableLists", "platformData", "userInfo", "primaryColor", "token", "systemInfo"])
1215
+ },
1216
+ methods: {
1217
+ imageUrl() {
1218
+ N({
1219
+ id: this.userInfo.avatar
1220
+ }).then((s) => {
1221
+ const e = new Blob([s]);
1222
+ this.photoUrl = window.URL.createObjectURL(e);
1223
+ }).catch((s) => {
1224
+ this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A" + s.message);
1225
+ });
1226
+ },
1227
+ echartsManage(s) {
1228
+ this.$router.push({
1229
+ name: "echartsManage"
1230
+ }), this.$refs[s][0].doClose();
1231
+ },
1232
+ accountSetting(s) {
1233
+ this.$router.push({
1234
+ name: "accountSettings"
1235
+ }), this.$refs[s][0].doClose();
1236
+ },
1237
+ hand(s) {
1238
+ s === "theme" ? this.$refs.settingDrawer.toggle() : s === "fullScreen" ? this.toggleFullscreen() : s === "application" ? this.$router.push({
1239
+ path: "/platform/application"
1240
+ }) : s === "universalImport" ? this.$refs.xlsxImport.open() : s == "information" ? this.$refs.informationMsg.open() : this.$router.push({
1241
+ path: `/${s}`
1242
+ });
1243
+ },
1244
+ showtabs() {
1245
+ this.tabsReady = !0;
1246
+ },
1247
+ hidetabs() {
1248
+ this.tabsReady = !1;
1249
+ },
1250
+ toggleFullscreen() {
1251
+ if (!v.isEnabled) {
1252
+ message.error(this.$i18nt("gd.account.browserNotSupported", "\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F\u6A21\u5F0F?"));
1253
+ return;
1254
+ }
1255
+ v.toggle(), v.isFullscreen ? this.isFullscreen = !1 : this.isFullscreen = !0;
1256
+ },
1257
+ handleLogout() {
1258
+ let s = this;
1259
+ this.$confirm(this.$i18nt("gd.account.logOutContent", "\u771F\u7684\u8981\u6CE8\u9500\u767B\u5F55\u5417?"), this.$i18nt("gd.account.logOutTip", "\u63D0\u793A"), {
1260
+ confirmButtonText: this.$i18nt("gd.menu.logOutOk", "\u786E\u8BA4"),
1261
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1262
+ showClose: !1,
1263
+ closeOnClickModal: !1,
1264
+ closeOnPressEscape: !1,
1265
+ type: "warning",
1266
+ confirmButtonClass: "el-button--danger",
1267
+ customClass: "custom-alert",
1268
+ callback: () => {
1269
+ },
1270
+ beforeClose: (e, t, i) => {
1271
+ if (e !== "confirm") {
1272
+ i();
1273
+ return;
1274
+ }
1275
+ t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, s.Logout().then((a) => {
1276
+ t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, setTimeout(() => {
1277
+ window.location.reload(), i();
1278
+ }, 100);
1279
+ });
1280
+ }
1281
+ });
1282
+ },
1283
+ fadeColor(s, e) {
1284
+ let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), a = parseInt(s.substring(5, 7), 16);
1285
+ return `rgba(${t},${i},${a},${e})`;
1286
+ },
1287
+ handleMessage(s) {
1288
+ this.unreadCount = s.count;
1289
+ },
1290
+ handleClick(s, e) {
1291
+ this.$nextTick(() => {
1292
+ setTimeout(() => {
1293
+ const t = s.name === "1" ? "messageDataRefun" : "readMessageDataRef";
1294
+ this.$refs[t] && typeof this.$refs[t].init == "function" && this.$refs[t].init();
1295
+ }, 10);
1296
+ });
1297
+ },
1298
+ ...A(["Logout"])
1299
+ },
1300
+ async mounted() {
1301
+ this.$socket.on("receive", this.handleMessage), this.imageUrl(), await this.$socket.authenticate(this.token);
1302
+ }
1303
+ };
1304
+ var Me = function() {
1305
+ var e = this, t = e._self._c;
1306
+ return t("div", { staticClass: "user-wrapper" }, [e._l(e.menus, function(i) {
1307
+ return [i.statu ? [i.key === "user" ? t("el-popover", { ref: `popover_${i.key}`, refInFor: !0, attrs: { placement: "bottom-start", trigger: "click", tabindex: 9999 } }, [t("div", { staticClass: "selectionl-popover", style: { "--dilute": e.fadeColord } }, [t("div", { staticClass: "item", on: { click: function(a) {
1308
+ return e.accountSetting(`popover_${i.key}`);
1309
+ } } }, [t("i", { staticClass: "gd-icon-xitongshezhi gd-icons" }), t("span", [e._v(e._s(e.$i18nt("gd.menu.accountSettings", "\u8D26\u53F7\u8BBE\u7F6E")))])]), t("div", { staticClass: "item", on: { click: function(a) {
1310
+ return e.echartsManage(`popover_${i.key}`);
1311
+ } } }, [t("i", { staticClass: "gd-icon-zhuzhuangtu gd-icons" }), t("span", [e._v(e._s(e.$i18nt("gd.menu.echarts", "\u4E2A\u4EBA\u56FE\u8868\u7BA1\u7406")))])]), t("div", { staticClass: "popover-solid" }, [t("el-divider")], 1), e.hasLogout ? t("div", { staticClass: "item", on: { click: function(a) {
1312
+ return e.handleLogout(`popover_${i.key}`);
1313
+ } } }, [t("i", { staticClass: "gd-icon-tuichudenglu1 gd-icons" }), t("span", [e._v(e._s(e.$i18nt("gd.menu.logOut", "\u9000\u51FA\u767B\u5F55")))])]) : e._e()]), t("span", { staticClass: "user-dropdown-menu", attrs: { slot: "reference" }, slot: "reference" }, [e.userInfo.avatar ? t("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: e.userInfo.avatar, expression: "userInfo.avatar" }], staticClass: "user-img" }) : e.userInfo.filePath && e.userInfo.photoUrl == "" ? t("img", { staticClass: "user-img", attrs: { src: e.getUserImg } }) : t("img", { staticClass: "user-img", attrs: { src: "data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDACMYGh4aFiMeHB4nJSMpNFc4NDAwNGpMUD9Xfm+EgnxveneLnMipi5S9lnd6ru2wvc7V4OLgh6f1//PZ/8jb4Nf/2wBDASUnJzQuNGY4OGbXj3qP19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f/wgARCADhAOEDAREAAhEBAxEB/8QAGgABAAIDAQAAAAAAAAAAAAAAAAECAwQFBv/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAADuAAAAGFOfLzqwWY6qZozG9L0kwS6pat6NmgAAAAANc5xxtS+s7abkZKRQ07daMc1FzlsrnW5nfZTZAAAAEDCed019Y2qyICkAKKJiMa7XPffjLQAAAAGI81ZTeboAAAAAIiud+ll2AAAAAY04Mul0xksKAAAACAVlyZ36KM6FAAAHOPP6mTWQAACGiAAggrnXazesoAAAHl619YhF0EEItRNiIrPy1PWYEhpMlyZ36iMoAABgPLVGs0JRV5utxKWatcxGNdrh37HHXM640/RxkxrElc69Tm7lAAAco8/qXuZFSl1mMdzM3EZ8denzbeNXXDM8zs1evHXsiWq9vN6xlABhOGuvm2l1OmZSpbNmsmNbEbeW1nexcyTLERbjmtdjndpqdc5ebLE6noLnKoHINFvq8LzuitnQ46ulrcqWiVXM2oAjNiqy45a51p9OWr1dflrmdJfpy7wIjzR1PL2tOnP688uZu51a29lmZqdSIkUERLEVMbUZusaffPT4bjfPi+nPqZiwjy/S9Xy9cvLeDfPHW3z6W0vc2ZmrJGgADKlsZUm4Ndmu5s8t03OP7uPp+UsI89bHLp0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lchEGih1KAqMtQBQl6YKewlPx/ZQyoQQMJc2m/k9MysfuMYsfcQhKysrLm0ZQzWbpEEePqJyn4+SVed/2UT+A/5NyX5ElOK5GMYxj7TwSsIS/FGBw/6wtHAVn/AN2T99g4ZKImPcvROTmK9JKCD+bssRjGPjPJAgQIQhL1UQgoADKFnFMIpQQeUnevtqo6OMpcALQaJqkL0XB5liMYkfYECBCBCEr3kUogvcWhzpFAQHY3VVe50/BRy47B2ojGJGZ7AgQgQIQhgK9RdV3Q6hCZ8JKuiLySxi/k/Y+M8hAhCEICuEUoYds73fkJRRElLlzvmNUUY+8hCVN4IpUVjdVf+Q+UlFHR4+5VLmjzLVa7s0688TYJBg73AVwNiAKuMvdVDqHEPm6JS6cjx+Sl63MY0HmrLFq7pF/SDNgwF6GFF5s5G9aCHc1VVw/PqCfPrFhxB3keZT+dOHklLl+Exg0d1IFU2rsSgawKA6nEb0BDGXbu5wRW3K7BczwOcQd+TYedDolV7SCGocsKL+8/k9GgAKq97L+iXohw/wCS9Gl0V46/JmszDvfGeauQfi33VdMZwE9GlGmgL9wA6i71PVpRoqG/UU3CJhA9mQh8WTJnjJXiIso3L4Gj2RL7p1Kl9162XVuUxA6mOzZkyZMmeD5jwOcT0gbqm4QdDJrPXOmDM94f0Psn/m6s/wCpBwIPb/k9c2g+D3nxnu9DCi/ayt+O5W5i7PWy1Lfpkwh7j5Az2nGn7KNqVSjhD1bhmw9a/wCy972qi6TYf3T5P//Z" } })])]) : t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { content: e.$i18nt(i.transkey, i.name), placement: "bottom", "open-delay": 150 } }, [t("span", { staticClass: "user-dropdown-menu", on: { click: function(a) {
1314
+ return e.hand(i.key);
1315
+ } } }, [i.key === "universalImport" ? t("i", { staticClass: "gd-icons gd-icon-mulu" }) : i.key === "information" ? t("el-badge", { staticClass: "item", attrs: { slot: "reference", hidden: e.unreadCount == "", value: e.unreadCount > 99 ? "99+" : e.unreadCount }, slot: "reference" }, [t("i", { staticClass: "gd-icons gd-icon-a-huabanbeifen35" })]) : i.key === "advancedFind" ? t("i", { staticClass: "gd-icons el-icon-search" }) : i.key === "theme" ? t("i", { staticClass: "gd-icons gd-icon-xitongshezhi" }) : i.key === "fullScreen" ? t("i", { staticClass: "gd-icons", class: e.isFullscreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda" }) : i.key === "application" ? t("i", { staticClass: "gd-icons gd-icon-yemian1" }) : e._e()], 1)])] : e._e()];
1316
+ }), t("SettingDrawer", { ref: "settingDrawer" }), t("XlsxImport", { ref: "xlsxImport", attrs: { typeImport: 2 } }), t("InformationMsg", { ref: "informationMsg" }), t("Transfer", { ref: "transfer" })], 2);
1317
+ }, ke = [], we = /* @__PURE__ */ u(
1318
+ be,
1319
+ Me,
1320
+ ke,
1321
+ !1,
1322
+ null,
1323
+ "5a5c3fff",
1324
+ null,
1325
+ null
1326
+ );
1327
+ const Le = we.exports;
1328
+ export {
1329
+ g as G,
1330
+ Le as U
1331
+ };