gds-plus-design-vue 1.2.62 → 1.2.71

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 (411) hide show
  1. package/lib/addPermission.179a09f4.mjs +443 -0
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/approvalModel.7b550187.mjs +340 -0
  4. package/lib/approvalModel.7cfcac3c.js +1 -0
  5. package/lib/attribute.3fed1dd9.js +1 -0
  6. package/lib/attribute.e9a8faa1.mjs +367 -0
  7. package/lib/businessRules.cf106f09.js +1 -0
  8. package/lib/businessRules.d7d35011.mjs +539 -0
  9. package/lib/buttonRule.2afe380d.mjs +396 -0
  10. package/lib/buttonRule.737e8e3f.js +1 -0
  11. package/lib/chartDisplayRules.370065e8.mjs +288 -0
  12. package/lib/chartDisplayRules.c9162f81.js +1 -0
  13. package/lib/components.chartbi.3bbac955.js +8 -0
  14. package/lib/components.chartbi.571c5ff5.mjs +1813 -0
  15. package/lib/components.coloreditor.06cf0433.mjs +1505 -0
  16. package/lib/components.coloreditor.f81d322a.js +6 -0
  17. package/lib/components.dataassign.21d3938b.mjs +147 -0
  18. package/lib/components.dataassign.565d22c0.js +1 -0
  19. package/lib/components.echarts.490abdfa.mjs +811 -0
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/components.exception.374f2ad9.js +1 -0
  22. package/lib/components.exception.ee1c4f83.mjs +61 -0
  23. package/lib/components.form.5533a8c3.js +41 -0
  24. package/lib/components.form.db8af727.mjs +7813 -0
  25. package/lib/components.globalheader.2eb787a4.js +1 -0
  26. package/lib/components.globalheader.b3b35343.mjs +54 -0
  27. package/lib/components.iconselector.8940b1a9.mjs +1169 -0
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/components.imgpreview.d97cf25c.js +1 -0
  30. package/lib/components.imgpreview.f05b3e06.mjs +213 -0
  31. package/lib/components.lunccalendar.18f84642.js +1 -0
  32. package/lib/components.lunccalendar.2a097955.mjs +1137 -0
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/components.middleware.de012955.mjs +148 -0
  35. package/lib/components.modaltitle.5060623f.mjs +127 -0
  36. package/lib/components.modaltitle.957cab33.js +1 -0
  37. package/lib/components.multitab.5eb6edff.mjs +140 -0
  38. package/lib/components.multitab.80eeb3ae.js +1 -0
  39. package/lib/components.selecttree.2fe70d88.js +1 -0
  40. package/lib/components.selecttree.756c4d22.mjs +170 -0
  41. package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
  42. package/lib/components.settingdrawer.8c12650b.js +1 -0
  43. package/lib/components.sidemenu.0673fe0a.mjs +277 -0
  44. package/lib/components.sidemenu.240dfde7.js +1 -0
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
  47. package/lib/components.statuschange.858b72e8.js +1 -0
  48. package/lib/components.statuschange.fae4adba.mjs +116 -0
  49. package/lib/components.table.1e338902.js +8 -0
  50. package/lib/components.table.9ed77207.mjs +4650 -0
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
  53. package/lib/components.tablevirtual.66890b2c.mjs +564 -0
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
  56. package/lib/components.teamsharing.89e668fd.js +1 -0
  57. package/lib/components.tooltip.0ea7e2b1.js +1 -0
  58. package/lib/components.tooltip.376d95fe.mjs +86 -0
  59. package/lib/components.uploadfile.0a5a1608.mjs +228 -0
  60. package/lib/components.uploadfile.8e0e702c.js +1 -0
  61. package/lib/components.uploadimg.bc160e00.js +1 -0
  62. package/lib/components.uploadimg.decb0360.mjs +192 -0
  63. package/lib/components.verificationcode.140533c7.js +1 -0
  64. package/lib/components.verificationcode.7091b10b.mjs +71 -0
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/components.viewformdetails.d241c652.mjs +1081 -0
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/components.viewloading.aae3aab4.mjs +99 -0
  69. package/lib/components.watermark.2ec3260c.mjs +53 -0
  70. package/lib/components.watermark.d9ec8130.js +2 -0
  71. package/lib/components.xlsxexport.0d1553b1.js +1 -0
  72. package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
  73. package/lib/components.xlsximport.81df7841.mjs +922 -0
  74. package/lib/components.xlsximport.8c209857.js +1 -0
  75. package/lib/copy.8db86d9f.mjs +572 -0
  76. package/lib/copy.a8753f38.js +1 -0
  77. package/lib/createFile.04a6b293.js +1 -0
  78. package/lib/createFile.4cac1673.mjs +439 -0
  79. package/lib/createSubfolders.e105fa86.js +1 -0
  80. package/lib/createSubfolders.eac5ccae.mjs +154 -0
  81. package/lib/dialogLayout.bf435838.mjs +138 -0
  82. package/lib/dialogLayout.f0779aed.js +1 -0
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/drawerLayout.b6c7c3c6.js +1 -0
  86. package/lib/drawerLayout.e3c0164d.mjs +119 -0
  87. package/lib/editForm.0f3fd3b0.js +1 -0
  88. package/lib/editForm.aef93ed0.mjs +434 -0
  89. package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
  90. package/lib/extendedAttributes.ef3ead02.js +1 -0
  91. package/lib/fileSearch.43465e1c.js +1 -0
  92. package/lib/fileSearch.5c8a883d.mjs +363 -0
  93. package/lib/flow.designer.81c29f62.mjs +7673 -0
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/flow.list.ab420927.mjs +3032 -0
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/form.build.d04773f0.mjs +259 -0
  99. package/lib/form.designer.build.c82cb559.mjs +2529 -0
  100. package/lib/form.designer.build.dac501fa.js +1 -0
  101. package/lib/formFiled.4b5062d7.js +1 -0
  102. package/lib/formFiled.c949a27f.mjs +507 -0
  103. package/lib/gd-initial.js +1 -35
  104. package/lib/gd-initial.mjs +245 -91338
  105. package/lib/http.appmanage.b998818f.js +1 -0
  106. package/lib/http.appmanage.e389782d.mjs +50 -0
  107. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  108. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  109. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  110. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  111. package/lib/http.currencymanage.37ab5ced.js +1 -0
  112. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  113. package/lib/http.datasource.294b01e2.js +1 -0
  114. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  115. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  116. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  117. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  118. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  119. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  120. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  121. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  122. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  123. package/lib/http.filedocument.6fdfc693.js +1 -0
  124. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  125. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  126. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  127. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  128. package/lib/http.languagemanage.e2c098ec.js +1 -0
  129. package/lib/http.loginmanage.05500c29.mjs +74 -0
  130. package/lib/http.loginmanage.326984c3.js +1 -0
  131. package/lib/http.logmanage.1e12a9bd.js +1 -0
  132. package/lib/http.logmanage.8ba72635.mjs +82 -0
  133. package/lib/http.machinemanage.29d72a65.js +1 -0
  134. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  135. package/lib/http.main.2f8a6936.js +1 -0
  136. package/lib/http.main.aefea27d.mjs +517 -0
  137. package/lib/http.menumanage.3060f4c7.mjs +66 -0
  138. package/lib/http.menumanage.6d740f2c.js +1 -0
  139. package/lib/http.message.87f319d7.js +1 -0
  140. package/lib/http.message.ceb0a1c6.mjs +178 -0
  141. package/lib/http.noticemanage.2507d094.js +1 -0
  142. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  143. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  144. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  145. package/lib/http.onlineusermanage.3893f897.js +1 -0
  146. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  147. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  148. package/lib/http.orgmanage.5162fd7a.js +1 -0
  149. package/lib/http.pluginmanage.54720675.mjs +82 -0
  150. package/lib/http.pluginmanage.6a876040.js +1 -0
  151. package/lib/http.posmanage.c0f80aec.js +1 -0
  152. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  153. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  154. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  155. package/lib/http.rolemanage.4d1101dd.js +1 -0
  156. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  157. package/lib/http.solution.b10d9197.mjs +91 -0
  158. package/lib/http.solution.c6b2634f.js +1 -0
  159. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  160. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  161. package/lib/http.sysapps.469d47f7.js +1 -0
  162. package/lib/http.sysapps.932ba43b.mjs +58 -0
  163. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  164. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  165. package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
  166. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  167. package/lib/http.team.a9c609d5.mjs +90 -0
  168. package/lib/http.team.e45400d5.js +1 -0
  169. package/lib/http.timersmanage.6e894942.js +1 -0
  170. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  171. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  172. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  173. package/lib/http.translationmanage.1f9dce46.js +1 -0
  174. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  175. package/lib/http.useraffiliation.af2013ad.js +1 -0
  176. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  177. package/lib/http.usermanage.6dcbc7de.js +1 -0
  178. package/lib/http.usermanage.f5491144.mjs +219 -0
  179. package/lib/http.webresource.1a1a768f.mjs +50 -0
  180. package/lib/http.webresource.7c01b9cd.js +1 -0
  181. package/lib/index.9deaa991.mjs +25906 -0
  182. package/lib/index.d95c407c.js +8 -0
  183. package/lib/layoutBlocks.26e1b57b.js +1 -0
  184. package/lib/layoutBlocks.31454610.mjs +413 -0
  185. package/lib/layoutItem.c1c836a1.js +1 -0
  186. package/lib/layoutItem.cf18143e.mjs +71 -0
  187. package/lib/layouts.2d06f3e9.js +2 -0
  188. package/lib/layouts.3b383d04.mjs +373 -0
  189. package/lib/main.09d48801.js +1 -0
  190. package/lib/main.28b7c398.js +1 -0
  191. package/lib/main.29e204f9.mjs +166 -0
  192. package/lib/main.33443996.mjs +231 -0
  193. package/lib/main.357c50d2.js +1 -0
  194. package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
  195. package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
  196. package/lib/main.4a38d5f8.js +1 -0
  197. package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
  198. package/lib/main.60c2a1a2.js +1 -0
  199. package/lib/main.61c9e5c6.mjs +537 -0
  200. package/lib/main.643d21a0.mjs +552 -0
  201. package/lib/main.64ddb5f6.mjs +189 -0
  202. package/lib/main.728eaf53.js +1 -0
  203. package/lib/main.892caa37.js +1 -0
  204. package/lib/main.aea9b6a8.mjs +323 -0
  205. package/lib/main.b7a5a02b.js +1 -0
  206. package/lib/main.c71e5b11.js +1 -0
  207. package/lib/main.edc0b23b.js +1 -0
  208. package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
  209. package/lib/manage.101f1aa9.js +1 -0
  210. package/lib/manage.f4000654.mjs +441 -0
  211. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  212. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  213. package/lib/messages.messagetemplate.32273e00.js +7 -0
  214. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  215. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  216. package/lib/messages.sendplan.fbac188d.js +1 -0
  217. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  218. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  219. package/lib/messages.templatelibrary.ec512390.js +2 -0
  220. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  221. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  222. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  223. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  224. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  225. package/lib/moveFile.335ebc8d.js +1 -0
  226. package/lib/moveFile.d71c0824.mjs +276 -0
  227. package/lib/page.build.376104d5.mjs +3164 -0
  228. package/lib/page.build.37b26617.js +12 -0
  229. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  230. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  231. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  232. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  233. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  234. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  235. package/lib/page.designer.operation.6179b661.js +1 -0
  236. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  237. package/lib/page.designer.page.09402332.js +1 -0
  238. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  239. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  240. package/lib/personal.echarts.b7ee86f4.js +1 -0
  241. package/lib/result.0c089066.mjs +639 -0
  242. package/lib/result.9282a717.js +1 -0
  243. package/lib/router.config.68077a12.js +1 -0
  244. package/lib/router.config.86225b11.mjs +1424 -0
  245. package/lib/solution.application.d459e382.js +1 -0
  246. package/lib/solution.application.e0d58df1.mjs +548 -0
  247. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  248. package/lib/solution.applicationmenu.ae295083.js +1 -0
  249. package/lib/solution.approvalflow.436b3502.js +1 -0
  250. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  251. package/lib/solution.dict.acbe9c55.js +1 -0
  252. package/lib/solution.dict.ef98b194.mjs +769 -0
  253. package/lib/solution.menu.5c17348f.mjs +432 -0
  254. package/lib/solution.menu.cca5e1f9.js +1 -0
  255. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  256. package/lib/solution.plugin.f9a8063f.js +1 -0
  257. package/lib/solution.processflow.2692dac6.js +1 -0
  258. package/lib/solution.processflow.c1544b05.mjs +392 -0
  259. package/lib/solution.role.b1ab40dd.mjs +456 -0
  260. package/lib/solution.role.b28c4dbe.js +1 -0
  261. package/lib/solution.webresources.0b51beba.mjs +379 -0
  262. package/lib/solution.webresources.6961cc68.js +1 -0
  263. package/lib/solution.workflow.11e49e25.js +1 -0
  264. package/lib/solution.workflow.c48545d1.mjs +395 -0
  265. package/lib/store.config.03dd7b19.mjs +547 -0
  266. package/lib/store.config.556bd56b.js +1 -0
  267. package/lib/style.css +3 -3
  268. package/lib/system.account.1cadbf03.mjs +2093 -0
  269. package/lib/system.account.5cc9fe8d.js +216 -0
  270. package/lib/system.config.a0b94e40.js +1 -0
  271. package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
  272. package/lib/system.datasource.6c30ce25.js +1 -0
  273. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
  274. package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
  275. package/lib/system.dict.6b000092.js +1 -0
  276. package/lib/system.document.f67c2994.mjs +667 -0
  277. package/lib/system.document.f8fd7af0.js +1 -0
  278. package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
  279. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  280. package/lib/system.email.11ab6f31.js +1 -0
  281. package/lib/system.email.13823361.mjs +133 -0
  282. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  283. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
  284. package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
  285. package/lib/system.file.b9f8320c.js +1 -0
  286. package/lib/system.log.470d3efd.js +1 -0
  287. package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
  288. package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
  289. package/lib/system.machine.f8aff893.js +1 -0
  290. package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
  291. package/lib/system.notice.db26f308.js +1 -0
  292. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
  293. package/lib/system.noticereceived.84b88b9a.js +1 -0
  294. package/lib/system.onlineuser.985621a6.js +1 -0
  295. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
  296. package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
  297. package/lib/system.org.9f87a010.js +1 -0
  298. package/lib/system.permissions.15e6b8b7.js +1 -0
  299. package/lib/system.permissions.be9238ee.mjs +972 -0
  300. package/lib/system.plugin.0bccfec4.js +1 -0
  301. package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
  302. package/lib/system.pos.61e58a92.js +1 -0
  303. package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
  304. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
  305. package/lib/system.promptmanagement.e750de82.js +1 -0
  306. package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
  307. package/lib/system.role.e86b60f1.js +1 -0
  308. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
  309. package/lib/system.sumberrules.810f7b55.js +1 -0
  310. package/lib/system.team.58ee701b.js +1 -0
  311. package/lib/system.team.8911fd95.mjs +452 -0
  312. package/lib/system.teammembers.1880f962.js +1 -0
  313. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
  314. package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
  315. package/lib/system.timers.9e956553.js +38 -0
  316. package/lib/system.translation.26b6bb39.js +1 -0
  317. package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
  318. package/lib/system.user.134a3988.js +14 -0
  319. package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
  320. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
  321. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  322. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
  323. package/lib/system.webresource.e92e8a8f.js +1 -0
  324. package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
  325. package/lib/system.welcome.ff0c85e2.js +1 -0
  326. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  327. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  328. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  329. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  330. package/lib/tableDescriptions.a4196776.mjs +80 -0
  331. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  332. package/lib/tcheckboxs.7ea99d35.js +1 -0
  333. package/lib/tcheckboxs.999b7c2e.mjs +52 -0
  334. package/lib/tcurrency.4afb9192.mjs +85 -0
  335. package/lib/tcurrency.8a2361f2.js +1 -0
  336. package/lib/tdatepicker.606214fa.mjs +52 -0
  337. package/lib/tdatepicker.8e94a60c.js +1 -0
  338. package/lib/tdictSwitch.ccbdd153.js +1 -0
  339. package/lib/tdictSwitch.e016d4cf.mjs +60 -0
  340. package/lib/tfile.3f39223d.mjs +62 -0
  341. package/lib/tfile.b3ebdc71.js +1 -0
  342. package/lib/tparticipants.5fe27540.mjs +56 -0
  343. package/lib/tparticipants.78c8c175.js +1 -0
  344. package/lib/translation.mains.2688be5b.mjs +383 -0
  345. package/lib/translation.mains.a6f19343.js +1 -0
  346. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  347. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  348. package/lib/utils.echarts.js.461a74e7.js +54 -0
  349. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  350. package/lib/utils.mixins.js.750ca50e.js +1 -0
  351. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  352. package/lib/utils.plug.js.9313aead.mjs +31 -0
  353. package/lib/utils.plug.js.f62510ce.js +1 -0
  354. package/lib/utils.util.js.333daba2.mjs +439 -0
  355. package/lib/utils.util.js.c0ba699b.js +1 -0
  356. package/lib/versionControl.46a7f31a.js +1 -0
  357. package/lib/versionControl.c53bfb5d.mjs +488 -0
  358. package/lib/versionEdit.4246d5db.js +1 -0
  359. package/lib/versionEdit.5a8292ec.mjs +452 -0
  360. package/lib/view.build.85732408.mjs +1578 -0
  361. package/lib/view.build.e43a2077.js +1 -0
  362. package/lib/viewList.868edcd7.js +1 -0
  363. package/lib/viewList.978b72c5.mjs +324 -0
  364. package/lib/viewTree.7497ff90.js +1 -0
  365. package/lib/viewTree.bde43a3b.mjs +409 -0
  366. package/locale/en_US.js +82 -27
  367. package/locale/id_ID.js +66 -11
  368. package/locale/vi_VN.js +1968 -1913
  369. package/locale/zh_CN.js +88 -32
  370. package/package.json +106 -105
  371. package/lib/chartbi.114d32d7.js +0 -60
  372. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  373. package/lib/main.083e0ba3.js +0 -1
  374. package/lib/main.4a858284.js +0 -1
  375. package/lib/main.64cb2027.js +0 -1
  376. package/lib/main.70a46cbc.js +0 -1
  377. package/lib/messages.364eb728.js +0 -9
  378. package/lib/messages.5bcc42f9.mjs +0 -5863
  379. package/lib/system.account.95bd8508.js +0 -216
  380. package/lib/system.account.d6c7485b.mjs +0 -2552
  381. package/lib/system.config.63c0217d.js +0 -1
  382. package/lib/system.datasource.a2c0bad4.js +0 -1
  383. package/lib/system.dict.dfb4c376.js +0 -1
  384. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  385. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  386. package/lib/system.email.545cedff.mjs +0 -7432
  387. package/lib/system.email.ec0ac728.js +0 -41
  388. package/lib/system.fieldsecurity.eb217079.js +0 -1
  389. package/lib/system.file.1cb952a4.js +0 -1
  390. package/lib/system.log.348b3605.js +0 -1
  391. package/lib/system.machine.49fc6405.js +0 -1
  392. package/lib/system.notice.d7a3346d.js +0 -1
  393. package/lib/system.noticereceived.c0b24616.js +0 -1
  394. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  395. package/lib/system.org.30063246.js +0 -1
  396. package/lib/system.permissions.1ff855c2.js +0 -9
  397. package/lib/system.permissions.fdad3c36.mjs +0 -212
  398. package/lib/system.plugin.2c7c8a5a.js +0 -1
  399. package/lib/system.pos.21294c28.js +0 -1
  400. package/lib/system.promptmanagement.7e8da777.js +0 -1
  401. package/lib/system.role.078fac85.js +0 -1
  402. package/lib/system.sumberrules.b0252f77.js +0 -1
  403. package/lib/system.team.296512d7.mjs +0 -1000
  404. package/lib/system.team.5d6169bc.js +0 -1
  405. package/lib/system.teammembers.313345f7.js +0 -1
  406. package/lib/system.timers.8246e6ba.js +0 -38
  407. package/lib/system.translation.fdff4956.js +0 -1
  408. package/lib/system.user.49457fd3.js +0 -14
  409. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  410. package/lib/system.webresource.2a341e05.js +0 -1
  411. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -1,204 +1,12 @@
1
- import { a as C } from "./system.notice.dba4c597.mjs";
2
- import { i as O, a as N, j as P, c as B, k as D, l as E, g as I, m as U, n as A, o as M, h as q, q as H, r as j, t as z, u as x } from "./system.account.d6c7485b.mjs";
3
- import { m as R, n as T } from "./chartbi.eb4dd0af.mjs";
4
- import { t as G } from "./messages.5bcc42f9.mjs";
5
- import { G as Q } from "./system.role.0c6c327d.mjs";
6
- const V = {
7
- data() {
8
- return {
9
- buttons: [
10
- {
11
- displayName: "\u786E\u5B9A",
12
- functionName: "handleSubmit",
13
- show: !0,
14
- transKey: "gd.btn.confirm",
15
- icon: "el-icon-document-checked"
16
- }
17
- ],
18
- record: {},
19
- visible: !1,
20
- confirmLoading: !1,
21
- fullscreen: !1,
22
- width: "90%",
23
- selectedRowKeys: [],
24
- allRowData: []
25
- };
26
- },
27
- components: { RoleForm: Q },
28
- computed: {
29
- height() {
30
- return this.screenHeight - (this.fullscreen ? 160 : 340);
31
- },
32
- ...R(["screenHeight"])
33
- },
34
- methods: {
35
- handleSubmit() {
36
- this.confirmLoading = !0;
37
- let i = [];
38
- i = this.allRowData.filter(
39
- (t) => !this.selectedRowKeys.some((r) => r === t.id)
40
- );
41
- const e = i.map((t) => t.id);
42
- O({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
43
- t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
44
- });
45
- },
46
- open(i) {
47
- this.confirmLoading = !0, this.record = i, this.visible = !0, N({ id: i.id }).then((e) => {
48
- e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
49
- setTimeout(() => {
50
- this.$refs.roleForm.refresh();
51
- }, 0);
52
- }), this.confirmLoading = !1;
53
- });
54
- },
55
- closed() {
56
- this.fullscreen = !1, this.visible = !1;
57
- },
58
- toggleFullscreen() {
59
- this.fullscreen = !this.fullscreen;
60
- },
61
- onSelectChange(i, e, t) {
62
- this.selectedRowKeys = i, this.allRowData = t.rows;
63
- },
64
- doEvent(i) {
65
- const e = i.item.functionName;
66
- this[e] && this[e]();
67
- }
68
- }
69
- };
70
- var Y = function() {
71
- var e = this, t = e._self._c;
72
- 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
73
- e.visible = r;
74
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.authorizationRole", "\u6388\u6743\u89D2\u8272"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("RoleForm", { ref: "roleForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
75
- }, J = [], W = /* @__PURE__ */ T(
76
- V,
77
- Y,
78
- J,
79
- !1,
80
- null,
81
- "117b9c7a",
82
- null,
83
- null
84
- );
85
- const X = W.exports;
86
- const Z = {
87
- data() {
88
- return {
89
- buttons: [
90
- {
91
- displayName: "\u786E\u5B9A",
92
- functionName: "handleSubmit",
93
- show: !0,
94
- transKey: "gd.btn.confirm",
95
- icon: "el-icon-document-checked"
96
- }
97
- ],
98
- record: {},
99
- showForm: !1,
100
- visible: !1,
101
- confirmLoading: !1,
102
- fullscreen: !1,
103
- width: "600px",
104
- orgTree: [],
105
- ruleFormData: {
106
- orgIded: "",
107
- orgId: ""
108
- },
109
- rules: {
110
- orgId: [
111
- {
112
- required: !0,
113
- message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
114
- trigger: "change"
115
- }
116
- ]
117
- }
118
- };
119
- },
120
- methods: {
121
- save() {
122
- let i = this;
123
- this.$confirm(
124
- this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
125
- this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
126
- {
127
- confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
128
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
129
- showClose: !1,
130
- confirmButtonLoading: !1,
131
- cancelButtonLoading: !1,
132
- closeOnClickModal: !1,
133
- type: "warning",
134
- confirmButtonClass: "el-button--danger",
135
- customClass: "custom-alert",
136
- callback: () => {
137
- },
138
- beforeClose: (e, t, r) => {
139
- if (e !== "confirm") {
140
- r();
141
- return;
142
- }
143
- r(), P({ userId: i.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
144
- n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
145
- });
146
- }
147
- }
148
- );
149
- },
150
- handleSubmit() {
151
- this.confirmLoading = !0, this.$refs.ruleForm.validate((i) => {
152
- i ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
153
- });
154
- },
155
- open(i) {
156
- this.confirmLoading = !0, this.record = i, this.visible = !0, this.showForm = !1, C().then((e) => {
157
- const t = (r) => (r = r.filter((n, s) => (n.id === i.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
158
- this.orgTree = t(e.data), this.ruleFormData = {
159
- orgIded: i.orgid,
160
- orgId: ""
161
- }, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
162
- setTimeout(() => {
163
- this.$refs.ruleForm.clearValidate();
164
- }, 0);
165
- });
166
- });
167
- },
168
- closed() {
169
- this.fullscreen = !1, this.visible = !1, this.$emit("closed");
170
- },
171
- toggleFullscreen() {
172
- this.fullscreen = !this.fullscreen;
173
- },
174
- doEvent(i) {
175
- const e = i.item.functionName;
176
- this[e] && this[e]();
177
- }
178
- }
179
- };
180
- var ee = function() {
181
- var e = this, t = e._self._c;
182
- 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
183
- e.visible = r;
184
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.updateInstitutions", "\u66F4\u65B0\u673A\u6784"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "130px" } }, [e.showForm ? t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(r) {
185
- r.preventDefault();
186
- } } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.user.orgOldName", "\u539F\u673A\u6784\u540D\u79F0"), prop: "orgIded" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, "default-value": e.ruleFormData.orgIded, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleFormData.orgIded, callback: function(r) {
187
- e.$set(e.ruleFormData, "orgIded", r);
188
- }, expression: "ruleFormData.orgIded" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.user.organization", "\u6240\u5C5E\u673A\u6784"), prop: "orgId" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.orgId, callback: function(r) {
189
- e.$set(e.ruleFormData, "orgId", r);
190
- }, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
191
- }, te = [], se = /* @__PURE__ */ T(
192
- Z,
193
- ee,
194
- te,
195
- !1,
196
- null,
197
- "12675dc5",
198
- null,
199
- null
200
- );
201
- const ie = se.exports, ne = {
1
+ import { a as x } from "./http.orgmanage.0b1df8d5.mjs";
2
+ import { f as O, k as D, l as N, m as P, g as I, d as B, n as U, o as M, q as C, r as E, t as A, h as q, v as j } from "./http.usermanage.f5491144.mjs";
3
+ import { d as H } from "./http.main.aefea27d.mjs";
4
+ import { m as R, n as T } from "./components.chartbi.571c5ff5.mjs";
5
+ import { t as z } from "./utils.mixins.js.be01e599.mjs";
6
+ import { F as V } from "./form.build.d04773f0.mjs";
7
+ import { R as G } from "./system.role.67f62146.mjs";
8
+ import { c as Q, a as Y } from "./components.form.db8af727.mjs";
9
+ const J = {
202
10
  data() {
203
11
  return {
204
12
  tableColumns: [
@@ -277,7 +85,7 @@ const ie = se.exports, ne = {
277
85
  slotType: "statecodes",
278
86
  align: "center",
279
87
  dictTypeCode: "state_code",
280
- renderHeader: (i, ...e) => this.renderHeader(i, ...e, {
88
+ renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
281
89
  effectType: "checkbox",
282
90
  dictTypeCode: "state_code"
283
91
  })
@@ -530,122 +338,829 @@ const ie = se.exports, ne = {
530
338
  };
531
339
  }
532
340
  };
533
- var L = { exports: {} };
534
- /*!
535
- * clipboard.js v2.0.4
536
- * https://zenorocha.github.io/clipboard.js
537
- *
538
- * Licensed MIT © Zeno Rocha
539
- */
540
- (function(i, e) {
541
- (function(r, n) {
542
- i.exports = n();
543
- })(B, function() {
544
- return function(t) {
545
- var r = {};
546
- function n(s) {
547
- if (r[s])
548
- return r[s].exports;
549
- var o = r[s] = {
550
- i: s,
551
- l: !1,
552
- exports: {}
553
- };
554
- return t[s].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
341
+ const W = {
342
+ name: "GdUse",
343
+ props: {
344
+ height: {
345
+ type: Number,
346
+ default: 100
347
+ },
348
+ record: {
349
+ type: Object,
350
+ default: () => {
555
351
  }
556
- return n.m = t, n.c = r, n.d = function(s, o, a) {
557
- n.o(s, o) || Object.defineProperty(s, o, { enumerable: !0, get: a });
558
- }, n.r = function(s) {
559
- typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
560
- }, n.t = function(s, o) {
561
- if (o & 1 && (s = n(s)), o & 8 || o & 4 && typeof s == "object" && s && s.__esModule)
562
- return s;
563
- var a = /* @__PURE__ */ Object.create(null);
564
- if (n.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: s }), o & 2 && typeof s != "string")
565
- for (var c in s)
566
- n.d(a, c, function(h) {
567
- return s[h];
568
- }.bind(null, c));
569
- return a;
570
- }, n.n = function(s) {
571
- var o = s && s.__esModule ? function() {
572
- return s.default;
573
- } : function() {
574
- return s;
575
- };
576
- return n.d(o, "a", o), o;
577
- }, n.o = function(s, o) {
578
- return Object.prototype.hasOwnProperty.call(s, o);
579
- }, n.p = "", n(n.s = 0);
580
- }([
581
- function(t, r, n) {
582
- var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
583
- return typeof m;
584
- } : function(m) {
585
- return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
586
- }, o = function() {
587
- function m(p, v) {
588
- for (var f = 0; f < v.length; f++) {
589
- var y = v[f];
590
- y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
591
- }
592
- }
593
- return function(p, v, f) {
594
- return v && m(p.prototype, v), f && m(p, f), p;
595
- };
596
- }(), a = n(1), c = l(a), h = n(3), b = l(h), g = n(4), u = l(g);
597
- function l(m) {
598
- return m && m.__esModule ? m : { default: m };
599
- }
600
- function d(m, p) {
601
- if (!(m instanceof p))
602
- throw new TypeError("Cannot call a class as a function");
603
- }
604
- function w(m, p) {
605
- if (!m)
606
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
607
- return p && (typeof p == "object" || typeof p == "function") ? p : m;
608
- }
609
- function _(m, p) {
610
- if (typeof p != "function" && p !== null)
611
- throw new TypeError("Super expression must either be null or a function, not " + typeof p);
612
- m.prototype = Object.create(p && p.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), p && (Object.setPrototypeOf ? Object.setPrototypeOf(m, p) : m.__proto__ = p);
613
- }
614
- var K = function(m) {
615
- _(p, m);
616
- function p(v, f) {
617
- d(this, p);
618
- var y = w(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this));
619
- return y.resolveOptions(f), y.listenClick(v), y;
620
- }
621
- return o(p, [{
622
- key: "resolveOptions",
623
- value: function() {
624
- var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
625
- this.action = typeof f.action == "function" ? f.action : this.defaultAction, this.target = typeof f.target == "function" ? f.target : this.defaultTarget, this.text = typeof f.text == "function" ? f.text : this.defaultText, this.container = s(f.container) === "object" ? f.container : document.body;
626
- }
627
- }, {
628
- key: "listenClick",
629
- value: function(f) {
630
- var y = this;
631
- this.listener = (0, u.default)(f, "click", function($) {
632
- return y.onClick($);
633
- });
634
- }
635
- }, {
636
- key: "onClick",
637
- value: function(f) {
638
- var y = f.delegateTarget || f.currentTarget;
639
- this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new c.default({
640
- action: this.action(y),
641
- target: this.target(y),
642
- text: this.text(y),
643
- container: this.container,
644
- trigger: y,
645
- emitter: this
646
- });
647
- }
648
- }, {
352
+ }
353
+ },
354
+ mixins: [z, J],
355
+ data() {
356
+ return {
357
+ fieldData: [],
358
+ tableName: "sys_user",
359
+ transKey: "gd.btn.add",
360
+ formLoading: !1,
361
+ currentNode: null,
362
+ loading: !0,
363
+ orgTree: [],
364
+ selectedRowKeys: [],
365
+ selectedRows: [],
366
+ queryParam: {},
367
+ defaultProps: {
368
+ children: "children",
369
+ label: "title",
370
+ value: "value"
371
+ },
372
+ defaultExpandedKeys: "",
373
+ loadData: (s) => O(Object.assign(s, this.getQueryParam)).then((e) => e.data),
374
+ disableBtn: ["\u542F\u7528", "\u505C\u7528"],
375
+ fileList: [],
376
+ needLoad: !1,
377
+ infoData: {},
378
+ isSendEmail: "",
379
+ isSendEmailed: "",
380
+ institutionsShow: !1,
381
+ showFormCustom: !1
382
+ };
383
+ },
384
+ components: {
385
+ UserRoleForm: () => Promise.resolve().then(() => oe),
386
+ EditInstitutions: () => Promise.resolve().then(() => he),
387
+ copyInfo: () => Promise.resolve().then(() => ve)
388
+ },
389
+ computed: {
390
+ useForm() {
391
+ const s = this.options.useForm !== void 0 ? this.options.useForm : !1, e = this.options.formId !== void 0 ? this.options.formId : "";
392
+ return s && e;
393
+ },
394
+ tableData() {
395
+ const s = this.tableLists.filter((e) => e.tablename === this.tableName)[0];
396
+ return s || {};
397
+ },
398
+ componentForm() {
399
+ const s = this.$importViewFiles();
400
+ let e = `../views/main/${this.tableName}/editForm.vue`;
401
+ const t = s[e];
402
+ return t ? t.default : V;
403
+ },
404
+ options() {
405
+ return this.record.options;
406
+ },
407
+ getQueryParam() {
408
+ let s = /* @__PURE__ */ new Map();
409
+ for (let e in this.queryParam)
410
+ s.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
411
+ return Object.fromEntries(s);
412
+ },
413
+ getFormColumns() {
414
+ return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
415
+ },
416
+ getTableButtons() {
417
+ return this.tableButtons.filter((s) => (s.show = !this.disableBtn.includes(s.displayName), !0));
418
+ },
419
+ getHeight() {
420
+ return this.height;
421
+ },
422
+ styled() {
423
+ return `height:${this.height + 76}px`;
424
+ },
425
+ ...R(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
426
+ },
427
+ methods: {
428
+ updateInstitutions() {
429
+ if (this.selectedRowKeys.length === 0) {
430
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
431
+ return;
432
+ }
433
+ if (this.selectedRowKeys.length > 1) {
434
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
435
+ return;
436
+ }
437
+ this.institutionsShow = !0, this.$nextTick(() => {
438
+ setTimeout(() => {
439
+ this.$refs.editInstitutions.open(this.selectedRows[0]);
440
+ }, 0);
441
+ });
442
+ },
443
+ userRole() {
444
+ if (this.selectedRowKeys.length === 0) {
445
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
446
+ return;
447
+ }
448
+ if (this.selectedRowKeys.length > 1) {
449
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
450
+ return;
451
+ }
452
+ this.$refs.userRoleForm.open(this.selectedRows[0]);
453
+ },
454
+ saveQueries(s) {
455
+ this.queryParam = {
456
+ ...s
457
+ }, this.refresh();
458
+ },
459
+ handleFileUpload(s) {
460
+ const e = this.$message({
461
+ message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
462
+ duration: 0,
463
+ iconClass: "el-icon-loading"
464
+ }), t = new FormData();
465
+ t.append("file", s.file), D(t).then((r) => {
466
+ r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
467
+ setTimeout(() => {
468
+ e.close();
469
+ }, 200);
470
+ });
471
+ });
472
+ },
473
+ importUser() {
474
+ this.fileList = [], document.querySelector(".upload-demo").click();
475
+ },
476
+ exportUser() {
477
+ const s = this.$message({
478
+ message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
479
+ duration: 0,
480
+ iconClass: "el-icon-loading"
481
+ });
482
+ N().then((e) => {
483
+ this.downloadfile(e), this.$nextTick(() => {
484
+ setTimeout(() => {
485
+ s.close();
486
+ }, 200);
487
+ });
488
+ }).catch((e) => {
489
+ this.$nextTick(() => {
490
+ setTimeout(() => {
491
+ s.close();
492
+ }, 200);
493
+ });
494
+ });
495
+ },
496
+ enable() {
497
+ this.editStateCodes({
498
+ row: this.selectedRows[0]
499
+ });
500
+ },
501
+ deactivated() {
502
+ this.editStateCodes({
503
+ row: this.selectedRows[0]
504
+ });
505
+ },
506
+ editStateCodes({ column: s, row: e }) {
507
+ const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
508
+ this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
509
+ confirmButtonText: r,
510
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
511
+ showClose: !1,
512
+ confirmButtonLoading: !1,
513
+ cancelButtonLoading: !1,
514
+ closeOnClickModal: !1,
515
+ type: "warning",
516
+ confirmButtonClass: "el-button--danger",
517
+ customClass: "custom-alert",
518
+ callback: () => {
519
+ },
520
+ beforeClose: (n, i, o) => {
521
+ if (n !== "confirm") {
522
+ o();
523
+ return;
524
+ }
525
+ i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, P({
526
+ id: e.id,
527
+ stateCodes: e.statecodes == 1 ? 0 : 1
528
+ }).then((a) => {
529
+ o(), a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0;
530
+ });
531
+ }
532
+ });
533
+ },
534
+ refresh() {
535
+ this.$refs.table.refresh();
536
+ },
537
+ editFormCustom(s) {
538
+ this.$refs.editFormCustom.open({ title: this.$i18nt(this.transKey), id: s.id });
539
+ },
540
+ editForm(s) {
541
+ if (this.transKey = "gd.btn.edit", this.showFormCustom) {
542
+ this.editFormCustom(s);
543
+ return;
544
+ }
545
+ this.$refs.editForm.open(
546
+ Object.assign(
547
+ {
548
+ ...s
549
+ },
550
+ {
551
+ gender: String(s.gender),
552
+ orgid: String(s.orgid),
553
+ authtype: s.authtype === null ? "" : String(s.authtype)
554
+ }
555
+ )
556
+ );
557
+ },
558
+ getOrgTree() {
559
+ x({}).then((s) => {
560
+ if (s.code === 200) {
561
+ const e = (t) => (t = t.filter((r, n) => (r.value = String(r.value), r.children && r.children.length > 0 && (r.children = e(r.children)), !0)), t);
562
+ this.orgTree = e(s.data);
563
+ }
564
+ this.loading = !1;
565
+ });
566
+ },
567
+ handleNodeClick(s) {
568
+ this.queryParam.orgId === s.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
569
+ setTimeout(() => {
570
+ this.$refs.tree.setCurrentKey(null);
571
+ }, 0);
572
+ })) : this.queryParam = Object.assign(
573
+ {
574
+ ...this.queryParam
575
+ },
576
+ {
577
+ orgId: s.id
578
+ }
579
+ ), this.refresh();
580
+ },
581
+ del() {
582
+ if (this.selectedRowKeys.length === 0) {
583
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
584
+ return;
585
+ }
586
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
587
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
588
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
589
+ showClose: !1,
590
+ confirmButtonLoading: !1,
591
+ cancelButtonLoading: !1,
592
+ closeOnClickModal: !1,
593
+ type: "warning",
594
+ confirmButtonClass: "el-button--danger",
595
+ customClass: "custom-alert",
596
+ callback: () => {
597
+ },
598
+ beforeClose: (s, e, t) => {
599
+ this.delHand(s, e, t);
600
+ }
601
+ });
602
+ },
603
+ delHand(s, e, t) {
604
+ if (s !== "confirm") {
605
+ t();
606
+ return;
607
+ }
608
+ let r = [];
609
+ this.selectedRows.forEach((n) => {
610
+ let i = sysOrgDelete(n).then((o) => o);
611
+ r.push(i);
612
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((n) => {
613
+ t();
614
+ const i = n.filter((o) => !o.success);
615
+ i.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") + i[0].message), this.handleOk(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
616
+ });
617
+ },
618
+ add() {
619
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
620
+ },
621
+ edit() {
622
+ if (this.selectedRowKeys.length === 0) {
623
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
624
+ return;
625
+ }
626
+ if (this.selectedRowKeys.length > 1) {
627
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
628
+ return;
629
+ }
630
+ this.editForm(this.selectedRows[0]);
631
+ },
632
+ async sbumit({ data: s, record: e, btn: t }, r, n) {
633
+ this.formLoading = !0;
634
+ let i = e ? U : M;
635
+ if (!e) {
636
+ let o = await this.getUsrePassword();
637
+ Object.assign(s, {
638
+ password: o,
639
+ confirm: o
640
+ });
641
+ }
642
+ i(s).then((o) => {
643
+ this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk(), this.infoData = s, this.sendEmail(e, s)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
644
+ });
645
+ },
646
+ sendEmail(s, e) {
647
+ s || (this.isSendEmail == 1 && this.$notify({
648
+ type: "success",
649
+ title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
650
+ dangerouslyUseHTMLString: !0,
651
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
652
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
653
+ }), I({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
654
+ t.code == 200 && t.data.value == "1" && setTimeout(() => {
655
+ this.$refs.copyInfo.open(this.copyRule);
656
+ }, 1200);
657
+ }));
658
+ },
659
+ handleOk() {
660
+ this.getOrgTree(), this.$refs.table.refresh();
661
+ },
662
+ onSelectChange(s, e) {
663
+ if (this.selectedRowKeys = s, this.selectedRows = e, s.length === 0) {
664
+ this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
665
+ return;
666
+ }
667
+ if (e.length > 1) {
668
+ this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
669
+ return;
670
+ }
671
+ let t = [], r = e.filter((i) => i.statecodes == 1), n = e.filter((i) => i.statecodes == 0);
672
+ r.length == e.length ? t = ["\u542F\u7528"] : n.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
673
+ },
674
+ downloadfile(s) {
675
+ var e = new Blob([s.data], {
676
+ type: "application/octet-stream;charset=UTF-8"
677
+ }), t = s.headers["content-disposition"];
678
+ const i = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
679
+ var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
680
+ o.style.display = "none", o.href = a, o.download = decodeURI(i.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
681
+ },
682
+ getUsrePassword() {
683
+ return B({}).then((s) => {
684
+ if (s.success)
685
+ return this.combinationRule = s.data.combinationrule.value, this.copyRule = s.data.copyrule.value, this.lengthRule = s.data.lengthrule.value, this.isSendEmail = s.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
686
+ });
687
+ },
688
+ getRandomChar(s) {
689
+ return s ? s[Math.floor(Math.random() * s.length)] : "";
690
+ },
691
+ mathPasword(s, e) {
692
+ let t = (e.includes("AL"), "abcdefghijklmnopqrstuvwxyz"), r = (e.includes("AL"), "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), n = (e.includes("NU"), "0123456789"), i = (e.includes("SC"), "!@#$%&*^"), o = "", a = [];
693
+ if (i && (a.push(this.getRandomChar(i)), a.push(this.getRandomChar(i))), r && (a.push(this.getRandomChar(r)), a.push(this.getRandomChar(r))), t && (a.push(this.getRandomChar(t)), a.push(this.getRandomChar(t))), n && (a.push(this.getRandomChar(n)), a.push(this.getRandomChar(n))), a.length === 0)
694
+ return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
695
+ a = a.sort(() => Math.random() - 0.5);
696
+ let c = a.join("");
697
+ for (; c.length < s; ) {
698
+ const h = [i, r, t, n].filter((g) => g);
699
+ if (h.length === 0)
700
+ break;
701
+ const b = h[Math.floor(Math.random() * h.length)];
702
+ c += this.getRandomChar(b);
703
+ }
704
+ return o = c.substring(0, s), o;
705
+ },
706
+ resetPwd() {
707
+ if (this.selectedRowKeys.length === 0) {
708
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
709
+ return;
710
+ }
711
+ if (this.selectedRowKeys.length > 1) {
712
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
713
+ return;
714
+ }
715
+ this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
716
+ confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
717
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
718
+ showClose: !1,
719
+ confirmButtonLoading: !1,
720
+ cancelButtonLoading: !1,
721
+ closeOnClickModal: !1,
722
+ type: "warning",
723
+ confirmButtonClass: "el-button--danger",
724
+ customClass: "custom-alert",
725
+ callback: () => {
726
+ },
727
+ beforeClose: (s, e, t) => {
728
+ this.resetPwdHand(s, e, t);
729
+ }
730
+ });
731
+ },
732
+ async resetPwdHand(s, e, t) {
733
+ const r = await this.getUsrePassword();
734
+ let n = this;
735
+ if (s !== "confirm") {
736
+ t();
737
+ return;
738
+ }
739
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
740
+ let i, o = {};
741
+ if (n.isSendEmail == 1 && n.copyRule == 1)
742
+ o = {
743
+ id: n.selectedRows[0].id,
744
+ newPassword: r
745
+ }, i = C;
746
+ else if (n.isSendEmail == 1)
747
+ o = {
748
+ accountName: n.selectedRows[0].account,
749
+ emailAddress: n.selectedRows[0].email,
750
+ pcR_Type: 5
751
+ }, i = E;
752
+ else if (n.copyRule == 1)
753
+ o = {
754
+ id: n.selectedRows[0].id,
755
+ newPassword: r
756
+ }, i = C;
757
+ else {
758
+ this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
759
+ return;
760
+ }
761
+ i(o).then((a) => {
762
+ if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
763
+ let c = {
764
+ account: n.selectedRows[0].account,
765
+ password: r,
766
+ name: n.selectedRows[0].name,
767
+ email: n.selectedRows[0].email,
768
+ phone: n.selectedRows[0].phone
769
+ };
770
+ n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
771
+ duration: 8e3,
772
+ type: "success",
773
+ title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
774
+ dangerouslyUseHTMLString: !0,
775
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
776
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
777
+ }) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
778
+ n.$refs.copyInfo.open(n.isSendEmail);
779
+ }, 500)) : n.refresh();
780
+ } else
781
+ n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
782
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
783
+ });
784
+ },
785
+ sending() {
786
+ this.refresh();
787
+ },
788
+ getFormList() {
789
+ !this.useForm || H({ tableId: this.tableData.id }).then((s) => {
790
+ if (s.code !== 200)
791
+ return;
792
+ const e = s.data.formlist.filter((t) => t.id === this.options.formId)[0];
793
+ !e || (this.showFormCustom = !0, this.$nextTick(() => {
794
+ setTimeout(() => {
795
+ this.$refs.editFormCustom.setFormRecord(e);
796
+ });
797
+ }));
798
+ });
799
+ },
800
+ doEvent(s) {
801
+ let e = s.item.functionName;
802
+ this[e] && this[e]();
803
+ }
804
+ },
805
+ mounted() {
806
+ this.getOrgTree(), this.getFormList();
807
+ }
808
+ };
809
+ var X = function() {
810
+ var e = this, t = e._self._c;
811
+ return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("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), t("div", { staticClass: "page-view-list" }, [t("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: "account", fn: function({ column: r, row: n }) {
812
+ return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
813
+ } }, { key: "gender", fn: function(r) {
814
+ return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
815
+ } }, { key: "authtype", fn: function(r) {
816
+ return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("user_auth_type", r.row.authtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("user_auth_type", r.row.authtype)) + " ")])], 1)];
817
+ } }, { key: "statecodes", fn: function(r) {
818
+ return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
819
+ return n.stopPropagation(), e.editStateCodes(r);
820
+ } } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
821
+ } }, { key: "operator", fn: function() {
822
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("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(r) {
823
+ return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
824
+ } }, model: { value: e.queryParam.searchValue, callback: function(r) {
825
+ e.$set(e.queryParam, "searchValue", r);
826
+ }, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
827
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
828
+ return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
829
+ } }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
830
+ e.institutionsShow = !1;
831
+ } } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("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, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), e.showFormCustom ? t(e.componentForm, { ref: "editFormCustom", tag: "component", attrs: { fieldData: e.fieldData, tableData: e.tableData, recordRelation: e.record, openMode: 1 }, on: { ok: e.refresh } }) : e._e(), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
832
+ }, Z = [], ee = /* @__PURE__ */ T(
833
+ W,
834
+ X,
835
+ Z,
836
+ !1,
837
+ null,
838
+ "ad39de97",
839
+ null,
840
+ null
841
+ );
842
+ const S = ee.exports;
843
+ S.install = function(s) {
844
+ s.component(S.name, S);
845
+ };
846
+ const te = {
847
+ data() {
848
+ return {
849
+ buttons: [
850
+ {
851
+ displayName: "\u786E\u5B9A",
852
+ functionName: "handleSubmit",
853
+ show: !0,
854
+ transKey: "gd.btn.confirm",
855
+ icon: "el-icon-document-checked"
856
+ }
857
+ ],
858
+ record: {},
859
+ visible: !1,
860
+ confirmLoading: !1,
861
+ fullscreen: !1,
862
+ width: "90%",
863
+ selectedRowKeys: [],
864
+ allRowData: []
865
+ };
866
+ },
867
+ components: { RoleForm: G },
868
+ computed: {
869
+ height() {
870
+ return this.screenHeight - (this.fullscreen ? 160 : 340);
871
+ },
872
+ ...R(["screenHeight"])
873
+ },
874
+ methods: {
875
+ handleSubmit() {
876
+ this.confirmLoading = !0;
877
+ let s = [];
878
+ s = this.allRowData.filter(
879
+ (t) => !this.selectedRowKeys.some((r) => r === t.id)
880
+ );
881
+ const e = s.map((t) => t.id);
882
+ A({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
883
+ t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
884
+ });
885
+ },
886
+ open(s) {
887
+ this.confirmLoading = !0, this.record = s, this.visible = !0, q({ id: s.id }).then((e) => {
888
+ e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
889
+ setTimeout(() => {
890
+ this.$refs.roleForm.refresh();
891
+ }, 0);
892
+ }), this.confirmLoading = !1;
893
+ });
894
+ },
895
+ closed() {
896
+ this.fullscreen = !1, this.visible = !1;
897
+ },
898
+ toggleFullscreen() {
899
+ this.fullscreen = !this.fullscreen;
900
+ },
901
+ onSelectChange(s, e, t) {
902
+ this.selectedRowKeys = s, this.allRowData = t.rows;
903
+ },
904
+ doEvent(s) {
905
+ const e = s.item.functionName;
906
+ this[e] && this[e]();
907
+ }
908
+ }
909
+ };
910
+ var se = function() {
911
+ var e = this, t = e._self._c;
912
+ 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
913
+ e.visible = r;
914
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.authorizationRole", "\u6388\u6743\u89D2\u8272"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("RoleForm", { ref: "roleForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
915
+ }, ie = [], ne = /* @__PURE__ */ T(
916
+ te,
917
+ se,
918
+ ie,
919
+ !1,
920
+ null,
921
+ "117b9c7a",
922
+ null,
923
+ null
924
+ );
925
+ const re = ne.exports, oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
926
+ __proto__: null,
927
+ default: re
928
+ }, Symbol.toStringTag, { value: "Module" }));
929
+ const ae = {
930
+ data() {
931
+ return {
932
+ buttons: [
933
+ {
934
+ displayName: "\u786E\u5B9A",
935
+ functionName: "handleSubmit",
936
+ show: !0,
937
+ transKey: "gd.btn.confirm",
938
+ icon: "el-icon-document-checked"
939
+ }
940
+ ],
941
+ record: {},
942
+ showForm: !1,
943
+ visible: !1,
944
+ confirmLoading: !1,
945
+ fullscreen: !1,
946
+ width: "600px",
947
+ orgTree: [],
948
+ ruleFormData: {
949
+ orgIded: "",
950
+ orgId: ""
951
+ },
952
+ rules: {
953
+ orgId: [
954
+ {
955
+ required: !0,
956
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
957
+ trigger: "change"
958
+ }
959
+ ]
960
+ }
961
+ };
962
+ },
963
+ methods: {
964
+ save() {
965
+ let s = this;
966
+ this.$confirm(
967
+ this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
968
+ this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
969
+ {
970
+ confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
971
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
972
+ showClose: !1,
973
+ confirmButtonLoading: !1,
974
+ cancelButtonLoading: !1,
975
+ closeOnClickModal: !1,
976
+ type: "warning",
977
+ confirmButtonClass: "el-button--danger",
978
+ customClass: "custom-alert",
979
+ callback: () => {
980
+ },
981
+ beforeClose: (e, t, r) => {
982
+ if (e !== "confirm") {
983
+ r();
984
+ return;
985
+ }
986
+ r(), j({ userId: s.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
987
+ n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
988
+ });
989
+ }
990
+ }
991
+ );
992
+ },
993
+ handleSubmit() {
994
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
995
+ s ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
996
+ });
997
+ },
998
+ open(s) {
999
+ this.confirmLoading = !0, this.record = s, this.visible = !0, this.showForm = !1, x().then((e) => {
1000
+ const t = (r) => (r = r.filter((n, i) => (n.id === s.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
1001
+ this.orgTree = t(e.data), this.ruleFormData = {
1002
+ orgIded: s.orgid,
1003
+ orgId: ""
1004
+ }, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
1005
+ setTimeout(() => {
1006
+ this.$refs.ruleForm.clearValidate();
1007
+ }, 0);
1008
+ });
1009
+ });
1010
+ },
1011
+ closed() {
1012
+ this.fullscreen = !1, this.visible = !1, this.$emit("closed");
1013
+ },
1014
+ toggleFullscreen() {
1015
+ this.fullscreen = !this.fullscreen;
1016
+ },
1017
+ doEvent(s) {
1018
+ const e = s.item.functionName;
1019
+ this[e] && this[e]();
1020
+ }
1021
+ }
1022
+ };
1023
+ var le = function() {
1024
+ var e = this, t = e._self._c;
1025
+ 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
1026
+ e.visible = r;
1027
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.updateInstitutions", "\u66F4\u65B0\u673A\u6784"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "130px" } }, [e.showForm ? t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(r) {
1028
+ r.preventDefault();
1029
+ } } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.user.orgOldName", "\u539F\u673A\u6784\u540D\u79F0"), prop: "orgIded" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, "default-value": e.ruleFormData.orgIded, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleFormData.orgIded, callback: function(r) {
1030
+ e.$set(e.ruleFormData, "orgIded", r);
1031
+ }, expression: "ruleFormData.orgIded" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.user.organization", "\u6240\u5C5E\u673A\u6784"), prop: "orgId" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.orgId, callback: function(r) {
1032
+ e.$set(e.ruleFormData, "orgId", r);
1033
+ }, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
1034
+ }, de = [], ce = /* @__PURE__ */ T(
1035
+ ae,
1036
+ le,
1037
+ de,
1038
+ !1,
1039
+ null,
1040
+ "12675dc5",
1041
+ null,
1042
+ null
1043
+ );
1044
+ const ue = ce.exports, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1045
+ __proto__: null,
1046
+ default: ue
1047
+ }, Symbol.toStringTag, { value: "Module" }));
1048
+ var F = { exports: {} };
1049
+ /*!
1050
+ * clipboard.js v2.0.4
1051
+ * https://zenorocha.github.io/clipboard.js
1052
+ *
1053
+ * Licensed MIT © Zeno Rocha
1054
+ */
1055
+ (function(s, e) {
1056
+ (function(r, n) {
1057
+ s.exports = n();
1058
+ })(Q, function() {
1059
+ return function(t) {
1060
+ var r = {};
1061
+ function n(i) {
1062
+ if (r[i])
1063
+ return r[i].exports;
1064
+ var o = r[i] = {
1065
+ i,
1066
+ l: !1,
1067
+ exports: {}
1068
+ };
1069
+ return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
1070
+ }
1071
+ return n.m = t, n.c = r, n.d = function(i, o, a) {
1072
+ n.o(i, o) || Object.defineProperty(i, o, { enumerable: !0, get: a });
1073
+ }, n.r = function(i) {
1074
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
1075
+ }, n.t = function(i, o) {
1076
+ if (o & 1 && (i = n(i)), o & 8 || o & 4 && typeof i == "object" && i && i.__esModule)
1077
+ return i;
1078
+ var a = /* @__PURE__ */ Object.create(null);
1079
+ if (n.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: i }), o & 2 && typeof i != "string")
1080
+ for (var c in i)
1081
+ n.d(a, c, function(h) {
1082
+ return i[h];
1083
+ }.bind(null, c));
1084
+ return a;
1085
+ }, n.n = function(i) {
1086
+ var o = i && i.__esModule ? function() {
1087
+ return i.default;
1088
+ } : function() {
1089
+ return i;
1090
+ };
1091
+ return n.d(o, "a", o), o;
1092
+ }, n.o = function(i, o) {
1093
+ return Object.prototype.hasOwnProperty.call(i, o);
1094
+ }, n.p = "", n(n.s = 0);
1095
+ }([
1096
+ function(t, r, n) {
1097
+ var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
1098
+ return typeof m;
1099
+ } : function(m) {
1100
+ return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
1101
+ }, o = function() {
1102
+ function m(p, v) {
1103
+ for (var f = 0; f < v.length; f++) {
1104
+ var y = v[f];
1105
+ y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
1106
+ }
1107
+ }
1108
+ return function(p, v, f) {
1109
+ return v && m(p.prototype, v), f && m(p, f), p;
1110
+ };
1111
+ }(), a = n(1), c = l(a), h = n(3), b = l(h), g = n(4), u = l(g);
1112
+ function l(m) {
1113
+ return m && m.__esModule ? m : { default: m };
1114
+ }
1115
+ function d(m, p) {
1116
+ if (!(m instanceof p))
1117
+ throw new TypeError("Cannot call a class as a function");
1118
+ }
1119
+ function w(m, p) {
1120
+ if (!m)
1121
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1122
+ return p && (typeof p == "object" || typeof p == "function") ? p : m;
1123
+ }
1124
+ function _(m, p) {
1125
+ if (typeof p != "function" && p !== null)
1126
+ throw new TypeError("Super expression must either be null or a function, not " + typeof p);
1127
+ m.prototype = Object.create(p && p.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), p && (Object.setPrototypeOf ? Object.setPrototypeOf(m, p) : m.__proto__ = p);
1128
+ }
1129
+ var L = function(m) {
1130
+ _(p, m);
1131
+ function p(v, f) {
1132
+ d(this, p);
1133
+ var y = w(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this));
1134
+ return y.resolveOptions(f), y.listenClick(v), y;
1135
+ }
1136
+ return o(p, [{
1137
+ key: "resolveOptions",
1138
+ value: function() {
1139
+ var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1140
+ this.action = typeof f.action == "function" ? f.action : this.defaultAction, this.target = typeof f.target == "function" ? f.target : this.defaultTarget, this.text = typeof f.text == "function" ? f.text : this.defaultText, this.container = i(f.container) === "object" ? f.container : document.body;
1141
+ }
1142
+ }, {
1143
+ key: "listenClick",
1144
+ value: function(f) {
1145
+ var y = this;
1146
+ this.listener = (0, u.default)(f, "click", function($) {
1147
+ return y.onClick($);
1148
+ });
1149
+ }
1150
+ }, {
1151
+ key: "onClick",
1152
+ value: function(f) {
1153
+ var y = f.delegateTarget || f.currentTarget;
1154
+ this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new c.default({
1155
+ action: this.action(y),
1156
+ target: this.target(y),
1157
+ text: this.text(y),
1158
+ container: this.container,
1159
+ trigger: y,
1160
+ emitter: this
1161
+ });
1162
+ }
1163
+ }, {
649
1164
  key: "defaultAction",
650
1165
  value: function(f) {
651
1166
  return k("action", f);
@@ -671,8 +1186,8 @@ var L = { exports: {} };
671
1186
  key: "isSupported",
672
1187
  value: function() {
673
1188
  var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, $ = !!document.queryCommandSupported;
674
- return y.forEach(function(F) {
675
- $ = $ && !!document.queryCommandSupported(F);
1189
+ return y.forEach(function(K) {
1190
+ $ = $ && !!document.queryCommandSupported(K);
676
1191
  }), $;
677
1192
  }
678
1193
  }]), p;
@@ -682,10 +1197,10 @@ var L = { exports: {} };
682
1197
  if (!!p.hasAttribute(v))
683
1198
  return p.getAttribute(v);
684
1199
  }
685
- t.exports = K;
1200
+ t.exports = L;
686
1201
  },
687
1202
  function(t, r, n) {
688
- var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
1203
+ var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
689
1204
  return typeof u;
690
1205
  } : function(u) {
691
1206
  return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
@@ -765,733 +1280,275 @@ var L = { exports: {} };
765
1280
  }
766
1281
  }, {
767
1282
  key: "clearSelection",
768
- value: function() {
769
- this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
770
- }
771
- }, {
772
- key: "destroy",
773
- value: function() {
774
- this.removeFake();
775
- }
776
- }, {
777
- key: "action",
778
- set: function() {
779
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
780
- if (this._action = d, this._action !== "copy" && this._action !== "cut")
781
- throw new Error('Invalid "action" value, use either "copy" or "cut"');
782
- },
783
- get: function() {
784
- return this._action;
785
- }
786
- }, {
787
- key: "target",
788
- set: function(d) {
789
- if (d !== void 0)
790
- if (d && (typeof d > "u" ? "undefined" : s(d)) === "object" && d.nodeType === 1) {
791
- if (this.action === "copy" && d.hasAttribute("disabled"))
792
- throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
793
- if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
794
- throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
795
- this._target = d;
796
- } else
797
- throw new Error('Invalid "target" value, use a valid Element');
798
- },
799
- get: function() {
800
- return this._target;
801
- }
802
- }]), u;
803
- }();
804
- t.exports = g;
805
- },
806
- function(t, r) {
807
- function n(s) {
808
- var o;
809
- if (s.nodeName === "SELECT")
810
- s.focus(), o = s.value;
811
- else if (s.nodeName === "INPUT" || s.nodeName === "TEXTAREA") {
812
- var a = s.hasAttribute("readonly");
813
- a || s.setAttribute("readonly", ""), s.select(), s.setSelectionRange(0, s.value.length), a || s.removeAttribute("readonly"), o = s.value;
814
- } else {
815
- s.hasAttribute("contenteditable") && s.focus();
816
- var c = window.getSelection(), h = document.createRange();
817
- h.selectNodeContents(s), c.removeAllRanges(), c.addRange(h), o = c.toString();
818
- }
819
- return o;
820
- }
821
- t.exports = n;
822
- },
823
- function(t, r) {
824
- function n() {
825
- }
826
- n.prototype = {
827
- on: function(s, o, a) {
828
- var c = this.e || (this.e = {});
829
- return (c[s] || (c[s] = [])).push({
830
- fn: o,
831
- ctx: a
832
- }), this;
833
- },
834
- once: function(s, o, a) {
835
- var c = this;
836
- function h() {
837
- c.off(s, h), o.apply(a, arguments);
838
- }
839
- return h._ = o, this.on(s, h, a);
840
- },
841
- emit: function(s) {
842
- var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[s] || []).slice(), c = 0, h = a.length;
843
- for (c; c < h; c++)
844
- a[c].fn.apply(a[c].ctx, o);
845
- return this;
846
- },
847
- off: function(s, o) {
848
- var a = this.e || (this.e = {}), c = a[s], h = [];
849
- if (c && o)
850
- for (var b = 0, g = c.length; b < g; b++)
851
- c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
852
- return h.length ? a[s] = h : delete a[s], this;
853
- }
854
- }, t.exports = n;
855
- },
856
- function(t, r, n) {
857
- var s = n(5), o = n(6);
858
- function a(g, u, l) {
859
- if (!g && !u && !l)
860
- throw new Error("Missing required arguments");
861
- if (!s.string(u))
862
- throw new TypeError("Second argument must be a String");
863
- if (!s.fn(l))
864
- throw new TypeError("Third argument must be a Function");
865
- if (s.node(g))
866
- return c(g, u, l);
867
- if (s.nodeList(g))
868
- return h(g, u, l);
869
- if (s.string(g))
870
- return b(g, u, l);
871
- throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
872
- }
873
- function c(g, u, l) {
874
- return g.addEventListener(u, l), {
875
- destroy: function() {
876
- g.removeEventListener(u, l);
877
- }
878
- };
879
- }
880
- function h(g, u, l) {
881
- return Array.prototype.forEach.call(g, function(d) {
882
- d.addEventListener(u, l);
883
- }), {
884
- destroy: function() {
885
- Array.prototype.forEach.call(g, function(d) {
886
- d.removeEventListener(u, l);
887
- });
888
- }
889
- };
890
- }
891
- function b(g, u, l) {
892
- return o(document.body, g, u, l);
893
- }
894
- t.exports = a;
895
- },
896
- function(t, r) {
897
- r.node = function(n) {
898
- return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
899
- }, r.nodeList = function(n) {
900
- var s = Object.prototype.toString.call(n);
901
- return n !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
902
- }, r.string = function(n) {
903
- return typeof n == "string" || n instanceof String;
904
- }, r.fn = function(n) {
905
- var s = Object.prototype.toString.call(n);
906
- return s === "[object Function]";
907
- };
908
- },
909
- function(t, r, n) {
910
- var s = n(7);
911
- function o(h, b, g, u, l) {
912
- var d = c.apply(this, arguments);
913
- return h.addEventListener(g, d, l), {
914
- destroy: function() {
915
- h.removeEventListener(g, d, l);
916
- }
917
- };
918
- }
919
- function a(h, b, g, u, l) {
920
- return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof g == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
921
- return o(d, b, g, u, l);
922
- }));
923
- }
924
- function c(h, b, g, u) {
925
- return function(l) {
926
- l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
927
- };
928
- }
929
- t.exports = a;
930
- },
931
- function(t, r) {
932
- var n = 9;
933
- if (typeof Element < "u" && !Element.prototype.matches) {
934
- var s = Element.prototype;
935
- s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
936
- }
937
- function o(a, c) {
938
- for (; a && a.nodeType !== n; ) {
939
- if (typeof a.matches == "function" && a.matches(c))
940
- return a;
941
- a = a.parentNode;
942
- }
943
- }
944
- t.exports = o;
945
- }
946
- ]);
947
- });
948
- })(L);
949
- const re = /* @__PURE__ */ D(L.exports);
950
- const oe = {
951
- props: {
952
- infoData: {
953
- type: Object,
954
- required: !0
955
- },
956
- isSendEmail: {
957
- type: String,
958
- default: ""
959
- }
960
- },
961
- data() {
962
- return {
963
- visible: !1,
964
- sending: !1,
965
- isSendEmailList: "",
966
- width: "520px",
967
- fullscreen: !1
968
- };
969
- },
970
- computed: {
971
- copyInfo() {
972
- return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
973
- ${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
974
- ${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
975
- ${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
976
- ${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
977
- `;
978
- }
979
- },
980
- methods: {
981
- open(i) {
982
- this.visible = !0, this.isSendEmailList = i;
983
- },
984
- colseCancel() {
985
- this.visible = !1;
986
- },
987
- cmpleteUpgrade() {
988
- const i = new re(".copy-btn");
989
- i.on("success", () => {
990
- this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
991
- }), i.on("error", () => {
992
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
993
- }), setTimeout(() => {
994
- i.destroy();
995
- }, 122);
996
- },
997
- sendingEailm() {
998
- let i = this;
999
- i.sending = !0;
1000
- let e = {
1001
- accountName: i.infoData.account,
1002
- emailAddress: i.infoData.email,
1003
- pcR_Type: 5
1004
- };
1005
- E(e).then((t) => {
1006
- t.success ? (i.sending = !1, i.visible = !1, i.$notify({
1007
- duration: 8e3,
1008
- type: "success",
1009
- title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1010
- dangerouslyUseHTMLString: !0,
1011
- message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1012
- <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1013
- }), i.$emit("sending")) : i.$message.error(i.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
1014
- });
1015
- }
1016
- }
1017
- };
1018
- var ae = function() {
1019
- var e = this, t = e._self._c;
1020
- 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
1021
- e.visible = r;
1022
- }, closed: e.colseCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.$i18nt("gd.user.basicInformation", "\u57FA\u672C\u4FE1\u606F")))])])]), t("el-descriptions", { attrs: { title: "", column: 1, size: "medium" } }, [t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.account", "\u8D26\u53F7") } }, [e._v(e._s(e.infoData.account))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.paw", "\u5BC6\u7801") } }, [e._v(e._s(e.infoData.password))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.name", "\u59D3\u540D") } }, [e._v(e._s(e.infoData.name))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.email", "\u90AE\u7BB1") } }, [e._v(e._s(e.infoData.email))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.phone", "\u624B\u673A") } }, [e._v(e._s(e.infoData.phone))])], 1), t("template", { slot: "footer" }, [t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", "data-clipboard-action": "copy", "data-clipboard-text": e.copyInfo, icon: "el-icon-document-copy" }, on: { click: e.cmpleteUpgrade } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy")) + " ")]), e.isSendEmail == "1" ? t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", loading: e.sending, icon: "el-icon-message" }, on: { click: e.sendingEailm } }, [e._v(" " + e._s(e.$i18nt("gd.email.sending")) + " ")]) : e._e()], 1)], 2);
1023
- }, le = [], de = /* @__PURE__ */ T(
1024
- oe,
1025
- ae,
1026
- le,
1027
- !1,
1028
- null,
1029
- "b6f77ddd",
1030
- null,
1031
- null
1032
- );
1033
- const ce = de.exports;
1034
- const ue = {
1035
- name: "GdUse",
1036
- props: {
1037
- height: {
1038
- type: Number,
1039
- default: 100
1040
- }
1041
- },
1042
- mixins: [G, ne],
1043
- data() {
1044
- return {
1045
- transKey: "gd.btn.add",
1046
- formLoading: !1,
1047
- currentNode: null,
1048
- loading: !0,
1049
- orgTree: [],
1050
- selectedRowKeys: [],
1051
- selectedRows: [],
1052
- queryParam: {},
1053
- defaultProps: {
1054
- children: "children",
1055
- label: "title",
1056
- value: "value"
1283
+ value: function() {
1284
+ this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
1285
+ }
1286
+ }, {
1287
+ key: "destroy",
1288
+ value: function() {
1289
+ this.removeFake();
1290
+ }
1291
+ }, {
1292
+ key: "action",
1293
+ set: function() {
1294
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
1295
+ if (this._action = d, this._action !== "copy" && this._action !== "cut")
1296
+ throw new Error('Invalid "action" value, use either "copy" or "cut"');
1297
+ },
1298
+ get: function() {
1299
+ return this._action;
1300
+ }
1301
+ }, {
1302
+ key: "target",
1303
+ set: function(d) {
1304
+ if (d !== void 0)
1305
+ if (d && (typeof d > "u" ? "undefined" : i(d)) === "object" && d.nodeType === 1) {
1306
+ if (this.action === "copy" && d.hasAttribute("disabled"))
1307
+ throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
1308
+ if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
1309
+ throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
1310
+ this._target = d;
1311
+ } else
1312
+ throw new Error('Invalid "target" value, use a valid Element');
1313
+ },
1314
+ get: function() {
1315
+ return this._target;
1316
+ }
1317
+ }]), u;
1318
+ }();
1319
+ t.exports = g;
1057
1320
  },
1058
- defaultExpandedKeys: "",
1059
- loadData: (i) => I(Object.assign(i, this.getQueryParam)).then((e) => e.data),
1060
- disableBtn: ["\u542F\u7528", "\u505C\u7528"],
1061
- fileList: [],
1062
- needLoad: !1,
1063
- infoData: {},
1064
- isSendEmail: "",
1065
- isSendEmailed: "",
1066
- institutionsShow: !1
1067
- };
1068
- },
1069
- components: {
1070
- UserRoleForm: X,
1071
- EditInstitutions: ie,
1072
- copyInfo: ce
1073
- },
1074
- computed: {
1075
- getQueryParam() {
1076
- let i = /* @__PURE__ */ new Map();
1077
- for (let e in this.queryParam)
1078
- i.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
1079
- return Object.fromEntries(i);
1080
- },
1081
- getFormColumns() {
1082
- return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
1083
- },
1084
- getTableButtons() {
1085
- return this.tableButtons.filter((i) => (i.show = !this.disableBtn.includes(i.displayName), !0));
1086
- },
1087
- getHeight() {
1088
- return this.height;
1089
- },
1090
- styled() {
1091
- return `height:${this.height + 76}px`;
1092
- },
1093
- ...R(["tablePageSize", "tableSize", "labelPosition", "formMode"])
1094
- },
1095
- methods: {
1096
- updateInstitutions() {
1097
- if (this.selectedRowKeys.length === 0) {
1098
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1099
- return;
1100
- }
1101
- if (this.selectedRowKeys.length > 1) {
1102
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1103
- return;
1104
- }
1105
- this.institutionsShow = !0, this.$nextTick(() => {
1106
- setTimeout(() => {
1107
- this.$refs.editInstitutions.open(this.selectedRows[0]);
1108
- }, 0);
1109
- });
1110
- },
1111
- userRole() {
1112
- if (this.selectedRowKeys.length === 0) {
1113
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1114
- return;
1115
- }
1116
- if (this.selectedRowKeys.length > 1) {
1117
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1118
- return;
1119
- }
1120
- this.$refs.userRoleForm.open(this.selectedRows[0]);
1121
- },
1122
- saveQueries(i) {
1123
- this.queryParam = {
1124
- ...i
1125
- }, this.refresh();
1126
- },
1127
- handleFileUpload(i) {
1128
- const e = this.$message({
1129
- message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
1130
- duration: 0,
1131
- iconClass: "el-icon-loading"
1132
- }), t = new FormData();
1133
- t.append("file", i.file), U(t).then((r) => {
1134
- r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
1135
- setTimeout(() => {
1136
- e.close();
1137
- }, 200);
1138
- });
1139
- });
1140
- },
1141
- importUser() {
1142
- this.fileList = [], document.querySelector(".upload-demo").click();
1143
- },
1144
- exportUser() {
1145
- const i = this.$message({
1146
- message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
1147
- duration: 0,
1148
- iconClass: "el-icon-loading"
1149
- });
1150
- A().then((e) => {
1151
- this.downloadfile(e), this.$nextTick(() => {
1152
- setTimeout(() => {
1153
- i.close();
1154
- }, 200);
1155
- });
1156
- }).catch((e) => {
1157
- this.$nextTick(() => {
1158
- setTimeout(() => {
1159
- i.close();
1160
- }, 200);
1161
- });
1162
- });
1163
- },
1164
- enable() {
1165
- this.editStateCodes({
1166
- row: this.selectedRows[0]
1167
- });
1168
- },
1169
- deactivated() {
1170
- this.editStateCodes({
1171
- row: this.selectedRows[0]
1172
- });
1173
- },
1174
- editStateCodes({ column: i, row: e }) {
1175
- const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
1176
- this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1177
- confirmButtonText: r,
1178
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1179
- showClose: !1,
1180
- confirmButtonLoading: !1,
1181
- cancelButtonLoading: !1,
1182
- closeOnClickModal: !1,
1183
- type: "warning",
1184
- confirmButtonClass: "el-button--danger",
1185
- customClass: "custom-alert",
1186
- callback: () => {
1187
- },
1188
- beforeClose: (n, s, o) => {
1189
- if (n !== "confirm") {
1190
- o();
1191
- return;
1321
+ function(t, r) {
1322
+ function n(i) {
1323
+ var o;
1324
+ if (i.nodeName === "SELECT")
1325
+ i.focus(), o = i.value;
1326
+ else if (i.nodeName === "INPUT" || i.nodeName === "TEXTAREA") {
1327
+ var a = i.hasAttribute("readonly");
1328
+ a || i.setAttribute("readonly", ""), i.select(), i.setSelectionRange(0, i.value.length), a || i.removeAttribute("readonly"), o = i.value;
1329
+ } else {
1330
+ i.hasAttribute("contenteditable") && i.focus();
1331
+ var c = window.getSelection(), h = document.createRange();
1332
+ h.selectNodeContents(i), c.removeAllRanges(), c.addRange(h), o = c.toString();
1192
1333
  }
1193
- s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, M({
1194
- id: e.id,
1195
- stateCodes: e.statecodes == 1 ? 0 : 1
1196
- }).then((a) => {
1197
- o(), a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0;
1198
- });
1334
+ return o;
1199
1335
  }
1200
- });
1201
- },
1202
- refresh() {
1203
- this.$refs.table.refresh();
1204
- },
1205
- editForm(i) {
1206
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(
1207
- Object.assign(
1208
- {
1209
- ...i
1336
+ t.exports = n;
1337
+ },
1338
+ function(t, r) {
1339
+ function n() {
1340
+ }
1341
+ n.prototype = {
1342
+ on: function(i, o, a) {
1343
+ var c = this.e || (this.e = {});
1344
+ return (c[i] || (c[i] = [])).push({
1345
+ fn: o,
1346
+ ctx: a
1347
+ }), this;
1210
1348
  },
1211
- {
1212
- gender: String(i.gender),
1213
- orgid: String(i.orgid),
1214
- authtype: i.authtype === null ? "" : String(i.authtype)
1349
+ once: function(i, o, a) {
1350
+ var c = this;
1351
+ function h() {
1352
+ c.off(i, h), o.apply(a, arguments);
1353
+ }
1354
+ return h._ = o, this.on(i, h, a);
1355
+ },
1356
+ emit: function(i) {
1357
+ var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[i] || []).slice(), c = 0, h = a.length;
1358
+ for (c; c < h; c++)
1359
+ a[c].fn.apply(a[c].ctx, o);
1360
+ return this;
1361
+ },
1362
+ off: function(i, o) {
1363
+ var a = this.e || (this.e = {}), c = a[i], h = [];
1364
+ if (c && o)
1365
+ for (var b = 0, g = c.length; b < g; b++)
1366
+ c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
1367
+ return h.length ? a[i] = h : delete a[i], this;
1215
1368
  }
1216
- )
1217
- );
1218
- },
1219
- getOrgTree() {
1220
- C({}).then((i) => {
1221
- if (i.code === 200) {
1222
- const e = (t) => (t = t.filter((r, n) => (r.value = String(r.value), r.children && r.children.length > 0 && (r.children = e(r.children)), !0)), t);
1223
- this.orgTree = e(i.data);
1369
+ }, t.exports = n;
1370
+ },
1371
+ function(t, r, n) {
1372
+ var i = n(5), o = n(6);
1373
+ function a(g, u, l) {
1374
+ if (!g && !u && !l)
1375
+ throw new Error("Missing required arguments");
1376
+ if (!i.string(u))
1377
+ throw new TypeError("Second argument must be a String");
1378
+ if (!i.fn(l))
1379
+ throw new TypeError("Third argument must be a Function");
1380
+ if (i.node(g))
1381
+ return c(g, u, l);
1382
+ if (i.nodeList(g))
1383
+ return h(g, u, l);
1384
+ if (i.string(g))
1385
+ return b(g, u, l);
1386
+ throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
1224
1387
  }
1225
- this.loading = !1;
1226
- });
1227
- },
1228
- handleNodeClick(i) {
1229
- this.queryParam.orgId === i.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
1230
- setTimeout(() => {
1231
- this.$refs.tree.setCurrentKey(null);
1232
- }, 0);
1233
- })) : this.queryParam = Object.assign(
1234
- {
1235
- ...this.queryParam
1236
- },
1237
- {
1238
- orgId: i.id
1388
+ function c(g, u, l) {
1389
+ return g.addEventListener(u, l), {
1390
+ destroy: function() {
1391
+ g.removeEventListener(u, l);
1392
+ }
1393
+ };
1394
+ }
1395
+ function h(g, u, l) {
1396
+ return Array.prototype.forEach.call(g, function(d) {
1397
+ d.addEventListener(u, l);
1398
+ }), {
1399
+ destroy: function() {
1400
+ Array.prototype.forEach.call(g, function(d) {
1401
+ d.removeEventListener(u, l);
1402
+ });
1403
+ }
1404
+ };
1405
+ }
1406
+ function b(g, u, l) {
1407
+ return o(document.body, g, u, l);
1408
+ }
1409
+ t.exports = a;
1410
+ },
1411
+ function(t, r) {
1412
+ r.node = function(n) {
1413
+ return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
1414
+ }, r.nodeList = function(n) {
1415
+ var i = Object.prototype.toString.call(n);
1416
+ return n !== void 0 && (i === "[object NodeList]" || i === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
1417
+ }, r.string = function(n) {
1418
+ return typeof n == "string" || n instanceof String;
1419
+ }, r.fn = function(n) {
1420
+ var i = Object.prototype.toString.call(n);
1421
+ return i === "[object Function]";
1422
+ };
1423
+ },
1424
+ function(t, r, n) {
1425
+ var i = n(7);
1426
+ function o(h, b, g, u, l) {
1427
+ var d = c.apply(this, arguments);
1428
+ return h.addEventListener(g, d, l), {
1429
+ destroy: function() {
1430
+ h.removeEventListener(g, d, l);
1431
+ }
1432
+ };
1239
1433
  }
1240
- ), this.refresh();
1241
- },
1242
- del() {
1243
- if (this.selectedRowKeys.length === 0) {
1244
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
1245
- return;
1246
- }
1247
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1248
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1249
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1250
- showClose: !1,
1251
- confirmButtonLoading: !1,
1252
- cancelButtonLoading: !1,
1253
- closeOnClickModal: !1,
1254
- type: "warning",
1255
- confirmButtonClass: "el-button--danger",
1256
- customClass: "custom-alert",
1257
- callback: () => {
1258
- },
1259
- beforeClose: (i, e, t) => {
1260
- this.delHand(i, e, t);
1434
+ function a(h, b, g, u, l) {
1435
+ return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof g == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
1436
+ return o(d, b, g, u, l);
1437
+ }));
1261
1438
  }
1262
- });
1263
- },
1264
- delHand(i, e, t) {
1265
- if (i !== "confirm") {
1266
- t();
1267
- return;
1268
- }
1269
- let r = [];
1270
- this.selectedRows.forEach((n) => {
1271
- let s = sysOrgDelete(n).then((o) => o);
1272
- r.push(s);
1273
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((n) => {
1274
- t();
1275
- const s = n.filter((o) => !o.success);
1276
- s.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") + s[0].message), this.handleOk(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1277
- });
1278
- },
1279
- add() {
1280
- this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
1281
- },
1282
- edit() {
1283
- if (this.selectedRowKeys.length === 0) {
1284
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1285
- return;
1286
- }
1287
- if (this.selectedRowKeys.length > 1) {
1288
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1289
- return;
1290
- }
1291
- this.editForm(this.selectedRows[0]);
1292
- },
1293
- async sbumit({ data: i, record: e, btn: t }, r, n) {
1294
- this.formLoading = !0;
1295
- let s = e ? j : z;
1296
- if (!e) {
1297
- let o = await this.getUsrePassword();
1298
- Object.assign(i, {
1299
- password: o,
1300
- confirm: o
1301
- });
1302
- }
1303
- s(i).then((o) => {
1304
- this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk(), this.infoData = i, this.sendEmail(e, i)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
1305
- });
1306
- },
1307
- sendEmail(i, e) {
1308
- i || (this.isSendEmail == 1 && this.$notify({
1309
- type: "success",
1310
- title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
1311
- dangerouslyUseHTMLString: !0,
1312
- message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1313
- <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1314
- }), q({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
1315
- t.code == 200 && t.data.value == "1" && setTimeout(() => {
1316
- this.$refs.copyInfo.open(this.copyRule);
1317
- }, 1200);
1318
- }));
1319
- },
1320
- handleOk() {
1321
- this.getOrgTree(), this.$refs.table.refresh();
1322
- },
1323
- onSelectChange(i, e) {
1324
- if (this.selectedRowKeys = i, this.selectedRows = e, i.length === 0) {
1325
- this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1326
- return;
1327
- }
1328
- if (e.length > 1) {
1329
- this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1330
- return;
1439
+ function c(h, b, g, u) {
1440
+ return function(l) {
1441
+ l.delegateTarget = i(l.target, b), l.delegateTarget && u.call(h, l);
1442
+ };
1443
+ }
1444
+ t.exports = a;
1445
+ },
1446
+ function(t, r) {
1447
+ var n = 9;
1448
+ if (typeof Element < "u" && !Element.prototype.matches) {
1449
+ var i = Element.prototype;
1450
+ i.matches = i.matchesSelector || i.mozMatchesSelector || i.msMatchesSelector || i.oMatchesSelector || i.webkitMatchesSelector;
1451
+ }
1452
+ function o(a, c) {
1453
+ for (; a && a.nodeType !== n; ) {
1454
+ if (typeof a.matches == "function" && a.matches(c))
1455
+ return a;
1456
+ a = a.parentNode;
1457
+ }
1458
+ }
1459
+ t.exports = o;
1331
1460
  }
1332
- let t = [], r = e.filter((s) => s.statecodes == 1), n = e.filter((s) => s.statecodes == 0);
1333
- r.length == e.length ? t = ["\u542F\u7528"] : n.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
1334
- },
1335
- downloadfile(i) {
1336
- var e = new Blob([i.data], {
1337
- type: "application/octet-stream;charset=UTF-8"
1338
- }), t = i.headers["content-disposition"];
1339
- const s = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
1340
- var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
1341
- o.style.display = "none", o.href = a, o.download = decodeURI(s.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
1342
- },
1343
- getUsrePassword() {
1344
- return H({}).then((i) => {
1345
- if (i.success)
1346
- return this.combinationRule = i.data.combinationrule.value, this.copyRule = i.data.copyrule.value, this.lengthRule = i.data.lengthrule.value, this.isSendEmail = i.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
1347
- });
1461
+ ]);
1462
+ });
1463
+ })(F);
1464
+ const fe = /* @__PURE__ */ Y(F.exports);
1465
+ const pe = {
1466
+ props: {
1467
+ infoData: {
1468
+ type: Object,
1469
+ required: !0
1348
1470
  },
1349
- getRandomChar(i) {
1350
- return i ? i[Math.floor(Math.random() * i.length)] : "";
1471
+ isSendEmail: {
1472
+ type: String,
1473
+ default: ""
1474
+ }
1475
+ },
1476
+ data() {
1477
+ return {
1478
+ visible: !1,
1479
+ sending: !1,
1480
+ isSendEmailList: "",
1481
+ width: "520px",
1482
+ fullscreen: !1
1483
+ };
1484
+ },
1485
+ computed: {
1486
+ copyInfo() {
1487
+ return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
1488
+ ${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
1489
+ ${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
1490
+ ${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
1491
+ ${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
1492
+ `;
1493
+ }
1494
+ },
1495
+ methods: {
1496
+ open(s) {
1497
+ this.visible = !0, this.isSendEmailList = s;
1351
1498
  },
1352
- mathPasword(i, e) {
1353
- let t = (e.includes("AL"), "abcdefghijklmnopqrstuvwxyz"), r = (e.includes("AL"), "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), n = (e.includes("NU"), "0123456789"), s = (e.includes("SC"), "!@#$%&*^"), o = "", a = [];
1354
- if (s && (a.push(this.getRandomChar(s)), a.push(this.getRandomChar(s))), r && (a.push(this.getRandomChar(r)), a.push(this.getRandomChar(r))), t && (a.push(this.getRandomChar(t)), a.push(this.getRandomChar(t))), n && (a.push(this.getRandomChar(n)), a.push(this.getRandomChar(n))), a.length === 0)
1355
- return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
1356
- a = a.sort(() => Math.random() - 0.5);
1357
- let c = a.join("");
1358
- for (; c.length < i; ) {
1359
- const h = [s, r, t, n].filter((g) => g);
1360
- if (h.length === 0)
1361
- break;
1362
- const b = h[Math.floor(Math.random() * h.length)];
1363
- c += this.getRandomChar(b);
1364
- }
1365
- return o = c.substring(0, i), o;
1499
+ colseCancel() {
1500
+ this.visible = !1;
1366
1501
  },
1367
- resetPwd() {
1368
- if (this.selectedRowKeys.length === 0) {
1369
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
1370
- return;
1371
- }
1372
- if (this.selectedRowKeys.length > 1) {
1373
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1374
- return;
1375
- }
1376
- this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1377
- confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
1378
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1379
- showClose: !1,
1380
- confirmButtonLoading: !1,
1381
- cancelButtonLoading: !1,
1382
- closeOnClickModal: !1,
1383
- type: "warning",
1384
- confirmButtonClass: "el-button--danger",
1385
- customClass: "custom-alert",
1386
- callback: () => {
1387
- },
1388
- beforeClose: (i, e, t) => {
1389
- this.resetPwdHand(i, e, t);
1390
- }
1391
- });
1502
+ cmpleteUpgrade() {
1503
+ const s = new fe(".copy-btn");
1504
+ s.on("success", () => {
1505
+ this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
1506
+ }), s.on("error", () => {
1507
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
1508
+ }), setTimeout(() => {
1509
+ s.destroy();
1510
+ }, 122);
1392
1511
  },
1393
- async resetPwdHand(i, e, t) {
1394
- const r = await this.getUsrePassword();
1395
- let n = this;
1396
- if (i !== "confirm") {
1397
- t();
1398
- return;
1399
- }
1400
- e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
1401
- let s, o = {};
1402
- if (n.isSendEmail == 1 && n.copyRule == 1)
1403
- o = {
1404
- id: n.selectedRows[0].id,
1405
- newPassword: r
1406
- }, s = x;
1407
- else if (n.isSendEmail == 1)
1408
- o = {
1409
- accountName: n.selectedRows[0].account,
1410
- emailAddress: n.selectedRows[0].email,
1411
- pcR_Type: 5
1412
- }, s = E;
1413
- else if (n.copyRule == 1)
1414
- o = {
1415
- id: n.selectedRows[0].id,
1416
- newPassword: r
1417
- }, s = x;
1418
- else {
1419
- this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
1420
- return;
1421
- }
1422
- s(o).then((a) => {
1423
- if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
1424
- let c = {
1425
- account: n.selectedRows[0].account,
1426
- password: r,
1427
- name: n.selectedRows[0].name,
1428
- email: n.selectedRows[0].email,
1429
- phone: n.selectedRows[0].phone
1430
- };
1431
- n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
1432
- duration: 8e3,
1433
- type: "success",
1434
- title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1435
- dangerouslyUseHTMLString: !0,
1436
- message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1437
- <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1438
- }) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
1439
- n.$refs.copyInfo.open(n.isSendEmail);
1440
- }, 500)) : n.refresh();
1441
- } else
1442
- n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
1443
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1512
+ sendingEailm() {
1513
+ let s = this;
1514
+ s.sending = !0;
1515
+ let e = {
1516
+ accountName: s.infoData.account,
1517
+ emailAddress: s.infoData.email,
1518
+ pcR_Type: 5
1519
+ };
1520
+ E(e).then((t) => {
1521
+ t.success ? (s.sending = !1, s.visible = !1, s.$notify({
1522
+ duration: 8e3,
1523
+ type: "success",
1524
+ title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1525
+ dangerouslyUseHTMLString: !0,
1526
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1527
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1528
+ }), s.$emit("sending")) : s.$message.error(s.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
1444
1529
  });
1445
- },
1446
- sending() {
1447
- this.refresh();
1448
- },
1449
- doEvent(i) {
1450
- let e = i.item.functionName;
1451
- this[e] && this[e]();
1452
1530
  }
1453
- },
1454
- created() {
1455
- this.getOrgTree();
1456
1531
  }
1457
1532
  };
1458
- var he = function() {
1533
+ var ge = function() {
1459
1534
  var e = this, t = e._self._c;
1460
- return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("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), t("div", { staticClass: "page-view-list" }, [t("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: "account", fn: function({ column: r, row: n }) {
1461
- return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
1462
- } }, { key: "gender", fn: function(r) {
1463
- return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
1464
- } }, { key: "authtype", fn: function(r) {
1465
- return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("user_auth_type", r.row.authtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("user_auth_type", r.row.authtype)) + " ")])], 1)];
1466
- } }, { key: "statecodes", fn: function(r) {
1467
- return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
1468
- return n.stopPropagation(), e.editStateCodes(r);
1469
- } } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
1470
- } }, { key: "operator", fn: function() {
1471
- return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("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(r) {
1472
- return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
1473
- } }, model: { value: e.queryParam.searchValue, callback: function(r) {
1474
- e.$set(e.queryParam, "searchValue", r);
1475
- }, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
1476
- }, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
1477
- return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
1478
- } }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
1479
- e.institutionsShow = !1;
1480
- } } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("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, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
1481
- }, fe = [], pe = /* @__PURE__ */ T(
1482
- ue,
1483
- he,
1484
- fe,
1535
+ 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, "modal-append-to-body": !0, "append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
1536
+ e.visible = r;
1537
+ }, closed: e.colseCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.$i18nt("gd.user.basicInformation", "\u57FA\u672C\u4FE1\u606F")))])])]), t("el-descriptions", { attrs: { title: "", column: 1, size: "medium" } }, [t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.account", "\u8D26\u53F7") } }, [e._v(e._s(e.infoData.account))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.paw", "\u5BC6\u7801") } }, [e._v(e._s(e.infoData.password))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.name", "\u59D3\u540D") } }, [e._v(e._s(e.infoData.name))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.email", "\u90AE\u7BB1") } }, [e._v(e._s(e.infoData.email))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.phone", "\u624B\u673A") } }, [e._v(e._s(e.infoData.phone))])], 1), t("template", { slot: "footer" }, [t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", "data-clipboard-action": "copy", "data-clipboard-text": e.copyInfo, icon: "el-icon-document-copy" }, on: { click: e.cmpleteUpgrade } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy")) + " ")]), e.isSendEmail == "1" ? t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", loading: e.sending, icon: "el-icon-message" }, on: { click: e.sendingEailm } }, [e._v(" " + e._s(e.$i18nt("gd.email.sending")) + " ")]) : e._e()], 1)], 2);
1538
+ }, me = [], ye = /* @__PURE__ */ T(
1539
+ pe,
1540
+ ge,
1541
+ me,
1485
1542
  !1,
1486
1543
  null,
1487
- "6c55aeb8",
1544
+ "b6f77ddd",
1488
1545
  null,
1489
1546
  null
1490
1547
  );
1491
- const S = pe.exports;
1492
- S.install = function(i) {
1493
- i.component(S.name, S);
1494
- };
1548
+ const be = ye.exports, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1549
+ __proto__: null,
1550
+ default: be
1551
+ }, Symbol.toStringTag, { value: "Module" }));
1495
1552
  export {
1496
1553
  S as G
1497
1554
  };