gds-plus-design-vue 1.2.62 → 1.2.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/lib/addPermission.179a09f4.mjs +443 -0
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/approvalModel.7b550187.mjs +340 -0
  4. package/lib/approvalModel.7cfcac3c.js +1 -0
  5. package/lib/attribute.3fed1dd9.js +1 -0
  6. package/lib/attribute.e9a8faa1.mjs +367 -0
  7. package/lib/businessRules.cf106f09.js +1 -0
  8. package/lib/businessRules.d7d35011.mjs +539 -0
  9. package/lib/buttonRule.2afe380d.mjs +396 -0
  10. package/lib/buttonRule.737e8e3f.js +1 -0
  11. package/lib/chartDisplayRules.370065e8.mjs +288 -0
  12. package/lib/chartDisplayRules.c9162f81.js +1 -0
  13. package/lib/components.chartbi.3bbac955.js +8 -0
  14. package/lib/components.chartbi.571c5ff5.mjs +1813 -0
  15. package/lib/components.coloreditor.06cf0433.mjs +1505 -0
  16. package/lib/components.coloreditor.f81d322a.js +6 -0
  17. package/lib/components.dataassign.21d3938b.mjs +147 -0
  18. package/lib/components.dataassign.565d22c0.js +1 -0
  19. package/lib/components.echarts.490abdfa.mjs +811 -0
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/components.exception.374f2ad9.js +1 -0
  22. package/lib/components.exception.ee1c4f83.mjs +61 -0
  23. package/lib/components.form.5533a8c3.js +41 -0
  24. package/lib/components.form.db8af727.mjs +7813 -0
  25. package/lib/components.globalheader.2eb787a4.js +1 -0
  26. package/lib/components.globalheader.b3b35343.mjs +54 -0
  27. package/lib/components.iconselector.8940b1a9.mjs +1169 -0
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/components.imgpreview.d97cf25c.js +1 -0
  30. package/lib/components.imgpreview.f05b3e06.mjs +213 -0
  31. package/lib/components.lunccalendar.18f84642.js +1 -0
  32. package/lib/components.lunccalendar.2a097955.mjs +1137 -0
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/components.middleware.de012955.mjs +148 -0
  35. package/lib/components.modaltitle.5060623f.mjs +127 -0
  36. package/lib/components.modaltitle.957cab33.js +1 -0
  37. package/lib/components.multitab.5eb6edff.mjs +140 -0
  38. package/lib/components.multitab.80eeb3ae.js +1 -0
  39. package/lib/components.selecttree.2fe70d88.js +1 -0
  40. package/lib/components.selecttree.756c4d22.mjs +170 -0
  41. package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
  42. package/lib/components.settingdrawer.8c12650b.js +1 -0
  43. package/lib/components.sidemenu.0673fe0a.mjs +277 -0
  44. package/lib/components.sidemenu.240dfde7.js +1 -0
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
  47. package/lib/components.statuschange.858b72e8.js +1 -0
  48. package/lib/components.statuschange.fae4adba.mjs +116 -0
  49. package/lib/components.table.1e338902.js +8 -0
  50. package/lib/components.table.9ed77207.mjs +4650 -0
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
  53. package/lib/components.tablevirtual.66890b2c.mjs +564 -0
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
  56. package/lib/components.teamsharing.89e668fd.js +1 -0
  57. package/lib/components.tooltip.0ea7e2b1.js +1 -0
  58. package/lib/components.tooltip.376d95fe.mjs +86 -0
  59. package/lib/components.uploadfile.0a5a1608.mjs +228 -0
  60. package/lib/components.uploadfile.8e0e702c.js +1 -0
  61. package/lib/components.uploadimg.bc160e00.js +1 -0
  62. package/lib/components.uploadimg.decb0360.mjs +192 -0
  63. package/lib/components.verificationcode.140533c7.js +1 -0
  64. package/lib/components.verificationcode.7091b10b.mjs +71 -0
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/components.viewformdetails.d241c652.mjs +1081 -0
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/components.viewloading.aae3aab4.mjs +99 -0
  69. package/lib/components.watermark.2ec3260c.mjs +53 -0
  70. package/lib/components.watermark.d9ec8130.js +2 -0
  71. package/lib/components.xlsxexport.0d1553b1.js +1 -0
  72. package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
  73. package/lib/components.xlsximport.81df7841.mjs +922 -0
  74. package/lib/components.xlsximport.8c209857.js +1 -0
  75. package/lib/copy.8db86d9f.mjs +572 -0
  76. package/lib/copy.a8753f38.js +1 -0
  77. package/lib/createFile.04a6b293.js +1 -0
  78. package/lib/createFile.4cac1673.mjs +439 -0
  79. package/lib/createSubfolders.e105fa86.js +1 -0
  80. package/lib/createSubfolders.eac5ccae.mjs +154 -0
  81. package/lib/dialogLayout.bf435838.mjs +138 -0
  82. package/lib/dialogLayout.f0779aed.js +1 -0
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/drawerLayout.b6c7c3c6.js +1 -0
  86. package/lib/drawerLayout.e3c0164d.mjs +119 -0
  87. package/lib/editForm.0f3fd3b0.js +1 -0
  88. package/lib/editForm.aef93ed0.mjs +434 -0
  89. package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
  90. package/lib/extendedAttributes.ef3ead02.js +1 -0
  91. package/lib/fileSearch.43465e1c.js +1 -0
  92. package/lib/fileSearch.5c8a883d.mjs +363 -0
  93. package/lib/flow.designer.81c29f62.mjs +7673 -0
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/flow.list.ab420927.mjs +3032 -0
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/form.build.d04773f0.mjs +259 -0
  99. package/lib/form.designer.build.c82cb559.mjs +2529 -0
  100. package/lib/form.designer.build.dac501fa.js +1 -0
  101. package/lib/formFiled.4b5062d7.js +1 -0
  102. package/lib/formFiled.c949a27f.mjs +507 -0
  103. package/lib/gd-initial.js +1 -35
  104. package/lib/gd-initial.mjs +245 -91338
  105. package/lib/http.appmanage.b998818f.js +1 -0
  106. package/lib/http.appmanage.e389782d.mjs +50 -0
  107. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  108. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  109. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  110. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  111. package/lib/http.currencymanage.37ab5ced.js +1 -0
  112. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  113. package/lib/http.datasource.294b01e2.js +1 -0
  114. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  115. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  116. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  117. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  118. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  119. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  120. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  121. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  122. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  123. package/lib/http.filedocument.6fdfc693.js +1 -0
  124. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  125. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  126. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  127. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  128. package/lib/http.languagemanage.e2c098ec.js +1 -0
  129. package/lib/http.loginmanage.05500c29.mjs +74 -0
  130. package/lib/http.loginmanage.326984c3.js +1 -0
  131. package/lib/http.logmanage.1e12a9bd.js +1 -0
  132. package/lib/http.logmanage.8ba72635.mjs +82 -0
  133. package/lib/http.machinemanage.29d72a65.js +1 -0
  134. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  135. package/lib/http.main.2f8a6936.js +1 -0
  136. package/lib/http.main.aefea27d.mjs +517 -0
  137. package/lib/http.menumanage.3060f4c7.mjs +66 -0
  138. package/lib/http.menumanage.6d740f2c.js +1 -0
  139. package/lib/http.message.87f319d7.js +1 -0
  140. package/lib/http.message.ceb0a1c6.mjs +178 -0
  141. package/lib/http.noticemanage.2507d094.js +1 -0
  142. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  143. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  144. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  145. package/lib/http.onlineusermanage.3893f897.js +1 -0
  146. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  147. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  148. package/lib/http.orgmanage.5162fd7a.js +1 -0
  149. package/lib/http.pluginmanage.54720675.mjs +82 -0
  150. package/lib/http.pluginmanage.6a876040.js +1 -0
  151. package/lib/http.posmanage.c0f80aec.js +1 -0
  152. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  153. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  154. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  155. package/lib/http.rolemanage.4d1101dd.js +1 -0
  156. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  157. package/lib/http.solution.b10d9197.mjs +91 -0
  158. package/lib/http.solution.c6b2634f.js +1 -0
  159. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  160. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  161. package/lib/http.sysapps.469d47f7.js +1 -0
  162. package/lib/http.sysapps.932ba43b.mjs +58 -0
  163. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  164. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  165. package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
  166. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  167. package/lib/http.team.a9c609d5.mjs +90 -0
  168. package/lib/http.team.e45400d5.js +1 -0
  169. package/lib/http.timersmanage.6e894942.js +1 -0
  170. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  171. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  172. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  173. package/lib/http.translationmanage.1f9dce46.js +1 -0
  174. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  175. package/lib/http.useraffiliation.af2013ad.js +1 -0
  176. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  177. package/lib/http.usermanage.6dcbc7de.js +1 -0
  178. package/lib/http.usermanage.f5491144.mjs +219 -0
  179. package/lib/http.webresource.1a1a768f.mjs +50 -0
  180. package/lib/http.webresource.7c01b9cd.js +1 -0
  181. package/lib/index.9deaa991.mjs +25906 -0
  182. package/lib/index.d95c407c.js +8 -0
  183. package/lib/layoutBlocks.26e1b57b.js +1 -0
  184. package/lib/layoutBlocks.31454610.mjs +413 -0
  185. package/lib/layoutItem.c1c836a1.js +1 -0
  186. package/lib/layoutItem.cf18143e.mjs +71 -0
  187. package/lib/layouts.2d06f3e9.js +2 -0
  188. package/lib/layouts.3b383d04.mjs +373 -0
  189. package/lib/main.09d48801.js +1 -0
  190. package/lib/main.28b7c398.js +1 -0
  191. package/lib/main.29e204f9.mjs +166 -0
  192. package/lib/main.33443996.mjs +231 -0
  193. package/lib/main.357c50d2.js +1 -0
  194. package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
  195. package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
  196. package/lib/main.4a38d5f8.js +1 -0
  197. package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
  198. package/lib/main.60c2a1a2.js +1 -0
  199. package/lib/main.61c9e5c6.mjs +537 -0
  200. package/lib/main.643d21a0.mjs +552 -0
  201. package/lib/main.64ddb5f6.mjs +189 -0
  202. package/lib/main.728eaf53.js +1 -0
  203. package/lib/main.892caa37.js +1 -0
  204. package/lib/main.aea9b6a8.mjs +323 -0
  205. package/lib/main.b7a5a02b.js +1 -0
  206. package/lib/main.c71e5b11.js +1 -0
  207. package/lib/main.edc0b23b.js +1 -0
  208. package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
  209. package/lib/manage.101f1aa9.js +1 -0
  210. package/lib/manage.f4000654.mjs +441 -0
  211. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  212. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  213. package/lib/messages.messagetemplate.32273e00.js +7 -0
  214. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  215. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  216. package/lib/messages.sendplan.fbac188d.js +1 -0
  217. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  218. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  219. package/lib/messages.templatelibrary.ec512390.js +2 -0
  220. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  221. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  222. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  223. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  224. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  225. package/lib/moveFile.335ebc8d.js +1 -0
  226. package/lib/moveFile.d71c0824.mjs +276 -0
  227. package/lib/page.build.376104d5.mjs +3164 -0
  228. package/lib/page.build.37b26617.js +12 -0
  229. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  230. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  231. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  232. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  233. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  234. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  235. package/lib/page.designer.operation.6179b661.js +1 -0
  236. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  237. package/lib/page.designer.page.09402332.js +1 -0
  238. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  239. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  240. package/lib/personal.echarts.b7ee86f4.js +1 -0
  241. package/lib/result.0c089066.mjs +639 -0
  242. package/lib/result.9282a717.js +1 -0
  243. package/lib/router.config.68077a12.js +1 -0
  244. package/lib/router.config.86225b11.mjs +1424 -0
  245. package/lib/solution.application.d459e382.js +1 -0
  246. package/lib/solution.application.e0d58df1.mjs +548 -0
  247. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  248. package/lib/solution.applicationmenu.ae295083.js +1 -0
  249. package/lib/solution.approvalflow.436b3502.js +1 -0
  250. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  251. package/lib/solution.dict.acbe9c55.js +1 -0
  252. package/lib/solution.dict.ef98b194.mjs +769 -0
  253. package/lib/solution.menu.5c17348f.mjs +432 -0
  254. package/lib/solution.menu.cca5e1f9.js +1 -0
  255. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  256. package/lib/solution.plugin.f9a8063f.js +1 -0
  257. package/lib/solution.processflow.2692dac6.js +1 -0
  258. package/lib/solution.processflow.c1544b05.mjs +392 -0
  259. package/lib/solution.role.b1ab40dd.mjs +456 -0
  260. package/lib/solution.role.b28c4dbe.js +1 -0
  261. package/lib/solution.webresources.0b51beba.mjs +379 -0
  262. package/lib/solution.webresources.6961cc68.js +1 -0
  263. package/lib/solution.workflow.11e49e25.js +1 -0
  264. package/lib/solution.workflow.c48545d1.mjs +395 -0
  265. package/lib/store.config.03dd7b19.mjs +547 -0
  266. package/lib/store.config.556bd56b.js +1 -0
  267. package/lib/style.css +3 -3
  268. package/lib/system.account.1cadbf03.mjs +2093 -0
  269. package/lib/system.account.5cc9fe8d.js +216 -0
  270. package/lib/system.config.a0b94e40.js +1 -0
  271. package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
  272. package/lib/system.datasource.6c30ce25.js +1 -0
  273. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
  274. package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
  275. package/lib/system.dict.6b000092.js +1 -0
  276. package/lib/system.document.f67c2994.mjs +667 -0
  277. package/lib/system.document.f8fd7af0.js +1 -0
  278. package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
  279. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  280. package/lib/system.email.11ab6f31.js +1 -0
  281. package/lib/system.email.13823361.mjs +133 -0
  282. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  283. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
  284. package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
  285. package/lib/system.file.b9f8320c.js +1 -0
  286. package/lib/system.log.470d3efd.js +1 -0
  287. package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
  288. package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
  289. package/lib/system.machine.f8aff893.js +1 -0
  290. package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
  291. package/lib/system.notice.db26f308.js +1 -0
  292. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
  293. package/lib/system.noticereceived.84b88b9a.js +1 -0
  294. package/lib/system.onlineuser.985621a6.js +1 -0
  295. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
  296. package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
  297. package/lib/system.org.9f87a010.js +1 -0
  298. package/lib/system.permissions.15e6b8b7.js +1 -0
  299. package/lib/system.permissions.be9238ee.mjs +972 -0
  300. package/lib/system.plugin.0bccfec4.js +1 -0
  301. package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
  302. package/lib/system.pos.61e58a92.js +1 -0
  303. package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
  304. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
  305. package/lib/system.promptmanagement.e750de82.js +1 -0
  306. package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
  307. package/lib/system.role.e86b60f1.js +1 -0
  308. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
  309. package/lib/system.sumberrules.810f7b55.js +1 -0
  310. package/lib/system.team.58ee701b.js +1 -0
  311. package/lib/system.team.8911fd95.mjs +452 -0
  312. package/lib/system.teammembers.1880f962.js +1 -0
  313. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
  314. package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
  315. package/lib/system.timers.9e956553.js +38 -0
  316. package/lib/system.translation.26b6bb39.js +1 -0
  317. package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
  318. package/lib/system.user.134a3988.js +14 -0
  319. package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
  320. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
  321. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  322. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
  323. package/lib/system.webresource.e92e8a8f.js +1 -0
  324. package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
  325. package/lib/system.welcome.ff0c85e2.js +1 -0
  326. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  327. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  328. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  329. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  330. package/lib/tableDescriptions.a4196776.mjs +80 -0
  331. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  332. package/lib/tcheckboxs.7ea99d35.js +1 -0
  333. package/lib/tcheckboxs.999b7c2e.mjs +52 -0
  334. package/lib/tcurrency.4afb9192.mjs +85 -0
  335. package/lib/tcurrency.8a2361f2.js +1 -0
  336. package/lib/tdatepicker.606214fa.mjs +52 -0
  337. package/lib/tdatepicker.8e94a60c.js +1 -0
  338. package/lib/tdictSwitch.ccbdd153.js +1 -0
  339. package/lib/tdictSwitch.e016d4cf.mjs +60 -0
  340. package/lib/tfile.3f39223d.mjs +62 -0
  341. package/lib/tfile.b3ebdc71.js +1 -0
  342. package/lib/tparticipants.5fe27540.mjs +56 -0
  343. package/lib/tparticipants.78c8c175.js +1 -0
  344. package/lib/translation.mains.2688be5b.mjs +383 -0
  345. package/lib/translation.mains.a6f19343.js +1 -0
  346. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  347. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  348. package/lib/utils.echarts.js.461a74e7.js +54 -0
  349. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  350. package/lib/utils.mixins.js.750ca50e.js +1 -0
  351. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  352. package/lib/utils.plug.js.9313aead.mjs +31 -0
  353. package/lib/utils.plug.js.f62510ce.js +1 -0
  354. package/lib/utils.util.js.333daba2.mjs +439 -0
  355. package/lib/utils.util.js.c0ba699b.js +1 -0
  356. package/lib/versionControl.46a7f31a.js +1 -0
  357. package/lib/versionControl.c53bfb5d.mjs +488 -0
  358. package/lib/versionEdit.4246d5db.js +1 -0
  359. package/lib/versionEdit.5a8292ec.mjs +452 -0
  360. package/lib/view.build.85732408.mjs +1578 -0
  361. package/lib/view.build.e43a2077.js +1 -0
  362. package/lib/viewList.868edcd7.js +1 -0
  363. package/lib/viewList.978b72c5.mjs +324 -0
  364. package/lib/viewTree.7497ff90.js +1 -0
  365. package/lib/viewTree.bde43a3b.mjs +409 -0
  366. package/locale/en_US.js +82 -27
  367. package/locale/id_ID.js +66 -11
  368. package/locale/vi_VN.js +1968 -1913
  369. package/locale/zh_CN.js +88 -32
  370. package/package.json +106 -105
  371. package/lib/chartbi.114d32d7.js +0 -60
  372. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  373. package/lib/main.083e0ba3.js +0 -1
  374. package/lib/main.4a858284.js +0 -1
  375. package/lib/main.64cb2027.js +0 -1
  376. package/lib/main.70a46cbc.js +0 -1
  377. package/lib/messages.364eb728.js +0 -9
  378. package/lib/messages.5bcc42f9.mjs +0 -5863
  379. package/lib/system.account.95bd8508.js +0 -216
  380. package/lib/system.account.d6c7485b.mjs +0 -2552
  381. package/lib/system.config.63c0217d.js +0 -1
  382. package/lib/system.datasource.a2c0bad4.js +0 -1
  383. package/lib/system.dict.dfb4c376.js +0 -1
  384. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  385. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  386. package/lib/system.email.545cedff.mjs +0 -7432
  387. package/lib/system.email.ec0ac728.js +0 -41
  388. package/lib/system.fieldsecurity.eb217079.js +0 -1
  389. package/lib/system.file.1cb952a4.js +0 -1
  390. package/lib/system.log.348b3605.js +0 -1
  391. package/lib/system.machine.49fc6405.js +0 -1
  392. package/lib/system.notice.d7a3346d.js +0 -1
  393. package/lib/system.noticereceived.c0b24616.js +0 -1
  394. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  395. package/lib/system.org.30063246.js +0 -1
  396. package/lib/system.permissions.1ff855c2.js +0 -9
  397. package/lib/system.permissions.fdad3c36.mjs +0 -212
  398. package/lib/system.plugin.2c7c8a5a.js +0 -1
  399. package/lib/system.pos.21294c28.js +0 -1
  400. package/lib/system.promptmanagement.7e8da777.js +0 -1
  401. package/lib/system.role.078fac85.js +0 -1
  402. package/lib/system.sumberrules.b0252f77.js +0 -1
  403. package/lib/system.team.296512d7.mjs +0 -1000
  404. package/lib/system.team.5d6169bc.js +0 -1
  405. package/lib/system.teammembers.313345f7.js +0 -1
  406. package/lib/system.timers.8246e6ba.js +0 -38
  407. package/lib/system.translation.fdff4956.js +0 -1
  408. package/lib/system.user.49457fd3.js +0 -14
  409. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  410. package/lib/system.webresource.2a341e05.js +0 -1
  411. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,1578 @@
1
+ import { m as O, n as N } from "./components.chartbi.571c5ff5.mjs";
2
+ import { J as P, F as K } from "./page.build.376104d5.mjs";
3
+ import { c as Q, K as b, d as E, i as j, T as D, j as v, f as _, U as z, Q as G, R as H } from "./http.main.aefea27d.mjs";
4
+ import { a as A, b as U } from "./http.filemanage.c0de21d6.mjs";
5
+ import { G as W } from "./http.tabledevelopment.3dcb3e97.mjs";
6
+ import { u as C } from "./form.designer.build.c82cb559.mjs";
7
+ import { u as L } from "./utils.util.js.333daba2.mjs";
8
+ function J(e, t, s) {
9
+ var u, f, y, p, g;
10
+ if (!e.syscodegenconfig && !e.syscodegenconfigfk)
11
+ return console.log("\u5B57\u6BB5:" + e.name + "\u6570\u636E\u9519\u8BEF!"), null;
12
+ const i = ["fk", "user"].includes(e.syscodegenconfig.effecttype) ? (u = e.syscodegenconfigfk) == null ? void 0 : u.effecttype : e.syscodegenconfig.effecttype, a = e.syscodegenconfig.effecttype, o = B(e).toLowerCase(), r = e.align ? e.align.split("&") : [], n = ["fk", "user"].includes(a) ? (f = e.syscodegenconfigfk) == null ? void 0 : f.fieldformat : e.syscodegenconfig.fieldformat, l = r[7] ? r[7] === "true" : !1, c = i === "inputnumber" ? 0 : ["fk", "user"].includes(e.syscodegenconfig.effecttype) ? (y = e.syscodegenconfigfk) == null ? void 0 : y.filedsize : e.syscodegenconfig.filedsize;
13
+ let h = {
14
+ key: o,
15
+ transKey: `Dynamics.${e.transkey}`,
16
+ prop: o,
17
+ label: e.name,
18
+ width: String(e.width),
19
+ owidth: String(e.width),
20
+ columnName: e.syscodegenconfig.columnname,
21
+ fkEntityName: e.syscodegenconfig.fkentityname,
22
+ id: e.fieldid,
23
+ fkId: ["fk", "about", "user"].includes(a) ? (p = e.syscodegenconfigfk) == null ? void 0 : p.id : null,
24
+ align: r[0] ? r[0] : "center",
25
+ checked: r[1] ? r[1] == 1 : !0,
26
+ effectType: i,
27
+ fieldType: a,
28
+ gatherConfig: e.gatherconfig == 1,
29
+ fieldFormat: r[6] ? r[6] : n,
30
+ dictTypeCode: ["fk", "user"].includes(a) ? (g = e.syscodegenconfigfk) == null ? void 0 : g.dicttypecode : e.syscodegenconfig.dicttypecode,
31
+ dictTypeList: [],
32
+ maxTagCount: e.maxtagcount ? Number(e.maxtagcount) : 2,
33
+ sourceFk: !!["fk", "about", "user"].includes(a),
34
+ displayMode: r[2] ? r[2] : "none",
35
+ displayPrefix: r[3] ? r[3] : "none",
36
+ preview: r[4] ? r[4] === "true" : !0,
37
+ download: r[5] ? r[5] === "true" : !0,
38
+ filedsize: i === "inputnumber" ? 0 : r[8] !== void 0 ? r[8] : c,
39
+ hyperlink: t === 0 || ["fk", "user", "about"].includes(a) ? l : !1
40
+ };
41
+ const d = Y(a, o, e, h.fieldFormat);
42
+ return e.orderconfig === 1 && Object.assign(h, {
43
+ sortable: "custom"
44
+ }), t < s && Object.assign(h, {
45
+ fixed: "left"
46
+ }), ["participants", "file"].includes(a) && Object.assign(h, {
47
+ showTooltip: !1
48
+ }), Object.assign(h, d);
49
+ }
50
+ function B(e) {
51
+ const t = e.syscodegenconfigfk ? e.syscodegenconfigfk.columnname : "";
52
+ switch (e.syscodegenconfig.effecttype) {
53
+ case "fk":
54
+ return t + e.syscodegenconfig.fkentityname + e.syscodegenconfig.columnname;
55
+ case "user":
56
+ return t + e.syscodegenconfig.fkentityname + e.syscodegenconfig.columnname;
57
+ case "about":
58
+ return e.syscodegenconfig.relations.toLowerCase();
59
+ default:
60
+ return e.syscodegenconfig.columnname;
61
+ }
62
+ }
63
+ function Y(e, t, s, i) {
64
+ return e == "input" ? {} : ["datepicker"].includes(e) && i === 1 ? {} : {
65
+ type: "slot",
66
+ slotType: t
67
+ };
68
+ }
69
+ function X(e, t, s) {
70
+ if (e.syscodegenconfig == null)
71
+ return !1;
72
+ let i = e.options ? JSON.parse(e.options) : {}, a = {
73
+ required: i.required,
74
+ message: s,
75
+ trigger: "blur"
76
+ };
77
+ ["inputnumber", "double", " currency"].includes(e.syscodegenconfig.effecttype) && Object.assign(a, {
78
+ type: "number"
79
+ });
80
+ const o = i.fieldFormat === void 0 ? "1" : i.fieldFormat, r = t.filter((l) => l.code == o)[0];
81
+ return {
82
+ id: e.syscodegenconfig.id,
83
+ transKey: `Dynamics.${e.syscodegenconfig.transkey}`,
84
+ prop: e.syscodegenconfig.columnname,
85
+ label: e.syscodegenconfig.columncomment,
86
+ effectType: q(e.syscodegenconfig.effecttype),
87
+ dictTypeCode: e.syscodegenconfig.dicttypecode,
88
+ fkEntityName: e.syscodegenconfig.fkentityname,
89
+ disabled: e.disabled === void 0 ? !1 : e.disabled,
90
+ options: Object.assign(i, {
91
+ fieldFormat: o
92
+ }),
93
+ min: i.min,
94
+ max: i.max,
95
+ fieldFormat: o,
96
+ valueFormat: M(o, t),
97
+ rules: [a],
98
+ hasFiltered: !1,
99
+ filterList: [],
100
+ filterConfig: i.filterConfig !== void 0 ? i.filterConfig : null,
101
+ viewId: i.viewdeId !== void 0 ? i.viewdeId : "",
102
+ fkData: [],
103
+ hasTimePicker: x(r),
104
+ pickerType: R(r),
105
+ quick: i.quick === void 0 ? !1 : i.quick,
106
+ labelWidth: i.quick === void 0 ? "120px" : i.labelWidth + "px"
107
+ };
108
+ }
109
+ function Z(e, t, s, i) {
110
+ if (t === void 0)
111
+ return !1;
112
+ let a = {
113
+ required: e.required,
114
+ message: i,
115
+ trigger: "blur"
116
+ };
117
+ ["inputnumber", "double", " currency"].includes(e.effectType) && Object.assign(a, {
118
+ type: "number"
119
+ });
120
+ const o = e.fieldFormat, r = s.filter((c) => c.code == o)[0], n = q(e.effectType);
121
+ return {
122
+ labelWidth: e.labelWidth ? `${e.labelWidth}px` : "120px",
123
+ transKey: `Dynamics.${t.transkey}`,
124
+ prop: e.columnName,
125
+ label: t.columncomment,
126
+ effectType: n,
127
+ dictTypeCode: e.dictTypeCode,
128
+ fkEntityName: e.fkEntityName,
129
+ disabled: e.disable,
130
+ options: {
131
+ effectType: e.effectType,
132
+ fieldFormat: o,
133
+ displayStyle: e.displayStyle,
134
+ defaultValue: e.defaultValue,
135
+ defaultValueList: e.defaultValueList,
136
+ filterList: e.filterList,
137
+ hidden: e.hidden,
138
+ required: e.required,
139
+ defaultInterval: e.defaultInterval,
140
+ openWidth: e.openWidth ? e.openWidth : 80,
141
+ widthUnit: e.widthUnit ? e.widthUnit : "%"
142
+ },
143
+ min: e.min,
144
+ max: e.max,
145
+ fieldFormat: o,
146
+ valueFormat: M(o, s),
147
+ rules: [a],
148
+ hasFiltered: !1,
149
+ filterList: [],
150
+ filterConfig: e.filterConfig !== void 0 ? e.filterConfig : null,
151
+ viewId: e.viewdeId !== void 0 ? e.viewdeId : "",
152
+ fkData: [],
153
+ hasTimePicker: x(r),
154
+ pickerType: R(r),
155
+ show: !0
156
+ };
157
+ }
158
+ function x(e) {
159
+ const t = e ? e.name : "yyyy-MM-dd";
160
+ return ["hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"].includes(t);
161
+ }
162
+ function R(e) {
163
+ const t = e ? e.name : "yyyy-MM-dd";
164
+ let s = "date";
165
+ return t === "yyyy-MM-dd hh:mm:ss" || t === "yyyy-MM-dd HH:mm:ss" ? s = "datetime" : t === "yyyy-MM" ? s = "month" : t === "yyyy" && (s = "year"), s;
166
+ }
167
+ function M(e, t) {
168
+ if (e === null)
169
+ return e;
170
+ const s = t.filter((i) => String(i.code) === String(e))[0];
171
+ return s ? s.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
172
+ }
173
+ function q(e) {
174
+ let t = e;
175
+ return ["image", "file"].includes(e) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(e) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(e) && (t = "selectFkMultiple"), t;
176
+ }
177
+ function $(e, t, s, i) {
178
+ let a = /* @__PURE__ */ new Map();
179
+ for (var o in e) {
180
+ let r = e[o] != null && e[o] !== void 0 ? e[o] : "", n = t ? t.filter((c) => c.columnname === o)[0] : null;
181
+ if ((n ? n.effecttype : "input") === "datepicker") {
182
+ let c = ee(r, n, s, i);
183
+ c && (a.set(o + "Start", c[0]), a.set(o + "End", c[1]));
184
+ } else
185
+ Array.isArray(r) ? r.length > 0 && a.set(o, r.join(",")) : typeof r == "number" ? r !== void 0 && a.set(o, r) : !r == "" && a.set(o, r);
186
+ }
187
+ return a.size == 0 ? {} : Object.fromEntries(a);
188
+ }
189
+ function ee(e, t, s, i) {
190
+ if (e === "")
191
+ return !1;
192
+ const a = s.filter((r) => r.prop === t.columnname)[0];
193
+ if (!a)
194
+ return !1;
195
+ const o = i.filter((r) => r.code == a.options.fieldFormat)[0];
196
+ if (typeof e == "array" || typeof e == "object") {
197
+ const r = e[1] ? V(e[1]) : "", n = o.name === "yyyy-MM" ? "-01 00:00:00" : " 00:00:00", l = o.name === "yyyy-MM" ? `-${r} 23:59:59` : " 23:59:59";
198
+ return e[1] ? [e[0].split(" ")[0] + n, e[1].split(" ")[0] + l] : !1;
199
+ }
200
+ if (o.name === "yyyy-MM-dd hh:mm:ss" || o.name === "yyyy-MM-dd HH:mm:ss")
201
+ return [e, e];
202
+ if (o.name === "yyyy-MM-dd")
203
+ return [`${e} 00:00:00`, `${e} 23:59:59`];
204
+ if (o.name === "yyyy-MM") {
205
+ const r = V(e);
206
+ return [`${e}-01 00:00:00`, `${e}-${r} 23:59:59`];
207
+ } else {
208
+ if (o.name === "yyyy")
209
+ return [`${e}-01-01 00:00:00`, `${e}-12-31 23:59:59`];
210
+ if (o.name === "MM-dd") {
211
+ const r = new Date().getFullYear();
212
+ return [`${r}${e} 00:00:00`, `${r}${e} 23:59:59`];
213
+ } else
214
+ return [e, e];
215
+ }
216
+ }
217
+ function T(e) {
218
+ let t = /* @__PURE__ */ new Map(), s = te(e);
219
+ return ["switch", "select", "radio", "checkbox", "selectMultiple"].includes(e.effectType) && e.options.defaultValueList.length > 0 ? t.set(e.prop, e.options.defaultValueList) : ["datepicker"].includes(e.effectType) && s ? t.set(e.prop, s) : (["input", "textarea", "editor"].includes(e.effectType) && e.options.defaultValue !== "" || ["inputnumber", "double", " currency"].includes(e.effectType) && e.options.defaultValue !== "" && e.options.defaultValue !== void 0) && t.set(e.prop, e.options.defaultValue), Object.fromEntries(t);
220
+ }
221
+ function te(e) {
222
+ if (!["datepicker"].includes(e.effectType))
223
+ return !1;
224
+ let t = e.options.displayStyle, s = e.options.defaultInterval.filter((r) => r.type === "interval")[0], i = e.options.defaultInterval.filter((r) => r.type === "equal")[0], a = i.value === "" ? e.options.defaultValue : e.valueFormat === "yyyy-MM" ? F(i, t) : S(
225
+ i,
226
+ t,
227
+ e
228
+ ), o = s.value === "" ? e.options.defaultValueList : e.valueFormat === "yyyy-MM" ? F(s, t) : S(s, t, e);
229
+ return t == 1 ? a === "" ? !1 : a : o.length === 0 ? !1 : o;
230
+ }
231
+ function S(e, t, s) {
232
+ let i = Number(e.value), a = new Date().getTime(), o = a - i * 1e3 * 60 * 60 * 24, r = k(a), n = k(o), l = `${r.year}-${r.mon}-${r.day} ${r.hours}:${r.min}:${r.sec}`, c = `${n.year}-${n.mon}-${n.day} ${n.hours}:${n.min}:${n.sec}`;
233
+ return t == 1 ? s.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? c.split(" ")[0] : c : [c, l];
234
+ }
235
+ function F(e, t, s) {
236
+ let i = Number(e.value), a = new Date().getTime(), o = k(a), r = o.year, n = Number(o.mon);
237
+ return t == 0 && i === 13 ? [`${r}-01`, `${r}-${m(n)}`] : (n - i < 0 ? (n = n - i + 12, r -= 1) : n - i === 0 ? (n = t == 1 ? 12 : 1, r = t == 1 ? r - 1 : r) : n -= i, t == 1 ? `${r}-${m(n)}` : [
238
+ `${r}-${m(n)}`,
239
+ `${o.year}-${o.mon}`
240
+ ]);
241
+ }
242
+ function k(e) {
243
+ let s = e.toString().length == 10 ? parseInt(e) * 1e3 : parseInt(e);
244
+ var i = new Date(s), a = i.getFullYear(), o = i.getMonth() + 1, r = i.getDate(), n = i.getHours(), l = i.getMinutes(), c = i.getSeconds();
245
+ return {
246
+ year: a,
247
+ mon: m(o),
248
+ day: m(r),
249
+ hours: m(n),
250
+ min: m(l),
251
+ sec: m(c)
252
+ };
253
+ }
254
+ function m(e) {
255
+ return e = e.toString(), e[1] ? e : "0" + e;
256
+ }
257
+ function V(e) {
258
+ const t = e.split("-");
259
+ return new Date(t[0], t[1], 0).getDate();
260
+ }
261
+ var w = null;
262
+ const se = {
263
+ name: "GdViewBuildDesigner",
264
+ props: {
265
+ record: {
266
+ type: Object,
267
+ default: () => ({})
268
+ },
269
+ develop: {
270
+ type: [Number, String],
271
+ default: 1
272
+ },
273
+ openMode: {
274
+ type: [String, Number],
275
+ default: 1
276
+ },
277
+ height: {
278
+ type: Number,
279
+ default: 100
280
+ },
281
+ foreign: {
282
+ type: Object,
283
+ default: () => ({})
284
+ },
285
+ disabledRowId: {
286
+ type: Array,
287
+ default: () => []
288
+ },
289
+ excludeButtons: {
290
+ type: Array,
291
+ default: () => []
292
+ },
293
+ lineQuickView: {
294
+ type: Function
295
+ },
296
+ istable: {
297
+ type: Boolean,
298
+ default: !1
299
+ }
300
+ },
301
+ data() {
302
+ return {
303
+ statu: !1,
304
+ laoding: !1,
305
+ show: !1,
306
+ queryTable: {},
307
+ queryParam: {},
308
+ formList: [],
309
+ tableData: {},
310
+ sysViewList: [],
311
+ personalViewList: [],
312
+ sysViewButtons: [],
313
+ columns: [],
314
+ columnsSetting: [],
315
+ selectedRowKeys: [],
316
+ selectedRows: [],
317
+ viewCode: "",
318
+ defaultViewId: 0,
319
+ queryCriteria: {},
320
+ showSummary: !1,
321
+ summaryData: {},
322
+ viewRecord: {},
323
+ loadData: (e) => {
324
+ const t = this.triggerFilterData && this.triggerFilterData.fieldData ? this.triggerFilterData.fieldData : this.fieldData, s = this.triggerFilterData && this.triggerFilterData.tableQueries ? this.triggerFilterData.tableQueries : this.tableQueries, i = Object.assign(
325
+ e,
326
+ this.queryTable,
327
+ $(this.queryParam, t, s, this.getDictionary("time_longshort")),
328
+ this.foreign
329
+ );
330
+ return this.queryCriteria = { ...i }, this.openMode == 3 && this.foreign.fkValue != "" && String(this.foreign.fkValue).split("u").length > 1 ? new Promise((a, o) => {
331
+ a({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
332
+ }) : Q(i).then((a) => {
333
+ this.triggerFilterData = null;
334
+ let o = [];
335
+ if (a.code === 200) {
336
+ o = a.data.rows.filter((l) => l.id !== null);
337
+ const n = a.data.rows.filter((l) => l.id === null)[0];
338
+ this.summaryData = n || {}, this.showSummary = !!n, this.$emit("changeData", o), this.$refs.charts && this.$refs.charts.setLoadData(o);
339
+ } else
340
+ this.$message.error(a.message);
341
+ const r = a.data ? a.data : {};
342
+ return Object.assign(r, {
343
+ rows: o
344
+ });
345
+ });
346
+ },
347
+ amount: ({ columns: e, data: t }) => {
348
+ let s = [];
349
+ return e.forEach((i, a) => {
350
+ if (i.property)
351
+ this.summaryData[i.property] !== null && !this.istable ? s[a] = this.$i18nt("gd.table.subtotal", "\u5C0F\u8BA1") + ": " + this.summaryData[i.property] : s[a] = "";
352
+ else {
353
+ s[a] = "";
354
+ return;
355
+ }
356
+ }), s;
357
+ },
358
+ tableQueries: [],
359
+ imgList: [],
360
+ currentImg: "",
361
+ fieldData: [],
362
+ hideQueryField: [],
363
+ fileOptions: {},
364
+ styled: {},
365
+ componentList: [],
366
+ callbackFun: null,
367
+ renderHeaderList: [],
368
+ triggerFilterData: null,
369
+ showComponent: ""
370
+ };
371
+ },
372
+ watch: {
373
+ selectedRows(e, t) {
374
+ this.baseUsageBtn();
375
+ }
376
+ },
377
+ components: {
378
+ ViewSelection: () => import("./main.33443996.mjs"),
379
+ ChildRenItem: () => import("./index.9deaa991.mjs").then((e) => e.b2),
380
+ ImgPreview: () => import("./components.imgpreview.f05b3e06.mjs"),
381
+ XlsxExport: () => import("./components.xlsxexport.c33f83ca.mjs"),
382
+ XlsxImport: () => import("./components.xlsximport.81df7841.mjs").then((e) => e.m),
383
+ TeamSharing: () => import("./components.teamsharing.3a17ddc0.mjs"),
384
+ BatchUpdate: () => import("./index.9deaa991.mjs").then((e) => e.b3),
385
+ DataAssign: () => import("./components.dataassign.21d3938b.mjs"),
386
+ ViewCharts: () => import("./main.29e204f9.mjs"),
387
+ QuickSearch: () => import("./main.aea9b6a8.mjs"),
388
+ StatusChange: () => import("./components.statuschange.fae4adba.mjs")
389
+ },
390
+ computed: {
391
+ paginationStyle() {
392
+ const e = this.options.pagerFlex !== void 0 ? this.options.pagerFlex : "";
393
+ return e !== "" ? `justify-content:${e};` : "";
394
+ },
395
+ layoutConfig() {
396
+ let e = {
397
+ viewsGroup: !0,
398
+ butGroup: !0,
399
+ filter: !0,
400
+ chart: !0,
401
+ rfresh: !0,
402
+ tableSize: !0,
403
+ tableColumn: !0,
404
+ pager: !0
405
+ };
406
+ return (this.options.layoutConfig !== void 0 ? this.options.layoutConfig : !0) && this.record.layoutConfig !== void 0 && (e = this.record.layoutConfig), e;
407
+ },
408
+ getQuickQueries() {
409
+ return this.tableQueries.filter((t) => t.quick);
410
+ },
411
+ rowKey() {
412
+ let e = "id";
413
+ if (this.tableData.isvirtualtable === 1) {
414
+ const s = this.fieldData.filter((i) => i.isprimarykey === 1)[0];
415
+ e = s ? s.columnname : e;
416
+ }
417
+ return e;
418
+ },
419
+ disabledRefresh() {
420
+ return this.openMode != 3 ? !1 : this.foreign.fkValue === "";
421
+ },
422
+ tableSized() {
423
+ return this.openMode == 3 ? this.tableSize > 50 ? 50 : this.tableSize : this.tableSize;
424
+ },
425
+ paginationPageSize() {
426
+ return this.openMode == 3 ? [10, 20, 30, 40, 50] : [10, 20, 30, 40, 50, 100, 200, 500];
427
+ },
428
+ formCode() {
429
+ return this.options.form.id;
430
+ },
431
+ selectedKeep() {
432
+ return this.openMode == 2 ? !0 : this.options.selectedKeep !== void 0 ? this.options.selectedKeep : !1;
433
+ },
434
+ viewList() {
435
+ return this.sysViewList.concat(this.personalViewList);
436
+ },
437
+ getFristColumn() {
438
+ const e = this.columnsSetting.filter((t) => t.type !== "selection" && t.checked)[0];
439
+ return e || {};
440
+ },
441
+ getColumnsed() {
442
+ return this.columns.filter((t) => t.type === "slot");
443
+ },
444
+ hig() {
445
+ const e = this.develop === 1 ? 102 : 78, t = this.develop === 1 ? 46 + 24 + 12 : 0, s = this.develop === 1 ? this.screenHeight - 46 - e - t : this.height - e - t;
446
+ if (this.options.heightMode === "percentage")
447
+ return s * (Number(this.options.height) / 100);
448
+ const i = this.options.height === 0 || this.options.height === "" ? s : this.options.height;
449
+ return this.options.heightMode === "custom" ? i : s;
450
+ },
451
+ options() {
452
+ return this.record.options;
453
+ },
454
+ operationuList() {
455
+ return this.record.operationuList;
456
+ },
457
+ tableSetting() {
458
+ return this.record.tableSetting;
459
+ },
460
+ ...O(["primaryColor", "screenHeight", "tableLists", "tableSize", "tablePageSize"])
461
+ },
462
+ methods: {
463
+ okAssignSharing(e, t) {
464
+ this.callbackFun && typeof this.callbackFun == "function" && this.callbackFun(e), t === "teamSharing" && this.refresh();
465
+ },
466
+ rowClick(e, t) {
467
+ if (w) {
468
+ clearTimeout(w), w = null;
469
+ const s = this.viewList.filter((a) => a.id === this.viewCode)[0];
470
+ (s && s.isdoubleclick !== void 0 ? s.isdoubleclick : 1) === 1 && this.changeQuickView(e);
471
+ return;
472
+ }
473
+ w = setTimeout(() => {
474
+ w = null;
475
+ const s = this.selectedRowKeys.filter((o) => o === e[this.rowKey])[0], i = this.selectedRowKeys.filter((o) => o !== e[this.rowKey]), a = this.selectedRowKeys.filter((o) => o[this.rowKey] !== e[this.rowKey]);
476
+ this.selectedRowKeys = s ? i : i.concat([e[this.rowKey]]), this.selectedRows = s ? a : a.concat([e]), this.$emit("changeSelect", this.selectedRowKeys, this.selectedRows), this.$refs.table.rowClickSelection(e, !s, t);
477
+ }, 260);
478
+ },
479
+ showLoading() {
480
+ this.statu = !0;
481
+ },
482
+ hideLoading(e = 1500) {
483
+ setTimeout(() => {
484
+ this.statu = !1;
485
+ }, e);
486
+ },
487
+ hideQueryParam(e) {
488
+ this.hideQueryField = [...e];
489
+ },
490
+ setLoadData(e) {
491
+ this.$refs.table.loading = !0, this.$refs.table.setLoadData(e), setTimeout(() => {
492
+ this.$refs.table.loading = !1;
493
+ }, 100);
494
+ },
495
+ baseImportData(e) {
496
+ this.$refs.xlsxImport.open();
497
+ },
498
+ baseExportData(e) {
499
+ if (e.key == 1 || e.key == 2) {
500
+ this.baseExport(e);
501
+ return;
502
+ }
503
+ if (e.key == 4) {
504
+ this.baseExportSel(e);
505
+ return;
506
+ }
507
+ let t = Object.assign(
508
+ {
509
+ type: e.key ? e.key : 0,
510
+ whereS: []
511
+ },
512
+ {
513
+ ...this.queryTable
514
+ },
515
+ {
516
+ ...this.foreign
517
+ }
518
+ );
519
+ this.$refs.xlsxExport.open(t, e);
520
+ },
521
+ hasRowData(e, t, s = "none") {
522
+ if (t === "image")
523
+ return s === "none" ? !!e : e ? e.split(",") : [];
524
+ if (t === "file") {
525
+ const i = e ? JSON.parse(e) : [];
526
+ return s === "none" ? i.length > 0 : i;
527
+ }
528
+ return !1;
529
+ },
530
+ del(e) {
531
+ this.baseDel();
532
+ },
533
+ deactivateData() {
534
+ this.baseEnable(0);
535
+ },
536
+ enableData() {
537
+ this.baseEnable();
538
+ },
539
+ assign(e) {
540
+ this.baseAssign(e);
541
+ },
542
+ batchUpdate(e) {
543
+ this.baseBatchUpdate();
544
+ },
545
+ teamSharing(e) {
546
+ this.baseTeamSharing(e);
547
+ },
548
+ statusChange() {
549
+ this.baseStatusChange();
550
+ },
551
+ open(e) {
552
+ this.$emit("baseOpen", e);
553
+ },
554
+ handleMenuClick(e) {
555
+ e.id != this.viewCode && (this.viewCode = e.id, this.queryParam = {}, this.$refs.table.setTableData([], !1), this.baseGetView());
556
+ },
557
+ showFile(e, t, s) {
558
+ if (this.statu)
559
+ return;
560
+ this.showLoading();
561
+ const i = t[e.prop];
562
+ let a = i;
563
+ typeof i == "string" && (a = JSON.parse(i));
564
+ let o = t.name ? t.name : s.title, r = new P(), n = [], l = {};
565
+ a.forEach((h) => {
566
+ let d = this.getFileBlob(h).then((u) => {
567
+ r.file(h.fileoriginname, u, {
568
+ binary: !0
569
+ }), l[h.fileoriginname] = u;
570
+ });
571
+ n.push(d);
572
+ });
573
+ const c = this.$message({
574
+ message: this.$i18nt("gd.https.downloadingFiles", "\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),
575
+ duration: 0,
576
+ iconClass: "el-icon-loading"
577
+ });
578
+ Promise.all(n).then(() => {
579
+ r.generateAsync({
580
+ type: "blob"
581
+ }).then((h) => {
582
+ K.saveAs(h, o), this.hideLoading(), c.close();
583
+ });
584
+ }).catch((h) => {
585
+ c.close(), this.hideLoading(), this.$message.error("err!");
586
+ });
587
+ },
588
+ showImg(e, t) {
589
+ this.statu || (this.showLoading(), this.imgList = t, this.currentImg = e, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open(), this.hideLoading());
590
+ },
591
+ preview(e, t) {
592
+ if (this.statu)
593
+ return;
594
+ this.showLoading();
595
+ const s = e.fileoriginname.substr(e.fileoriginname.lastIndexOf(".") + 1).toLowerCase();
596
+ if (this.fileOptions = { ...t }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG", "bmp", "BMP"].includes(s)) {
597
+ A({
598
+ id: e.id
599
+ }).then((i) => {
600
+ const a = window.URL.createObjectURL(new Blob([i]));
601
+ this.imgList = [a], this.currentImg = a, this.$refs.imgPreview.open(), this.statu = !1, this.hideLoading();
602
+ }).catch(() => {
603
+ this.hideLoading();
604
+ });
605
+ return;
606
+ }
607
+ this.showComponent = "filePreview", this.$nextTick(() => {
608
+ setTimeout(() => {
609
+ this.$refs.filePreview.open(Object.assign(e, { fileId: e.id || e.Id, name: e.fileoriginname })), this.hideLoading();
610
+ }, 0);
611
+ });
612
+ },
613
+ baseQuickForm(e, t) {
614
+ if (this.statu)
615
+ return;
616
+ if (this.showLoading(), String(e.id).split("u").length > 1) {
617
+ let i = t.fieldType == "about" ? t.prop + "_AboutTable" : t.columnName, a = t.fieldType == "about" ? e[i] : t.fkEntityName, o = this.tableLists.filter((c) => c.tablename == a)[0], r = (t.fieldType == "about", e[t.columnName]), n = {
618
+ tableId: o.id,
619
+ data: [
620
+ {
621
+ id: r
622
+ }
623
+ ]
624
+ };
625
+ this.statu = !0;
626
+ const l = this.$message({
627
+ message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
628
+ duration: 0,
629
+ iconClass: "el-icon-loading"
630
+ });
631
+ this.$refs.middleware.init(n).then((c) => {
632
+ setTimeout(() => {
633
+ this.statu = !1;
634
+ }, 1e3), l.close(), this.hideLoading();
635
+ });
636
+ return;
637
+ }
638
+ if (t.fieldType == "about") {
639
+ this.baseQuickAbout(e, t);
640
+ return;
641
+ }
642
+ if (t.fieldType == "participants") {
643
+ let i = this.tableLists.filter((o) => o.tablename == e.tableName)[0];
644
+ if (i === void 0) {
645
+ this.$message.error(this.$i18nt("gd.solution.dataErrorTip", "\u6570\u636E\u9519\u8BEF\uFF0C\u5F53\u524D\u6570\u636E(\u8868)\u4E0D\u5B58\u5728\u6216\u8005\u5DF2\u5220\u9664\uFF01"));
646
+ return;
647
+ }
648
+ this.statu = !0;
649
+ const a = this.$message({
650
+ message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
651
+ duration: 0,
652
+ iconClass: "el-icon-loading"
653
+ });
654
+ this.$refs.middleware.init({
655
+ tableId: i.id,
656
+ data: [e]
657
+ }).then((o) => {
658
+ setTimeout(() => {
659
+ this.statu = !1;
660
+ }, 1e3), a.close(), this.hideLoading();
661
+ });
662
+ return;
663
+ }
664
+ this.baseQuickFk({ data: e, item: t });
665
+ },
666
+ changeQuickView(e) {
667
+ if (this.statu)
668
+ return;
669
+ this.showLoading();
670
+ const t = this.lineQuickView(e);
671
+ (typeof t == "object" || typeof t == "function") && typeof t.then == "function" ? t.then((s) => {
672
+ this.changeQuickViewOk(s);
673
+ }).catch(() => {
674
+ console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C"), this.hideLoading();
675
+ }) : this.changeQuickViewOk(e);
676
+ },
677
+ changeQuickViewOk(e) {
678
+ if (this.openMode == 3) {
679
+ this.open({
680
+ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
681
+ data: e
682
+ }), this.hideLoading();
683
+ return;
684
+ }
685
+ if (this.tableData.isvirtualtable === 1) {
686
+ this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...e })), this.hideLoading();
687
+ return;
688
+ }
689
+ this.open({
690
+ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
691
+ id: e.id
692
+ }), this.hideLoading();
693
+ },
694
+ operatorScope(e, t) {
695
+ const s = e.sourceFk !== void 0 ? e.sourceFk : !(e.fieldType != "fk" && e.fieldType != "about" && e.fieldType != "user");
696
+ if (this.getFristColumn.prop === e.prop && !s) {
697
+ this.changeQuickView(t);
698
+ return;
699
+ }
700
+ s && this.baseQuickForm(t, e);
701
+ },
702
+ columnChange(e) {
703
+ this.columnsSetting = [...e];
704
+ },
705
+ renderHeader(e, { column: t, $index: s }, i) {
706
+ return e(
707
+ "div",
708
+ {
709
+ style: `display:inline-block;width: calc(100% - ${t.sortable ? "26px" : "0px"});`,
710
+ attrs: {
711
+ class: "gd-cell"
712
+ }
713
+ },
714
+ [
715
+ e("gd-tables-filter", {
716
+ style: "cursor:pointer",
717
+ props: {
718
+ column: Object.assign(t, i || {}),
719
+ queryParam: this.queryParam,
720
+ hideQueryField: this.hideQueryField
721
+ },
722
+ on: {
723
+ query: this.queriesRefresh,
724
+ change: this.renderHeaderChange,
725
+ renderHeaderInit: this.renderHeaderInit
726
+ }
727
+ })
728
+ ]
729
+ );
730
+ },
731
+ renderHeaderChange(e) {
732
+ const t = this.renderHeaderList.filter((s) => s.renderHeader && s.property !== e.property);
733
+ this.$nextTick(() => {
734
+ setTimeout(() => {
735
+ t.forEach((s) => {
736
+ s.executeEvent && s.executeEvent();
737
+ });
738
+ }, 0);
739
+ });
740
+ },
741
+ renderHeaderInit(e) {
742
+ const t = this.renderHeaderList.filter((s) => s.property !== e.property);
743
+ this.renderHeaderList = t.concat([e]);
744
+ },
745
+ queriesRefresh(e, t, s = 1) {
746
+ this.queryParam = { ...e }, this.tableQueries = this.tableQueries.map((r) => {
747
+ const n = t.filter((l) => (l.property || l.prop) === r.prop)[0];
748
+ return Object.assign({ ...r }, { fkData: n ? n.fkData : r.fkData });
749
+ }), this.refresh(), this.$nextTick(() => {
750
+ setTimeout(() => {
751
+ s === 1 && this.$refs.quickSearch && this.$refs.quickSearch.queriesInit();
752
+ }, 0);
753
+ });
754
+ const a = (this.record.interacList ? this.record.interacList : []).filter((r) => r.triggerAction === "queriesRefresh" && r.componentKey !== "" && r.componentFunction !== ""), o = this.triggerFilterData && this.triggerFilterData.source ? this.triggerFilterData.source.key : "";
755
+ a.forEach((r) => {
756
+ this.record.doEvent && r.componentKey !== o && this.record.doEvent({
757
+ key: r.componentKey,
758
+ functionName: r.componentFunction,
759
+ data: this.queryParam,
760
+ fieldData: this.fieldData,
761
+ tableQueries: this.tableQueries,
762
+ source: this.record,
763
+ callback: !1,
764
+ callbackComponents: "",
765
+ callbackFunction: ""
766
+ });
767
+ });
768
+ },
769
+ triggerRefresh() {
770
+ (this.record.interacList ? this.record.interacList : []).filter((s) => s.triggerAction === "refresh" && s.componentKey !== "" && s.componentFunction !== "").forEach((s) => {
771
+ this.record.doEvent && this.record.doEvent({
772
+ key: s.componentKey,
773
+ functionName: s.componentFunction,
774
+ data: this.queryParam,
775
+ fieldData: this.fieldData,
776
+ tableQueries: this.tableQueries,
777
+ source: this.record,
778
+ callback: !1,
779
+ callbackComponents: "",
780
+ callbackFunction: ""
781
+ });
782
+ });
783
+ },
784
+ baseTriggerFilter(e) {
785
+ const t = e.data && typeof e.data == "object" ? e.data : this.queryParam, s = e.tableQueries ? e.tableQueries : this.tableQueries;
786
+ this.triggerFilterData = {
787
+ fieldData: e.fieldData ? e.fieldData : this.fieldData,
788
+ tableQueries: s,
789
+ source: e.source ? e.source : {}
790
+ }, this.queriesRefresh(t, s);
791
+ },
792
+ handleQueryParam() {
793
+ let e = {};
794
+ (this.options.filterList ? this.options.filterList : []).forEach((s) => {
795
+ const i = this.fieldData.filter((a) => a.columnName === s.fieldName)[0];
796
+ i && ["fk", "about", "participants", "user"].includes(i.effectType) ? e[s.fieldName] = s.fieldValue === "" ? [] : String(s.fieldValue).split(",").map(Number) : i && ["select", "checkbox"].includes(i.effectType) ? e[s.fieldName] = s.fieldValue === "" ? [] : String(s.fieldValue).split(",") : e[s.fieldName] = s.fieldValue;
797
+ }), Object.assign(this.queryParam, {
798
+ ...e
799
+ });
800
+ },
801
+ init(e) {
802
+ if (this.fieldData = [...e.fieldData], this.tableData = { ...e.tableData }, this.sysViewList = [...e.sysViewList], this.defaultViewId = e.defaultViewId, this.laoding = !0, this.viewList.length === 0) {
803
+ console.log("\u65E0\u89C6\u56FE\u4FE1\u606F");
804
+ return;
805
+ }
806
+ let t = this.options.view.id ? this.options.view.id : "";
807
+ if (t !== "" && (t = this.viewList.filter((o) => o.id === t)[0] ? t : ""), Number(this.defaultViewId) !== 0 && Number(this.openMode === 1)) {
808
+ const a = this.options.viewWeights ? this.options.viewWeights : "2", o = this.viewList.filter((r) => r.id === Number(this.defaultViewId))[0];
809
+ t = a === "1" ? t : o ? this.defaultViewId : t;
810
+ }
811
+ const s = this.viewList.filter((a) => a.type == this.openMode)[0];
812
+ if (t === "" && (t = s ? s.id : this.viewList[0].id), this.openMode == 2 && this.record.options.val !== void 0) {
813
+ const a = typeof this.record.options.val;
814
+ let o = a === "string" || a === "number" ? [this.record.options.val] : [...this.record.options.val];
815
+ this.selectedRowKeys = o.filter((r) => r !== "");
816
+ }
817
+ this.openMode == 2 && this.handleQueryParam(), this.openMode == 3 && (this.record.baseRelationRefresh = this.refresh, this.record.baseSetTableData = this.baseSetTableData), this.viewCode = t;
818
+ let i = [...e.personalViewList];
819
+ i.filter((a) => {
820
+ let o = this.sysViewList.filter((r) => r.id === a.baseview)[0];
821
+ if (o)
822
+ a.mode = 2, a.permissions = o.permissions, a.sysviewbuttons = o.sysviewbuttons, a.sysviewfields = a.syssavedqueryfields, a.sysviewqueries = a.syssavedqueryquerys, a.buttonrule = o.buttonrule;
823
+ else
824
+ return !1;
825
+ return !0;
826
+ }), this.personalViewList = [...i], this.baseGetView();
827
+ },
828
+ async baseGetView() {
829
+ let e = this.viewList.filter((d) => d.id === this.viewCode)[0];
830
+ if (e === void 0) {
831
+ console.log("\u89C6\u56FE\u4FE1\u606F\u4E0D\u5B58\u5728");
832
+ return;
833
+ }
834
+ const t = this.viewList.filter((d) => this.$hasPerm(d.permissions) && d.mode == 1).concat(this.personalViewList)[0];
835
+ if (!t && this.openMode == 1) {
836
+ this.$message.error(this.$i18nt("gd.https.errViewTip", "\u65E0\u89C6\u56FE\u6743\u9650!"));
837
+ return;
838
+ }
839
+ !(e.mode == 1 ? this.$hasPerm(e.permissions) : !0) && this.openMode == 1 && (e = t, this.viewCode = t.id), this.queryTable = {
840
+ tableId: e.syscodegenid,
841
+ viewId: e.id,
842
+ viewType: e.mode
843
+ };
844
+ let i = [], a = {};
845
+ e.sysviewqueries.forEach((d) => {
846
+ const u = X(d, this.getDictionary("time_longshort"), this.$i18nt("gd.placeholder.required", "\u5FC5\u586B\u9879")), f = this.fieldData.filter((p) => {
847
+ let g = u ? u.prop : "";
848
+ return p.columnname === g;
849
+ })[0], y = f ? f.isquery : !0;
850
+ u && y && i.push(u);
851
+ });
852
+ const o = this.options.filterList ? this.options.filterList : [];
853
+ i.map((d) => {
854
+ const u = o.filter((f) => f.fieldName === d.prop)[0];
855
+ return this.openMode == 2 && u && (d.disabled = !0, d.hasFiltered = !0), !d.disabled && !d.options.hidden && (a = Object.assign(a, T(d))), d;
856
+ }), this.tableQueries = i;
857
+ const r = this.options.queryDefaultKey ? this.options.queryDefaultKey : "";
858
+ r !== "" ? this.queryParam = this.getDefaultParam(r) : this.queryParam = Object.assign(
859
+ {
860
+ ...this.queryParam
861
+ },
862
+ {
863
+ ...a
864
+ }
865
+ );
866
+ let n = e.sysviewbuttons.map((d) => (d.show = !0, d.transKey = d.transkey ? `Dynamics.${d.transkey}` : null, d.displayName = d.displayname, (d.functionname === "del" || d.functionname === "deactivateData") && (d.btnType = "danger"), d.childbutton && d.childbutton.length > 0 && (d.childbutton.map((u) => (u.transKey = u.transkey ? `Dynamics.${u.transkey}` : null, u.displayName = u.displayname, u)), d.children = d.childbutton), d));
867
+ this.$nextTick(() => {
868
+ setTimeout(async () => {
869
+ const d = this.baseRelationBtnShow();
870
+ this.sysViewButtons = C({
871
+ btn: n,
872
+ view: e,
873
+ statu: d,
874
+ data: this.selectedRows,
875
+ excludeBtn: this.excludeButtons
876
+ }), this.sysViewButtons = await this.baseAddbtn(), this.$emit("changeBtn", this.sysViewButtons);
877
+ }, 200);
878
+ });
879
+ let l = [];
880
+ this.openMode == 2 && this.record.options.effectType != "participants" ? l.push({
881
+ type: "selection-radio",
882
+ width: "60",
883
+ fixed: !0,
884
+ prop: "selection-radio"
885
+ }) : l.push({
886
+ type: "selection",
887
+ width: "60",
888
+ fixed: !0
889
+ });
890
+ let c = 0;
891
+ e.sysviewfields.forEach((d, u) => {
892
+ let f = J(d, u, e.frozencolumn);
893
+ f && f.dictTypeCode && Object.assign(f, {
894
+ dictTypeList: this.getDictionary(f.dictTypeCode)
895
+ }), c === 0 && f && f.checked && (Object.assign(f, {
896
+ type: "slot",
897
+ slotType: f.prop
898
+ }), c += 1);
899
+ const y = f ? f.prop : "", p = i.filter((g) => g.prop === y)[0];
900
+ p && p.effectType !== "selectFkMultiple" && Object.assign(f, {
901
+ renderHeader: (g, ...I) => this.renderHeader(g, ...I, {
902
+ effectType: p.effectType,
903
+ dictTypeCode: p.dictTypeCode,
904
+ fkEntityName: p.fkEntityName,
905
+ options: p.options,
906
+ rules: p.rules,
907
+ fieldFormat: p.fieldFormat,
908
+ valueFormat: p.valueFormat,
909
+ disabled: !!p.hasFiltered,
910
+ displayStyle: p.options.displayStyle,
911
+ hasTimePicker: p.hasTimePicker,
912
+ pickerType: p.pickerType,
913
+ min: p.min,
914
+ max: p.max
915
+ })
916
+ }), f && l.push(f);
917
+ });
918
+ let h = [];
919
+ if (this.istable) {
920
+ const d = this.record.queryList.filter((u) => u.visible);
921
+ h = this.processData(d, l), this.operationuList.length > 0 && (h = h.concat({
922
+ type: "slot",
923
+ prop: "tableGridOperation",
924
+ slotType: "tableGridOperation",
925
+ effectType: "tableGridOperation",
926
+ labelWidth: this.record.operationu.labelWidth || "120",
927
+ width: this.record.operationu.labelWidth || "120",
928
+ hidden: this.record.operationu.hide || !1,
929
+ visible: this.record.operationu.hide || !1,
930
+ fixed: "right",
931
+ textalign: this.record.operationu.align || "center",
932
+ align: this.record.operationu.align || "center",
933
+ label: this.$i18nt("gd.common.https.operation", "\u64CD\u4F5C"),
934
+ operations: this.operationuList
935
+ }), h.forEach((u) => {
936
+ u.sortable = u.orderconfig ? "custom" : !1;
937
+ }));
938
+ } else
939
+ h = l;
940
+ this.viewRecord = { ...e }, this.styled = this.viewRecord ? "" : "padding-left:12px;", this.$emit("changeView", this.viewRecord), this.columns = [...h], await this.$refs.table.loadColumns(), this.show = !0, this.$nextTick(() => {
941
+ this.$refs.queriesField && this.$refs.queriesField.init(), setTimeout(() => {
942
+ this.refresh(), this.laoding = !0, this.record.hideLoad && this.record.hideLoad(this.record.key), this.$refs.quickSearch && this.$refs.quickSearch.init();
943
+ }, 0);
944
+ });
945
+ },
946
+ getDefaultParam(e) {
947
+ const t = this.record.getComponentData ? this.record.getComponentData(e) : null;
948
+ if (!t)
949
+ return {};
950
+ let s = {};
951
+ const i = this.getDictionary("time_longshort");
952
+ let a = t.queryList ? t.queryList : [], o = [], r = [];
953
+ return a.forEach((l) => {
954
+ const c = {
955
+ columncomment: l.columnComment,
956
+ transkey: l.transKey,
957
+ columnname: l.columnName,
958
+ effecttype: l.effectType
959
+ };
960
+ o.push(c);
961
+ const h = Z(l, c, i, this.$i18nt("gd.placeholder.required", "\u5FC5\u586B\u9879"));
962
+ h && !h.disabled && !h.options.hidden && Object.assign(s, T(h)), h && r.push(h);
963
+ }), $(s, o, r, i);
964
+ },
965
+ processData(e, t) {
966
+ const s = e.map((n) => n.fieldid), i = {};
967
+ e.forEach((n) => {
968
+ i[n.fieldid] = n.orderconfig;
969
+ });
970
+ const a = t.filter((n) => n.type === "selection" || n.type === "selection-radio"), o = t.filter((n) => n.type === "selection" || n.type === "selection-radio" ? !1 : s.includes(n.id)).map((n) => ({
971
+ ...n,
972
+ sortables: i[n.id] ? "custom" : !1
973
+ })), r = s.map((n) => o.find((l) => l.id === n)).filter((n) => n !== void 0);
974
+ return [...a, ...r];
975
+ },
976
+ baseAddbtn() {
977
+ return b({
978
+ OperationType: "add",
979
+ codeGenId: this.tableData.id,
980
+ DataIds: ""
981
+ }).then((e) => e.data ? this.sysViewButtons : this.sysViewButtons.map((t) => ({
982
+ ...t,
983
+ show: t.displayName !== "\u65B0\u589E"
984
+ })));
985
+ },
986
+ baseGetTableView() {
987
+ const e = this.tableLists.filter((t) => {
988
+ const s = this.options.table.tableName || this.options.table.tablename;
989
+ return t.tablename.toLowerCase() === s.toLowerCase();
990
+ })[0];
991
+ return E({ tableId: e.id }).then((t) => (t.code === 200 ? (t.data.viewList.map((s) => (s.mode = 1, s)), this.formList = t.data.formlist, this.tableData = t.data.table, this.sysViewList = t.data.viewlist) : this.$message.error(t.message), t));
992
+ },
993
+ baseGetPersonalView(e) {
994
+ if (e && this.openMode != 1)
995
+ return new Promise((s, i) => {
996
+ s();
997
+ });
998
+ const t = this.tableLists.filter((s) => {
999
+ const i = this.options.table.tableName || this.options.table.tablename;
1000
+ return s.tablename.toLowerCase() === i.toLowerCase();
1001
+ })[0];
1002
+ return j({
1003
+ tableId: t.id
1004
+ }).then((s) => (s.code === 200 && (this.defaultViewId = s.data.defaultqueryid, this.personalViewList = s.data.savedquerylist), s.data));
1005
+ },
1006
+ baseUpdatePersonalView() {
1007
+ this.baseGetPersonalView(!1).then((e) => {
1008
+ let t = this.personalViewList;
1009
+ t.filter((s) => {
1010
+ let i = this.sysViewList.filter((a) => a.id == s.baseview)[0];
1011
+ return i ? (s.mode = 2, s.permissions = i.permissions, s.sysviewbuttons = i.sysviewbuttons, s.sysviewfields = s.syssavedqueryfields, s.sysviewqueries = s.syssavedqueryquerys, s.buttonrule = i.buttonrule, !0) : !1;
1012
+ }), this.personalViewList = [...t];
1013
+ });
1014
+ },
1015
+ refresh(e = !0) {
1016
+ this.$refs.table ? this.$refs.table.refresh(e) : console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
1017
+ },
1018
+ isPureNumber(e) {
1019
+ return typeof e == "number" && Number.isFinite(e);
1020
+ },
1021
+ baseDel() {
1022
+ if (this.selectedRowKeys.length === 0) {
1023
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
1024
+ return;
1025
+ }
1026
+ this.isPureNumber(this.selectedRowKeys[0]) ? b({
1027
+ OperationType: "delete",
1028
+ codeGenId: this.tableData.id,
1029
+ DataIds: this.selectedRowKeys[0]
1030
+ }).then((e) => {
1031
+ e.data ? this.baseDelBtn() : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message);
1032
+ }) : this.baseDelBtn();
1033
+ },
1034
+ baseDelBtn() {
1035
+ let e = this;
1036
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1037
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1038
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1039
+ showClose: !1,
1040
+ confirmButtonLoading: !1,
1041
+ cancelButtonLoading: !1,
1042
+ closeOnClickModal: !1,
1043
+ type: "warning",
1044
+ confirmButtonClass: "el-button--danger",
1045
+ customClass: "custom-alert",
1046
+ callback: () => {
1047
+ },
1048
+ beforeClose: (t, s, i) => {
1049
+ if (t !== "confirm") {
1050
+ i();
1051
+ return;
1052
+ }
1053
+ if (e.openMode == 3) {
1054
+ e.baseDelLoadData(s, i);
1055
+ return;
1056
+ }
1057
+ s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, D({
1058
+ tableId: e.tableData.id,
1059
+ ids: e.selectedRowKeys.join(",")
1060
+ }).then((a) => {
1061
+ s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0, a.success ? (e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), e.refresh(), i()) : e.$message.error(e.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a.message);
1062
+ });
1063
+ }
1064
+ });
1065
+ },
1066
+ baseDelLoadData(e, t) {
1067
+ let s = this, i = !1, a = !1;
1068
+ this.record.options && (i = this.record.options.saved === void 0 ? !1 : this.record.options.saved, a = this.record.options.refreshHost === void 0 ? !1 : this.record.options.refreshHost);
1069
+ let o = [];
1070
+ this.selectedRowKeys.forEach((n) => {
1071
+ String(n).split("u").length === 1 && o.push(n);
1072
+ });
1073
+ const r = this.$refs.table.tableData.filter((n) => !this.selectedRowKeys.includes(n.id));
1074
+ if (o.length > 0) {
1075
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, D({
1076
+ tableId: s.tableData.id,
1077
+ ids: o.join(",")
1078
+ }).then((n) => {
1079
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, n.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t(), s.$refs.table.setTableData(r), s.$emit("changeData", r), i && s.refresh(), a && s.foreign.fkValue !== "" && s.baseRelationRefresh(!0, [])) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
1080
+ });
1081
+ return;
1082
+ }
1083
+ this.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t(), this.$refs.table.setTableData(r), this.$emit("changeData", r), a && this.foreign.fkValue !== "" && this.baseRelationRefresh(!0, []), t();
1084
+ },
1085
+ tableGriddelete(e) {
1086
+ let t = this;
1087
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1088
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1089
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1090
+ showClose: !1,
1091
+ confirmButtonLoading: !1,
1092
+ cancelButtonLoading: !1,
1093
+ closeOnClickModal: !1,
1094
+ type: "warning",
1095
+ confirmButtonClass: "el-button--danger",
1096
+ customClass: "custom-alert",
1097
+ callback: () => {
1098
+ },
1099
+ beforeClose: (s, i, a) => {
1100
+ if (s !== "confirm") {
1101
+ a();
1102
+ return;
1103
+ }
1104
+ if (t.openMode == 3) {
1105
+ t.baseDelLoadData(i, a);
1106
+ return;
1107
+ }
1108
+ i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, D({
1109
+ tableId: t.tableData.id,
1110
+ ids: e.id
1111
+ }).then((o) => {
1112
+ i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, o.success ? (t.$message.success(t.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t.refresh(), a()) : t.$message.error(t.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o.message);
1113
+ });
1114
+ }
1115
+ });
1116
+ },
1117
+ tableGridpage(e) {
1118
+ e.type == "size" ? this.$refs.table.handleSizeChange(e.pageSize) : e.type == "current" ? this.$refs.table.handleCurrentChange(e.pageNo, e.pageSize) : this.queriesRefresh(e.data, e.fieldData);
1119
+ },
1120
+ gettableGrid() {
1121
+ if (this.selectedRowKeys.length === 0) {
1122
+ this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E!"));
1123
+ return;
1124
+ }
1125
+ if (this.selectedRowKeys.length > 1) {
1126
+ this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E!"));
1127
+ return;
1128
+ }
1129
+ this.record.tableGridList = this.selectedRows;
1130
+ },
1131
+ handleMenuClicked(e) {
1132
+ let t = this.$refs.table, s = [];
1133
+ t.columnsSetting.forEach((l) => {
1134
+ (l.checked == null ? !0 : l.checked) && l.id != null && s.push({
1135
+ id: l.id,
1136
+ columnName: l.prop,
1137
+ aliasName: this.$i18nt(l.transKey, l.label),
1138
+ fkId: l.fkId
1139
+ });
1140
+ }), this.viewType == 2 && s.pop();
1141
+ let i = {
1142
+ pageNo: t.currentPage,
1143
+ pageSize: t.pageSized
1144
+ }, a = /* @__PURE__ */ new Map();
1145
+ for (let l in this.queryCriteria)
1146
+ l != "pageNo" && l != "pageSize" && l != "viewType" && a.set(l, this.queryCriteria[l]);
1147
+ const o = this.triggerFilterData && this.triggerFilterData.fieldData ? this.triggerFilterData.fieldData : this.fieldData, r = this.triggerFilterData && this.triggerFilterData.tableQueries ? this.triggerFilterData.tableQueries : this.tableQueries;
1148
+ let n = {
1149
+ displayColumns: s,
1150
+ whereS: [
1151
+ Object.assign(
1152
+ {
1153
+ ...i
1154
+ },
1155
+ $(this.queryParam, o, r, this.getDictionary("time_longshort")),
1156
+ Object.fromEntries(a)
1157
+ )
1158
+ ],
1159
+ type: e
1160
+ };
1161
+ return Object.assign(Object.fromEntries(a), n, {
1162
+ ...i
1163
+ });
1164
+ },
1165
+ baseExport(e) {
1166
+ const t = this.$message({
1167
+ message: this.$i18nt("gd.login.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
1168
+ duration: 0,
1169
+ iconClass: "el-icon-loading"
1170
+ });
1171
+ let s = this.handleMenuClicked(e.key), i = Object.assign(
1172
+ {
1173
+ ...s
1174
+ },
1175
+ {
1176
+ ...this.queryTable
1177
+ },
1178
+ this.foreign
1179
+ ), a = e.url ? e.url : !1;
1180
+ v(i, a).then((o) => {
1181
+ this.$refs.xlsxExport.exportWay(o, t);
1182
+ }).catch((o) => {
1183
+ t.close(), console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"), this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25"));
1184
+ });
1185
+ },
1186
+ baseExportSel(e) {
1187
+ if (this.selectedRowKeys.length === 0) {
1188
+ this.$message.warning(this.$i18nt("gd.https.exportTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u6570\u636E!"));
1189
+ return;
1190
+ }
1191
+ const t = this.$message({
1192
+ message: this.$i18nt("gd.login.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
1193
+ duration: 0,
1194
+ iconClass: "el-icon-loading"
1195
+ });
1196
+ let s = this.handleMenuClicked(e.key), i = Object.assign(
1197
+ {
1198
+ ...s
1199
+ },
1200
+ {
1201
+ ...this.queryTable
1202
+ },
1203
+ this.foreign,
1204
+ {
1205
+ type: 4,
1206
+ exportIds: this.selectedRowKeys.join(",")
1207
+ }
1208
+ ), a = e.url ? e.url : !1;
1209
+ v(i, a).then((o) => {
1210
+ this.$refs.xlsxExport.exportWay(o, t);
1211
+ }).catch((o) => {
1212
+ t.close(), this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
1213
+ });
1214
+ },
1215
+ baseSetDefaultView(e) {
1216
+ let t = this;
1217
+ this.$confirm(this.$i18nt("gd.https.defaultViewContent", "\u662F\u5426\u8BBE\u7F6E\u6B64\u6570\u636E\u4E3A\u9ED8\u8BA4\u89C6\u56FE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1218
+ confirmButtonText: this.$i18nt("gd.https.defaultViewOk", "\u786E\u5B9A\u8BBE\u7F6E"),
1219
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1220
+ showClose: !1,
1221
+ confirmButtonLoading: !1,
1222
+ cancelButtonLoading: !1,
1223
+ closeOnClickModal: !1,
1224
+ type: "warning",
1225
+ confirmButtonClass: "el-button--danger",
1226
+ customClass: "custom-alert",
1227
+ callback: () => {
1228
+ },
1229
+ beforeClose: (s, i, a) => {
1230
+ if (s !== "confirm") {
1231
+ a();
1232
+ return;
1233
+ }
1234
+ i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, W({
1235
+ defaultQuery: e.id,
1236
+ codeGenId: t.tableData.id,
1237
+ viewType: e.mode
1238
+ }).then((o) => {
1239
+ o.success ? (t.$message.success(t.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), t.defaultViewId = e.id) : t.$message.error(t.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), a(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0;
1240
+ });
1241
+ }
1242
+ });
1243
+ },
1244
+ baseBatchUpdate() {
1245
+ this.$refs.batchUpdate.open();
1246
+ },
1247
+ baseTeamSharing(e) {
1248
+ if (this.selectedRowKeys.length === 0) {
1249
+ this.$message.warning(this.$i18nt("gd.https.shareTip", "\u8BF7\u9009\u62E9\u8981\u5171\u4EAB\u7684\u6570\u636E!"));
1250
+ return;
1251
+ }
1252
+ if (this.selectedRowKeys.length > 1) {
1253
+ this.$message.warning(this.$i18nt("gd.https.shareTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u5171\u4EAB!"));
1254
+ return;
1255
+ }
1256
+ this.callbackFun = e || null, b({
1257
+ OperationType: "share",
1258
+ codeGenId: this.tableData.id,
1259
+ DataIds: this.selectedRowKeys[0]
1260
+ }).then((t) => {
1261
+ t.data ? this.$refs.teamSharing.open(this.selectedRowKeys[0]) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
1262
+ });
1263
+ },
1264
+ baseStatusChange() {
1265
+ if (this.selectedRowKeys.length === 0) {
1266
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1267
+ return;
1268
+ }
1269
+ if (this.selectedRowKeys.length > 1) {
1270
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1271
+ return;
1272
+ }
1273
+ this.$refs.statusChange.open(this.selectedRowKeys[0]);
1274
+ },
1275
+ baseEnable(e = 1) {
1276
+ return this.selectedRowKeys.length === 0 ? (this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!")), Promise.resolve()) : b({
1277
+ OperationType: "disenable",
1278
+ codeGenId: this.tableData.id,
1279
+ DataIds: this.selectedRowKeys[0]
1280
+ }).then((t) => {
1281
+ if (t.data) {
1282
+ let s = this;
1283
+ return new Promise((i, a) => {
1284
+ this.$confirm(
1285
+ e == 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?"),
1286
+ this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
1287
+ {
1288
+ confirmButtonText: e == 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u542F\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u505C\u7528"),
1289
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1290
+ showClose: !1,
1291
+ confirmButtonLoading: !1,
1292
+ cancelButtonLoading: !1,
1293
+ closeOnClickModal: !1,
1294
+ type: "warning",
1295
+ confirmButtonClass: "el-button--danger",
1296
+ customClass: "custom-alert",
1297
+ callback: () => {
1298
+ },
1299
+ beforeClose: (o, r, n) => {
1300
+ if (o !== "confirm") {
1301
+ n(), i({ action: o, res: null });
1302
+ return;
1303
+ }
1304
+ r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, (e == 1 ? G : H)({
1305
+ tableId: s.tableData.id,
1306
+ ids: s.selectedRowKeys.join(",")
1307
+ }).then((c) => {
1308
+ c.success ? (s.$message.success(s.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s.refresh(), n()) : s.$message.error(s.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + c.message), r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, i({ action: o, res: c });
1309
+ });
1310
+ }
1311
+ }
1312
+ );
1313
+ });
1314
+ } else
1315
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
1316
+ });
1317
+ },
1318
+ baseAssign(e) {
1319
+ if (this.selectedRowKeys.length === 0) {
1320
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
1321
+ return;
1322
+ }
1323
+ this.callbackFun = e || null, b({
1324
+ OperationType: "allocation",
1325
+ codeGenId: this.tableData.id,
1326
+ DataIds: this.selectedRowKeys.join(",")
1327
+ }).then((t) => {
1328
+ t.data ? this.$refs.dataAssign.open(this.selectedRowKeys) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
1329
+ });
1330
+ },
1331
+ baseQuickAbout(e, t) {
1332
+ const s = this.$message({
1333
+ message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
1334
+ duration: 0,
1335
+ iconClass: "el-icon-loading"
1336
+ });
1337
+ _({
1338
+ tableId: this.tableData.id,
1339
+ id: e.id
1340
+ }).then((i) => {
1341
+ if (i.success) {
1342
+ let a = t.prop + "_abouttable", o = {
1343
+ data: e,
1344
+ item: Object.assign(t, {
1345
+ fkEntityName: i.data[0][a]
1346
+ })
1347
+ };
1348
+ this.baseQuickFk(o, s);
1349
+ } else
1350
+ s.close(), this.hideLoading(), setTimeout(() => {
1351
+ this.statu = !1;
1352
+ }, 1e3), this.$nextTick(() => {
1353
+ setTimeout(() => {
1354
+ this.$message.error(i.message);
1355
+ }, 0);
1356
+ });
1357
+ }).catch(() => {
1358
+ this.hideLoading();
1359
+ });
1360
+ },
1361
+ baseQuickFk(e, t) {
1362
+ let s = t;
1363
+ e.item.fieldType != "about" && (this.statu = !0, s = this.$message({
1364
+ message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
1365
+ duration: 0,
1366
+ iconClass: "el-icon-loading"
1367
+ }));
1368
+ let i = {
1369
+ thisTableName: this.tableData.tablename,
1370
+ thisIdValue: e.data.id,
1371
+ thisFiled: e.item.columnName,
1372
+ fkTable: e.item.fkEntityName ? e.item.fkEntityName.toLowerCase() : e.item.fkEntityName
1373
+ };
1374
+ z(i).then((a) => {
1375
+ a.success ? this.$refs.middleware.init(
1376
+ Object.assign(a.data, {
1377
+ fieldType: e.item.fieldType
1378
+ })
1379
+ ).then((o) => {
1380
+ setTimeout(() => {
1381
+ this.statu = !1;
1382
+ }, 1e3), s.close(), this.hideLoading();
1383
+ }) : (s.close(), this.hideLoading(), this.$nextTick(() => {
1384
+ setTimeout(() => {
1385
+ this.$message.error(a.message);
1386
+ }, 0);
1387
+ }));
1388
+ }).catch(() => {
1389
+ this.hideLoading();
1390
+ });
1391
+ },
1392
+ baseSeecharts() {
1393
+ this.$refs.charts.open();
1394
+ },
1395
+ baseUsageBtn() {
1396
+ const e = this.viewList.filter((s) => s.id === this.viewCode)[0], t = this.baseRelationBtnShow();
1397
+ this.sysViewButtons = C({
1398
+ btn: this.sysViewButtons,
1399
+ view: e,
1400
+ statu: t,
1401
+ data: this.selectedRows,
1402
+ excludeBtn: this.excludeButtons
1403
+ });
1404
+ },
1405
+ baseRelationBtnShow() {
1406
+ if (String(this.openMode) !== "3" || this.record.getDelevanceData === void 0)
1407
+ return !0;
1408
+ this.record.baseRelationAllBtnHide = this.baseRelationAllBtnHide;
1409
+ const e = this.record.getDelevanceData();
1410
+ if (!(e.formConfig.controlStatu !== void 0 ? e.formConfig.controlStatu : !1))
1411
+ return !0;
1412
+ const s = e.fieldData.filter((r) => r.columnname == e.formConfig.controlField)[0];
1413
+ if (s === void 0)
1414
+ return !0;
1415
+ const i = e.parameterData[s.columnname];
1416
+ return !((e.formConfig.controlValue === void 0 ? [] : e.formConfig.controlValue).filter((r) => String(r) === String(i)).length > 0);
1417
+ },
1418
+ baseRelationAllBtnHide() {
1419
+ const e = this.baseRelationBtnShow();
1420
+ let t = this.sysViewButtons.map((s) => (!this.excludeButtons.includes(s.id) && !this.excludeButtons.includes(s.displayName) && (s.show = e), s));
1421
+ this.sysViewButtons = [...t];
1422
+ },
1423
+ baseRelationOk(e) {
1424
+ const t = e.fkDataList.filter((r) => ["fk", "user"].includes(r.options.effectType));
1425
+ let s = /* @__PURE__ */ new Map();
1426
+ t.forEach((r) => {
1427
+ const n = r.options.columnName, l = e.data[n];
1428
+ let c = this.viewRecord.sysviewfields.filter((h) => h.syscodegenconfig.columnname == n)[0];
1429
+ if (c) {
1430
+ let h = B(c), d = r.fkData.filter((u) => u.id === l)[0];
1431
+ s.set(h, d ? d.name : "");
1432
+ }
1433
+ });
1434
+ let i = Object.assign(e.data, Object.fromEntries(s)), a = [], o = this.$refs.table.tableData.filter((r) => r.id !== null);
1435
+ i.id ? a = o.map((r) => {
1436
+ let n = String(r.id).split("u");
1437
+ return r.id === i.id && n.length === 1 && (r = Object.assign(
1438
+ { ...r },
1439
+ { ...i },
1440
+ {
1441
+ GdSaasTepyName: 2,
1442
+ GdSaasTepyOperation: !0
1443
+ }
1444
+ )), r.id === i.id && n.length > 1 && (r = Object.assign({ ...r }, { ...i })), r;
1445
+ }) : a = [
1446
+ Object.assign(i, {
1447
+ id: L(),
1448
+ GdSaasTepyName: 1,
1449
+ GdSaasTepyOperation: !0
1450
+ })
1451
+ ].concat(o), this.$refs.table.setTableData(a), this.$emit("changeData", a);
1452
+ },
1453
+ baseRelationRefresh(e = !0, t) {
1454
+ if (this.openMode != 3)
1455
+ return;
1456
+ const s = this.record.options.refreshFields ? this.record.options.refreshFields : [], i = this.record.options.refreshMode ? this.record.options.refreshMode : 1;
1457
+ this.record.refresh(e, t, { refreshMode: i, list: s });
1458
+ },
1459
+ baseBtnsStatus(e) {
1460
+ const t = e.type ? e.type : "show", s = e.list ? e.list : [], i = e.field ? e.field : "id", a = e.manner ? e.manner : "default", o = e.time !== void 0 ? e.time : 100;
1461
+ this.$nextTick(() => {
1462
+ setTimeout(() => {
1463
+ const r = this.baseRelationBtnShow();
1464
+ let n = JSON.parse(JSON.stringify(this.sysViewButtons));
1465
+ n.forEach((l, c) => {
1466
+ const h = l[i];
1467
+ t === "show" ? n[c].show = this.excludeButtons.includes(h) ? l.show : r ? s.includes(h) ? !0 : a === "default" ? l.show : !1 : !1 : n[c].show = this.excludeButtons.includes(h) ? l.show : r ? s.includes(h) ? !1 : a === "default" ? l.show : !1 : !1;
1468
+ }), this.sysViewButtons = [...n], this.$emit("changeBtn", this.sysViewButtons);
1469
+ }, o);
1470
+ });
1471
+ },
1472
+ baseForceShowBtns(e, t = 1) {
1473
+ let s = JSON.parse(JSON.stringify(this.sysViewButtons));
1474
+ s.map((i) => (t === 1 ? i.show = e.includes(i.id) ? !0 : i.show : i.show = e.includes(i.displayName) ? !0 : i.show, i)), this.sysViewButtons = [...s], this.openMode == 2 && this.$emit("changeBtn", s);
1475
+ },
1476
+ baseComponentsInit(e) {
1477
+ !e.ref || this.$nextTick(() => {
1478
+ setTimeout(() => {
1479
+ const t = e.functionName ? e.functionName : "init";
1480
+ this.$refs[e.ref] && this.$refs[e.ref][0][t](e);
1481
+ }, 0);
1482
+ });
1483
+ },
1484
+ baseCustomComponents(e) {
1485
+ let t = [];
1486
+ e.forEach((s) => {
1487
+ t.push(Object.assign(s, { ref: s.ref ? s.ref : L(8) }));
1488
+ }), this.componentList = [...t];
1489
+ },
1490
+ baseSetTableData(e) {
1491
+ const t = e ? Array.isArray(e) ? e : [] : [];
1492
+ this.$refs.table.setTableData(t), this.$emit("changeData", t);
1493
+ },
1494
+ getFileBlob(e) {
1495
+ return U({
1496
+ id: e.id
1497
+ }).then((t) => t.data);
1498
+ },
1499
+ getDictionary(e) {
1500
+ return this.$options.filters.dictData(e);
1501
+ },
1502
+ onSelectChange(e, t) {
1503
+ this.selectedRowKeys = e, this.selectedRows = t, this.$emit("changeSelect", e, t);
1504
+ },
1505
+ changeViewTree(e) {
1506
+ this.treeID = e;
1507
+ let t = /* @__PURE__ */ new Map();
1508
+ t.set(e.pid, e.data), this.queryParam = Object.assign(
1509
+ {
1510
+ ...this.queryParam
1511
+ },
1512
+ Object.fromEntries(t)
1513
+ ), this.$nextTick(() => {
1514
+ setTimeout(() => {
1515
+ this.refresh();
1516
+ }, 10);
1517
+ });
1518
+ const s = this.tableQueries.filter((i) => i.prop === e.pid)[0];
1519
+ s && (s.fkData = e.fkData);
1520
+ },
1521
+ doEventComponent(e, t) {
1522
+ const s = e.functionName || e.functionname;
1523
+ s && this.$emit("doEvent", {
1524
+ key: "changeComponent",
1525
+ functionName: s,
1526
+ data: e,
1527
+ item: t
1528
+ });
1529
+ },
1530
+ closedPreview() {
1531
+ this.showComponent = "";
1532
+ },
1533
+ doEvent(e) {
1534
+ this.$emit("doEvent", e);
1535
+ }
1536
+ },
1537
+ beforeDestroy() {
1538
+ this.formList = [], this.sysViewList = [], this.selectedRows = [], this.sysViewButtons = [], this.fieldData = [], this.componentList = [], this.renderHeaderList = [], this.callbackFun = null;
1539
+ }
1540
+ };
1541
+ var ie = function() {
1542
+ var t = this, s = t._self._c;
1543
+ return s("div", [t.istable ? t._e() : s("div", { staticClass: "gd-base-flex-body" }, [s("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? s("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), s("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [s("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.layoutConfig.filter ? t.tableQueries.length > 0 : !1, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.layoutConfig.chart ? t.openMode == 1 : !1, pageSizes: t.paginationPageSize, disabledRefresh: t.layoutConfig.rfresh ? t.disabledRefresh : !0, rowKey: t.rowKey, showPagination: t.layoutConfig.pager, disabledColumnSettings: !t.layoutConfig.tableColumn, density: t.layoutConfig.tableSize, paginationStyle: t.paginationStyle }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts, rowClick: t.rowClick, triggerRefresh: t.triggerRefresh }, scopedSlots: t._u([{ key: "operator", fn: function() {
1544
+ return [t.laoding ? s("ViewSelection", { attrs: { record: t.record, sysViewButtons: t.sysViewButtons, sysViewList: t.sysViewList, personalViewList: t.personalViewList, viewCode: t.viewCode, defaultViewId: t.defaultViewId, tableData: t.tableData, selectedRowKeys: t.selectedRowKeys, openMode: t.openMode, confirmLoading: t.statu, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData, showView: t.layoutConfig.viewsGroup, showBtn: t.layoutConfig.butGroup }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView }, scopedSlots: t._u([t.layoutConfig.filter && t.getQuickQueries.length > 0 ? { key: "quickQueries", fn: function() {
1545
+ return [s("QuickSearch", { ref: "quickSearch", attrs: { viewQueries: t.getQuickQueries, tableData: t.tableData, fieldData: t.fieldData, queryParam: t.queryParam }, on: { save: (i, a) => t.queriesRefresh(i, a, 2) } })];
1546
+ }, proxy: !0 } : null], null, !0) }) : t._e()];
1547
+ }, proxy: !0 }, t._l(t.getColumnsed, function(i) {
1548
+ return { key: i.prop, fn: function({ column: a, row: o }) {
1549
+ return [s("ChildRenItem", { key: i.prop, attrs: { item: i, row: o, getFristColumn: t.getFristColumn, openMode: t.openMode }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
1550
+ } };
1551
+ }), { key: "filtering", fn: function({ colse: i, visible: a, changeTrigger: o }) {
1552
+ return [s("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: i, visible: a, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0, changeTrigger: o }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
1553
+ } }], null, !0) })], 1)]), t.istable ? s("div", { staticClass: "gd-base-flex-body" }, [s("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [s("gd-tables", { ref: "table", attrs: { showPagination: !1, istool: !1, istable: t.istable, stripeColor: t.tableSetting.stripeColor, lineHeight: t.tableSetting.lineHeight, recordoperations: t.record, dataSource: t.loadData, size: t.tableSized, stripe: t.tableSetting.isStripe, border: t.tableSetting.isBorder, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh, rowKey: t.rowKey }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([t._l(t.getColumnsed, function(i) {
1554
+ return { key: i.prop, fn: function({ column: a, row: o }) {
1555
+ return [i.prop === "tableGridOperation" ? s("div", [t._t("tableGridOperation", null, { column: a, row: o, item: i })], 2) : s("ChildRenItem", { attrs: { item: i, row: o, getFristColumn: t.getFristColumn }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
1556
+ } };
1557
+ })], null, !0) })], 1)]) : t._e(), s("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } }), t.showComponent === "filePreview" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: t.fileOptions }, on: { closed: t.closedPreview } }) : t._e(), s("XlsxImport", { ref: "xlsxImport", attrs: { entityName: t.tableData.tableName, tableData: t.tableData }, on: { ok: t.refresh } }), s("XlsxExport", { ref: "xlsxExport", attrs: { entityId: t.tableData.id, queryParam: t.queryParam, tableData: t.tableData } }), s("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "teamSharing") } }), s("BatchUpdate", { ref: "batchUpdate", attrs: { tableData: t.tableData, queryTable: t.queryTable, columns: t.columns, fieldData: t.fieldData, viewCode: t.viewCode }, on: { ok: t.refresh } }), s("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData }, on: { ok: (i) => t.okAssignSharing(i, "dataAssign") } }), s("StatusChange", { ref: "statusChange", attrs: { tableData: t.tableData }, on: { ok: t.refresh } }), s("ViewCharts", { ref: "charts", attrs: { tableData: t.tableData, fieldData: t.fieldData }, on: { setLoadData: t.setLoadData } }), s("gd-middleware", { ref: "middleware", on: { ok: t.refresh } }), t._l(t.componentList, function(i, a) {
1558
+ return [s(i.componentItem, { key: a, ref: i.ref, refInFor: !0, tag: "component", attrs: { record: i, openMode: t.openMode, tableData: t.tableData }, on: { change: (o) => t.doEventComponent(o, i) } })];
1559
+ })], 2);
1560
+ }, ae = [], re = /* @__PURE__ */ N(
1561
+ se,
1562
+ ie,
1563
+ ae,
1564
+ !1,
1565
+ null,
1566
+ "8a9d38fc",
1567
+ null,
1568
+ null
1569
+ );
1570
+ const fe = re.exports;
1571
+ export {
1572
+ fe as G,
1573
+ X as a,
1574
+ J as b,
1575
+ Z as g,
1576
+ T as h,
1577
+ $ as s
1578
+ };