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,228 @@
1
+ import { a as d, s as p } from "./http.filemanage.c0de21d6.mjs";
2
+ import { b as f, d as c } from "./utils.util.js.333daba2.mjs";
3
+ import { n as h } from "./components.chartbi.571c5ff5.mjs";
4
+ const u = {
5
+ name: "GdUploadFile",
6
+ props: {
7
+ record: {
8
+ type: Object,
9
+ required: !0
10
+ },
11
+ model: {
12
+ type: Object,
13
+ default: () => ({})
14
+ },
15
+ disabled: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ limit: {
20
+ type: Number,
21
+ default: 1
22
+ },
23
+ prop: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ develop: {
28
+ type: [Number, String],
29
+ default: 1
30
+ },
31
+ accept: {
32
+ type: String,
33
+ default: ""
34
+ },
35
+ size: {
36
+ type: Number,
37
+ default: 100
38
+ }
39
+ },
40
+ data() {
41
+ return {
42
+ fileUploadList: [],
43
+ fileListFile: [],
44
+ uid: "",
45
+ imgList: [],
46
+ currentImg: "",
47
+ leg: 0,
48
+ fileName: "",
49
+ uidUploading: []
50
+ };
51
+ },
52
+ computed: {
53
+ isDrag() {
54
+ return this.options.drag !== void 0 ? this.options.drag : !1;
55
+ },
56
+ download() {
57
+ return this.options.download !== void 0 ? this.options.download : !1;
58
+ },
59
+ disableds() {
60
+ return this.limit <= this.leg ? !0 : this.disabled;
61
+ },
62
+ fileAccept() {
63
+ return this.accept ? this.accept : f("file");
64
+ },
65
+ fileSize() {
66
+ return this.size ? this.size : c("file");
67
+ },
68
+ options() {
69
+ return this.record.options;
70
+ }
71
+ },
72
+ methods: {
73
+ clearFiles() {
74
+ this.fileListFile = [], this.uidUploading = [], this.record.uidUploading = [], this.leg = 0, this.record.sourceData = JSON.stringify([]), this.model[this.prop] = "", this.$refs.uploadFile && this.$refs.uploadFile.clearFiles(), this.handleChange();
75
+ },
76
+ onExceed() {
77
+ this.$message.error(this.$i18nt("gd.view.fileLimitTip", "\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF"));
78
+ },
79
+ beforeUpload(i) {
80
+ return !(this.limit <= this.leg);
81
+ },
82
+ setDataMore({ val: i, data: e, items: l, fkData: o }) {
83
+ this.setData(i);
84
+ },
85
+ isJSON(i) {
86
+ try {
87
+ JSON.parse(i);
88
+ } catch {
89
+ return !1;
90
+ }
91
+ return !0;
92
+ },
93
+ setData(i) {
94
+ if (i === "" || i === null) {
95
+ this.clearFiles();
96
+ return;
97
+ }
98
+ const e = this.isJSON(i) ? JSON.parse(i) : [];
99
+ let l = [], o = [];
100
+ e.forEach((s) => {
101
+ const r = s.id ? s.id : s.fileId;
102
+ l.push({
103
+ uid: r,
104
+ name: s.name ? s.name : s.fileoriginname,
105
+ fileoriginname: s.name ? s.name : s.fileoriginname,
106
+ id: r,
107
+ fileId: r,
108
+ url: s.url ? s.url : s.filepath
109
+ }), r && o.push(r);
110
+ }), this.fileListFile = [...l], this.fileListFile.length === 0 && this.clearFiles(), this.leg = l.length, this.record.sourceData = JSON.stringify(l), this.model[this.prop] = o.join(",");
111
+ },
112
+ previewFile(i) {
113
+ this.fileName = i.fileoriginname || i.name;
114
+ let e = "", l = "";
115
+ i.response && i.response.fileoriginname ? (e = i.response.fileoriginname, l = i.response.id) : (e = i.name, l = i.fileId);
116
+ const o = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
117
+ ["gif", "jpeg", "png", "jpg", "gif", "bmp", "JPG", "PNG"].includes(o) ? this.imgPreview(l) : ["mp4", "webm", "mp3", "wav", "docx", "excel", "pdf", "xlsx", "pptx", "doc", "dot", "txt"].includes(o) && this.$refs.filePreview.open(
118
+ Object.assign(i, {
119
+ fileId: i.response && i.response.fileoriginname ? i.response.id : i.fileId
120
+ })
121
+ );
122
+ },
123
+ imgPreview(i) {
124
+ d({
125
+ id: i
126
+ }).then((e) => {
127
+ const l = window.URL.createObjectURL(new Blob([e]));
128
+ this.imgList = [l], this.currentImg = l, this.$refs.imgPreview.open();
129
+ });
130
+ },
131
+ removeFileManual(i) {
132
+ const e = this.fileUploadList.filter((l) => (l.response ? l.response.id : l.id) === i)[0];
133
+ e && this.$refs.uploadFile.handleRemove && this.$refs.uploadFile.handleRemove(e);
134
+ },
135
+ removeFile(i, e) {
136
+ let l = [], o = [];
137
+ e.forEach((s) => {
138
+ s.response && s.response.id ? (l.push(s.response.id), o.push({
139
+ uid: s.response.id,
140
+ name: s.response.fileoriginname,
141
+ fileoriginname: s.response.fileoriginname,
142
+ id: s.response.id,
143
+ fileId: s.response.id,
144
+ url: s.response.url
145
+ })) : (l.push(s.fileId), o.push({
146
+ uid: s.id ? s.id : s.fileId,
147
+ name: s.name ? s.name : s.fileoriginname,
148
+ fileoriginname: s.name ? s.name : s.fileoriginname,
149
+ id: s.fileId ? s.fileId : s.id,
150
+ fileId: s.fileId ? s.fileId : s.id,
151
+ url: s.url ? s.url : s.filepath
152
+ }));
153
+ }), this.uidUploading = this.uidUploading.filter((s) => s !== i.uid), this.record.uidUploading = this.uidUploading, this.record.sourceData = JSON.stringify(o), this.model[this.prop] = l.join(","), this.leg = l.length, this.handleChange();
154
+ },
155
+ uploadFile(i) {
156
+ if (!this.fileAccept.includes(i.file.type) || i.file.type === "") {
157
+ console.log("fileAccept: " + i.file.type), this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), i.onError();
158
+ return;
159
+ }
160
+ if (!(i.file.size / 1024 / 1024 < this.fileSize)) {
161
+ this.$message.error(this.$i18nt("gd.view.fileSizeTip", "\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7") + this.fileSize + "(MB)"), i.onError();
162
+ return;
163
+ }
164
+ this.$emit("uploadFile", i);
165
+ const o = new FormData();
166
+ o.append(this.options.fileName, i.file), this.uidUploading.push(i.file.uid), this.record.uidUploading = this.uidUploading, p(o, { "Content-Type": i.file.type }).then((s) => {
167
+ s.code === 200 ? i.onSuccess(s.data) : (this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + s.message), i.onError());
168
+ }).catch((s) => {
169
+ i.onError(s);
170
+ });
171
+ },
172
+ successFile(i, e, l) {
173
+ this.uidUploading = this.uidUploading.filter((t) => t !== e.uid), this.record.uidUploading = this.uidUploading;
174
+ const o = this.model[this.prop], r = (o ? o.split(",") : []).concat([i.id]);
175
+ this.model[this.prop] = r.join(",");
176
+ let n = [];
177
+ l.forEach((t) => {
178
+ t.response && t.response.id ? n.push({
179
+ ouid: t.uid,
180
+ uid: t.response.id,
181
+ name: t.response.fileoriginname,
182
+ fileoriginname: t.response.fileoriginname,
183
+ id: t.response.id,
184
+ fileId: t.response.id,
185
+ url: t.response.url
186
+ }) : n.push({
187
+ uid: t.id ? t.id : t.fileId,
188
+ name: t.name ? t.name : t.fileoriginname,
189
+ fileoriginname: t.name ? t.name : t.fileoriginname,
190
+ id: t.fileId ? t.fileId : t.id,
191
+ fileId: t.fileId ? t.fileId : t.id,
192
+ url: t.url ? t.url : t.filepath,
193
+ ouid: t.ouid ? t.ouid : t.uid
194
+ });
195
+ }), this.leg = r.length, this.record.sourceData = JSON.stringify(n), this.fileUploadList.push(e), this.handleChange();
196
+ },
197
+ handleChange() {
198
+ this.$emit("change", this.record);
199
+ }
200
+ },
201
+ mounted() {
202
+ this.develop !== 1 && this.$nextTick(() => {
203
+ setTimeout(() => {
204
+ this.record.setData === void 0 && (this.record.setData = this.setDataMore), this.record.clearFiles === void 0 && (this.record.clearFiles = this.clearFiles);
205
+ }, 20);
206
+ });
207
+ }
208
+ };
209
+ var g = function() {
210
+ var e = this, l = e._self._c;
211
+ return l("div", { staticClass: "gd-upload-file" }, [e.isDrag ? l("el-upload", { ref: "uploadFile", attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: e.limit, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile, disabled: e.disabled, "before-upload": e.beforeUpload, "on-exceed": e.onExceed, drag: e.isDrag } }, [l("div", { staticClass: "drag-kuang" }, [l("i", { staticClass: "el-icon-upload", staticStyle: { margin: "0", "font-size": "50px" } }), l("el-button", { staticClass: "btn-drag", attrs: { type: "text", disabled: e.disableds } }, [l("span", { class: e.disableds ? "" : "active-color" }, [e._v(e._s(e.$i18nt("gd.btn.uploadDrag", "\u62D6\u62FD\u6587\u4EF6\u6216\u70B9\u51FB\u4E0A\u4F20")))])])], 1)]) : l("el-upload", { ref: "uploadFile", attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: e.limit, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile, accept: e.fileAccept, disabled: e.disabled, "before-upload": e.beforeUpload, "on-exceed": e.onExceed } }, [e.isDrag ? e._e() : l("div", { staticClass: "upload-file-click" }, [l("el-button", { attrs: { size: "mini", type: e.disableds ? "info" : "primary", disabled: e.disableds } }, [l("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)]), l("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg, download: e.download, fileName: e.fileName } }), l("gd-file-preview", { ref: "filePreview", attrs: { options: e.options } })], 1);
212
+ }, m = [], v = /* @__PURE__ */ h(
213
+ u,
214
+ g,
215
+ m,
216
+ !1,
217
+ null,
218
+ "4641301d",
219
+ null,
220
+ null
221
+ );
222
+ const a = v.exports;
223
+ a.install = function(i) {
224
+ i.component(a.name, a);
225
+ };
226
+ export {
227
+ a as U
228
+ };
@@ -0,0 +1 @@
1
+ "use strict";const d=require("./http.filemanage.7e6e3e1a.js"),p=require("./utils.util.js.c0ba699b.js"),f=require("./components.chartbi.3bbac955.js");const c={name:"GdUploadFile",props:{record:{type:Object,required:!0},model:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},limit:{type:Number,default:1},prop:{type:String,default:""},develop:{type:[Number,String],default:1},accept:{type:String,default:""},size:{type:Number,default:100}},data(){return{fileUploadList:[],fileListFile:[],uid:"",imgList:[],currentImg:"",leg:0,fileName:"",uidUploading:[]}},computed:{isDrag(){return this.options.drag!==void 0?this.options.drag:!1},download(){return this.options.download!==void 0?this.options.download:!1},disableds(){return this.limit<=this.leg?!0:this.disabled},fileAccept(){return this.accept?this.accept:p.getFileAccept("file")},fileSize(){return this.size?this.size:p.getFileSize("file")},options(){return this.record.options}},methods:{clearFiles(){this.fileListFile=[],this.uidUploading=[],this.record.uidUploading=[],this.leg=0,this.record.sourceData=JSON.stringify([]),this.model[this.prop]="",this.$refs.uploadFile&&this.$refs.uploadFile.clearFiles(),this.handleChange()},onExceed(){this.$message.error(this.$i18nt("gd.view.fileLimitTip","\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF"))},beforeUpload(i){return!(this.limit<=this.leg)},setDataMore({val:i,data:e,items:l,fkData:o}){this.setData(i)},isJSON(i){try{JSON.parse(i)}catch{return!1}return!0},setData(i){if(i===""||i===null){this.clearFiles();return}const e=this.isJSON(i)?JSON.parse(i):[];let l=[],o=[];e.forEach(s=>{const r=s.id?s.id:s.fileId;l.push({uid:r,name:s.name?s.name:s.fileoriginname,fileoriginname:s.name?s.name:s.fileoriginname,id:r,fileId:r,url:s.url?s.url:s.filepath}),r&&o.push(r)}),this.fileListFile=[...l],this.fileListFile.length===0&&this.clearFiles(),this.leg=l.length,this.record.sourceData=JSON.stringify(l),this.model[this.prop]=o.join(",")},previewFile(i){this.fileName=i.fileoriginname||i.name;let e="",l="";i.response&&i.response.fileoriginname?(e=i.response.fileoriginname,l=i.response.id):(e=i.name,l=i.fileId);const o=e.substr(e.lastIndexOf(".")+1).toLowerCase();["gif","jpeg","png","jpg","gif","bmp","JPG","PNG"].includes(o)?this.imgPreview(l):["mp4","webm","mp3","wav","docx","excel","pdf","xlsx","pptx","doc","dot","txt"].includes(o)&&this.$refs.filePreview.open(Object.assign(i,{fileId:i.response&&i.response.fileoriginname?i.response.id:i.fileId}))},imgPreview(i){d.sysFileInfoPreview({id:i}).then(e=>{const l=window.URL.createObjectURL(new Blob([e]));this.imgList=[l],this.currentImg=l,this.$refs.imgPreview.open()})},removeFileManual(i){const e=this.fileUploadList.filter(l=>(l.response?l.response.id:l.id)===i)[0];e&&this.$refs.uploadFile.handleRemove&&this.$refs.uploadFile.handleRemove(e)},removeFile(i,e){let l=[],o=[];e.forEach(s=>{s.response&&s.response.id?(l.push(s.response.id),o.push({uid:s.response.id,name:s.response.fileoriginname,fileoriginname:s.response.fileoriginname,id:s.response.id,fileId:s.response.id,url:s.response.url})):(l.push(s.fileId),o.push({uid:s.id?s.id:s.fileId,name:s.name?s.name:s.fileoriginname,fileoriginname:s.name?s.name:s.fileoriginname,id:s.fileId?s.fileId:s.id,fileId:s.fileId?s.fileId:s.id,url:s.url?s.url:s.filepath}))}),this.uidUploading=this.uidUploading.filter(s=>s!==i.uid),this.record.uidUploading=this.uidUploading,this.record.sourceData=JSON.stringify(o),this.model[this.prop]=l.join(","),this.leg=l.length,this.handleChange()},uploadFile(i){if(!this.fileAccept.includes(i.file.type)||i.file.type===""){console.log("fileAccept: "+i.file.type),this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),i.onError();return}if(!(i.file.size/1024/1024<this.fileSize)){this.$message.error(this.$i18nt("gd.view.fileSizeTip","\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7")+this.fileSize+"(MB)"),i.onError();return}this.$emit("uploadFile",i);const o=new FormData;o.append(this.options.fileName,i.file),this.uidUploading.push(i.file.uid),this.record.uidUploading=this.uidUploading,d.sysFileInfoUploadShop(o,{"Content-Type":i.file.type}).then(s=>{s.code===200?i.onSuccess(s.data):(this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+s.message),i.onError())}).catch(s=>{i.onError(s)})},successFile(i,e,l){this.uidUploading=this.uidUploading.filter(t=>t!==e.uid),this.record.uidUploading=this.uidUploading;const o=this.model[this.prop],r=(o?o.split(","):[]).concat([i.id]);this.model[this.prop]=r.join(",");let a=[];l.forEach(t=>{t.response&&t.response.id?a.push({ouid:t.uid,uid:t.response.id,name:t.response.fileoriginname,fileoriginname:t.response.fileoriginname,id:t.response.id,fileId:t.response.id,url:t.response.url}):a.push({uid:t.id?t.id:t.fileId,name:t.name?t.name:t.fileoriginname,fileoriginname:t.name?t.name:t.fileoriginname,id:t.fileId?t.fileId:t.id,fileId:t.fileId?t.fileId:t.id,url:t.url?t.url:t.filepath,ouid:t.ouid?t.ouid:t.uid})}),this.leg=r.length,this.record.sourceData=JSON.stringify(a),this.fileUploadList.push(e),this.handleChange()},handleChange(){this.$emit("change",this.record)}},mounted(){this.develop!==1&&this.$nextTick(()=>{setTimeout(()=>{this.record.setData===void 0&&(this.record.setData=this.setDataMore),this.record.clearFiles===void 0&&(this.record.clearFiles=this.clearFiles)},20)})}};var h=function(){var e=this,l=e._self._c;return l("div",{staticClass:"gd-upload-file"},[e.isDrag?l("el-upload",{ref:"uploadFile",attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:e.limit,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile,disabled:e.disabled,"before-upload":e.beforeUpload,"on-exceed":e.onExceed,drag:e.isDrag}},[l("div",{staticClass:"drag-kuang"},[l("i",{staticClass:"el-icon-upload",staticStyle:{margin:"0","font-size":"50px"}}),l("el-button",{staticClass:"btn-drag",attrs:{type:"text",disabled:e.disableds}},[l("span",{class:e.disableds?"":"active-color"},[e._v(e._s(e.$i18nt("gd.btn.uploadDrag","\u62D6\u62FD\u6587\u4EF6\u6216\u70B9\u51FB\u4E0A\u4F20")))])])],1)]):l("el-upload",{ref:"uploadFile",attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:e.limit,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile,accept:e.fileAccept,disabled:e.disabled,"before-upload":e.beforeUpload,"on-exceed":e.onExceed}},[e.isDrag?e._e():l("div",{staticClass:"upload-file-click"},[l("el-button",{attrs:{size:"mini",type:e.disableds?"info":"primary",disabled:e.disableds}},[l("i",{staticClass:"gd-icons gd-icon-shangchuan"}),e._v(" "+e._s(e.$i18nt("gd.btn.upload","\u4E0A\u4F20"))+" ")])],1)]),l("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg,download:e.download,fileName:e.fileName}}),l("gd-file-preview",{ref:"filePreview",attrs:{options:e.options}})],1)},u=[],g=f.normalizeComponent(c,h,u,!1,null,"4641301d",null,null);const n=g.exports;n.install=function(i){i.component(n.name,n)};exports.UploadFile=n;
@@ -0,0 +1 @@
1
+ "use strict";const p=require("./http.filemanage.7e6e3e1a.js"),d=require("./utils.util.js.c0ba699b.js"),u=require("./components.chartbi.3bbac955.js");const h={name:"GdUploadImg",props:{record:{type:Object,default:()=>({})},model:{type:Object,required:!0},limit:{type:Number,default:1},disabled:{type:Boolean,default:!1},prop:{type:String,default:""},develop:{type:[Number,String],default:1},accept:{type:String,default:""},size:{type:Number,default:100}},data(){return{fileList:[],imgList:[],currentImg:"",uidUploading:[]}},computed:{fileAccept(){return this.accept?this.accept:d.getFileAccept("image")},fileSize(){return this.size?this.size:d.getFileSize("image")}},methods:{clearFiles(){this.fileListFile=[],this.uidUploading=[],this.record.uidUploading=[],this.model[this.prop]="",this.$refs.uploadFile&&this.$refs.uploadFile.clearFiles(),this.handleChange()},setDataMore({val:i,data:s,items:l,fkData:t}){this.setData(i)},setData(i){const s=i?i.split(","):[];if(s.length===0){this.clearFiles();return}let l=[];s.forEach(t=>{let e=this.getFileBlob(t).then(r=>r);l.push(e)}),Promise.all(l).then(t=>{let e=[];t.forEach(r=>{const a=this.fileList.filter(o=>o.fileId===r.fileId)[0];e.push({uid:a?a.uid:r.uuid,url:r.url,filePath:r.url,fileId:r.fileId})}),this.fileList=[...e]})},getFileBlob(i){return i.includes("http")?new Promise(l=>{l({url:i,fileId:"",uuid:d.uuid(8)})}):p.sysFileInfoPreview({id:i}).then(l=>({url:window.URL.createObjectURL(new Blob([l])),fileId:i,uuid:i}))},successImg(i,s,l){this.uidUploading=this.uidUploading.filter(e=>e!==s.uid),this.record.uidUploading=this.uidUploading;let t=[];l.forEach(e=>{e.response&&e.response.id?t.push({uid:e.response.id,name:e.response.fileoriginname,fileoriginname:e.response.fileoriginname,id:e.response.id,fileId:e.response.id,url:e.response.url}):t.push({uid:e.id?e.id:e.fileId,name:e.name?e.name:e.fileoriginname,fileoriginname:e.name?e.name:e.fileoriginname,id:e.fileId?e.fileId:e.id,fileId:e.fileId?e.fileId:e.id,url:e.url?e.url:e.filepath})}),this.fileList=[...l],this.handleChange()},uploadImgs(i){if(!this.fileAccept.split(",").includes(i.file.type)){this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),i.onError();return}if(!(i.file.size/1024/1024<this.fileSize)){this.$message.error(this.$i18nt("gd.view.fileSizeTip","\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7")+this.fileSize+"(MB)"),i.onError();return}const t=new FormData;t.append("file",i.file),this.uidUploading.push(i.file.uid),this.record.uidUploading=this.uidUploading,p.sysFileInfoUploadShop(t).then(e=>{if(e.code===200){const r=e.data.id,o=(this.model[this.prop]?this.model[this.prop].split(","):[]).concat([r]);this.model[this.prop]=o.join(","),i.onSuccess(e.data)}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+e.message),i.onError()}).catch(e=>{i.onError(e)})},previewImg(i){this.imgList=[];let s=[];this.fileList.forEach(l=>{s.push(l.url)}),this.imgList=s,this.currentImg=i.url,this.$refs.imgPreview.open()},removeImg(i,s){let l=[],t=[];s.forEach(e=>{e.response&&e.response.id?(l.push(e.response.id),t.push({uid:e.response.id,name:e.response.fileoriginname,fileoriginname:e.response.fileoriginname,id:e.response.id,fileId:e.response.id,url:e.response.url})):(l.push(e.fileId?e.fileId:e.id),t.push({uid:e.id?e.id:e.fileId,name:e.name?e.name:e.fileoriginname,fileoriginname:e.name?e.name:e.fileoriginname,id:e.fileId?e.fileId:e.id,fileId:e.fileId?e.fileId:e.id,url:e.url?e.url:e.filepath}))}),this.uidUploading=this.uidUploading.filter(e=>e!==i.uid),this.record.uidUploading=this.uidUploading,this.fileList=[...s],this.model[this.prop]=l.join(","),this.handleChange()},handleChange(){this.$emit("change",this.record)}},mounted(){this.develop!==1&&this.$nextTick(()=>{setTimeout(()=>{this.record.setData===void 0&&(this.record.setData=this.setDataMore),this.record.clearFiles===void 0&&(this.record.clearFiles=this.clearFiles)},20)})}};var c=function(){var s=this,l=s._self._c;return l("div",[l("el-upload",{staticClass:"upload-demo",class:s.fileList.length>=s.limit?"hide-demo":"",attrs:{action:"","list-type":"picture-card","on-preview":s.previewImg,"on-remove":s.removeImg,limit:s.limit,"http-request":s.uploadImgs,"on-success":s.successImg,"file-list":s.fileList,disabled:s.disabled,accept:s.fileAccept}},[l("i",{staticClass:"el-icon-plus"})]),l("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:s.imgList.length>0,imgList:s.imgList,currentImg:s.currentImg}})],1)},f=[],g=u.normalizeComponent(h,c,f,!1,null,"99ae0c7b",null,null);const n=g.exports;n.install=function(i){i.component(n.name,n)};exports.uploadImg=n;
@@ -0,0 +1,192 @@
1
+ import { a as d, s as p } from "./http.filemanage.c0de21d6.mjs";
2
+ import { b as h, d as u, u as f } from "./utils.util.js.333daba2.mjs";
3
+ import { n as c } from "./components.chartbi.571c5ff5.mjs";
4
+ const g = {
5
+ name: "GdUploadImg",
6
+ props: {
7
+ record: {
8
+ type: Object,
9
+ default: () => ({})
10
+ },
11
+ model: {
12
+ type: Object,
13
+ required: !0
14
+ },
15
+ limit: {
16
+ type: Number,
17
+ default: 1
18
+ },
19
+ disabled: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ prop: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ develop: {
28
+ type: [Number, String],
29
+ default: 1
30
+ },
31
+ accept: {
32
+ type: String,
33
+ default: ""
34
+ },
35
+ size: {
36
+ type: Number,
37
+ default: 100
38
+ }
39
+ },
40
+ data() {
41
+ return {
42
+ fileList: [],
43
+ imgList: [],
44
+ currentImg: "",
45
+ uidUploading: []
46
+ };
47
+ },
48
+ computed: {
49
+ fileAccept() {
50
+ return this.accept ? this.accept : h("image");
51
+ },
52
+ fileSize() {
53
+ return this.size ? this.size : u("image");
54
+ }
55
+ },
56
+ methods: {
57
+ clearFiles() {
58
+ this.fileListFile = [], this.uidUploading = [], this.record.uidUploading = [], this.model[this.prop] = "", this.$refs.uploadFile && this.$refs.uploadFile.clearFiles(), this.handleChange();
59
+ },
60
+ setDataMore({ val: i, data: s, items: l, fkData: r }) {
61
+ this.setData(i);
62
+ },
63
+ setData(i) {
64
+ const s = i ? i.split(",") : [];
65
+ if (s.length === 0) {
66
+ this.clearFiles();
67
+ return;
68
+ }
69
+ let l = [];
70
+ s.forEach((r) => {
71
+ let e = this.getFileBlob(r).then((t) => t);
72
+ l.push(e);
73
+ }), Promise.all(l).then((r) => {
74
+ let e = [];
75
+ r.forEach((t) => {
76
+ const a = this.fileList.filter((n) => n.fileId === t.fileId)[0];
77
+ e.push({
78
+ uid: a ? a.uid : t.uuid,
79
+ url: t.url,
80
+ filePath: t.url,
81
+ fileId: t.fileId
82
+ });
83
+ }), this.fileList = [...e];
84
+ });
85
+ },
86
+ getFileBlob(i) {
87
+ return i.includes("http") ? new Promise((l) => {
88
+ l({ url: i, fileId: "", uuid: f(8) });
89
+ }) : d({
90
+ id: i
91
+ }).then((l) => ({ url: window.URL.createObjectURL(new Blob([l])), fileId: i, uuid: i }));
92
+ },
93
+ successImg(i, s, l) {
94
+ this.uidUploading = this.uidUploading.filter((e) => e !== s.uid), this.record.uidUploading = this.uidUploading;
95
+ let r = [];
96
+ l.forEach((e) => {
97
+ e.response && e.response.id ? r.push({
98
+ uid: e.response.id,
99
+ name: e.response.fileoriginname,
100
+ fileoriginname: e.response.fileoriginname,
101
+ id: e.response.id,
102
+ fileId: e.response.id,
103
+ url: e.response.url
104
+ }) : r.push({
105
+ uid: e.id ? e.id : e.fileId,
106
+ name: e.name ? e.name : e.fileoriginname,
107
+ fileoriginname: e.name ? e.name : e.fileoriginname,
108
+ id: e.fileId ? e.fileId : e.id,
109
+ fileId: e.fileId ? e.fileId : e.id,
110
+ url: e.url ? e.url : e.filepath
111
+ });
112
+ }), this.fileList = [...l], this.handleChange();
113
+ },
114
+ uploadImgs(i) {
115
+ if (!this.fileAccept.split(",").includes(i.file.type)) {
116
+ this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), i.onError();
117
+ return;
118
+ }
119
+ if (!(i.file.size / 1024 / 1024 < this.fileSize)) {
120
+ this.$message.error(this.$i18nt("gd.view.fileSizeTip", "\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7") + this.fileSize + "(MB)"), i.onError();
121
+ return;
122
+ }
123
+ const r = new FormData();
124
+ r.append("file", i.file), this.uidUploading.push(i.file.uid), this.record.uidUploading = this.uidUploading, p(r).then((e) => {
125
+ if (e.code === 200) {
126
+ const t = e.data.id, n = (this.model[this.prop] ? this.model[this.prop].split(",") : []).concat([t]);
127
+ this.model[this.prop] = n.join(","), i.onSuccess(e.data);
128
+ } else
129
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + e.message), i.onError();
130
+ }).catch((e) => {
131
+ i.onError(e);
132
+ });
133
+ },
134
+ previewImg(i) {
135
+ this.imgList = [];
136
+ let s = [];
137
+ this.fileList.forEach((l) => {
138
+ s.push(l.url);
139
+ }), this.imgList = s, this.currentImg = i.url, this.$refs.imgPreview.open();
140
+ },
141
+ removeImg(i, s) {
142
+ let l = [], r = [];
143
+ s.forEach((e) => {
144
+ e.response && e.response.id ? (l.push(e.response.id), r.push({
145
+ uid: e.response.id,
146
+ name: e.response.fileoriginname,
147
+ fileoriginname: e.response.fileoriginname,
148
+ id: e.response.id,
149
+ fileId: e.response.id,
150
+ url: e.response.url
151
+ })) : (l.push(e.fileId ? e.fileId : e.id), r.push({
152
+ uid: e.id ? e.id : e.fileId,
153
+ name: e.name ? e.name : e.fileoriginname,
154
+ fileoriginname: e.name ? e.name : e.fileoriginname,
155
+ id: e.fileId ? e.fileId : e.id,
156
+ fileId: e.fileId ? e.fileId : e.id,
157
+ url: e.url ? e.url : e.filepath
158
+ }));
159
+ }), this.uidUploading = this.uidUploading.filter((e) => e !== i.uid), this.record.uidUploading = this.uidUploading, this.fileList = [...s], this.model[this.prop] = l.join(","), this.handleChange();
160
+ },
161
+ handleChange() {
162
+ this.$emit("change", this.record);
163
+ }
164
+ },
165
+ mounted() {
166
+ this.develop !== 1 && this.$nextTick(() => {
167
+ setTimeout(() => {
168
+ this.record.setData === void 0 && (this.record.setData = this.setDataMore), this.record.clearFiles === void 0 && (this.record.clearFiles = this.clearFiles);
169
+ }, 20);
170
+ });
171
+ }
172
+ };
173
+ var m = function() {
174
+ var s = this, l = s._self._c;
175
+ return l("div", [l("el-upload", { staticClass: "upload-demo", class: s.fileList.length >= s.limit ? "hide-demo" : "", attrs: { action: "", "list-type": "picture-card", "on-preview": s.previewImg, "on-remove": s.removeImg, limit: s.limit, "http-request": s.uploadImgs, "on-success": s.successImg, "file-list": s.fileList, disabled: s.disabled, accept: s.fileAccept } }, [l("i", { staticClass: "el-icon-plus" })]), l("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: s.imgList.length > 0, imgList: s.imgList, currentImg: s.currentImg } })], 1);
176
+ }, I = [], v = /* @__PURE__ */ c(
177
+ g,
178
+ m,
179
+ I,
180
+ !1,
181
+ null,
182
+ "99ae0c7b",
183
+ null,
184
+ null
185
+ );
186
+ const o = v.exports;
187
+ o.install = function(i) {
188
+ i.component(o.name, o);
189
+ };
190
+ export {
191
+ o as u
192
+ };
@@ -0,0 +1 @@
1
+ "use strict";const d=require("./components.chartbi.3bbac955.js");const s={name:"GdVerificationCode",props:{width:{type:String,default:"180px"},height:{type:String,default:"40px"},length:{type:Number,default:4}},data(){return{codeList:[]}},mounted(){this.createdCode()},methods:{refreshCode(){this.createdCode()},createdCode(){const e=this.length,t=[],n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789",r=n.length;for(let o=0;o<e;o++){const a=[Math.round(Math.random()*220),Math.round(Math.random()*240),Math.round(Math.random()*200)];t.push({code:n.charAt(Math.floor(Math.random()*r)),color:`rgb(${a})`,fontSize:`${[Math.floor(Math.random()*(30-16+1)+16)]}px`,padding:`${[Math.floor(Math.random()*10)]}px`,transform:`rotate(${Math.floor(Math.random()*90)-Math.floor(Math.random()*90)}deg)`})}this.codeList=t,this.$emit("update",t.map(o=>o.code).join(""))},getStyle(e){return`color: ${e.color}; font-size: ${e.fontSize}; padding: ${e.padding}; transform: ${e.transform}`}}};var c=function(){var t=this,n=t._self._c;return n("div",{staticClass:"validcode disabled-select",style:`width:${t.width}; height:${t.height}`,on:{click:t.refreshCode}},t._l(t.codeList,function(r,o){return n("span",{key:o,style:t.getStyle(r)},[t._v(t._s(r.code))])}),0)},i=[],h=d.normalizeComponent(s,c,i,!1,null,"c4c21346",null,null);const l=h.exports;exports.VerificationCode=l;
@@ -0,0 +1,71 @@
1
+ import { n as d } from "./components.chartbi.571c5ff5.mjs";
2
+ const s = {
3
+ name: "GdVerificationCode",
4
+ props: {
5
+ width: {
6
+ type: String,
7
+ default: "180px"
8
+ },
9
+ height: {
10
+ type: String,
11
+ default: "40px"
12
+ },
13
+ length: {
14
+ type: Number,
15
+ default: 4
16
+ }
17
+ },
18
+ data() {
19
+ return {
20
+ codeList: []
21
+ };
22
+ },
23
+ mounted() {
24
+ this.createdCode();
25
+ },
26
+ methods: {
27
+ refreshCode() {
28
+ this.createdCode();
29
+ },
30
+ createdCode() {
31
+ const e = this.length, t = [], n = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789", r = n.length;
32
+ for (let o = 0; o < e; o++) {
33
+ const a = [
34
+ Math.round(Math.random() * 220),
35
+ Math.round(Math.random() * 240),
36
+ Math.round(Math.random() * 200)
37
+ ];
38
+ t.push({
39
+ code: n.charAt(Math.floor(Math.random() * r)),
40
+ color: `rgb(${a})`,
41
+ fontSize: `${[Math.floor(Math.random() * (30 - 16 + 1) + 16)]}px`,
42
+ padding: `${[Math.floor(Math.random() * 10)]}px`,
43
+ transform: `rotate(${Math.floor(Math.random() * 90) - Math.floor(Math.random() * 90)}deg)`
44
+ });
45
+ }
46
+ this.codeList = t, this.$emit("update", t.map((o) => o.code).join(""));
47
+ },
48
+ getStyle(e) {
49
+ return `color: ${e.color}; font-size: ${e.fontSize}; padding: ${e.padding}; transform: ${e.transform}`;
50
+ }
51
+ }
52
+ };
53
+ var c = function() {
54
+ var t = this, n = t._self._c;
55
+ return n("div", { staticClass: "validcode disabled-select", style: `width:${t.width}; height:${t.height}`, on: { click: t.refreshCode } }, t._l(t.codeList, function(r, o) {
56
+ return n("span", { key: o, style: t.getStyle(r) }, [t._v(t._s(r.code))]);
57
+ }), 0);
58
+ }, i = [], h = /* @__PURE__ */ d(
59
+ s,
60
+ c,
61
+ i,
62
+ !1,
63
+ null,
64
+ "c4c21346",
65
+ null,
66
+ null
67
+ );
68
+ const f = h.exports;
69
+ export {
70
+ f as V
71
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./components.chartbi.3bbac955.js"),l=require("./utils.util.js.c0ba699b.js"),d=require("./http.main.2f8a6936.js"),p=require("./http.loginmanage.326984c3.js"),f=require("./http.syscodegenerateconfigmanage.840f1136.js"),y=require("./form.build.724d3357.js"),g=require("./http.codegeneratemanage.e3db2f09.js"),C=require("./system.notice.db26f308.js"),b={props:{record:{type:Object,default:()=>({})},recordoperations:{type:Object,default:()=>({})},develop:{type:[Number,String],default:1},openMode:{type:[String,Number],default:1},height:{type:Number,default:100},foreign:{type:Object,default:()=>({})},disabledRowId:{type:Array,default:()=>[]},istable:{type:Boolean,default:!1}},data(){return{statu:!1,viewRecord:{},formList:[],tableData:{},sysViewList:[],personalViewList:[],sysViewButtons:[],selectedRowKeys:[],selectedRows:[],defaultViewId:0,excludeButtons:[],fieldData:[],tableDataSource:[],componentList:[],lineQuickView:t=>{const e="baseQuickView";return this[e]===void 0&&this.func===void 0?new Promise(i=>i(t)):this[e](t)}}},computed:{componentForm(){const t=this.$importViewFiles();let i=`../views/main/${this.options.table.tableName||this.options.table.tablename}/editForm.vue`;const s=t[i];return s?s.default:y.FormDesigner},viewList(){return this.sysViewList.concat(this.personalViewList)},formCode(){return this.options.form.id},options(){return this.record.options},...r.mapGetters(["tableLists"])},methods:{showLoading(){this.statu=!0,this.$refs.table.showLoading()},hideLoading(t=1500){this.$refs.table.hideLoading(t),setTimeout(()=>{this.statu=!1},t)},add(t){this.baseAdd()},edit(t){this.baseEdit()},del(t){this.baseDel()},deactivateData(){this.baseEnable(0)},enableData(){this.baseEnable()},assign(t){this.baseAssign(t)},batchUpdate(t){this.baseBatchUpdate()},teamSharing(t){this.baseTeamSharing(t)},statusChange(){this.baseStatusChange()},importData(){this.baseImportData()},exportData(t){this.baseExportData(t)},open(t){this.$nextTick(()=>{setTimeout(()=>{if(this.$refs.editForm){if(!(this.tableData.isvirtualtable===1)){this.$refs.editForm.open(t);return}this.openVirtual(t)}else console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},openVirtual(t){let e=new Map;this.fieldData.filter(s=>["fk","user"].includes(s.effecttype)).forEach(s=>{Object.keys(t).includes(s.columnname);const o=`name${s.fkentityname}${s.columnname}`;if(Object.keys(t).includes(o)){const a=t[`${s.columnname}id`],c=a||new Date().getTime();e.set(`${s.columnname}`,c),e.set(`${s.columnname}name`,t[o])}}),this.$refs.editForm.openDisplay(Object.assign({},t,Object.fromEntries(e)))},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},init(){this.record.hasLoad&&this.record.hasLoad(this.record.key),Promise.all([this.baseGetTableView(),this.baseGetPersonalView(!0),this.baseGetLoadData()]).then(t=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.table&&(this.$refs.table.init({fieldData:this.fieldData,tableData:this.tableData,sysViewList:this.sysViewList,personalViewList:this.personalViewList,defaultViewId:this.defaultViewId}),this.$refs.table.baseCustomComponents(this.componentList));let e=this.formList.filter(i=>i.id===this.formCode)[0];e||(e=this.formList.filter(i=>i.type===1)[0]),this.$refs.editForm&&e&&this.$refs.editForm.setFormRecord(e),this.beaseLoadComplete()},0)})})},onChangeBtn(t){this.sysViewButtons=t},onChangeView(t){this.viewRecord=t},onChangeData(t){this.tableDataSource=[...t],this.$emit("changeData",t)},onChangeSelect(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onChangeSelect",t,e);const i="baseChangeSelect";this[i]&&this[i](t,e)},beaseLoadComplete(){const t="onLoadCompleted";this[t]===void 0&&this.func===void 0||this[t]&&this[t]()},baseGetTableView(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?d.baseTableData({tableId:t.id}).then(e=>(e.code===200?(e.data.viewlist.map(i=>(i.mode=1,i)),this.formList=e.data.formlist,this.tableData=e.data.table,this.sysViewList=e.data.viewlist):this.$message.error(e.message),e)):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseGetPersonalView(t){if(t&&this.openMode!=1)return new Promise((i,s)=>{i()});const e=this.tableLists.filter(i=>{const s=this.options.table.tableName||this.options.table.tablename;return i.tablename.toLowerCase()===s.toLowerCase()})[0];return e===void 0?(console.log("\u8868\u4E0D\u5B58\u5728"),new Promise((i,s)=>{i()})):d.basePersonalData({tableId:e.id}).then(i=>{if(i.code===200){const s=this.options.layoutConfig!==void 0?this.options.layoutConfig:!1;this.defaultViewId=s?0:i.data.defaultqueryid,this.personalViewList=i.data.savedquerylist}else console.log(i.message);return i.data})},baseGetLoadData(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?f.onlineFormGetCodeGenerateList({codeGenId:t.id}).then(e=>{e.code===200&&(this.fieldData=JSON.parse(JSON.stringify(e.data)),this.$emit("fieldData",e.data))}):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseAdd(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm?this.$refs.editForm.open({title:this.$i18nt("gd.https.add","\u65B0\u589E")}):console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},baseEdit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}let t={title:this.$i18nt("gd.https.edit","\u7F16\u8F91")};this.openMode==3?Object.assign(t,{data:this.selectedRows[0]}):Object.assign(t,{id:this.selectedRowKeys[0]}),this.open(t)},baseCopyData(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}const t=this.tableDataSource.filter(e=>this.selectedRowKeys.includes(e.id))[0];this.$refs.editForm.openCopyData({title:this.$i18nt("gd.advancedFind.anotherSave","\u53E6\u5B58\u4E3A"),data:t})},baseDel(){this.$refs.table.baseDel()},baseEnable(t=1){return this.$refs.table.baseEnable(t)},baseRelationOk(t){this.$refs.table.baseRelationOk(t)},baseBatchUpdate(){this.$refs.table.baseBatchUpdate()},baseTeamSharing(t){this.$refs.table.baseTeamSharing(t)},baseStatusChange(){this.$refs.table.baseStatusChange()},baseAssign(t){this.$refs.table.baseAssign(t)},baseImportData(){this.$refs.table.baseImportData()},baseExportData(t){this.$refs.table.baseExportData(t)},baseGetParentFormData(t){if(this.openMode!=3)return new Promise((i,s)=>{i({})});let e=t===void 0?!1:t;return this.record.getFormAllData(e,!0).then(i=>i)},baseRelationRefresh(t=!0,e,i={}){this.openMode==3&&this.record.refresh(t,e,i)},baseBtnsStatus(t){this.$refs.table.baseBtnsStatus(t)},baseForceShowBtns(t){this.$refs.table.baseForceShowBtns(t)},baseComponentsInit(t){this.$refs.table.baseComponentsInit(t)},baseSetTableData(t){this.$refs.table.baseSetTableData(t)},getDictionary(t){return this.$options.filters.dictData(t)},baseTriggerFilter(t){this.$refs.table.baseTriggerFilter(t)},beseDoComponentEvent(t){const e=t.key?t.key:"",i=t.functionName?t.functionName:"",s=t.data?t.data:null,o=t.callback?t.callback:!1,h=t.callback?t.callback:this.record.key,a=t.callbackFunction?t.callbackFunction:"";this.record.doEvent&&this.record.doEvent({key:e,functionName:i,data:s,source:this.record,callback:o,callbackComponents:h,callbackFunction:a})},baseGetComponentData(t,e="key"){return this.record.getComponentData?this.record.getComponentData(t,e):null},doEvent(t){const e=t.item.functionName||t.item.functionname,i=t.key?t:t.item;if(this[e]===void 0){console.log("\u8BF7\u5B9A\u4E49 "+e+" \u65B9\u6CD5");return}this.showLoading(),this[e]&&this[e](i),this.hideLoading()},executeEvent(t){const e=t.functionName?t.functionName:"";e&&this[e]!==void 0?this.$nextTick(()=>{setTimeout(()=>{this[e](t)},100)}):console.log("\u6267\u884C\u9519\u8BEF")}},created(){this.init(),this.develop==2&&(this.record.executeEvent=this.executeEvent)},beforeDestroy(){this.sysViewList=[],this.personalViewList=[],this.selectedRows=[],this.sysViewButtons=[],this.fieldData=[],this.componentList=[],this.tableDataSource=[]}};const D={mixins:[b],methods:{}};var L=function(){var e=this,i=e._self._c;return i("div",[i("gd-view-build-designer",{ref:"table",attrs:{record:e.record,develop:e.develop,openMode:e.openMode,height:e.height,foreign:e.foreign,disabledRowId:e.disabledRowId,excludeButtons:e.excludeButtons,lineQuickView:e.lineQuickView},on:{baseOpen:e.open,changeBtn:e.onChangeBtn,changeView:e.onChangeView,changeData:e.onChangeData,changeSelect:e.onChangeSelect,doEvent:e.doEvent}}),i(e.componentForm,{ref:"editForm",tag:"component",attrs:{fieldData:e.fieldData,tableData:e.tableData,recordRelation:e.record,openMode:e.openMode},on:{ok:e.refresh,relationOk:e.baseRelationOk}})],1)},I=[],k=r.normalizeComponent(D,L,I,!1,null,"ca0b408e",null,null);const _=k.exports;const x={name:"GdViewFormDetails",props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{record:"",query:{},openType:"",modeType:"",popupType:"dialog",iframeUri:"",showPopup:!1,statu:!1}},computed:{hig(){return`${this.screenHeight}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},...r.mapGetters(["primaryColor","screenHeight"])},components:{PopupDetails:()=>Promise.resolve().then(()=>P),ViewDetails:()=>Promise.resolve().then(()=>G)},methods:{open(t,e=!1){console.log(t),this.record=t;const i=l.getParamsQuery(t);this.query=i,this.modeType=e?this.modeType:i.mode_type?i.mode_type:"",this.openType=e?this.openType:i.open_type?i.open_type:"popup";const s=this.query.redirect_uri?this.query.redirect_uri:"";if(this.modeType==="request"){this.getRequestDetail();return}if(["authorize_view","authorize_form","authorize_details"].includes(this.modeType)){this.getAuthorizeCode();return}if(this.openType==="iframe"){this.getIframeUri(s);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(s);return}this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const o=`${this.openType}Details`;this.$refs[o]&&this.$refs[o].init()},0)})},getRequestDetail(){if(this.statu)return;const t=this.query.request_url?this.query.request_url:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);this.statu=!0,d.post(i,s).then(o=>{if(this.statu=!1,o.code!==200){this.$message.error(o.message);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(o.data),this.beaseLoadComplete();return}if(["iframe"].includes(this.openType)){this.getIframeUri(o.data),this.beaseLoadComplete();return}this.open(o.data,!0)})},getAuthorizeCode(){const t=this.query.code?this.query.code:"";if(t){this.Logout().then(e=>{this.getCode(t)});return}this.oauthAuthorize()},oauthAuthorize(){const t=this.query.client_id?this.query.client_id:"";this.query.response_type&&this.query.response_type,p.oauthAuthorize({client_id:t,response_type:"code"}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}const i=this.query.redirect_uri?this.query.redirect_uri:"";if(i==="")return;const s=decodeURIComponent(i);s.indexOf("?")===-1||s.slice(0,s.indexOf("?"));const o=s.indexOf("?")===-1?[]:s.slice(s.indexOf("?")+1).split("&").map(n=>n.split("=")).map(([n,q])=>({key:n,value:q})).concat([{key:"code",value:e.data.code}]);if(["redirect_self","redirect_blank"].includes(this.openType)){this.oauthAuthorizeRedirect(o);return}const h=this.modeType.replace("authorize_","");let a=`?authorize_type=${this.modeType}&mode_type=${h}`,c=`?authorize_type=${this.modeType}&mode_type=${h}&open_type=view`;for(let n=0;n<o.length;n++)a+=`&${o[n].key}=${o[n].value}`,o[n].key!=="open_type"&&(c+=`&${o[n].key}=${o[n].value}`);const m=encodeURIComponent(s.slice(0,s.indexOf("?"))+c);a+=a===""?`?redirect_uri=${m}`:`&redirect_uri=${m}`,this.query.complete_request&&(a+=`&complete_request=${this.query.complete_request}`);const T=l.getParamsQuery(a);this.query=T,this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const n=`${this.openType}Details`;this.$refs[n]&&this.$refs[n].init()},0)})})},oauthAuthorizeRedirect(t){let e="";for(let s=0;s<t.length;s++)e+=`${s===0?"?":"&"}${t[s].key}=${t[s].value}`;const i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"_self";window.open(`${url}${e}`,i)},getCode(t){p.oauthCodeLogin({code:t}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}this.loginSuccess(e.data),this.loginOther()})},goRedirectUri(t){if(t==="")return;const e=decodeURIComponent(t),i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"";window.open(e,i)},getIframeUri(t){t!==""&&(this.iframeUri=decodeURIComponent(t))},beaseLoadComplete(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},loginSuccess(t){Vue.ls.set("ACCESS_TOKEN",t.accesstoken),this.$store.commit("SET_TOKEN",t.accesstoken);let e="";for(let i in this.query)["authorize_view","authorize_form","authorize_details"].includes(i)?e+=`${e===""?"?":"&"}${i}=${this.query[i].replace("authorize_","")}`:e+=`${e===""?"?":"&"}${i}=${this.query[i]}`;this.open(e,!0)},loginOther(){this.dictTypeData().then(e=>{});const t=new BroadcastChannel("gd-channel-msg");t.postMessage({type:"login",data:{gdTagName:window.gdTagName}}),t.close()},close(){this.modeType="",this.openType="",this.$nextTick(()=>{setTimeout(()=>{this.$emit("close")},300)})},doEvent(t){const e=`${this.openType}Details`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)},...r.mapActions(["Logout","dictTypeData"])}};var F=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-vf-details"},[e.showPopup&&e.openType==="popup"?i("PopupDetails",{ref:"popupDetails",attrs:{record:e.record,query:e.query,modalAppendToBody:e.modalAppendToBody,appendToBody:e.appendToBody},on:{ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")},closed:e.close}}):e.openType==="view"?i("ViewDetails",{ref:"viewDetails",attrs:{record:e.record,query:e.query},on:{ok:function(s){return e.$emit("ok")},closed:e.close,onChangeBtn:s=>e.$emit("changeBtn",s),beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.openType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1)},B=[],O=r.normalizeComponent(x,F,B,!1,null,"127122b3",null,null);const u=O.exports;u.install=function(t){t.component(u.name,u)};const S={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{modeType:"",popupMode:"drawer",fullscreen:!1,confirmLoading:!1,visible:!1,width:"80%",iframeUri:"",sysViewButtons:[]}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{urls(){return this.iframeUri.indexOf("?")===-1?this.iframeUri:this.iframeUri.slice(0,this.iframeUri.indexOf("?"))},title(){return""},hig(){return`${this.height-24}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},height(){return this.popupMode==="drawer"?this.screenHeight-48:this.fullscreen?this.screenHeight-72:this.screenHeight-230},...r.mapGetters(["formMode","screenHeight"])},methods:{onChangeBtn(t){this.sysViewButtons=t},init(){const t=this.query.popup_wid?this.query.popup_wid:"80%",e=this.query.popup_fullscreen?this.query.popup_fullscreen:"";this.width=isNaN(Number(t))?t:Number(t)+"px",this.fullscreen=e==="true";let i=this.query.popup_type?this.query.popup_type:"drawer";i==="followSystem"&&(i=this.formMode),this.popupMode=i,this.modeType=this.query.mode_type?this.query.mode_type:"form";let s=this.query.redirect_uri?decodeURIComponent(this.query.redirect_uri):"";this.iframeUri=s,console.log(this.iframeUri),this.visible=!0,this.query.open_type&&this.query.open_type!=="popup"&&(this.modeType=this.query.open_type),this.modeType==="iframe"&&window.addEventListener("message",this.monitorIframe),this.$nextTick(()=>{const o=`${this.modeType}Item`;this.$refs[o]&&this.$refs[o].init()})},toggleFullscreen(){this.fullscreen=!this.fullscreen},closed(){this.modeType="",this.fullscreen=!1,this.visible=!1,this.$emit("closed")},doEvent(t){if(this.modeType==="iframe"){document.getElementById("gd-view-iframe").contentWindow.postMessage({data:JSON.stringify(t),eventType:"btn-click"},this.urls);return}const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent(t)},monitorIframe(t){if(t.data.eventType==="form-btn"){this.onChangeBtn(t.data.data&&l.isJson(t.data.data)?JSON.parse(t.data.data):[]);return}if(t.data.eventType==="load-complete"){this.beaseLoadComplete();return}t.data.eventType==="close-drawer"&&this.closed()},beaseLoadComplete(t){console.log(this.query);const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)}},beforeDestory(){window.removeEventListener("message",this.monitorIframe)}};var V=function(){var e=this,i=e._self._c;return i("div",[e.popupMode==="dialog"?i("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":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,top:"80px","show-close":!1},on:{"update:visible":function(s){e.visible=s},closed:e.closed}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen,close:e.closed},slot:"title"}),e.visible?i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"30vh"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1):i("el-drawer",{attrs:{visible:e.visible,"close-on-press-escape":!1,"append-to-body":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,size:e.width,"custom-class":"gd-drawer-form","show-close":!1},on:{"update:visible":function(s){e.visible=s}}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showFullscreen:!1,showClose:!0},on:{changeEvent:e.doEvent,close:e.closed},slot:"title"}),e.visible?i("div",{staticStyle:{height:"100%"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1)],1)},R=[],N=r.normalizeComponent(S,V,R,!1,null,"1aaea733",null,null);const E=N.exports,P=Object.freeze(Object.defineProperty({__proto__:null,default:E},Symbol.toStringTag,{value:"Module"}));const j={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}}},data(){return{modeType:""}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{height(){return this.screenHeight-72},...r.mapGetters(["screenHeight"])},methods:{init(){this.modeType=this.query.mode_type?this.query.mode_type:"form",this.visible=!0,this.$nextTick(()=>{const t=`${this.modeType}Item`;this.$refs[t]&&this.$refs[t].init()})},doEvent(t){const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)}}};var U=function(){var e=this,i=e._self._c;return i("div",[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height,modeType:"component"},on:{ok:function(s){return e.$emit("ok")},onChangeBtn:s=>e.$emit("onChangeBtn",s),closed:function(s){return e.$emit("closed")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e._e()],1)},M=[],z=r.normalizeComponent(j,U,M,!1,null,"dd2e4515",null,null);const A=z.exports,G=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));const H={props:{height:{type:Number,default:600},query:{type:Object,default:()=>{}}},data(){return{record:{},openMode:1,viewId:"",tableId:"",formId:"",show:!1,confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/index.vue`,i=t[e];return i?i.default:_},...r.mapGetters(["tableLists"])},methods:{init(){this.viewId=this.query.view_id?Number(this.query.view_id):"",this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.tableId!==""&&this.getAllTable().then(t=>{this.record={options:{table:this.table,form:{id:this.formId},view:{id:this.viewId},viewWeights:"1"}},this.$nextTick(()=>{setTimeout(()=>{this.show=!0},0)})})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))}}};var Q=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px"}},[e.show?i(e.componentItem,{ref:"lookuptable",tag:"component",attrs:{record:e.record,height:e.getHeight,develop:2,openMode:e.openMode}}):e._e()],1)},K=[],J=r.normalizeComponent(H,Q,K,!1,null,"5b928d29",null,null);const W=J.exports,v=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));const X={props:{query:{type:Object,default:()=>{}},modeType:{type:String,default:"component"}},data(){return{record:{},openMode:1,tableId:"",formId:"",show:!1,formData:{},fieldData:{},sysViewButtons:[],confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/editForm.vue`,i=t[e];return i?i.default:y.FormDesigner},...r.mapGetters(["tableLists"])},methods:{beaseLoadComplete(t){console.log(this.query),this.$emit("beaseLoadComplete");const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)},onChangeBtn(t){this.sysViewButtons=t,this.$emit("onChangeBtn",t)},init(){this.confirmLoading=!0,this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.id=this.query.id?Number(this.query.id):"",this.tableId!==""&&Promise.all([this.sysFormDetails(),this.getLoadData(),this.getAllTable()]).then(t=>{this.record={options:{table:this.table,form:{id:this.formId}}},this.show=!0,this.confirmLoading=!1,this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.setFormRecord(this.formData).then(()=>{this.$refs.editForm.open({id:this.id,title:""})})},0)})})},getLoadData(){return f.onlineFormGetCodeGenerateList({codeGenId:this.tableId}).then(t=>(this.fieldData=t.data,t.data))},sysFormDetails(){return d.baseTableData({tableId:this.tableId}).then(t=>{if(t.code===200){const e=t.data.formlist.filter(i=>i.id===this.formId)[0];console.log(e),this.formData=e}return t.data})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))},doEvent(t){this.$refs.editForm&&this.$refs.editForm.doEvent(t)},closed(){console.log("\u5173\u95ED"),this.$emit("closed")},...r.mapActions(["TableLists"])}};var Y=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px",height:"100%"}},[e.show?i(e.componentItem,{ref:"editForm",tag:"component",attrs:{recordRelation:e.record,openMode:e.openMode,tableData:e.table,fieldData:e.fieldData,modeType:e.modeType},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},onLoadCompleted:e.beaseLoadComplete}}):e._e()],1)},Z=[],ee=r.normalizeComponent(X,Y,Z,!1,null,"b8e777c7",null,null);const te=ee.exports,$=Object.freeze(Object.defineProperty({__proto__:null,default:te},Symbol.toStringTag,{value:"Module"}));const ie={props:{query:{type:Object,default:()=>{}}},data(){return{dictCode:"messagetype",messageType:"",componentItem:""}},computed:{componentForm(){return this.componentItem==="GdNoticeDetails"?C.noticeItem:""}},methods:{onLoadCompleted(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},init(){if(this.messageType=this.query.message_type?this.query.message_type:"",this.messageType==="")return;const e=this.getDictionary(this.dictCode).filter(s=>s.code===this.messageType)[0];if(!e)return;const i=this.query.id?this.query.id:"";this.componentItem=e.remark,this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.open({id:i})},0)})},getDictionary(t){return this.$options.filters.dictData(t)}}};var se=function(){var e=this,i=e._self._c;return e.componentForm?i(e.componentForm,{ref:"editForm",tag:"component",attrs:{modeType:"component"},on:{onLoadCompleted:e.onLoadCompleted}}):e._e()},oe=[],re=r.normalizeComponent(ie,se,oe,!1,null,"2e905682",null,null);const ne=re.exports,w=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=u;exports.ViewTable=_;exports.viewMixins=b;