gds-plus-design-vue 1.2.6 → 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 -91087
  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.f0045877.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.c41228a0.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.b5a3be02.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.3caa11e1.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.a739f4fc.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.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.cb276470.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.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.8064c8e9.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.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.c0a69360.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.1169fe47.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.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.087015a4.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.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.63b6bb36.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.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.14785b50.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 +92 -28
  325. package/locale/id_ID.js +76 -12
  326. package/locale/vi_VN.js +2012 -1948
  327. package/locale/zh_CN.js +97 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.114d32d7.js +0 -60
  330. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  331. package/lib/main.03984fed.js +0 -1
  332. package/lib/main.1050afb3.js +0 -1
  333. package/lib/main.64122541.js +0 -1
  334. package/lib/main.b7d2c6ee.js +0 -1
  335. package/lib/messages.828b6ed8.js +0 -9
  336. package/lib/system.account.3181bcd6.js +0 -216
  337. package/lib/system.account.7c6ea20c.mjs +0 -2552
  338. package/lib/system.config.10f57fa2.js +0 -1
  339. package/lib/system.datasource.d5eea7f2.js +0 -1
  340. package/lib/system.dict.d73658f1.js +0 -1
  341. package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
  342. package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
  343. package/lib/system.email.4bf52f2d.js +0 -41
  344. package/lib/system.email.db5da8d7.mjs +0 -7432
  345. package/lib/system.fieldsecurity.eb217079.js +0 -1
  346. package/lib/system.file.c1884db7.js +0 -1
  347. package/lib/system.log.389af80d.js +0 -1
  348. package/lib/system.machine.49fc6405.js +0 -1
  349. package/lib/system.notice.a89f4826.js +0 -1
  350. package/lib/system.noticereceived.5e0773c3.js +0 -1
  351. package/lib/system.onlineuser.67733846.js +0 -1
  352. package/lib/system.org.ff54d620.js +0 -1
  353. package/lib/system.permissions.cc9a9866.mjs +0 -212
  354. package/lib/system.permissions.e6317c5a.js +0 -9
  355. package/lib/system.plugin.3467d572.js +0 -1
  356. package/lib/system.pos.4aadf86e.js +0 -1
  357. package/lib/system.promptmanagement.9ba710d6.js +0 -1
  358. package/lib/system.role.890c8ca2.js +0 -1
  359. package/lib/system.sumberrules.068ebe4a.js +0 -1
  360. package/lib/system.team.27cd57f7.mjs +0 -1000
  361. package/lib/system.team.2b28502b.js +0 -1
  362. package/lib/system.teammembers.e3baf783.js +0 -1
  363. package/lib/system.timers.cb0a3bd0.js +0 -38
  364. package/lib/system.translation.f3884a0a.js +0 -1
  365. package/lib/system.user.3bd95871.js +0 -14
  366. package/lib/system.useraffiliation.7db6e13c.js +0 -1
  367. package/lib/system.webresource.ede248a8.js +0 -1
  368. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./components.chartbi.e9459775.js"),p=require("./http.loginmanage.326984c3.js"),b=require("./http.filemanage.7e6e3e1a.js"),w=require("./utils.util.js.c0ba699b.js"),D=require("./http.main.2f8a6936.js"),A=require("./http.noticemanage.2507d094.js");const E={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{}},computed:{options(){return this.basicAttribute.logo||{}},tstyle(){return`font-size:${this.options.titleFont!==void 0?this.options.titleFont:15}px`},ystyle(){return`font-size:${this.options.subtitleFont!==void 0?this.options.subtitleFont:11}px`},...l.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar"])},methods:{}};var I=function(){var e=this,t=e._self._c;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()])])])])},$=[],x=l.normalizeComponent(E,I,$,!1,null,"15f8e6cd",null,null);const B=x.exports;var m=null;const T={props:{menus:{type:Array,required:!0},collapsed:{type:Boolean,required:!1,default:!1},activeKey:{type:String,default:""}},data(){return{record:{},visible:!1,modeMenus:"singleton",name:"",appMenus:[],omodeMenus:"singleton"}},computed:{getUserFavoriteMenu(){let s=[];return this.userFavoriteMenu.forEach(e=>{s.push(e.menuid)}),s},favoriteMenus(){let s=[];return this.appMenus.map(e=>{e.children.map(t=>{t.type==1&&s.push(Object.assign(t,{menus:e})),t.children&&t.children.map(i=>{s.push(Object.assign(i,{menus:e}))})})}),s.filter(e=>this.getUserFavoriteMenu.includes(e.id))},modeList(){let s=[];return this.menus.forEach(e=>{(this.modeMenus==="singleton"&&e.code===this.record.code||this.modeMenus==="multiple")&&s.push(e.code)}),s},getMode(){let s="gd-icon-bullet-list--points-bullet-unordered-list-lists-bu";return this.modeMenus==="multiple"?s="gd-icon-application":this.modeMenus==="collect"&&(s="gd-icon-star"),s},lstyle(){let s=this.menusWidth.split("&"),e=372;if(s[0]==="secondary")e=472;else if(s[0]==="big")e=672;else if(s[0]==="custom")return`flex:0 0 ${s[1]}px`;return`flex:0 0 ${e}px`},styleds(){return{padding:this.collapsed?`0 0 0 ${this.sidebarConfig.foldWidth}px`:`0 0 0 ${this.sidebarConfig.horizontalWidth}px`}},mstyle(){return{"--bjsmenuvar":"#282c31","--bjseachvar":"#111314"}},cstyle(){return`color:${this.primaryColor}`},fadeColord(){return this.fadeColor(this.primaryColor,.1)},...l.mapGetters(["userInfo","primaryColor","menusSearchMode","userFavoriteMenu","menusWidth","theme","sidebarConfig"])},methods:{seachName(s){let e=[...this.appMenus];e.forEach((t,i)=>{t.children.forEach((o,r)=>{let f=[];o.children&&(o.children.forEach((h,_)=>{let k=this.$i18nt(`Dynamics.${h.transkey}`,h.meta.title);e[i].children[r].children[_].show=k.toLowerCase().includes(s.toLowerCase())}),f=o.children.filter(h=>h.show));let M=this.$i18nt(`Dynamics.${o.transkey}`,o.meta.title);e[i].children[r].show=f.length>0?!0:M.toLowerCase().includes(s.toLowerCase())});let a=this.$i18nt(`Dynamics.${t.transkey}`,t.name),n=t.children.filter(o=>o.show)[0];e[i].show=n!==void 0?!0:a.toLowerCase().includes(s.toLowerCase())}),this.appMenus=[...e],s===""&&this.modeMenus==="multiple"&&this.scrollToAnchor(this.record)},query(){this.seachName(this.name.trim())},changeName(s){this.seachName(s.trim())},refreshCollect(){m&&clearTimeout(m),m=setTimeout(()=>{this.getSysBookmarkPage()},2e3)},countCollect(s,e,t){let i=this.userFavoriteMenu.filter(a=>a.menuId!=s.id);e===1&&i.push(t),this.UserFavoriteMenu(i),this.refreshCollect()},collectMenu(s,e){if(m&&clearTimeout(m),e===1){this.sysBookmarkAdd(s).then(t=>{t.success&&this.countCollect(s,e,t.data)});return}this.sysBookmarkDelete(s).then(t=>{t.success&&this.countCollect(s,e)})},sysBookmarkAdd(s){let e={userId:this.userInfo.id,menuId:s.id,order:0,name:s.meta.title};return p.sysBookmarkAdd(e).then(t=>t)},sysBookmarkDelete(s){let t={id:this.userFavoriteMenu.filter(i=>i.menuid==s.id)[0].id};return p.sysBookmarkDelete(t).then(i=>i)},getSysBookmarkPage(){let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},selMode(s){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())},mouseenter(){this.$emit("mouseenter")},mouseleave(){this.$emit("mouseleave")},open(s){this.record=s,this.visible=!0,this.scrollToAnchor(s)},close(){this.visible=!1,this.$emit("close")},setAppMenus(s){this.appMenus=s},goPath(s,e,t){(s.type===void 0?e:s.type)===1&&(this.$emit("goPath",{data:t,item:s}),this.name!==""&&(this.name="",this.query()),this.modeMenus==="collect"&&(this.modeMenus=this.omodeMenus),this.close(),this.$nextTick(()=>{setTimeout(()=>{if((s.opentype!==void 0?s.opentype:1)===2){const n=s.meta.link;n&&window.open(n,s.key);return}this.$router.push({name:s.name})},0)}))},scrollToAnchor(s){this.$nextTick(()=>{let e=document.getElementById(`gd-menus-item-${s.code}`);e&&e.scrollIntoView({behavior:"auto"})})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},...l.mapActions(["MenusSearchMode","UserFavoriteMenu"])},created(){this.modeMenus=this.menusSearchMode}};var R=function(){var e=this,t=e._self._c;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){e.name=i},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){return i.stopPropagation(),e.selMode("singleton")}}},[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){return i.stopPropagation(),e.selMode("multiple")}}},[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){return i.stopPropagation(),e.selMode("collect")}}},[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){return[t("div",{staticClass:"item",on:{click:function(a){return e.goPath(i,2,i.menus)}}},[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){return a.stopPropagation(),e.collectMenu(i,2)}}})])])]})],2)])]):t("div",{staticClass:"gd-center",class:e.modeMenus==="multiple"?"gd-centerbj":""},[e._l(e.appMenus,function(i,a){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){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){return e.goPath(n,1,i)}}},[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){return o.stopPropagation(),e.collectMenu(n,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,1)}}})])])]):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){return e.goPath(n,2,i)}}},[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){return e.goPath(n,2,i)}}},[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){return[!o.hidden&&o.show?t("div",{staticClass:"item",class:o.path===e.activeKey?"itemactive":"",on:{click:function(r){return e.goPath(o,1,i)}}},[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){return r.stopPropagation(),e.collectMenu(o,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(r){return r.stopPropagation(),e.collectMenu(o,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(r){return r.stopPropagation(),e.collectMenu(o,1)}}})])]):e._e()]})],2):e._e()]):e._e()]})],2):e._e()]}),t("div",{staticClass:"zhan-bj"})],2)]),t("div",{staticClass:"gd-menus-close",on:{click:e.close}})]):e._e()])},S=[],z=l.normalizeComponent(T,R,S,!1,null,"ae5a754d",null,null);const L=z.exports;var d=null;const N={name:"GdSideNavMenu",props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{defApp:"",defMenus:[],activeKey:"",defaultActive:"",activeData:{},type:"click"}},components:{UserLogo:B,SidebarMenus:L},computed:{componentItem(){const s=this.$importViewFiles();let e=`..${this.customizeNavMenu}`,t=s[e];return t?t.default:null},apps(){return this.userInfo.apps},styled(){let s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.horizontalWidth}px`;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`),{width:s,"--bjmenuvar":"#1d2126"}},...l.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar","userFavoriteMenu","navMenuTheme","primaryColor","sidebar","sidebarConfig","customizeNavMenu"])},watch:{$route(s){this.changeRoute(s)}},methods:{selectMenus(s){if(console.log(s),this.defaultActive===s)return;let e={};const t=n=>(n=n.filter(o=>{const r=o.code?o.code:o.key;return s===r&&(e=o),o.children&&(o.children=t(o.children)),!0}),n);t(this.defMenus);const i=e.type===void 0?1:e.type;if(console.log(e,i),i!==1)return;if((e.opentype!==void 0?e.opentype:1)===2){const n=e.meta.link;n&&window.open(n);return}this.$router.push({name:e.name}),this.defaultActive=e.code?e.code:e.key,this.activeData=e},getDefApp(s){let e=s&&s.name?s.name:"";this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},getSysBookmarkPage(){this.userInfo.bookmarks&&this.UserFavoriteMenu(this.userInfo.bookmarks);let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},init(){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);let e=[...this.apps];e.forEach((t,i)=>{const a=t.menus.map(o=>(o.show=o.meta.show,o));let n=[];this.listToTree(a,n,0),e[i].children=[...n],e[i].show=!0}),e=s(e).filter(t=>t.children.filter(a=>a.show).length===0?!1:t.show),this.defMenus=[...e],this.$nextTick(()=>{setTimeout(()=>{this.$refs.sMenu.setAppMenus(e)},100)})},mouseenterMenu(){d&&clearTimeout(d),this.type=this.type!=="click"?"mouse":this.type},mouseleaveMenu(){d&&clearTimeout(d),this.type==="mouse"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},100))},mouseenter(s){d&&clearTimeout(d),this.type!=="click"&&(this.type=this.type!=="click"?"mouse":this.type,this.$refs.sMenu.open(s))},mouseleave(){d&&clearTimeout(d),this.type!=="click"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},300))},changeRoute(s){this.activeKey=s.fullPath,this.activeData=s,this.getDefApp(s)},getDefApp(s){let e=s&&s.name?s.name:"";this.defaultActive=e,this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},selItem(s){this.type="click",this.defApp=s.code,this.$refs.sMenu.open(s)},listToTree(s,e,t){s&&s.forEach(i=>{if(i.pid==t){const a={...i,key:i.key||i.name,children:[]};this.listToTree(s,a.children,i.id),a.children.length<=0&&delete a.children,e.push(a)}})},...l.mapActions(["UserFavoriteMenu"])},created(){this.init(),this.changeRoute(this.$route),this.getSysBookmarkPage()}};var F=function(){var e=this,t=e._self._c;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){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){return e.selItem(i)},mouseenter:function(n){return e.mouseenter(i)},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()])]})],2):t("div",{staticClass:"gd-app"},[e._l(e.defMenus,function(i,a){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){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,f){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)]})],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)))])])]})],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)]})],2)],1),t("SidebarMenus",{ref:"sMenu",attrs:{collapsed:e.sidebar,menus:e.defMenus,activeKey:e.activeKey},on:{goPath:e.goPath,close:function(i){return e.getDefApp(e.activeData)},mouseenter:e.mouseenterMenu,mouseleave:e.mouseleaveMenu}})],1)},P=[],U=l.normalizeComponent(N,F,P,!1,null,"b00d3374",null,null);const g=U.exports;g.install=function(s){s.component(g.name,g)};const y=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=(()=>{if(typeof document>"u")return!1;const s=y[0],e={};for(const t of y)if((t==null?void 0:t[1])in document){for(const[a,n]of t.entries())e[s[a]]=n;return e}return!1})(),C={change:u.fullscreenchange,error:u.fullscreenerror};let c={request(s=document.documentElement,e){return new Promise((t,i)=>{const a=()=>{c.off("change",a),t()};c.on("change",a);const n=s[u.requestFullscreen](e);n instanceof Promise&&n.then(a).catch(i)})},exit(){return new Promise((s,e)=>{if(!c.isFullscreen){s();return}const t=()=>{c.off("change",t),s()};c.on("change",t);const i=document[u.exitFullscreen]();i instanceof Promise&&i.then(t).catch(e)})},toggle(s,e){return c.isFullscreen?c.exit():c.request(s,e)},onchange(s){c.on("change",s)},onerror(s){c.on("error",s)},on(s,e){const t=C[s];t&&document.addEventListener(t,e,!1)},off(s,e){const t=C[s];t&&document.removeEventListener(t,e,!1)},raw:u};Object.defineProperties(c,{isFullscreen:{get:()=>Boolean(document[u.fullscreenElement])},element:{enumerable:!0,get:()=>{var s;return(s=document[u.fullscreenElement])!=null?s:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[u.fullscreenEnabled])}});u||(c={isEnabled:!1});const v=c;const Q={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{isFullscreen:!1,photoUrl:"",avatar:"",unreadCount:"",handletype:"1",tabsReady:!1}},components:{SettingDrawer:()=>Promise.resolve().then(()=>require("./components.settingdrawer.1af86231.js")).then(s=>s.main),XlsxImport:()=>Promise.resolve().then(()=>require("./components.xlsximport.e3bcb07d.js")).then(s=>s.main),InformationMsg:()=>Promise.resolve().then(()=>re)},computed:{hasLogout(){const s=this.options.filter(e=>e.key==="logout")[0];return s?s.statu:!0},options(){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))},menus(){const s=this.hasItems?[{disabled:!1,key:"application",name:"\u5E94\u7528",statu:!0,permission:"sysApplication:see",transkey:"gd.solution.application"}]:[],e=this.options.filter(t=>t.key!=="logout");return s.concat(e).filter(t=>t.permission?this.$hasPerm(t.permission):!0)},hasItems(){return(this.systemInfo.id?this.systemInfo:window.$systemInfo).code==="GDS_LCDP"},apps(){return this.userInfo.apps},getUserImg(){let s="/gds/"+this.userInfo.filePath+"/"+this.userInfo.fileObjectName;return`${this.$getImageUrl(s)}`},fadeColord(){return this.fadeColor(this.primaryColor,.2)},...l.mapGetters(["tableLists","platformData","userInfo","primaryColor","token","systemInfo"])},methods:{imageUrl(){b.sysFileInfoPreview({id:this.userInfo.avatar}).then(s=>{const e=new Blob([s]);this.photoUrl=window.URL.createObjectURL(e)}).catch(s=>{this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A"+s.message)})},echartsManage(s){this.$router.push({name:"echartsManage"}),this.$refs[s][0].doClose()},accountSetting(s){this.$router.push({name:"accountSettings"}),this.$refs[s][0].doClose()},hand(s){s==="theme"?this.$refs.settingDrawer.toggle():s==="fullScreen"?this.toggleFullscreen():s==="application"?this.$router.push({path:"/platform/application"}):s==="universalImport"?this.$refs.xlsxImport.open():s=="information"?this.$refs.informationMsg.open():this.$router.push({path:`/${s}`})},showtabs(){this.tabsReady=!0},hidetabs(){this.tabsReady=!1},toggleFullscreen(){if(!v.isEnabled){message.error(this.$i18nt("gd.account.browserNotSupported","\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F\u6A21\u5F0F?"));return}v.toggle(),v.isFullscreen?this.isFullscreen=!1:this.isFullscreen=!0},handleLogout(){let s=this;this.$confirm(this.$i18nt("gd.account.logOutContent","\u771F\u7684\u8981\u6CE8\u9500\u767B\u5F55\u5417?"),this.$i18nt("gd.account.logOutTip","\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.menu.logOutOk","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,i)=>{if(e!=="confirm"){i();return}t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,s.Logout().then(a=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,setTimeout(()=>{window.location.reload(),i()},100)})}})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},handleMessage(s){this.unreadCount=s.count},handleClick(s,e){this.$nextTick(()=>{setTimeout(()=>{const t=s.name==="1"?"messageDataRefun":"readMessageDataRef";this.$refs[t]&&typeof this.$refs[t].init=="function"&&this.$refs[t].init()},10)})},...l.mapActions(["Logout"])},async mounted(){this.$socket.on("receive",this.handleMessage),this.imageUrl(),await this.$socket.authenticate(this.token)}};var K=function(){var e=this,t=e._self._c;return t("div",{staticClass:"user-wrapper"},[e._l(e.menus,function(i){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){return e.accountSetting(`popover_${i.key}`)}}},[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){return e.echartsManage(`popover_${i.key}`)}}},[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){return e.handleLogout(`popover_${i.key}`)}}},[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;base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JqkL0XB5liMYkfYECBCBCEr3kUogvcWhzpFAQHY3VVe50/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){return e.hand(i.key)}}},[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()]}),t("SettingDrawer",{ref:"settingDrawer"}),t("XlsxImport",{ref:"xlsxImport",attrs:{typeImport:2}}),t("InformationMsg",{ref:"informationMsg"})],2)},j=[],O=l.normalizeComponent(Q,K,j,!1,null,"3001357d",null,null);const q=O.exports;const H={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"UNREAD"},list:[],notifications:[],confirmLoading:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");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},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,A.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{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(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.notifications=e,this.loading=!1},markAsRead(s){this.beaseLoadComplete(s)},beaseLoadComplete(s){const e=s.targeturl.split("?")[1];let t="";if(e&&(t=new URLSearchParams(e).get("complete_request")),t==="")return;const i=decodeURIComponent(t),a=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),n=w.getParamsQuery(i);D.post(a,n),setTimeout(()=>{this.init()},1e3)},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsReadDetail(s){this.$emit("markAsRead",s),setTimeout(()=>{this.init()},300)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var J=function(){var e=this,t=e._self._c;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){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){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(r){return e.markAsReadDetail(n)}}},[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){return r.stopPropagation(),e.markAsRead(n)}}},[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))])])])])})],2)}),!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)])},V=[],Y=l.normalizeComponent(H,J,V,!1,null,"8580e637",null,null);const G=Y.exports;const X={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"READ"},list:[],notifications:[],confirmLoading:!1,showDetails:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");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},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,A.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{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(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.loading=!1,this.notifications=e},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsRead(s){this.$emit("markAsRead",s)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var Z=function(){var e=this,t=e._self._c;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){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){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(r){return e.markAsRead(n)}}},[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))])])])])})],2)}),!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)])},W=[],ee=l.normalizeComponent(X,Z,W,!1,null,"c25eaf49",null,null);const te=ee.exports;const se={data(){return{visible:!1,width:"384px",type:"messageDataRefun",showDetails:!1,notificationsData:[]}},computed:{daySet(){const s=new Date().getTime(),e=new Date().getTime()-24*60*60*1e3;return[this.getDayNum(s),this.getDayNum(e)]}},components:{MessageData:G,ReadMessageData:te},methods:{notifications(s){this.notificationsData=s},closeShowDetails(){console.log(88),this.showDetails=!1,this.refresh(!0)},markAsRead(s,e){this.showDetails=!0,this.$nextTick(()=>{setTimeout(()=>{this.$refs.viewFormDetails.open(s.targeturl)})})},refresh(s=!0){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs[this.type];e&&e.init(s)})})},open(){this.visible=!0,this.refresh(!1)},readOneClick(){this.$confirm(this.$i18nt("gd.https.oneClickRead","\u662F\u5426\u4E00\u952E\u5DF2\u8BFB\u6D88\u606F?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{if(s!=="confirm"){t();return}this.oneClick(s,e,t)}})},oneClick(s,e,t){e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,A.sysMessageMarkAllAsRead().then(i=>{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)})},getDayNum(s){const e=new Date(s),t=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return`${t}-${this.formatNumber(i)}-${this.formatNumber(a)}`},formatNumber(s){return s=s.toString(),s[1]?s:"0"+s}}};var ie=function(){var e=this,t=e._self._c;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){e.visible=i}}},[t("div",{staticClass:"drawer-main"},[t("div",{staticClass:"title"},[t("el-radio-group",{on:{input:function(i){return e.refresh(!1)}},model:{value:e.type,callback:function(i){e.type=i},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)},ne=[],ae=l.normalizeComponent(se,ie,ne,!1,null,"954b95d6",null,null);const oe=ae.exports,re=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=g;exports.UserMenus=q;
@@ -0,0 +1,116 @@
1
+ import { e as i, f as o } from "./http.main.1af1e119.mjs";
2
+ import { n as r } from "./components.chartbi.470b96af.mjs";
3
+ import "./utils.echarts.js.d1bb8ac6.mjs";
4
+ import "./utils.util.js.885de913.mjs";
5
+ const n = {
6
+ name: "GdEmployeeStatusChange",
7
+ props: {
8
+ tableData: {
9
+ type: Object,
10
+ default: () => ({})
11
+ }
12
+ },
13
+ data() {
14
+ return {
15
+ buttons: [
16
+ {
17
+ displayName: "\u786E\u5B9A",
18
+ functionName: "handleSubmit",
19
+ show: !0,
20
+ transKey: "gd.btn.confirm",
21
+ icon: "el-icon-document-checked"
22
+ }
23
+ ],
24
+ id: "",
25
+ record: {},
26
+ visible: !1,
27
+ confirmLoading: !1,
28
+ fullscreen: !1,
29
+ width: "600px",
30
+ ruleFormData: {
31
+ notes: "",
32
+ newStatus: ""
33
+ },
34
+ rules: {
35
+ newStatus: [
36
+ {
37
+ required: !0,
38
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
39
+ trigger: "change"
40
+ }
41
+ ]
42
+ }
43
+ };
44
+ },
45
+ computed: {
46
+ getDict() {
47
+ return this.getDictionary("office_state").filter((e) => e.code != this.record.officestate);
48
+ },
49
+ employeeName() {
50
+ if (!this.record.id)
51
+ return "--";
52
+ const t = this.record.sys_businessunitidname ? `--${this.record.sys_businessunitidname}` : "", e = this.record.positionname ? `--${this.record.positionname}` : "";
53
+ return `${this.record.name}${t}${e}`;
54
+ }
55
+ },
56
+ methods: {
57
+ save() {
58
+ this.confirmLoading = !0, i({ employeeId: this.id, newStatus: this.ruleFormData.newStatus, notes: this.ruleFormData.notes }).then((t) => {
59
+ t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + t.message), this.confirmLoading = !1;
60
+ });
61
+ },
62
+ handleSubmit() {
63
+ this.$refs.ruleForm.validate((t) => {
64
+ t && this.save();
65
+ });
66
+ },
67
+ getDetail() {
68
+ this.confirmLoading = !0, o({ tableId: this.tableData.id, id: this.id }).then((t) => {
69
+ t.code === 200 && (this.record = t.data[0]), this.confirmLoading = !1;
70
+ });
71
+ },
72
+ open(t) {
73
+ this.ruleFormData = { notes: "", newStatus: "" }, this.id = t, this.visible = !0, this.getDetail();
74
+ },
75
+ closed() {
76
+ this.fullscreen = !1, this.visible = !1, this.id = "";
77
+ },
78
+ toggleFullscreen() {
79
+ this.fullscreen = !this.fullscreen;
80
+ },
81
+ getDictionary(t) {
82
+ return this.$options.filters.dictData(t);
83
+ },
84
+ doEvent(t) {
85
+ const e = t.item.functionName;
86
+ this[e] && this[e]();
87
+ }
88
+ }
89
+ };
90
+ var l = function() {
91
+ var e = this, s = e._self._c;
92
+ return s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { 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, "destroy-on-close": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
93
+ e.visible = a;
94
+ }, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.batchUpdate.statusChangeTip", "\u5458\u5DE5\u72B6\u6001\u53D8\u66F4"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", [e.visible ? s("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticClass: "gd-form", attrs: { "label-width": "110px", model: e.ruleFormData, size: "mini", rules: e.rules, "label-position": "top" }, nativeOn: { submit: function(a) {
95
+ a.preventDefault();
96
+ } } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.batchUpdate.employeeInformation", "\u5458\u5DE5\u4FE1\u606F") } }, [s("div", { staticStyle: { "background-color": "#909399", color: "#fff", padding: "0 8px", "border-radius": "4px" } }, [e._v(e._s(e.employeeName))])]), s("el-form-item", { attrs: { label: e.$i18nt("gd.state.currentState", "\u5F53\u524D\u72B6\u6001") } }, [e.record.officestate ? s("el-tag", { style: e._f("dictColor")("office_state", e.record.officestate), attrs: { effect: "dark" } }, [s("span", { staticStyle: { "font-size": "14px" } }, [e._v(e._s(e._f("dictType")("office_state", e.record.officestate)))])]) : s("span", [e._v("--")])], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.batchUpdate.newState", "\u65B0\u72B6\u6001"), prop: "newStatus" } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleFormData.newStatus, callback: function(a) {
97
+ e.$set(e.ruleFormData, "newStatus", a);
98
+ }, expression: "ruleFormData.newStatus" } }, e._l(e.getDict, function(a) {
99
+ return s("el-option", { key: a.code, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
100
+ }), 1)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.menu.remark", "\u5907\u6CE8") } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 3 }, model: { value: e.ruleFormData.notes, callback: function(a) {
101
+ e.$set(e.ruleFormData, "notes", a);
102
+ }, expression: "ruleFormData.notes" } })], 1)], 1) : e._e()], 1)], 2);
103
+ }, c = [], d = /* @__PURE__ */ r(
104
+ n,
105
+ l,
106
+ c,
107
+ !1,
108
+ null,
109
+ "42daf709",
110
+ null,
111
+ null
112
+ );
113
+ const p = d.exports;
114
+ export {
115
+ p as default
116
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./http.main.2f8a6936.js"),o=require("./components.chartbi.e9459775.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const r={name:"GdEmployeeStatusChange",props:{tableData:{type:Object,default:()=>({})}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],id:"",record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"600px",ruleFormData:{notes:"",newStatus:""},rules:{newStatus:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]}}},computed:{getDict(){return this.getDictionary("office_state").filter(e=>e.code!=this.record.officestate)},employeeName(){if(!this.record.id)return"--";const t=this.record.sys_businessunitidname?`--${this.record.sys_businessunitidname}`:"",e=this.record.positionname?`--${this.record.positionname}`:"";return`${this.record.name}${t}${e}`}},methods:{save(){this.confirmLoading=!0,i.baseStatusChange({employeeId:this.id,newStatus:this.ruleFormData.newStatus,notes:this.ruleFormData.notes}).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok"),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+t.message),this.confirmLoading=!1})},handleSubmit(){this.$refs.ruleForm.validate(t=>{t&&this.save()})},getDetail(){this.confirmLoading=!0,i.baseDetails({tableId:this.tableData.id,id:this.id}).then(t=>{t.code===200&&(this.record=t.data[0]),this.confirmLoading=!1})},open(t){this.ruleFormData={notes:"",newStatus:""},this.id=t,this.visible=!0,this.getDetail()},closed(){this.fullscreen=!1,this.visible=!1,this.id=""},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(t){return this.$options.filters.dictData(t)},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var n=function(){var e=this,s=e._self._c;return s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{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,"destroy-on-close":!1,top:"80px","show-close":!1},on:{"update:visible":function(a){e.visible=a},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.batchUpdate.statusChangeTip","\u5458\u5DE5\u72B6\u6001\u53D8\u66F4"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),s("div",[e.visible?s("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],ref:"ruleForm",staticClass:"gd-form",attrs:{"label-width":"110px",model:e.ruleFormData,size:"mini",rules:e.rules,"label-position":"top"},nativeOn:{submit:function(a){a.preventDefault()}}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.batchUpdate.employeeInformation","\u5458\u5DE5\u4FE1\u606F")}},[s("div",{staticStyle:{"background-color":"#909399",color:"#fff",padding:"0 8px","border-radius":"4px"}},[e._v(e._s(e.employeeName))])]),s("el-form-item",{attrs:{label:e.$i18nt("gd.state.currentState","\u5F53\u524D\u72B6\u6001")}},[e.record.officestate?s("el-tag",{style:e._f("dictColor")("office_state",e.record.officestate),attrs:{effect:"dark"}},[s("span",{staticStyle:{"font-size":"14px"}},[e._v(e._s(e._f("dictType")("office_state",e.record.officestate)))])]):s("span",[e._v("--")])],1),s("el-form-item",{attrs:{label:e.$i18nt("gd.batchUpdate.newState","\u65B0\u72B6\u6001"),prop:"newStatus"}},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:""},model:{value:e.ruleFormData.newStatus,callback:function(a){e.$set(e.ruleFormData,"newStatus",a)},expression:"ruleFormData.newStatus"}},e._l(e.getDict,function(a){return s("el-option",{key:a.code,attrs:{value:a.code,label:e.$i18nt(`Dynamics.${a.transkey}`,a.name)}})}),1)],1),s("el-form-item",{attrs:{label:e.$i18nt("gd.menu.remark","\u5907\u6CE8")}},[s("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:3},model:{value:e.ruleFormData.notes,callback:function(a){e.$set(e.ruleFormData,"notes",a)},expression:"ruleFormData.notes"}})],1)],1):e._e()],1)],2)},l=[],c=o.normalizeComponent(r,n,l,!1,null,"42daf709",null,null);const d=c.exports;exports.default=d;