gds-plus-design-vue 1.2.5 → 1.2.7

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 (368) hide show
  1. package/lib/approvalModel.a26e8ff6.mjs +340 -0
  2. package/lib/approvalModel.cfd81971.js +1 -0
  3. package/lib/btnFunctionName.9aabfed0.js +1 -0
  4. package/lib/btnFunctionName.d08627cb.mjs +254 -0
  5. package/lib/btnRelation.8e608261.mjs +156 -0
  6. package/lib/btnRelation.cb3dc022.js +1 -0
  7. package/lib/businessRules.754cc398.mjs +539 -0
  8. package/lib/businessRules.f41f7035.js +1 -0
  9. package/lib/buttonRule.4483314f.mjs +396 -0
  10. package/lib/buttonRule.645de1d3.js +1 -0
  11. package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
  12. package/lib/chartDisplayRules.fedfefe8.js +1 -0
  13. package/lib/components.chartbi.470b96af.mjs +1798 -0
  14. package/lib/components.chartbi.e9459775.js +8 -0
  15. package/lib/components.coloreditor.affa0400.mjs +1505 -0
  16. package/lib/components.coloreditor.dbec8da6.js +6 -0
  17. package/lib/components.dataassign.39281072.mjs +147 -0
  18. package/lib/components.dataassign.b6a1bffb.js +1 -0
  19. package/lib/components.echarts.95ffc3b3.mjs +811 -0
  20. package/lib/components.echarts.d09e9850.js +4 -0
  21. package/lib/components.exception.11315db5.js +1 -0
  22. package/lib/components.exception.facf9df9.mjs +61 -0
  23. package/lib/components.form.56ea8f98.js +41 -0
  24. package/lib/components.form.a7b3ea37.mjs +7813 -0
  25. package/lib/components.globalheader.0a7ce959.js +1 -0
  26. package/lib/components.globalheader.4a5f7225.mjs +54 -0
  27. package/lib/components.iconselector.0c03cfc7.js +1 -0
  28. package/lib/components.iconselector.251c29b9.mjs +1169 -0
  29. package/lib/components.imgpreview.5546e541.mjs +213 -0
  30. package/lib/components.imgpreview.706a89f0.js +1 -0
  31. package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
  32. package/lib/components.lunccalendar.fe7db238.js +1 -0
  33. package/lib/components.middleware.01601349.js +1 -0
  34. package/lib/components.middleware.f5f4ac0f.mjs +148 -0
  35. package/lib/components.modaltitle.5ded43f9.mjs +127 -0
  36. package/lib/components.modaltitle.cc9ba616.js +1 -0
  37. package/lib/components.multitab.0f9da9f3.mjs +140 -0
  38. package/lib/components.multitab.726cff2f.js +1 -0
  39. package/lib/components.selecttree.1a71c963.mjs +170 -0
  40. package/lib/components.selecttree.2fadffca.js +1 -0
  41. package/lib/components.settingdrawer.1af86231.js +1 -0
  42. package/lib/components.settingdrawer.adc262cf.mjs +237 -0
  43. package/lib/components.sidemenu.03442146.mjs +277 -0
  44. package/lib/components.sidemenu.5107c7e3.js +1 -0
  45. package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
  46. package/lib/components.sidenavmenu.ef33de39.js +1 -0
  47. package/lib/components.statuschange.805a751b.mjs +116 -0
  48. package/lib/components.statuschange.83646c5d.js +1 -0
  49. package/lib/components.table.61eb5d81.js +8 -0
  50. package/lib/components.table.c986e58d.mjs +4650 -0
  51. package/lib/components.tableumy.35b465f9.mjs +453 -0
  52. package/lib/components.tableumy.eba43953.js +1 -0
  53. package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
  54. package/lib/components.tablevirtual.6af04c44.js +1 -0
  55. package/lib/components.teamsharing.68865424.js +1 -0
  56. package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
  57. package/lib/components.tooltip.ccb1717d.mjs +86 -0
  58. package/lib/components.tooltip.e2e21e66.js +1 -0
  59. package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
  60. package/lib/components.uploadfile.e93b500d.js +1 -0
  61. package/lib/components.uploadimg.3804913e.js +1 -0
  62. package/lib/components.uploadimg.e49707d9.mjs +192 -0
  63. package/lib/components.verificationcode.5a9c0220.js +1 -0
  64. package/lib/components.verificationcode.ead74922.mjs +71 -0
  65. package/lib/components.viewformdetails.3c1596ad.js +1 -0
  66. package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
  67. package/lib/components.viewloading.5b178ec5.js +1 -0
  68. package/lib/components.viewloading.cb7917b7.mjs +99 -0
  69. package/lib/components.watermark.849409ca.js +2 -0
  70. package/lib/components.watermark.a2521d0c.mjs +53 -0
  71. package/lib/components.xlsxexport.3405a00b.js +1 -0
  72. package/lib/components.xlsxexport.871f87d1.mjs +263 -0
  73. package/lib/components.xlsximport.85ce77cf.mjs +922 -0
  74. package/lib/components.xlsximport.e3bcb07d.js +1 -0
  75. package/lib/copy.b09a6d38.js +1 -0
  76. package/lib/copy.c0a2f16d.mjs +572 -0
  77. package/lib/dialogLayout.059ee256.mjs +138 -0
  78. package/lib/dialogLayout.cedf2865.js +1 -0
  79. package/lib/drawerContainer.38d7b530.mjs +154 -0
  80. package/lib/drawerContainer.ea7722d7.js +1 -0
  81. package/lib/drawerLayout.454e4921.js +1 -0
  82. package/lib/drawerLayout.fad843ee.mjs +119 -0
  83. package/lib/editForm.c199538f.mjs +434 -0
  84. package/lib/editForm.f9dc93ef.js +1 -0
  85. package/lib/flow.designer.4c83c0d3.js +1 -0
  86. package/lib/flow.designer.9442a995.mjs +7673 -0
  87. package/lib/flow.list.4a31969e.mjs +3032 -0
  88. package/lib/flow.list.f41ee531.js +1 -0
  89. package/lib/form.build.c38bf362.js +1 -0
  90. package/lib/form.build.fb9f905b.mjs +259 -0
  91. package/lib/form.designer.build.3fdf8007.js +1 -0
  92. package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
  93. package/lib/formFiled.624b8dd3.js +1 -0
  94. package/lib/formFiled.94fb1dce.mjs +498 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +233 -91033
  97. package/lib/http.appmanage.9b22ff82.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  100. package/lib/http.codegeneratemanage.e3db2f09.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.2583b5ae.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.d8fe18dc.mjs +50 -0
  111. package/lib/http.duplicatechecking.9b79ce21.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.6fdfc693.js +1 -0
  116. package/lib/http.filedocument.d3a4afd9.mjs +293 -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.1af1e119.mjs +517 -0
  128. package/lib/http.main.2f8a6936.js +1 -0
  129. package/lib/http.menumanage.09fffb7d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.1d68e914.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.2cdb23b8.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.0b1df8d5.mjs +58 -0
  140. package/lib/http.orgmanage.5162fd7a.js +1 -0
  141. package/lib/http.pluginmanage.54720675.mjs +82 -0
  142. package/lib/http.pluginmanage.6a876040.js +1 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  146. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  147. package/lib/http.rolemanage.4d1101dd.js +1 -0
  148. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  149. package/lib/http.solution.b10d9197.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.176d3d06.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.932ba43b.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.7adf4910.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.a9c609d5.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.6e894942.js +1 -0
  162. package/lib/http.timersmanage.c79afb66.mjs +146 -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.f8694b51.mjs +104 -0
  167. package/lib/http.useraffiliation.af2013ad.js +1 -0
  168. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  169. package/lib/http.usermanage.6dcbc7de.js +1 -0
  170. package/lib/http.usermanage.f5491144.mjs +219 -0
  171. package/lib/http.webresource.1a1a768f.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.3fa2dc66.mjs +40154 -0
  174. package/lib/index.fe757a98.js +8 -0
  175. package/lib/layoutBlocks.14c77a02.js +1 -0
  176. package/lib/layoutBlocks.5d71a03b.mjs +401 -0
  177. package/lib/layouts.a662f681.js +2 -0
  178. package/lib/layouts.ec4f20a2.mjs +376 -0
  179. package/lib/main.092a2ac8.js +1 -0
  180. package/lib/{main.c59fc1e8.mjs → main.15237e71.mjs} +12 -10
  181. package/lib/main.29769f01.js +1 -0
  182. package/lib/main.401059c6.mjs +189 -0
  183. package/lib/main.447be615.js +1 -0
  184. package/lib/main.4e507685.mjs +231 -0
  185. package/lib/main.72cafa63.mjs +540 -0
  186. package/lib/{main.4e325110.mjs → main.73f22d9e.mjs} +9 -8
  187. package/lib/main.7601bd3d.mjs +166 -0
  188. package/lib/main.79199ac2.js +1 -0
  189. package/lib/main.821d081b.js +1 -0
  190. package/lib/main.8627466a.mjs +537 -0
  191. package/lib/{main.955f770e.mjs → main.88e9be9d.mjs} +4 -4
  192. package/lib/main.8e6f6cba.mjs +323 -0
  193. package/lib/main.a9a54af9.js +1 -0
  194. package/lib/main.e033a376.js +1 -0
  195. package/lib/main.e2e4ba74.js +1 -0
  196. package/lib/{main.be62e9a4.mjs → main.e79d9e56.mjs} +113 -188
  197. package/lib/main.ea3a04f4.js +1 -0
  198. package/lib/main.f44d8279.js +1 -0
  199. package/lib/messages.5f54a62e.js +9 -0
  200. package/lib/{messages.7e418640.mjs → messages.d4354532.mjs} +4321 -5268
  201. package/lib/packages.filedocument.8418d852.mjs +4039 -0
  202. package/lib/packages.filedocument.9b8eda0d.js +1 -0
  203. package/lib/page.build.4d28df9a.js +12 -0
  204. package/lib/page.build.78cc7396.mjs +3020 -0
  205. package/lib/personal.echarts.940f1cc9.mjs +696 -0
  206. package/lib/personal.echarts.b5a7f574.js +1 -0
  207. package/lib/result.0161b0e0.js +1 -0
  208. package/lib/result.5a9330d7.mjs +627 -0
  209. package/lib/router.config.79a98ab8.mjs +3105 -0
  210. package/lib/router.config.7fd04c30.js +1 -0
  211. package/lib/solution.application.3ae7c0c5.js +1 -0
  212. package/lib/solution.application.fdc15ffc.mjs +548 -0
  213. package/lib/solution.applicationmenu.67aba620.js +1 -0
  214. package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
  215. package/lib/solution.approvalflow.81b7cfb7.js +1 -0
  216. package/lib/solution.approvalflow.a541adcc.mjs +436 -0
  217. package/lib/solution.dict.addbce33.mjs +769 -0
  218. package/lib/solution.dict.f1c9bae6.js +1 -0
  219. package/lib/solution.menu.2033fa37.mjs +5834 -0
  220. package/lib/solution.menu.6512047f.js +1 -0
  221. package/lib/solution.plugin.7094dbfd.js +1 -0
  222. package/lib/solution.plugin.d8f057cb.mjs +347 -0
  223. package/lib/solution.processflow.0adf4f55.js +1 -0
  224. package/lib/solution.processflow.a779bd58.mjs +392 -0
  225. package/lib/solution.role.d35cb00d.js +1 -0
  226. package/lib/solution.role.d9a4b25a.mjs +456 -0
  227. package/lib/solution.webresources.e1421655.mjs +379 -0
  228. package/lib/solution.webresources.e817757c.js +1 -0
  229. package/lib/solution.workflow.59552b8c.mjs +395 -0
  230. package/lib/solution.workflow.985e1f4d.js +1 -0
  231. package/lib/store.config.556bd56b.js +1 -0
  232. package/lib/store.config.5e5cb48a.mjs +547 -0
  233. package/lib/style.css +3 -3
  234. package/lib/system.account.1b281679.js +216 -0
  235. package/lib/system.account.96d5bc17.mjs +2093 -0
  236. package/lib/system.config.0ff45e62.js +1 -0
  237. package/lib/{system.config.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.a817cf68.mjs → system.dict.3697546d.mjs} +269 -344
  241. package/lib/system.dict.8e4fe6b0.js +1 -0
  242. package/lib/system.document.69e534a6.js +1 -0
  243. package/lib/system.document.8e4dbe5e.mjs +667 -0
  244. package/lib/system.duplicatechecking.1083eb1e.js +1 -0
  245. package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
  246. package/lib/system.email.06bb7cc1.mjs +133 -0
  247. package/lib/system.email.41036a31.js +1 -0
  248. package/lib/system.fieldsecurity.3ea880d8.js +1 -0
  249. package/lib/{system.fieldsecurity.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.1930d109.mjs → system.file.8ccc4569.mjs} +84 -151
  251. package/lib/system.file.b8e4e6a1.js +1 -0
  252. package/lib/system.log.14c22a7a.js +1 -0
  253. package/lib/{system.log.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.08a15a71.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
  261. package/lib/system.onlineuser.fc26aff9.js +1 -0
  262. package/lib/system.org.b6f826e8.js +1 -0
  263. package/lib/{system.org.6e858bf3.mjs → system.org.dd710a91.mjs} +3 -3
  264. package/lib/system.permissions.75406743.mjs +972 -0
  265. package/lib/system.permissions.97f68887.js +1 -0
  266. package/lib/system.plugin.3fcf7b0b.js +1 -0
  267. package/lib/{system.plugin.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.141dc00b.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
  275. package/lib/system.sumberrules.5e9cd262.js +1 -0
  276. package/lib/system.team.3e605266.js +1 -0
  277. package/lib/system.team.bb1fb40e.mjs +452 -0
  278. package/lib/system.teammembers.a098883b.js +1 -0
  279. package/lib/{system.teammembers.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.5e3e2bab.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
  287. package/lib/system.useraffiliation.f8b33def.js +1 -0
  288. package/lib/system.webresource.1d3ed352.js +1 -0
  289. package/lib/{system.webresource.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.79e15015.mjs → system.welcome.573a76db.mjs} +10 -3
  291. package/lib/system.welcome.eedf1db2.js +1 -0
  292. package/lib/tableDescriptions.923c4ef1.mjs +80 -0
  293. package/lib/tableDescriptions.b12679b0.js +1 -0
  294. package/lib/tcheckboxs.887d733c.mjs +52 -0
  295. package/lib/tcheckboxs.fe7e574a.js +1 -0
  296. package/lib/tcurrency.10ac9aa7.mjs +85 -0
  297. package/lib/tcurrency.20e959c0.js +1 -0
  298. package/lib/tdatepicker.54036bba.js +1 -0
  299. package/lib/tdatepicker.a08ad382.mjs +52 -0
  300. package/lib/tdictSwitch.274e9f86.js +1 -0
  301. package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
  302. package/lib/tfile.5c897827.js +1 -0
  303. package/lib/tfile.f63b73b9.mjs +62 -0
  304. package/lib/tparticipants.4698962b.mjs +56 -0
  305. package/lib/tparticipants.b6fb4545.js +1 -0
  306. package/lib/translation.mains.5cfc7a2f.js +1 -0
  307. package/lib/translation.mains.e6cb610b.mjs +383 -0
  308. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  309. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  310. package/lib/utils.echarts.js.461a74e7.js +54 -0
  311. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  312. package/lib/utils.mixins.js.750ca50e.js +1 -0
  313. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  314. package/lib/utils.plug.js.9313aead.mjs +31 -0
  315. package/lib/utils.plug.js.f62510ce.js +1 -0
  316. package/lib/utils.util.js.885de913.mjs +439 -0
  317. package/lib/utils.util.js.c0ba699b.js +1 -0
  318. package/lib/view.build.051553d8.mjs +1578 -0
  319. package/lib/view.build.9af3087b.js +1 -0
  320. package/lib/viewList.209956c3.js +1 -0
  321. package/lib/viewList.c05c92be.mjs +318 -0
  322. package/lib/viewTree.0cd9f1a2.js +1 -0
  323. package/lib/viewTree.c5290360.mjs +409 -0
  324. package/locale/en_US.js +96 -29
  325. package/locale/id_ID.js +80 -13
  326. package/locale/vi_VN.js +2015 -1948
  327. package/locale/zh_CN.js +100 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.b5b6fdab.js +0 -60
  330. package/lib/chartbi.b6818e8e.mjs +0 -27604
  331. package/lib/main.6713b76c.js +0 -1
  332. package/lib/main.a28f67df.js +0 -1
  333. package/lib/main.b4a303dc.js +0 -1
  334. package/lib/main.f3ae0933.js +0 -1
  335. package/lib/messages.1346558e.js +0 -9
  336. package/lib/system.account.64fbdaeb.mjs +0 -2552
  337. package/lib/system.account.7c43a95e.js +0 -216
  338. package/lib/system.config.93d6cb7d.js +0 -1
  339. package/lib/system.datasource.4bb39222.js +0 -1
  340. package/lib/system.dict.5a2e60fe.js +0 -1
  341. package/lib/system.duplicatechecking.65b77e64.js +0 -1
  342. package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
  343. package/lib/system.email.2f53252e.mjs +0 -7432
  344. package/lib/system.email.fec5ae26.js +0 -41
  345. package/lib/system.fieldsecurity.920adca4.js +0 -1
  346. package/lib/system.file.5a9a5e0e.js +0 -1
  347. package/lib/system.log.b309c0e0.js +0 -1
  348. package/lib/system.machine.9368e508.js +0 -1
  349. package/lib/system.notice.ff62c06a.js +0 -1
  350. package/lib/system.noticereceived.9550818b.js +0 -1
  351. package/lib/system.onlineuser.6cf4fe24.js +0 -1
  352. package/lib/system.org.0c67131d.js +0 -1
  353. package/lib/system.permissions.af548a3b.js +0 -9
  354. package/lib/system.permissions.cc5ac7ac.mjs +0 -212
  355. package/lib/system.plugin.83d03fb2.js +0 -1
  356. package/lib/system.pos.eae2051e.js +0 -1
  357. package/lib/system.promptmanagement.04501417.js +0 -1
  358. package/lib/system.role.e623c50b.js +0 -1
  359. package/lib/system.sumberrules.a01e1805.js +0 -1
  360. package/lib/system.team.0cebcde7.js +0 -1
  361. package/lib/system.team.27a6d5d5.mjs +0 -1000
  362. package/lib/system.teammembers.b67f003f.js +0 -1
  363. package/lib/system.timers.b27fcb6d.js +0 -38
  364. package/lib/system.translation.d2c982ed.js +0 -1
  365. package/lib/system.user.0664c21c.js +0 -14
  366. package/lib/system.useraffiliation.6b7a1612.js +0 -1
  367. package/lib/system.webresource.5de18052.js +0 -1
  368. package/lib/system.welcome.ec7aa744.js +0 -1
@@ -0,0 +1,1147 @@
1
+ import { m as f, n as u, a as A } from "./components.chartbi.470b96af.mjs";
2
+ import { s as D, a as E, b as M } from "./http.loginmanage.05500c29.mjs";
3
+ import { a as I } from "./http.filemanage.c0de21d6.mjs";
4
+ import { g as $ } from "./utils.util.js.885de913.mjs";
5
+ import { p as x } from "./http.main.1af1e119.mjs";
6
+ import { s as k, a as T } from "./http.noticemanage.2cdb23b8.mjs";
7
+ const B = {
8
+ props: {
9
+ basicAttribute: {
10
+ type: Object,
11
+ default: () => ({})
12
+ }
13
+ },
14
+ data() {
15
+ return {};
16
+ },
17
+ computed: {
18
+ options() {
19
+ return this.basicAttribute.logo || {};
20
+ },
21
+ tstyle() {
22
+ return `font-size:${this.options.titleFont !== void 0 ? this.options.titleFont : 15}px`;
23
+ },
24
+ ystyle() {
25
+ return `font-size:${this.options.subtitleFont !== void 0 ? this.options.subtitleFont : 11}px`;
26
+ },
27
+ ...f(["userInfo", "addRouters", "userFavoriteMenu", "theme", "sidebar"])
28
+ },
29
+ methods: {}
30
+ };
31
+ var R = function() {
32
+ var e = this, t = e._self._c;
33
+ 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()])])])]);
34
+ }, S = [], L = /* @__PURE__ */ u(
35
+ B,
36
+ R,
37
+ S,
38
+ !1,
39
+ null,
40
+ "15f8e6cd",
41
+ null,
42
+ null
43
+ );
44
+ const N = L.exports;
45
+ var h = null;
46
+ const F = {
47
+ props: {
48
+ menus: {
49
+ type: Array,
50
+ required: !0
51
+ },
52
+ collapsed: {
53
+ type: Boolean,
54
+ required: !1,
55
+ default: !1
56
+ },
57
+ activeKey: {
58
+ type: String,
59
+ default: ""
60
+ }
61
+ },
62
+ data() {
63
+ return {
64
+ record: {},
65
+ visible: !1,
66
+ modeMenus: "singleton",
67
+ name: "",
68
+ appMenus: [],
69
+ omodeMenus: "singleton"
70
+ };
71
+ },
72
+ computed: {
73
+ getUserFavoriteMenu() {
74
+ let s = [];
75
+ return this.userFavoriteMenu.forEach((e) => {
76
+ s.push(e.menuid);
77
+ }), s;
78
+ },
79
+ favoriteMenus() {
80
+ let s = [];
81
+ return this.appMenus.map((e) => {
82
+ e.children.map((t) => {
83
+ t.type == 1 && s.push(
84
+ Object.assign(t, {
85
+ menus: e
86
+ })
87
+ ), t.children && t.children.map((i) => {
88
+ s.push(
89
+ Object.assign(i, {
90
+ menus: e
91
+ })
92
+ );
93
+ });
94
+ });
95
+ }), s.filter((e) => this.getUserFavoriteMenu.includes(e.id));
96
+ },
97
+ modeList() {
98
+ let s = [];
99
+ return this.menus.forEach((e) => {
100
+ (this.modeMenus === "singleton" && e.code === this.record.code || this.modeMenus === "multiple") && s.push(e.code);
101
+ }), s;
102
+ },
103
+ getMode() {
104
+ let s = "gd-icon-bullet-list--points-bullet-unordered-list-lists-bu";
105
+ return this.modeMenus === "multiple" ? s = "gd-icon-application" : this.modeMenus === "collect" && (s = "gd-icon-star"), s;
106
+ },
107
+ lstyle() {
108
+ let s = this.menusWidth.split("&"), e = 372;
109
+ if (s[0] === "secondary")
110
+ e = 472;
111
+ else if (s[0] === "big")
112
+ e = 672;
113
+ else if (s[0] === "custom")
114
+ return `flex:0 0 ${s[1]}px`;
115
+ return `flex:0 0 ${e}px`;
116
+ },
117
+ styleds() {
118
+ return {
119
+ padding: this.collapsed ? `0 0 0 ${this.sidebarConfig.foldWidth}px` : `0 0 0 ${this.sidebarConfig.horizontalWidth}px`
120
+ };
121
+ },
122
+ mstyle() {
123
+ return {
124
+ "--bjsmenuvar": "#282c31",
125
+ "--bjseachvar": "#111314"
126
+ };
127
+ },
128
+ cstyle() {
129
+ return `color:${this.primaryColor}`;
130
+ },
131
+ fadeColord() {
132
+ return this.fadeColor(this.primaryColor, 0.1);
133
+ },
134
+ ...f(["userInfo", "primaryColor", "menusSearchMode", "userFavoriteMenu", "menusWidth", "theme", "sidebarConfig"])
135
+ },
136
+ methods: {
137
+ seachName(s) {
138
+ let e = [...this.appMenus];
139
+ e.forEach((t, i) => {
140
+ t.children.forEach((o, r) => {
141
+ let p = [];
142
+ o.children && (o.children.forEach((m, b) => {
143
+ let w = this.$i18nt(`Dynamics.${m.transkey}`, m.meta.title);
144
+ e[i].children[r].children[b].show = w.toLowerCase().includes(s.toLowerCase());
145
+ }), p = o.children.filter((m) => m.show));
146
+ let _ = this.$i18nt(`Dynamics.${o.transkey}`, o.meta.title);
147
+ e[i].children[r].show = p.length > 0 ? !0 : _.toLowerCase().includes(s.toLowerCase());
148
+ });
149
+ let a = this.$i18nt(`Dynamics.${t.transkey}`, t.name), n = t.children.filter((o) => o.show)[0];
150
+ e[i].show = n !== void 0 ? !0 : a.toLowerCase().includes(s.toLowerCase());
151
+ }), this.appMenus = [...e], s === "" && this.modeMenus === "multiple" && this.scrollToAnchor(this.record);
152
+ },
153
+ query() {
154
+ this.seachName(this.name.trim());
155
+ },
156
+ changeName(s) {
157
+ this.seachName(s.trim());
158
+ },
159
+ refreshCollect() {
160
+ h && clearTimeout(h), h = setTimeout(() => {
161
+ this.getSysBookmarkPage();
162
+ }, 2e3);
163
+ },
164
+ countCollect(s, e, t) {
165
+ let i = this.userFavoriteMenu.filter((a) => a.menuId != s.id);
166
+ e === 1 && i.push(t), this.UserFavoriteMenu(i), this.refreshCollect();
167
+ },
168
+ collectMenu(s, e) {
169
+ if (h && clearTimeout(h), e === 1) {
170
+ this.sysBookmarkAdd(s).then((t) => {
171
+ t.success && this.countCollect(s, e, t.data);
172
+ });
173
+ return;
174
+ }
175
+ this.sysBookmarkDelete(s).then((t) => {
176
+ t.success && this.countCollect(s, e);
177
+ });
178
+ },
179
+ sysBookmarkAdd(s) {
180
+ let e = {
181
+ userId: this.userInfo.id,
182
+ menuId: s.id,
183
+ order: 0,
184
+ name: s.meta.title
185
+ };
186
+ return D(e).then((t) => t);
187
+ },
188
+ sysBookmarkDelete(s) {
189
+ let t = {
190
+ id: this.userFavoriteMenu.filter((i) => i.menuid == s.id)[0].id
191
+ };
192
+ return E(t).then((i) => i);
193
+ },
194
+ getSysBookmarkPage() {
195
+ let s = {
196
+ userId: this.userInfo.id,
197
+ pageNo: 1,
198
+ pageSize: 200
199
+ };
200
+ M(s).then((e) => {
201
+ e.code === 200 && this.UserFavoriteMenu(e.data.rows);
202
+ });
203
+ },
204
+ selMode(s) {
205
+ 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());
206
+ },
207
+ mouseenter() {
208
+ this.$emit("mouseenter");
209
+ },
210
+ mouseleave() {
211
+ this.$emit("mouseleave");
212
+ },
213
+ open(s) {
214
+ this.record = s, this.visible = !0, this.scrollToAnchor(s);
215
+ },
216
+ close() {
217
+ this.visible = !1, this.$emit("close");
218
+ },
219
+ setAppMenus(s) {
220
+ this.appMenus = s;
221
+ },
222
+ goPath(s, e, t) {
223
+ (s.type === void 0 ? e : s.type) === 1 && (this.$emit("goPath", {
224
+ data: t,
225
+ item: s
226
+ }), this.name !== "" && (this.name = "", this.query()), this.modeMenus === "collect" && (this.modeMenus = this.omodeMenus), this.close(), this.$nextTick(() => {
227
+ setTimeout(() => {
228
+ if ((s.opentype !== void 0 ? s.opentype : 1) === 2) {
229
+ const n = s.meta.link;
230
+ n && window.open(n, s.key);
231
+ return;
232
+ }
233
+ this.$router.push({
234
+ name: s.name
235
+ });
236
+ }, 0);
237
+ }));
238
+ },
239
+ scrollToAnchor(s) {
240
+ this.$nextTick(() => {
241
+ let e = document.getElementById(`gd-menus-item-${s.code}`);
242
+ e && e.scrollIntoView({
243
+ behavior: "auto"
244
+ });
245
+ });
246
+ },
247
+ fadeColor(s, e) {
248
+ let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), a = parseInt(s.substring(5, 7), 16);
249
+ return `rgba(${t},${i},${a},${e})`;
250
+ },
251
+ ...A(["MenusSearchMode", "UserFavoriteMenu"])
252
+ },
253
+ created() {
254
+ this.modeMenus = this.menusSearchMode;
255
+ }
256
+ };
257
+ var U = function() {
258
+ var e = this, t = e._self._c;
259
+ 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) {
260
+ e.name = i;
261
+ }, 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) {
262
+ return i.stopPropagation(), e.selMode("singleton");
263
+ } } }, [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) {
264
+ return i.stopPropagation(), e.selMode("multiple");
265
+ } } }, [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) {
266
+ return i.stopPropagation(), e.selMode("collect");
267
+ } } }, [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) {
268
+ return [t("div", { staticClass: "item", on: { click: function(a) {
269
+ return e.goPath(i, 2, i.menus);
270
+ } } }, [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) {
271
+ return a.stopPropagation(), e.collectMenu(i, 2);
272
+ } } })])])];
273
+ })], 2)])]) : t("div", { staticClass: "gd-center", class: e.modeMenus === "multiple" ? "gd-centerbj" : "" }, [e._l(e.appMenus, function(i, a) {
274
+ 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) {
275
+ 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) {
276
+ return e.goPath(n, 1, i);
277
+ } } }, [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) {
278
+ return o.stopPropagation(), e.collectMenu(n, 2);
279
+ } } }) : t("i", { staticClass: "gd-icons gd-icon-star", style: e.cstyle, on: { click: function(o) {
280
+ return o.stopPropagation(), e.collectMenu(n, 2);
281
+ } } })]) : t("div", { staticClass: "item-collect" }, [t("i", { staticClass: "gd-icons collect gd-icon-star", style: e.cstyle, on: { click: function(o) {
282
+ return o.stopPropagation(), e.collectMenu(n, 1);
283
+ } } })])])]) : 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) {
284
+ return e.goPath(n, 2, i);
285
+ } } }, [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) {
286
+ return e.goPath(n, 2, i);
287
+ } } }, [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) {
288
+ return [!o.hidden && o.show ? t("div", { staticClass: "item", class: o.path === e.activeKey ? "itemactive" : "", on: { click: function(r) {
289
+ return e.goPath(o, 1, i);
290
+ } } }, [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(r) {
291
+ return r.stopPropagation(), e.collectMenu(o, 2);
292
+ } } }) : t("i", { staticClass: "gd-icons gd-icon-star", style: e.cstyle, on: { click: function(r) {
293
+ return r.stopPropagation(), e.collectMenu(o, 2);
294
+ } } })]) : t("div", { staticClass: "item-collect" }, [t("i", { staticClass: "gd-icons collect gd-icon-star", style: e.cstyle, on: { click: function(r) {
295
+ return r.stopPropagation(), e.collectMenu(o, 1);
296
+ } } })])]) : e._e()];
297
+ })], 2) : e._e()]) : e._e()];
298
+ })], 2) : e._e()];
299
+ }), t("div", { staticClass: "zhan-bj" })], 2)]), t("div", { staticClass: "gd-menus-close", on: { click: e.close } })]) : e._e()]);
300
+ }, z = [], P = /* @__PURE__ */ u(
301
+ F,
302
+ U,
303
+ z,
304
+ !1,
305
+ null,
306
+ "ae5a754d",
307
+ null,
308
+ null
309
+ );
310
+ const Q = P.exports;
311
+ var c = null;
312
+ const K = {
313
+ name: "GdSideNavMenu",
314
+ props: {
315
+ basicAttribute: {
316
+ type: Object,
317
+ default: () => ({})
318
+ }
319
+ },
320
+ data() {
321
+ return {
322
+ defApp: "",
323
+ defMenus: [],
324
+ activeKey: "",
325
+ defaultActive: "",
326
+ activeData: {},
327
+ type: "click"
328
+ };
329
+ },
330
+ components: {
331
+ UserLogo: N,
332
+ SidebarMenus: Q
333
+ },
334
+ computed: {
335
+ componentItem() {
336
+ const s = this.$importViewFiles();
337
+ let e = `..${this.customizeNavMenu}`, t = s[e];
338
+ return t ? t.default : null;
339
+ },
340
+ apps() {
341
+ return this.userInfo.apps;
342
+ },
343
+ styled() {
344
+ let s = this.sidebar ? `${this.sidebarConfig.foldWidth}px` : `${this.sidebarConfig.horizontalWidth}px`;
345
+ 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`), {
346
+ width: s,
347
+ "--bjmenuvar": "#1d2126"
348
+ };
349
+ },
350
+ ...f([
351
+ "userInfo",
352
+ "addRouters",
353
+ "userFavoriteMenu",
354
+ "theme",
355
+ "sidebar",
356
+ "userFavoriteMenu",
357
+ "navMenuTheme",
358
+ "primaryColor",
359
+ "sidebar",
360
+ "sidebarConfig",
361
+ "customizeNavMenu"
362
+ ])
363
+ },
364
+ watch: {
365
+ $route(s) {
366
+ this.changeRoute(s);
367
+ }
368
+ },
369
+ methods: {
370
+ selectMenus(s) {
371
+ if (console.log(s), this.defaultActive === s)
372
+ return;
373
+ let e = {};
374
+ const t = (n) => (n = n.filter((o) => {
375
+ const r = o.code ? o.code : o.key;
376
+ return s === r && (e = o), o.children && (o.children = t(o.children)), !0;
377
+ }), n);
378
+ t(this.defMenus);
379
+ const i = e.type === void 0 ? 1 : e.type;
380
+ if (console.log(e, i), i !== 1)
381
+ return;
382
+ if ((e.opentype !== void 0 ? e.opentype : 1) === 2) {
383
+ const n = e.meta.link;
384
+ n && window.open(n);
385
+ return;
386
+ }
387
+ this.$router.push({
388
+ name: e.name
389
+ }), this.defaultActive = e.code ? e.code : e.key, this.activeData = e;
390
+ },
391
+ getDefApp(s) {
392
+ let e = s && s.name ? s.name : "";
393
+ this.type = "";
394
+ let t = "";
395
+ this.apps.forEach((i) => {
396
+ i.menus && i.menus.forEach((a) => {
397
+ a.name && e === a.name && !a.hidden && (t = i.code);
398
+ });
399
+ }), this.defApp = t;
400
+ },
401
+ goPath(s) {
402
+ this.defApp = s.data.code, this.activeData = s.data.item;
403
+ },
404
+ getSysBookmarkPage() {
405
+ this.userInfo.bookmarks && this.UserFavoriteMenu(this.userInfo.bookmarks);
406
+ let s = {
407
+ userId: this.userInfo.id,
408
+ pageNo: 1,
409
+ pageSize: 200
410
+ };
411
+ M(s).then((e) => {
412
+ e.code === 200 && this.UserFavoriteMenu(e.data.rows);
413
+ });
414
+ },
415
+ init() {
416
+ 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);
417
+ let e = [...this.apps];
418
+ e.forEach((t, i) => {
419
+ const a = t.menus.map((o) => (o.show = o.meta.show, o));
420
+ let n = [];
421
+ this.listToTree(a, n, 0), e[i].children = [...n], e[i].show = !0;
422
+ }), e = s(e).filter((t) => t.children.filter((a) => a.show).length === 0 ? !1 : t.show), this.defMenus = [...e], this.$nextTick(() => {
423
+ setTimeout(() => {
424
+ this.$refs.sMenu.setAppMenus(e);
425
+ }, 100);
426
+ });
427
+ },
428
+ mouseenterMenu() {
429
+ c && clearTimeout(c), this.type = this.type !== "click" ? "mouse" : this.type;
430
+ },
431
+ mouseleaveMenu() {
432
+ c && clearTimeout(c), this.type === "mouse" && (c = setTimeout(() => {
433
+ this.$refs.sMenu.close();
434
+ }, 100));
435
+ },
436
+ mouseenter(s) {
437
+ c && clearTimeout(c), this.type !== "click" && (this.type = this.type !== "click" ? "mouse" : this.type, this.$refs.sMenu.open(s));
438
+ },
439
+ mouseleave() {
440
+ c && clearTimeout(c), this.type !== "click" && (c = setTimeout(() => {
441
+ this.$refs.sMenu.close();
442
+ }, 300));
443
+ },
444
+ changeRoute(s) {
445
+ this.activeKey = s.fullPath, this.activeData = s, this.getDefApp(s);
446
+ },
447
+ getDefApp(s) {
448
+ let e = s && s.name ? s.name : "";
449
+ this.defaultActive = e, this.type = "";
450
+ let t = "";
451
+ this.apps.forEach((i) => {
452
+ i.menus && i.menus.forEach((a) => {
453
+ a.name && e === a.name && !a.hidden && (t = i.code);
454
+ });
455
+ }), this.defApp = t;
456
+ },
457
+ goPath(s) {
458
+ this.defApp = s.data.code, this.activeData = s.data.item;
459
+ },
460
+ selItem(s) {
461
+ this.type = "click", this.defApp = s.code, this.$refs.sMenu.open(s);
462
+ },
463
+ listToTree(s, e, t) {
464
+ s && s.forEach((i) => {
465
+ if (i.pid == t) {
466
+ const a = {
467
+ ...i,
468
+ key: i.key || i.name,
469
+ children: []
470
+ };
471
+ this.listToTree(s, a.children, i.id), a.children.length <= 0 && delete a.children, e.push(a);
472
+ }
473
+ });
474
+ },
475
+ ...A(["UserFavoriteMenu"])
476
+ },
477
+ created() {
478
+ this.init(), this.changeRoute(this.$route), this.getSysBookmarkPage();
479
+ }
480
+ };
481
+ var O = function() {
482
+ var e = this, t = e._self._c;
483
+ 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) {
484
+ 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) {
485
+ return e.selItem(i);
486
+ }, mouseenter: function(n) {
487
+ return e.mouseenter(i);
488
+ }, 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()])];
489
+ })], 2) : t("div", { staticClass: "gd-app" }, [e._l(e.defMenus, function(i, a) {
490
+ 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) {
491
+ 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(r, p) {
492
+ return [t("el-menu-item", { attrs: { index: r.key, title: e.$i18nt(`Dynamics.${r.transkey}`, r.meta.title) } }, [t("template", { slot: "title" }, [t("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), t("span", [e._v(e._s(e.$i18nt(`Dynamics.${r.transkey}`, r.meta.title)))])])], 2)];
493
+ })], 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)))])])];
494
+ })], 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)];
495
+ })], 2)], 1), t("SidebarMenus", { ref: "sMenu", attrs: { collapsed: e.sidebar, menus: e.defMenus, activeKey: e.activeKey }, on: { goPath: e.goPath, close: function(i) {
496
+ return e.getDefApp(e.activeData);
497
+ }, mouseenter: e.mouseenterMenu, mouseleave: e.mouseleaveMenu } })], 1);
498
+ }, j = [], H = /* @__PURE__ */ u(
499
+ K,
500
+ O,
501
+ j,
502
+ !1,
503
+ null,
504
+ "b00d3374",
505
+ null,
506
+ null
507
+ );
508
+ const g = H.exports;
509
+ g.install = function(s) {
510
+ s.component(g.name, g);
511
+ };
512
+ const y = [
513
+ [
514
+ "requestFullscreen",
515
+ "exitFullscreen",
516
+ "fullscreenElement",
517
+ "fullscreenEnabled",
518
+ "fullscreenchange",
519
+ "fullscreenerror"
520
+ ],
521
+ [
522
+ "webkitRequestFullscreen",
523
+ "webkitExitFullscreen",
524
+ "webkitFullscreenElement",
525
+ "webkitFullscreenEnabled",
526
+ "webkitfullscreenchange",
527
+ "webkitfullscreenerror"
528
+ ],
529
+ [
530
+ "webkitRequestFullScreen",
531
+ "webkitCancelFullScreen",
532
+ "webkitCurrentFullScreenElement",
533
+ "webkitCancelFullScreen",
534
+ "webkitfullscreenchange",
535
+ "webkitfullscreenerror"
536
+ ],
537
+ [
538
+ "mozRequestFullScreen",
539
+ "mozCancelFullScreen",
540
+ "mozFullScreenElement",
541
+ "mozFullScreenEnabled",
542
+ "mozfullscreenchange",
543
+ "mozfullscreenerror"
544
+ ],
545
+ [
546
+ "msRequestFullscreen",
547
+ "msExitFullscreen",
548
+ "msFullscreenElement",
549
+ "msFullscreenEnabled",
550
+ "MSFullscreenChange",
551
+ "MSFullscreenError"
552
+ ]
553
+ ], d = (() => {
554
+ if (typeof document > "u")
555
+ return !1;
556
+ const s = y[0], e = {};
557
+ for (const t of y)
558
+ if ((t == null ? void 0 : t[1]) in document) {
559
+ for (const [a, n] of t.entries())
560
+ e[s[a]] = n;
561
+ return e;
562
+ }
563
+ return !1;
564
+ })(), C = {
565
+ change: d.fullscreenchange,
566
+ error: d.fullscreenerror
567
+ };
568
+ let l = {
569
+ request(s = document.documentElement, e) {
570
+ return new Promise((t, i) => {
571
+ const a = () => {
572
+ l.off("change", a), t();
573
+ };
574
+ l.on("change", a);
575
+ const n = s[d.requestFullscreen](e);
576
+ n instanceof Promise && n.then(a).catch(i);
577
+ });
578
+ },
579
+ exit() {
580
+ return new Promise((s, e) => {
581
+ if (!l.isFullscreen) {
582
+ s();
583
+ return;
584
+ }
585
+ const t = () => {
586
+ l.off("change", t), s();
587
+ };
588
+ l.on("change", t);
589
+ const i = document[d.exitFullscreen]();
590
+ i instanceof Promise && i.then(t).catch(e);
591
+ });
592
+ },
593
+ toggle(s, e) {
594
+ return l.isFullscreen ? l.exit() : l.request(s, e);
595
+ },
596
+ onchange(s) {
597
+ l.on("change", s);
598
+ },
599
+ onerror(s) {
600
+ l.on("error", s);
601
+ },
602
+ on(s, e) {
603
+ const t = C[s];
604
+ t && document.addEventListener(t, e, !1);
605
+ },
606
+ off(s, e) {
607
+ const t = C[s];
608
+ t && document.removeEventListener(t, e, !1);
609
+ },
610
+ raw: d
611
+ };
612
+ Object.defineProperties(l, {
613
+ isFullscreen: {
614
+ get: () => Boolean(document[d.fullscreenElement])
615
+ },
616
+ element: {
617
+ enumerable: !0,
618
+ get: () => {
619
+ var s;
620
+ return (s = document[d.fullscreenElement]) != null ? s : void 0;
621
+ }
622
+ },
623
+ isEnabled: {
624
+ enumerable: !0,
625
+ get: () => Boolean(document[d.fullscreenEnabled])
626
+ }
627
+ });
628
+ d || (l = { isEnabled: !1 });
629
+ const v = l;
630
+ const q = {
631
+ props: {
632
+ basicAttribute: {
633
+ type: Object,
634
+ default: () => ({})
635
+ }
636
+ },
637
+ data() {
638
+ return {
639
+ isFullscreen: !1,
640
+ photoUrl: "",
641
+ avatar: "",
642
+ unreadCount: "",
643
+ handletype: "1",
644
+ tabsReady: !1
645
+ };
646
+ },
647
+ components: {
648
+ SettingDrawer: () => import("./components.settingdrawer.adc262cf.mjs").then((s) => s.m),
649
+ XlsxImport: () => import("./components.xlsximport.85ce77cf.mjs").then((s) => s.m),
650
+ InformationMsg: () => Promise.resolve().then(() => ue)
651
+ },
652
+ computed: {
653
+ hasLogout() {
654
+ const s = this.options.filter((e) => e.key === "logout")[0];
655
+ return s ? s.statu : !0;
656
+ },
657
+ options() {
658
+ 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));
659
+ },
660
+ menus() {
661
+ const s = this.hasItems ? [
662
+ {
663
+ disabled: !1,
664
+ key: "application",
665
+ name: "\u5E94\u7528",
666
+ statu: !0,
667
+ permission: "sysApplication:see",
668
+ transkey: "gd.solution.application"
669
+ }
670
+ ] : [], e = this.options.filter((t) => t.key !== "logout");
671
+ return s.concat(e).filter((t) => t.permission ? this.$hasPerm(t.permission) : !0);
672
+ },
673
+ hasItems() {
674
+ return (this.systemInfo.id ? this.systemInfo : window.$systemInfo).code === "GDS_LCDP";
675
+ },
676
+ apps() {
677
+ return this.userInfo.apps;
678
+ },
679
+ getUserImg() {
680
+ let s = "/gds/" + this.userInfo.filePath + "/" + this.userInfo.fileObjectName;
681
+ return `${this.$getImageUrl(s)}`;
682
+ },
683
+ fadeColord() {
684
+ return this.fadeColor(this.primaryColor, 0.2);
685
+ },
686
+ ...f(["tableLists", "platformData", "userInfo", "primaryColor", "token", "systemInfo"])
687
+ },
688
+ methods: {
689
+ imageUrl() {
690
+ I({
691
+ id: this.userInfo.avatar
692
+ }).then((s) => {
693
+ const e = new Blob([s]);
694
+ this.photoUrl = window.URL.createObjectURL(e);
695
+ }).catch((s) => {
696
+ this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A" + s.message);
697
+ });
698
+ },
699
+ echartsManage(s) {
700
+ this.$router.push({
701
+ name: "echartsManage"
702
+ }), this.$refs[s][0].doClose();
703
+ },
704
+ accountSetting(s) {
705
+ this.$router.push({
706
+ name: "accountSettings"
707
+ }), this.$refs[s][0].doClose();
708
+ },
709
+ hand(s) {
710
+ s === "theme" ? this.$refs.settingDrawer.toggle() : s === "fullScreen" ? this.toggleFullscreen() : s === "application" ? this.$router.push({
711
+ path: "/platform/application"
712
+ }) : s === "universalImport" ? this.$refs.xlsxImport.open() : s == "information" ? this.$refs.informationMsg.open() : this.$router.push({
713
+ path: `/${s}`
714
+ });
715
+ },
716
+ showtabs() {
717
+ this.tabsReady = !0;
718
+ },
719
+ hidetabs() {
720
+ this.tabsReady = !1;
721
+ },
722
+ toggleFullscreen() {
723
+ if (!v.isEnabled) {
724
+ message.error(this.$i18nt("gd.account.browserNotSupported", "\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F\u6A21\u5F0F?"));
725
+ return;
726
+ }
727
+ v.toggle(), v.isFullscreen ? this.isFullscreen = !1 : this.isFullscreen = !0;
728
+ },
729
+ handleLogout() {
730
+ let s = this;
731
+ this.$confirm(this.$i18nt("gd.account.logOutContent", "\u771F\u7684\u8981\u6CE8\u9500\u767B\u5F55\u5417?"), this.$i18nt("gd.account.logOutTip", "\u63D0\u793A"), {
732
+ confirmButtonText: this.$i18nt("gd.menu.logOutOk", "\u786E\u8BA4"),
733
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
734
+ showClose: !1,
735
+ closeOnClickModal: !1,
736
+ closeOnPressEscape: !1,
737
+ type: "warning",
738
+ confirmButtonClass: "el-button--danger",
739
+ customClass: "custom-alert",
740
+ callback: () => {
741
+ },
742
+ beforeClose: (e, t, i) => {
743
+ if (e !== "confirm") {
744
+ i();
745
+ return;
746
+ }
747
+ t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, s.Logout().then((a) => {
748
+ t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, setTimeout(() => {
749
+ window.location.reload(), i();
750
+ }, 100);
751
+ });
752
+ }
753
+ });
754
+ },
755
+ fadeColor(s, e) {
756
+ let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), a = parseInt(s.substring(5, 7), 16);
757
+ return `rgba(${t},${i},${a},${e})`;
758
+ },
759
+ handleMessage(s) {
760
+ this.unreadCount = s.count;
761
+ },
762
+ handleClick(s, e) {
763
+ this.$nextTick(() => {
764
+ setTimeout(() => {
765
+ const t = s.name === "1" ? "messageDataRefun" : "readMessageDataRef";
766
+ this.$refs[t] && typeof this.$refs[t].init == "function" && this.$refs[t].init();
767
+ }, 10);
768
+ });
769
+ },
770
+ ...A(["Logout"])
771
+ },
772
+ async mounted() {
773
+ this.$socket.on("receive", this.handleMessage), this.imageUrl(), await this.$socket.authenticate(this.token);
774
+ }
775
+ };
776
+ var J = function() {
777
+ var e = this, t = e._self._c;
778
+ return t("div", { staticClass: "user-wrapper" }, [e._l(e.menus, function(i) {
779
+ 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) {
780
+ return e.accountSetting(`popover_${i.key}`);
781
+ } } }, [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) {
782
+ return e.echartsManage(`popover_${i.key}`);
783
+ } } }, [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) {
784
+ return e.handleLogout(`popover_${i.key}`);
785
+ } } }, [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/qXuZFSl1mMdzM3EZ8denzbeNXXDM8zs1evHXsiWq9vN6xlABhOGuvm2l1OmZSpbNmsmNbEbeW1nexcyTLERbjmtdjndpqdc5ebLE6noLnKoHINFvq8LzuitnQ46ulrcqWiVXM2oAjNiqy45a51p9OWr1dflrmdJfpy7wIjzR1PL2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ZYzDqFeVOZjy5zCr+Qqv1ClnohSz9QovcKhysClY2DipNXthCEGNBHTmNLGo7ETsSUorGqfUxHH3FFyz1Cmn4S9AoJKAipsaHOBGh+EwPqKHARUjZir2+SEIQlchEGih1KAqMtQBQl6YKewlPx/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) {
786
+ return e.hand(i.key);
787
+ } } }, [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()];
788
+ }), t("SettingDrawer", { ref: "settingDrawer" }), t("XlsxImport", { ref: "xlsxImport", attrs: { typeImport: 2 } }), t("InformationMsg", { ref: "informationMsg" })], 2);
789
+ }, V = [], Y = /* @__PURE__ */ u(
790
+ q,
791
+ J,
792
+ V,
793
+ !1,
794
+ null,
795
+ "3001357d",
796
+ null,
797
+ null
798
+ );
799
+ const Ae = Y.exports;
800
+ const X = {
801
+ props: {
802
+ daySet: {
803
+ type: Array,
804
+ default: () => []
805
+ }
806
+ },
807
+ data() {
808
+ return {
809
+ queryParam: {
810
+ readStatus: "UNREAD"
811
+ },
812
+ list: [],
813
+ notifications: [],
814
+ confirmLoading: !1,
815
+ pageNo: 1,
816
+ pageSize: 20,
817
+ totalRows: 0,
818
+ loading: !1,
819
+ observer: null
820
+ };
821
+ },
822
+ computed: {
823
+ moreTitle() {
824
+ let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
825
+ 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;
826
+ },
827
+ messagetypeData() {
828
+ return this.getDictionary("messagetype");
829
+ }
830
+ },
831
+ methods: {
832
+ elLoadMore() {
833
+ const s = this.$refs.moreTitle;
834
+ !s || this.observer || (this.observer = new IntersectionObserver((e, t) => {
835
+ e.forEach((i) => {
836
+ i.isIntersecting && this.loadMore();
837
+ });
838
+ }), this.observer.observe(s));
839
+ },
840
+ loadMore() {
841
+ this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getList(!1));
842
+ },
843
+ getDictionary(s) {
844
+ return this.$options.filters.dictData(s);
845
+ },
846
+ messageType(s) {
847
+ const e = this.messagetypeData.filter((t) => t.code == String(s.messagetype))[0];
848
+ return e ? this.$i18nt(`Dynamics.${e.transkey}`, e.name) : s.messagetype;
849
+ },
850
+ getList(s) {
851
+ return this.confirmLoading = !0, this.loading = !0, k(
852
+ Object.assign({}, this.queryParam, {
853
+ pageNo: s ? 1 : this.pageNo,
854
+ pageSize: s ? this.pageNo * this.pageSize : this.pageSize
855
+ })
856
+ ).then((e) => {
857
+ 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(() => {
858
+ setTimeout(() => {
859
+ this.elLoadMore();
860
+ }, 0);
861
+ })), this.confirmLoading = !1;
862
+ });
863
+ },
864
+ init(s) {
865
+ s ? this.getList(!0) : (this.pageNo = 1, this.list = [], this.notifications = [], this.getList(!1));
866
+ },
867
+ handOrganize() {
868
+ let s = [], e = [];
869
+ this.list.forEach((t) => {
870
+ const i = t.createdtime.split(" ")[0];
871
+ s.includes(i) ? e[e.length - 1].messages.push(t) : (s.push(i), e.push(
872
+ Object.assign({}, t, {
873
+ groupdate: i,
874
+ messages: [t]
875
+ })
876
+ ));
877
+ }), this.notifications = e, this.loading = !1;
878
+ },
879
+ markAsRead(s) {
880
+ this.beaseLoadComplete(s);
881
+ },
882
+ beaseLoadComplete(s) {
883
+ const e = s.targeturl.split("?")[1];
884
+ let t = "";
885
+ if (e && (t = new URLSearchParams(e).get("complete_request")), t === "")
886
+ return;
887
+ const i = decodeURIComponent(t), a = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), n = $(i);
888
+ x(a, n), setTimeout(() => {
889
+ this.init();
890
+ }, 1e3);
891
+ },
892
+ dictSwitch(s, e) {
893
+ let t = this.$options.filters.dictData(e).filter((i) => i.code == s)[0];
894
+ return t != null && t.colour ? t.colour : null;
895
+ },
896
+ markAsReadDetail(s) {
897
+ this.$emit("markAsRead", s), setTimeout(() => {
898
+ this.init();
899
+ }, 300);
900
+ }
901
+ },
902
+ beforeDestroy() {
903
+ this.observer && this.observer.disconnect();
904
+ }
905
+ };
906
+ var G = function() {
907
+ var e = this, t = e._self._c;
908
+ 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) {
909
+ 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) {
910
+ return t("div", { key: n.id, staticClass: "notification-item", class: o === i.messages.length - 1 ? "notification-itemn" : "", on: { click: function(r) {
911
+ return e.markAsReadDetail(n);
912
+ } } }, [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(r) {
913
+ return r.stopPropagation(), e.markAsRead(n);
914
+ } } }, [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))])])])]);
915
+ })], 2);
916
+ }), !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)]);
917
+ }, Z = [], W = /* @__PURE__ */ u(
918
+ X,
919
+ G,
920
+ Z,
921
+ !1,
922
+ null,
923
+ "8580e637",
924
+ null,
925
+ null
926
+ );
927
+ const ee = W.exports;
928
+ const te = {
929
+ props: {
930
+ daySet: {
931
+ type: Array,
932
+ default: () => []
933
+ }
934
+ },
935
+ data() {
936
+ return {
937
+ queryParam: {
938
+ readStatus: "READ"
939
+ },
940
+ list: [],
941
+ notifications: [],
942
+ confirmLoading: !1,
943
+ showDetails: !1,
944
+ pageNo: 1,
945
+ pageSize: 20,
946
+ totalRows: 0,
947
+ loading: !1,
948
+ observer: null
949
+ };
950
+ },
951
+ computed: {
952
+ moreTitle() {
953
+ let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
954
+ 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;
955
+ },
956
+ messagetypeData() {
957
+ return this.getDictionary("messagetype");
958
+ }
959
+ },
960
+ methods: {
961
+ elLoadMore() {
962
+ const s = this.$refs.moreTitle;
963
+ !s || this.observer || (this.observer = new IntersectionObserver((e, t) => {
964
+ e.forEach((i) => {
965
+ i.isIntersecting && this.loadMore();
966
+ });
967
+ }), this.observer.observe(s));
968
+ },
969
+ loadMore() {
970
+ this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getList(!1));
971
+ },
972
+ getDictionary(s) {
973
+ return this.$options.filters.dictData(s);
974
+ },
975
+ messageType(s) {
976
+ const e = this.messagetypeData.filter((t) => t.code == String(s.messagetype))[0];
977
+ return e ? this.$i18nt(`Dynamics.${e.transkey}`, e.name) : s.messagetype;
978
+ },
979
+ getList(s) {
980
+ return this.confirmLoading = !0, this.loading = !0, k(
981
+ Object.assign({}, this.queryParam, {
982
+ pageNo: s ? 1 : this.pageNo,
983
+ pageSize: s ? this.pageNo * this.pageSize : this.pageSize
984
+ })
985
+ ).then((e) => {
986
+ 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(() => {
987
+ setTimeout(() => {
988
+ this.elLoadMore();
989
+ }, 0);
990
+ })), this.confirmLoading = !1;
991
+ });
992
+ },
993
+ init(s) {
994
+ s ? this.getList(!0) : (this.pageNo = 1, this.list = [], this.notifications = [], this.getList(!1));
995
+ },
996
+ handOrganize() {
997
+ let s = [], e = [];
998
+ this.list.forEach((t) => {
999
+ const i = t.createdtime.split(" ")[0];
1000
+ s.includes(i) ? e[e.length - 1].messages.push(t) : (s.push(i), e.push(
1001
+ Object.assign({}, t, {
1002
+ groupdate: i,
1003
+ messages: [t]
1004
+ })
1005
+ ));
1006
+ }), this.loading = !1, this.notifications = e;
1007
+ },
1008
+ dictSwitch(s, e) {
1009
+ let t = this.$options.filters.dictData(e).filter((i) => i.code == s)[0];
1010
+ return t != null && t.colour ? t.colour : null;
1011
+ },
1012
+ markAsRead(s) {
1013
+ this.$emit("markAsRead", s);
1014
+ }
1015
+ },
1016
+ beforeDestroy() {
1017
+ this.observer && this.observer.disconnect();
1018
+ }
1019
+ };
1020
+ var se = function() {
1021
+ var e = this, t = e._self._c;
1022
+ 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) {
1023
+ 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) {
1024
+ return t("div", { key: n.id, staticClass: "notification-item", class: o === i.messages.length - 1 ? "notification-itemn" : "", on: { click: function(r) {
1025
+ return e.markAsRead(n);
1026
+ } } }, [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))])])])]);
1027
+ })], 2);
1028
+ }), !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)]);
1029
+ }, ie = [], ne = /* @__PURE__ */ u(
1030
+ te,
1031
+ se,
1032
+ ie,
1033
+ !1,
1034
+ null,
1035
+ "c25eaf49",
1036
+ null,
1037
+ null
1038
+ );
1039
+ const ae = ne.exports;
1040
+ const oe = {
1041
+ data() {
1042
+ return {
1043
+ visible: !1,
1044
+ width: "384px",
1045
+ type: "messageDataRefun",
1046
+ showDetails: !1,
1047
+ notificationsData: []
1048
+ };
1049
+ },
1050
+ computed: {
1051
+ daySet() {
1052
+ const s = new Date().getTime(), e = new Date().getTime() - 24 * 60 * 60 * 1e3;
1053
+ return [this.getDayNum(s), this.getDayNum(e)];
1054
+ }
1055
+ },
1056
+ components: {
1057
+ MessageData: ee,
1058
+ ReadMessageData: ae
1059
+ },
1060
+ methods: {
1061
+ notifications(s) {
1062
+ this.notificationsData = s;
1063
+ },
1064
+ closeShowDetails() {
1065
+ console.log(88), this.showDetails = !1, this.refresh(!0);
1066
+ },
1067
+ markAsRead(s, e) {
1068
+ this.showDetails = !0, this.$nextTick(() => {
1069
+ setTimeout(() => {
1070
+ this.$refs.viewFormDetails.open(s.targeturl);
1071
+ });
1072
+ });
1073
+ },
1074
+ refresh(s = !0) {
1075
+ this.$nextTick(() => {
1076
+ setTimeout(() => {
1077
+ const e = this.$refs[this.type];
1078
+ e && e.init(s);
1079
+ });
1080
+ });
1081
+ },
1082
+ open() {
1083
+ this.visible = !0, this.refresh(!1);
1084
+ },
1085
+ readOneClick() {
1086
+ this.$confirm(this.$i18nt("gd.https.oneClickRead", "\u662F\u5426\u4E00\u952E\u5DF2\u8BFB\u6D88\u606F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1087
+ confirmButtonText: this.$i18nt("gd.btn.confirm", "\u786E\u8BA4"),
1088
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1089
+ showClose: !1,
1090
+ confirmButtonLoading: !1,
1091
+ cancelButtonLoading: !1,
1092
+ closeOnClickModal: !1,
1093
+ type: "warning",
1094
+ confirmButtonClass: "el-button--danger",
1095
+ customClass: "custom-alert",
1096
+ callback: () => {
1097
+ },
1098
+ beforeClose: (s, e, t) => {
1099
+ if (s !== "confirm") {
1100
+ t();
1101
+ return;
1102
+ }
1103
+ this.oneClick(s, e, t);
1104
+ }
1105
+ });
1106
+ },
1107
+ oneClick(s, e, t) {
1108
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, T().then((i) => {
1109
+ 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);
1110
+ });
1111
+ },
1112
+ getDayNum(s) {
1113
+ const e = new Date(s), t = e.getFullYear(), i = e.getMonth() + 1, a = e.getDate();
1114
+ return `${t}-${this.formatNumber(i)}-${this.formatNumber(a)}`;
1115
+ },
1116
+ formatNumber(s) {
1117
+ return s = s.toString(), s[1] ? s : "0" + s;
1118
+ }
1119
+ }
1120
+ };
1121
+ var re = function() {
1122
+ var e = this, t = e._self._c;
1123
+ 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) {
1124
+ e.visible = i;
1125
+ } } }, [t("div", { staticClass: "drawer-main" }, [t("div", { staticClass: "title" }, [t("el-radio-group", { on: { input: function(i) {
1126
+ return e.refresh(!1);
1127
+ } }, model: { value: e.type, callback: function(i) {
1128
+ e.type = i;
1129
+ }, 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);
1130
+ }, le = [], ce = /* @__PURE__ */ u(
1131
+ oe,
1132
+ re,
1133
+ le,
1134
+ !1,
1135
+ null,
1136
+ "954b95d6",
1137
+ null,
1138
+ null
1139
+ );
1140
+ const de = ce.exports, ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1141
+ __proto__: null,
1142
+ default: de
1143
+ }, Symbol.toStringTag, { value: "Module" }));
1144
+ export {
1145
+ g as G,
1146
+ Ae as U
1147
+ };