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,1424 @@
1
+ import { G as O, a as w, b as C, c as L, r as _, d as T, e as S, f as I, g as x } from "./layouts.3b383d04.mjs";
2
+ import { G as N, a as V, b as q, c as j } from "./system.account.1cadbf03.mjs";
3
+ import { G } from "./system.welcome.127b5dd4.mjs";
4
+ import { m, n as y } from "./components.chartbi.571c5ff5.mjs";
5
+ import { G as v } from "./flow.designer.81c29f62.mjs";
6
+ import { V as E, a as K } from "./page.designer.page.6d8232c7.mjs";
7
+ import { s as p, u as B } from "./utils.util.js.333daba2.mjs";
8
+ import { o as b } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
9
+ import { i as z, j as P, s as F, a as $, k as J } from "./http.tabledevelopment.3dcb3e97.mjs";
10
+ import { g as k } from "./utils.plug.js.9313aead.mjs";
11
+ import { E as A } from "./components.xlsximport.81df7841.mjs";
12
+ import { G as Q } from "./personal.echarts.414b7e3d.mjs";
13
+ const ve = [{
14
+ path: "/user",
15
+ component: O,
16
+ redirect: "/user/login",
17
+ children: [{
18
+ path: "login",
19
+ name: "login",
20
+ component: () => import("./main.3e886f21.mjs"),
21
+ meta: {
22
+ title: "\u767B\u5F55",
23
+ transKey: "gd.login.title"
24
+ }
25
+ }]
26
+ }, {
27
+ path: "/oauth2",
28
+ component: w,
29
+ redirect: "/oauth2/authorize",
30
+ children: [{
31
+ path: "/oauth2/authorize",
32
+ name: "oauth2Authorize",
33
+ component: () => import("./main.f520fcf5.mjs"),
34
+ meta: {
35
+ title: "\u6388\u6743\u767B\u5F55",
36
+ transKey: "gd.login.authorizedLogin"
37
+ }
38
+ }, {
39
+ path: "/oauth2/oauth",
40
+ name: "oauth2Oauth",
41
+ component: () => import("./main.419a7b42.mjs"),
42
+ meta: {
43
+ title: "\u6388\u6743\u8BA4\u8BC1",
44
+ transKey: "gd.login.authorizedOauth"
45
+ }
46
+ }]
47
+ }, {
48
+ path: "/transfer",
49
+ component: C,
50
+ redirect: "/transfer/transferlogin",
51
+ children: [{
52
+ path: "transferlogin",
53
+ name: "transferlogin",
54
+ component: () => import("./main.60329866.mjs"),
55
+ meta: {
56
+ title: "\u4E2D\u8F6C\u9875",
57
+ transKey: "gd.login.title"
58
+ }
59
+ }]
60
+ }];
61
+ const R = [
62
+ {
63
+ code: 1,
64
+ name: "\u662F",
65
+ transKey: "gd.state.yes"
66
+ },
67
+ {
68
+ code: 0,
69
+ name: "\u5426",
70
+ transKey: "gd.state.no"
71
+ }
72
+ ], H = [
73
+ { code: "asc", name: "\u5347\u5E8F", transKey: "gd.view.asc" },
74
+ { code: "desc", name: "\u964D\u5E8F", transKey: "gd.view.desc" }
75
+ ], M = {
76
+ props: {
77
+ table: {
78
+ type: Object,
79
+ default: () => ({})
80
+ }
81
+ },
82
+ data() {
83
+ return {
84
+ record: {},
85
+ confirmLoading: !1,
86
+ visible: !1,
87
+ fullscreen: !1,
88
+ buttons: [
89
+ {
90
+ displayName: "\u786E\u5B9A",
91
+ functionName: "handleSubmit",
92
+ show: !0,
93
+ transKey: "gd.btn.confirm",
94
+ icon: "el-icon-document-checked"
95
+ }
96
+ ],
97
+ ruleFormData: {
98
+ num: 0,
99
+ name: "",
100
+ type: "1",
101
+ explain: "",
102
+ viewName: "",
103
+ isDefault: 0,
104
+ isViewTree: !1,
105
+ order: 100,
106
+ sortOneField: "",
107
+ sortOneOrder: "asc",
108
+ sortTwoField: "",
109
+ sortTwoOrder: "asc",
110
+ transKey: null,
111
+ isDoubleClick: 0
112
+ },
113
+ rules: {
114
+ name: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "change" }],
115
+ viewName: [
116
+ { required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "change" },
117
+ {
118
+ pattern: /^[a-zA-Z]([a-zA-Z0-9]+)?$/,
119
+ message: this.$i18nt("gd.view.viewNameTip", "\u8BF7\u8F93\u5165\u82F1\u6587\u5B57\u6BCD!")
120
+ }
121
+ ],
122
+ viewId: [{ required: !0, message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"), trigger: "change" }],
123
+ order: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "change" }]
124
+ },
125
+ isViewTree: !1,
126
+ isViewType: void 0,
127
+ defaultList: R,
128
+ defaultSortList: H,
129
+ list: [],
130
+ tableFieldList: [],
131
+ rulesList: [],
132
+ queryList: [],
133
+ filterList: {},
134
+ buttonRule: [],
135
+ lodaData: {},
136
+ viewListData: [],
137
+ viewDetail: {}
138
+ };
139
+ },
140
+ computed: {
141
+ showItem() {
142
+ return this.record.type != 1;
143
+ },
144
+ width() {
145
+ return this.record.type == 1 ? "700px" : "1200px";
146
+ },
147
+ title() {
148
+ return this.record.type == 1 ? this.$i18nt("gd.advancedFind.editColumn", "\u7F16\u8F91\u5217") : this.record.type == 2 ? this.$i18nt("gd.advancedFind.saveNewView", "\u53E6\u5B58\u4E3A\u65B0\u89C6\u56FE") : this.$i18nt("gd.advancedFind.editView", "\u7F16\u8F91\u89C6\u56FE");
149
+ },
150
+ disabled() {
151
+ return this.record.type == 3;
152
+ },
153
+ sortField() {
154
+ return this.tableFieldList.filter((t) => t.effecttype == "about" && t.columnname == (t.relations + "_AboutTable").toLowerCase() ? !1 : !(t.effecttype == "user" || t.effecttype == "fk" || t.effecttype == "about" || t.effecttype == "participants"));
155
+ },
156
+ plugFilters() {
157
+ return k();
158
+ },
159
+ ...m(["primaryColor"])
160
+ },
161
+ components: { viewList: E, viewQuery: K, FlowsFilter: v, EffectTypeIcon: A },
162
+ methods: {
163
+ add() {
164
+ let t = [], e = [], i = [], a = 0;
165
+ this.list.forEach((s, o) => {
166
+ const d = s.effecttype === "inputnumber" ? 0 : s.precision;
167
+ let u = String(s.id).split("-"), c = `${s.align}&${s.visible ? 1 : 0}&${s.displaymode}&${s.displayprefix}&${s.preview}&${s.download}&${s.format}&${s.hyperlink}&${d}`, f = {
168
+ name: s.alias == "" ? s.columncomment : s.alias,
169
+ width: s.num,
170
+ order: o,
171
+ type: u.length > 1 ? 2 : 1,
172
+ fieldid: u.length > 1 ? u[1] : u[0],
173
+ jointableid: s.codegenid,
174
+ joinfieldid: u[0],
175
+ orderconfig: s.orderconfig ? 1 : 0,
176
+ gatherconfig: s.gatherconfig ? 1 : 0,
177
+ maxTagcount: s.maxtagcount,
178
+ align: c
179
+ };
180
+ t.push(f);
181
+ }), this.queryList.forEach((s, o) => {
182
+ let d = {
183
+ queryType: s.effecttype == "fk" ? 2 : 1,
184
+ name: s.columncomment,
185
+ fieldid: s.id,
186
+ jointableid: s.codegenid,
187
+ joinfieldid: s.id,
188
+ order: o,
189
+ displaystyle: s.displaystyle,
190
+ options: JSON.stringify(s.options)
191
+ };
192
+ e.push(d);
193
+ }), this.ruleFormData.sortOneField !== "" && i.push({
194
+ sortField: this.ruleFormData.sortOneField,
195
+ sortOrder: this.ruleFormData.sortOneOrder
196
+ }), this.ruleFormData.sortTwoField !== "" && i.push({
197
+ sortField: this.ruleFormData.sortTwoField,
198
+ sortOrder: this.ruleFormData.sortTwoOrder
199
+ });
200
+ let r = this.filterList.list[0];
201
+ this.filterList.list.forEach((s) => {
202
+ a += s.list.length;
203
+ });
204
+ let n = r && this.filterList.list.length === 1 && r.referenceFiled === "" && r.referenceTable === "" && r.list.length > 0 && a === 0 ? Object.assign(r, {
205
+ columnId: 0
206
+ }) : this.filterList, l = {
207
+ syscodegenid: this.table.id,
208
+ name: this.ruleFormData.name,
209
+ baseview: this.ruleFormData.viewId,
210
+ description: this.ruleFormData.explain,
211
+ frozencolumn: this.ruleFormData.num,
212
+ viewname: this.ruleFormData.viewName,
213
+ order: this.ruleFormData.order,
214
+ isdoubleclick: this.ruleFormData.isDoubleClick,
215
+ syssavedqueryfields: t,
216
+ isdefault: 1,
217
+ filterconfig: JSON.stringify(n),
218
+ syssavedqueryquerys: e,
219
+ defaultsort: JSON.stringify(i),
220
+ viewtree: JSON.stringify({}),
221
+ isviewtree: 0,
222
+ ruleconfig: JSON.stringify(this.rulesList)
223
+ };
224
+ z(l).then((s) => {
225
+ s.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25:") + s.message), this.confirmLoading = !1;
226
+ });
227
+ },
228
+ edit() {
229
+ let t = [], e = [], i = [], a = 0;
230
+ this.list.forEach((s, o) => {
231
+ const d = s.effecttype === "inputnumber" ? 0 : s.precision;
232
+ let u = String(s.id).split("-"), c = `${s.align}&${s.visible ? 1 : 0}&${s.displaymode}&${s.displayprefix}&${s.preview}&${s.download}&${s.format}&${s.hyperlink}&${d}`;
233
+ if (this.isChecked(s.id, this.record.data.syssavedqueryfields)) {
234
+ let f = {
235
+ id: 0,
236
+ name: s.alias == "" ? s.columncomment : s.alias,
237
+ width: s.num,
238
+ order: o,
239
+ type: u.length > 1 ? 2 : 1,
240
+ fieldid: u.length > 1 ? u[1] : u[0],
241
+ jointableid: s.codegenid,
242
+ joinfieldid: u[0],
243
+ orderconfig: s.orderconfig ? 1 : 0,
244
+ gatherconfig: s.gatherconfig ? 1 : 0,
245
+ maxtagcount: s.maxtagcount,
246
+ align: c
247
+ };
248
+ t.push(f);
249
+ } else {
250
+ let f = this.record.data.syssavedqueryfields.filter((h) => s.id == (h.type == 1 ? h.fieldid : h.joinfieldid + "-" + h.fieldid))[0];
251
+ f.width = s.num, f.order = o, f.name = s.alias == "" ? s.columncomment : s.alias, f.orderconfig = s.orderconfig ? 1 : 0, f.gatherconfig = s.gatherconfig ? 1 : 0, f.maxtagcount = s.maxtagcount ? s.maxtagcount : 2, f.align = c, t.push(f);
252
+ }
253
+ }), this.record.data.syssavedqueryfields.forEach((s) => {
254
+ let o = s.type == 1 ? s.fieldid : s.joinfieldid + "-" + s.fieldid;
255
+ this.isCheckedFilters(o, this.list) && (s.statecodes = 0, t.push(s));
256
+ }), this.queryList.forEach((s, o) => {
257
+ if (this.isChecked(s.id, this.record.data.syssavedqueryquerys)) {
258
+ let d = {
259
+ id: 0,
260
+ querytype: s.effecttype == "fk" ? 2 : 1,
261
+ name: s.columncomment,
262
+ fieldid: s.id,
263
+ jointableid: s.codegenid,
264
+ joinfieldid: s.id,
265
+ order: o,
266
+ displaystyle: s.displaystyle,
267
+ options: JSON.stringify(s.options)
268
+ };
269
+ e.push(d);
270
+ } else {
271
+ let d = this.record.data.syssavedqueryquerys.filter((u) => u.fieldid == s.id)[0];
272
+ d.order = o, d.displaystyle = s.displaystyle, e.push(d);
273
+ }
274
+ }), this.record.data.syssavedqueryquerys.forEach((s) => {
275
+ this.isCheckedFilters(s.fieldid, this.queryList) && (s.statecodes = 0, e.push(Object.assign({ ...s }, { options: "" })));
276
+ }), this.ruleFormData.sortOneField !== "" && i.push({
277
+ sortField: this.ruleFormData.sortOneField,
278
+ sortOrder: this.ruleFormData.sortOneOrder
279
+ }), this.ruleFormData.sortTwoField !== "" && i.push({
280
+ sortField: this.ruleFormData.sortTwoField,
281
+ sortOrder: this.ruleFormData.sortTwoOrder
282
+ });
283
+ let r = this.filterList.list[0];
284
+ this.filterList.list.forEach((s) => {
285
+ a += s.list.length;
286
+ });
287
+ let n = r && this.filterList.list.length === 1 && r.referencefiled === "" && r.referencetable === "" && r.list.length > 0 && a === 0 ? Object.assign(r, {
288
+ columnid: 0
289
+ }) : this.filterList;
290
+ const l = Object.assign(
291
+ { ...this.record.data },
292
+ {
293
+ syscodegenid: this.table.id,
294
+ name: this.ruleFormData.name,
295
+ baseview: this.ruleFormData.viewId,
296
+ description: this.ruleFormData.explain,
297
+ frozencolumn: this.ruleFormData.num,
298
+ viewname: this.ruleFormData.viewName,
299
+ order: this.ruleFormData.order,
300
+ isdoubleclick: this.ruleFormData.isDoubleClick,
301
+ isdefault: 1,
302
+ syssavedqueryfields: [...t],
303
+ syssavedqueryquerys: [...e],
304
+ filterconfig: JSON.stringify(n),
305
+ defaultsort: JSON.stringify(i),
306
+ viewtree: JSON.stringify({}),
307
+ isviewtree: 0,
308
+ ruleconfig: JSON.stringify(this.rulesList)
309
+ }
310
+ );
311
+ P(l).then((s) => {
312
+ s.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25:") + s.message), this.confirmLoading = !1;
313
+ });
314
+ },
315
+ handleSubmit() {
316
+ if (this.record.type == 1) {
317
+ this.$emit("okColumn", {
318
+ sysviewfields: this.list,
319
+ frozencolumn: this.ruleFormData.num
320
+ }), this.closed();
321
+ return;
322
+ }
323
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((t) => {
324
+ if (t) {
325
+ if ({ ...this.ruleFormData }, this.list.length === 0) {
326
+ this.$message.error(this.$i18nt("gd.view.addColumnTip", "\u8BF7\u914D\u7F6E\u663E\u793A\u5217")), this.confirmLoading = !1;
327
+ return;
328
+ }
329
+ if (this.queryList.filter((i) => i.options && !i.options.fieldFiltering).length > 0) {
330
+ this.$message.error("\u8BF7\u8865\u5145\u67E5\u8BE2\u6761\u4EF6\u5B57\u6BB5\u6570\u636E\uFF01"), this.confirmLoading = !1;
331
+ return;
332
+ }
333
+ this.record.type == 3 ? this.edit() : this.add();
334
+ } else
335
+ this.confirmLoading = !1;
336
+ });
337
+ },
338
+ init() {
339
+ this.confirmLoading = !0, Promise.all([this.getTableList(), this.getViewList(), this.getViewDetail()]).then((t) => {
340
+ let e = [], i = [], a = this.viewDetail.sysviewqueries ? this.viewDetail.sysviewqueries : [];
341
+ this.tableFieldList.forEach((n) => {
342
+ if (!this.isChecked(n.id, this.record.sysviewfields)) {
343
+ let l = this.record.sysviewfields.filter((s) => s.fieldid == n.id)[0];
344
+ if (l && l.type == 1) {
345
+ let s = this.$i18nt(`Dynamics.${n.transkey}`, n.columncomment), o = this.$i18nt(`Dynamics.${l.transkey}`, l.name), d = l.align ? l.align.split("&") : [];
346
+ const u = Object.assign(
347
+ { ...n },
348
+ {
349
+ order: l.order,
350
+ num: l.width,
351
+ aliastranskey: l.transkey ? l.transkey : null,
352
+ alias: s === o ? "" : o,
353
+ orderconfig: l.orderconfig == 1,
354
+ gatherconfig: l.gatherconfig == 1,
355
+ columnname: n.columnname,
356
+ codegenid: n.codegenid,
357
+ maxtagcount: l.maxtagcount ? l.maxtagcount : 2,
358
+ fkrelations: `${s} -- ${n.columnname}`,
359
+ fkEffectType: n.effecttype,
360
+ transkey: n.transkey,
361
+ operate: "edit",
362
+ aliasold: o,
363
+ align: d[0] ? d[0] : "left",
364
+ visible: d[1] ? d[1] == 1 : !0,
365
+ displaymode: d[2] ? d[2] : "none",
366
+ displayprefix: d[3] ? d[3] : "none",
367
+ preview: d[4] ? d[4] === "true" : !0,
368
+ download: d[5] ? d[5] === "true" : !0,
369
+ format: d[6] ? d[6] : String(n.fieldformat),
370
+ hyperlink: d[7] ? d[7] === "true" : !1,
371
+ precision: d[8] !== void 0 ? d[8] : n.filedsize
372
+ }
373
+ );
374
+ e.push(u);
375
+ }
376
+ }
377
+ if (n.children && n.children.length > 0 && n.children.forEach((l) => {
378
+ if (!this.isChecked(l.id + "-" + n.id, this.record.sysviewfields)) {
379
+ let s = this.record.sysviewfields.filter((o) => (o.type == 2 ? o.joinfieldid + "-" + o.fieldid : o.fieldid) == l.id + "-" + n.id)[0];
380
+ if (s) {
381
+ let o = this.$i18nt(`Dynamics.${n.transkey}`, n.columncomment), d = this.$i18nt(`Dynamics.${l.transkey}`, l.columncomment), u = this.$i18nt(`Dynamics.${s.transkey}`, s.name), c = s.align ? s.align.split("&") : [];
382
+ const f = Object.assign(
383
+ { ...l },
384
+ {
385
+ order: s.order,
386
+ num: s.width,
387
+ aliastranskey: s.transkey ? s.transkey : null,
388
+ alias: d === u ? "" : u,
389
+ id: l.id + "-" + n.id,
390
+ orderconfig: s.orderconfig == 1,
391
+ gatherconfig: s.gatherconfig == 1,
392
+ fkrelations: `${o} -- ${n.columnname}`,
393
+ fkEffectType: n.effecttype,
394
+ maxtagcount: s.maxtagcount ? s.maxtagcount : 2,
395
+ transkey: l.transkey,
396
+ operate: "edit",
397
+ aliasold: u,
398
+ align: c[0] ? c[0] : "left",
399
+ visible: c[1] ? c[1] == 1 : !0,
400
+ displaymode: c[2] ? c[2] : "none",
401
+ displayprefix: c[3] ? c[3] : "none",
402
+ preview: c[4] ? c[4] === "true" : !0,
403
+ download: c[5] ? c[5] === "true" : !0,
404
+ format: c[6] ? c[6] : String(l.fieldformat),
405
+ hyperlink: c[7] ? c[7] === "true" : !1,
406
+ precision: c[8] !== void 0 ? c[8] : l.filedsize
407
+ }
408
+ );
409
+ e.push(f);
410
+ }
411
+ }
412
+ }), !this.isChecked(n.id, a)) {
413
+ let l = a.filter((o) => o.fieldid == n.id)[0];
414
+ const s = Object.assign(
415
+ { ...n },
416
+ {
417
+ order: l.order,
418
+ displaystyle: l.displaystyle !== void 0 ? l.displaystyle : 0,
419
+ children: null,
420
+ options: Object.assign({ ...l.options }, { fieldFiltering: !0, columnName: n.columnName, effectType: n.effectType })
421
+ }
422
+ );
423
+ i.push(s);
424
+ }
425
+ });
426
+ const r = p(this.record.type == 3 ? e : this.record.sysviewfields);
427
+ i = p(i), this.list = [...r], this.queryList = [...i], this.filterList = this.record.sysviewfilters ? this.record.sysviewfilters : {}, this.confirmLoading = !1, this.$refs.viewList.init(this.list), this.showItem && this.$refs.viewQuery.init(this.queryList);
428
+ });
429
+ },
430
+ open(t) {
431
+ this.record = t, this.list = [], this.lodaData = {}, this.queryList = [], this.buttonRule = [], this.ruleFormData = {
432
+ num: t.frozencolumn,
433
+ name: t.name ? t.name : "",
434
+ explain: t.explain ? t.explain : "",
435
+ type: "1",
436
+ viewName: t.viewname ? t.viewname : B(8, !1),
437
+ isDefault: 0,
438
+ isViewTree: !1,
439
+ order: t.order ? t.order : 100,
440
+ sortOneField: "",
441
+ sortOneOrder: "asc",
442
+ sortTwoField: "",
443
+ sortTwoOrder: "asc",
444
+ viewId: t.viewid ? t.viewid : t.viewlistdata && t.viewlistdata.length > 0 ? t.viewlistdata[0].id : "",
445
+ transKey: t.transkey ? t.transkey : null,
446
+ isDoubleClick: t.isdoubleclick !== void 0 ? t.isdoubleclick : 1
447
+ }, this.visible = !0, this.$nextTick(() => {
448
+ this.filterList = JSON.parse(JSON.stringify(this.plugFilters)), this.init();
449
+ });
450
+ },
451
+ getViewDetail() {
452
+ return this.ruleFormData.viewId === "" ? new Promise((t, e) => {
453
+ t();
454
+ }) : F({
455
+ id: this.ruleFormData.viewId
456
+ }).then((t) => {
457
+ if (t.success) {
458
+ let e = t.data.sysviewqueries ? t.data.sysviewqueries : [];
459
+ e.forEach((n, l) => {
460
+ if (!n.options)
461
+ e[l].options = {
462
+ effectType: "",
463
+ fieldFormat: "",
464
+ displayStyle: 0,
465
+ defaultValue: "",
466
+ defaultValueList: [],
467
+ filter: [],
468
+ hidden: !1,
469
+ required: !1,
470
+ openWidth: 80,
471
+ widthUnit: "%",
472
+ quick: !1,
473
+ labelWidth: 120,
474
+ defaultInterval: [
475
+ {
476
+ type: "interval",
477
+ value: ""
478
+ },
479
+ {
480
+ type: "equal",
481
+ value: ""
482
+ }
483
+ ]
484
+ };
485
+ else {
486
+ const s = typeof n.options == "string" ? JSON.parse(n.options) : n.options;
487
+ e[l].options = Object.assign(s, {
488
+ fieldFormat: s.fieldFormat !== void 0 ? s.fieldFormat : "2",
489
+ openWidth: s.openWidth !== void 0 ? s.openWidth : 80,
490
+ widthUnit: s.widthUnit !== void 0 ? s.widthUnit : "%",
491
+ labelWidth: s.labelWidth !== void 0 ? s.labelWidth : 120
492
+ });
493
+ }
494
+ });
495
+ let i = Object.assign(t.data, {
496
+ sysviewqueries: []
497
+ }), a = [], r = [];
498
+ this.record.type == 2 ? (Object.assign(i, {
499
+ sysviewqueries: [...e]
500
+ }), a = t.data.ruleconfig ? JSON.parse(t.data.ruleconfig) : [], r = t.data.defaultsort ? JSON.parse(t.data.defaultsort) : []) : this.record.type == 3 && (Object.assign(i, {
501
+ ...this.record.data
502
+ }), a = this.record.data && this.record.data.ruleconfig ? JSON.parse(this.record.data.ruleconfig) : [], r = this.record.data && this.record.data.defaultsort ? JSON.parse(this.record.data.defaultsort) : []), this.viewDetail = i, this.rulesList = [...a], this.defaultSorts = [...r], this.ruleFormData = Object.assign(this.ruleFormData, {
503
+ sortOneField: r[0] ? r[0].sortField : "",
504
+ sortOneOrder: r[0] ? r[0].sortOrder : "asc",
505
+ sortTwoField: r[1] ? r[1].sortField : "",
506
+ sortTwoOrder: r[1] ? r[1].sortOrder : "asc",
507
+ isDoubleClick: t.data.isdoubleclick
508
+ });
509
+ }
510
+ return t.data;
511
+ });
512
+ },
513
+ getViewList() {
514
+ return $({
515
+ sysCodeGenId: this.table.id
516
+ }).then((t) => (this.viewListData = t.data.filter((e) => e.type == 1), t.data));
517
+ },
518
+ getTableList() {
519
+ return b({ codeGenId: this.table.id }).then((t) => (t.code === 200 && (this.tableFieldList = t.data), t));
520
+ },
521
+ toggleFullscreen() {
522
+ this.fullscreen = !this.fullscreen;
523
+ },
524
+ okFilter(t) {
525
+ this.filterList = { ...t };
526
+ },
527
+ selFilter() {
528
+ this.$refs.flowsFilter.init(this.filterList);
529
+ },
530
+ okSelTable(t) {
531
+ this.list = [...t];
532
+ },
533
+ saveQuery(t) {
534
+ this.queryList = [...t];
535
+ },
536
+ saveRules(t) {
537
+ this.rulesList = [...t];
538
+ },
539
+ closed() {
540
+ this.fullscreen = !1, this.visible = !1;
541
+ },
542
+ doEvent(t) {
543
+ let e = t.item.functionName;
544
+ this[e] && this[e]();
545
+ },
546
+ getDictionary(t) {
547
+ return this.$options.filters.dictData(t);
548
+ },
549
+ getsortField(t) {
550
+ const e = this.ruleFormData[t];
551
+ return this.sortField.filter((i) => i.columnName !== e);
552
+ },
553
+ isChecked(t, e) {
554
+ return e.every((i, a, r) => (i.type == 2 ? i.joinfieldid + "-" + i.fieldid : i.fieldid) != t);
555
+ },
556
+ isCheckedFilters(t, e) {
557
+ return e.every((i, a, r) => i.id != t);
558
+ },
559
+ lookupSeled(t) {
560
+ this.ruleFormData.name = t.defaulttext;
561
+ }
562
+ }
563
+ };
564
+ var W = function() {
565
+ var e = this, i = e._self._c;
566
+ return 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": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
567
+ e.visible = a;
568
+ }, closed: e.closed } }, [i("template", { slot: "title" }, [i("gd-modal-title", { attrs: { title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form" }, [e.visible ? i("div", { staticClass: "view-config", class: e.showItem ? "" : "view-configd" }, [i("viewList", { ref: "viewList", attrs: { tableFieldList: e.tableFieldList, table: e.table, ruleFormData: e.ruleFormData, fullscreen: e.fullscreen, list: e.list }, on: { ok: e.okSelTable } }), e.showItem ? i("viewQuery", { ref: "viewQuery", attrs: { tableFieldList: e.tableFieldList, table: e.table, ruleFormData: e.ruleFormData, fullscreen: e.fullscreen, rulesList: e.rulesList }, on: { okRules: e.saveRules, ok: e.saveQuery } }) : e._e(), e.showItem ? i("div", { staticClass: "config-item config-items" }, [i("div", { staticClass: "t" }, [i("div", { staticClass: "tls" }, [e._v(e._s(e.$i18nt("gd.view.basicInformation", "\u57FA\u7840\u4FE1\u606F")))]), i("el-button", { attrs: { type: "primary", size: "mini" }, on: { click: e.selFilter } }, [e._v(" " + e._s(e.$i18nt("gd.view.filterConditions", "\u8FC7\u6EE4\u6761\u4EF6")) + " ")])], 1), i("div", { staticClass: "b" }, [i("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "left", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(a) {
569
+ a.preventDefault();
570
+ } } }, [i("el-form-item", { attrs: { label: e.$i18nt("gd.view.displayName", "\u663E\u793A\u540D\u79F0"), prop: "name" } }, [i("el-input", { directives: [{ name: "show", rawName: "v-show", value: !e.disabled, expression: "!disabled" }], attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.disabled }, model: { value: e.ruleFormData.name, callback: function(a) {
571
+ e.$set(e.ruleFormData, "name", a);
572
+ }, expression: "ruleFormData.name" } }), e.record && e.ruleFormData.transKey && e.visible ? i("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transKey", recordData: e.ruleFormData, type: 2 }, on: { lookupSeled: e.lookupSeled } }) : e._e()], 1), i("el-form-item", { attrs: { label: e.$i18nt("gd.view.viewName", "\u89C6\u56FE\u540D\u79F0"), prop: "viewName" } }, [i("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.disabled }, model: { value: e.ruleFormData.viewName, callback: function(a) {
573
+ e.$set(e.ruleFormData, "viewName", a);
574
+ }, expression: "ruleFormData.viewName" } })], 1), i("el-form-item", { attrs: { label: e.$i18nt("gd.advancedFind.originalView", "\u7C7B\u578B"), prop: "viewId" } }, [i("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.viewId, callback: function(a) {
575
+ e.$set(e.ruleFormData, "viewId", a);
576
+ }, expression: "ruleFormData.viewId" } }, e._l(e.viewListData, function(a, r) {
577
+ return i("el-option", { key: a.id, attrs: { value: a.id, label: e.$i18nt(`Dynamics.${a.transKey}`, a.name) } });
578
+ }), 1)], 1), i("el-form-item", { attrs: { label: e.$i18nt("gd.view.sort", "\u6392\u5E8F"), prop: "order" } }, [i("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 0, step: 1 }, model: { value: e.ruleFormData.order, callback: function(a) {
579
+ e.$set(e.ruleFormData, "order", a);
580
+ }, expression: "ruleFormData.order" } })], 1), i("el-form-item", { attrs: { label: e.$i18nt("gd.view.doubleClickEdit", "\u53CC\u51FB\u7F16\u8F91"), prop: "isDoubleClick" } }, [i("div", { staticClass: "tree_config" }, [i("el-switch", { attrs: { "active-value": 1, "inactive-value": 0, "active-color": e.primaryColor }, model: { value: e.ruleFormData.isDoubleClick, callback: function(a) {
581
+ e.$set(e.ruleFormData, "isDoubleClick", a);
582
+ }, expression: "ruleFormData.isDoubleClick" } })], 1)]), i("el-form-item", { attrs: { label: e.$i18nt("gd.view.explain", "\u8BF4\u660E"), prop: "explain" } }, [i("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 2 }, model: { value: e.ruleFormData.explain, callback: function(a) {
583
+ e.$set(e.ruleFormData, "explain", a);
584
+ }, expression: "ruleFormData.explain" } })], 1), i("el-divider"), i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: e.$i18nt("gd.view.sortBy", "\u6392\u5E8F\u4F9D\u636E") } }, [i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { prop: "sortOneField" } }, [i("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleFormData.sortOneField, callback: function(a) {
585
+ e.$set(e.ruleFormData, "sortOneField", a);
586
+ }, expression: "ruleFormData.sortOneField" } }, e._l(e.getsortField("sortTwoField"), function(a, r) {
587
+ return i("el-option", { key: a.columnname, attrs: { value: a.columnname, label: e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment) } }, [i("EffectTypeIcon", { attrs: { effectType: a.effecttype } }), i("span", { staticStyle: { "padding-left": "4px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment)) + " (" + e._s(a.columnname) + ") ")])], 1);
588
+ }), 1)], 1), i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { prop: "sortOneOrder" } }, [i("el-radio-group", { model: { value: e.ruleFormData.sortOneOrder, callback: function(a) {
589
+ e.$set(e.ruleFormData, "sortOneOrder", a);
590
+ }, expression: "ruleFormData.sortOneOrder" } }, e._l(e.defaultSortList, function(a) {
591
+ return i("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
592
+ }), 1)], 1)], 1), i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: e.$i18nt("gd.view.secondBasis", "\u7B2C\u4E8C\u4F9D\u636E") } }, [i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { prop: "sortTwoField" } }, [i("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleFormData.sortTwoField, callback: function(a) {
593
+ e.$set(e.ruleFormData, "sortTwoField", a);
594
+ }, expression: "ruleFormData.sortTwoField" } }, e._l(e.getsortField("sortOneField"), function(a, r) {
595
+ return i("el-option", { key: a.columnname, attrs: { value: a.columnname, label: e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment) } }, [i("EffectTypeIcon", { attrs: { effectType: a.effecttype } }), i("span", { staticStyle: { "padding-left": "4px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment)) + " (" + e._s(a.columnname) + ") ")])], 1);
596
+ }), 1)], 1), i("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { prop: "sortTwoOrder" } }, [i("el-radio-group", { model: { value: e.ruleFormData.sortTwoOrder, callback: function(a) {
597
+ e.$set(e.ruleFormData, "sortTwoOrder", a);
598
+ }, expression: "ruleFormData.sortTwoOrder" } }, e._l(e.defaultSortList, function(a) {
599
+ return i("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
600
+ }), 1)], 1)], 1)], 1)], 1)]) : e._e()], 1) : e._e()]), e.visible ? i("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: e.table }, on: { ok: e.okFilter } }) : e._e()], 2);
601
+ }, U = [], Z = /* @__PURE__ */ y(
602
+ M,
603
+ W,
604
+ U,
605
+ !1,
606
+ null,
607
+ "08a5031a",
608
+ null,
609
+ null
610
+ );
611
+ const D = Z.exports, be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
612
+ __proto__: null,
613
+ default: D
614
+ }, Symbol.toStringTag, { value: "Module" }));
615
+ const X = {
616
+ props: {
617
+ showTitle: {
618
+ type: Boolean,
619
+ default: !0
620
+ },
621
+ height: {
622
+ type: Number,
623
+ default: 400
624
+ }
625
+ },
626
+ data() {
627
+ return {
628
+ buttons: [
629
+ {
630
+ displayName: '\u7EC4\u5408"\u548C"',
631
+ functionName: "mergeAnd",
632
+ show: !0,
633
+ icon: "el-icon-connection",
634
+ transKey: "gd.filter.ands",
635
+ tipI18n: "gd.filter.andsTip",
636
+ tip: "\u4F7F\u7528AND\u5C06\u67E5\u8BE2\u884C\u7EC4\u5408\u5728\u4E00\u8D77\uFF0C\u7ED3\u679C\u5C06\u4EC5\u5305\u542B\u5339\u914D\u6240\u6709\u7EC4\u5408\u884C\u7684\u8BB0\u5F55\u6216\u64CD\u4F5C",
637
+ btnType: "tooltip"
638
+ },
639
+ {
640
+ displayName: '\u7EC4\u5408"\u6216"',
641
+ functionName: "mergeOr",
642
+ show: !0,
643
+ icon: "el-icon-connection",
644
+ transKey: "gd.filter.ors",
645
+ tipI18n: "gd.filter.orsTip",
646
+ tip: "\u4F7F\u7528OR\u5C06\u67E5\u8BE2\u884C\u7EC4\u5408\u5728\u4E00\u8D77\uFF0C\u7ED3\u679C\u5C06\u4EC5\u5305\u542B\u5339\u914D\u6240\u6709\u7EC4\u5408\u884C\u7684\u8BB0\u5F55\u6216\u64CD\u4F5C",
647
+ btnType: "tooltip"
648
+ },
649
+ {
650
+ displayName: "\u6E05\u7A7A",
651
+ functionName: "empty",
652
+ show: !0,
653
+ icon: "el-icon-delete",
654
+ transKey: "gd.btn.empty",
655
+ btnType: "danger"
656
+ },
657
+ {
658
+ displayName: "\u65B0\u5EFA",
659
+ functionName: "newlyBuild",
660
+ show: !0,
661
+ transKey: "gd.advancedFind.add",
662
+ icon: "el-icon-plus"
663
+ },
664
+ {
665
+ displayName: "\u7F16\u8F91\u5217",
666
+ functionName: "editColumn",
667
+ show: !0,
668
+ transKey: "gd.advancedFind.editColumn",
669
+ icon: "el-icon-edit"
670
+ },
671
+ {
672
+ displayName: "\u7F16\u8F91\u5C5E\u6027",
673
+ functionName: "editAttribute",
674
+ show: !1,
675
+ icon: "el-icon-edit",
676
+ transKey: "gd.advancedFind.editProperties"
677
+ },
678
+ {
679
+ displayName: "\u53E6\u5B58\u4E3A",
680
+ functionName: "edit",
681
+ icon: "el-icon-plus",
682
+ show: !0,
683
+ transKey: "gd.advancedFind.anotherSave"
684
+ }
685
+ ],
686
+ ruleFormData: {
687
+ sysCodeGenId: "",
688
+ viewId: ""
689
+ },
690
+ spinning: !1,
691
+ visible: !1,
692
+ sysCodeGenId: "",
693
+ sysCodeGenoId: "",
694
+ viewId: "0",
695
+ viewoId: "0",
696
+ viewPersonalData: [],
697
+ viewListData: [],
698
+ loadData: [],
699
+ viewLoading: !1,
700
+ sysViewFilters: {
701
+ referencefiled: "",
702
+ referencetable: "",
703
+ checked: !1,
704
+ columnid: 0,
705
+ columnname: "",
706
+ columntype: "",
707
+ dynamicreferencefield: "",
708
+ dynamicreferencetable: "",
709
+ fieldformat: null,
710
+ fkdata: [],
711
+ id: 0,
712
+ operators: "1",
713
+ optionsdata: [],
714
+ pid: null,
715
+ recordid: null,
716
+ ruleslist: [],
717
+ show: !0,
718
+ tablename: "",
719
+ type: "1",
720
+ value: "",
721
+ values: [],
722
+ list: []
723
+ },
724
+ isAll: !1
725
+ };
726
+ },
727
+ components: { FlowsFilter: v, EditPerson: D },
728
+ computed: {
729
+ getQueryTable() {
730
+ return this.tableLists.filter((t) => t.isquery === 1);
731
+ },
732
+ table() {
733
+ return this.tableLists.filter((t) => t.id === this.sysCodeGenId)[0];
734
+ },
735
+ style() {
736
+ return `min-height:${this.height}px`;
737
+ },
738
+ plugFilters() {
739
+ return k();
740
+ },
741
+ ...m(["screenHeight", "tableLists"])
742
+ },
743
+ methods: {
744
+ edit() {
745
+ this.openPersonalView();
746
+ },
747
+ editAttribute() {
748
+ let t = this.viewPersonalData.filter((i) => i.id == this.viewId)[0], e = {
749
+ sysviewfilters: t.filterconfig ? JSON.parse(t.filterconfig) : [],
750
+ frozencolumn: t.frozencolumn,
751
+ sysviewfields: t.syssavedqueryfields,
752
+ viewlistdata: [],
753
+ type: 3,
754
+ viewid: t.baseview,
755
+ data: Object.assign(
756
+ {
757
+ ...t
758
+ },
759
+ {
760
+ sysviewqueries: t.syssavedqueryquerys
761
+ }
762
+ ),
763
+ id: t.id,
764
+ order: t.order,
765
+ explain: t.description,
766
+ name: t.name
767
+ };
768
+ this.openPersonalView(e);
769
+ },
770
+ openPersonalView(t) {
771
+ let e = [];
772
+ const i = this.$refs.flowsFilter.sysViewFilters;
773
+ let a = JSON.parse(JSON.stringify(i));
774
+ if (!this.$refs.flowsFilter.isChecked(e)) {
775
+ this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
776
+ return;
777
+ }
778
+ if (this.viewList.sysviewfields.length == 0) {
779
+ this.$message.warning(this.$i18nt("gd.advancedFind.editColumnTip", "\u8BF7\u7F16\u8F91\u5217!"));
780
+ return;
781
+ }
782
+ let r = Object.assign(
783
+ { ...this.viewList },
784
+ {
785
+ sysviewfilters: a,
786
+ viewlistdata: this.viewListData,
787
+ type: 2
788
+ }
789
+ ), n = this.viewPersonalData.filter((l) => l.id == this.viewId)[0];
790
+ this.viewId != "0" && Object.assign(r, {
791
+ viewid: this.viewId
792
+ }), n && Object.assign(r, {
793
+ viewid: n.baseview,
794
+ data: Object.assign(
795
+ {
796
+ ...n
797
+ },
798
+ {
799
+ sysviewqueries: n.syssavedqueryquerys
800
+ }
801
+ )
802
+ }), t && Object.assign(r, {
803
+ ...t
804
+ }), this.$refs.editPerson.open(r);
805
+ },
806
+ editColumn() {
807
+ this.$refs.editPerson.open(
808
+ Object.assign(
809
+ {
810
+ ...this.viewList
811
+ },
812
+ {
813
+ type: 1
814
+ }
815
+ )
816
+ );
817
+ },
818
+ newlyBuild() {
819
+ let t = this;
820
+ t.isEdit ? this.$confirm(this.$i18nt("gd.https.changeContent", "\u662F\u5426\u653E\u5F03\u66F4\u6539?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
821
+ confirmButtonText: this.$i18nt("gd.https.changeOk", "\u786E\u8BA4\u653E\u5F03"),
822
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
823
+ showClose: !1,
824
+ confirmButtonLoading: !1,
825
+ cancelButtonLoading: !1,
826
+ closeOnClickModal: !1,
827
+ type: "warning",
828
+ confirmButtonClass: "el-button--danger",
829
+ customClass: "custom-alert",
830
+ callback: () => {
831
+ t.$refs.refTable.blur();
832
+ },
833
+ beforeClose: (e, i, a) => {
834
+ a(), e === "confirm" && t.newlyBuildOk();
835
+ }
836
+ }) : t.newlyBuildOk();
837
+ },
838
+ newlyBuildOk() {
839
+ this.viewId = "0", this.list = [], this.sysViewFilters = Object.assign(
840
+ {
841
+ ...this.sysViewFilters
842
+ },
843
+ {
844
+ list: []
845
+ }
846
+ ), this.isEdit = !1, this.viewList = {
847
+ frozencolumn: 0,
848
+ sysviewfields: []
849
+ }, this.flowsFilterInit();
850
+ },
851
+ seeResult() {
852
+ return new Promise((t, e) => {
853
+ let i = { statu: !1, data: {} };
854
+ this.spinning && t(i), this.viewId === "" && (this.$message.warning(this.$i18nt("gd.advancedFind.selViewTip", "\u8BF7\u9009\u62E9\u89C6\u56FE!")), t(i));
855
+ let a = [];
856
+ const r = (d) => (d = d.filter((u, c) => (u.list.length > 0 && (u.list = r(u.list)), (u.columntype != "relevant" || u.columntype != "parental") && u.list.length == 0 && a.push(u), u.fkdata !== void 0 && typeof u.fkdata != "string" && (u.fkdata = JSON.stringify(u.fkdata)), u.ruleslist !== void 0 && typeof u.ruleslist != "string" && (u.ruleslist = JSON.stringify(u.ruleslist)), u.value = this.getItemVal(u), !0)), d);
857
+ this.$refs.flowsFilter === void 0 && (this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E")), t(i));
858
+ const n = this.$refs.flowsFilter.sysViewFilters;
859
+ let l = JSON.parse(JSON.stringify(n));
860
+ r(l.list), this.$refs.flowsFilter.isChecked(a) || (this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E")), t(i)), this.viewList.sysviewfields.length == 0 && (this.$message.warning(this.$i18nt("gd.advancedFind.editColumnTip", "\u8BF7\u7F16\u8F91\u5217!")), t(i));
861
+ let s = l.list[0], o = s && l.list.length === 1 && s.referencefiled === "" && s.referencetable === "" && s.list.length > 0 ? Object.assign(s, {
862
+ columnid: 0
863
+ }) : l;
864
+ t({
865
+ statu: !0,
866
+ data: {
867
+ tableData: this.table,
868
+ viewList: this.viewList,
869
+ loadData: this.loadData,
870
+ sysViewFilters: o,
871
+ viewId: this.viewId
872
+ }
873
+ });
874
+ });
875
+ },
876
+ setTableNameData(t) {
877
+ const e = t !== "" ? t : this.tableLists[0].id, i = this.getQueryTable.filter((a) => a.id == e)[0];
878
+ this.showTitle && i && (this.sysCodeGenId = i.id, this.sysCodeGenoId = i.id, this.selectTable(i.id)), this.visible = !!(i && this.showTitle);
879
+ },
880
+ selectTable(t) {
881
+ let e = this;
882
+ if (e.isEdit) {
883
+ this.$confirm(this.$i18nt("gd.https.changeContent", "\u662F\u5426\u653E\u5F03\u66F4\u6539?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
884
+ confirmButtonText: this.$i18nt("gd.https.changeOk", "\u786E\u8BA4\u653E\u5F03"),
885
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
886
+ showClose: !1,
887
+ confirmButtonLoading: !1,
888
+ cancelButtonLoading: !1,
889
+ closeOnClickModal: !1,
890
+ type: "warning",
891
+ confirmButtonClass: "el-button--danger",
892
+ customClass: "custom-alert",
893
+ callback: () => {
894
+ e.$refs.refTable.blur();
895
+ },
896
+ beforeClose: (i, a, r) => {
897
+ if (r(), i === "confirm") {
898
+ e.isEdit = !1, e.selectTable(t);
899
+ return;
900
+ }
901
+ e.sysCodeGenId = e.sysCodeGenoId, e.isAll || e.$emit("changeId", e.sysCodeGenoId);
902
+ }
903
+ });
904
+ return;
905
+ }
906
+ return this.isAll || this.$emit("changeId", t), this.sysCodeGenoId = t, this.viewId = "0", this.list = [], this.sysViewFilters = Object.assign(
907
+ { ...this.sysViewFilters },
908
+ {
909
+ list: [],
910
+ referencetable: this.table.tablename,
911
+ tablename: this.table.tablename
912
+ }
913
+ ), this.getTableList(t), this.getPersonalView(t), this.spinning = !0, $({
914
+ sysCodeGenId: t
915
+ }).then((i) => (this.viewListData = this.isAll ? i.data : i.data.filter((a) => a.type != 2 && a.type != 3), this.visible = !0, this.viewList = {
916
+ frozencolumn: 0,
917
+ sysviewfields: []
918
+ }, this.viewLoading = !1, this.spinning = !1, this.flowsFilterInit(), i));
919
+ },
920
+ selectView(t) {
921
+ let e = this;
922
+ if (e.isEdit) {
923
+ this.$confirm(this.$i18nt("gd.https.changeContent", "\u662F\u5426\u653E\u5F03\u66F4\u6539?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
924
+ confirmButtonText: this.$i18nt("gd.https.changeOk", "\u786E\u8BA4\u653E\u5F03"),
925
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
926
+ showClose: !1,
927
+ confirmButtonLoading: !1,
928
+ cancelButtonLoading: !1,
929
+ closeOnClickModal: !1,
930
+ type: "warning",
931
+ confirmButtonClass: "el-button--danger",
932
+ customClass: "custom-alert",
933
+ callback: () => {
934
+ e.$refs.refView.blur();
935
+ },
936
+ beforeClose: (i, a, r) => {
937
+ if (r(), i === "confirm") {
938
+ e.isEdit = !1, e.selectView(t);
939
+ return;
940
+ }
941
+ e.viewId = e.viewoId;
942
+ }
943
+ });
944
+ return;
945
+ }
946
+ if (this.viewoId = t, this.viewId = t, t == "0") {
947
+ this.list = [], this.sysViewFilters = Object.assign(
948
+ {
949
+ ...this.sysViewFilters
950
+ },
951
+ {
952
+ list: []
953
+ }
954
+ ), this.viewList = {
955
+ frozencolumn: 0,
956
+ sysviewfields: []
957
+ }, this.flowsFilterInit();
958
+ return;
959
+ }
960
+ this.spinning = !0, this.sysViewDetails(t).then((i) => {
961
+ this.getFilterConfig(i);
962
+ let a = [];
963
+ this.loadData.forEach((r) => {
964
+ if (!this.isChecked(r.id, i.data.sysviewfields)) {
965
+ let n = i.data.sysviewfields.filter((l) => l.fieldid == r.id)[0];
966
+ if (n && n.type == 1) {
967
+ let l = {
968
+ ...r
969
+ }, s = this.$i18nt(`Dynamics.${r.transkey}`, r.columncomment), o = this.$i18nt(`Dynamics.${n.transkey}`, n.name);
970
+ l.order = n.order, l.num = n.width, l.aliastranskey = n.transkey ? n.transkey : null, l.alias = s === o ? "" : o, l.orderconfig = n.orderconfig == 1, l.columnname = n.field ? n.field.columnname : r.columnname, l.codegenid = n.field ? n.field.codegenid : r.codegenid, l.gatherconfig = n.gatherconfig == 1, l.maxtagcount = n.maxtagcount ? n.maxtagcount : 2, l.fkrelations = `${s} -- ${r.columnname}`, l.fkEffectType = r.effecttype, l.transkey = r.transkey, l.operate = "edit", l.aliasold = o;
971
+ let d = n.align ? n.align.split("&") : [];
972
+ l.align = d[0] ? d[0] : "left", l.visible = d[1] ? d[1] == 1 : !0, l.displaymode = d[2] ? d[2] : "none", l.displayprefix = d[3] ? d[3] : "none", l.preview = d[4] ? d[4] === "true" : !0, l.download = d[5] ? d[5] === "true" : !0, l.format = d[6] ? d[6] : String(r.fieldformat), l.hyperlink = d[7] ? d[7] === "true" : !1, l.precision = d[8] !== void 0 ? d[8] : r.filedsize, a.push(l);
973
+ }
974
+ }
975
+ r.children && r.children.length > 0 && r.children.forEach((n) => {
976
+ if (!this.isChecked(n.id + "-" + r.id, i.data.sysviewfields)) {
977
+ let l = i.data.sysviewfields.filter((s) => (s.type == 2 ? s.joinfieldid + "-" + s.fieldid : s.fieldid) == n.id + "-" + r.id)[0];
978
+ if (l) {
979
+ let s = {
980
+ ...n
981
+ }, o = this.$i18nt(`Dynamics.${r.transkey}`, r.columncomment), d = this.$i18nt(`Dynamics.${n.transkey}`, n.columncomment), u = this.$i18nt(`Dynamics.${l.transkey}`, l.name);
982
+ s.order = l.order, s.num = l.width, s.aliastranskey = l.transkey ? l.transkey : null, s.alias = d === u ? "" : u, s.id = s.id + "-" + r.id, s.orderconfig = l.orderconfig == 1, s.gatherconfig = l.gatherconfig == 1, s.fkrelations = `${o} -- ${r.columnname}`, s.fkEffectType = r.effecttype, s.maxtagcount = l.maxtagcount ? l.maxtagcount : 2, s.transkey = n.transkey, s.operate = "edit", s.aliasold = u;
983
+ let c = l.align ? l.align.split("&") : [];
984
+ s.align = c[0] ? c[0] : "left", s.visible = c[1] ? c[1] == 1 : !0, s.displaymode = c[2] ? c[2] : "none", s.displayprefix = c[3] ? c[3] : "none", s.preview = c[4] ? c[4] === "true" : !0, s.download = c[5] ? c[5] === "true" : !0, s.format = c[6] ? c[6] : String(n.fieldformat), s.hyperlink = c[7] ? c[7] === "true" : !1, s.precision = c[8] !== void 0 ? c[8] : n.filedsize, a.push(s);
985
+ }
986
+ }
987
+ });
988
+ }), a = p(a), this.viewList = {
989
+ frozencolumn: i.data.frozencolumn,
990
+ sysviewfields: [...a]
991
+ };
992
+ });
993
+ },
994
+ sysViewDetails(t) {
995
+ let e = this.viewPersonalData.filter((a) => a.id == t)[0], i = this.showTitle ? ["\u7F16\u8F91\u5C5E\u6027"] : [];
996
+ return e != null ? (this.baseShowBtns(i, 2), new Promise((a, r) => {
997
+ a({
998
+ data: Object.assign(
999
+ {
1000
+ ...e
1001
+ },
1002
+ {
1003
+ sysviewfields: e.syssavedqueryfields
1004
+ }
1005
+ )
1006
+ });
1007
+ })) : (this.baseHideBtns(i, 2), F({
1008
+ id: t
1009
+ }).then((a) => a));
1010
+ },
1011
+ getFilterConfig(t) {
1012
+ const e = (s) => (s = s.filter((o, d) => {
1013
+ if (o.type = String(o.type), o.operators = String(o.operators), o.list.length > 0)
1014
+ o.list = e(o.list);
1015
+ else {
1016
+ let u = this.getItemVal(o, 2);
1017
+ o.values = typeof u == "object" ? u.map((c) => Number(c)) : [];
1018
+ }
1019
+ return o.fkdata && typeof o.fkdata == "string" && (o.fkdata = JSON.parse(o.fkdata)), o.ruleslist && typeof o.ruleslist == "string" && (o.ruleslist = JSON.parse(o.ruleslist)), o.recordid === void 0 && (o.columntype == "relevant" || o.columntype == "parental") && (o.recordid = o.recordid + "@" + o.columntype), o.show === void 0 && (o.show = !0, o.checked = !1), !0;
1020
+ }), s);
1021
+ let a = {
1022
+ ...t.data.filterconfig ? JSON.parse(t.data.filterconfig) : this.plugFilters
1023
+ }, r = e(a.pid === null ? a.list : [a]);
1024
+ this.list = r;
1025
+ let n = a.pid === null ? a : this.plugFilters, l = Object.assign(
1026
+ {
1027
+ ...n
1028
+ },
1029
+ {
1030
+ ...this.sysViewFilters
1031
+ },
1032
+ {
1033
+ list: r,
1034
+ referencetable: this.table.tablename,
1035
+ tablename: this.table.tablename
1036
+ }
1037
+ );
1038
+ if (this.sysViewFilters = l, this.flowsFilterInit(), l.list.length === 0) {
1039
+ this.spinning = !1;
1040
+ return;
1041
+ }
1042
+ setTimeout(() => {
1043
+ this.spinning = !1;
1044
+ }, 800);
1045
+ },
1046
+ getItemVal(t, e = 1) {
1047
+ let i = "";
1048
+ const a = String(t.operators);
1049
+ if (["fk", "about"].includes(t.columntype)) {
1050
+ let r = e == 1 && t.values !== void 0 ? t.values.join(",") : String(t.value).split(",");
1051
+ i = ["3", "4"].includes(a) ? r : t.value === "" ? "" : Number(t.value);
1052
+ } else if (t.columntype == "user") {
1053
+ let r = e == 1 && t.values !== void 0 ? t.values.join(",") : String(t.value).split(",");
1054
+ i = ["3", "4"].includes(a) ? r : t.value === "" ? "" : Number(t.value);
1055
+ } else if (t.columntype == "participants") {
1056
+ let r = e == 1 && t.values !== void 0 ? t.values.join(",") : String(t.value).split(",");
1057
+ i = ["3", "4"].includes(a) ? r : t.value === "" ? "" : Number(t.value);
1058
+ } else
1059
+ i = t.value;
1060
+ return i;
1061
+ },
1062
+ getTableList(t) {
1063
+ return b({
1064
+ codeGenId: t
1065
+ }).then((e) => {
1066
+ this.loadData = e.data;
1067
+ });
1068
+ },
1069
+ getPersonalView(t) {
1070
+ J({
1071
+ codeGenId: t || this.sysCodeGenId
1072
+ }).then((e) => {
1073
+ e.success && (this.viewPersonalData = e.data);
1074
+ });
1075
+ },
1076
+ changeEdit() {
1077
+ this.isEdit = !0;
1078
+ },
1079
+ flowsFilterInit() {
1080
+ this.$nextTick(() => {
1081
+ this.$refs.flowsFilter && this.$refs.flowsFilter.initComponents(this.sysViewFilters);
1082
+ });
1083
+ },
1084
+ viewOk(t) {
1085
+ this.isEdit = !0, this.viewList = {
1086
+ ...t
1087
+ };
1088
+ },
1089
+ configOk() {
1090
+ this.getPersonalView();
1091
+ },
1092
+ baseHideBtns(t, e = 1) {
1093
+ let i = [...this.buttons];
1094
+ i.map((a) => (e === 1 ? a.show = t.includes(a.id) ? !1 : a.show : a.show = t.includes(a.displayName) ? !1 : a.show, a)), this.buttons = [...i];
1095
+ },
1096
+ baseShowBtns(t, e = 1) {
1097
+ let i = [...this.buttons];
1098
+ i.map((a) => (e === 1 ? a.show = t.includes(a.id) ? !0 : a.show : a.show = t.includes(a.displayName) ? !0 : a.show, a)), this.buttons = [...i];
1099
+ },
1100
+ isChecked(t, e) {
1101
+ return e.every((i, a, r) => (i.type == 2 ? i.joinfieldid + "-" + i.fieldid : i.fieldid) != t);
1102
+ },
1103
+ doEvent(t) {
1104
+ let e = t.item.functionName;
1105
+ if (["mergeAnd", "mergeOr", "empty"].includes(e)) {
1106
+ this.$refs.flowsFilter[e]();
1107
+ return;
1108
+ }
1109
+ this[e]();
1110
+ }
1111
+ },
1112
+ created() {
1113
+ }
1114
+ };
1115
+ var Y = function() {
1116
+ var e = this, i = e._self._c;
1117
+ return i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.spinning, expression: "spinning" }], staticClass: "advanced-find-setting", style: e.style }, [i("div", { staticClass: "setting-navs" }, [i("div", { staticClass: "tab-btnmore" }, [i("gd-btn-list", { attrs: { sysViewButtons: e.buttons }, on: { functionName: e.doEvent } })], 1), i("el-form", { ref: "ruleForm", attrs: { model: e.ruleFormData, "label-width": "120px" }, nativeOn: { submit: function(a) {
1118
+ a.preventDefault();
1119
+ } } }, [i("el-row", { attrs: { gutter: 20 } }, [i("el-col", { attrs: { span: 8 } }, [i("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.advancedFind.lookup", "\u67E5\u627E") } }, [i("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: e.selectTable }, model: { value: e.sysCodeGenId, callback: function(a) {
1120
+ e.sysCodeGenId = a;
1121
+ }, expression: "sysCodeGenId" } }, e._l(e.getQueryTable, function(a) {
1122
+ return i("el-option", { key: a.id, attrs: { label: e.$i18nt(`Dynamics.${a.transkey}`, a.busname), value: a.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.busname)) + " " + e._s(a.tablename) + " ")]);
1123
+ }), 1)], 1)], 1), i("el-col", { attrs: { span: 8 } }, [i("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.advancedFind.savedViews", "\u5DF2\u4FDD\u5B58\u7684\u89C6\u56FE") } }, [i("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: e.selectView }, model: { value: e.viewId, callback: function(a) {
1124
+ e.viewId = a;
1125
+ }, expression: "viewId" } }, [i("el-option", { attrs: { value: "0", label: e.$i18nt("gd.advancedFind.new", "[\u65B0\u5EFA]") } }), i("el-option-group", { staticStyle: { "font-size": "18px" }, attrs: { label: e.$i18nt("gd.advancedFind.systemView", "\u7CFB\u7EDF\u89C6\u56FE") } }, [e._l(e.viewListData, function(a, r) {
1126
+ return [i("el-option", { attrs: { value: a.id, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } })];
1127
+ })], 2), e.viewPersonalData.length > 0 ? i("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: e.$i18nt("gd.menu.personalView", "\u4E2A\u4EBA\u89C6\u56FE") } }, [e._l(e.viewPersonalData, function(a, r) {
1128
+ return [i("el-option", { attrs: { value: a.id, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } })];
1129
+ })], 2) : e._e()], 1)], 1)], 1)], 1)], 1)], 1), e.visible ? i("div", { staticClass: "setting-conter" }, [i("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: e.table, mode: "div" }, on: { change: e.changeEdit } })], 1) : e._e(), i("EditPerson", { ref: "editPerson", attrs: { table: e.table }, on: { okColumn: e.viewOk, ok: e.configOk } })], 1);
1130
+ }, ee = [], te = /* @__PURE__ */ y(
1131
+ X,
1132
+ Y,
1133
+ ee,
1134
+ !1,
1135
+ null,
1136
+ "74e40329",
1137
+ null,
1138
+ null
1139
+ );
1140
+ const ie = te.exports;
1141
+ const se = {
1142
+ name: "GdAdvancedFind",
1143
+ props: {
1144
+ showTitle: {
1145
+ type: Boolean,
1146
+ default: !0
1147
+ },
1148
+ isSelect: {
1149
+ type: Boolean,
1150
+ default: !1
1151
+ }
1152
+ },
1153
+ components: {
1154
+ settings: ie,
1155
+ result: () => import("./result.0c089066.mjs"),
1156
+ viewList: () => import("./viewList.978b72c5.mjs")
1157
+ },
1158
+ data() {
1159
+ return {
1160
+ sysCodeGenId: "",
1161
+ height: 0,
1162
+ activeKeys: 1,
1163
+ activeKey: "1",
1164
+ disabled: !1,
1165
+ detail: {
1166
+ sysViewFilters: [],
1167
+ viewList: {
1168
+ frozenColumn: 0,
1169
+ sysViewFields: []
1170
+ }
1171
+ }
1172
+ };
1173
+ },
1174
+ watch: {
1175
+ screenHeight() {
1176
+ this.getHeight();
1177
+ }
1178
+ },
1179
+ computed: {
1180
+ getHig() {
1181
+ const t = this.showTitle ? 88 : 56;
1182
+ return this.height - t - 24;
1183
+ },
1184
+ style() {
1185
+ return `min-height:${this.height == 0 ? 600 : this.height}px`;
1186
+ },
1187
+ ...m(["screenHeight", "seekTableId"])
1188
+ },
1189
+ methods: {
1190
+ beforeLeave(t, e) {
1191
+ return console.log(t, e), !1;
1192
+ },
1193
+ changeId(t) {
1194
+ this.sysCodeGenId = t;
1195
+ },
1196
+ change(t) {
1197
+ if (t === "3")
1198
+ return new Promise((e, i) => {
1199
+ this.$refs.settings.seeResult().then((a) => {
1200
+ a.statu ? (this.seeResult(a.data), e()) : i();
1201
+ });
1202
+ });
1203
+ this.$refs.result.show = !1, t === "2" && this.$nextTick(() => {
1204
+ setTimeout(() => {
1205
+ this.$refs.viewList.open({
1206
+ sysCodeGenId: this.$refs.settings.sysCodeGenId
1207
+ });
1208
+ }, 0);
1209
+ }), this.disabled = t === "2", this.$refs.result, this.$emit("change", t);
1210
+ },
1211
+ seeResult(t) {
1212
+ this.detail = t, this.$emit("change", 3), this.$nextTick(() => {
1213
+ setTimeout(() => {
1214
+ this.$refs.result.init(t);
1215
+ }, 0);
1216
+ });
1217
+ },
1218
+ init() {
1219
+ this.$nextTick(() => {
1220
+ this.getHeight();
1221
+ const t = this.seekTableId ? this.seekTableId : "";
1222
+ this.$refs.settings && this.$refs.settings.setTableNameData(t);
1223
+ });
1224
+ },
1225
+ getHeight() {
1226
+ const t = document.getElementById("gd-layout-head-height"), e = t ? t.offsetHeight : 0, i = 12;
1227
+ this.height = this.screenHeight - e - i;
1228
+ }
1229
+ },
1230
+ created() {
1231
+ this.init();
1232
+ }
1233
+ };
1234
+ var ae = function() {
1235
+ var e = this, i = e._self._c;
1236
+ return i("div", { staticClass: "gd-advanced-find", style: e.style }, [e.showTitle ? i("div", { staticClass: "advanced-find-title" }, [e._v(" " + e._s(e.$i18nt("gd.menu.menuAdvancedFind", "\u9AD8\u7EA7\u67E5\u627E")) + " ")]) : e._e(), i("el-tabs", { attrs: { type: "card", "before-leave": e.change }, model: { value: e.activeKey, callback: function(a) {
1237
+ e.activeKey = a;
1238
+ }, expression: "activeKey" } }, [i("el-tab-pane", { attrs: { label: e.$i18nt("gd.advancedFind.basicSettings", "\u57FA\u672C\u8BBE\u7F6E"), name: "1" } }, [i("settings", { ref: "settings", attrs: { showTitle: e.showTitle, height: e.getHig }, on: { changeId: e.changeId } })], 1), i("el-tab-pane", { attrs: { label: e.$i18nt("gd.advancedFind.savedViews", "\u4FDD\u5B58\u7684\u89C6\u56FE"), name: "2" } }, [i("viewList", { ref: "viewList", attrs: { showTitle: e.showTitle, height: e.getHig } })], 1), i("el-tab-pane", { attrs: { label: e.$i18nt("gd.advancedFind.query", "\u67E5\u8BE2\u7ED3\u679C"), name: "3", disabled: e.disabled } }, [i("result", { ref: "result", attrs: { showTitle: e.showTitle, height: e.getHig } })], 1)], 1)], 1);
1239
+ }, le = [], re = /* @__PURE__ */ y(
1240
+ se,
1241
+ ae,
1242
+ le,
1243
+ !1,
1244
+ null,
1245
+ "8041a336",
1246
+ null,
1247
+ null
1248
+ );
1249
+ const g = re.exports;
1250
+ g.install = function(t) {
1251
+ t.component(g.name, g);
1252
+ };
1253
+ const Fe = {
1254
+ BasicLayout: L,
1255
+ BlankLayout: w,
1256
+ RouteView: _,
1257
+ PageView: T,
1258
+ Iframe: S,
1259
+ BasicLayoutEmpty: I,
1260
+ BasicLayoutTop: x,
1261
+ AccountSettings: N,
1262
+ BaseSettings: V,
1263
+ SecuritySettings: q,
1264
+ CustomSettings: j,
1265
+ Console: G,
1266
+ AdvancedFind: g,
1267
+ EchartsManage: Q
1268
+ }, $e = [
1269
+ {
1270
+ name: "account",
1271
+ pid: 0,
1272
+ id: 10028,
1273
+ meta: {
1274
+ title: "\u4E2A\u4EBA\u9875",
1275
+ icon: "user",
1276
+ show: !1
1277
+ },
1278
+ redirect: "/account/center",
1279
+ component: "RouteView"
1280
+ },
1281
+ {
1282
+ name: "accountSettings",
1283
+ pid: "10028",
1284
+ id: "10030",
1285
+ meta: {
1286
+ title: "\u4E2A\u4EBA\u8BBE\u7F6E",
1287
+ hideHeader: !0,
1288
+ hideChildren: !0,
1289
+ show: !1
1290
+ },
1291
+ redirect: "/account/settings/base",
1292
+ component: "AccountSettings"
1293
+ },
1294
+ {
1295
+ name: "BaseSettings",
1296
+ path: "/account/settings/base",
1297
+ pid: 10030,
1298
+ id: 10031,
1299
+ meta: {
1300
+ title: "\u57FA\u672C\u8BBE\u7F6E",
1301
+ show: !1,
1302
+ transKeyd: "gd.account.basicSettings"
1303
+ },
1304
+ component: "BaseSettings",
1305
+ transKeyd: "gd.account.basicSettings"
1306
+ },
1307
+ {
1308
+ name: "SecuritySettings",
1309
+ path: "/account/settings/security",
1310
+ pid: 10030,
1311
+ id: 10032,
1312
+ meta: {
1313
+ title: "\u5B89\u5168\u8BBE\u7F6E",
1314
+ show: !1,
1315
+ transKeyd: "gd.account.securitySetting"
1316
+ },
1317
+ component: "SecuritySettings",
1318
+ transKeyd: "gd.account.securitySetting"
1319
+ },
1320
+ {
1321
+ name: "CustomSettings",
1322
+ path: "/account/settings/custom",
1323
+ pid: 10030,
1324
+ id: 10033,
1325
+ meta: {
1326
+ title: "\u4E2A\u6027\u5316\u8BBE\u7F6E",
1327
+ show: !1,
1328
+ transKeyd: "gd.account.personalization"
1329
+ },
1330
+ component: "CustomSettings",
1331
+ transKeyd: "gd.account.personalization"
1332
+ },
1333
+ {
1334
+ name: "Console",
1335
+ path: "/welcome",
1336
+ pid: 0,
1337
+ id: 183183,
1338
+ meta: {
1339
+ title: "\u9996\u9875",
1340
+ show: !1,
1341
+ transKeyd: "gd.menu.home"
1342
+ },
1343
+ component: "Console",
1344
+ transKeyd: "gd.menu.home"
1345
+ },
1346
+ {
1347
+ name: "platformapps",
1348
+ path: "/platformapps",
1349
+ pid: 0,
1350
+ id: 183184,
1351
+ meta: {},
1352
+ component: "PageView",
1353
+ redirect: "/platform/application"
1354
+ },
1355
+ {
1356
+ name: "platformapplications",
1357
+ path: "/platform/application",
1358
+ pid: 183184,
1359
+ id: 183185,
1360
+ meta: {
1361
+ title: "\u5E94\u7528",
1362
+ show: !1,
1363
+ transKeyd: "gd.menu.home"
1364
+ },
1365
+ component: "GdApplication",
1366
+ transKeyd: "gd.menu.home"
1367
+ },
1368
+ {
1369
+ name: "advancedFind",
1370
+ path: "/advancedFind",
1371
+ pid: 0,
1372
+ id: 18318999,
1373
+ meta: {
1374
+ title: "\u9AD8\u7EA7\u641C\u7D22",
1375
+ show: !1,
1376
+ transKeyd: "gd.menu.advancedFind"
1377
+ },
1378
+ component: "AdvancedFind",
1379
+ transKeyd: "gd.menu.advancedFind"
1380
+ },
1381
+ {
1382
+ name: "echartsManage",
1383
+ path: "/echartsManage",
1384
+ pid: 0,
1385
+ id: 18320001,
1386
+ meta: {
1387
+ title: "\u4E2A\u4EBA\u56FE\u8868\u7BA1\u7406",
1388
+ show: !1,
1389
+ transKeyd: "gd.menu.echarts"
1390
+ },
1391
+ component: "EchartsManage",
1392
+ transKeyd: "gd.menu.echarts"
1393
+ }
1394
+ ];
1395
+ function ke(t) {
1396
+ const {
1397
+ title: e,
1398
+ target: i,
1399
+ icon: a,
1400
+ link: r,
1401
+ sysviewid: n,
1402
+ tableid: l
1403
+ } = t.meta || {};
1404
+ return {
1405
+ title: e,
1406
+ icon: a || "",
1407
+ target: i,
1408
+ link: r,
1409
+ viewId: n || "",
1410
+ tableId: l || "",
1411
+ id: t.id || "",
1412
+ transKey: t.transKeyd ? t.transKeyd : t.transkey ? `Dynamics.${t.transkey}` : null,
1413
+ viewWeights: t.viewweights ? t.viewweights : "2",
1414
+ type: t.type
1415
+ };
1416
+ }
1417
+ export {
1418
+ D as E,
1419
+ $e as a,
1420
+ Fe as b,
1421
+ ve as c,
1422
+ be as e,
1423
+ ke as r
1424
+ };