gds-plus-design-vue 1.2.63 → 1.2.72

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.e559c495.js +1 -0
  2. package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
  3. package/lib/approvalModel.2b97fdf8.js +1 -0
  4. package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
  5. package/lib/attribute.4f814780.mjs +367 -0
  6. package/lib/attribute.7b4971f5.js +1 -0
  7. package/lib/businessRules.4f7349f3.js +1 -0
  8. package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
  9. package/lib/buttonRule.4aa9cfd8.mjs +396 -0
  10. package/lib/buttonRule.ba9528ab.js +1 -0
  11. package/lib/chartDisplayRules.25489412.js +1 -0
  12. package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
  13. package/lib/components.chartbi.13a8a7b5.js +8 -0
  14. package/lib/components.chartbi.7356b244.mjs +1813 -0
  15. package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
  16. package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
  17. package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
  18. package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
  19. package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
  20. package/lib/components.echarts.5dea23f6.js +4 -0
  21. package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
  22. package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
  23. package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
  24. package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
  25. package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
  26. package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
  27. package/lib/components.iconselector.4b5b7901.js +1 -0
  28. package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
  29. package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
  30. package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
  31. package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
  32. package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
  33. package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
  34. package/lib/components.middleware.64b6a988.js +1 -0
  35. package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
  36. package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
  37. package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
  38. package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
  39. package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
  40. package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
  41. package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
  42. package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
  43. package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
  44. package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
  45. package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
  46. package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
  47. package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
  48. package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
  49. package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
  50. package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
  51. package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
  52. package/lib/components.tableumy.aa73378d.js +1 -0
  53. package/lib/components.tablevirtual.879ff28f.js +1 -0
  54. package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
  55. package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
  56. package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
  57. package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
  58. package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
  59. package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
  60. package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
  61. package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
  62. package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
  63. package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
  64. package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
  65. package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
  66. package/lib/components.viewformdetails.328c8642.js +1 -0
  67. package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
  68. package/lib/components.viewloading.5b9c8fee.js +1 -0
  69. package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
  70. package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
  71. package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
  72. package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
  73. package/lib/components.xlsximport.c53c50f6.js +1 -0
  74. package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
  75. package/lib/copy.3b06d60f.mjs +572 -0
  76. package/lib/copy.fa2fcb22.js +1 -0
  77. package/lib/createFile.526dd6db.js +1 -0
  78. package/lib/createFile.c8d65b52.mjs +439 -0
  79. package/lib/createSubfolders.51df8fcd.js +1 -0
  80. package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
  81. package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
  82. package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
  83. package/lib/drawerContainer.790b0ee6.mjs +163 -0
  84. package/lib/drawerContainer.c971d22d.js +1 -0
  85. package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
  86. package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
  87. package/lib/editForm.83d10fae.mjs +434 -0
  88. package/lib/editForm.e284e5ec.js +1 -0
  89. package/lib/extendedAttributes.bfff1926.js +1 -0
  90. package/lib/extendedAttributes.e6b11c68.mjs +293 -0
  91. package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
  92. package/lib/fileSearch.e849491c.js +1 -0
  93. package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
  94. package/lib/flow.designer.85d0054b.js +1 -0
  95. package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
  96. package/lib/flow.list.e001d91a.js +1 -0
  97. package/lib/form.build.19f0c882.js +1 -0
  98. package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
  99. package/lib/form.designer.build.2bcc355d.js +1 -0
  100. package/lib/form.designer.build.7dc12e87.mjs +2529 -0
  101. package/lib/formFiled.40284ed9.js +1 -0
  102. package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.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.07adebf0.js +8 -0
  133. package/lib/index.340d6f00.mjs +25906 -0
  134. package/lib/layoutBlocks.756e4b57.js +1 -0
  135. package/lib/layoutBlocks.816b49a7.mjs +413 -0
  136. package/lib/layoutItem.051495bc.mjs +71 -0
  137. package/lib/layoutItem.6f6017a5.js +1 -0
  138. package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
  139. package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
  140. package/lib/main.0dc447c8.js +1 -0
  141. package/lib/main.12118407.mjs +552 -0
  142. package/lib/main.1551de4d.js +1 -0
  143. package/lib/main.1611bb43.js +1 -0
  144. package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
  145. package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
  146. package/lib/main.316ac1b8.js +1 -0
  147. package/lib/main.48dc325f.mjs +231 -0
  148. package/lib/main.54ac9faa.mjs +189 -0
  149. package/lib/main.69a2b457.mjs +166 -0
  150. package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
  151. package/lib/main.72c15ab0.js +1 -0
  152. package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
  153. package/lib/main.9b2769b1.js +1 -0
  154. package/lib/main.b2314767.mjs +323 -0
  155. package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
  156. package/lib/main.e1cf9798.js +1 -0
  157. package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
  158. package/lib/main.fc38c7c8.mjs +537 -0
  159. package/lib/main.fcb67463.js +1 -0
  160. package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
  161. package/lib/manage.eb0a6c8c.js +1 -0
  162. package/lib/messages.fieldconfiguration.092bb027.js +1 -0
  163. package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
  164. package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
  165. package/lib/messages.messagetemplate.50334e5f.js +7 -0
  166. package/lib/messages.sendplan.60929f46.js +1 -0
  167. package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
  168. package/lib/messages.sendrecord.09a1d1cd.js +2 -0
  169. package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
  170. package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
  171. package/lib/messages.templatelibrary.f5952edd.js +2 -0
  172. package/lib/mobile.designer.componentstree.365945a3.js +1 -0
  173. package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
  174. package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
  175. package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
  176. package/lib/moveFile.3dc1dc37.mjs +276 -0
  177. package/lib/moveFile.f70bbff7.js +1 -0
  178. package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
  179. package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
  180. package/lib/page.designer.componentstree.74a3a114.js +1 -0
  181. package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
  182. package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
  183. package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
  184. package/lib/page.designer.menutree.71c18258.js +1 -0
  185. package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
  186. package/lib/page.designer.operation.1d435e6e.js +1 -0
  187. package/lib/page.designer.operation.fe808988.mjs +44 -0
  188. package/lib/page.designer.page.654634aa.js +1 -0
  189. package/lib/page.designer.page.821f8994.mjs +10638 -0
  190. package/lib/personal.echarts.118bcafb.mjs +268 -0
  191. package/lib/personal.echarts.e5915542.js +1 -0
  192. package/lib/result.4d4039ea.js +1 -0
  193. package/lib/result.a87217ae.mjs +639 -0
  194. package/lib/router.config.a09f29e7.js +1 -0
  195. package/lib/router.config.f0ad16fd.mjs +1424 -0
  196. package/lib/solution.application.8d6c84e8.js +1 -0
  197. package/lib/solution.application.e6b5dc4f.mjs +548 -0
  198. package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
  199. package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
  200. package/lib/solution.approvalflow.79da028c.js +1 -0
  201. package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
  202. package/lib/solution.dict.088a1e72.mjs +769 -0
  203. package/lib/solution.dict.1d5195d0.js +1 -0
  204. package/lib/solution.menu.e58922fe.mjs +432 -0
  205. package/lib/solution.menu.fa48a7e8.js +1 -0
  206. package/lib/solution.plugin.5d6d29cf.js +1 -0
  207. package/lib/solution.plugin.ae6df926.mjs +347 -0
  208. package/lib/solution.processflow.62936f1c.mjs +392 -0
  209. package/lib/solution.processflow.aa1e808b.js +1 -0
  210. package/lib/solution.role.2eff83a1.js +1 -0
  211. package/lib/solution.role.7b3e7030.mjs +456 -0
  212. package/lib/solution.webresources.88c4483b.mjs +379 -0
  213. package/lib/solution.webresources.bc00603d.js +1 -0
  214. package/lib/solution.workflow.0ed2cb24.js +1 -0
  215. package/lib/solution.workflow.85de0ae5.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.3d7480ba.mjs} +877 -881
  220. package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
  221. package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
  222. package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
  223. package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
  224. package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
  225. package/lib/system.dict.ab148847.js +1 -0
  226. package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
  227. package/lib/system.document.0e46ff8c.js +1 -0
  228. package/lib/system.document.cbdf25a9.mjs +667 -0
  229. package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
  230. package/lib/system.duplicatechecking.a217fc52.js +1 -0
  231. package/lib/system.email.1db14214.js +1 -0
  232. package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
  233. package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
  234. package/lib/system.fieldsecurity.40b4f48a.js +1 -0
  235. package/lib/system.file.6a6bd77c.js +1 -0
  236. package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
  237. package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
  238. package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
  239. package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
  240. package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
  241. package/lib/system.notice.2090c130.js +1 -0
  242. package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
  243. package/lib/system.noticereceived.0b79642e.js +1 -0
  244. package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
  245. package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
  246. package/lib/system.onlineuser.e74f010d.js +1 -0
  247. package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
  248. package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
  249. package/lib/system.permissions.4090552f.mjs +972 -0
  250. package/lib/system.permissions.fdb64929.js +1 -0
  251. package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
  252. package/lib/system.plugin.a0f25733.js +1 -0
  253. package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
  254. package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
  255. package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
  256. package/lib/system.promptmanagement.9718aa24.js +1 -0
  257. package/lib/system.role.321c48d3.js +1 -0
  258. package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
  259. package/lib/system.sumberrules.6e8d208e.js +1 -0
  260. package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
  261. package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
  262. package/lib/system.team.cf1c1558.js +1 -0
  263. package/lib/system.teammembers.63f21557.js +1 -0
  264. package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
  265. package/lib/system.timers.51bedf97.js +38 -0
  266. package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
  267. package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
  268. package/lib/system.translation.c9f1b505.js +1 -0
  269. package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
  270. package/lib/system.user.475d7391.js +14 -0
  271. package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
  272. package/lib/system.useraffiliation.fe1e1d39.js +1 -0
  273. package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
  274. package/lib/system.webresource.81cfa690.js +1 -0
  275. package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
  276. package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
  277. package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
  278. package/lib/table.definition..btnconfig.add3d840.js +1 -0
  279. package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
  280. package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
  281. package/lib/tableDescriptions.143d8e67.js +1 -0
  282. package/lib/tableDescriptions.60a07f7c.mjs +80 -0
  283. package/lib/tcheckboxs.e4d387ff.js +1 -0
  284. package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
  285. package/lib/tcurrency.0360c142.mjs +85 -0
  286. package/lib/tcurrency.233f4e63.js +1 -0
  287. package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
  288. package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
  289. package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
  290. package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
  291. package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
  292. package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
  293. package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
  294. package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
  295. package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
  296. package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.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.97590ce8.js +1 -0
  304. package/lib/versionControl.d1b2b0da.mjs +488 -0
  305. package/lib/versionEdit.c51606e4.mjs +452 -0
  306. package/lib/versionEdit.f710d0bb.js +1 -0
  307. package/lib/view.build.5789a6eb.js +1 -0
  308. package/lib/view.build.9976c958.mjs +1578 -0
  309. package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
  310. package/lib/viewList.6e181715.js +1 -0
  311. package/lib/viewTree.9bdf96f0.js +1 -0
  312. package/lib/viewTree.c2e11b7f.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
@@ -0,0 +1,938 @@
1
+ import { w as h, x as m, y as f, a as c, d as u, z as p, A as g, B as y } from "./http.tabledevelopment.3dcb3e97.mjs";
2
+ import { u as l } from "./utils.util.js.333daba2.mjs";
3
+ import { n as r, m as d } from "./components.chartbi.7356b244.mjs";
4
+ import { t as b } from "./utils.mixins.js.be01e599.mjs";
5
+ const v = {
6
+ props: {
7
+ table: {
8
+ type: Object,
9
+ default: () => ({})
10
+ }
11
+ },
12
+ data() {
13
+ return {
14
+ width: "900px",
15
+ record: null,
16
+ confirmLoading: !1,
17
+ visible: !1,
18
+ fullscreen: !1,
19
+ buttons: [
20
+ {
21
+ displayName: "\u786E\u5B9A",
22
+ functionName: "handleSubmit",
23
+ show: !0,
24
+ transKey: "gd.btn.confirm",
25
+ icon: "el-icon-document-checked"
26
+ }
27
+ ],
28
+ ruleFormData: {
29
+ displayName: "",
30
+ type: "1",
31
+ icon: "",
32
+ sn: 100,
33
+ displayPos: "1",
34
+ sysViewData: "",
35
+ functionName: "",
36
+ description: "",
37
+ transKey: ""
38
+ },
39
+ rules: {
40
+ displayName: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }],
41
+ sn: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur", type: "number" }],
42
+ sysViewData: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: "change" }],
43
+ functionName: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }]
44
+ },
45
+ viewList: [],
46
+ formList: [],
47
+ btnTips: "",
48
+ btnList: [],
49
+ deletebtnList: []
50
+ };
51
+ },
52
+ components: {
53
+ IconSelector: () => import("./components.iconselector.d2d970ba.mjs"),
54
+ BtnFunctionName: () => Promise.resolve().then(() => B)
55
+ },
56
+ computed: {
57
+ disabled() {
58
+ return !!this.record;
59
+ },
60
+ title() {
61
+ return this.record ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E");
62
+ },
63
+ getPosition() {
64
+ return this.ruleFormData.displayPos === "1" ? this.viewList : this.formList;
65
+ }
66
+ },
67
+ methods: {
68
+ add() {
69
+ const s = {
70
+ syscodegenid: this.table.id,
71
+ sn: this.ruleFormData.sn,
72
+ displayname: this.ruleFormData.displayName,
73
+ displaypos: this.ruleFormData.displayPos,
74
+ icon: this.ruleFormData.icon,
75
+ type: this.ruleFormData.type,
76
+ functionname: this.ruleFormData.functionName,
77
+ description: this.ruleFormData.description,
78
+ childbutton: this.btnList,
79
+ sysviewdata: this.ruleFormData.displayPos === "1" ? this.ruleFormData.sysViewData.join(",") : "",
80
+ sysformdata: this.ruleFormData.displayPos === "2" ? this.ruleFormData.sysViewData.join(",") : ""
81
+ };
82
+ h(s).then((e) => {
83
+ e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", e.data), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message), this.confirmLoading = !1;
84
+ }), console.log(s);
85
+ },
86
+ edit() {
87
+ const s = this.btnList.concat(this.deletebtnList), e = {
88
+ syscodegenid: this.table.id,
89
+ sn: this.ruleFormData.sn,
90
+ displayname: this.ruleFormData.displayName,
91
+ displaypos: this.ruleFormData.displayPos,
92
+ icon: this.ruleFormData.icon,
93
+ type: this.ruleFormData.type,
94
+ functionname: this.ruleFormData.functionName,
95
+ description: this.ruleFormData.description,
96
+ childbutton: s,
97
+ sysviewid: this.ruleFormData.displayPos === "1" ? this.ruleFormData.sysViewData : null,
98
+ sysformidbyset: this.ruleFormData.displayPos === "2" ? this.ruleFormData.sysViewData : null
99
+ };
100
+ m(Object.assign({ ...this.record }, e)).then((t) => {
101
+ t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail") + t.message), this.confirmLoading = !1;
102
+ });
103
+ },
104
+ handleSubmit() {
105
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
106
+ if (!s) {
107
+ this.confirmLoading = !1;
108
+ return;
109
+ }
110
+ if (this.ruleFormData.type === "2" && !this.isBtnChecked()) {
111
+ this.$message.error(this.$i18nt("gd.btnConfig.subbuttonTip")), this.btnTips = this.$i18nt("gd.btnConfig.subbuttonTip"), this.confirmLoading = !1;
112
+ return;
113
+ }
114
+ this.btnTips = "", this.record ? this.edit() : this.add();
115
+ });
116
+ },
117
+ selFunctionName() {
118
+ let s = this.ruleFormData.displayPos === "1" ? "view" : "form";
119
+ this.$refs.btnFunctionName.open(s);
120
+ },
121
+ okFunctionName(s) {
122
+ if (Object.assign(this.ruleFormData, {
123
+ functionName: s.name,
124
+ icon: s.icon,
125
+ type: s.name == "exportData" ? "2" : "1"
126
+ }), s.name !== "exportData" && (this.btnList = []), s.name !== "exportData" || this.btnList.length > 0 || this.record)
127
+ return;
128
+ let e = [
129
+ { id: 0, sn: 1, key: 1, name: l(12), displayName: "\u5F53\u524D\u9759\u6001\u9875" },
130
+ { id: 0, sn: 2, key: 2, name: l(12), displayName: "\u5F53\u524D\u9759\u6001\u9875\uFF08\uFF08\u6240\u6709\uFF09" },
131
+ { id: 0, sn: 3, key: 4, name: l(12), displayName: "\u5F53\u524D\u9009\u4E2D" },
132
+ { id: 0, sn: 4, key: 3, name: l(12), displayName: "\u81EA\u5B9A\u4E49" }
133
+ ];
134
+ this.btnList = [...e];
135
+ },
136
+ delList(s) {
137
+ this.deletebtnList = this.btnList.filter((t) => t.name === s.name && t.id != 0), this.deletebtnList.forEach((t) => {
138
+ t.statecodes = 0;
139
+ });
140
+ let e = this.btnList.filter((t) => t.name !== s.name);
141
+ this.btnList = [...e];
142
+ },
143
+ addList() {
144
+ let s = [...this.btnList], e = {
145
+ id: 0,
146
+ sn: s.length + 1,
147
+ key: "",
148
+ name: l(12),
149
+ displayName: ""
150
+ };
151
+ s.push(e), this.btnList = [...s];
152
+ },
153
+ open(s) {
154
+ this.record = s, this.getViewList(), this.getFormList(), this.getDetail(), this.$nextTick(() => {
155
+ setTimeout(() => {
156
+ this.$refs.ruleForm.resetFields();
157
+ }, 0);
158
+ }), this.visible = !0;
159
+ },
160
+ getDetail() {
161
+ !this.record || (this.confirmLoading = !0, f({ id: this.record.id }).then((s) => {
162
+ if (s.code === 200) {
163
+ this.record = s.data, Object.assign(this.ruleFormData, {
164
+ displayName: s.data.displayname,
165
+ type: String(s.data.type),
166
+ icon: s.data.icon,
167
+ sn: s.data.sn,
168
+ displayPos: String(s.data.displaypos),
169
+ sysViewData: s.data.sysviewid ? s.data.sysviewid : s.data.sysformidbyset ? s.data.sysformidbyset : "",
170
+ functionName: s.data.functionname,
171
+ description: s.data.description,
172
+ transKey: s.data.transkey
173
+ });
174
+ let e = s.data.childbutton ? s.data.childbutton : [];
175
+ e.map((t) => (t.displayName = t.displayname == null ? t.name : t.displayname, t)), this.btnList = [...e];
176
+ }
177
+ this.confirmLoading = !1;
178
+ }));
179
+ },
180
+ getViewList() {
181
+ c({
182
+ SysCodeGenId: this.table.id
183
+ }).then((s) => {
184
+ this.viewList = s.data.map((e) => (e.displayname = e.name, e));
185
+ });
186
+ },
187
+ getFormList() {
188
+ u({
189
+ sysCodeGenId: this.table.id
190
+ }).then((s) => {
191
+ this.formList = s.data.filter((e) => e.type != 2);
192
+ });
193
+ },
194
+ isBtnChecked() {
195
+ return this.btnList.length == 0 ? !1 : this.btnList.every((s, e, t) => s.sn !== "" && s.displayName !== "" && s.key !== "");
196
+ },
197
+ closed() {
198
+ this.deletebtnList = [], this.fullscreen = !1, this.visible = !1;
199
+ },
200
+ handleIcon() {
201
+ this.$refs.iconSelector.open();
202
+ },
203
+ getDictionary(s) {
204
+ return this.$options.filters.dictData(s);
205
+ },
206
+ doEvent(s) {
207
+ let e = s.item.functionName;
208
+ this[e] && this[e]();
209
+ },
210
+ lookupSeled(s) {
211
+ this.ruleFormData.displayName = s.defaulttext;
212
+ }
213
+ }
214
+ };
215
+ var _ = function() {
216
+ var e = this, t = e._self._c;
217
+ 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(i) {
218
+ e.visible = i;
219
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent } })], 1), t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticClass: "gd-form", attrs: { "label-width": "110px", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(i) {
220
+ i.preventDefault();
221
+ } } }, [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.displayName", "\u663E\u793A\u540D\u79F0"), prop: "displayName" } }, [t("div", { class: this.record ? "gd-form-item-name" : "" }), e.record ? e._e() : t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.disabled }, model: { value: e.ruleFormData.displayName, callback: function(i) {
222
+ e.$set(e.ruleFormData, "displayName", i);
223
+ }, expression: "ruleFormData.displayName" } }), e.record && e.visible ? t("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transKey", name: "displayName", recordData: e.ruleFormData, type: 2 }, on: { lookupSeled: e.lookupSeled } }) : e._e()], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.type", "\u6309\u94AE\u7C7B\u578B"), prop: "type" } }, [t("el-radio-group", { model: { value: e.ruleFormData.type, callback: function(i) {
224
+ e.$set(e.ruleFormData, "type", i);
225
+ }, expression: "ruleFormData.type" } }, e._l(e.getDictionary("table_btn_type"), function(i) {
226
+ return t("el-radio", { key: i.code, attrs: { label: i.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")]);
227
+ }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.icon", "\u56FE\u6807"), prop: "icon" } }, [t("div", { staticClass: "item-operator flex" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleFormData.icon, callback: function(i) {
228
+ e.$set(e.ruleFormData, "icon", i);
229
+ }, expression: "ruleFormData.icon" } }, [e.ruleFormData.icon ? t("i", { staticClass: "el-input__icon gd-icons active-color", class: e.ruleFormData.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : e._e()]), t("div", { staticClass: "item-operator-cao flex" }, [t("i", { staticClass: "el-icon-search", on: { click: e.handleIcon } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.sort", "\u6392\u5E8F"), prop: "sn" } }, [t("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 1, step: 1 }, model: { value: e.ruleFormData.sn, callback: function(i) {
230
+ e.$set(e.ruleFormData, "sn", i);
231
+ }, expression: "ruleFormData.sn" } })], 1)], 1)], 1), t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.btnConfig.displayPosition", "\u663E\u793A\u4F4D\u7F6E")))]), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.adaptTo", "\u9002\u7528\u4E8E"), prop: "displayPos" } }, [t("el-radio-group", { attrs: { disabled: e.disabled }, model: { value: e.ruleFormData.displayPos, callback: function(i) {
232
+ e.$set(e.ruleFormData, "displayPos", i);
233
+ }, expression: "ruleFormData.displayPos" } }, e._l(e.getDictionary("table_btn_apply"), function(i) {
234
+ return t("el-radio", { key: i.code, attrs: { label: i.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")]);
235
+ }), 1)], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.displayPosition", "\u663E\u793A\u4F4D\u7F6E"), prop: "sysViewData" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", clearable: "", multiple: !e.record, "collapse-tags": !0 }, model: { value: e.ruleFormData.sysViewData, callback: function(i) {
236
+ e.$set(e.ruleFormData, "sysViewData", i);
237
+ }, expression: "ruleFormData.sysViewData" } }, e._l(e.getPosition, function(i) {
238
+ return t("el-option", { key: i.id, attrs: { value: i.id, label: e.$i18nt(`Dynamics.${i.transkey}`, i.displayname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.displayname)) + " ")]);
239
+ }), 1)], 1)], 1)], 1)], 1), t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.btnConfig.executionFunction", "\u6267\u884C\u65B9\u6CD5")))]), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.functionName", "\u65B9\u6CD5\u540D"), prop: "functionName" } }, [t("div", { staticClass: "item-operator flex" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleFormData.functionName, callback: function(i) {
240
+ e.$set(e.ruleFormData, "functionName", i);
241
+ }, expression: "ruleFormData.functionName" } }), t("div", { staticClass: "item-operator-cao flex", on: { click: e.selFunctionName } }, [t("i", { staticClass: "el-icon-search" })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.explain", "\u8BF4\u660E"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", autosize: { minRows: 1, maxRows: 4 } }, model: { value: e.ruleFormData.description, callback: function(i) {
242
+ e.$set(e.ruleFormData, "description", i);
243
+ }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1), e.ruleFormData.type === "2" ? t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(" " + e._s(e.$i18nt("gd.btnConfig.subbutton", "\u5B50\u6309\u94AE")) + " "), t("i", { staticClass: "el-icon-circle-plus-outline active-color", staticStyle: { "font-size": "22px", margin: "0 4px", cursor: "pointer" }, on: { click: e.addList } }), t("span", { staticClass: "tips" }, [e._v(e._s(e.btnTips))])]), e.btnList.length > 0 ? [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 5 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.sort", "\u5E8F\u53F7")))]), t("el-col", { attrs: { span: 8 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.name", "\u540D\u79F0")))]), t("el-col", { attrs: { span: 8 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.key", "Key")))]), t("el-col", { attrs: { span: 3 } })], 1), e._l(e.btnList, function(i, a) {
244
+ return [t("el-row", { style: a === 0 ? "" : "margin-top: 8px ", attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 5 } }, [t("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 1, step: 1 }, model: { value: i.sn, callback: function(n) {
245
+ e.$set(i, "sn", n);
246
+ }, expression: "item.sn" } })], 1), t("el-col", { attrs: { span: 8 } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i.displayName, callback: function(n) {
247
+ e.$set(i, "displayName", n);
248
+ }, expression: "item.displayName" } })], 1), t("el-col", { attrs: { span: 8 } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i.key, callback: function(n) {
249
+ e.$set(i, "key", n);
250
+ }, expression: "item.key" } })], 1), t("el-col", { attrs: { span: 3 } }, [t("i", { staticClass: "el-icon-delete", staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
251
+ return e.delList(i);
252
+ } } })])], 1)];
253
+ })] : e._e()], 2) : e._e()], 1)], 2), t("IconSelector", { ref: "iconSelector", model: { value: e.ruleFormData.icon, callback: function(i) {
254
+ e.$set(e.ruleFormData, "icon", i);
255
+ }, expression: "ruleFormData.icon" } }), t("BtnFunctionName", { ref: "btnFunctionName", attrs: { table: e.table }, on: { ok: e.okFunctionName } })], 1);
256
+ }, w = [], C = /* @__PURE__ */ r(
257
+ v,
258
+ _,
259
+ w,
260
+ !1,
261
+ null,
262
+ "0cf14899",
263
+ null,
264
+ null
265
+ );
266
+ const $ = C.exports, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
267
+ __proto__: null,
268
+ default: $
269
+ }, Symbol.toStringTag, { value: "Module" }));
270
+ const F = {
271
+ props: {
272
+ height: {
273
+ type: Number,
274
+ default: 100
275
+ },
276
+ record: {
277
+ type: Object,
278
+ default: () => ({})
279
+ }
280
+ },
281
+ mixins: [b],
282
+ components: { editForm: () => Promise.resolve().then(() => D) },
283
+ data() {
284
+ return {
285
+ tableButtons: [
286
+ {
287
+ displayName: "\u65B0\u589E",
288
+ functionName: "add",
289
+ show: !0,
290
+ transKey: "gd.btn.add",
291
+ icon: "el-icon-plus",
292
+ name: "sysTableBtn:add"
293
+ },
294
+ {
295
+ displayName: "\u7F16\u8F91",
296
+ functionName: "edit",
297
+ show: !0,
298
+ transKey: "gd.btn.edit",
299
+ icon: "el-icon-edit",
300
+ name: "sysTableBtn:edit"
301
+ },
302
+ {
303
+ displayName: "\u5220\u9664",
304
+ functionName: "del",
305
+ show: !0,
306
+ transKey: "gd.btn.del",
307
+ icon: "el-icon-delete",
308
+ btnType: "danger",
309
+ name: "sysTableBtn:delete"
310
+ }
311
+ ],
312
+ selectedRowKeys: [],
313
+ selectedRows: [],
314
+ queryParam: {},
315
+ sysViewList: [],
316
+ loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
317
+ e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
318
+ }) : p(Object.assign({ SysCodeGenId: this.record.id }, this.getQueryParam)).then((e) => ({ pageNo: 1, pageSize: 100, totalRows: 0, rows: e.data.filter((i) => i.parentid == null) })),
319
+ show: !1
320
+ };
321
+ },
322
+ computed: {
323
+ getQueryParam() {
324
+ let s = /* @__PURE__ */ new Map();
325
+ for (let e in this.queryParam)
326
+ ["displayposition", "displaypos"].includes(e) ? s.set(e, this.queryParam[e] ? this.queryParam[e].join(",") : "") : s.set(e, this.queryParam[e]);
327
+ return Object.fromEntries(s);
328
+ },
329
+ tableQueries() {
330
+ const s = this.sysViewList;
331
+ return [
332
+ { transKey: "gd.btnConfig.displayName", prop: "displayName", label: "\u663E\u793A\u540D\u79F0", effectType: "input" },
333
+ { transKey: "gd.btnConfig.adaptTo", prop: "displaypos", label: "\u9002\u5E94\u4E8E", effectType: "selectMultiple", dictTypeCode: "table_btn_apply" },
334
+ { transKey: "gd.btnConfig.displayPosition", prop: "displayposition", width: "160", label: "\u663E\u793A\u4F4D\u7F6E", effectType: "selectMultiple", dictData: s }
335
+ ];
336
+ },
337
+ tableColumns() {
338
+ const s = this.sysViewList;
339
+ return [
340
+ {
341
+ type: "selection",
342
+ width: "60",
343
+ fixed: !0
344
+ },
345
+ {
346
+ transKey: "gd.btnConfig.displayName",
347
+ prop: "displayName",
348
+ label: "\u663E\u793A\u540D\u79F0",
349
+ width: "180",
350
+ type: "slot",
351
+ slotType: "displayName",
352
+ align: "left",
353
+ fixed: !0,
354
+ renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
355
+ effectType: "input"
356
+ })
357
+ },
358
+ {
359
+ transKey: "gd.btnConfig.sort",
360
+ prop: "sn",
361
+ width: "120",
362
+ label: "\u5E8F\u53F7",
363
+ align: "left"
364
+ },
365
+ {
366
+ transKey: "gd.btnConfig.type",
367
+ prop: "type",
368
+ width: "120",
369
+ label: "\u7C7B\u578B",
370
+ type: "slot",
371
+ slotType: "type",
372
+ align: "left"
373
+ },
374
+ {
375
+ transKey: "gd.btnConfig.adaptTo",
376
+ prop: "displaypos",
377
+ label: "\u9002\u5E94\u4E8E",
378
+ width: "160",
379
+ type: "slot",
380
+ slotType: "displaypos",
381
+ align: "left",
382
+ renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
383
+ effectType: "selectMultiple",
384
+ dictTypeCode: "table_btn_apply"
385
+ })
386
+ },
387
+ {
388
+ transKey: "gd.btnConfig.displayPosition",
389
+ prop: "displayposition",
390
+ width: "160",
391
+ label: "\u663E\u793A\u4F4D\u7F6E",
392
+ align: "left",
393
+ renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
394
+ effectType: "selectMultiple",
395
+ dictData: s
396
+ })
397
+ },
398
+ {
399
+ transKey: "gd.btnConfig.creationTime",
400
+ prop: "createdtime",
401
+ width: "160",
402
+ label: "\u521B\u5EFA\u65F6\u95F4",
403
+ align: "left"
404
+ },
405
+ {
406
+ transKey: "gd.btnConfig.explain",
407
+ prop: "description",
408
+ width: "210",
409
+ label: "\u8BF4\u660E",
410
+ align: "left"
411
+ }
412
+ ];
413
+ },
414
+ ...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
415
+ },
416
+ methods: {
417
+ queriesRefresh(s) {
418
+ this.queryParam = { ...s }, this.refresh();
419
+ },
420
+ getDisplayPosition() {
421
+ return new Promise((s) => Promise.all([this.getViewList(), this.getFormList()]).then((e) => {
422
+ let t = [];
423
+ e.forEach((i, a) => {
424
+ (i.data ? i.data : []).forEach((o) => {
425
+ t.push({
426
+ code: o.id,
427
+ transKey: o.transkey,
428
+ name: a === 1 ? o.displayname : o.name
429
+ });
430
+ });
431
+ }), this.sysViewList = t, s();
432
+ }));
433
+ },
434
+ getViewList() {
435
+ return c({ sysCodeGenId: this.record.id }).then((s) => s);
436
+ },
437
+ getFormList() {
438
+ return u({ sysCodeGenId: this.record.id }).then((s) => s);
439
+ },
440
+ async refresh() {
441
+ await this.getDisplayPosition(), this.show = !0, this.$nextTick(() => {
442
+ setTimeout(() => {
443
+ this.$refs.table.refresh();
444
+ }, 100);
445
+ });
446
+ },
447
+ editForm(s) {
448
+ this.$refs.editForm.open(s);
449
+ },
450
+ del() {
451
+ if (this.selectedRowKeys.length === 0) {
452
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
453
+ return;
454
+ }
455
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
456
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
457
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
458
+ showClose: !1,
459
+ confirmButtonLoading: !1,
460
+ cancelButtonLoading: !1,
461
+ closeOnClickModal: !1,
462
+ type: "warning",
463
+ confirmButtonClass: "el-button--danger",
464
+ customClass: "custom-alert",
465
+ callback: () => {
466
+ },
467
+ beforeClose: (s, e, t) => {
468
+ this.delHand(s, e, t);
469
+ }
470
+ });
471
+ },
472
+ delHand(s, e, t) {
473
+ if (s !== "confirm") {
474
+ t();
475
+ return;
476
+ }
477
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, g({ ids: this.selectedRowKeys.join(",") }).then((i) => {
478
+ t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i.success ? 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.message), this.handleOk();
479
+ });
480
+ },
481
+ add() {
482
+ this.$refs.editForm.open(null);
483
+ },
484
+ edit() {
485
+ if (this.selectedRowKeys.length === 0) {
486
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
487
+ return;
488
+ }
489
+ if (this.selectedRowKeys.length > 1) {
490
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
491
+ return;
492
+ }
493
+ this.editForm(this.selectedRows[0]);
494
+ },
495
+ handleOk() {
496
+ this.$refs.table.refresh();
497
+ },
498
+ onSelectChange(s, e) {
499
+ this.selectedRowKeys = s, this.selectedRows = e;
500
+ },
501
+ doEvent(s) {
502
+ let e = s.item.functionName;
503
+ this[e] && this[e]();
504
+ }
505
+ }
506
+ };
507
+ var L = function() {
508
+ var e = this, t = e._self._c;
509
+ return t("div", [t("div", [e.show ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, "max-height": e.height, showPagination: !1, initialLoading: !1, filtering: "" }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "displayName", fn: function({ column: i, row: a }) {
510
+ return [t("gd-tooltip", { attrs: { rowKey: "displayname", row: a, highlight: "", transKey: `Dynamics.${a.transkey}` }, on: { click: e.editForm } })];
511
+ } }, { key: "type", fn: function(i) {
512
+ return [e._v(" " + e._s(e._f("dictType")("table_btn_type", i.row.type)) + " ")];
513
+ } }, { key: "displaypos", fn: function(i) {
514
+ return [e._v(" " + e._s(e._f("dictType")("table_btn_apply", i.row.displaypos)) + " ")];
515
+ } }, { key: "operator", fn: function() {
516
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
517
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: a, changeTrigger: n }) {
518
+ return [t("gd-table-queries-field", { ref: "queriesField", attrs: { columns: e.tableQueries, height: 780, queryParam: e.queryParam, colse: i, visible: a, openRules: !1, changeTrigger: n }, on: { save: e.queriesRefresh } })];
519
+ } }], null, !1, 4164397829) }) : e._e()], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.refresh } })], 1);
520
+ }, k = [], N = /* @__PURE__ */ r(
521
+ F,
522
+ L,
523
+ k,
524
+ !1,
525
+ null,
526
+ "9bba5dd7",
527
+ null,
528
+ null
529
+ );
530
+ const A = N.exports;
531
+ const x = {
532
+ props: {
533
+ table: {
534
+ type: Object,
535
+ default: () => ({})
536
+ }
537
+ },
538
+ data() {
539
+ return {
540
+ type: "",
541
+ width: "800px",
542
+ confirmLoading: !1,
543
+ visible: !1,
544
+ fullscreen: !1,
545
+ selectedRowKeys: [],
546
+ selectedRows: [],
547
+ tableColumns: [
548
+ {
549
+ type: "selection-radio",
550
+ width: "60",
551
+ fixed: !0
552
+ },
553
+ {
554
+ transKey: "gd.btnConfig.functionName",
555
+ prop: "name",
556
+ label: "\u65B9\u6CD5\u540D",
557
+ width: "160",
558
+ align: "left",
559
+ showOverflowTooltip: !0
560
+ },
561
+ {
562
+ transKey: "gd.btnConfig.icon",
563
+ prop: "icon",
564
+ label: "\u56FE\u6807",
565
+ width: "80",
566
+ type: "slot",
567
+ slotType: "icon",
568
+ align: "center",
569
+ showOverflowTooltip: !0
570
+ },
571
+ {
572
+ transKey: "gd.btnConfig.explain",
573
+ prop: "title",
574
+ label: "\u8BF4\u660E",
575
+ type: "slot",
576
+ slotType: "explain",
577
+ align: "left",
578
+ showOverflowTooltip: !0
579
+ },
580
+ {
581
+ transKey: "gd.btn.handle",
582
+ prop: "action",
583
+ label: "\u64CD\u4F5C",
584
+ width: "110",
585
+ align: "center",
586
+ type: "slot",
587
+ slotType: "action",
588
+ showOverflowTooltip: !0
589
+ }
590
+ ],
591
+ buttons: [
592
+ {
593
+ displayName: "\u786E\u5B9A",
594
+ functionName: "handleSubmit",
595
+ show: !0,
596
+ transKey: "gd.btn.confirm",
597
+ icon: "el-icon-document-checked"
598
+ }
599
+ ],
600
+ loadData: (s) => this.getLoadField(),
601
+ list: [
602
+ {
603
+ name: "save",
604
+ title: "\u4FDD\u5B58\u6570\u636E;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",
605
+ type: ["form"],
606
+ transKey: "gd.btnConfig.btnSave",
607
+ icon: "el-icon-document-checked"
608
+ },
609
+ {
610
+ name: "saveClose",
611
+ title: "\u4FDD\u5B58\u6570\u636E\u5E76\u5173\u95ED;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",
612
+ type: ["form"],
613
+ transKey: "gd.btnConfig.btnSaveClose",
614
+ icon: "el-icon-document-checked"
615
+ },
616
+ {
617
+ name: "saveAdd",
618
+ title: "\u4FDD\u5B58\u6570\u636E\u5E76\u91CD\u65B0\u65B0\u589E\u6570\u636E;",
619
+ type: ["form"],
620
+ transKey: "gd.btnConfig.saveAdd",
621
+ icon: "el-icon-document-checked"
622
+ },
623
+ {
624
+ name: "add",
625
+ title: "\u6253\u5F00\u8868\u5355\u65B0\u589E\u6570\u636E",
626
+ type: ["view"],
627
+ transKey: "gd.btnConfig.btnAdd",
628
+ icon: "el-icon-plus"
629
+ },
630
+ {
631
+ name: "edit",
632
+ title: "\u6253\u5F00\u8868\u5355\u7F16\u8F91\u6570\u636E",
633
+ type: ["view"],
634
+ transKey: "gd.btnConfig.btnEdit",
635
+ icon: "el-icon-edit"
636
+ },
637
+ {
638
+ name: "del",
639
+ title: "\u5220\u9664\u9009\u4E2D\u6570\u636E",
640
+ type: ["view"],
641
+ transKey: "gd.btnConfig.btnDel",
642
+ icon: "el-icon-delete",
643
+ btnType: "danger"
644
+ },
645
+ {
646
+ name: "importData",
647
+ title: "\u5BFC\u5165\u6570\u636E",
648
+ type: ["view"],
649
+ transKey: "gd.btnConfig.btnImportData",
650
+ icon: "gd-icon-daoru1"
651
+ },
652
+ {
653
+ name: "exportData",
654
+ title: "\u5BFC\u51FA\u6570\u636E",
655
+ type: ["view"],
656
+ transKey: "gd.btnConfig.btnExportData",
657
+ icon: "gd-icon-daoru"
658
+ },
659
+ {
660
+ name: "deactivateData",
661
+ title: "\u7981\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",
662
+ type: ["view", "form"],
663
+ transKey: "gd.btnConfig.btnDeactivateData",
664
+ icon: "gd-icon-jinyong1",
665
+ btnType: "danger"
666
+ },
667
+ {
668
+ name: "enableData",
669
+ title: "\u542F\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",
670
+ type: ["view", "form"],
671
+ transKey: "gd.btnConfig.btnEnableData",
672
+ icon: "el-icon-video-play"
673
+ },
674
+ {
675
+ name: "assign",
676
+ title: "\u5206\u6D3E",
677
+ type: ["view", "form"],
678
+ transKey: "gd.btnConfig.btnAssign",
679
+ icon: "gd-icon-map-site"
680
+ },
681
+ {
682
+ name: "batchUpdate",
683
+ title: "\u7EDF\u4E00\u66F4\u65B0",
684
+ type: ["view"],
685
+ transKey: "gd.btnConfig.btnBatchUpdate",
686
+ icon: "el-icon-refresh"
687
+ },
688
+ {
689
+ name: "teamSharing",
690
+ title: "\u56E2\u961F\u5171\u4EAB",
691
+ type: ["view"],
692
+ transKey: "gd.btnConfig.btnTeamSharing",
693
+ icon: "el-icon-share"
694
+ },
695
+ {
696
+ name: "statusChange",
697
+ title: "\u72B6\u6001\u53D8\u66F4",
698
+ type: ["view"],
699
+ transKey: "gd.btnConfig.btnStatusChange",
700
+ icon: "el-icon-edit-outline",
701
+ tableName: ["sys_employees"]
702
+ }
703
+ ]
704
+ };
705
+ },
706
+ computed: {
707
+ ...d(["tablePageSize", "tableSize"])
708
+ },
709
+ methods: {
710
+ toggleFullscreen() {
711
+ this.fullscreen = !this.fullscreen;
712
+ },
713
+ save(s) {
714
+ this.$emit("ok", s), this.closed();
715
+ },
716
+ handleSubmit() {
717
+ const s = this.selectedRows[0];
718
+ if (s == null) {
719
+ this.closed();
720
+ return;
721
+ }
722
+ this.save(s);
723
+ },
724
+ getLoadField() {
725
+ return new Promise((s, e) => {
726
+ const t = this.list.filter((i) => {
727
+ const a = i.type.includes(this.type);
728
+ return i.tableName ? a && i.tableName.includes(this.table.tablename) : a;
729
+ });
730
+ s({ pageNo: 1, pageSize: 40, totalRows: 0, rows: t });
731
+ });
732
+ },
733
+ open(s) {
734
+ this.type = s, this.visible = !0, this.$nextTick(() => {
735
+ setTimeout(() => {
736
+ this.refresh();
737
+ }, 0);
738
+ });
739
+ },
740
+ closed() {
741
+ this.fullscreen = !1, this.visible = !1;
742
+ },
743
+ refresh() {
744
+ this.$refs.table.refresh();
745
+ },
746
+ onSelectChange(s, e) {
747
+ this.selectedRowKeys = s, this.selectedRows = e;
748
+ },
749
+ doEvent(s) {
750
+ let e = s.item.functionName;
751
+ this[e] && this[e]();
752
+ }
753
+ }
754
+ };
755
+ var S = function() {
756
+ var e = this, t = e._self._c;
757
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
758
+ e.visible = i;
759
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.executionFunction", "\u6267\u884C\u65B9\u6CD5"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent } })], 1), t("gd-tables", { ref: "table", attrs: { rowKey: "name", dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, showPagination: !1, initialLoading: !1, disabledRefresh: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "icon", fn: function({ column: i, row: a }) {
760
+ return [t("i", { staticClass: "gd-icons active-color", class: a.icon })];
761
+ } }, { key: "explain", fn: function({ column: i, row: a }) {
762
+ return [e._v(" " + e._s(e.$i18nt(a.transKey, a.title)) + " ")];
763
+ } }, { key: "action", fn: function({ column: i, row: a }) {
764
+ return [t("div", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: function(n) {
765
+ return e.save(a);
766
+ } } }, [e._v(e._s(e.$i18nt("gd.btn.confirm", "\u786E\u8BA4")))])];
767
+ } }]) })], 2);
768
+ }, K = [], T = /* @__PURE__ */ r(
769
+ x,
770
+ S,
771
+ K,
772
+ !1,
773
+ null,
774
+ "e813ad81",
775
+ null,
776
+ null
777
+ );
778
+ const P = T.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
779
+ __proto__: null,
780
+ default: P
781
+ }, Symbol.toStringTag, { value: "Module" }));
782
+ const R = {
783
+ props: {
784
+ codeGenId: {
785
+ type: [String, Number],
786
+ default: ""
787
+ },
788
+ type: {
789
+ type: [String, Number],
790
+ default: "1"
791
+ }
792
+ },
793
+ data() {
794
+ return {
795
+ title: "\u89C6\u56FE\u6309\u94AE\u8BBE\u7F6E",
796
+ fullscreen: !1,
797
+ visible: !1,
798
+ width: "900px",
799
+ confirmLoading: !1,
800
+ spinning: !1,
801
+ closeList: [],
802
+ loadData: [],
803
+ allBtn: [],
804
+ selectedKeys: [],
805
+ btnList: [],
806
+ checkAll: !1,
807
+ indeterminate: !0,
808
+ sysViewButtons: [
809
+ {
810
+ displayName: "\u786E\u5B9A",
811
+ functionName: "handleSubmit",
812
+ show: !0,
813
+ transKey: "gd.btn.confirm",
814
+ icon: "el-icon-document-checked"
815
+ }
816
+ ],
817
+ activeIndex: "0",
818
+ selId: "0",
819
+ changeChecked: !1
820
+ };
821
+ },
822
+ computed: {
823
+ hstyle() {
824
+ const s = this.fullscreen ? 126 : 320;
825
+ return `height:${this.screenHeight - s}px`;
826
+ },
827
+ isIndeterminate() {
828
+ return this.closeList.length > 0 && this.closeList.length < this.allBtn.length;
829
+ },
830
+ ...d(["screenHeight"])
831
+ },
832
+ methods: {
833
+ togglefullscreen() {
834
+ this.fullscreen = !this.fullscreen;
835
+ },
836
+ open(s) {
837
+ this.fullScreen = !1, this.loadData = [...s], this.title = this.type == 1 ? this.$i18nt("gd.btnConfig.viewBtnSettings", "\u89C6\u56FE\u6309\u94AE\u8BBE\u7F6E") : this.$i18nt("gd.btnConfig.formBtnSettings", "\u8868\u5355\u6309\u94AE\u8BBE\u7F6E"), this.visible = !0, this.spinning = !0, Promise.all([this.getBtnList()]).then((e) => {
838
+ this.loadData.forEach((t) => {
839
+ let i = this.getCloseBtn(t);
840
+ return t.close = [...i], t.initial = [...i], t;
841
+ }), this.closeList = this.loadData.length > 0 ? [...this.loadData[0].close] : [], this.checkedOptions = [...this.closeList], this.spinning = !1;
842
+ });
843
+ },
844
+ belonging(s) {
845
+ let e = "--", t = this.type == 1 ? s.sysviewid : s.sysformidbyset, i = this.loadData.filter((a) => a.id == t);
846
+ return i.length > 0 && (e = i.length > 0 ? this.type == 1 ? i[0].name : i[0].displayname : ""), e;
847
+ },
848
+ getBtnList() {
849
+ return p({
850
+ type: this.type,
851
+ SysCodeGenId: this.codeGenId
852
+ }).then((s) => {
853
+ let e = [];
854
+ return s.data.forEach((t, i) => {
855
+ s.data[i].belonging = this.belonging(t), e.push(t.id);
856
+ }), this.btnList = s.data.filter((t) => t.parentid == null), this.allBtn = [...e], s.data;
857
+ });
858
+ },
859
+ select(s, e) {
860
+ this.selId != s && (this.selId = s, this.selectedKeys = e, this.closeList = this.loadData[parseInt(s)].close);
861
+ },
862
+ onCheckAllChange(s) {
863
+ let e = this.closeList.length === 0 ? [...this.allBtn] : this.allBtn.length === this.closeList.length ? [] : [...this.allBtn];
864
+ this.closeList = [...e], this.loadData[parseInt(this.selId)].close = [...e];
865
+ },
866
+ handleCheckedCitiesChange(s) {
867
+ this.loadData[parseInt(this.selId)].close = [...s], this.closeList = [...s];
868
+ },
869
+ getCloseBtn(s) {
870
+ let e = [];
871
+ return this.btnList.forEach((t) => {
872
+ this.type == 1 && t.sysviewid == s.id && e.push(t.id), this.type == 2 && t.sysformidbyset == s.id && e.push(t.id);
873
+ }), e;
874
+ },
875
+ handleSubmit() {
876
+ this.confirmLoading = !0, this.spinning = !0;
877
+ let s = [];
878
+ this.loadData.forEach((e) => {
879
+ let t = this.btnFilter(e, 1), i = this.btnFilter(e, 0), a = t.concat(i);
880
+ if (a.length > 0) {
881
+ let n = {
882
+ type: this.type,
883
+ componentId: e.id,
884
+ btnS: a
885
+ };
886
+ s.push(n);
887
+ }
888
+ }), y(s).then((e) => {
889
+ e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + e.message), this.confirmLoading = !1, this.spinning = !1;
890
+ });
891
+ },
892
+ btnFilter(s, e) {
893
+ let t = [], i = [];
894
+ return e == 1 ? t = s.close.filter((a) => !s.initial.includes(a)) : t = s.initial.filter((a) => !s.close.includes(a)), t.forEach((a) => {
895
+ i.push({ type: e, btnId: a });
896
+ }), i;
897
+ },
898
+ handleCancel() {
899
+ this.visible = !1;
900
+ },
901
+ doEvent(s) {
902
+ let e = s.item.functionName;
903
+ this[e] && this[e]();
904
+ }
905
+ }
906
+ };
907
+ var I = function() {
908
+ var e = this, t = e._self._c;
909
+ 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(i) {
910
+ e.visible = i;
911
+ }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.copy"), fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel", toggleFullscreen: "togglefullscreen" }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.spinning, expression: "spinning" }] }, [t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("div", { staticClass: "list" }, [t("div", { staticClass: "l" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e.type == 1 ? e.$i18nt("gd.btnConfig.view") : e.$i18nt("gd.btnConfig.form")) + " ")]), t("div", { staticClass: "detail", style: e.hstyle }, [t("el-menu", { staticClass: "el-menu-vertical-demo", attrs: { "default-active": e.activeIndex }, on: { select: e.select } }, [e._l(e.loadData, function(i, a) {
912
+ return [t("el-menu-item", { attrs: { index: String(a) } }, [t("div", { staticClass: "line1" }, [e._v(e._s(e.type == 1 ? i.name : i.displayname))])])];
913
+ })], 2)], 1)]), t("div", { staticClass: "r" }, [t("div", { staticClass: "title more" }, [t("div", { staticClass: "btn" }, [t("el-checkbox", { attrs: { indeterminate: e.isIndeterminate }, on: { change: e.onCheckAllChange }, model: { value: e.changeChecked, callback: function(i) {
914
+ e.changeChecked = i;
915
+ }, expression: "changeChecked" } }, [e._v(" " + e._s(e.$i18nt("gd.btnConfig.btn")) + " ")])], 1), t("div", { staticClass: "suo" }, [e._v(" " + e._s(e.type == 1 ? e.$i18nt("gd.btnConfig.belongingView") : e.$i18nt("gd.btnConfig.belongingForm")) + " ")]), t("div", { staticClass: "explain" }, [e._v(e._s(e.$i18nt("gd.btnConfig.explain")))])]), t("div", { staticClass: "detail", style: e.hstyle }, e._l(e.btnList, function(i, a) {
916
+ return t("div", { key: a, staticClass: "more" }, [t("div", { staticClass: "btn" }, [t("el-checkbox-group", { on: { change: e.handleCheckedCitiesChange }, model: { value: e.closeList, callback: function(n) {
917
+ e.closeList = n;
918
+ }, expression: "closeList" } }, [t("el-checkbox", { attrs: { label: i.id } }, [t("div", [e._v(e._s(i.displayname))])])], 1)], 1), t("div", { staticClass: "suo line1" }, [e._v(e._s(i.belonging))]), t("div", { staticClass: "explain line1" }, [e._v(e._s(i.description))])]);
919
+ }), 0)])])])])], 1)], 1);
920
+ }, z = [], O = /* @__PURE__ */ r(
921
+ R,
922
+ I,
923
+ z,
924
+ !1,
925
+ null,
926
+ "efb5923b",
927
+ null,
928
+ null
929
+ );
930
+ const E = O.exports, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
931
+ __proto__: null,
932
+ default: E
933
+ }, Symbol.toStringTag, { value: "Module" }));
934
+ export {
935
+ M as a,
936
+ A as b,
937
+ $ as e
938
+ };