gds-plus-design-vue 1.2.6 → 1.2.7

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 (368) hide show
  1. package/lib/approvalModel.a26e8ff6.mjs +340 -0
  2. package/lib/approvalModel.cfd81971.js +1 -0
  3. package/lib/btnFunctionName.9aabfed0.js +1 -0
  4. package/lib/btnFunctionName.d08627cb.mjs +254 -0
  5. package/lib/btnRelation.8e608261.mjs +156 -0
  6. package/lib/btnRelation.cb3dc022.js +1 -0
  7. package/lib/businessRules.754cc398.mjs +539 -0
  8. package/lib/businessRules.f41f7035.js +1 -0
  9. package/lib/buttonRule.4483314f.mjs +396 -0
  10. package/lib/buttonRule.645de1d3.js +1 -0
  11. package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
  12. package/lib/chartDisplayRules.fedfefe8.js +1 -0
  13. package/lib/components.chartbi.470b96af.mjs +1798 -0
  14. package/lib/components.chartbi.e9459775.js +8 -0
  15. package/lib/components.coloreditor.affa0400.mjs +1505 -0
  16. package/lib/components.coloreditor.dbec8da6.js +6 -0
  17. package/lib/components.dataassign.39281072.mjs +147 -0
  18. package/lib/components.dataassign.b6a1bffb.js +1 -0
  19. package/lib/components.echarts.95ffc3b3.mjs +811 -0
  20. package/lib/components.echarts.d09e9850.js +4 -0
  21. package/lib/components.exception.11315db5.js +1 -0
  22. package/lib/components.exception.facf9df9.mjs +61 -0
  23. package/lib/components.form.56ea8f98.js +41 -0
  24. package/lib/components.form.a7b3ea37.mjs +7813 -0
  25. package/lib/components.globalheader.0a7ce959.js +1 -0
  26. package/lib/components.globalheader.4a5f7225.mjs +54 -0
  27. package/lib/components.iconselector.0c03cfc7.js +1 -0
  28. package/lib/components.iconselector.251c29b9.mjs +1169 -0
  29. package/lib/components.imgpreview.5546e541.mjs +213 -0
  30. package/lib/components.imgpreview.706a89f0.js +1 -0
  31. package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
  32. package/lib/components.lunccalendar.fe7db238.js +1 -0
  33. package/lib/components.middleware.01601349.js +1 -0
  34. package/lib/components.middleware.f5f4ac0f.mjs +148 -0
  35. package/lib/components.modaltitle.5ded43f9.mjs +127 -0
  36. package/lib/components.modaltitle.cc9ba616.js +1 -0
  37. package/lib/components.multitab.0f9da9f3.mjs +140 -0
  38. package/lib/components.multitab.726cff2f.js +1 -0
  39. package/lib/components.selecttree.1a71c963.mjs +170 -0
  40. package/lib/components.selecttree.2fadffca.js +1 -0
  41. package/lib/components.settingdrawer.1af86231.js +1 -0
  42. package/lib/components.settingdrawer.adc262cf.mjs +237 -0
  43. package/lib/components.sidemenu.03442146.mjs +277 -0
  44. package/lib/components.sidemenu.5107c7e3.js +1 -0
  45. package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
  46. package/lib/components.sidenavmenu.ef33de39.js +1 -0
  47. package/lib/components.statuschange.805a751b.mjs +116 -0
  48. package/lib/components.statuschange.83646c5d.js +1 -0
  49. package/lib/components.table.61eb5d81.js +8 -0
  50. package/lib/components.table.c986e58d.mjs +4650 -0
  51. package/lib/components.tableumy.35b465f9.mjs +453 -0
  52. package/lib/components.tableumy.eba43953.js +1 -0
  53. package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
  54. package/lib/components.tablevirtual.6af04c44.js +1 -0
  55. package/lib/components.teamsharing.68865424.js +1 -0
  56. package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
  57. package/lib/components.tooltip.ccb1717d.mjs +86 -0
  58. package/lib/components.tooltip.e2e21e66.js +1 -0
  59. package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
  60. package/lib/components.uploadfile.e93b500d.js +1 -0
  61. package/lib/components.uploadimg.3804913e.js +1 -0
  62. package/lib/components.uploadimg.e49707d9.mjs +192 -0
  63. package/lib/components.verificationcode.5a9c0220.js +1 -0
  64. package/lib/components.verificationcode.ead74922.mjs +71 -0
  65. package/lib/components.viewformdetails.3c1596ad.js +1 -0
  66. package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
  67. package/lib/components.viewloading.5b178ec5.js +1 -0
  68. package/lib/components.viewloading.cb7917b7.mjs +99 -0
  69. package/lib/components.watermark.849409ca.js +2 -0
  70. package/lib/components.watermark.a2521d0c.mjs +53 -0
  71. package/lib/components.xlsxexport.3405a00b.js +1 -0
  72. package/lib/components.xlsxexport.871f87d1.mjs +263 -0
  73. package/lib/components.xlsximport.85ce77cf.mjs +922 -0
  74. package/lib/components.xlsximport.e3bcb07d.js +1 -0
  75. package/lib/copy.b09a6d38.js +1 -0
  76. package/lib/copy.c0a2f16d.mjs +572 -0
  77. package/lib/dialogLayout.059ee256.mjs +138 -0
  78. package/lib/dialogLayout.cedf2865.js +1 -0
  79. package/lib/drawerContainer.38d7b530.mjs +154 -0
  80. package/lib/drawerContainer.ea7722d7.js +1 -0
  81. package/lib/drawerLayout.454e4921.js +1 -0
  82. package/lib/drawerLayout.fad843ee.mjs +119 -0
  83. package/lib/editForm.c199538f.mjs +434 -0
  84. package/lib/editForm.f9dc93ef.js +1 -0
  85. package/lib/flow.designer.4c83c0d3.js +1 -0
  86. package/lib/flow.designer.9442a995.mjs +7673 -0
  87. package/lib/flow.list.4a31969e.mjs +3032 -0
  88. package/lib/flow.list.f41ee531.js +1 -0
  89. package/lib/form.build.c38bf362.js +1 -0
  90. package/lib/form.build.fb9f905b.mjs +259 -0
  91. package/lib/form.designer.build.3fdf8007.js +1 -0
  92. package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
  93. package/lib/formFiled.624b8dd3.js +1 -0
  94. package/lib/formFiled.94fb1dce.mjs +498 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +233 -91087
  97. package/lib/http.appmanage.9b22ff82.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  100. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  111. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.6fdfc693.js +1 -0
  116. package/lib/http.filedocument.d3a4afd9.mjs +293 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.1af1e119.mjs +517 -0
  128. package/lib/http.main.2f8a6936.js +1 -0
  129. package/lib/http.menumanage.09fffb7d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.1d68e914.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  140. package/lib/http.orgmanage.5162fd7a.js +1 -0
  141. package/lib/http.pluginmanage.54720675.mjs +82 -0
  142. package/lib/http.pluginmanage.6a876040.js +1 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  146. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  147. package/lib/http.rolemanage.4d1101dd.js +1 -0
  148. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  149. package/lib/http.solution.b10d9197.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.932ba43b.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.a9c609d5.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.6e894942.js +1 -0
  162. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  167. package/lib/http.useraffiliation.af2013ad.js +1 -0
  168. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  169. package/lib/http.usermanage.6dcbc7de.js +1 -0
  170. package/lib/http.usermanage.f5491144.mjs +219 -0
  171. package/lib/http.webresource.1a1a768f.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.3fa2dc66.mjs +40154 -0
  174. package/lib/index.fe757a98.js +8 -0
  175. package/lib/layoutBlocks.14c77a02.js +1 -0
  176. package/lib/layoutBlocks.5d71a03b.mjs +401 -0
  177. package/lib/layouts.a662f681.js +2 -0
  178. package/lib/layouts.ec4f20a2.mjs +376 -0
  179. package/lib/main.092a2ac8.js +1 -0
  180. package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
  181. package/lib/main.29769f01.js +1 -0
  182. package/lib/main.401059c6.mjs +189 -0
  183. package/lib/main.447be615.js +1 -0
  184. package/lib/main.4e507685.mjs +231 -0
  185. package/lib/main.72cafa63.mjs +540 -0
  186. package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
  187. package/lib/main.7601bd3d.mjs +166 -0
  188. package/lib/main.79199ac2.js +1 -0
  189. package/lib/main.821d081b.js +1 -0
  190. package/lib/main.8627466a.mjs +537 -0
  191. package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
  192. package/lib/main.8e6f6cba.mjs +323 -0
  193. package/lib/main.a9a54af9.js +1 -0
  194. package/lib/main.e033a376.js +1 -0
  195. package/lib/main.e2e4ba74.js +1 -0
  196. package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
  197. package/lib/main.ea3a04f4.js +1 -0
  198. package/lib/main.f44d8279.js +1 -0
  199. package/lib/messages.5f54a62e.js +9 -0
  200. package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
  201. package/lib/packages.filedocument.8418d852.mjs +4039 -0
  202. package/lib/packages.filedocument.9b8eda0d.js +1 -0
  203. package/lib/page.build.4d28df9a.js +12 -0
  204. package/lib/page.build.78cc7396.mjs +3020 -0
  205. package/lib/personal.echarts.940f1cc9.mjs +696 -0
  206. package/lib/personal.echarts.b5a7f574.js +1 -0
  207. package/lib/result.0161b0e0.js +1 -0
  208. package/lib/result.5a9330d7.mjs +627 -0
  209. package/lib/router.config.79a98ab8.mjs +3105 -0
  210. package/lib/router.config.7fd04c30.js +1 -0
  211. package/lib/solution.application.3ae7c0c5.js +1 -0
  212. package/lib/solution.application.fdc15ffc.mjs +548 -0
  213. package/lib/solution.applicationmenu.67aba620.js +1 -0
  214. package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
  215. package/lib/solution.approvalflow.81b7cfb7.js +1 -0
  216. package/lib/solution.approvalflow.a541adcc.mjs +436 -0
  217. package/lib/solution.dict.addbce33.mjs +769 -0
  218. package/lib/solution.dict.f1c9bae6.js +1 -0
  219. package/lib/solution.menu.2033fa37.mjs +5834 -0
  220. package/lib/solution.menu.6512047f.js +1 -0
  221. package/lib/solution.plugin.7094dbfd.js +1 -0
  222. package/lib/solution.plugin.d8f057cb.mjs +347 -0
  223. package/lib/solution.processflow.0adf4f55.js +1 -0
  224. package/lib/solution.processflow.a779bd58.mjs +392 -0
  225. package/lib/solution.role.d35cb00d.js +1 -0
  226. package/lib/solution.role.d9a4b25a.mjs +456 -0
  227. package/lib/solution.webresources.e1421655.mjs +379 -0
  228. package/lib/solution.webresources.e817757c.js +1 -0
  229. package/lib/solution.workflow.59552b8c.mjs +395 -0
  230. package/lib/solution.workflow.985e1f4d.js +1 -0
  231. package/lib/store.config.556bd56b.js +1 -0
  232. package/lib/store.config.5e5cb48a.mjs +547 -0
  233. package/lib/style.css +3 -3
  234. package/lib/system.account.1b281679.js +216 -0
  235. package/lib/system.account.96d5bc17.mjs +2093 -0
  236. package/lib/system.config.0ff45e62.js +1 -0
  237. package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
  241. package/lib/system.dict.8e4fe6b0.js +1 -0
  242. package/lib/system.document.69e534a6.js +1 -0
  243. package/lib/system.document.8e4dbe5e.mjs +667 -0
  244. package/lib/system.duplicatechecking.1083eb1e.js +1 -0
  245. package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
  246. package/lib/system.email.06bb7cc1.mjs +133 -0
  247. package/lib/system.email.41036a31.js +1 -0
  248. package/lib/system.fieldsecurity.3ea880d8.js +1 -0
  249. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
  251. package/lib/system.file.b8e4e6a1.js +1 -0
  252. package/lib/system.log.14c22a7a.js +1 -0
  253. package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
  261. package/lib/system.onlineuser.fc26aff9.js +1 -0
  262. package/lib/system.org.b6f826e8.js +1 -0
  263. package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
  264. package/lib/system.permissions.75406743.mjs +972 -0
  265. package/lib/system.permissions.97f68887.js +1 -0
  266. package/lib/system.plugin.3fcf7b0b.js +1 -0
  267. package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
  275. package/lib/system.sumberrules.5e9cd262.js +1 -0
  276. package/lib/system.team.3e605266.js +1 -0
  277. package/lib/system.team.bb1fb40e.mjs +452 -0
  278. package/lib/system.teammembers.a098883b.js +1 -0
  279. package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
  287. package/lib/system.useraffiliation.f8b33def.js +1 -0
  288. package/lib/system.webresource.1d3ed352.js +1 -0
  289. package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
  291. package/lib/system.welcome.eedf1db2.js +1 -0
  292. package/lib/tableDescriptions.923c4ef1.mjs +80 -0
  293. package/lib/tableDescriptions.b12679b0.js +1 -0
  294. package/lib/tcheckboxs.887d733c.mjs +52 -0
  295. package/lib/tcheckboxs.fe7e574a.js +1 -0
  296. package/lib/tcurrency.10ac9aa7.mjs +85 -0
  297. package/lib/tcurrency.20e959c0.js +1 -0
  298. package/lib/tdatepicker.54036bba.js +1 -0
  299. package/lib/tdatepicker.a08ad382.mjs +52 -0
  300. package/lib/tdictSwitch.274e9f86.js +1 -0
  301. package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
  302. package/lib/tfile.5c897827.js +1 -0
  303. package/lib/tfile.f63b73b9.mjs +62 -0
  304. package/lib/tparticipants.4698962b.mjs +56 -0
  305. package/lib/tparticipants.b6fb4545.js +1 -0
  306. package/lib/translation.mains.5cfc7a2f.js +1 -0
  307. package/lib/translation.mains.e6cb610b.mjs +383 -0
  308. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  309. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  310. package/lib/utils.echarts.js.461a74e7.js +54 -0
  311. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  312. package/lib/utils.mixins.js.750ca50e.js +1 -0
  313. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  314. package/lib/utils.plug.js.9313aead.mjs +31 -0
  315. package/lib/utils.plug.js.f62510ce.js +1 -0
  316. package/lib/utils.util.js.885de913.mjs +439 -0
  317. package/lib/utils.util.js.c0ba699b.js +1 -0
  318. package/lib/view.build.051553d8.mjs +1578 -0
  319. package/lib/view.build.9af3087b.js +1 -0
  320. package/lib/viewList.209956c3.js +1 -0
  321. package/lib/viewList.c05c92be.mjs +318 -0
  322. package/lib/viewTree.0cd9f1a2.js +1 -0
  323. package/lib/viewTree.c5290360.mjs +409 -0
  324. package/locale/en_US.js +92 -28
  325. package/locale/id_ID.js +76 -12
  326. package/locale/vi_VN.js +2012 -1948
  327. package/locale/zh_CN.js +97 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.114d32d7.js +0 -60
  330. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  331. package/lib/main.03984fed.js +0 -1
  332. package/lib/main.1050afb3.js +0 -1
  333. package/lib/main.64122541.js +0 -1
  334. package/lib/main.b7d2c6ee.js +0 -1
  335. package/lib/messages.828b6ed8.js +0 -9
  336. package/lib/system.account.3181bcd6.js +0 -216
  337. package/lib/system.account.7c6ea20c.mjs +0 -2552
  338. package/lib/system.config.10f57fa2.js +0 -1
  339. package/lib/system.datasource.d5eea7f2.js +0 -1
  340. package/lib/system.dict.d73658f1.js +0 -1
  341. package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
  342. package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
  343. package/lib/system.email.4bf52f2d.js +0 -41
  344. package/lib/system.email.db5da8d7.mjs +0 -7432
  345. package/lib/system.fieldsecurity.eb217079.js +0 -1
  346. package/lib/system.file.c1884db7.js +0 -1
  347. package/lib/system.log.389af80d.js +0 -1
  348. package/lib/system.machine.49fc6405.js +0 -1
  349. package/lib/system.notice.a89f4826.js +0 -1
  350. package/lib/system.noticereceived.5e0773c3.js +0 -1
  351. package/lib/system.onlineuser.67733846.js +0 -1
  352. package/lib/system.org.ff54d620.js +0 -1
  353. package/lib/system.permissions.cc9a9866.mjs +0 -212
  354. package/lib/system.permissions.e6317c5a.js +0 -9
  355. package/lib/system.plugin.3467d572.js +0 -1
  356. package/lib/system.pos.4aadf86e.js +0 -1
  357. package/lib/system.promptmanagement.9ba710d6.js +0 -1
  358. package/lib/system.role.890c8ca2.js +0 -1
  359. package/lib/system.sumberrules.068ebe4a.js +0 -1
  360. package/lib/system.team.27cd57f7.mjs +0 -1000
  361. package/lib/system.team.2b28502b.js +0 -1
  362. package/lib/system.teammembers.e3baf783.js +0 -1
  363. package/lib/system.timers.cb0a3bd0.js +0 -38
  364. package/lib/system.translation.f3884a0a.js +0 -1
  365. package/lib/system.user.3bd95871.js +0 -14
  366. package/lib/system.useraffiliation.7db6e13c.js +0 -1
  367. package/lib/system.webresource.ede248a8.js +0 -1
  368. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),c=require("./components.chartbi.e9459775.js"),u=require("./http.loginmanage.326984c3.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const g=t=>t&&typeof t=="object"&&"default"in t?t:{default:t},r=g(d);const m={name:"GdAuthorizeLogin",data(){return{authorizeType:"loading",query:{},code:"",message:"",confirmLoading:!0,showAuthorize:!0,showDetails:!1}},methods:{beaseLoadComplete(){window.parent.postMessage({eventType:"load-complete",data:""},"*")},onChangeBtn(t){window.parent.postMessage({eventType:"form-btn",data:JSON.stringify(t)},"*")},closeShowDetails(){this.showDetails=!1,window.parent.postMessage({eventType:"close-drawer",data:""},"*")},init(){const t=this.$route.query,e=t.code?t.code:"";if(this.code=e,this.query=this.$route.query,e)this.Logout().then(s=>{this.getCode()});else{const s=this.$i18nt("gd.login.missingParameters","\u7F3A\u5931\u53C2\u6570:")+" code";this.$message.error(s),this.message=s,this.authorizeType="fail",this.confirmLoading=!1}},getCode(){u.oauthCodeLogin({code:this.code}).then(t=>{if(t.code!==200){this.authorizeType="fail",this.$message.error(t.message),this.message=t.message,this.confirmLoading=!1;return}if((this.query.authorize_type?this.query.authorize_type:"")!==""){this.viewFormDetails(t.data);return}this.loginSuccess(t.data)})},viewFormDetails(t){this.authorizeType="finish",r.default.ls.set("ACCESS_TOKEN",t.accesstoken),this.$store.commit("SET_TOKEN",t.accesstoken);let e="";for(let s in this.query){const i=["complete_request","redirect_uri","request_url"].includes(s)?encodeURIComponent(this.query[s]):this.query[s];e+=`${e===""?"?":"&"}${s}=${i}`}this.showAuthorize=!1,this.showDetails=!0,this.dictTypeData().then(s=>{this.$nextTick(()=>{setTimeout(()=>{this.confirmLoading=!1,this.$refs.viewFormDetails.open(e)},100)})})},loginSuccess(t){this.authorizeType="finish",r.default.ls.set("ACCESS_TOKEN",t.accesstoken),this.$store.commit("SET_TOKEN",t.accesstoken);const e=this.query.redirect_uri?this.query.redirect_uri:"";if(e===""){let o=t.configtheme?t.configtheme.replace(/\\/g,"/").split(","):null,a="/";if(o){let l=o[o.length-1];String(l).split("").forEach((n,h)=>{a+=h==0&&n==="/"?"":n})}this.$router.push({path:o?a:"/"}),this.loginOther();return}const s=this.query.redirect_type?this.query.redirect_type:"self",i=decodeURIComponent(e);s==="self"?this.$router.push(i):window.location.replace(i)},loginOther(){this.dictTypeData().then(e=>{});const t=new BroadcastChannel("gd-channel-msg");t.postMessage({type:"login",data:{gdTagName:window.gdTagName}}),t.close()},onMessage(t){t.data.eventType==="btn-click"&&this.$refs.viewFormDetails&&this.$refs.viewFormDetails.doEvent(JSON.parse(t.data.data))},...c.mapActions(["Logout","dictTypeData"])},created(){this.init(),window.addEventListener("message",this.onMessage)},beforeDestory(){window.removeEventListener("message",this.monitorIframe)}};var p=function(){var e=this,s=e._self._c;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"gd-authorize"},[e.showAuthorize?s("div",{staticClass:"authorize-loading"},[e.authorizeType==="loading"?s("div",{staticClass:"title"},[s("i",{staticClass:"el-icon-loading"}),e._v(" "+e._s(e.$i18nt("gd.login.authorization","\u6388\u6743\u4E2D...."))+" ")]):e.authorizeType==="fail"?s("div",{staticClass:"err"},[s("i",{staticClass:"el-icon-warning"}),e._v(" "+e._s(e.message)+" ")]):s("div",{staticClass:"title"},[s("i",{staticClass:"el-icon-success"}),e._v(" "+e._s(e.$i18nt("gd.login.authorizationCompleted","\u6388\u6743\u5DF2\u5B8C\u6210"))+" ")])]):e._e(),e.showDetails?s("gd-view-form-details",{ref:"viewFormDetails",on:{close:e.closeShowDetails,changeBtn:e.onChangeBtn,beaseLoadComplete:e.beaseLoadComplete}}):e._e()],1)},f=[],_=c.normalizeComponent(m,p,f,!1,null,"3eb92d67",null,null);const y=_.exports;exports.default=y;
@@ -1,11 +1,13 @@
1
- import { m as l, n } from "./chartbi.eb4dd0af.mjs";
2
- import { s as d } from "./system.noticereceived.51b6353a.mjs";
3
- import { t as c } from "./messages.a739f4fc.mjs";
4
- import { j as m } from "./system.notice.5f8cd020.mjs";
5
- import "./system.email.db5da8d7.mjs";
6
- import "./system.account.7c6ea20c.mjs";
7
- import "vue";
8
- import "./system.fieldsecurity.9d40595f.mjs";
1
+ import { m as l, n } from "./components.chartbi.470b96af.mjs";
2
+ import { s as d } from "./http.noticereceivedmanage.50797be1.mjs";
3
+ import { t as c } from "./utils.mixins.js.be01e599.mjs";
4
+ import { g as m } from "./http.noticemanage.2cdb23b8.mjs";
5
+ import "./components.form.a7b3ea37.mjs";
6
+ import "./utils.echarts.js.d1bb8ac6.mjs";
7
+ import "./utils.util.js.885de913.mjs";
8
+ import "./http.filemanage.c0de21d6.mjs";
9
+ import "./http.main.1af1e119.mjs";
10
+ import "./http.tabledevelopment.7adf4910.mjs";
9
11
  const p = {
10
12
  data() {
11
13
  return {
@@ -192,7 +194,7 @@ var y = function() {
192
194
  null,
193
195
  null
194
196
  );
195
- const S = v.exports;
197
+ const z = v.exports;
196
198
  export {
197
- S as default
199
+ z as default
198
200
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./http.tabledevelopment.a880bb76.js"),c=require("./components.chartbi.e9459775.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const h={props:{tableData:{type:Object,default:()=>({})},fieldData:{type:Array,default:()=>[]}},data(){return{spinning:!1,visible:!1,width:"506px",list:[],personalList:[],viewId:"",loadData:[],buttons:[{displayName:"\u653E\u5927\u67E5\u770B",functionName:"amplify",show:!0,transKey:"gd.echarts.amplify",icon:"el-icon-search"}]}},components:{EditEchartsConfig:()=>Promise.resolve().then(()=>require("./personal.echarts.b5a7f574.js")).then(s=>s.edit)},computed:{getButtons(){return this.list.concat(this.personalList).length===0?[]:this.buttons},getTitle(){const s=this.list.concat(this.personalList).filter(t=>t.id===this.viewId)[0];return s?this.$i18nt(`Dynamics.${s.transKey}`,s.name):this.$i18nt("gd.echarts.noEcharts","\u6682\u65E0\u56FE\u8868\uFF0C\u8BF7\u5148\u521B\u5EFA...")},colorList(){let s=this.list.concat(this.personalList).filter(t=>t.id==this.viewId)[0];return s===void 0?[]:s.colour===null?[]:s.colour.split(",")},fadeColord(){return this.fadeColor(this.primaryColor,.1)},...c.mapGetters(["primaryColor"])},methods:{echartsManage(){this.$router.push({name:"echartsManage"})},add(){this.$refs.editEchartsConfig.open(null)},amplify(){this.list.concat(this.personalList).filter(t=>t.id===this.viewId)[0]&&this.$refs.refCharts.amplify()},change(s){let t=this.list.concat(this.personalList).filter(a=>a.id==this.viewId)[0],e=JSON.parse(t.classlabel);if(e.length>1)return;let i=s.name,l=e[0].dictTypeCode?e[0].dictTypeCode:"";if(l){let a=this.getDictionary(l).filter(d=>d.name==s.name)[0];i=a!==void 0?a.code:""}let r=e[0].dataIndex,n=this.loadData.filter(a=>a[r]==i);this.dataSource=[...n],(i===""||i===`${this.$i18nt("gd.echarts.none","\u7A7A\u767D")}`)&&(n=this.loadData.filter(a=>a[r]===null)),this.$emit("setLoadData",n)},handleMenuClick(s){s.id!==this.viewId&&(this.viewId=s.id,this.$refs.popover.doClose(),this.seeEcharts())},open(){this.visible=!0,this.spinning=!0,this.$nextTick(()=>{Promise.all([this.getList(),this.getPersonalList()]).then(s=>{let t=this.list.concat(this.personalList);this.viewId=this.viewId==""?t.length>0?t[0].id:this.viewId:this.viewId,this.seeEcharts(),this.spinning=!1})})},seeEcharts(){this.$nextTick(()=>{setTimeout(()=>{let s=this.list.concat(this.personalList).filter(e=>e.id==this.viewId)[0];if(s===void 0)return;let t={tableId:this.tableData.id,mode:s.collectway,type:s.echartstype,columnName:s.echartsorder,list:JSON.parse(s.classlabel),name:s.name,data:this.loadData,transKey:s.transkey};console.log(t),this.$refs.refCharts.open(t)},0)})},setLoadData(s){this.loadData=[...s],this.viewId!=""&&this.visible&&this.seeEcharts()},getList(){return o.sysEchartsPage({sysCodeGenId:this.tableData.id}).then(s=>(s.code==200&&(this.list=s.data),this.loading=!0,s.data))},getPersonalList(){return o.sysEchartsPersonalPage({sysCodeGenId:this.tableData.id}).then(s=>(s.code==200&&(this.personalList=s.data),s.data))},closed(){this.visible=!1},fadeColor(s,t){let e=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),l=parseInt(s.substring(5,7),16);return`rgba(${e},${i},${l},${t})`},getDictionary(s){return this.$options.filters.dictData(s)},doEvent(s){let t=s.item.functionName;this[t]&&this[t]()}}};var p=function(){var t=this,e=t._self._c;return e("div",[e("el-drawer",{attrs:{visible:t.visible,"close-on-press-escape":!1,"append-to-body":!1,"destroy-on-close":!0,"modal-append-to-body":!0,modal:!1,wrapperClosable:!1,size:t.width,"custom-class":"gd-drawer-chart","show-close":!1},on:{"update:visible":function(i){t.visible=i}}},[e("template",{slot:"title"},[e("div",{staticClass:"gd-charts-head"},[e("div",{staticClass:"head-list"},[e("el-popover",{ref:"popover",attrs:{placement:"bottom-start",trigger:"click"}},[e("div",{staticClass:"selectionl-popover",style:{"--dilute":t.fadeColord}},[e("div",{staticClass:"selectionl-popover-name"},[e("div",{staticClass:"name-title"},[t._v(" "+t._s(t.$i18nt("gd.echarts.sysEcharts","\u7CFB\u7EDF\u56FE\u8868"))+" ")])]),e("div",{staticClass:"popover-dashed"},[e("el-divider",{attrs:{dashed:""}})],1),t._l(t.list,function(i){return[e("div",{staticClass:"selectionl-popover-item",on:{click:function(l){return t.handleMenuClick(i)}}},[e("div",{staticClass:"name-title"},[t._v(" "+t._s(t.$i18nt(`Dynamics.${i.transKey}`,i.name))+" ")]),t.viewId===i.id?e("i",{staticClass:"gd-icons gd-icon-a-dingshuding-fill1"}):t._e()])]}),t.list.length===0&&!t.spinning?e("div",{staticClass:"selectionl-popover-item"},[e("div",{staticClass:"name-title"},[t._v(" "+t._s(t.$i18nt("gd.echarts.noSysEcharts","\u6682\u65E0\u7CFB\u7EDF\u56FE\u8868"))+" ")])]):t._e(),e("div",{staticClass:"popover-solid"},[e("el-divider")],1),e("div",{staticClass:"selectionl-popover-name"},[e("div",{staticClass:"name-title"},[t._v(" "+t._s(t.$i18nt("gd.echarts.myEcharts","\u6211\u7684\u56FE\u8868"))+" ")]),e("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticStyle:{"margin-left":"6px"},attrs:{placement:"top","open-delay":50}},[e("template",{slot:"content"},[t._v(" "+t._s(t.$i18nt("gd.echarts.echartsManage","\u7BA1\u7406\u4E2A\u4EBA\u56FE\u8868"))+" ")]),e("i",{staticClass:"el-icon-setting active-color",staticStyle:{"font-size":"22px",cursor:"pointer"},on:{click:t.echartsManage}})],2),e("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticStyle:{"margin-left":"6px"},attrs:{placement:"top","open-delay":50}},[e("template",{slot:"content"},[t._v(" "+t._s(t.$i18nt("gd.echarts.createEcharts","\u521B\u5EFA\u4E2A\u4EBA\u56FE\u8868"))+" ")]),e("i",{staticClass:"el-icon-plus active-color",staticStyle:{"font-size":"22px",cursor:"pointer"},on:{click:t.add}})],2)],1),e("div",{staticClass:"popover-dashed"},[e("el-divider",{attrs:{dashed:""}})],1),t._l(t.personalList,function(i){return[e("div",{staticClass:"selectionl-popover-item",on:{click:function(l){return t.handleMenuClick(i)}}},[e("div",{staticClass:"name-title"},[t._v(" "+t._s(t.$i18nt(`Dynamics.${i.transKey}`,i.name))+" ")]),t.viewId===i.id?e("i",{staticClass:"gd-icons gd-icon-a-dingshuding-fill1"}):t._e()])]})],2),e("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e("div",{staticClass:"selectionl-popover-view"},[e("div",{staticClass:"selectionl-popover-name line1"},[t._v(t._s(t.getTitle))]),e("i",{staticClass:"el-icon-arrow-down",staticStyle:{color:"#606266","font-size":"17px"}})])])],1)],1),e("div",{staticClass:"head-btn"},[e("gd-modal-title",{attrs:{title:"",buttons:t.getButtons,confirmLoading:t.spinning,showFullscreen:!1,showClose:!0},on:{changeEvent:t.doEvent}})],1)])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.spinning,expression:"spinning"}],ref:"chartsDat",staticClass:"gd-charts-data"},[t.visible?e("gd-echarts",{ref:"refCharts",attrs:{loadData:t.fieldData,color:t.colorList},on:{change:t.change}}):t._e()],1)],2),e("EditEchartsConfig",{ref:"editEchartsConfig",attrs:{table:t.tableData,holderType:2},on:{ok:t.open}})],1)},v=[],u=c.normalizeComponent(h,p,v,!1,null,"8303a7f0",null,null);const f=u.exports;exports.default=f;
@@ -0,0 +1,189 @@
1
+ import { f as l } from "./http.sysapps.932ba43b.mjs";
2
+ import { m as r, n as d } from "./components.chartbi.470b96af.mjs";
3
+ import { t as h } from "./utils.mixins.js.be01e599.mjs";
4
+ import "./utils.echarts.js.d1bb8ac6.mjs";
5
+ import "./utils.util.js.885de913.mjs";
6
+ const p = {
7
+ data() {
8
+ return {
9
+ tableColumns: [
10
+ {
11
+ transKey: "gd.application.version",
12
+ prop: "version",
13
+ label: "\u7248\u672C",
14
+ width: "160",
15
+ align: "left",
16
+ fixed: !0
17
+ },
18
+ {
19
+ transKey: "gd.application.content",
20
+ prop: "description",
21
+ width: "320",
22
+ label: "\u5185\u5BB9",
23
+ align: "left",
24
+ showOverflowTooltip: !0
25
+ },
26
+ {
27
+ transKey: "gd.solution.publisher",
28
+ prop: "publishedusername",
29
+ width: "160",
30
+ label: "\u53D1\u5E03\u8005",
31
+ align: "left"
32
+ },
33
+ {
34
+ transKey: "gd.application.publicationType",
35
+ prop: "publishtype",
36
+ width: "120",
37
+ type: "slot",
38
+ slotType: "publishtype",
39
+ label: "\u53D1\u5E03\u7C7B\u578B",
40
+ align: "left"
41
+ },
42
+ {
43
+ transKey: "gd.application.state",
44
+ prop: "statecodes",
45
+ width: "120",
46
+ type: "slot",
47
+ slotType: "statecodes",
48
+ label: "\u72B6\u6001",
49
+ align: "left"
50
+ },
51
+ {
52
+ transKey: "gd.application.creationTime",
53
+ prop: "createdtime",
54
+ width: "120",
55
+ label: "\u521B\u5EFA\u65F6\u95F4",
56
+ align: "center"
57
+ }
58
+ ],
59
+ formColumns: [],
60
+ tableButtons: [],
61
+ formButtons: [{
62
+ displayName: "\u786E\u5B9A",
63
+ functionName: "handleSubmit",
64
+ show: !0,
65
+ transKey: "gd.btn.confirm",
66
+ icon: "el-icon-document-checked",
67
+ validate: !0
68
+ }]
69
+ };
70
+ }
71
+ };
72
+ const c = {
73
+ props: {
74
+ height: {
75
+ type: Number,
76
+ default: 100
77
+ }
78
+ },
79
+ mixins: [h, p],
80
+ data() {
81
+ return {
82
+ transKey: "gd.btn.add",
83
+ formLoading: !1,
84
+ loading: !0,
85
+ selectedRowKeys: [],
86
+ selectedRows: [],
87
+ queryParam: {},
88
+ loadData: (s) => l({}).then((t) => t.data)
89
+ };
90
+ },
91
+ computed: {
92
+ ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
93
+ },
94
+ methods: {
95
+ refresh() {
96
+ this.$refs.table.refresh();
97
+ },
98
+ editForm(s) {
99
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
100
+ },
101
+ del() {
102
+ if (this.selectedRowKeys.length === 0) {
103
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
104
+ return;
105
+ }
106
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
107
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
108
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
109
+ showClose: !1,
110
+ confirmButtonLoading: !1,
111
+ cancelButtonLoading: !1,
112
+ closeOnClickModal: !1,
113
+ type: "warning",
114
+ confirmButtonClass: "el-button--danger",
115
+ customClass: "custom-alert",
116
+ callback: () => {
117
+ },
118
+ beforeClose: (s, t, e) => {
119
+ this.delHand(s, t, e);
120
+ }
121
+ });
122
+ },
123
+ delHand(s, t, e) {
124
+ if (s !== "confirm") {
125
+ e();
126
+ return;
127
+ }
128
+ let i = [];
129
+ this.selectedRows.forEach((n) => {
130
+ let o = sysPosDelete(n).then((a) => a);
131
+ i.push(o);
132
+ }), t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, Promise.all(i).then((n) => {
133
+ t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, e();
134
+ const o = n.filter((a) => !a.success);
135
+ o.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o[0].message), this.handleOk();
136
+ });
137
+ },
138
+ add() {
139
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
140
+ },
141
+ edit() {
142
+ if (this.selectedRowKeys.length === 0) {
143
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
144
+ return;
145
+ }
146
+ if (this.selectedRowKeys.length > 1) {
147
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
148
+ return;
149
+ }
150
+ this.editForm(this.selectedRows[0]);
151
+ },
152
+ sbumit({ data: s, record: t, btn: e }, i, n) {
153
+ this.formLoading = !0, (t ? sysPosEdit : sysPosAdd)(s).then((a) => {
154
+ a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), this.formLoading = !1;
155
+ });
156
+ },
157
+ handleOk() {
158
+ this.$refs.table.refresh();
159
+ },
160
+ onSelectChange(s, t) {
161
+ this.selectedRowKeys = s, this.selectedRows = t;
162
+ },
163
+ doEvent(s) {
164
+ }
165
+ }
166
+ };
167
+ var u = function() {
168
+ var t = this, e = t._self._c;
169
+ return e("div", [e("div", [e("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.tableColumns, selectedRowKeys: t.selectedRowKeys, height: t.height }, on: { onChange: t.onSelectChange }, scopedSlots: t._u([{ key: "publishtype", fn: function(i) {
170
+ return [e("el-tag", { style: t._f("dictColor")("appspublishtype", i.row.publishtype), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("appspublishtype", i.row.publishtype)) + " ")])];
171
+ } }, { key: "statecodes", fn: function(i) {
172
+ return [e("el-tag", { style: t._f("dictColor")("appspublishstatus", i.row.statecodes), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("appspublishstatus", i.row.statecodes)) + " ")])];
173
+ } }, { key: "operator", fn: function() {
174
+ return [e("div", { staticClass: "gd-table-operator" }, [e("div", { staticClass: "gd-table-operatorr" }, [e("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1)])];
175
+ }, proxy: !0 }]) })], 1)]);
176
+ }, f = [], g = /* @__PURE__ */ d(
177
+ c,
178
+ u,
179
+ f,
180
+ !1,
181
+ null,
182
+ "90446f36",
183
+ null,
184
+ null
185
+ );
186
+ const $ = g.exports;
187
+ export {
188
+ $ as default
189
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./components.chartbi.e9459775.js"),v=require("./utils.mixins.js.750ca50e.js"),w=require("./view.build.9af3087b.js"),k=require("./index.fe757a98.js"),F=require("./components.imgpreview.706a89f0.js"),y=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");require("./page.build.4d28df9a.js");require("./form.designer.build.3fdf8007.js");require("vue");require("./components.table.61eb5d81.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.form.56ea8f98.js");require("./http.filemanage.7e6e3e1a.js");require("./http.tabledevelopment.a880bb76.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.duplicatechecking.ee5c414c.js");require("./http.menumanage.6d740f2c.js");require("./packages.filedocument.9b8eda0d.js");require("./http.filedocument.6fdfc693.js");require("./components.uploadfile.e93b500d.js");require("./router.config.7fd04c30.js");require("./layouts.a662f681.js");require("./components.sidenavmenu.ef33de39.js");require("./http.loginmanage.326984c3.js");require("./http.noticemanage.2507d094.js");require("./components.globalheader.0a7ce959.js");require("./components.multitab.726cff2f.js");require("./components.sidemenu.5107c7e3.js");require("./system.account.1b281679.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./components.settingdrawer.1af86231.js");require("./http.appmanage.b998818f.js");require("./system.welcome.eedf1db2.js");require("./flow.designer.4c83c0d3.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.useraffiliation.af2013ad.js");require("./components.xlsximport.e3bcb07d.js");require("./http.promptmanagement.d115c4b0.js");require("./utils.plug.js.f62510ce.js");require("./components.coloreditor.dbec8da6.js");require("./personal.echarts.b5a7f574.js");require("./components.teamsharing.68865424.js");require("./store.config.556bd56b.js");require("./form.build.c38bf362.js");require("./components.viewformdetails.3c1596ad.js");require("./system.notice.fb151c45.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.4d1101dd.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.6af04c44.js");require("./components.tableumy.eba43953.js");require("./components.tooltip.e2e21e66.js");require("./components.selecttree.2fadffca.js");require("./components.iconselector.0c03cfc7.js");require("./components.modaltitle.cc9ba616.js");require("./components.dataassign.b6a1bffb.js");require("./components.middleware.01601349.js");require("./components.echarts.d09e9850.js");require("./components.viewloading.5b178ec5.js");require("./components.exception.11315db5.js");require("./components.uploadimg.3804913e.js");require("./components.lunccalendar.fe7db238.js");require("./components.watermark.849409ca.js");require("./system.org.b6f826e8.js");require("./system.pos.5a1663d8.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.8e4fe6b0.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.dffc2543.js");require("./system.role.e164f059.js");require("./system.log.14c22a7a.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.379beacb.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.fc26aff9.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.0ff45e62.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.3a29d891.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./system.webresource.1d3ed352.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.3ea880d8.js");require("./system.file.b8e4e6a1.js");require("./system.timers.2f884e41.js");require("./http.timersmanage.6e894942.js");require("./http.solution.c6b2634f.js");require("./http.translationmanage.1f9dce46.js");require("./flow.list.f41ee531.js");require("./solution.dict.f1c9bae6.js");require("./solution.processflow.0adf4f55.js");require("./solution.workflow.985e1f4d.js");require("./solution.approvalflow.81b7cfb7.js");require("./solution.webresources.e817757c.js");require("./solution.plugin.7094dbfd.js");require("./http.pluginmanage.6a876040.js");require("./system.plugin.3fcf7b0b.js");require("./solution.role.d35cb00d.js");require("./solution.application.3ae7c0c5.js");require("./solution.applicationmenu.67aba620.js");require("./solution.menu.6512047f.js");require("./system.translation.6e99c852.js");require("./system.duplicatechecking.1083eb1e.js");require("./system.promptmanagement.53c301a3.js");require("./system.useraffiliation.f8b33def.js");require("./system.email.41036a31.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.97f68887.js");require("./system.datasource.4243937d.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.5e9cd262.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.3e605266.js");require("./http.team.e45400d5.js");require("./system.teammembers.a098883b.js");require("./system.document.69e534a6.js");require("./messages.5f54a62e.js");require("./http.message.87f319d7.js");require("./translation.mains.5cfc7a2f.js");const S={data(){return{tableColumns:[{transKey:"gd.duplicatechecking.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0}],formColumns:[],tableButtons:[],formButtons:[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!0,transKey:"gd.btn.save",icon:"el-icon-document-checked",validate:!0}],tableQueries:[]}}};const T={name:"Gdduplicate",mixins:[v.tablesFilter,S],props:{height:{type:Number,default:100}},data(){return{statu:!1,currentImg:"",imgList:[],selectedRowKeys:[],selectedRows:[],confirmLoading:!0,fullScreen:!1,width:"80%",tableData:{},newtableData:[],visible:!1,sysViewButtons:[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!1,transKey:"gd.btn.save",icon:"el-icon-document-checked"}],loadData:t=>new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:this.newtableData})}),tableDataduplic:t=>new Promise((e,s)=>{const r=this.tables[this.selectedTable].table||[];setTimeout(()=>{e({pageNo:1,pageSize:40,totalRows:r.totalrows,rows:r.rows})},150)}),queryParam:{},tables:{},selectedTable:"",sysViewFields:[],columns:[],objdata:{},newformdata:{},isshowtable:!0}},components:{ChildRenItem:k.ChildRenItem,ImgPreview:F.default},computed:{getHeight(){const t=this.fullScreen?292:443;return this.screenHeight-t},sysviewfields(){var s;return[...((s=this.tables[this.selectedTable])==null?void 0:s.viewfields)||[]].sort((r,a)=>r.order-a.order)},getColumnsed(){return this.columns.filter(e=>e.prop!=="name")},newgetColumnsed(){return this.newcolumns.filter(e=>e.prop!=="name")},getFristColumn(){const t=this.columns.filter(e=>e.type!=="selection"&&e.checked)[0];return t||{}},newgetFristColumn(){const t=this.newcolumns.filter(e=>e.type!=="selection"&&e.checked)[0];return t||{}},...q.mapGetters(["screenHeight","tablePageSize","tableSize","labelPosition","formMode"])},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},init(t,e,s,r){this.tableData=t,this.tableData.issave?this.sysViewButtons=[{displayName:"\u4FDD\u5B58",functionName:"handleSubmit",show:!0,transKey:"gd.btn.save",icon:"el-icon-document-checked"}]:this.sysViewButtons=[];const a=Object.entries(JSON.parse(JSON.stringify(t.data))).sort((i,u)=>u[1].table.rows.length-i[1].table.rows.length).reduce((i,[u,h])=>(i[u]=h,i),{});this.tables=a,this.selectedTable=Object.keys(this.tables)[0],this.newformdata=e,this.newtableData=[Object.assign({...e},{...s.newdata})],this.objdata=s;let o=[],d=[],l=0;this.sysviewfields.forEach((i,u)=>{var g;const h=String(i.id);let n=w.getColumns(i,u,0);l===0&&n&&n.checked&&(Object.assign(n,{type:"slot",slotType:n.prop}),l+=1),n&&Object.assign(n,{type:"slot",slotType:n.prop,dictTypeList:(g=i==null?void 0:i.syscodegenconfig)!=null&&g.dicttypecode?this.getDictionary(i.syscodegenconfig.dicttypecode):[]}),o.push(n);let j={name:i.alias==""?i.columncomment:i.alias,width:Number(i.num),order:u,type:h.length>1?2:1,fieldid:h,jointableid:i.codegenid,joinfieldid:h,orderconfig:i.orderconfig?1:0,maxtagcount:i.maxtagcount?Number(i.maxtagcount):2};d.push(j)}),this.sysViewFields=[...d],this.columns=[...o];let f=[],m=[],p=0;[...this.tableData.mainfields].sort((i,u)=>i.order-u.order).forEach((i,u)=>{var g;const h=String(i.id);let n=w.getColumns(i,u,0);p===0&&n&&n.checked&&(Object.assign(n,{type:"slot",slotType:n.prop}),p+=1),n&&Object.assign(n,{type:"slot",slotType:n.prop,dictTypeList:(g=i==null?void 0:i.syscodegenconfig)!=null&&g.dicttypecode?this.getDictionary(i.syscodegenconfig.dicttypecode):[]}),f.push(n);let j={name:i.alias==""?i.columncomment:i.alias,width:Number(i.num),order:u,type:h.length>1?2:1,fieldid:h,jointableid:i.codegenid,joinfieldid:h,orderconfig:i.orderconfig?1:0,maxtagcount:i.maxtagcount?Number(i.maxtagcount):2};m.push(j)}),this.newsysViewFields=[...m],this.newcolumns=[...f],this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0},getDictionary(t){return this.$options.filters.dictData(t)},handleSubmit(){this.objdata.data.id?this.objdata.fucedit(this.objdata).then(t=>{this.handleCancel()}).catch(t=>{this.$message.error(t.message)}):this.objdata.fucadd(this.objdata).then(t=>{this.handleCancel()}).catch(t=>{this.$message.error(t.message)})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.tableData={},this.tables={},this.selectedTable="",this.newtableData=[],this.sysViewFields=[],this.columns=[],this.newformdata={}},doEvent(t){console.log(t);let e=t.item.functionName;this[e]()},refresh(){this.$refs.table.refresh()},editForm(t){this.$refs.middleware.init({tableId:this.newformdata.tableId,data:[t]}).then(e=>{setTimeout(()=>{this.statu=!1},1e3)})},selectTable(t){this.isshowtable=!1,this.selectedTable=t,this.$nextTick(()=>{let e=[],s=[],r=0;this.sysviewfields.forEach((a,o)=>{const d=String(a.id);let l=w.getColumns(a,o,0);r===0&&l&&l.checked&&(Object.assign(l,{type:"slot",slotType:l.prop}),r+=1),l&&Object.assign(l,{type:"slot",slotType:l.prop}),e.push(l);let f={name:a.alias==""?a.columncomment:a.alias,width:Number(a.num),order:o,type:d.length>1?2:1,fieldid:d,jointableid:a.codegenid,joinfieldid:d,orderconfig:a.orderconfig?1:0,maxtagcount:a.maxtagcount?Number(a.maxtagcount):2};s.push(f)}),this.sysViewFields=[...s],this.columns=[...e],this.isshowtable=!0}),this.refresh()},operatorScope(t,e){const s=t.sourceFk!==void 0?t.sourceFk:!(t.fieldType!="fk"&&t.fieldType!="about"&&t.fieldType!="user");if(this.getFristColumn.prop===t.prop&&!s){this.changeQuickView(e);return}s&&this.baseQuickForm(e,t)},changeQuickView(t){if(this.statu)return;this.statu=!0;const e=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init({tableId:this.newformdata.tableId,data:[t]}).then(s=>{setTimeout(()=>{this.statu=!1},1e3),e.close()})},baseQuickAbout(t,e){this.statu=!0;const s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});y.baseDetails({tableId:this.newformdata.tableId,id:t.id}).then(r=>{if(r.success){let a=e.prop+"_AboutTable",o={data:t,item:Object.assign(e,{fkEntityName:r.data[0][a]})};this.baseQuickFk(o,s)}else s.close(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(r.message)},0)})})},baseQuickForm(t,e){if(!this.statu){if(e.fieldType=="about"){this.baseQuickAbout(t,e);return}this.baseQuickFk({data:t,item:e})}},baseQuickFk(t,e){let s=e;t.item.fieldType!="about"&&(this.statu=!0,s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"}));let r={thisTableName:this.objdata.tableDetails.tablename,thisIdValue:t.data.id,thisFiled:t.item.columnName,fkTable:t.item.fkEntityName};y.onlineFormGetFkRelation(r).then(a=>{a.success?this.$refs.middleware.init(Object.assign(a.data,{fieldType:t.item.fieldType})).then(o=>{setTimeout(()=>{this.statu=!1},1e3),s.close()}):(s.close(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(a.message)},0)}))})},showFile(t,e){const s=e[t.prop];let r=s;typeof s=="string"&&(r=JSON.parse(s));let a=e.name!==void 0?e.name:c.title,o=new JSZip,d=[],l={};r.forEach(m=>{let p=this.getFileBlob(m).then(b=>{o.file(m.FileOriginName,b,{binary:!0}),l[m.FileOriginName]=b});d.push(p)});const f=this.$message({message:this.$i18nt("gd.https.downloadingFiles","\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});Promise.all(d).then(()=>{o.generateAsync({type:"blob"}).then(m=>{FileSaver.saveAs(m,a)}),f.close()}).catch(m=>{f.close(),this.$message.error("err!")})},getFileBlob(t){return sysFileInfoDownload({id:t.Id}).then(e=>e.data)},showImg(t,e,s){console.log(e),this.imgList=e,this.currentImg=s||list[0],this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open()}}};var _=function(){var e=this,s=e._self._c;return s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,footer:null,top:"80px","append-to-body":"",fullscreen:e.fullScreen,"show-close":!1},on:{"update:visible":function(r){e.visible=r},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.$i18nt("gd.duplicatechecking.duplicateDetected","\u68C0\u6D4B\u5230\u91CD\u590D\u4FE1\u606F"),fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,closed:"handleCancel",showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),e.visible?s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",[s("el-alert",{staticStyle:{"margin-top":"0"},attrs:{title:e.$i18nt("gd.duplicatechecking.recordPleaseCheckSaveRecord","\u8BB0\u5F55\u53EF\u80FD\u4E0E\u67D0\u4E2A\u73B0\u6709\u8BB0\u5F55\u91CD\u590D\u3002\u8BF7\u68C0\u67E5\u53EF\u80FD\u91CD\u590D\u7684\u9879\u5E76\u51B3\u5B9A\u662F\u5426\u4ECD\u8981\u4FDD\u5B58\u6B64\u8BB0\u5F55\u3002"),"show-icon":"",type:"warning",closable:!1}}),s("div",[s("gd-tables",{attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.newcolumns,showPagination:!1,disabledRefresh:!0},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"active-color",staticStyle:{"font-size":"16px","font-weight":"500"}},[e._v(" "+e._s(e.$i18nt("gd.duplicatechecking.myNewRecord","\u6211\u7684\u65B0\u8BB0\u5F55"))+" ")])]},proxy:!0},{key:"name",fn:function({column:r,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},e._l(e.newgetColumnsed,function(r){return{key:r.prop,fn:function({column:a,row:o}){return[s("ChildRenItem",{attrs:{item:r,row:o,getFristColumn:e.newgetFristColumn},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg}})]}}})],null,!0)})],1),s("div",[e.isshowtable?s("gd-tables",{ref:"table",attrs:{dataSource:e.tableDataduplic,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,disabledRefresh:!0,height:e.getHeight,showPagination:!1},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticStyle:{"align-items":"center",display:"flex"}},[s("span",{staticStyle:{flex:"1",color:"#e6a23c","font-size":"16px","font-weight":"500"}},[e._v(" "+e._s(e.$i18nt("gd.duplicatechecking.possibleDuplicateRecords","\u53EF\u80FD\u91CD\u590D\u7684\u8BB0\u5F55"))+" ")]),s("el-select",{ref:"refTable",staticStyle:{width:"260px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:""},on:{change:e.selectTable},model:{value:e.selectedTable,callback:function(r){e.selectedTable=r},expression:"selectedTable"}},e._l(e.tables,function(r,a){return s("el-option",{key:a,attrs:{label:e.$i18nt(`Dynamics.${r.transkey}`,a)+" ("+r.table.rows.length+")",value:a}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${r.transkey}`,a))+"("+e._s(r.table.rows.length)+") ")])}),1)],1)]},proxy:!0},{key:"name",fn:function({column:r,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},e._l(e.getColumnsed,function(r){return{key:r.prop,fn:function({column:a,row:o}){return[s("ChildRenItem",{attrs:{item:r,row:o,getFristColumn:e.getFristColumn},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg}})]}}})],null,!0)}):e._e()],1)],1)]):e._e(),s("ImgPreview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}}),s("gd-middleware",{ref:"middleware",on:{ok:e.refresh}})],1)},C=[],$=q.normalizeComponent(T,_,C,!1,null,"5d3388f6",null,null);const x=$.exports;exports.default=x;
@@ -0,0 +1,231 @@
1
+ import { m as p, n as v } from "./components.chartbi.470b96af.mjs";
2
+ import { s as g } from "./utils.util.js.885de913.mjs";
3
+ import { p as u } from "./utils.plug.js.9313aead.mjs";
4
+ import "./utils.echarts.js.d1bb8ac6.mjs";
5
+ const y = {
6
+ props: {
7
+ record: {
8
+ type: Object,
9
+ default: () => ({})
10
+ },
11
+ sysViewButtons: {
12
+ type: Array,
13
+ default: () => []
14
+ },
15
+ sysViewList: {
16
+ type: Array,
17
+ default: () => []
18
+ },
19
+ personalViewList: {
20
+ type: Array,
21
+ default: () => []
22
+ },
23
+ viewCode: {
24
+ type: [String, Number],
25
+ required: !0
26
+ },
27
+ defaultViewId: {
28
+ type: [String, Number],
29
+ default: 0
30
+ },
31
+ maxBtnLength: {
32
+ type: Number,
33
+ default: 12
34
+ },
35
+ tableData: {
36
+ type: Object,
37
+ default: () => ({})
38
+ },
39
+ fieldData: {
40
+ type: Array,
41
+ default: () => []
42
+ },
43
+ selectedRowKeys: {
44
+ type: Array,
45
+ default: () => []
46
+ },
47
+ openMode: {
48
+ type: [String, Number],
49
+ default: 1
50
+ },
51
+ confirmLoading: {
52
+ type: Boolean,
53
+ default: !1
54
+ },
55
+ showView: {
56
+ type: Boolean,
57
+ default: !0
58
+ },
59
+ showBtn: {
60
+ type: Boolean,
61
+ default: !0
62
+ }
63
+ },
64
+ data() {
65
+ return {
66
+ viewCodeOld: ""
67
+ };
68
+ },
69
+ components: { EditPerson: () => import("./router.config.79a98ab8.mjs").then((a) => a.e) },
70
+ computed: {
71
+ getSysViewList() {
72
+ const a = this.viewCodeOld === "" ? this.viewCode : this.viewCodeOld, e = this.sysViewList.filter((i) => i.id === a), t = this.sysViewList.filter((i) => !!(i.id !== a && this.$hasPerm(i.permissions))), s = this.sysViewList.filter((i) => !!t.concat(e).filter((d) => d.id === i.id)[0]);
73
+ return this.showPersonal ? s : e;
74
+ },
75
+ showPersonal() {
76
+ return (this.record.options.viewWeights ? this.record.options.viewWeights : "2") !== "1";
77
+ },
78
+ viewList() {
79
+ return this.sysViewList.concat(this.personalViewList);
80
+ },
81
+ getTitle() {
82
+ const a = this.sysViewList.concat(this.personalViewList).filter((e) => e.id === this.viewCode)[0];
83
+ return a ? this.$i18nt(`Dynamics.${a.transkey}`, a.name) : "--";
84
+ },
85
+ fadeColord() {
86
+ return this.fadeColor(this.primaryColor, 0.1);
87
+ },
88
+ ...p(["primaryColor"])
89
+ },
90
+ methods: {
91
+ configOk() {
92
+ this.$emit("updatePersonalView");
93
+ },
94
+ handleMenuClick(a) {
95
+ !this.showPersonal && this.viewCodeOld === "" && (this.viewCodeOld = this.viewCode), this.$refs.popover.doClose(), this.$emit("handleMenuClick", a);
96
+ },
97
+ fadeColor(a, e) {
98
+ let t = parseInt(a.substring(1, 3), 16), s = parseInt(a.substring(3, 5), 16), i = parseInt(a.substring(5, 7), 16);
99
+ return `rgba(${t},${s},${i},${e})`;
100
+ },
101
+ functionName(a) {
102
+ this.$emit("functionName", a);
103
+ },
104
+ personalView() {
105
+ this.$store.dispatch("SeekTableId", this.tableData.id), this.$refs.popover.doClose(), this.$router.push({
106
+ name: "advancedFind"
107
+ });
108
+ },
109
+ copy() {
110
+ let a = this.viewList.filter((s) => s.id == this.viewCode)[0], e = this.getViewFields(a);
111
+ if (e.list.length == 0) {
112
+ this.$message.warning(this.$i18nt("gd.https.needColumnTip", "\u6700\u5C11\u9700\u8981\u4E00\u6761\u8BF7\u8865\u5145!"));
113
+ return;
114
+ }
115
+ let t = {
116
+ viewid: Number(this.viewCode),
117
+ sysviewfilters: this.getFilterConfig(a),
118
+ frozencolumn: a.frozencolumn,
119
+ sysviewfields: [...e.list],
120
+ viewlistdata: this.viewList.filter((s) => s.mode == 1),
121
+ type: 2
122
+ };
123
+ a.mode == 2 && Object.assign(t, {
124
+ viewid: a.baseview,
125
+ data: a
126
+ }), this.$refs.editPerson.open(t);
127
+ },
128
+ setDefault(a) {
129
+ this.$refs.popover.doClose(), this.$emit("baseSetDefaultView", a);
130
+ },
131
+ getFilterConfig(a) {
132
+ const e = (r) => (r = r.filter((n, o) => {
133
+ if (n.type = String(n.type), n.operators = String(n.operators), n.list.length > 0)
134
+ n.list = e(n.list);
135
+ else {
136
+ let c = this.getItemVal(n, 2);
137
+ n.values = typeof c == "object" ? c.map((f) => Number(f)) : [];
138
+ }
139
+ return n.fkdata && typeof n.fkdata == "string" && (n.fkdata = JSON.parse(n.fkdata)), n.ruleslist && typeof n.ruleslist == "string" && (n.ruleslist = JSON.parse(n.ruleslist)), n.recordid === void 0 && (n.columntype == "relevant" || n.columntype == "parental") && (n.recordid = n.columnid + "@" + n.columntype), n.show === void 0 && (n.show = !0, n.checked = !1), !0;
140
+ }), r);
141
+ let s = { ...a.filterconfig ? JSON.parse(a.filterconfig) : Object.assign({}, u) }, i = e(s.pid === null ? s.list : [s]), l = s.pid === null ? s : Object.assign({}, u);
142
+ return Object.assign(
143
+ {
144
+ ...l
145
+ },
146
+ {
147
+ list: i,
148
+ referencetable: this.tableData.tablename,
149
+ tablename: this.tableData.tablename
150
+ }
151
+ );
152
+ },
153
+ getItemVal(a, e = 1) {
154
+ let t = "";
155
+ const s = String(a.operators);
156
+ if (["fk", "about"].includes(a.columntype)) {
157
+ let i = e == 1 && a.values !== void 0 ? a.values.join(",") : String(a.value).split(",");
158
+ t = ["3", "4"].includes(s) ? i : a.value;
159
+ } else if (a.columntype == "user") {
160
+ let i = e == 1 && a.values !== void 0 ? a.values.join(",") : String(a.value).split(",");
161
+ t = ["3", "4"].includes(s) ? i : a.value;
162
+ } else if (a.columntype == "participants") {
163
+ let i = e == 1 && a.values !== void 0 ? a.values.join(",") : String(a.value).split(",");
164
+ t = ["3", "4"].includes(s) ? i : a.value;
165
+ } else
166
+ t = a.value;
167
+ return t;
168
+ },
169
+ getViewFields(a) {
170
+ let e = [];
171
+ return this.fieldData.forEach((t) => {
172
+ if (!this.isChecked(t.id, a.sysviewfields)) {
173
+ let s = a.sysviewfields.filter((i) => i.fieldid == t.id)[0];
174
+ if (s && s.type == 1) {
175
+ let i = {
176
+ ...t
177
+ }, l = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment), d = this.$i18nt(`Dynamics.${s.transkey}`, s.name);
178
+ i.order = s.order, i.num = s.width, i.aliastranskey = s.transkey ? s.transkey : null, i.alias = l === d ? "" : d, i.orderconfig = s.orderconfig == 1, i.columnname = s.field ? s.field.columnname : t.columnname, i.codegenid = s.field ? s.field.codegenid : t.codegenid, i.gatherconfig = s.gatherconfig == 1, i.maxtagcount = s.maxtagcount ? s.maxtagcount : 2, i.fkrelations = `${l} -- ${t.columnname}`, i.fkEffectType = t.effecttype, i.transkey = t.transkey, i.operate = "edit", i.aliasold = d;
179
+ let r = s.align ? s.align.split("&") : [];
180
+ i.align = r[0] ? r[0] : "left", i.visible = r[1] ? r[1] == 1 : !0, i.displaymode = r[2] ? r[2] : "none", i.displayprefix = r[3] ? r[3] : "none", i.preview = r[4] ? r[4] === "true" : !0, i.download = r[5] ? r[5] === "true" : !0, i.format = r[6] ? r[6] : String(t.fieldformat), i.hyperlink = r[7] ? r[7] === "true" : !1, i.precision = r[8] !== void 0 ? r[8] : t.filedsize, e.push(i);
181
+ }
182
+ }
183
+ t.children && t.children.length > 0 && t.children.forEach((s) => {
184
+ if (!this.isChecked(s.id + "-" + t.id, a.sysviewfields)) {
185
+ let i = a.sysviewfields.filter((l) => (l.type == 2 ? l.joinfieldid + "-" + l.fieldid : l.fieldid) == s.id + "-" + t.id)[0];
186
+ if (i) {
187
+ let l = {
188
+ ...s
189
+ }, d = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment), r = this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment), n = this.$i18nt(`Dynamics.${i.transkey}`, i.name);
190
+ l.order = i.order, l.num = i.width, l.aliastranskey = i.transkey ? i.transkey : null, l.alias = r === n ? "" : n, l.id = l.id + "-" + t.id, l.orderconfig = i.orderconfig == 1, l.gatherconfig = i.gatherconfig == 1, l.fkrelations = `${d} -- ${t.columnname}`, l.fkEffectType = t.effecttype, l.maxtagcount = i.maxtagcount ? i.maxtagcount : 2, l.transkey = s.transkey, l.operate = "edit", l.aliasold = n;
191
+ let o = i.align ? i.align.split("&") : [];
192
+ l.align = o[0] ? o[0] : "left", l.visible = o[1] ? o[1] == 1 : !0, l.displaymode = o[2] ? o[2] : "none", l.displayprefix = o[3] ? o[3] : "none", l.preview = o[4] ? o[4] === "true" : !0, l.download = o[4] ? o[4] === "true" : !0, l.format = o[6] ? o[6] : String(s.fieldformat), l.hyperlink = o[7] ? o[7] === "true" : !1, l.precision = o[8] !== void 0 ? o[8] : s.filedsize, e.push(l);
193
+ }
194
+ }
195
+ });
196
+ }), e = g(e), { list: e };
197
+ },
198
+ isChecked(a, e) {
199
+ return e.every((t, s, i) => (t.type == 2 ? t.joinfieldid + "-" + t.fieldid : t.fieldid) != a);
200
+ }
201
+ }
202
+ };
203
+ var h = function() {
204
+ var e = this, t = e._self._c;
205
+ return t("div", { staticClass: "gd-view-selection" }, [e.showView && e.openMode == 1 ? t("div", { staticClass: "selectionl" }, [t("el-popover", { ref: "popover", attrs: { placement: "bottom-start", trigger: "click" } }, [t("div", { staticClass: "selectionl-popover", style: { "--dilute": e.fadeColord } }, [e.getSysViewList.length > 0 ? [t("div", { staticClass: "selectionl-popover-name" }, [t("div", { staticClass: "name-title" }, [e._v(e._s(e.$i18nt("gd.view.sysView", "\u7CFB\u7EDF\u89C6\u56FE")))])]), t("div", { staticClass: "popover-dashed" }, [t("el-divider", { attrs: { dashed: "" } })], 1), e._l(e.getSysViewList, function(s) {
206
+ return [s.type === 1 ? t("div", { staticClass: "selectionl-popover-item", on: { click: function(i) {
207
+ return e.handleMenuClick(s);
208
+ } } }, [e.defaultViewId === s.id ? t("i", { staticClass: "el-icon-star-on active-color" }) : e._e(), t("div", { staticClass: "name-title" }, [e._v(e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.name)))]), e.defaultViewId !== s.id ? t("i", { staticClass: "el-icon-star-off active-color", on: { click: function(i) {
209
+ return i.stopPropagation(), e.setDefault(s);
210
+ } } }) : e._e(), e.viewCode === s.id ? t("i", { staticClass: "gd-icons gd-icon-a-dingshuding-fill1" }) : e._e()]) : e._e()];
211
+ }), t("div", { staticClass: "popover-solid" }, [t("el-divider")], 1)] : e._e(), t("div", { staticClass: "selectionl-popover-name" }, [t("div", { staticClass: "name-title" }, [e._v(e._s(e.$i18nt("gd.view.myView", "\u6211\u7684\u89C6\u56FE")))]), t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticStyle: { "margin-left": "6px" }, attrs: { placement: "top", "open-delay": 50 } }, [t("template", { slot: "content" }, [e._v(" " + e._s(e.$i18nt("gd.view.presentView", "\u5F53\u524D\u89C6\u56FE\u53E6\u5B58\u4E3A\u4E2A\u4EBA\u89C6\u56FE")) + " ")]), t("i", { staticClass: "el-icon-edit-outline active-color", staticStyle: { "font-size": "22px", cursor: "pointer" }, on: { click: e.copy } })], 2), t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticStyle: { "margin-left": "6px" }, attrs: { placement: "top", "open-delay": 50 } }, [t("template", { slot: "content" }, [e._v(" " + e._s(e.$i18nt("gd.view.createView", "\u521B\u5EFA\u4E2A\u4EBA\u89C6\u56FE")) + " ")]), t("i", { staticClass: "el-icon-plus active-color", staticStyle: { "font-size": "22px", cursor: "pointer" }, on: { click: e.personalView } })], 2)], 1), t("div", { staticClass: "popover-dashed" }, [t("el-divider", { attrs: { dashed: "" } })], 1), e._l(e.personalViewList, function(s) {
212
+ return [t("div", { staticClass: "selectionl-popover-item", on: { click: function(i) {
213
+ return e.handleMenuClick(s);
214
+ } } }, [e.defaultViewId === s.id ? t("i", { staticClass: "el-icon-star-on active-color" }) : e._e(), t("div", { staticClass: "name-title" }, [e._v(e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.name)))]), e.defaultViewId !== s.id ? t("i", { staticClass: "el-icon-star-off active-color", on: { click: function(i) {
215
+ return i.stopPropagation(), e.setDefault(s);
216
+ } } }) : e._e(), e.viewCode === s.id ? t("i", { staticClass: "gd-icons gd-icon-a-dingshuding-fill1" }) : e._e()])];
217
+ })], 2), t("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [t("div", { staticClass: "selectionl-popover-view" }, [t("div", { staticClass: "selectionl-popover-name line1" }, [e._v(e._s(e.getTitle))]), t("i", { staticClass: "el-icon-arrow-down" })])])], 1)], 1) : t("div", { staticClass: "selectionl" }, [e.openMode == 2 ? t("div", { staticClass: "operatorsel" }, [e._v(" " + e._s(e.$i18nt("gd.basics.selected")) + " "), t("span", [e._v(e._s(e.selectedRowKeys.length))]), e._v(" " + e._s(e.$i18nt("gd.basics.data")) + " ")]) : e._e()]), t("div", { staticClass: "selectionq" }, [e._t("quickQueries")], 2), t("div", { staticClass: "selectionr" }, [e.showBtn ? t("gd-btn-list", { attrs: { sysViewButtons: e.sysViewButtons, max: e.maxBtnLength }, on: { functionName: e.functionName } }) : e._e(), e.confirmLoading ? t("div", { staticClass: "gd-dialog-meng" }) : e._e()], 1), t("EditPerson", { ref: "editPerson", attrs: { table: e.tableData }, on: { ok: e.configOk } })], 1);
218
+ }, w = [], m = /* @__PURE__ */ v(
219
+ y,
220
+ h,
221
+ w,
222
+ !1,
223
+ null,
224
+ "c2b7fcc9",
225
+ null,
226
+ null
227
+ );
228
+ const $ = m.exports;
229
+ export {
230
+ $ as default
231
+ };