gds-plus-design-vue 1.2.63 → 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 (403) hide show
  1. package/lib/{addPermission.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
  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.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
  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.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
  16. package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
  17. package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
  18. package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
  19. package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
  22. package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
  23. package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
  24. package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
  25. package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
  26. package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
  27. package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
  30. package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
  31. package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
  32. package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
  35. package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
  36. package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
  37. package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
  38. package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
  39. package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
  40. package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
  41. package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
  42. package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
  43. package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
  44. package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
  47. package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
  48. package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
  49. package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
  50. package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
  53. package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
  56. package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
  57. package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
  58. package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
  59. package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
  60. package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
  61. package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
  62. package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
  63. package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
  64. package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
  69. package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
  70. package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
  71. package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
  72. package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
  73. package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
  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.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
  81. package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
  82. package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
  86. package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
  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.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
  93. package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
  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.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
  103. package/lib/gd-initial.js +1 -1
  104. package/lib/gd-initial.mjs +231 -207
  105. package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
  106. package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
  107. package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
  108. package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
  109. package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
  110. package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
  111. package/lib/http.filedocument.6fdfc693.js +1 -0
  112. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  113. package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
  114. package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
  115. package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
  116. package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
  117. package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
  118. package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
  119. package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
  120. package/lib/http.rolemanage.4d1101dd.js +1 -0
  121. package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
  122. package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
  123. package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
  124. package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
  125. package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
  126. package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
  127. package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
  128. package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
  129. package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
  130. package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
  131. package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
  132. package/lib/index.9deaa991.mjs +25906 -0
  133. package/lib/index.d95c407c.js +8 -0
  134. package/lib/layoutBlocks.26e1b57b.js +1 -0
  135. package/lib/layoutBlocks.31454610.mjs +413 -0
  136. package/lib/layoutItem.c1c836a1.js +1 -0
  137. package/lib/layoutItem.cf18143e.mjs +71 -0
  138. package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
  139. package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
  140. package/lib/main.09d48801.js +1 -0
  141. package/lib/main.28b7c398.js +1 -0
  142. package/lib/main.29e204f9.mjs +166 -0
  143. package/lib/main.33443996.mjs +231 -0
  144. package/lib/main.357c50d2.js +1 -0
  145. package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
  146. package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
  147. package/lib/main.4a38d5f8.js +1 -0
  148. package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
  149. package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
  150. package/lib/main.61c9e5c6.mjs +537 -0
  151. package/lib/main.643d21a0.mjs +552 -0
  152. package/lib/main.64ddb5f6.mjs +189 -0
  153. package/lib/main.728eaf53.js +1 -0
  154. package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
  155. package/lib/main.aea9b6a8.mjs +323 -0
  156. package/lib/main.b7a5a02b.js +1 -0
  157. package/lib/main.c71e5b11.js +1 -0
  158. package/lib/main.edc0b23b.js +1 -0
  159. package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
  160. package/lib/manage.101f1aa9.js +1 -0
  161. package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
  162. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  163. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  164. package/lib/messages.messagetemplate.32273e00.js +7 -0
  165. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  166. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  167. package/lib/messages.sendplan.fbac188d.js +1 -0
  168. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  169. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  170. package/lib/messages.templatelibrary.ec512390.js +2 -0
  171. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  172. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  173. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  174. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  175. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  176. package/lib/moveFile.335ebc8d.js +1 -0
  177. package/lib/moveFile.d71c0824.mjs +276 -0
  178. package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
  179. package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
  180. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  181. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  182. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  183. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  184. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  185. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  186. package/lib/page.designer.operation.6179b661.js +1 -0
  187. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  188. package/lib/page.designer.page.09402332.js +1 -0
  189. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  190. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  191. package/lib/personal.echarts.b7ee86f4.js +1 -0
  192. package/lib/result.0c089066.mjs +639 -0
  193. package/lib/result.9282a717.js +1 -0
  194. package/lib/router.config.68077a12.js +1 -0
  195. package/lib/router.config.86225b11.mjs +1424 -0
  196. package/lib/solution.application.d459e382.js +1 -0
  197. package/lib/solution.application.e0d58df1.mjs +548 -0
  198. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  199. package/lib/solution.applicationmenu.ae295083.js +1 -0
  200. package/lib/solution.approvalflow.436b3502.js +1 -0
  201. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  202. package/lib/solution.dict.acbe9c55.js +1 -0
  203. package/lib/solution.dict.ef98b194.mjs +769 -0
  204. package/lib/solution.menu.5c17348f.mjs +432 -0
  205. package/lib/solution.menu.cca5e1f9.js +1 -0
  206. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  207. package/lib/solution.plugin.f9a8063f.js +1 -0
  208. package/lib/solution.processflow.2692dac6.js +1 -0
  209. package/lib/solution.processflow.c1544b05.mjs +392 -0
  210. package/lib/solution.role.b1ab40dd.mjs +456 -0
  211. package/lib/solution.role.b28c4dbe.js +1 -0
  212. package/lib/solution.webresources.0b51beba.mjs +379 -0
  213. package/lib/solution.webresources.6961cc68.js +1 -0
  214. package/lib/solution.workflow.11e49e25.js +1 -0
  215. package/lib/solution.workflow.c48545d1.mjs +395 -0
  216. package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
  217. package/lib/store.config.556bd56b.js +1 -0
  218. package/lib/style.css +3 -3
  219. package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
  220. package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
  221. package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
  222. package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
  223. package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
  224. package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
  225. package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
  226. package/lib/system.dict.6b000092.js +1 -0
  227. package/lib/system.document.f67c2994.mjs +667 -0
  228. package/lib/system.document.f8fd7af0.js +1 -0
  229. package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
  230. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  231. package/lib/system.email.11ab6f31.js +1 -0
  232. package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
  233. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  234. package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
  235. package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
  236. package/lib/system.file.b9f8320c.js +1 -0
  237. package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
  238. package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
  239. package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
  240. package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
  241. package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
  242. package/lib/system.notice.db26f308.js +1 -0
  243. package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
  244. package/lib/system.noticereceived.84b88b9a.js +1 -0
  245. package/lib/system.onlineuser.985621a6.js +1 -0
  246. package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
  247. package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
  248. package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
  249. package/lib/system.permissions.15e6b8b7.js +1 -0
  250. package/lib/system.permissions.be9238ee.mjs +972 -0
  251. package/lib/system.plugin.0bccfec4.js +1 -0
  252. package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
  253. package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
  254. package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
  255. package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
  256. package/lib/system.promptmanagement.e750de82.js +1 -0
  257. package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
  258. package/lib/system.role.e86b60f1.js +1 -0
  259. package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
  260. package/lib/system.sumberrules.810f7b55.js +1 -0
  261. package/lib/system.team.58ee701b.js +1 -0
  262. package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
  263. package/lib/system.teammembers.1880f962.js +1 -0
  264. package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
  265. package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
  266. package/lib/system.timers.9e956553.js +38 -0
  267. package/lib/system.translation.26b6bb39.js +1 -0
  268. package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
  269. package/lib/system.user.134a3988.js +14 -0
  270. package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
  271. package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
  272. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  273. package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
  274. package/lib/system.webresource.e92e8a8f.js +1 -0
  275. package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
  276. package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
  277. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  278. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  279. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  280. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  281. package/lib/tableDescriptions.a4196776.mjs +80 -0
  282. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  283. package/lib/tcheckboxs.7ea99d35.js +1 -0
  284. package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
  285. package/lib/tcurrency.4afb9192.mjs +85 -0
  286. package/lib/tcurrency.8a2361f2.js +1 -0
  287. package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
  288. package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
  289. package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
  290. package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
  291. package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
  292. package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
  293. package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
  294. package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
  295. package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
  296. package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
  297. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  298. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  299. package/lib/utils.plug.js.9313aead.mjs +31 -0
  300. package/lib/utils.plug.js.f62510ce.js +1 -0
  301. package/lib/utils.util.js.333daba2.mjs +439 -0
  302. package/lib/utils.util.js.c0ba699b.js +1 -0
  303. package/lib/versionControl.46a7f31a.js +1 -0
  304. package/lib/versionControl.c53bfb5d.mjs +488 -0
  305. package/lib/versionEdit.4246d5db.js +1 -0
  306. package/lib/versionEdit.5a8292ec.mjs +452 -0
  307. package/lib/view.build.85732408.mjs +1578 -0
  308. package/lib/view.build.e43a2077.js +1 -0
  309. package/lib/viewList.868edcd7.js +1 -0
  310. package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
  311. package/lib/viewTree.7497ff90.js +1 -0
  312. package/lib/viewTree.bde43a3b.mjs +409 -0
  313. package/locale/en_US.js +45 -6
  314. package/locale/id_ID.js +45 -6
  315. package/locale/vi_VN.js +45 -6
  316. package/locale/zh_CN.js +45 -5
  317. package/package.json +1 -1
  318. package/lib/addPermission.5036013c.js +0 -1
  319. package/lib/approvalModel.66f49dfb.js +0 -1
  320. package/lib/attribute.318f485c.js +0 -1
  321. package/lib/attribute.a06ac9e7.mjs +0 -237
  322. package/lib/buildItem.6a834227.js +0 -1
  323. package/lib/buildItem.fd8634ab.mjs +0 -205
  324. package/lib/businessRules.0e4dbb3a.js +0 -1
  325. package/lib/components.chartbi.b043dcdc.mjs +0 -1729
  326. package/lib/components.chartbi.e4680eaa.js +0 -7
  327. package/lib/components.echarts.e4d6b13e.js +0 -3
  328. package/lib/components.iconselector.d712170f.js +0 -1
  329. package/lib/components.middleware.3bad5748.js +0 -1
  330. package/lib/components.sidenavmenu.b9bb9304.js +0 -1
  331. package/lib/components.tableumy.9cf33062.js +0 -1
  332. package/lib/components.tablevirtual.38d4d3d8.js +0 -1
  333. package/lib/components.viewformdetails.1621bc18.js +0 -1
  334. package/lib/components.viewloading.807bbf68.js +0 -1
  335. package/lib/components.xlsximport.dbd826bb.js +0 -1
  336. package/lib/createFile.6b37ecf2.js +0 -1
  337. package/lib/createFile.82d6e415.mjs +0 -239
  338. package/lib/createSubfolders.47af629c.js +0 -1
  339. package/lib/drawerContainer.604a1271.mjs +0 -146
  340. package/lib/drawerContainer.6a9813ce.js +0 -1
  341. package/lib/fileSearch.65311ded.js +0 -1
  342. package/lib/flow.designer.1ba3a90d.js +0 -1
  343. package/lib/flow.list.4eb10554.js +0 -1
  344. package/lib/form.build.51bd261e.js +0 -1
  345. package/lib/form.designer.build.5a950455.js +0 -1
  346. package/lib/form.designer.build.e521c9c6.mjs +0 -5091
  347. package/lib/formFiled.464856f5.js +0 -1
  348. package/lib/http.filedocument.7c656b91.js +0 -1
  349. package/lib/http.filedocument.d456d26a.mjs +0 -156
  350. package/lib/http.rolemanage.03363732.js +0 -1
  351. package/lib/index.69ad4631.mjs +0 -44291
  352. package/lib/index.cca024bf.js +0 -8
  353. package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
  354. package/lib/layoutBlocks.5e6be06f.js +0 -1
  355. package/lib/main.457f4326.js +0 -1
  356. package/lib/main.4fff412e.js +0 -1
  357. package/lib/main.77373aa4.mjs +0 -441
  358. package/lib/main.c3726602.js +0 -1
  359. package/lib/manage.5bb4f719.js +0 -1
  360. package/lib/messages.7b74736f.js +0 -9
  361. package/lib/messages.ad082386.mjs +0 -4889
  362. package/lib/moveFile.0ce803e0.js +0 -1
  363. package/lib/moveFile.8310ea94.mjs +0 -254
  364. package/lib/personal.echarts.b22fba61.mjs +0 -701
  365. package/lib/personal.echarts.f77bfc9e.js +0 -1
  366. package/lib/result.19351665.mjs +0 -526
  367. package/lib/result.e59c0e40.js +0 -1
  368. package/lib/router.config.2501ec51.js +0 -1
  369. package/lib/router.config.98a73167.mjs +0 -3172
  370. package/lib/solution.58580123.js +0 -1
  371. package/lib/solution.890ff164.mjs +0 -6942
  372. package/lib/store.config.3cb11578.js +0 -1
  373. package/lib/system.dict.f5708400.js +0 -1
  374. package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
  375. package/lib/system.email.070ab2be.js +0 -1
  376. package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
  377. package/lib/system.file.17a7f2ed.js +0 -1
  378. package/lib/system.notice.96c770a6.js +0 -1
  379. package/lib/system.noticereceived.dfe4ecc7.js +0 -1
  380. package/lib/system.onlineuser.e2e39bdc.js +0 -1
  381. package/lib/system.permissions.90f73461.js +0 -9
  382. package/lib/system.permissions.c3d34921.mjs +0 -213
  383. package/lib/system.plugin.b34a3b47.js +0 -1
  384. package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
  385. package/lib/system.role.03be0982.js +0 -1
  386. package/lib/system.sumberrules.bb228fce.js +0 -1
  387. package/lib/system.team.32183b63.js +0 -1
  388. package/lib/system.teammembers.847d8ea7.js +0 -1
  389. package/lib/system.timers.28691ce4.js +0 -38
  390. package/lib/system.translation.6237f071.js +0 -1
  391. package/lib/system.user.fca3f2d6.js +0 -14
  392. package/lib/system.useraffiliation.7547b9c7.js +0 -1
  393. package/lib/system.webresource.12712b90.js +0 -1
  394. package/lib/tcheckboxs.99361be3.js +0 -1
  395. package/lib/tcurrency.0ddac2f8.mjs +0 -92
  396. package/lib/tcurrency.62763c6d.js +0 -1
  397. package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
  398. package/lib/utils.datepicker.js.8576e2fc.js +0 -1
  399. package/lib/utils.util.js.50d1ec9c.js +0 -1
  400. package/lib/utils.util.js.82cd8447.mjs +0 -424
  401. package/lib/view.build.b44fd7d7.js +0 -1
  402. package/lib/view.build.f2a9fcfb.mjs +0 -2727
  403. package/lib/viewList.be5a5ec5.js +0 -1
@@ -1,205 +1,12 @@
1
- import { a as C } from "./http.orgmanage.84e43edb.mjs";
2
- import { k as O, h as N, l as P, m as E, e as B, n as D, o as I, q as U, g as A, c as M, r as q, t as H, v as x } from "./http.usermanage.3e5eff33.mjs";
3
- import { m as R, n as T } from "./components.chartbi.b043dcdc.mjs";
4
- import { t as j } from "./utils.mixins.js.be01e599.mjs";
5
- import { G as z } from "./system.role.75da7929.mjs";
6
- import { c as G, a as Q } from "./components.form.3344c817.mjs";
7
- const V = {
8
- data() {
9
- return {
10
- buttons: [
11
- {
12
- displayName: "\u786E\u5B9A",
13
- functionName: "handleSubmit",
14
- show: !0,
15
- transKey: "gd.btn.confirm",
16
- icon: "el-icon-document-checked"
17
- }
18
- ],
19
- record: {},
20
- visible: !1,
21
- confirmLoading: !1,
22
- fullscreen: !1,
23
- width: "90%",
24
- selectedRowKeys: [],
25
- allRowData: []
26
- };
27
- },
28
- components: { RoleForm: z },
29
- computed: {
30
- height() {
31
- return this.screenHeight - (this.fullscreen ? 160 : 340);
32
- },
33
- ...R(["screenHeight"])
34
- },
35
- methods: {
36
- handleSubmit() {
37
- this.confirmLoading = !0;
38
- let i = [];
39
- i = this.allRowData.filter(
40
- (t) => !this.selectedRowKeys.some((r) => r === t.id)
41
- );
42
- const e = i.map((t) => t.id);
43
- O({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
44
- 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;
45
- });
46
- },
47
- open(i) {
48
- this.confirmLoading = !0, this.record = i, this.visible = !0, N({ id: i.id }).then((e) => {
49
- e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
50
- setTimeout(() => {
51
- this.$refs.roleForm.refresh();
52
- }, 0);
53
- }), this.confirmLoading = !1;
54
- });
55
- },
56
- closed() {
57
- this.fullscreen = !1, this.visible = !1;
58
- },
59
- toggleFullscreen() {
60
- this.fullscreen = !this.fullscreen;
61
- },
62
- onSelectChange(i, e, t) {
63
- this.selectedRowKeys = i, this.allRowData = t.rows;
64
- },
65
- doEvent(i) {
66
- const e = i.item.functionName;
67
- this[e] && this[e]();
68
- }
69
- }
70
- };
71
- var Y = function() {
72
- var e = this, t = e._self._c;
73
- 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) {
74
- e.visible = r;
75
- }, 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);
76
- }, J = [], W = /* @__PURE__ */ T(
77
- V,
78
- Y,
79
- J,
80
- !1,
81
- null,
82
- "117b9c7a",
83
- null,
84
- null
85
- );
86
- const X = W.exports;
87
- const Z = {
88
- data() {
89
- return {
90
- buttons: [
91
- {
92
- displayName: "\u786E\u5B9A",
93
- functionName: "handleSubmit",
94
- show: !0,
95
- transKey: "gd.btn.confirm",
96
- icon: "el-icon-document-checked"
97
- }
98
- ],
99
- record: {},
100
- showForm: !1,
101
- visible: !1,
102
- confirmLoading: !1,
103
- fullscreen: !1,
104
- width: "600px",
105
- orgTree: [],
106
- ruleFormData: {
107
- orgIded: "",
108
- orgId: ""
109
- },
110
- rules: {
111
- orgId: [
112
- {
113
- required: !0,
114
- message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
115
- trigger: "change"
116
- }
117
- ]
118
- }
119
- };
120
- },
121
- methods: {
122
- save() {
123
- let i = this;
124
- this.$confirm(
125
- 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?"),
126
- this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
127
- {
128
- confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
129
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
130
- showClose: !1,
131
- confirmButtonLoading: !1,
132
- cancelButtonLoading: !1,
133
- closeOnClickModal: !1,
134
- type: "warning",
135
- confirmButtonClass: "el-button--danger",
136
- customClass: "custom-alert",
137
- callback: () => {
138
- },
139
- beforeClose: (e, t, r) => {
140
- if (e !== "confirm") {
141
- r();
142
- return;
143
- }
144
- r(), P({ userId: i.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
145
- 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;
146
- });
147
- }
148
- }
149
- );
150
- },
151
- handleSubmit() {
152
- this.confirmLoading = !0, this.$refs.ruleForm.validate((i) => {
153
- i ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
154
- });
155
- },
156
- open(i) {
157
- this.confirmLoading = !0, this.record = i, this.visible = !0, this.showForm = !1, C().then((e) => {
158
- const t = (r) => (r = r.filter((n, s) => (n.id === i.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
159
- this.orgTree = t(e.data), this.ruleFormData = {
160
- orgIded: i.orgid,
161
- orgId: ""
162
- }, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
163
- setTimeout(() => {
164
- this.$refs.ruleForm.clearValidate();
165
- }, 0);
166
- });
167
- });
168
- },
169
- closed() {
170
- this.fullscreen = !1, this.visible = !1, this.$emit("closed");
171
- },
172
- toggleFullscreen() {
173
- this.fullscreen = !this.fullscreen;
174
- },
175
- doEvent(i) {
176
- const e = i.item.functionName;
177
- this[e] && this[e]();
178
- }
179
- }
180
- };
181
- var ee = function() {
182
- var e = this, t = e._self._c;
183
- 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) {
184
- e.visible = r;
185
- }, 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) {
186
- r.preventDefault();
187
- } } }, [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) {
188
- e.$set(e.ruleFormData, "orgIded", r);
189
- }, 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) {
190
- e.$set(e.ruleFormData, "orgId", r);
191
- }, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
192
- }, te = [], se = /* @__PURE__ */ T(
193
- Z,
194
- ee,
195
- te,
196
- !1,
197
- null,
198
- "12675dc5",
199
- null,
200
- null
201
- );
202
- 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 = {
203
10
  data() {
204
11
  return {
205
12
  tableColumns: [
@@ -278,7 +85,7 @@ const ie = se.exports, ne = {
278
85
  slotType: "statecodes",
279
86
  align: "center",
280
87
  dictTypeCode: "state_code",
281
- renderHeader: (i, ...e) => this.renderHeader(i, ...e, {
88
+ renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
282
89
  effectType: "checkbox",
283
90
  dictTypeCode: "state_code"
284
91
  })
@@ -531,122 +338,829 @@ const ie = se.exports, ne = {
531
338
  };
532
339
  }
533
340
  };
534
- var L = { exports: {} };
535
- /*!
536
- * clipboard.js v2.0.4
537
- * https://zenorocha.github.io/clipboard.js
538
- *
539
- * Licensed MIT © Zeno Rocha
540
- */
541
- (function(i, e) {
542
- (function(r, n) {
543
- i.exports = n();
544
- })(G, function() {
545
- return function(t) {
546
- var r = {};
547
- function n(s) {
548
- if (r[s])
549
- return r[s].exports;
550
- var o = r[s] = {
551
- i: s,
552
- l: !1,
553
- exports: {}
554
- };
555
- 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: () => {
556
351
  }
557
- return n.m = t, n.c = r, n.d = function(s, o, a) {
558
- n.o(s, o) || Object.defineProperty(s, o, { enumerable: !0, get: a });
559
- }, n.r = function(s) {
560
- typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
561
- }, n.t = function(s, o) {
562
- if (o & 1 && (s = n(s)), o & 8 || o & 4 && typeof s == "object" && s && s.__esModule)
563
- return s;
564
- var a = /* @__PURE__ */ Object.create(null);
565
- if (n.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: s }), o & 2 && typeof s != "string")
566
- for (var c in s)
567
- n.d(a, c, function(h) {
568
- return s[h];
569
- }.bind(null, c));
570
- return a;
571
- }, n.n = function(s) {
572
- var o = s && s.__esModule ? function() {
573
- return s.default;
574
- } : function() {
575
- return s;
576
- };
577
- return n.d(o, "a", o), o;
578
- }, n.o = function(s, o) {
579
- return Object.prototype.hasOwnProperty.call(s, o);
580
- }, n.p = "", n(n.s = 0);
581
- }([
582
- function(t, r, n) {
583
- var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
584
- return typeof m;
585
- } : function(m) {
586
- return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
587
- }, o = function() {
588
- function m(p, v) {
589
- for (var f = 0; f < v.length; f++) {
590
- var y = v[f];
591
- y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
592
- }
593
- }
594
- return function(p, v, f) {
595
- return v && m(p.prototype, v), f && m(p, f), p;
596
- };
597
- }(), a = n(1), c = l(a), h = n(3), b = l(h), g = n(4), u = l(g);
598
- function l(m) {
599
- return m && m.__esModule ? m : { default: m };
600
- }
601
- function d(m, p) {
602
- if (!(m instanceof p))
603
- throw new TypeError("Cannot call a class as a function");
604
- }
605
- function w(m, p) {
606
- if (!m)
607
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
608
- return p && (typeof p == "object" || typeof p == "function") ? p : m;
609
- }
610
- function _(m, p) {
611
- if (typeof p != "function" && p !== null)
612
- throw new TypeError("Super expression must either be null or a function, not " + typeof p);
613
- 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);
614
- }
615
- var K = function(m) {
616
- _(p, m);
617
- function p(v, f) {
618
- d(this, p);
619
- var y = w(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this));
620
- return y.resolveOptions(f), y.listenClick(v), y;
621
- }
622
- return o(p, [{
623
- key: "resolveOptions",
624
- value: function() {
625
- var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
626
- 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;
627
- }
628
- }, {
629
- key: "listenClick",
630
- value: function(f) {
631
- var y = this;
632
- this.listener = (0, u.default)(f, "click", function($) {
633
- return y.onClick($);
634
- });
635
- }
636
- }, {
637
- key: "onClick",
638
- value: function(f) {
639
- var y = f.delegateTarget || f.currentTarget;
640
- this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new c.default({
641
- action: this.action(y),
642
- target: this.target(y),
643
- text: this.text(y),
644
- container: this.container,
645
- trigger: y,
646
- emitter: this
647
- });
648
- }
649
- }, {
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
+ }, {
650
1164
  key: "defaultAction",
651
1165
  value: function(f) {
652
1166
  return k("action", f);
@@ -672,8 +1186,8 @@ var L = { exports: {} };
672
1186
  key: "isSupported",
673
1187
  value: function() {
674
1188
  var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, $ = !!document.queryCommandSupported;
675
- return y.forEach(function(F) {
676
- $ = $ && !!document.queryCommandSupported(F);
1189
+ return y.forEach(function(K) {
1190
+ $ = $ && !!document.queryCommandSupported(K);
677
1191
  }), $;
678
1192
  }
679
1193
  }]), p;
@@ -683,10 +1197,10 @@ var L = { exports: {} };
683
1197
  if (!!p.hasAttribute(v))
684
1198
  return p.getAttribute(v);
685
1199
  }
686
- t.exports = K;
1200
+ t.exports = L;
687
1201
  },
688
1202
  function(t, r, n) {
689
- var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
1203
+ var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
690
1204
  return typeof u;
691
1205
  } : function(u) {
692
1206
  return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
@@ -766,733 +1280,275 @@ var L = { exports: {} };
766
1280
  }
767
1281
  }, {
768
1282
  key: "clearSelection",
769
- value: function() {
770
- this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
771
- }
772
- }, {
773
- key: "destroy",
774
- value: function() {
775
- this.removeFake();
776
- }
777
- }, {
778
- key: "action",
779
- set: function() {
780
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
781
- if (this._action = d, this._action !== "copy" && this._action !== "cut")
782
- throw new Error('Invalid "action" value, use either "copy" or "cut"');
783
- },
784
- get: function() {
785
- return this._action;
786
- }
787
- }, {
788
- key: "target",
789
- set: function(d) {
790
- if (d !== void 0)
791
- if (d && (typeof d > "u" ? "undefined" : s(d)) === "object" && d.nodeType === 1) {
792
- if (this.action === "copy" && d.hasAttribute("disabled"))
793
- throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
794
- if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
795
- throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
796
- this._target = d;
797
- } else
798
- throw new Error('Invalid "target" value, use a valid Element');
799
- },
800
- get: function() {
801
- return this._target;
802
- }
803
- }]), u;
804
- }();
805
- t.exports = g;
806
- },
807
- function(t, r) {
808
- function n(s) {
809
- var o;
810
- if (s.nodeName === "SELECT")
811
- s.focus(), o = s.value;
812
- else if (s.nodeName === "INPUT" || s.nodeName === "TEXTAREA") {
813
- var a = s.hasAttribute("readonly");
814
- a || s.setAttribute("readonly", ""), s.select(), s.setSelectionRange(0, s.value.length), a || s.removeAttribute("readonly"), o = s.value;
815
- } else {
816
- s.hasAttribute("contenteditable") && s.focus();
817
- var c = window.getSelection(), h = document.createRange();
818
- h.selectNodeContents(s), c.removeAllRanges(), c.addRange(h), o = c.toString();
819
- }
820
- return o;
821
- }
822
- t.exports = n;
823
- },
824
- function(t, r) {
825
- function n() {
826
- }
827
- n.prototype = {
828
- on: function(s, o, a) {
829
- var c = this.e || (this.e = {});
830
- return (c[s] || (c[s] = [])).push({
831
- fn: o,
832
- ctx: a
833
- }), this;
834
- },
835
- once: function(s, o, a) {
836
- var c = this;
837
- function h() {
838
- c.off(s, h), o.apply(a, arguments);
839
- }
840
- return h._ = o, this.on(s, h, a);
841
- },
842
- emit: function(s) {
843
- var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[s] || []).slice(), c = 0, h = a.length;
844
- for (c; c < h; c++)
845
- a[c].fn.apply(a[c].ctx, o);
846
- return this;
847
- },
848
- off: function(s, o) {
849
- var a = this.e || (this.e = {}), c = a[s], h = [];
850
- if (c && o)
851
- for (var b = 0, g = c.length; b < g; b++)
852
- c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
853
- return h.length ? a[s] = h : delete a[s], this;
854
- }
855
- }, t.exports = n;
856
- },
857
- function(t, r, n) {
858
- var s = n(5), o = n(6);
859
- function a(g, u, l) {
860
- if (!g && !u && !l)
861
- throw new Error("Missing required arguments");
862
- if (!s.string(u))
863
- throw new TypeError("Second argument must be a String");
864
- if (!s.fn(l))
865
- throw new TypeError("Third argument must be a Function");
866
- if (s.node(g))
867
- return c(g, u, l);
868
- if (s.nodeList(g))
869
- return h(g, u, l);
870
- if (s.string(g))
871
- return b(g, u, l);
872
- throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
873
- }
874
- function c(g, u, l) {
875
- return g.addEventListener(u, l), {
876
- destroy: function() {
877
- g.removeEventListener(u, l);
878
- }
879
- };
880
- }
881
- function h(g, u, l) {
882
- return Array.prototype.forEach.call(g, function(d) {
883
- d.addEventListener(u, l);
884
- }), {
885
- destroy: function() {
886
- Array.prototype.forEach.call(g, function(d) {
887
- d.removeEventListener(u, l);
888
- });
889
- }
890
- };
891
- }
892
- function b(g, u, l) {
893
- return o(document.body, g, u, l);
894
- }
895
- t.exports = a;
896
- },
897
- function(t, r) {
898
- r.node = function(n) {
899
- return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
900
- }, r.nodeList = function(n) {
901
- var s = Object.prototype.toString.call(n);
902
- return n !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
903
- }, r.string = function(n) {
904
- return typeof n == "string" || n instanceof String;
905
- }, r.fn = function(n) {
906
- var s = Object.prototype.toString.call(n);
907
- return s === "[object Function]";
908
- };
909
- },
910
- function(t, r, n) {
911
- var s = n(7);
912
- function o(h, b, g, u, l) {
913
- var d = c.apply(this, arguments);
914
- return h.addEventListener(g, d, l), {
915
- destroy: function() {
916
- h.removeEventListener(g, d, l);
917
- }
918
- };
919
- }
920
- function a(h, b, g, u, l) {
921
- 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) {
922
- return o(d, b, g, u, l);
923
- }));
924
- }
925
- function c(h, b, g, u) {
926
- return function(l) {
927
- l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
928
- };
929
- }
930
- t.exports = a;
931
- },
932
- function(t, r) {
933
- var n = 9;
934
- if (typeof Element < "u" && !Element.prototype.matches) {
935
- var s = Element.prototype;
936
- s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
937
- }
938
- function o(a, c) {
939
- for (; a && a.nodeType !== n; ) {
940
- if (typeof a.matches == "function" && a.matches(c))
941
- return a;
942
- a = a.parentNode;
943
- }
944
- }
945
- t.exports = o;
946
- }
947
- ]);
948
- });
949
- })(L);
950
- const re = /* @__PURE__ */ Q(L.exports);
951
- const oe = {
952
- props: {
953
- infoData: {
954
- type: Object,
955
- required: !0
956
- },
957
- isSendEmail: {
958
- type: String,
959
- default: ""
960
- }
961
- },
962
- data() {
963
- return {
964
- visible: !1,
965
- sending: !1,
966
- isSendEmailList: "",
967
- width: "520px",
968
- fullscreen: !1
969
- };
970
- },
971
- computed: {
972
- copyInfo() {
973
- return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
974
- ${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
975
- ${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
976
- ${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
977
- ${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
978
- `;
979
- }
980
- },
981
- methods: {
982
- open(i) {
983
- this.visible = !0, this.isSendEmailList = i;
984
- },
985
- colseCancel() {
986
- this.visible = !1;
987
- },
988
- cmpleteUpgrade() {
989
- const i = new re(".copy-btn");
990
- i.on("success", () => {
991
- this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
992
- }), i.on("error", () => {
993
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
994
- }), setTimeout(() => {
995
- i.destroy();
996
- }, 122);
997
- },
998
- sendingEailm() {
999
- let i = this;
1000
- i.sending = !0;
1001
- let e = {
1002
- accountName: i.infoData.account,
1003
- emailAddress: i.infoData.email,
1004
- pcR_Type: 5
1005
- };
1006
- E(e).then((t) => {
1007
- t.success ? (i.sending = !1, i.visible = !1, i.$notify({
1008
- duration: 8e3,
1009
- type: "success",
1010
- title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1011
- dangerouslyUseHTMLString: !0,
1012
- 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>
1013
- <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>`
1014
- }), i.$emit("sending")) : i.$message.error(i.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
1015
- });
1016
- }
1017
- }
1018
- };
1019
- var ae = function() {
1020
- var e = this, t = e._self._c;
1021
- 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) {
1022
- e.visible = r;
1023
- }, 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);
1024
- }, le = [], de = /* @__PURE__ */ T(
1025
- oe,
1026
- ae,
1027
- le,
1028
- !1,
1029
- null,
1030
- "b6f77ddd",
1031
- null,
1032
- null
1033
- );
1034
- const ce = de.exports;
1035
- const ue = {
1036
- name: "GdUse",
1037
- props: {
1038
- height: {
1039
- type: Number,
1040
- default: 100
1041
- }
1042
- },
1043
- mixins: [j, ne],
1044
- data() {
1045
- return {
1046
- transKey: "gd.btn.add",
1047
- formLoading: !1,
1048
- currentNode: null,
1049
- loading: !0,
1050
- orgTree: [],
1051
- selectedRowKeys: [],
1052
- selectedRows: [],
1053
- queryParam: {},
1054
- defaultProps: {
1055
- children: "children",
1056
- label: "title",
1057
- 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;
1058
1320
  },
1059
- defaultExpandedKeys: "",
1060
- loadData: (i) => B(Object.assign(i, this.getQueryParam)).then((e) => e.data),
1061
- disableBtn: ["\u542F\u7528", "\u505C\u7528"],
1062
- fileList: [],
1063
- needLoad: !1,
1064
- infoData: {},
1065
- isSendEmail: "",
1066
- isSendEmailed: "",
1067
- institutionsShow: !1
1068
- };
1069
- },
1070
- components: {
1071
- UserRoleForm: X,
1072
- EditInstitutions: ie,
1073
- copyInfo: ce
1074
- },
1075
- computed: {
1076
- getQueryParam() {
1077
- let i = /* @__PURE__ */ new Map();
1078
- for (let e in this.queryParam)
1079
- i.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
1080
- return Object.fromEntries(i);
1081
- },
1082
- getFormColumns() {
1083
- return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
1084
- },
1085
- getTableButtons() {
1086
- return this.tableButtons.filter((i) => (i.show = !this.disableBtn.includes(i.displayName), !0));
1087
- },
1088
- getHeight() {
1089
- return this.height;
1090
- },
1091
- styled() {
1092
- return `height:${this.height + 76}px`;
1093
- },
1094
- ...R(["tablePageSize", "tableSize", "labelPosition", "formMode"])
1095
- },
1096
- methods: {
1097
- updateInstitutions() {
1098
- if (this.selectedRowKeys.length === 0) {
1099
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1100
- return;
1101
- }
1102
- if (this.selectedRowKeys.length > 1) {
1103
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1104
- return;
1105
- }
1106
- this.institutionsShow = !0, this.$nextTick(() => {
1107
- setTimeout(() => {
1108
- this.$refs.editInstitutions.open(this.selectedRows[0]);
1109
- }, 0);
1110
- });
1111
- },
1112
- userRole() {
1113
- if (this.selectedRowKeys.length === 0) {
1114
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1115
- return;
1116
- }
1117
- if (this.selectedRowKeys.length > 1) {
1118
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1119
- return;
1120
- }
1121
- this.$refs.userRoleForm.open(this.selectedRows[0]);
1122
- },
1123
- saveQueries(i) {
1124
- this.queryParam = {
1125
- ...i
1126
- }, this.refresh();
1127
- },
1128
- handleFileUpload(i) {
1129
- const e = this.$message({
1130
- message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
1131
- duration: 0,
1132
- iconClass: "el-icon-loading"
1133
- }), t = new FormData();
1134
- t.append("file", i.file), D(t).then((r) => {
1135
- 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(() => {
1136
- setTimeout(() => {
1137
- e.close();
1138
- }, 200);
1139
- });
1140
- });
1141
- },
1142
- importUser() {
1143
- this.fileList = [], document.querySelector(".upload-demo").click();
1144
- },
1145
- exportUser() {
1146
- const i = this.$message({
1147
- message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
1148
- duration: 0,
1149
- iconClass: "el-icon-loading"
1150
- });
1151
- I().then((e) => {
1152
- this.downloadfile(e), this.$nextTick(() => {
1153
- setTimeout(() => {
1154
- i.close();
1155
- }, 200);
1156
- });
1157
- }).catch((e) => {
1158
- this.$nextTick(() => {
1159
- setTimeout(() => {
1160
- i.close();
1161
- }, 200);
1162
- });
1163
- });
1164
- },
1165
- enable() {
1166
- this.editStateCodes({
1167
- row: this.selectedRows[0]
1168
- });
1169
- },
1170
- deactivated() {
1171
- this.editStateCodes({
1172
- row: this.selectedRows[0]
1173
- });
1174
- },
1175
- editStateCodes({ column: i, row: e }) {
1176
- 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");
1177
- this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1178
- confirmButtonText: r,
1179
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1180
- showClose: !1,
1181
- confirmButtonLoading: !1,
1182
- cancelButtonLoading: !1,
1183
- closeOnClickModal: !1,
1184
- type: "warning",
1185
- confirmButtonClass: "el-button--danger",
1186
- customClass: "custom-alert",
1187
- callback: () => {
1188
- },
1189
- beforeClose: (n, s, o) => {
1190
- if (n !== "confirm") {
1191
- o();
1192
- 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();
1193
1333
  }
1194
- s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, U({
1195
- id: e.id,
1196
- stateCodes: e.statecodes == 1 ? 0 : 1
1197
- }).then((a) => {
1198
- 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;
1199
- });
1334
+ return o;
1200
1335
  }
1201
- });
1202
- },
1203
- refresh() {
1204
- this.$refs.table.refresh();
1205
- },
1206
- editForm(i) {
1207
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(
1208
- Object.assign(
1209
- {
1210
- ...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;
1211
1348
  },
1212
- {
1213
- gender: String(i.gender),
1214
- orgid: String(i.orgid),
1215
- 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;
1216
1368
  }
1217
- )
1218
- );
1219
- },
1220
- getOrgTree() {
1221
- C({}).then((i) => {
1222
- if (i.code === 200) {
1223
- 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);
1224
- 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");
1225
1387
  }
1226
- this.loading = !1;
1227
- });
1228
- },
1229
- handleNodeClick(i) {
1230
- this.queryParam.orgId === i.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
1231
- setTimeout(() => {
1232
- this.$refs.tree.setCurrentKey(null);
1233
- }, 0);
1234
- })) : this.queryParam = Object.assign(
1235
- {
1236
- ...this.queryParam
1237
- },
1238
- {
1239
- 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
+ };
1240
1433
  }
1241
- ), this.refresh();
1242
- },
1243
- del() {
1244
- if (this.selectedRowKeys.length === 0) {
1245
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
1246
- return;
1247
- }
1248
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1249
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1250
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1251
- showClose: !1,
1252
- confirmButtonLoading: !1,
1253
- cancelButtonLoading: !1,
1254
- closeOnClickModal: !1,
1255
- type: "warning",
1256
- confirmButtonClass: "el-button--danger",
1257
- customClass: "custom-alert",
1258
- callback: () => {
1259
- },
1260
- beforeClose: (i, e, t) => {
1261
- 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
+ }));
1262
1438
  }
1263
- });
1264
- },
1265
- delHand(i, e, t) {
1266
- if (i !== "confirm") {
1267
- t();
1268
- return;
1269
- }
1270
- let r = [];
1271
- this.selectedRows.forEach((n) => {
1272
- let s = sysOrgDelete(n).then((o) => o);
1273
- r.push(s);
1274
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((n) => {
1275
- t();
1276
- const s = n.filter((o) => !o.success);
1277
- 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;
1278
- });
1279
- },
1280
- add() {
1281
- this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
1282
- },
1283
- edit() {
1284
- if (this.selectedRowKeys.length === 0) {
1285
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1286
- return;
1287
- }
1288
- if (this.selectedRowKeys.length > 1) {
1289
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1290
- return;
1291
- }
1292
- this.editForm(this.selectedRows[0]);
1293
- },
1294
- async sbumit({ data: i, record: e, btn: t }, r, n) {
1295
- this.formLoading = !0;
1296
- let s = e ? q : H;
1297
- if (!e) {
1298
- let o = await this.getUsrePassword();
1299
- Object.assign(i, {
1300
- password: o,
1301
- confirm: o
1302
- });
1303
- }
1304
- s(i).then((o) => {
1305
- 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;
1306
- });
1307
- },
1308
- sendEmail(i, e) {
1309
- i || (this.isSendEmail == 1 && this.$notify({
1310
- type: "success",
1311
- title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
1312
- dangerouslyUseHTMLString: !0,
1313
- 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>
1314
- <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>`
1315
- }), A({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
1316
- t.code == 200 && t.data.value == "1" && setTimeout(() => {
1317
- this.$refs.copyInfo.open(this.copyRule);
1318
- }, 1200);
1319
- }));
1320
- },
1321
- handleOk() {
1322
- this.getOrgTree(), this.$refs.table.refresh();
1323
- },
1324
- onSelectChange(i, e) {
1325
- if (this.selectedRowKeys = i, this.selectedRows = e, i.length === 0) {
1326
- this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1327
- return;
1328
- }
1329
- if (e.length > 1) {
1330
- this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1331
- 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;
1332
1460
  }
1333
- let t = [], r = e.filter((s) => s.statecodes == 1), n = e.filter((s) => s.statecodes == 0);
1334
- r.length == e.length ? t = ["\u542F\u7528"] : n.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
1335
- },
1336
- downloadfile(i) {
1337
- var e = new Blob([i.data], {
1338
- type: "application/octet-stream;charset=UTF-8"
1339
- }), t = i.headers["content-disposition"];
1340
- const s = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
1341
- var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
1342
- 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);
1343
- },
1344
- getUsrePassword() {
1345
- return M({}).then((i) => {
1346
- if (i.success)
1347
- 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);
1348
- });
1461
+ ]);
1462
+ });
1463
+ })(F);
1464
+ const fe = /* @__PURE__ */ Y(F.exports);
1465
+ const pe = {
1466
+ props: {
1467
+ infoData: {
1468
+ type: Object,
1469
+ required: !0
1349
1470
  },
1350
- getRandomChar(i) {
1351
- 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;
1352
1498
  },
1353
- mathPasword(i, e) {
1354
- let t = (e.includes("AL"), "abcdefghijklmnopqrstuvwxyz"), r = (e.includes("AL"), "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), n = (e.includes("NU"), "0123456789"), s = (e.includes("SC"), "!@#$%&*^"), o = "", a = [];
1355
- 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)
1356
- return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
1357
- a = a.sort(() => Math.random() - 0.5);
1358
- let c = a.join("");
1359
- for (; c.length < i; ) {
1360
- const h = [s, r, t, n].filter((g) => g);
1361
- if (h.length === 0)
1362
- break;
1363
- const b = h[Math.floor(Math.random() * h.length)];
1364
- c += this.getRandomChar(b);
1365
- }
1366
- return o = c.substring(0, i), o;
1499
+ colseCancel() {
1500
+ this.visible = !1;
1367
1501
  },
1368
- resetPwd() {
1369
- if (this.selectedRowKeys.length === 0) {
1370
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
1371
- return;
1372
- }
1373
- if (this.selectedRowKeys.length > 1) {
1374
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1375
- return;
1376
- }
1377
- this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1378
- confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
1379
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1380
- showClose: !1,
1381
- confirmButtonLoading: !1,
1382
- cancelButtonLoading: !1,
1383
- closeOnClickModal: !1,
1384
- type: "warning",
1385
- confirmButtonClass: "el-button--danger",
1386
- customClass: "custom-alert",
1387
- callback: () => {
1388
- },
1389
- beforeClose: (i, e, t) => {
1390
- this.resetPwdHand(i, e, t);
1391
- }
1392
- });
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);
1393
1511
  },
1394
- async resetPwdHand(i, e, t) {
1395
- const r = await this.getUsrePassword();
1396
- let n = this;
1397
- if (i !== "confirm") {
1398
- t();
1399
- return;
1400
- }
1401
- e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
1402
- let s, o = {};
1403
- if (n.isSendEmail == 1 && n.copyRule == 1)
1404
- o = {
1405
- id: n.selectedRows[0].id,
1406
- newPassword: r
1407
- }, s = x;
1408
- else if (n.isSendEmail == 1)
1409
- o = {
1410
- accountName: n.selectedRows[0].account,
1411
- emailAddress: n.selectedRows[0].email,
1412
- pcR_Type: 5
1413
- }, s = E;
1414
- else if (n.copyRule == 1)
1415
- o = {
1416
- id: n.selectedRows[0].id,
1417
- newPassword: r
1418
- }, s = x;
1419
- else {
1420
- this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
1421
- return;
1422
- }
1423
- s(o).then((a) => {
1424
- if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
1425
- let c = {
1426
- account: n.selectedRows[0].account,
1427
- password: r,
1428
- name: n.selectedRows[0].name,
1429
- email: n.selectedRows[0].email,
1430
- phone: n.selectedRows[0].phone
1431
- };
1432
- n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
1433
- duration: 8e3,
1434
- type: "success",
1435
- title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1436
- dangerouslyUseHTMLString: !0,
1437
- 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>
1438
- <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>`
1439
- }) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
1440
- n.$refs.copyInfo.open(n.isSendEmail);
1441
- }, 500)) : n.refresh();
1442
- } else
1443
- n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
1444
- 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);
1445
1529
  });
1446
- },
1447
- sending() {
1448
- this.refresh();
1449
- },
1450
- doEvent(i) {
1451
- let e = i.item.functionName;
1452
- this[e] && this[e]();
1453
1530
  }
1454
- },
1455
- created() {
1456
- this.getOrgTree();
1457
1531
  }
1458
1532
  };
1459
- var he = function() {
1533
+ var ge = function() {
1460
1534
  var e = this, t = e._self._c;
1461
- 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 }) {
1462
- return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
1463
- } }, { key: "gender", fn: function(r) {
1464
- 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)];
1465
- } }, { key: "authtype", fn: function(r) {
1466
- 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)];
1467
- } }, { key: "statecodes", fn: function(r) {
1468
- return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
1469
- return n.stopPropagation(), e.editStateCodes(r);
1470
- } } }, [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" } })])];
1471
- } }, { key: "operator", fn: function() {
1472
- 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) {
1473
- return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
1474
- } }, model: { value: e.queryParam.searchValue, callback: function(r) {
1475
- e.$set(e.queryParam, "searchValue", r);
1476
- }, 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)])];
1477
- }, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
1478
- return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
1479
- } }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
1480
- e.institutionsShow = !1;
1481
- } } }) : 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);
1482
- }, fe = [], pe = /* @__PURE__ */ T(
1483
- ue,
1484
- he,
1485
- 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,
1486
1542
  !1,
1487
1543
  null,
1488
- "6c55aeb8",
1544
+ "b6f77ddd",
1489
1545
  null,
1490
1546
  null
1491
1547
  );
1492
- const S = pe.exports;
1493
- S.install = function(i) {
1494
- i.component(S.name, S);
1495
- };
1548
+ const be = ye.exports, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1549
+ __proto__: null,
1550
+ default: be
1551
+ }, Symbol.toStringTag, { value: "Module" }));
1496
1552
  export {
1497
1553
  S as G
1498
1554
  };