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,441 +0,0 @@
1
- import { m as k, n as v } from "./components.chartbi.b043dcdc.mjs";
2
- import { t as F } from "./utils.mixins.js.be01e599.mjs";
3
- import { C as S, c as y } from "./view.build.f2a9fcfb.mjs";
4
- import T from "./components.imgpreview.57290b54.mjs";
5
- import { f as _, U as $ } from "./http.main.40657f51.mjs";
6
- import "./utils.echarts.js.d1bb8ac6.mjs";
7
- import "./utils.util.js.82cd8447.mjs";
8
- import "./components.table.e3e5e3bc.mjs";
9
- import "vue";
10
- import "./utils.datepicker.js.2076c2a2.mjs";
11
- import "./components.form.3344c817.mjs";
12
- import "./http.filemanage.c0de21d6.mjs";
13
- import "./components.iconselector.8caabeaa.mjs";
14
- import "./page.build.685c1e15.mjs";
15
- import "./form.designer.build.e521c9c6.mjs";
16
- import "./http.codegeneratemanage.2f925b10.mjs";
17
- import "./http.duplicatechecking.31964ce7.mjs";
18
- import "./http.menumanage.3240ba0d.mjs";
19
- import "./http.tabledevelopment.1d370398.mjs";
20
- import "./components.xlsxexport.d98572f8.mjs";
21
- import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
22
- import "./components.coloreditor.044983d2.mjs";
23
- import "./components.xlsximport.cffa88fe.mjs";
24
- import "./components.teamsharing.fb4351ec.mjs";
25
- import "./components.dataassign.56632583.mjs";
26
- import "./components.statuschange.15938660.mjs";
27
- const C = {
28
- data() {
29
- return {
30
- tableColumns: [
31
- {
32
- transKey: "gd.duplicatechecking.name",
33
- prop: "name",
34
- label: "\u540D\u79F0",
35
- type: "slot",
36
- slotType: "name",
37
- align: "left",
38
- fixed: !0,
39
- showOverflowTooltip: !0
40
- }
41
- ],
42
- formColumns: [],
43
- tableButtons: [],
44
- formButtons: [{
45
- displayName: "\u4FDD\u5B58",
46
- functionName: "handleSubmit",
47
- show: !0,
48
- transKey: "gd.btn.save",
49
- icon: "el-icon-document-checked",
50
- validate: !0
51
- }],
52
- tableQueries: []
53
- };
54
- }
55
- };
56
- const D = {
57
- name: "Gdduplicate",
58
- mixins: [F, C],
59
- props: {
60
- height: {
61
- type: Number,
62
- default: 100
63
- }
64
- },
65
- data() {
66
- return {
67
- statu: !1,
68
- currentImg: "",
69
- imgList: [],
70
- selectedRowKeys: [],
71
- selectedRows: [],
72
- confirmLoading: !0,
73
- fullScreen: !1,
74
- width: "80%",
75
- tableData: {},
76
- newtableData: [],
77
- visible: !1,
78
- sysViewButtons: [
79
- {
80
- displayName: "\u4FDD\u5B58",
81
- functionName: "handleSubmit",
82
- show: !1,
83
- transKey: "gd.btn.save",
84
- icon: "el-icon-document-checked"
85
- }
86
- ],
87
- loadData: (t) => new Promise((e, s) => {
88
- e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: this.newtableData });
89
- }),
90
- tableDataduplic: (t) => new Promise((e, s) => {
91
- const a = this.tables[this.selectedTable].table || [];
92
- setTimeout(() => {
93
- e({ pageNo: 1, pageSize: 40, totalRows: a.totalrows, rows: a.rows });
94
- }, 150);
95
- }),
96
- queryParam: {},
97
- tables: {},
98
- selectedTable: "",
99
- sysViewFields: [],
100
- columns: [],
101
- objdata: {},
102
- newformdata: {},
103
- isshowtable: !0
104
- };
105
- },
106
- components: {
107
- ChildRenItem: S,
108
- ImgPreview: T
109
- },
110
- computed: {
111
- getHeight() {
112
- const t = this.fullScreen ? 292 : 443;
113
- return this.screenHeight - t;
114
- },
115
- sysviewfields() {
116
- var s;
117
- return [...((s = this.tables[this.selectedTable]) == null ? void 0 : s.viewfields) || []].sort((a, o) => a.order - o.order);
118
- },
119
- getColumnsed() {
120
- return this.columns.filter((e) => e.prop !== "name");
121
- },
122
- newgetColumnsed() {
123
- return this.newcolumns.filter((e) => e.prop !== "name");
124
- },
125
- getFristColumn() {
126
- const t = this.columns.filter((e) => e.type !== "selection" && e.checked)[0];
127
- return t || {};
128
- },
129
- newgetFristColumn() {
130
- const t = this.newcolumns.filter((e) => e.type !== "selection" && e.checked)[0];
131
- return t || {};
132
- },
133
- ...k(["screenHeight", "tablePageSize", "tableSize", "labelPosition", "formMode"])
134
- },
135
- methods: {
136
- toggleFullscreen() {
137
- this.fullScreen = !this.fullScreen;
138
- },
139
- init(t, e, s, a) {
140
- this.tableData = t, this.tableData.issave ? this.sysViewButtons = [
141
- {
142
- displayName: "\u4FDD\u5B58",
143
- functionName: "handleSubmit",
144
- show: !0,
145
- transKey: "gd.btn.save",
146
- icon: "el-icon-document-checked"
147
- }
148
- ] : this.sysViewButtons = [];
149
- const o = Object.entries(JSON.parse(JSON.stringify(t.data))).sort((i, d) => d[1].table.rows.length - i[1].table.rows.length).reduce((i, [d, m]) => (i[d] = m, i), {});
150
- this.tables = o, this.selectedTable = Object.keys(this.tables)[0], this.newformdata = e, this.newtableData = [Object.assign({ ...e }, { ...s.newdata })], this.objdata = s;
151
- let n = [], u = [], r = 0;
152
- this.sysviewfields.forEach((i, d) => {
153
- var f;
154
- const m = String(i.id);
155
- let l = y(i, d, 0);
156
- r === 0 && l && l.checked && (Object.assign(l, {
157
- type: "slot",
158
- slotType: l.prop
159
- }), r += 1), l && Object.assign(l, {
160
- type: "slot",
161
- slotType: l.prop,
162
- dictTypeList: (f = i == null ? void 0 : i.syscodegenconfig) != null && f.dicttypecode ? this.getDictionary(i.syscodegenconfig.dicttypecode) : []
163
- }), n.push(l);
164
- let w = {
165
- name: i.alias == "" ? i.columncomment : i.alias,
166
- width: Number(i.num),
167
- order: d,
168
- type: m.length > 1 ? 2 : 1,
169
- fieldid: m,
170
- jointableid: i.codegenid,
171
- joinfieldid: m,
172
- orderconfig: i.orderconfig ? 1 : 0,
173
- maxtagcount: i.maxtagcount ? Number(i.maxtagcount) : 2
174
- };
175
- u.push(w);
176
- }), this.sysViewFields = [...u], this.columns = [...n];
177
- let g = [], h = [], p = 0;
178
- [...this.tableData.mainfields].sort((i, d) => i.order - d.order).forEach((i, d) => {
179
- var f;
180
- const m = String(i.id);
181
- let l = y(i, d, 0);
182
- p === 0 && l && l.checked && (Object.assign(l, {
183
- type: "slot",
184
- slotType: l.prop
185
- }), p += 1), l && Object.assign(l, {
186
- type: "slot",
187
- slotType: l.prop,
188
- dictTypeList: (f = i == null ? void 0 : i.syscodegenconfig) != null && f.dicttypecode ? this.getDictionary(i.syscodegenconfig.dicttypecode) : []
189
- }), g.push(l);
190
- let w = {
191
- name: i.alias == "" ? i.columncomment : i.alias,
192
- width: Number(i.num),
193
- order: d,
194
- type: m.length > 1 ? 2 : 1,
195
- fieldid: m,
196
- jointableid: i.codegenid,
197
- joinfieldid: m,
198
- orderconfig: i.orderconfig ? 1 : 0,
199
- maxtagcount: i.maxtagcount ? Number(i.maxtagcount) : 2
200
- };
201
- h.push(w);
202
- }), this.newsysViewFields = [...h], this.newcolumns = [...g], this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0;
203
- },
204
- getDictionary(t) {
205
- return this.$options.filters.dictData(t);
206
- },
207
- handleSubmit() {
208
- this.objdata.data.id ? this.objdata.fucedit(this.objdata).then((t) => {
209
- this.handleCancel();
210
- }).catch((t) => {
211
- this.$message.error(t.message);
212
- }) : this.objdata.fucadd(this.objdata).then((t) => {
213
- this.handleCancel();
214
- }).catch((t) => {
215
- this.$message.error(t.message);
216
- });
217
- },
218
- handleCancel() {
219
- this.visible = !1, this.confirmLoading = !1, this.tableData = {}, this.tables = {}, this.selectedTable = "", this.newtableData = [], this.sysViewFields = [], this.columns = [], this.newformdata = {};
220
- },
221
- doEvent(t) {
222
- console.log(t);
223
- let e = t.item.functionName;
224
- this[e]();
225
- },
226
- refresh() {
227
- this.$refs.table.refresh();
228
- },
229
- editForm(t) {
230
- this.$refs.middleware.init({
231
- tableId: this.newformdata.tableId,
232
- data: [t]
233
- }).then((e) => {
234
- setTimeout(() => {
235
- this.statu = !1;
236
- }, 1e3);
237
- });
238
- },
239
- selectTable(t) {
240
- this.isshowtable = !1, this.selectedTable = t, this.$nextTick(() => {
241
- let e = [], s = [], a = 0;
242
- this.sysviewfields.forEach((o, n) => {
243
- const u = String(o.id);
244
- let r = y(o, n, 0);
245
- a === 0 && r && r.checked && (Object.assign(r, {
246
- type: "slot",
247
- slotType: r.prop
248
- }), a += 1), r && Object.assign(r, {
249
- type: "slot",
250
- slotType: r.prop
251
- }), e.push(r);
252
- let g = {
253
- name: o.alias == "" ? o.columncomment : o.alias,
254
- width: Number(o.num),
255
- order: n,
256
- type: u.length > 1 ? 2 : 1,
257
- fieldid: u,
258
- jointableid: o.codegenid,
259
- joinfieldid: u,
260
- orderconfig: o.orderconfig ? 1 : 0,
261
- maxtagcount: o.maxtagcount ? Number(o.maxtagcount) : 2
262
- };
263
- s.push(g);
264
- }), this.sysViewFields = [...s], this.columns = [...e], this.isshowtable = !0;
265
- }), this.refresh();
266
- },
267
- operatorScope(t, e) {
268
- const s = t.sourceFk !== void 0 ? t.sourceFk : !(t.fieldType != "fk" && t.fieldType != "about" && t.fieldType != "user");
269
- if (this.getFristColumn.prop === t.prop && !s) {
270
- this.changeQuickView(e);
271
- return;
272
- }
273
- s && this.baseQuickForm(e, t);
274
- },
275
- changeQuickView(t) {
276
- if (this.statu)
277
- return;
278
- this.statu = !0;
279
- const e = this.$message({
280
- message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
281
- duration: 0,
282
- iconClass: "el-icon-loading"
283
- });
284
- this.$refs.middleware.init({
285
- tableId: this.newformdata.tableId,
286
- data: [t]
287
- }).then((s) => {
288
- setTimeout(() => {
289
- this.statu = !1;
290
- }, 1e3), e.close();
291
- });
292
- },
293
- baseQuickAbout(t, e) {
294
- this.statu = !0;
295
- const s = this.$message({
296
- message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
297
- duration: 0,
298
- iconClass: "el-icon-loading"
299
- });
300
- _({
301
- tableId: this.newformdata.tableId,
302
- id: t.id
303
- }).then((a) => {
304
- if (a.success) {
305
- let o = e.prop + "_AboutTable", n = {
306
- data: t,
307
- item: Object.assign(e, {
308
- fkEntityName: a.data[0][o]
309
- })
310
- };
311
- this.baseQuickFk(n, s);
312
- } else
313
- s.close(), setTimeout(() => {
314
- this.statu = !1;
315
- }, 1e3), this.$nextTick(() => {
316
- setTimeout(() => {
317
- this.$message.error(a.message);
318
- }, 0);
319
- });
320
- });
321
- },
322
- baseQuickForm(t, e) {
323
- if (!this.statu) {
324
- if (e.fieldType == "about") {
325
- this.baseQuickAbout(t, e);
326
- return;
327
- }
328
- this.baseQuickFk({ data: t, item: e });
329
- }
330
- },
331
- baseQuickFk(t, e) {
332
- let s = e;
333
- t.item.fieldType != "about" && (this.statu = !0, s = this.$message({
334
- message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
335
- duration: 0,
336
- iconClass: "el-icon-loading"
337
- }));
338
- let a = {
339
- thisTableName: this.objdata.tableDetails.tablename,
340
- thisIdValue: t.data.id,
341
- thisFiled: t.item.columnName,
342
- fkTable: t.item.fkEntityName
343
- };
344
- $(a).then((o) => {
345
- o.success ? this.$refs.middleware.init(
346
- Object.assign(o.data, {
347
- fieldType: t.item.fieldType
348
- })
349
- ).then((n) => {
350
- setTimeout(() => {
351
- this.statu = !1;
352
- }, 1e3), s.close();
353
- }) : (s.close(), setTimeout(() => {
354
- this.statu = !1;
355
- }, 1e3), this.$nextTick(() => {
356
- setTimeout(() => {
357
- this.$message.error(o.message);
358
- }, 0);
359
- }));
360
- });
361
- },
362
- showFile(t, e) {
363
- const s = e[t.prop];
364
- let a = s;
365
- typeof s == "string" && (a = JSON.parse(s));
366
- let o = e.name !== void 0 ? e.name : c.title, n = new JSZip(), u = [], r = {};
367
- a.forEach((h) => {
368
- let p = this.getFileBlob(h).then((b) => {
369
- n.file(h.FileOriginName, b, {
370
- binary: !0
371
- }), r[h.FileOriginName] = b;
372
- });
373
- u.push(p);
374
- });
375
- const g = this.$message({
376
- message: this.$i18nt("gd.https.downloadingFiles", "\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),
377
- duration: 0,
378
- iconClass: "el-icon-loading"
379
- });
380
- Promise.all(u).then(() => {
381
- n.generateAsync({
382
- type: "blob"
383
- }).then((h) => {
384
- FileSaver.saveAs(h, o);
385
- }), g.close();
386
- }).catch((h) => {
387
- g.close(), this.$message.error("err!");
388
- });
389
- },
390
- getFileBlob(t) {
391
- return sysFileInfoDownload({
392
- id: t.Id
393
- }).then((e) => e.data);
394
- },
395
- showImg(t, e, s) {
396
- console.log(e), this.imgList = e, this.currentImg = s || list[0], this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open();
397
- }
398
- }
399
- };
400
- var N = function() {
401
- var e = this, s = e._self._c;
402
- return s("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, footer: null, top: "80px", "append-to-body": "", fullscreen: e.fullScreen, "show-close": !1 }, on: { "update:visible": function(a) {
403
- e.visible = a;
404
- }, closed: e.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.duplicatechecking.duplicateDetected", "\u68C0\u6D4B\u5230\u91CD\u590D\u4FE1\u606F"), fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), e.visible ? s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", [s("el-alert", { staticStyle: { "margin-top": "0" }, attrs: { title: e.$i18nt(
405
- "gd.duplicatechecking.recordPleaseCheckSaveRecord",
406
- "\u8BB0\u5F55\u53EF\u80FD\u4E0E\u67D0\u4E2A\u73B0\u6709\u8BB0\u5F55\u91CD\u590D\u3002\u8BF7\u68C0\u67E5\u53EF\u80FD\u91CD\u590D\u7684\u9879\u5E76\u51B3\u5B9A\u662F\u5426\u4ECD\u8981\u4FDD\u5B58\u6B64\u8BB0\u5F55\u3002"
407
- ), "show-icon": "", type: "warning", closable: !1 } }), s("div", [s("gd-tables", { attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.newcolumns, showPagination: !1, disabledRefresh: !0 }, scopedSlots: e._u([{ key: "operator", fn: function() {
408
- return [s("div", { staticClass: "active-color", staticStyle: { "font-size": "16px", "font-weight": "500" } }, [e._v(" " + e._s(e.$i18nt("gd.duplicatechecking.myNewRecord", "\u6211\u7684\u65B0\u8BB0\u5F55")) + " ")])];
409
- }, proxy: !0 }, { key: "name", fn: function({ column: a, row: o }) {
410
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: o, highlight: "" }, on: { click: e.editForm } })];
411
- } }, e._l(e.newgetColumnsed, function(a) {
412
- return { key: a.prop, fn: function({ column: o, row: n }) {
413
- return [s("ChildRenItem", { attrs: { item: a, row: n, getFristColumn: e.newgetFristColumn }, on: { operatorScope: e.operatorScope, baseQuickForm: e.baseQuickForm, showFile: e.showFile, showImg: e.showImg } })];
414
- } };
415
- })], null, !0) })], 1), s("div", [e.isshowtable ? s("gd-tables", { ref: "table", attrs: { dataSource: e.tableDataduplic, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, disabledRefresh: !0, height: e.getHeight, showPagination: !1 }, scopedSlots: e._u([{ key: "operator", fn: function() {
416
- return [s("div", { staticStyle: { "align-items": "center", display: "flex" } }, [s("span", { staticStyle: { flex: "1", color: "#e6a23c", "font-size": "16px", "font-weight": "500" } }, [e._v(" " + e._s(e.$i18nt("gd.duplicatechecking.possibleDuplicateRecords", "\u53EF\u80FD\u91CD\u590D\u7684\u8BB0\u5F55")) + " ")]), s("el-select", { ref: "refTable", staticStyle: { width: "260px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: e.selectTable }, model: { value: e.selectedTable, callback: function(a) {
417
- e.selectedTable = a;
418
- }, expression: "selectedTable" } }, e._l(e.tables, function(a, o) {
419
- return s("el-option", { key: o, attrs: { label: e.$i18nt(`Dynamics.${a.transkey}`, o) + " (" + a.table.rows.length + ")", value: o } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, o)) + "(" + e._s(a.table.rows.length) + ") ")]);
420
- }), 1)], 1)];
421
- }, proxy: !0 }, { key: "name", fn: function({ column: a, row: o }) {
422
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: o, highlight: "" }, on: { click: e.editForm } })];
423
- } }, e._l(e.getColumnsed, function(a) {
424
- return { key: a.prop, fn: function({ column: o, row: n }) {
425
- return [s("ChildRenItem", { attrs: { item: a, row: n, getFristColumn: e.getFristColumn }, on: { operatorScope: e.operatorScope, baseQuickForm: e.baseQuickForm, showFile: e.showFile, showImg: e.showImg } })];
426
- } };
427
- })], null, !0) }) : e._e()], 1)], 1)]) : e._e(), s("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } }), s("gd-middleware", { ref: "middleware", on: { ok: e.refresh } })], 1);
428
- }, j = [], x = /* @__PURE__ */ v(
429
- D,
430
- N,
431
- j,
432
- !1,
433
- null,
434
- "5d3388f6",
435
- null,
436
- null
437
- );
438
- const ae = x.exports;
439
- export {
440
- ae as default
441
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("./components.chartbi.e4680eaa.js"),k=require("./utils.mixins.js.750ca50e.js"),b=require("./view.build.b44fd7d7.js"),F=require("./components.imgpreview.86bf7971.js"),v=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.50d1ec9c.js");require("./components.table.17c02054.js");require("vue");require("./utils.datepicker.js.8576e2fc.js");require("./components.form.91d5ed3e.js");require("./http.filemanage.7e6e3e1a.js");require("./components.iconselector.d712170f.js");require("./page.build.846096e6.js");require("./form.designer.build.5a950455.js");require("./http.codegeneratemanage.aecadd5d.js");require("./http.duplicatechecking.ee5c414c.js");require("./http.menumanage.6d740f2c.js");require("./http.tabledevelopment.a880bb76.js");require("./components.xlsxexport.f5ace2cd.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./components.coloreditor.779a9419.js");require("./components.xlsximport.dbd826bb.js");require("./components.teamsharing.05503821.js");require("./components.dataassign.1853ed5c.js");require("./components.statuschange.ed1218a4.js");const S={data(){return{tableColumns:[{transKey:"gd.duplicatechecking.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0}],formColumns:[],tableButtons:[],formButtons:[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!0,transKey:"gd.btn.save",icon:"el-icon-document-checked",validate:!0}],tableQueries:[]}}};const T={name:"Gdduplicate",mixins:[k.tablesFilter,S],props:{height:{type:Number,default:100}},data(){return{statu:!1,currentImg:"",imgList:[],selectedRowKeys:[],selectedRows:[],confirmLoading:!0,fullScreen:!1,width:"80%",tableData:{},newtableData:[],visible:!1,sysViewButtons:[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!1,transKey:"gd.btn.save",icon:"el-icon-document-checked"}],loadData:t=>new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:this.newtableData})}),tableDataduplic:t=>new Promise((e,s)=>{const a=this.tables[this.selectedTable].table||[];setTimeout(()=>{e({pageNo:1,pageSize:40,totalRows:a.totalrows,rows:a.rows})},150)}),queryParam:{},tables:{},selectedTable:"",sysViewFields:[],columns:[],objdata:{},newformdata:{},isshowtable:!0}},components:{ChildRenItem:b.ChildRenItem,ImgPreview:F.default},computed:{getHeight(){const t=this.fullScreen?292:443;return this.screenHeight-t},sysviewfields(){var s;return[...((s=this.tables[this.selectedTable])==null?void 0:s.viewfields)||[]].sort((a,o)=>a.order-o.order)},getColumnsed(){return this.columns.filter(e=>e.prop!=="name")},newgetColumnsed(){return this.newcolumns.filter(e=>e.prop!=="name")},getFristColumn(){const t=this.columns.filter(e=>e.type!=="selection"&&e.checked)[0];return t||{}},newgetFristColumn(){const t=this.newcolumns.filter(e=>e.type!=="selection"&&e.checked)[0];return t||{}},...j.mapGetters(["screenHeight","tablePageSize","tableSize","labelPosition","formMode"])},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},init(t,e,s,a){this.tableData=t,this.tableData.issave?this.sysViewButtons=[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!0,transKey:"gd.btn.save",icon:"el-icon-document-checked"}]:this.sysViewButtons=[];const o=Object.entries(JSON.parse(JSON.stringify(t.data))).sort((i,d)=>d[1].table.rows.length-i[1].table.rows.length).reduce((i,[d,g])=>(i[d]=g,i),{});this.tables=o,this.selectedTable=Object.keys(this.tables)[0],this.newformdata=e,this.newtableData=[Object.assign({...e},{...s.newdata})],this.objdata=s;let l=[],u=[],r=0;this.sysviewfields.forEach((i,d)=>{var f;const g=String(i.id);let n=b.getColumns(i,d,0);r===0&&n&&n.checked&&(Object.assign(n,{type:"slot",slotType:n.prop}),r+=1),n&&Object.assign(n,{type:"slot",slotType:n.prop,dictTypeList:(f=i==null?void 0:i.syscodegenconfig)!=null&&f.dicttypecode?this.getDictionary(i.syscodegenconfig.dicttypecode):[]}),l.push(n);let y={name:i.alias==""?i.columncomment:i.alias,width:Number(i.num),order:d,type:g.length>1?2:1,fieldid:g,jointableid:i.codegenid,joinfieldid:g,orderconfig:i.orderconfig?1:0,maxtagcount:i.maxtagcount?Number(i.maxtagcount):2};u.push(y)}),this.sysViewFields=[...u],this.columns=[...l];let m=[],h=[],p=0;[...this.tableData.mainfields].sort((i,d)=>i.order-d.order).forEach((i,d)=>{var f;const g=String(i.id);let n=b.getColumns(i,d,0);p===0&&n&&n.checked&&(Object.assign(n,{type:"slot",slotType:n.prop}),p+=1),n&&Object.assign(n,{type:"slot",slotType:n.prop,dictTypeList:(f=i==null?void 0:i.syscodegenconfig)!=null&&f.dicttypecode?this.getDictionary(i.syscodegenconfig.dicttypecode):[]}),m.push(n);let y={name:i.alias==""?i.columncomment:i.alias,width:Number(i.num),order:d,type:g.length>1?2:1,fieldid:g,jointableid:i.codegenid,joinfieldid:g,orderconfig:i.orderconfig?1:0,maxtagcount:i.maxtagcount?Number(i.maxtagcount):2};h.push(y)}),this.newsysViewFields=[...h],this.newcolumns=[...m],this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0},getDictionary(t){return this.$options.filters.dictData(t)},handleSubmit(){this.objdata.data.id?this.objdata.fucedit(this.objdata).then(t=>{this.handleCancel()}).catch(t=>{this.$message.error(t.message)}):this.objdata.fucadd(this.objdata).then(t=>{this.handleCancel()}).catch(t=>{this.$message.error(t.message)})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.tableData={},this.tables={},this.selectedTable="",this.newtableData=[],this.sysViewFields=[],this.columns=[],this.newformdata={}},doEvent(t){console.log(t);let e=t.item.functionName;this[e]()},refresh(){this.$refs.table.refresh()},editForm(t){this.$refs.middleware.init({tableId:this.newformdata.tableId,data:[t]}).then(e=>{setTimeout(()=>{this.statu=!1},1e3)})},selectTable(t){this.isshowtable=!1,this.selectedTable=t,this.$nextTick(()=>{let e=[],s=[],a=0;this.sysviewfields.forEach((o,l)=>{const u=String(o.id);let r=b.getColumns(o,l,0);a===0&&r&&r.checked&&(Object.assign(r,{type:"slot",slotType:r.prop}),a+=1),r&&Object.assign(r,{type:"slot",slotType:r.prop}),e.push(r);let m={name:o.alias==""?o.columncomment:o.alias,width:Number(o.num),order:l,type:u.length>1?2:1,fieldid:u,jointableid:o.codegenid,joinfieldid:u,orderconfig:o.orderconfig?1:0,maxtagcount:o.maxtagcount?Number(o.maxtagcount):2};s.push(m)}),this.sysViewFields=[...s],this.columns=[...e],this.isshowtable=!0}),this.refresh()},operatorScope(t,e){const s=t.sourceFk!==void 0?t.sourceFk:!(t.fieldType!="fk"&&t.fieldType!="about"&&t.fieldType!="user");if(this.getFristColumn.prop===t.prop&&!s){this.changeQuickView(e);return}s&&this.baseQuickForm(e,t)},changeQuickView(t){if(this.statu)return;this.statu=!0;const e=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init({tableId:this.newformdata.tableId,data:[t]}).then(s=>{setTimeout(()=>{this.statu=!1},1e3),e.close()})},baseQuickAbout(t,e){this.statu=!0;const s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});v.baseDetails({tableId:this.newformdata.tableId,id:t.id}).then(a=>{if(a.success){let o=e.prop+"_AboutTable",l={data:t,item:Object.assign(e,{fkEntityName:a.data[0][o]})};this.baseQuickFk(l,s)}else s.close(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(a.message)},0)})})},baseQuickForm(t,e){if(!this.statu){if(e.fieldType=="about"){this.baseQuickAbout(t,e);return}this.baseQuickFk({data:t,item:e})}},baseQuickFk(t,e){let s=e;t.item.fieldType!="about"&&(this.statu=!0,s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"}));let a={thisTableName:this.objdata.tableDetails.tablename,thisIdValue:t.data.id,thisFiled:t.item.columnName,fkTable:t.item.fkEntityName};v.onlineFormGetFkRelation(a).then(o=>{o.success?this.$refs.middleware.init(Object.assign(o.data,{fieldType:t.item.fieldType})).then(l=>{setTimeout(()=>{this.statu=!1},1e3),s.close()}):(s.close(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(o.message)},0)}))})},showFile(t,e){const s=e[t.prop];let a=s;typeof s=="string"&&(a=JSON.parse(s));let o=e.name!==void 0?e.name:c.title,l=new JSZip,u=[],r={};a.forEach(h=>{let p=this.getFileBlob(h).then(w=>{l.file(h.FileOriginName,w,{binary:!0}),r[h.FileOriginName]=w});u.push(p)});const m=this.$message({message:this.$i18nt("gd.https.downloadingFiles","\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});Promise.all(u).then(()=>{l.generateAsync({type:"blob"}).then(h=>{FileSaver.saveAs(h,o)}),m.close()}).catch(h=>{m.close(),this.$message.error("err!")})},getFileBlob(t){return sysFileInfoDownload({id:t.Id}).then(e=>e.data)},showImg(t,e,s){console.log(e),this.imgList=e,this.currentImg=s||list[0],this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open()}}};var _=function(){var e=this,s=e._self._c;return s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,footer:null,top:"80px","append-to-body":"",fullscreen:e.fullScreen,"show-close":!1},on:{"update:visible":function(a){e.visible=a},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.$i18nt("gd.duplicatechecking.duplicateDetected","\u68C0\u6D4B\u5230\u91CD\u590D\u4FE1\u606F"),fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,closed:"handleCancel",showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),e.visible?s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",[s("el-alert",{staticStyle:{"margin-top":"0"},attrs:{title:e.$i18nt("gd.duplicatechecking.recordPleaseCheckSaveRecord","\u8BB0\u5F55\u53EF\u80FD\u4E0E\u67D0\u4E2A\u73B0\u6709\u8BB0\u5F55\u91CD\u590D\u3002\u8BF7\u68C0\u67E5\u53EF\u80FD\u91CD\u590D\u7684\u9879\u5E76\u51B3\u5B9A\u662F\u5426\u4ECD\u8981\u4FDD\u5B58\u6B64\u8BB0\u5F55\u3002"),"show-icon":"",type:"warning",closable:!1}}),s("div",[s("gd-tables",{attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.newcolumns,showPagination:!1,disabledRefresh:!0},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"active-color",staticStyle:{"font-size":"16px","font-weight":"500"}},[e._v(" "+e._s(e.$i18nt("gd.duplicatechecking.myNewRecord","\u6211\u7684\u65B0\u8BB0\u5F55"))+" ")])]},proxy:!0},{key:"name",fn:function({column:a,row:o}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:o,highlight:""},on:{click:e.editForm}})]}},e._l(e.newgetColumnsed,function(a){return{key:a.prop,fn:function({column:o,row:l}){return[s("ChildRenItem",{attrs:{item:a,row:l,getFristColumn:e.newgetFristColumn},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg}})]}}})],null,!0)})],1),s("div",[e.isshowtable?s("gd-tables",{ref:"table",attrs:{dataSource:e.tableDataduplic,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,disabledRefresh:!0,height:e.getHeight,showPagination:!1},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticStyle:{"align-items":"center",display:"flex"}},[s("span",{staticStyle:{flex:"1",color:"#e6a23c","font-size":"16px","font-weight":"500"}},[e._v(" "+e._s(e.$i18nt("gd.duplicatechecking.possibleDuplicateRecords","\u53EF\u80FD\u91CD\u590D\u7684\u8BB0\u5F55"))+" ")]),s("el-select",{ref:"refTable",staticStyle:{width:"260px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:""},on:{change:e.selectTable},model:{value:e.selectedTable,callback:function(a){e.selectedTable=a},expression:"selectedTable"}},e._l(e.tables,function(a,o){return s("el-option",{key:o,attrs:{label:e.$i18nt(`Dynamics.${a.transkey}`,o)+" ("+a.table.rows.length+")",value:o}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,o))+"("+e._s(a.table.rows.length)+") ")])}),1)],1)]},proxy:!0},{key:"name",fn:function({column:a,row:o}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:o,highlight:""},on:{click:e.editForm}})]}},e._l(e.getColumnsed,function(a){return{key:a.prop,fn:function({column:o,row:l}){return[s("ChildRenItem",{attrs:{item:a,row:l,getFristColumn:e.getFristColumn},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg}})]}}})],null,!0)}):e._e()],1)],1)]):e._e(),s("ImgPreview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}}),s("gd-middleware",{ref:"middleware",on:{ok:e.refresh}})],1)},C=[],$=j.normalizeComponent(T,_,C,!1,null,"5d3388f6",null,null);const x=$.exports;exports.default=x;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./http.filedocument.7c656b91.js"),l=require("./index.cca024bf.js"),o=require("./components.chartbi.e4680eaa.js");require("./router.config.2501ec51.js");require("./layouts.a6a36612.js");require("vue");require("./components.sidenavmenu.b9bb9304.js");require("./http.loginmanage.326984c3.js");require("./components.settingdrawer.779f6715.js");require("./components.xlsximport.dbd826bb.js");require("./http.main.2f8a6936.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./utils.util.js.50d1ec9c.js");require("./http.noticemanage.2507d094.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./utils.mixins.js.750ca50e.js");require("./components.form.91d5ed3e.js");require("./http.filemanage.7e6e3e1a.js");require("./components.iconselector.d712170f.js");require("./components.globalheader.07a90c4b.js");require("./components.multitab.82fd0544.js");require("./components.sidemenu.80e46c2d.js");require("./system.account.0d4f1fdc.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.f64e49f8.js");require("./flow.designer.1ba3a90d.js");require("./components.table.17c02054.js");require("./utils.datepicker.js.8576e2fc.js");require("./http.codegeneratemanage.aecadd5d.js");require("./http.promptmanagement.d115c4b0.js");require("./components.coloreditor.779a9419.js");require("./http.useraffiliation.af2013ad.js");require("./http.tabledevelopment.a880bb76.js");require("./personal.echarts.f77bfc9e.js");require("./components.teamsharing.05503821.js");require("./utils.echarts.js.461a74e7.js");require("./store.config.3cb11578.js");require("./form.build.51bd261e.js");require("./components.viewformdetails.1621bc18.js");require("./system.notice.96c770a6.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.03363732.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.38d4d3d8.js");require("./components.tableumy.9cf33062.js");require("./components.tooltip.a05d8dd1.js");require("./components.selecttree.d710a362.js");require("./components.imgpreview.86bf7971.js");require("./components.modaltitle.e0b34fcb.js");require("./view.build.b44fd7d7.js");require("./page.build.846096e6.js");require("./form.designer.build.5a950455.js");require("./http.duplicatechecking.ee5c414c.js");require("./components.xlsxexport.f5ace2cd.js");require("./components.dataassign.1853ed5c.js");require("./components.statuschange.ed1218a4.js");require("./components.middleware.3bad5748.js");require("./components.echarts.e4d6b13e.js");require("./components.viewloading.807bbf68.js");require("./components.exception.3cc33e29.js");require("./components.uploadfile.5a9b6cc1.js");require("./components.uploadimg.cce7452a.js");require("./components.lunccalendar.76159d2e.js");require("./components.watermark.da3d7220.js");require("./system.org.79ee5bd6.js");require("./system.pos.0a3d2a37.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.f5708400.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.fca3f2d6.js");require("./system.role.03be0982.js");require("./system.log.fc60f5e6.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.f1d95c86.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.e2e39bdc.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.210f516c.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.dfe4ecc7.js");require("./system.webresource.12712b90.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.3ef07bf7.js");require("./system.file.17a7f2ed.js");require("./system.timers.28691ce4.js");require("./http.timersmanage.6e894942.js");require("./solution.58580123.js");require("./http.solution.c6b2634f.js");require("./flow.list.4eb10554.js");require("./http.translationmanage.1f9dce46.js");require("./http.pluginmanage.6a876040.js");require("./system.translation.6237f071.js");require("./system.duplicatechecking.8e3a37c0.js");require("./system.promptmanagement.b5fa6b2d.js");require("./system.useraffiliation.7547b9c7.js");require("./system.plugin.b34a3b47.js");require("./system.email.070ab2be.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.90f73461.js");require("./system.datasource.82492d27.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.bb228fce.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.32183b63.js");require("./http.team.e45400d5.js");require("./system.teammembers.847d8ea7.js");require("./messages.7b74736f.js");require("./http.message.87f319d7.js");require("./translation.mains.1ce7e110.js");const c={props:{treeData:{type:Array,default:()=>[]},multipleLimit:{type:Number,default:12}},components:{AddPermission:()=>Promise.resolve().then(()=>require("./addPermission.5036013c.js"))},data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.directory.name",prop:"name",label:"\u540D\u79F0",align:"left",width:"210",fixed:!0,type:"slot",slotType:"name"},{transKey:"gd.application.inherit",prop:"inherit",label:"\u7EE7\u627F",width:"120",align:"center",type:"slot",slotType:"inherit"},{transKey:"gd.fileDocument.allow",prop:"allow",label:"\u5141\u8BB8",align:"left",width:"420",type:"slot",slotType:"allow"},{transKey:"gd.fileDocument.refuse",prop:"refuse",label:"\u62D2\u7EDD",align:"left",width:"420",type:"slot",slotType:"refuse"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger"}],record:null,isInherit:1,width:"90%",confirmLoading:!1,visible:!1,fullscreen:!1,selectedRowKeys:[],selectedRows:[],allIds:[],disabledRowId:[],loadData:s=>a.sysDocPermissionPage({docId:this.record.id}).then(e=>{if(e.code===200){let t=[],r=[];const i=e.data.map(n=>(t.push(n.principalid_aboutid),n.isinherit&&r.push(n.id),Object.assign(n,this.getAllowRefuse(n))));return this.allIds=t,this.disabledRowId=r,{pageno:1,totalrows:e.data.length,rows:i}}})}},computed:{hig(){return this.screenHeight-(this.fullscreen?80:264)},title(){const s=this.$i18nt("gd.btn.administrativePermissions","\u7BA1\u7406\u6743\u9650");if(!this.record)return s;this.treeData.filter(r=>r.id===this.record.id)[0];let e="";return(this.record.path?this.record.path.split("."):[]).forEach(r=>{const i=this.treeData.filter(n=>n.id===Number(r))[0];e+=i===void 0?"":`/${i.name}`}),this.record.type!==1&&(e+=`/${this.record.name}`),`${s} (${e})`},...o.mapGetters(["screenHeight","primaryColor"])},methods:{saveConvertPermission({data:s,action:e,instance:t,done:r}){t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!0;const i={docId:this.record.id,inheritPermissions:s,isConvert:e==="confirm"?1:0};a.convertInheritPermissions(i).then(n=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,this.confirmLoading=!1,n.code===200?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.refresh(),r()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+n.message)})},inheritPermission(s){let e=this;this.confirmLoading=!0,this.$confirm(this.$i18nt("gd.fileDocument.inheritParentPermissionsTip","\u662F\u5426\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,r,i)=>{if(t!=="confirm"){i(),e.confirmLoading=!1,e.isInherit=0;return}this.saveConvertPermission({data:s,action:t,instance:r,done:i})}})},convertPermission(s){this.$confirm(this.$i18nt("gd.fileDocument.closeParentPermissionsTip","\u662F\u5426\u5173\u95ED\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.fileDocument.convertInheritedTip","\u8F6C\u6362\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),cancelButtonText:this.$i18nt("gd.fileDocument.deleteInherited","\u5220\u9664\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",distinguishCancelAndClose:!0,callback:()=>{},beforeClose:(e,t,r)=>{if(e==="close"){this.isInherit=1,r();return}this.saveConvertPermission({data:s,action:e,instance:t,done:r}),t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1}})},changeInherit(s){s===1?this.inheritPermission(s):this.convertPermission(s)},editForm(s){this.$refs.addPermission.open(s)},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){let s=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,r)=>{if(e!=="confirm"){r();return}t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,a.sysDocPermissionDel({ids:this.selectedRowKeys.join(",")}).then(i=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,i.success?(s.$message.success(s.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),s.refresh(),r()):s.$message.error(s.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+i.message)})}})},getAllowRefuse(s){let e=[],t=[];return l.permissionList.forEach(r=>{const i=s[r.code];i!==""&&i!==null&&i!==0&&(i===2&&t.push(r),i===1&&e.push(r))}),{allow:e,refuse:t}},getDetail(){a.sysDocObjectsGetById({id:this.record.id}).then(s=>{s.code===200&&(this.record=s.data,this.isInherit=s.data.inheritpermissions)})},add(){this.$refs.addPermission.open(null)},refresh(){this.getDetail(),this.$refs.table&&this.$refs.table.refresh()},triggerRefresh(s){this.selectedRowKeys=[],this.selectedRows=[]},open(s){this.isInherit=s.inheritpermissions,this.record=s,this.visible=!0,this.getDetail(),this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)})},closed(){this.ruleForm={},this.fullscreen=!1,this.visible=!1},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},getDictionary(s){return this.$options.filters.dictData(s)},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}}};var d=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(r){e.visible=r},closed:e.closed}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.tableButtons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"document-manage",staticStyle:{"margin-top":"-6px"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,columns:e.tableColumns,initialLoading:!1,showPagination:!1,selectedRowKeys:e.selectedRowKeys,height:e.hig,disabledRowId:e.disabledRowId},on:{onChange:e.onSelectChange,triggerRefresh:e.triggerRefresh},scopedSlots:e._u([{key:"operator",fn:function(){return[t("div",{staticClass:"operator"},[t("el-switch",{attrs:{"active-color":e.primaryColor,"active-value":1,"inactive-value":0},on:{change:e.changeInherit},model:{value:e.isInherit,callback:function(r){e.isInherit=r},expression:"isInherit"}}),t("span",{class:e.isInherit===1?"active-color":""},[e._v(" "+e._s(e.$i18nt("gd.fileDocument.inheritParentPermissions","\u4ECE\u7236\u6587\u4EF6\u5939\u7EE7\u627F\u6743\u9650"))+" ")])],1)]},proxy:!0},{key:"name",fn:function({column:r,row:i}){return[t("div",{on:{click:function(n){return e.editForm(i)}}},[t("span",{staticClass:"active-color",staticStyle:{cursor:"pointer","padding-right":"4px"}},[e._v(e._s(i.principalname))]),i.principalid_abouttable==="sys_user"?t("span",[e._v("("+e._s(e.$i18nt("gd.fieldSecurity.user","\u7528\u6237"))+")")]):i.principalid_abouttable==="sys_team"?t("span",[e._v("("+e._s(e.$i18nt("gd.fieldSecurity.team","\u56E2\u961F"))+")")]):e._e()])]}},{key:"allow",fn:function({column:r,row:i}){return[t("div",{staticClass:"allow-item"},e._l(i.allow,function(n){return t("el-tag",{key:n.code,attrs:{type:"success",effect:"dark",size:"mini"}},[e._v(" "+e._s(e.$i18nt(n.transkey,n.name))+" ")])}),1)]}},{key:"refuse",fn:function({column:r,row:i}){return[t("div",{staticClass:"allow-item"},e._l(i.refuse,function(n){return t("el-tag",{key:n.code,attrs:{type:"danger",effect:"dark",size:"mini"}},[e._v(" "+e._s(e.$i18nt(n.transkey,n.name))+" ")])}),1)]}},{key:"inherit",fn:function({column:r,row:i}){return[i.isinherit?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"}})]}},{key:"handle",fn:function({column:r,row:i}){return[t("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"}},[e._v(e._s(e.$i18nt("gd.btn.edit","\u7F16\u8F91")))]),t("el-divider",{attrs:{direction:"vertical"}}),t("span",{staticStyle:{color:"red",cursor:"pointer"}},[e._v(e._s(e.$i18nt("gd.btn.del","\u5220\u9664")))])]}}])})],1)],1),t("AddPermission",{ref:"addPermission",attrs:{recordData:e.record,allIds:e.allIds,multipleLimit:e.multipleLimit},on:{ok:e.refresh}})],1)},u=[],m=o.normalizeComponent(c,d,u,!1,null,"19358cd5",null,null);const h=m.exports;exports.default=h;