gds-plus-design-vue 1.2.62 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91338
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +38 -22
  291. package/locale/id_ID.js +22 -6
  292. package/locale/vi_VN.js +1929 -1913
  293. package/locale/zh_CN.js +44 -28
  294. package/package.json +106 -105
  295. package/lib/chartbi.114d32d7.js +0 -60
  296. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  297. package/lib/main.083e0ba3.js +0 -1
  298. package/lib/main.4a858284.js +0 -1
  299. package/lib/main.64cb2027.js +0 -1
  300. package/lib/main.70a46cbc.js +0 -1
  301. package/lib/messages.364eb728.js +0 -9
  302. package/lib/system.account.95bd8508.js +0 -216
  303. package/lib/system.account.d6c7485b.mjs +0 -2552
  304. package/lib/system.config.63c0217d.js +0 -1
  305. package/lib/system.datasource.a2c0bad4.js +0 -1
  306. package/lib/system.dict.dfb4c376.js +0 -1
  307. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  308. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  309. package/lib/system.email.545cedff.mjs +0 -7432
  310. package/lib/system.email.ec0ac728.js +0 -41
  311. package/lib/system.fieldsecurity.eb217079.js +0 -1
  312. package/lib/system.file.1cb952a4.js +0 -1
  313. package/lib/system.log.348b3605.js +0 -1
  314. package/lib/system.machine.49fc6405.js +0 -1
  315. package/lib/system.notice.d7a3346d.js +0 -1
  316. package/lib/system.noticereceived.c0b24616.js +0 -1
  317. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  318. package/lib/system.org.30063246.js +0 -1
  319. package/lib/system.permissions.1ff855c2.js +0 -9
  320. package/lib/system.plugin.2c7c8a5a.js +0 -1
  321. package/lib/system.pos.21294c28.js +0 -1
  322. package/lib/system.promptmanagement.7e8da777.js +0 -1
  323. package/lib/system.role.078fac85.js +0 -1
  324. package/lib/system.sumberrules.b0252f77.js +0 -1
  325. package/lib/system.team.296512d7.mjs +0 -1000
  326. package/lib/system.team.5d6169bc.js +0 -1
  327. package/lib/system.teammembers.313345f7.js +0 -1
  328. package/lib/system.timers.8246e6ba.js +0 -38
  329. package/lib/system.translation.fdff4956.js +0 -1
  330. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  331. package/lib/system.webresource.2a341e05.js +0 -1
  332. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./components.chartbi.e4680eaa.js"),l=require("./http.noticemanage.2507d094.js"),m=require("./http.usermanage.6dcbc7de.js"),u=require("./utils.mixins.js.750ca50e.js"),g=require("./http.filemanage.7e6e3e1a.js"),y=require("./http.orgmanage.5162fd7a.js"),b=require("./http.rolemanage.03363732.js"),w=require("./http.sysapps.469d47f7.js"),_=require("./http.tabledevelopment.a880bb76.js");require("./components.form.91d5ed3e.js");const v={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",width:"260",type:"slot",slotType:"title",align:"left",fixed:!0},{transKey:"gd.notice.type",prop:"type",width:"120",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type"},{transKey:"gd.notice.status",prop:"status",width:"120",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.createdTime",prop:"createdtime",width:"180",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicTime",prop:"publictime",width:"180",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",width:"200",label:"\u53D1\u5E03\u4EBA",align:"left"}],formColumns:[{transKey:"gd.notice.title",effectType:"input",prop:"title",label:"\u6807\u9898",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.type",prop:"type",label:"\u7C7B\u578B",effectType:"radio",dictTypeCode:"notice_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}],type:"slot",slotType:"notice_type"},{transKey:"gd.notice.noticeBucket",effectType:"editor",prop:"content",label:"\u5185\u5BB9",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.attachment",effectType:"file",prop:"fileList",label:"\u9644\u4EF6",accept:".pdf",placeholder:"\u8BF7\u4E0A\u4F20",fileTitle:"\u4E0A\u4F20PDF\u6587\u4EF6",limit:1,rules:[],type:"slot",slotType:"fileList"},{transKey:"gd.notice.notifyTo",effectType:"notifyingPerson",prop:"notifyingPerson",label:"\u6536\u5230\u901A\u77E5\u4EBA",type:"slot",slotType:"notifyingPerson",rules:[],disabled:!1}],noticeFormColumns:[],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysNotice:add"},{displayName:"\u901A\u77E5\u4EBA",functionName:"notifyingPerson",show:!0,transKey:"gd.notice.notifyingPerson",icon:"el-icon-bell",name:"sysNotice:notifyingPerson"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysNotice:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysNotice:delete"},{displayName:"\u53D1\u5E03",functionName:"release",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",name:"sysNotice:changeStatus"},{displayName:"\u64A4\u56DE",functionName:"rollback",show:!0,transKey:"gd.btn.withdraw",icon:"el-icon-refresh-left",btnType:"danger",name:"sysNotice:changeStatus"},{displayName:"\u67E5\u770B",functionName:"read",show:!0,transKey:"gd.btn.view",icon:"el-icon-reading",name:"sysNotice:detail"}],formButtons:[{displayName:"\u5B58\u4E3A\u8349\u7A3F",functionName:"saveDraft",show:!0,transKey:"gd.btn.saveDraft",icon:"el-icon-tickets",validate:!0},{displayName:"\u53D1\u5E03",functionName:"releaseTip",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",validate:!0}],noticeFormButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.notice.noticeOriginName",prop:"searchValue",label:"\u5173\u952E\u8BCD",effectType:"input",rules:[]},{transKey:"gd.sysConfig.type",prop:"type",label:"\u7C7B\u578B",effectType:"select",dictTypeCode:"notice_type",rules:[]}]}}};const $={name:"GdNoticeDetails",props:{modeType:{type:String,default:"dialog"}},data(){return{transKey:"gd.notice.detail",fullscreen:!1,visible:!1,width:"900",confirmLoading:!1,contentRecord:{},sysViewButtons:[],type:"pdf"}},computed:{height(){return this.screenHeight-24-40-36},headTitle(){return this.$i18nt(this.transKey,this.title)},style(){return`height:${this.fullscreen?this.screenHeight-80:this.screenHeight-240}px;`},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{open(t){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(t.id)},sysNoticeDetail(t){this.fullscreen=!1,l.sysNoticeDetail({id:t}).then(e=>{e.code===200?(this.contentRecord=e.data,this.$emit("onLoadCompleted"),e.data.attachment&&this.$nextTick(()=>{setTimeout(()=>{let s={name:`${e.data.title}.${this.type}`,fileId:e.data.attachment,fullscreen:!1};this.$refs.filePreview.open(s)},0)})):this.$message.error(e.message),this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.contentRecord={}},closed(){this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var T=function(){var e=this,s=e._self._c;return s("div",[e.modeType==="dialog"?s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{formMode:e.formMode,fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px",transKey:e.transKey,labelPosition:e.labelPosition,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("gd-modal-title",{attrs:{slot:"title",title:e.headTitle,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],class:e.fullscreen?"modal-bodyq":"modal-body"},[s("div",{staticStyle:{"text-align":"center","font-size":"28px"}},[e._v(e._s(this.contentRecord.title))]),s("div",{staticStyle:{"text-align":"right","font-size":"12px",color:":#999"}},[s("span",[e._v(e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername))]),s("span",{staticStyle:{"padding-left":"12px"}},[e._v(" "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),s("el-divider"),s("div",[s("label",{staticClass:"ql-editor",domProps:{innerHTML:e._s(this.contentRecord.content)}})]),e.contentRecord.status!=2&&e.contentRecord.attachment!=""?s("gd-file-preview",{ref:"filePreview",attrs:{options:{},modeType:"component"}}):e._e()],1)],1):s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"30vh"}},[s("div",{staticStyle:{"text-align":"center","font-size":"28px"}},[e._v(e._s(this.contentRecord.title))]),s("div",{staticStyle:{"text-align":"right","font-size":"12px",color:":#999"}},[s("span",[e._v(e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername))]),s("span",{staticStyle:{"padding-left":"12px"}},[e._v(" "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),s("el-divider"),s("div",[s("label",{staticClass:"ql-editor",domProps:{innerHTML:e._s(this.contentRecord.content)}})]),e.contentRecord.status!=2&&e.contentRecord.attachment!=""?s("gd-file-preview",{ref:"filePreview",attrs:{options:{},modeType:"component"}}):e._e()],1)],1)},R=[],C=o.normalizeComponent($,T,R,!1,null,"5cb794ba",null,null);const h=C.exports,S={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.org.displayName",prop:"name",label:"\u673A\u6784\u540D\u79F0",minWidth:"260",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.type",prop:"orgType",label:"\u673A\u6784\u7C7B\u578B",minWidth:"220",type:"slot",slotType:"orgType",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",width:"200",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"120",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",minWidth:"300",type:"slot",slotType:"remark",label:"\u5907\u6CE8",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const K={props:{height:{type:Number,default:0},selectOrgRow:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,S],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>y.getOrgPage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectOrgRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var L=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""}})]}},{key:"orgType",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("org_type",i.row.orgtype),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("org_type",i.row.orgtype))+" ")])]}},{key:"remark",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"remark",row:n}})]}}])})],1)])},P=[],k=o.normalizeComponent(K,L,P,!1,null,"b1509975",null,null);const F=k.exports,N={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.roleName",prop:"name",label:"\u89D2\u8272\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"200",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",label:"\u5907\u6CE8",align:"left",showOverflowTooltip:!0}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const x={props:{height:{type:Number,default:0},selectRoleRow:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,N],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{sysAppsId:""},loadData:t=>b.getRolePage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectRoleRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{getSysAppsPage(){w.sysAppsPage().then(t=>{t.success&&(this.queryParam.sysAppsId=t.data.rows[0].id)})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},created(){this.getSysAppsPage()}};var D=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""}})]}}])})],1)])},O=[],B=o.normalizeComponent(x,D,O,!1,null,"4f37cfa6",null,null);const z=B.exports,H={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.fieldSecurity.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.teamType",prop:"teamType",label:"\u56E2\u961F\u7C7B\u578B",align:"left",type:"slot",slotType:"teamType",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.description",prop:"description",label:"\u8BF4\u660E",type:"slot",slotType:"description",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const q={props:{height:{type:Number,default:0},selectTeamRow:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,H],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>_.getSysTeamPage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectTeamRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var I=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(n.name)+" ")])]}},{key:"teamType",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(e._f("dictType")("TeamType",n.teamtype))+" ")])]}},{key:"description",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.description)+" ")]}}])})],1)])},E=[],j=o.normalizeComponent(q,I,E,!1,null,"1c4840a6",null,null);const A=j.exports,M={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",width:"220",type:"slot",slotType:"account",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.user.name",prop:"name",label:"\u59D3\u540D",width:"160",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.sex",prop:"gender",width:"120",label:"\u6027\u522B",type:"slot",slotType:"gender",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.displayName",prop:"orgname",label:"\u673A\u6784\u540D\u79F0",width:"180",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.phone",prop:"phone",width:"160",label:"\u624B\u673A",align:"left"},{transKey:"gd.user.status",prop:"statecodes",label:"\u72B6\u6001",width:"120",type:"slot",slotType:"statecodes",align:"center",dictTypeCode:"state_code",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"checkbox",dictTypeCode:"state_code"})}],tableQueries:[{transKey:"gd.application.name",prop:"name",label:"\u540D\u79F0",effectType:"input",rules:[]}]}}};const U={props:{height:{type:Number,default:300},selectUserRow:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,M],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{searchValue:""},loadData:t=>{let e=JSON.parse(JSON.stringify(this.selectUserRow));return m.getUserPage(Object.assign(t,this.queryParam)).then(s=>{let i=[];return e.length>0?i=[...JSON.parse(JSON.stringify(e))].map(String):i=[...JSON.parse(JSON.stringify(this.selectUserRow))].map(String),this.$nextTick(()=>{this.selectedRowKeys=[...i],this.onSelectChange(i,[])}),s.data})},detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},init(t){this.queryParam.searchValue="",this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},mounted(){}};var V=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0,showPagination:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"account",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"account",row:n,highlight:""}})]}},{key:"gender",fn:function(i){return[s("div",{staticStyle:{cursor:"pointer"}},[s("el-tag",{style:e._f("dictColor")("gender",i.row.gender),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("gender",i.row.gender))+" ")])],1)]}},{key:"statecodes",fn:function(i){return[s("div",{staticStyle:{cursor:"pointer"}},[i.row.statecodes==1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})])]}},{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"270px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.user.keywordTip","\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(i){e.$set(e.queryParam,"searchValue",i)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0}])})],1)])},G=[],Q=o.normalizeComponent(U,V,G,!1,null,"b79cacd5",null,null);const J=Q.exports;const W={data(){return{confirmLoading:!0,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:"noticeuser",fullScreen:!1,width:"1000px",visible:!1,height:300,userRowList:[],teamRowList:[],roleRowList:[],orgRowList:[],recordData:"",enterType:""}},components:{noticeUser:J,notcieOrg:F,noticeRole:z,noticeTeam:A},computed:{getButtons(){return this.sysViewButtons.filter(t=>!(this.enterType=="1"&&t.functionName==="handleSubmit"))},...o.mapGetters(["screenHeight","tableLists","primaryColor"])},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},init(t,e){this.recordData=t,this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0,this.type="noticeuser",this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[],this.enterType=e,t&&(this.getData(t,e),setTimeout(()=>{this.$refs.noticeuserRef.init(this.userRowList)},100))},getData(t,e){l.sysNoticeReceiversByTypes({id:e=="1"?t[0]:t}).then(s=>{s.data.receivergroups.forEach(n=>{n.receivertype=="1"&&(this.userRowList=n.receiveridlist),n.receivertype=="2"&&(this.roleRowList=n.receiveridlist),n.receivertype=="3"&&(this.teamRowList=n.receiveridlist),n.receivertype=="4"&&(this.orgRowList=n.receiveridlist)})})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},tabChange(t){this.$nextTick(()=>{setTimeout(()=>{},0)})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[]},handleSubmit(){let t=[{receiverType:"1",receiverIdList:this.userRowList.map(Number)},{receiverType:"2",receiverIdList:this.roleRowList.map(Number)},{receiverType:"3",receiverIdList:this.teamRowList.map(Number)},{receiverType:"4",receiverIdList:this.orgRowList.map(Number)}];this.handleCancel(),this.$emit("ok",t)},selectUser(t){this.userRowList=t},selectTeam(t){this.teamRowList=t},selectRole(t){this.roleRowList=t},selectOrg(t){this.orgRowList=t}}};var X=function(){var e=this,s=e._self._c;return s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"30px","append-to-body":"","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:`${e.$i18nt("gd.notice.notifyingPerson","\u901A\u77E5")}`,fullscreen:e.fullScreen,buttons:e.getButtons,confirmLoading:e.confirmLoading,closed:"handleCancel",showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{staticClass:"setting-navs",class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.tabChange},model:{value:e.type,callback:function(i){e.type=i},expression:"type"}},[s("el-tab-pane",{attrs:{name:"noticeuser",label:e.$i18nt("gd.fieldSecurity.user","\u7528\u6237")}},[e.type=="noticeuser"?s("noticeUser",{ref:"noticeuserRef",attrs:{selectUserRow:e.userRowList,height:e.height},on:{ok:e.selectUser}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticeteam",label:e.$i18nt("gd.fieldSecurity.team","\u56E2\u961F")}},[e.type=="noticeteam"?s("noticeTeam",{ref:"noticeteamRef",attrs:{selectTeamRow:e.teamRowList,height:e.height},on:{ok:e.selectTeam}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticerole",label:e.$i18nt("gd.fieldSecurity.role","\u89D2\u8272")}},[e.type=="noticerole"?s("noticeRole",{ref:"noticeroleRef",attrs:{selectRoleRow:e.roleRowList,height:e.height},on:{ok:e.selectRole}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticeorg",label:e.$i18nt("gd.pagecomponents.institution","\u673A\u6784")}},[e.type=="noticeorg"?s("notcieOrg",{ref:"noticeorgRef",attrs:{selectOrgRow:e.orgRowList,height:e.height},on:{ok:e.selectOrg}}):e._e()],1)],1)],1)])],1)},Y=[],Z=o.normalizeComponent(W,X,Y,!1,null,"62d3bb5d",null,null);const ee=Z.exports;const te={name:"GdNotice",props:{height:{type:Number,default:100}},mixins:[u.tablesFilter,v],data(){return{transKey:"gd.btn.add",loadData:t=>l.sysNoticePage(Object.assign(t,this.queryParam)).then(e=>(this.allData=e.data.rows,e.data)),allData:[],selectedRowKeys:[],selectedRows:[],queryParam:{},formLoading:!1,mockData:[],targetKeys:[],noticeUserIdList:[],status:0,type:"noticeUser",confirmLoading:!1,fileType:"pdf",style:"width: 100%; height: 580px;",headers:{"Content-Type":"multipart/form-data"},fileListFile:[],imgList:[],currentImg:"",ruleFormData:{fileList:"",name:"",notifyingPerson:[],fileid:""},record:{},allEmpty:!0,noticeType:"",fileAccept:["application/pdf"]}},components:{detailForm:h,editNoticeForm:ee},computed:{getHeight(){return this.height},getFormColumns(){return this.formColumns.filter(e=>!(e.prop==="notifyingPerson"&&this.transKey==="gd.btn.add"||(this.noticeType==3&&e.prop==="content"?e.rules=[]:this.noticeType!=3&&e.prop==="content"&&(e.rules=[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]),(this.noticeType==1||this.noticeType==2)&&e.prop==="fileList")))},getButtons(){return this.formButtons.filter(t=>!(this.transKey==="gd.btn.add"&&t.functionName==="releaseTip"))},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},mounted(){(this.$route.params.id||this.$route.query.id)&&(this.transKey="gd.notice.detail",setTimeout(()=>{this.allData.forEach(t=>{(t.id==this.$route.params.id||t.id==this.$route.query.id)&&this.$refs.detailForm.open(t)})},1e3))},methods:{onSelectChange(t,e){if(this.selectedRowKeys=t,this.selectedRows=e,e.length==0){this.baseHideBtns([],2);return}if(e.length>1){this.baseHideBtns(["\u5220\u9664","\u53D1\u5E03","\u64A4\u56DE","\u7F16\u8F91"],2);return}let s=[],i=e.filter(r=>r.status==0),n=e.filter(r=>r.status==1),a=e.filter(r=>r.status==2);i.length==e.length?s=["\u64A4\u56DE"]:n.length==e.length?s=["\u5220\u9664","\u53D1\u5E03","\u7F16\u8F91"]:a.length==e.length&&(s=["\u64A4\u56DE","\u53D1\u5E03","\u7F16\u8F91"]),this.baseHideBtns(s,2)},baseHideBtns(t,e=1){let s=[...this.tableButtons];s.map(i=>(e===1?i.show=!t.includes(i.id):i.show=!t.includes(i.displayName),i)),this.tableButtons=[...s]},add(){this.transKey="gd.btn.add",this.fileListFile=[],this.ruleFormData={fileList:"",name:"",notifyingPerson:[],fileid:""},this.$refs.editForm.open(null)},noticePerson(t){this.$refs.editNoticeFormRef.init(t.id,"2")},notifyingPerson(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.operateTip","\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.editNoticeFormRef.init(this.selectedRowKeys,"1")},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.sysNoticeDetail(this.selectedRows[0].id),this.transKey="gd.btn.edit",this.$refs.editForm.open(Object.assign({...this.selectedRows[0]},{type:String(this.selectedRows[0].type),content:this.selectedRows[0].content,fileid:this.selectedRows[0].attachment}))},editForm(t){this.transKey="gd.notice.detail",this.$refs.detailForm.open(t)},handleOk(t){this.ruleFormData.notifyingPerson=[],this.ruleFormData.notifyingPerson=t,this.allEmpty=Array.isArray(t)?t.every(e=>!e.receiverIdList||e.receiverIdList.length===0):!0},sbumit({data:t,record:e,btn:s},i,n){if(this.status=s.item.functionName=="releaseTip"?1:0,e!=null){let a={id:t.id,content:t.content,status:this.status,title:t.title,type:t.type,receivergroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,l.sysNoticeEdit(Object.assign(this.noticeDetail,a)).then(r=>{r.success?(this.status==1&&n(),this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F"))):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25")+r.message),this.formLoading=!1,this.refresh()})}else{let a={content:t.content,status:this.status,title:t.title,type:t.type,receiverGroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,l.sysNoticeAdd(a).then(r=>{r.success?(this.refresh(),this.status==1?(this.formLoading=!1,n()):setTimeout(()=>{this.$nextTick(()=>{l.sysNoticePage({pageNo:1,pageSize:50}).then(c=>{this.allData=c.data.rows;const d=this.allData.filter(f=>f.title==t.title&&f.content==t.content);d.length>0&&(this.transKey="gd.btn.edit",this.sysNoticeDetail(d[0].id),this.$refs.editForm.open(Object.assign({...d[0]},{type:String(d[0].type),content:d[0].content,fileid:d[0].attachment}))),this.formLoading=!1})})},10),this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F"))):(this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25")+r.message),this.refresh(),this.formLoading=!1)})}},saveQueries(t){this.queryParam=t,this.refresh()},read(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.readTip","\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.detailForm.open(this.selectedRows[0])},rollback(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.withdrawContent","\u786E\u8BA4\u64A4\u56DE?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.withdrawOk","\u7ACB\u5373\u64A4\u56DE!"),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:(t,e,s)=>{this.rollbackHand(t,e,s)}})},rollbackHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let a=l.sysNoticeChangeStatus({id:n.id,status:2}).then(r=>r);i.push(a)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const a=n.filter(r=>!r.success);a.length===0?this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+a[0].message),this.refresh()})},release(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.releaseContent","\u786E\u8BA4\u53D1\u5E03?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.releaseOk","\u7ACB\u5373\u53D1\u5E03!"),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:(t,e,s)=>{this.releaseHand(t,e,s)}})},releaseHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let a=l.sysNoticeChangeStatus({id:n.id,status:1}).then(r=>r);i.push(a)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const a=n.filter(r=>!r.success);a.length===0?this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+a[0].message),this.refresh()})},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),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:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let a=l.sysNoticeDelete(n).then(r=>r);i.push(a)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{s();const a=n.filter(r=>!r.success);a.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a[0].message),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},sysNoticeDetail(t){l.sysNoticeDetail({id:t}).then(e=>{this.noticeDetail=e.data,e.data.attachment&&(this.ruleFormData.fileid=e.data.attachment,this.infoDownLoad(e.data.attachment)),this.ruleFormData.notifyingPerson=e.data.receivergroups,this.allEmpty=Array.isArray(this.ruleFormData.notifyingPerson)?this.ruleFormData.notifyingPerson.every(s=>!s.receiverIdList||s.receiverIdList.length===0):!0,this.noticeType=e.data.type})},getMock(t){const e=[],s=[];m.sysUserSelector().then(i=>{this.confirmLoading=!1;for(let n=0;n<i.data.length;n++){const a=i.data[n],r={key:a.id.toString(),label:a.name,description:`description of ${a.name}`};if(t)for(let c=0;c<t.noticeuseridlist.length;c++)r.key===t.noticeuseridlist[c]&&e.push(t.noticeuseridlist[c]);s.push(r)}this.mockData=s,this.targetKeys=e})},handleChange(t){this.targetKeys=t},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},handleFile(t){if(!!["image"].includes("file")&&!t){this.fileList=[];return}},uploadFile(t){if(!this.fileAccept.includes(t.file.type)){this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),t.onError();return}new FormData().append("file",t.file),g.sysFileInfoUploadShop(t).then(i=>{if(i.code===200){const n=i.data.url,r=(this.ruleFormData&&this.ruleFormData.fileList?this.ruleFormData.fileList.split(","):[]).concat([n]);return this.ruleFormData.fileList=r.join(","),this.ruleFormData.name=i.data.fileoriginname.substring(0,i.data.fileoriginname.lastIndexOf(".")),this.ruleFormData.fileid=i.data.id.toString(),t.onSuccess(i.data),i.data}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+i.message),t.onError()}).catch(i=>{t.onError(i)})},successFile(t,e,s){},removeFile(t,e){let s=[];e.forEach(i=>{i.response&&i.response.id?s.push(i.response.id):s.push(i.url)}),this.ruleFormData.fileList=s.join(","),this.ruleFormData.name="",this.ruleFormData.fileid=""},previewFile(t){let e="";t.response&&t.response.fileOriginName?(e=t.response.fileOriginName,t.response.url):(e=t.name,t.url);const s=e.substr(e.lastIndexOf(".")+1).toLowerCase();["gif","jpeg","png","jpg","JPG","PNG"].includes(s)?this.imgPreview(t.response.id):this.downFile(t)},imgPreview(t){g.sysFileInfoPreview({id:t}).then(e=>{const s=window.URL.createObjectURL(new Blob([e]));this.imgList=[s],this.currentImg=s,this.$refs.imgPreview.open()})},downFile(t){this.$refs.filePreview.open(Object.assign(t,{fileId:t.response&&t.response.fileoriginname?t.response.id:t.fileId}))},getBlobType(t){let e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return this.fileType==="pdf"?e="application/pdf":this.fileType==="docx"&&(e="application/msword"),e},infoDownLoad(t){return g.sysFileInfoDetail({id:t}).then(e=>{this.ruleFormData.fileList=e.data.url,this.ruleFormData.name=e.data.fileoriginname.substring(0,e.data.fileoriginname.lastIndexOf(".")),this.ruleFormData.fileid=e.data.id.toString(),this.fileListFile=[{name:e.data.fileoriginname,url:e.data.url,response:{id:e.data.id,url:e.data.url,fileoriginname:e.data.fileoriginname}}]})},getDictionary(t){return this.$options.filters.dictData(t)},changeMode(t){this.noticeType=t}}};var se=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.notice.title","\u6807\u9898"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.SearchValue,callback:function(i){e.$set(e.queryParam,"SearchValue",i)},expression:"queryParam.SearchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"title",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"title",row:n,highlight:""},on:{click:e.editForm}})]}},{key:"type",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("notice_type",i.row.type),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_type",i.row.type))+" ")])]}},{key:"status",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("notice_status",i.row.status),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_status",i.row.status))+" ")])]}},{key:"filtering",fn:function({colse:i,visible:n}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:n},on:{save:e.saveQueries}})]}}])})],1),s("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"100%",transKey:e.transKey,columns:e.getFormColumns,labelPosition:e.labelPosition,formMode:e.formMode,buttons:e.getButtons,loading:e.formLoading},on:{sbumit:e.sbumit},scopedSlots:e._u([{key:"targetKeys",fn:function({data:i,column:n}){return[s("el-transfer",{attrs:{data:e.mockData,titles:["\u672A\u9009","\u5DF2\u9009"],filterable:""},on:{change:e.handleChange},model:{value:e.targetKeys,callback:function(a){e.targetKeys=a},expression:"targetKeys"}})]}},{key:"notifyingPerson",fn:function({data:i,column:n}){return[s("el-button",{attrs:{type:e.allEmpty?"danger":"primary"},on:{click:function(a){return e.noticePerson(i)}}},[s("i",{staticClass:"gd-icons el-icon-bell"}),e._v(" "+e._s(e.$i18nt("gd.notice.notice","\u901A\u77E5")))])]}},{key:"notice_type",fn:function({data:i,column:n}){return[s("el-radio-group",{on:{change:e.changeMode},model:{value:i.type,callback:function(a){e.$set(i,"type",a)},expression:"data.type"}},e._l(e.getDictionary("notice_type"),function(a,r){return s("el-radio",{key:a.code,attrs:{label:a.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.name))+" ")])}),1)]}},{key:"fileList",fn:function({data:i,column:n}){return[s("el-upload",{attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:n.limit,accept:n.accept,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile}},[s("el-button",{attrs:{size:"mini",type:"primary"}},[s("i",{staticClass:"gd-icons gd-icon-shangchuan"}),e._v(" "+e._s(e.$i18nt("gd.btn.upload","\u4E0A\u4F20"))+" ")])],1)]}}])}),s("detailForm",{ref:"detailForm"}),s("editNoticeForm",{ref:"editNoticeFormRef",on:{ok:e.handleOk}}),s("gd-file-preview",{ref:"filePreview"}),s("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}})],1)},ie=[],ne=o.normalizeComponent(te,se,ie,!1,null,"7a480ef7",null,null);const p=ne.exports;p.install=function(t){t.component(p.name,p)};h.install=function(t){t.component(h.name,h)};exports.GDpackage=p;exports.noticeItem=h;
@@ -1,14 +1,8 @@
1
- import { m as l, n as o } from "./chartbi.eb4dd0af.mjs";
2
- import { t as n } from "./messages.5bcc42f9.mjs";
3
- import { d as c } from "./system.notice.dba4c597.mjs";
4
- function d(t) {
5
- return window.axios({
6
- url: "/sysNotice/received",
7
- method: "get",
8
- params: t
9
- });
10
- }
11
- const u = {
1
+ import { m as l, n as o } from "./components.chartbi.b043dcdc.mjs";
2
+ import { s as n } from "./http.noticereceivedmanage.50797be1.mjs";
3
+ import { t as c } from "./utils.mixins.js.be01e599.mjs";
4
+ import { n as u } from "./system.notice.25ea8dca.mjs";
5
+ const d = {
12
6
  data() {
13
7
  return {
14
8
  tableColumns: [
@@ -85,11 +79,11 @@ const p = {
85
79
  default: 100
86
80
  }
87
81
  },
88
- mixins: [n, u],
82
+ mixins: [c, d],
89
83
  data() {
90
84
  return {
91
85
  transKey: "gd.btn.add",
92
- loadData: (t) => d(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
86
+ loadData: (t) => n(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
93
87
  selectedRowKeys: [],
94
88
  selectedRows: [],
95
89
  queryParam: {},
@@ -98,7 +92,7 @@ const p = {
98
92
  };
99
93
  },
100
94
  components: {
101
- detailForm: c
95
+ detailForm: u
102
96
  },
103
97
  computed: {
104
98
  getHeight() {
@@ -140,16 +134,16 @@ var f = function() {
140
134
  } }, model: { value: e.queryParam.SearchValue, callback: function(a) {
141
135
  e.$set(e.queryParam, "SearchValue", a);
142
136
  }, expression: "queryParam.SearchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
143
- }, proxy: !0 }, { key: "title", fn: function({ column: a, row: s }) {
144
- return [i("gd-tooltip", { attrs: { rowKey: "title", row: s, highlight: "" }, on: { click: e.editForm } })];
137
+ }, proxy: !0 }, { key: "title", fn: function({ column: a, row: r }) {
138
+ return [i("gd-tooltip", { attrs: { rowKey: "title", row: r, highlight: "" }, on: { click: e.editForm } })];
145
139
  } }, { key: "type", fn: function(a) {
146
140
  return [i("el-tag", { style: e._f("dictColor")("notice_type", a.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", a.row.type)) + " ")])];
147
141
  } }, { key: "status", fn: function(a) {
148
142
  return [i("el-tag", { style: e._f("dictColor")("notice_status", a.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", a.row.status)) + " ")])];
149
- } }, { key: "filtering", fn: function({ colse: a, visible: s }) {
150
- return [i("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: a, visible: s }, on: { save: e.saveQueries } })];
143
+ } }, { key: "filtering", fn: function({ colse: a, visible: r }) {
144
+ return [i("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: a, visible: r }, on: { save: e.saveQueries } })];
151
145
  } }]) })], 1), i("detailForm", { ref: "detailForm" })], 1);
152
- }, y = [], h = /* @__PURE__ */ o(
146
+ }, y = [], m = /* @__PURE__ */ o(
153
147
  p,
154
148
  f,
155
149
  y,
@@ -159,11 +153,10 @@ var f = function() {
159
153
  null,
160
154
  null
161
155
  );
162
- const r = h.exports;
163
- r.install = function(t) {
164
- t.component(r.name, r);
156
+ const s = m.exports;
157
+ s.install = function(t) {
158
+ t.component(s.name, s);
165
159
  };
166
160
  export {
167
- r as G,
168
- d as s
161
+ s as G
169
162
  };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./components.chartbi.e4680eaa.js"),l=require("./http.noticereceivedmanage.e8ec9c9d.js"),o=require("./utils.mixins.js.750ca50e.js"),c=require("./system.notice.96c770a6.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",width:"260",type:"slot",slotType:"title",align:"left",fixed:!0},{transKey:"gd.notice.type",prop:"type",width:"120",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type"},{transKey:"gd.notice.status",prop:"status",width:"120",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.publicTime",prop:"publictime",width:"180",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",width:"200",label:"\u53D1\u5E03\u4EBA",align:"left"}],tableQueries:[{transKey:"gd.notice.noticeOriginName",prop:"searchValue",label:"\u5173\u952E\u8BCD",effectType:"input",rules:[]},{transKey:"gd.sysConfig.type",prop:"type",label:"\u7C7B\u578B",effectType:"select",dictTypeCode:"notice_type",rules:[]}]}}};const d={name:"GdNoticeReceived",props:{height:{type:Number,default:100}},mixins:[o.tablesFilter,u],data(){return{transKey:"gd.btn.add",loadData:t=>l.sysNoticeReceived(Object.assign(t,this.queryParam)).then(e=>(this.allData=e.data.rows,e.data)),selectedRowKeys:[],selectedRows:[],queryParam:{},formLoading:!1,allData:[]}},components:{detailForm:c.noticeItem},computed:{getHeight(){return this.height},...n.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{editForm(t){this.transKey="gd.notice.detail",this.$refs.detailForm.open(t)},saveQueries(t){this.queryParam=t,this.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},mounted(){(this.$route.params.id||this.$route.query.id)&&(this.transKey="gd.notice.detail",setTimeout(()=>{this.allData.forEach(t=>{(t.id==this.$route.params.id||t.id==this.$route.query.id)&&this.$refs.detailForm.open(t)})},1e3))}};var p=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-page-view"},[i("div",{staticClass:"page-view-list"},[i("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[i("div",{staticClass:"gd-table-operator"},[i("div",{staticClass:"gd-table-operatorl"},[i("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.notice.title","\u6807\u9898"),clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.SearchValue,callback:function(a){e.$set(e.queryParam,"SearchValue",a)},expression:"queryParam.SearchValue"}}),i("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[i("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0},{key:"title",fn:function({column:a,row:r}){return[i("gd-tooltip",{attrs:{rowKey:"title",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"type",fn:function(a){return[i("el-tag",{style:e._f("dictColor")("notice_type",a.row.type),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_type",a.row.type))+" ")])]}},{key:"status",fn:function(a){return[i("el-tag",{style:e._f("dictColor")("notice_status",a.row.status),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_status",a.row.status))+" ")])]}},{key:"filtering",fn:function({colse:a,visible:r}){return[i("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:a,visible:r},on:{save:e.saveQueries}})]}}])})],1),i("detailForm",{ref:"detailForm"})],1)},y=[],f=n.normalizeComponent(d,p,y,!1,null,"b4bdcf86",null,null);const s=f.exports;s.install=function(t){t.component(s.name,s)};exports.GDpackage=s;
@@ -1,19 +1,6 @@
1
- import { m as l, n as o } from "./chartbi.eb4dd0af.mjs";
2
- import { t as c } from "./messages.5bcc42f9.mjs";
3
- function d(t) {
4
- return window.axios({
5
- url: "/sysOnlineUser/page",
6
- method: "get",
7
- params: t
8
- });
9
- }
10
- function u(t) {
11
- return window.axios({
12
- url: "/sysOnlineUser/forceExist",
13
- method: "post",
14
- data: t
15
- });
16
- }
1
+ import { m as i, n as o } from "./components.chartbi.b043dcdc.mjs";
2
+ import { s as c, a as d } from "./http.onlineusermanage.c8d84337.mjs";
3
+ import { t as u } from "./utils.mixins.js.be01e599.mjs";
17
4
  const g = {
18
5
  data() {
19
6
  return {
@@ -91,21 +78,21 @@ const p = {
91
78
  default: 100
92
79
  }
93
80
  },
94
- mixins: [c, g],
81
+ mixins: [u, g],
95
82
  data() {
96
83
  return {
97
84
  selectedRowKeys: [],
98
85
  selectedRows: [],
99
86
  queryParam: {},
100
87
  isShow: !1,
101
- loadData: (t) => d(Object.assign(t, this.queryParam)).then((e) => e.data)
88
+ loadData: (t) => c(Object.assign(t, this.queryParam)).then((e) => e.data)
102
89
  };
103
90
  },
104
91
  computed: {
105
92
  getHeight() {
106
93
  return this.height;
107
94
  },
108
- ...l(["tablePageSize", "tableSize", "labelPosition", "formMode"])
95
+ ...i(["tablePageSize", "tableSize", "labelPosition", "formMode"])
109
96
  },
110
97
  methods: {
111
98
  onSelectChange(t, e) {
@@ -146,7 +133,7 @@ const p = {
146
133
  a();
147
134
  else
148
135
  return new Promise((r, y) => {
149
- u().then((n) => {
136
+ d().then((n) => {
150
137
  n.success ? (t.$message.success(t.$i18nt("gd.https.operateSucc")), t.$refs.table.refresh(!0)) : t.$message.error(t.$i18nt("gd.https.operateFail") + n.message), r(), a();
151
138
  }).catch((n) => {
152
139
  t.$message.error(t.$i18nt("gd.error.error") + n.message);
@@ -182,10 +169,10 @@ var h = function() {
182
169
  null,
183
170
  null
184
171
  );
185
- const i = m.exports;
186
- i.install = function(t) {
187
- t.component(i.name, i);
172
+ const l = m.exports;
173
+ l.install = function(t) {
174
+ t.component(l.name, l);
188
175
  };
189
176
  export {
190
- i as G
177
+ l as G
191
178
  };
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./components.chartbi.e4680eaa.js"),l=require("./http.onlineusermanage.3893f897.js"),c=require("./utils.mixins.js.750ca50e.js"),u={data(){return{tableColumns:[{transKey:"gd.onlineUser.account",prop:"account",width:"200",label:"\u8D26\u53F7",align:"left",fixed:!0},{transKey:"gd.onlineUser.name",prop:"name",width:"200",label:"\u59D3\u540D",align:"left"},{transKey:"gd.onlineUser.lastLoginIp",prop:"lastloginip",width:"160",label:"\u767B\u5F55IP",align:"left"},{transKey:"gd.onlineUser.lastTime",prop:"lasttime",width:"180",label:"\u767B\u5F55\u65F6\u95F4",align:"center"},{transKey:"gd.onlineUser.lastLoginBrowser",prop:"lastloginbrowser",width:"200",label:"\u6D4F\u89C8\u5668",align:"left"},{transKey:"gd.onlineUser.lastLoginOs",prop:"lastloginos",width:"160",label:"\u64CD\u4F5C\u7CFB\u7EDF",align:"left"}],tableButtons:[{displayName:"\u5F3A\u5236\u4E0B\u7EBF",functionName:"forceExist",show:!0,transKey:"gd.onlineUser.forceExist",icon:"el-icon-delete",btnType:"danger",name:"sysOnlineUser:forceExist"}],tableQueries:[{transKey:"gd.onlineUser.keywordTip",effectType:"input",prop:"code",label:"\u5173\u952E\u8BCD",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.keywordTip",rules:[]}]}}};const d={name:"GdOnlineUser",props:{height:{type:Number,default:100}},mixins:[c.tablesFilter,u],data(){return{selectedRowKeys:[],selectedRows:[],queryParam:{},isShow:!1,loadData:t=>l.sysOnlineUserPage(Object.assign(t,this.queryParam)).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRows=e,this.selectedRowKeys=t},refresh(){this.$refs.table.refresh()},saveQueries(t){this.queryParam={...t},this.refresh()},forceExist(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}t.$confirm(t.$i18nt("gd.onlineUser.forceExistTip","\u662F\u5426\u5F3A\u5236\u4E0B\u7EBF\u8BE5\u7528\u6237?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.onlineUser.forceExist","\u5F3A\u5236\u4E0B\u7EBF"),cancelButtonText:t.$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:(e,s,n)=>{if(e!=="confirm")n();else return new Promise((i,f)=>{l.sysOnlineUserForceExist().then(a=>{a.success?(t.$message.success(t.$i18nt("gd.https.operateSucc")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+a.message),i(),n()}).catch(a=>{t.$message.error(t.$i18nt("gd.error.error")+a.message)})}).catch(()=>console.log("Oops errors!"))}})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var g=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"270px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.onlineUser.keywordTip","\u8BF7\u8F93\u5165\u8D26\u53F7\u6216\u59D3\u540D"),clearable:""},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(n){e.$set(e.queryParam,"searchValue",n)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},e.isShow?{key:"filtering",fn:function({colse:n,visible:i}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:n,visible:i},on:{save:e.saveQueries}})]}}:null],null,!0)})],1)])},p=[],h=o.normalizeComponent(d,g,p,!1,null,null,null,null);const r=h.exports;r.install=function(t){t.component(r.name,r)};exports.GDpackage=r;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./http.orgmanage.5162fd7a.js"),d=require("./components.chartbi.e4680eaa.js"),c=require("./utils.mixins.js.750ca50e.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.org.displayName",prop:"name",label:"\u673A\u6784\u540D\u79F0",minWidth:"260",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.type",prop:"orgType",label:"\u673A\u6784\u7C7B\u578B",minWidth:"220",type:"slot",slotType:"orgType",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",width:"200",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"120",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",minWidth:"300",type:"slot",slotType:"remark",label:"\u5907\u6CE8",align:"left"}],formColumns:[{transKey:"gd.org.type",effectType:"radio",prop:"orgtype",label:"\u673A\u6784\u7C7B\u578B",placeholder:"\u8BF7\u9009\u62E9",placeholderTransKey:"gd.placeholder.select",dictTypeCode:"org_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}]},{transKey:"gd.org.displayName",effectType:"input",prop:"name",label:"\u673A\u6784\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.org.code",prop:"code",effectType:"input",label:"\u552F\u4E00\u7F16\u7801",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.org.parentBody",prop:"pid",effectType:"selectTree",label:"\u4E0A\u7EA7\u673A\u6784",placeholder:"\u8BF7\u9009\u62E9",placeholderTransKey:"gd.placeholder.select",treeOptions:[],rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}]},{transKey:"gd.org.sort",prop:"sort",effectType:"inputnumber",label:"\u6392\u5E8F",defaultValue:100,placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change",type:"number"}]},{transKey:"gd.org.remark",effectType:"textarea",prop:"remark",label:"\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysOrg:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysOrg:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysOrg:delete"}],formButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.org.displayName",prop:"name",label:"\u673A\u6784\u540D\u79F0",effectType:"input",rules:[]}]}}};const g={name:"GdOrg",props:{height:{type:Number,default:100}},mixins:[c.tablesFilter,u],data(){return{transKey:"gd.btn.add",formLoading:!1,currentNode:null,loading:!0,orgTree:[],selectedRowKeys:[],selectedRows:[],queryParam:{},defaultProps:{children:"children",label:"title",value:"value"},defaultExpandedKeys:"",loadData:t=>l.getOrgPage(Object.assign(t,this.queryParam)).then(e=>e.data),isFilterWithValue:!0}},computed:{getFormColumns(){let t=[{id:"-1",parentId:"0",title:this.$i18nt("gd.org.topLevel","\u9876\u7EA7"),value:"0",pid:"0",children:[...this.orgTree]}];return this.formColumns.filter(r=>(r.prop==="pid"&&(r.treeOptions=[...t]),!0))},getHeight(){return this.height},styled(){return`height:${this.height+76}px`},...d.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},editForm(t){this.transKey="gd.btn.edit",this.$refs.editForm.open(Object.assign({...t},{pid:String(t.pid)}))},getOrgTree(){l.getOrgTree({}).then(t=>{if(t.code===200){const e=r=>(r=r.filter((s,a)=>(s.value=String(s.value),s.children&&s.children.length>0&&(s.children=e(s.children)),!0)),r);this.orgTree=e(t.data)}this.loading=!1})},handleNodeClick(t){this.queryParam.pid===t.id?(delete this.queryParam.pid,this.$nextTick(()=>{setTimeout(()=>{this.$refs.tree.setCurrentKey(null)},0)})):this.queryParam=Object.assign({...this.queryParam},{pid:t.id}),this.$refs.table.refresh(!0)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),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:(t,e,r)=>{this.delHand(t,e,r)}})},delHand(t,e,r){if(t!=="confirm"){r();return}let s=[];this.selectedRows.forEach(a=>{let n=l.sysOrgDelete(a).then(i=>i);s.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(s).then(a=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,r(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0;const n=a.filter(i=>!i.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),this.handleOk()})},add(){this.transKey="gd.btn.add",this.$refs.editForm.open(null)},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},sbumit({data:t,record:e,btn:r},s,a){this.formLoading=!0,(e?l.sysOrgEdit:l.sysOrgAdd)(t).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),this.handleOk()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.formLoading=!1})},handleOk(){this.getOrgTree(),this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},created(){this.getOrgTree()}};var p=function(){var e=this,r=e._self._c;return r("div",{staticClass:"gd-page-view",staticStyle:{display:"flex",background:"rgb(245, 245, 245)"}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"page-view-tree",style:e.styled},[r("el-tree",{ref:"tree",attrs:{data:e.orgTree,props:e.defaultProps,"node-key":"id","current-node-key":e.defaultExpandedKeys,"default-expand-all":"","highlight-current":"","expand-on-click-node":!1},on:{"node-click":e.handleNodeClick}})],1),r("div",{staticClass:"page-view-list"},[r("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:s,row:a}){return[r("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"orgType",fn:function(s){return[r("el-tag",{style:e._f("dictColor")("org_type",s.row.orgtype),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("org_type",s.row.orgtype))+" ")])]}},{key:"remark",fn:function({column:s,row:a}){return[r("gd-tooltip",{attrs:{rowKey:"remark",row:a}})]}},{key:"operator",fn:function(){return[r("div",{staticClass:"gd-table-operator"},[r("div",{staticClass:"gd-table-operatorl"},[r("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.org.displayName","\u673A\u6784\u540D\u79F0"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.name,callback:function(s){e.$set(e.queryParam,"name",s)},expression:"queryParam.name"}}),r("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[r("i",{staticClass:"el-input__icon el-icon-search"})])],1),r("div",{staticClass:"gd-table-operatorr"},[r("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:a}){return[r("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.height,queryParam:e.queryParam,colse:s,visible:a},on:{save:e.saveQueries}})]}}])})],1),r("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",loading:e.formLoading,transKey:e.transKey,buttons:e.formButtons,columns:e.getFormColumns,labelPosition:e.labelPosition,formMode:e.formMode},on:{sbumit:e.sbumit}})],1)},h=[],f=d.normalizeComponent(g,p,h,!1,null,"1dfd3a31",null,null);const o=f.exports;o.install=function(t){t.component(o.name,o)};exports.GDpackage=o;
@@ -1,6 +1,6 @@
1
- import { g as o, a as d, s as g, b as u, c } from "./system.notice.dba4c597.mjs";
2
- import { m as p, n as h } from "./chartbi.eb4dd0af.mjs";
3
- import { t as f } from "./messages.5bcc42f9.mjs";
1
+ import { g as o, a as d, s as g, b as u, c } from "./http.orgmanage.84e43edb.mjs";
2
+ import { m as p, n as h } from "./components.chartbi.b043dcdc.mjs";
3
+ import { t as f } from "./utils.mixins.js.be01e599.mjs";
4
4
  const m = {
5
5
  data() {
6
6
  return {
@@ -0,0 +1,9 @@
1
+ "use strict";const http_usermanage=require("./http.usermanage.6dcbc7de.js"),components_form=require("./components.form.91d5ed3e.js"),http_main=require("./http.main.2f8a6936.js"),components_chartbi=require("./components.chartbi.e4680eaa.js");var md5={exports:{}};/**
2
+ * [js-md5]{@link https://github.com/emn178/js-md5}
3
+ *
4
+ * @namespace md5
5
+ * @version 0.7.3
6
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
7
+ * @copyright Chen, Yi-Cyuan 2014-2017
8
+ * @license MIT
9
+ */(function(module){(function(){var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=components_form.commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&!0&&module.exports,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}(root.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return typeof t=="object"&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(r){return new Md5(!0).update(r)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var r=0;r<OUTPUT_TYPES.length;++r){var s=OUTPUT_TYPES[r];t[s]=createOutputMethod(s)}return t},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(t){if(typeof t=="string")return crypto.createHash("md5").update(t,"utf8").digest("hex");if(t==null)throw ERROR;return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash("md5").update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod};function Md5(t){if(t)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var r=new ArrayBuffer(68);this.buffer8=new Uint8Array(r),this.blocks=new Uint32Array(r)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(t){if(!this.finalized){var r,s=typeof t;if(s!=="string"){if(s==="object"){if(t===null)throw ERROR;if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw ERROR}else throw ERROR;r=!0}for(var e,o=0,a,i=t.length,n=this.blocks,h=this.buffer8;o<i;){if(this.hashed&&(this.hashed=!1,n[0]=n[16],n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0),r)if(ARRAY_BUFFER)for(a=this.start;o<i&&a<64;++o)h[a++]=t[o];else for(a=this.start;o<i&&a<64;++o)n[a>>2]|=t[o]<<SHIFT[a++&3];else if(ARRAY_BUFFER)for(a=this.start;o<i&&a<64;++o)e=t.charCodeAt(o),e<128?h[a++]=e:e<2048?(h[a++]=192|e>>6,h[a++]=128|e&63):e<55296||e>=57344?(h[a++]=224|e>>12,h[a++]=128|e>>6&63,h[a++]=128|e&63):(e=65536+((e&1023)<<10|t.charCodeAt(++o)&1023),h[a++]=240|e>>18,h[a++]=128|e>>12&63,h[a++]=128|e>>6&63,h[a++]=128|e&63);else for(a=this.start;o<i&&a<64;++o)e=t.charCodeAt(o),e<128?n[a>>2]|=e<<SHIFT[a++&3]:e<2048?(n[a>>2]|=(192|e>>6)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]):e<55296||e>=57344?(n[a>>2]|=(224|e>>12)<<SHIFT[a++&3],n[a>>2]|=(128|e>>6&63)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]):(e=65536+((e&1023)<<10|t.charCodeAt(++o)&1023),n[a>>2]|=(240|e>>18)<<SHIFT[a++&3],n[a>>2]|=(128|e>>12&63)<<SHIFT[a++&3],n[a>>2]|=(128|e>>6&63)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex;t[r>>2]|=EXTRA[r&3],r>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,r,s,e,o,a,i=this.blocks;this.first?(t=i[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,e=(-1732584194^t&2004318071)+i[1]-117830708,e=(e<<12|e>>>20)+t<<0,s=(-271733879^e&(t^-271733879))+i[2]-1126478375,s=(s<<17|s>>>15)+e<<0,r=(t^s&(e^t))+i[3]-1316259209,r=(r<<22|r>>>10)+s<<0):(t=this.h0,r=this.h1,s=this.h2,e=this.h3,t+=(e^r&(s^e))+i[0]-680876936,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[1]-389564586,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[2]+606105819,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[3]-1044525330,r=(r<<22|r>>>10)+s<<0),t+=(e^r&(s^e))+i[4]-176418897,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[5]+1200080426,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[6]-1473231341,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[7]-45705983,r=(r<<22|r>>>10)+s<<0,t+=(e^r&(s^e))+i[8]+1770035416,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[9]-1958414417,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[10]-42063,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[11]-1990404162,r=(r<<22|r>>>10)+s<<0,t+=(e^r&(s^e))+i[12]+1804603682,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[13]-40341101,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[14]-1502002290,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[15]+1236535329,r=(r<<22|r>>>10)+s<<0,t+=(s^e&(r^s))+i[1]-165796510,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[6]-1069501632,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[11]+643717713,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[0]-373897302,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[5]-701558691,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[10]+38016083,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[15]-660478335,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[4]-405537848,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[9]+568446438,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[14]-1019803690,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[3]-187363961,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[8]+1163531501,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[13]-1444681467,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[2]-51403784,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[7]+1735328473,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[12]-1926607734,r=(r<<20|r>>>12)+s<<0,o=r^s,t+=(o^e)+i[5]-378558,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[8]-2022574463,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[11]+1839030562,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[14]-35309556,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[1]-1530992060,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[4]+1272893353,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[7]-155497632,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[10]-1094730640,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[13]+681279174,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[0]-358537222,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[3]-722521979,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[6]+76029189,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[9]-640364487,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[12]-421815835,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[15]+530742520,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[2]-995338651,r=(r<<23|r>>>9)+s<<0,t+=(s^(r|~e))+i[0]-198630844,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[7]+1126891415,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[14]-1416354905,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[5]-57434055,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[12]+1700485571,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[3]-1894986606,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[10]-1051523,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[1]-2054922799,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[8]+1873313359,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[15]-30611744,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[6]-1560198380,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[13]+1309151649,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[4]-145523070,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[11]-1120210379,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[2]+718787259,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[9]-343485551,r=(r<<21|r>>>11)+s<<0,this.first?(this.h0=t+1732584193<<0,this.h1=r-271733879<<0,this.h2=s-1732584194<<0,this.h3=e+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+r<<0,this.h2=this.h2+s<<0,this.h3=this.h3+e<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,r=this.h1,s=this.h2,e=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[t&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[s&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[e&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,r=this.h1,s=this.h2,e=this.h3;return[t&255,t>>8&255,t>>16&255,t>>24&255,r&255,r>>8&255,r>>16&255,r>>24&255,s&255,s>>8&255,s>>16&255,s>>24&255,e&255,e>>8&255,e>>16&255,e>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),r=new Uint32Array(t);return r[0]=this.h0,r[1]=this.h1,r[2]=this.h2,r[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,r,s,e="",o=this.array(),a=0;a<15;)t=o[a++],r=o[a++],s=o[a++],e+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[(t<<4|r>>>4)&63]+BASE64_ENCODE_CHAR[(r<<2|s>>>6)&63]+BASE64_ENCODE_CHAR[s&63];return t=o[a],e+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",e};var exports=createMethod();COMMON_JS?module.exports=exports:root.md5=exports})()})(md5);const main_vue_vue_type_style_index_0_scoped_f9f91d81_lang="",_sfc_main={name:"GdUserPermissions",props:{height:{type:Number,default:100}},data(){return{searcLoading:!1,loading:!1,userId:"",userList:[],fkEntityName:"sys_user"}},computed:{styled(){return`height:${this.height+76}px`}},methods:{query(){},searchData(t){this.searcLoading=!0,http_main.baseFkList({name:t,fkEntityName:this.fkEntityName}).then(r=>{r.code===200&&(this.userList=r.data),this.searcLoading=!1})},change(t){t!==""&&this.getUseRole()},getUseRole(){this.loading=!0,http_usermanage.sysUserOwnRole({id:this.userId}).then(t=>{this.loading=!1,t.code===200&&(this.userList=t.data)})}},created(){this.searchData("")}};var _sfc_render=function t(){var r=this,s=r._self._c;return s("div",{staticClass:"gd-page-view",staticStyle:{display:"flex",background:"rgb(245, 245, 245)"}},[s("div",{staticClass:"page-view-trees",style:r.styled},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:r.loading,expression:"loading"}],staticClass:"trees-operatorl"},[s("el-select",{staticClass:"treesr-input",attrs:{placeholder:r.$i18nt("gd.teamSharing.name","\u89D2\u8272\u540D"),clearable:"",filterable:"",loading:r.searcLoading,"remote-method":r.searchData,clearable:"",remote:""},on:{change:r.change},model:{value:r.userId,callback:function(e){r.userId=e},expression:"userId"}},r._l(r.userList,function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),s("div",{staticClass:"treesr-search",on:{click:r.query}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"trees-list"})]),s("div",{directives:[{name:"loading",rawName:"v-loading",value:r.loading,expression:"loading"}],staticClass:"page-view-list"})])},_sfc_staticRenderFns=[],__component__=components_chartbi.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,!1,null,"f9f91d81",null,null);const GDpackage=__component__.exports;GDpackage.install=function(t){t.component(GDpackage.name,GDpackage)};exports.GDpackage=GDpackage;
@@ -1,6 +1,7 @@
1
- import { c as commonjsGlobal, a as sysUserOwnRole } from "./system.account.d6c7485b.mjs";
2
- import { f as baseFkList } from "./messages.5bcc42f9.mjs";
3
- import { n as normalizeComponent } from "./chartbi.eb4dd0af.mjs";
1
+ import { h as sysUserOwnRole } from "./http.usermanage.3e5eff33.mjs";
2
+ import { c as commonjsGlobal } from "./components.form.3344c817.mjs";
3
+ import { a as baseFkList } from "./http.main.40657f51.mjs";
4
+ import { n as normalizeComponent } from "./components.chartbi.b043dcdc.mjs";
4
5
  var md5 = { exports: {} };
5
6
  /**
6
7
  * [js-md5]{@link https://github.com/emn178/js-md5}
@@ -1,76 +1,7 @@
1
- import { m as n, n as r } from "./chartbi.eb4dd0af.mjs";
2
- import { t as u } from "./messages.5bcc42f9.mjs";
3
- function c(s) {
4
- return window.axios({
5
- url: "/SysPlugin/page",
6
- method: "post",
7
- data: s
8
- });
9
- }
10
- function g(s) {
11
- return window.axios({
12
- url: "/SysPlugin/add",
13
- method: "post",
14
- data: s
15
- });
16
- }
17
- function m(s) {
18
- return window.axios({
19
- url: "/SysPlugin/edit",
20
- method: "post",
21
- data: s
22
- });
23
- }
24
- function h(s) {
25
- return window.axios({
26
- url: "/SysPlugin/delete",
27
- method: "post",
28
- data: s
29
- });
30
- }
31
- function p(s) {
32
- return window.axios({
33
- url: "/SysPluginStep/page",
34
- method: "post",
35
- data: s
36
- });
37
- }
38
- function f(s) {
39
- return window.axios({
40
- url: "/SysPluginStep/add",
41
- method: "post",
42
- data: s
43
- });
44
- }
45
- function y(s) {
46
- return window.axios({
47
- url: "/SysPluginStep/edit",
48
- method: "post",
49
- data: s
50
- });
51
- }
52
- function b(s) {
53
- return window.axios({
54
- url: "/SysPluginStep/changeStatus",
55
- method: "post",
56
- data: s
57
- });
58
- }
59
- function v(s) {
60
- return window.axios({
61
- url: "/SysPluginStep/delete",
62
- method: "post",
63
- data: s
64
- });
65
- }
66
- function w(s) {
67
- return window.axios({
68
- url: "/SysPluginStep/getNameSpacesDetails",
69
- method: "post",
70
- data: s
71
- });
72
- }
73
- const $ = {
1
+ import { m as n, n as r } from "./components.chartbi.b043dcdc.mjs";
2
+ import { a as u, b as g, c as m, d as h, e as p, f, g as y, h as b, s as v, i as $ } from "./http.pluginmanage.6bc6197f.mjs";
3
+ import { t as c } from "./utils.mixins.js.be01e599.mjs";
4
+ const w = {
74
5
  data() {
75
6
  return {
76
7
  tableColumns: [{
@@ -247,7 +178,7 @@ const $ = {
247
178
  return this.$message.error(this.$i18nt("gd.web.selectFileTip")), this.confirmLoading = !1, !1;
248
179
  {
249
180
  let t = new FormData();
250
- t.append("file", e[0]), t.append("name", s.name), g(t).then((a) => {
181
+ t.append("file", e[0]), t.append("name", s.name), u(t).then((a) => {
251
182
  a.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.handleCancel(), this.$emit("ok", s)) : this.$message.error(this.$i18nt("gd.https.addFail") + a.message), this.confirmLoading = !1;
252
183
  }).finally((a) => {
253
184
  this.confirmLoading = !1;
@@ -257,7 +188,7 @@ const $ = {
257
188
  edit(s) {
258
189
  this.confirmLoading = !0;
259
190
  let { fileList: e } = this, t = new FormData();
260
- t.append("file", e[0]), t.append("description", s.description), t.append("id", s.id), m(t).then((a) => {
191
+ t.append("file", e[0]), t.append("description", s.description), t.append("id", s.id), g(t).then((a) => {
261
192
  a.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.handleCancel(), this.$emit("ok", s)) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + a.message), this.confirmLoading = !1;
262
193
  }).finally((a) => {
263
194
  this.confirmLoading = !1;
@@ -298,17 +229,17 @@ var _ = function() {
298
229
  }, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
299
230
  e.$set(e.ruleFormData, "description", a);
300
231
  }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1);
301
- }, S = [], D = /* @__PURE__ */ r(
232
+ }, D = [], k = /* @__PURE__ */ r(
302
233
  F,
303
234
  _,
304
- S,
235
+ D,
305
236
  !1,
306
237
  null,
307
238
  null,
308
239
  null,
309
240
  null
310
241
  );
311
- const k = D.exports, x = {
242
+ const S = k.exports, x = {
312
243
  data() {
313
244
  return {
314
245
  visible: !1,
@@ -432,7 +363,7 @@ const k = D.exports, x = {
432
363
  this.entityNameId = s;
433
364
  },
434
365
  getEventhandler(s) {
435
- w({
366
+ m({
436
367
  pluginId: s
437
368
  }).then((t) => {
438
369
  t.success ? this.sdkEventHandler = t.data : this.$message.error(this.$i18nt("Locals.common.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
@@ -451,7 +382,7 @@ const k = D.exports, x = {
451
382
  this.ruleFormData.name = e + this.entityNameId + t, this.ruleFormData.sdkmessage = String(this.sdkmessageId), this.ruleFormData.entityName = this.entityNameId;
452
383
  } else
453
384
  this.ruleFormData.name = this.eventName;
454
- (this.type == "edit" ? y : f)(this.ruleFormData).then((i) => {
385
+ (this.type == "edit" ? h : p)(this.ruleFormData).then((i) => {
455
386
  if (i.success) {
456
387
  let l = this.type == "edit" ? this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F") : this.$i18nt("Locals.common.https.addSucc", "\u65B0\u589E\u6210\u529F");
457
388
  this.$message.success(l), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", this.ruleFormData), this.$refs.ruleForm.resetFields();
@@ -478,7 +409,7 @@ const k = D.exports, x = {
478
409
  }
479
410
  }
480
411
  };
481
- var P = function() {
412
+ var C = function() {
482
413
  var e = this, t = e._self._c;
483
414
  return t("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, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
484
415
  e.visible = a;
@@ -519,10 +450,10 @@ var P = function() {
519
450
  }, expression: "ruleFormData.securityString" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
520
451
  e.$set(e.ruleFormData, "description", a);
521
452
  }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1);
522
- }, C = [], T = /* @__PURE__ */ r(
453
+ }, P = [], T = /* @__PURE__ */ r(
523
454
  x,
524
- P,
525
455
  C,
456
+ P,
526
457
  !1,
527
458
  null,
528
459
  null,
@@ -651,7 +582,7 @@ const K = {
651
582
  default: 400
652
583
  }
653
584
  },
654
- mixins: [u, L],
585
+ mixins: [c, L],
655
586
  components: {
656
587
  editForm: N
657
588
  },
@@ -663,7 +594,7 @@ const K = {
663
594
  typeId: [],
664
595
  id: [],
665
596
  name: "",
666
- loadData: (s) => (this.queryParam.typeId = this.id, p(Object.assign(s, this.queryParam)).then((e) => e.data)),
597
+ loadData: (s) => (this.queryParam.typeId = this.id, f(Object.assign(s, this.queryParam)).then((e) => e.data)),
667
598
  selectedRowKeys: [],
668
599
  selectedRows: [],
669
600
  fullscreen: !1,
@@ -715,7 +646,7 @@ const K = {
715
646
  this.queryParam = {}, this.visible = !1;
716
647
  },
717
648
  editSysDictDataStatus(s, e) {
718
- b({
649
+ y({
719
650
  id: e.id,
720
651
  stateCodes: s == 0 ? 1 : 0
721
652
  }).then((t) => {
@@ -723,7 +654,7 @@ const K = {
723
654
  });
724
655
  },
725
656
  sysDataDelete(s) {
726
- v(s).then((e) => {
657
+ b(s).then((e) => {
727
658
  e.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
728
659
  }).catch((e) => {
729
660
  this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
@@ -806,16 +737,16 @@ const B = {
806
737
  default: 100
807
738
  }
808
739
  },
809
- mixins: [u, $],
740
+ mixins: [c, w],
810
741
  data() {
811
742
  return {
812
743
  selectedRowKeys: [],
813
- loadData: (s) => c(Object.assign(s, this.queryParam)).then((e) => e.data),
744
+ loadData: (s) => v(Object.assign(s, this.queryParam)).then((e) => e.data),
814
745
  queryParam: {}
815
746
  };
816
747
  },
817
748
  components: {
818
- editForm: k,
749
+ editForm: S,
819
750
  dataIndex: R
820
751
  },
821
752
  computed: {
@@ -878,7 +809,7 @@ const B = {
878
809
  }
879
810
  let a = [];
880
811
  this.selectedRows.forEach((i) => {
881
- let l = h(i).then((o) => o);
812
+ let l = $(i).then((o) => o);
882
813
  a.push(l);
883
814
  }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
884
815
  t();
@@ -941,6 +872,5 @@ d.install = function(s) {
941
872
  s.component(d.name, d);
942
873
  };
943
874
  export {
944
- d as G,
945
- c as s
875
+ d as G
946
876
  };