gds-plus-design-vue 1.2.5 → 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 -91033
  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.c59fc1e8.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.4e325110.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.955f770e.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.be62e9a4.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.7e418640.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.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.a817cf68.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.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.1930d109.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.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.08a15a71.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.6e858bf3.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.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.141dc00b.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.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.5e3e2bab.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.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.79e15015.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 +96 -29
  325. package/locale/id_ID.js +80 -13
  326. package/locale/vi_VN.js +2015 -1948
  327. package/locale/zh_CN.js +100 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.b5b6fdab.js +0 -60
  330. package/lib/chartbi.b6818e8e.mjs +0 -27604
  331. package/lib/main.6713b76c.js +0 -1
  332. package/lib/main.a28f67df.js +0 -1
  333. package/lib/main.b4a303dc.js +0 -1
  334. package/lib/main.f3ae0933.js +0 -1
  335. package/lib/messages.1346558e.js +0 -9
  336. package/lib/system.account.64fbdaeb.mjs +0 -2552
  337. package/lib/system.account.7c43a95e.js +0 -216
  338. package/lib/system.config.93d6cb7d.js +0 -1
  339. package/lib/system.datasource.4bb39222.js +0 -1
  340. package/lib/system.dict.5a2e60fe.js +0 -1
  341. package/lib/system.duplicatechecking.65b77e64.js +0 -1
  342. package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
  343. package/lib/system.email.2f53252e.mjs +0 -7432
  344. package/lib/system.email.fec5ae26.js +0 -41
  345. package/lib/system.fieldsecurity.920adca4.js +0 -1
  346. package/lib/system.file.5a9a5e0e.js +0 -1
  347. package/lib/system.log.b309c0e0.js +0 -1
  348. package/lib/system.machine.9368e508.js +0 -1
  349. package/lib/system.notice.ff62c06a.js +0 -1
  350. package/lib/system.noticereceived.9550818b.js +0 -1
  351. package/lib/system.onlineuser.6cf4fe24.js +0 -1
  352. package/lib/system.org.0c67131d.js +0 -1
  353. package/lib/system.permissions.af548a3b.js +0 -9
  354. package/lib/system.permissions.cc5ac7ac.mjs +0 -212
  355. package/lib/system.plugin.83d03fb2.js +0 -1
  356. package/lib/system.pos.eae2051e.js +0 -1
  357. package/lib/system.promptmanagement.04501417.js +0 -1
  358. package/lib/system.role.e623c50b.js +0 -1
  359. package/lib/system.sumberrules.a01e1805.js +0 -1
  360. package/lib/system.team.0cebcde7.js +0 -1
  361. package/lib/system.team.27a6d5d5.mjs +0 -1000
  362. package/lib/system.teammembers.b67f003f.js +0 -1
  363. package/lib/system.timers.b27fcb6d.js +0 -38
  364. package/lib/system.translation.d2c982ed.js +0 -1
  365. package/lib/system.user.0664c21c.js +0 -14
  366. package/lib/system.useraffiliation.6b7a1612.js +0 -1
  367. package/lib/system.webresource.5de18052.js +0 -1
  368. package/lib/system.welcome.ec7aa744.js +0 -1
@@ -1,48 +1,8 @@
1
- import { m as d, n as c } from "./chartbi.b6818e8e.mjs";
2
- import { t as u } from "./messages.7e418640.mjs";
3
- function p(t) {
4
- return window.axios({
5
- url: "/sysDictType/page",
6
- method: "get",
7
- params: t
8
- });
9
- }
10
- function h(t) {
11
- return window.axios({
12
- url: "/sysDictType/add",
13
- method: "post",
14
- data: t
15
- });
16
- }
17
- function g(t) {
18
- return window.axios({
19
- url: "/sysDictType/edit",
20
- method: "post",
21
- data: t
22
- });
23
- }
24
- function f(t) {
25
- return window.axios({
26
- url: "/sysDictType/delete",
27
- method: "post",
28
- data: t
29
- });
30
- }
31
- function O(t) {
32
- return window.axios({
33
- url: "/sysDictType/dropDown",
34
- method: "get",
35
- params: t
36
- });
37
- }
38
- function m(t) {
39
- return window.axios({
40
- url: "/sysDictType/changeStatus",
41
- method: "post",
42
- data: t
43
- });
44
- }
45
- const y = {
1
+ import { s as p, c as h, d as g, a as f, b as m } from "./http.dictmanage.d8fe18dc.mjs";
2
+ import { m as d, n as c } from "./components.chartbi.470b96af.mjs";
3
+ import { t as u } from "./utils.mixins.js.be01e599.mjs";
4
+ import { s as y, c as b, d as T, a as C, b as $ } from "./http.dictdatamanage.2583b5ae.mjs";
5
+ const k = {
46
6
  data() {
47
7
  return {
48
8
  tableColumns: [
@@ -281,42 +241,254 @@ const y = {
281
241
  };
282
242
  }
283
243
  };
284
- function b(t) {
285
- return window.axios({
286
- url: "/sysDictData/page",
287
- method: "get",
288
- params: t
289
- });
290
- }
291
- function w(t) {
292
- return window.axios({
293
- url: "/sysDictData/add",
294
- method: "post",
295
- data: t
296
- });
297
- }
298
- function T(t) {
299
- return window.axios({
300
- url: "/sysDictData/edit",
301
- method: "post",
302
- data: t
303
- });
304
- }
305
- function C(t) {
306
- return window.axios({
307
- url: "/sysDictData/delete",
308
- method: "post",
309
- data: t
310
- });
311
- }
312
- function k(t) {
313
- return window.axios({
314
- url: "/sysDictData/changeStatus",
315
- method: "post",
316
- data: t
317
- });
318
- }
319
- const $ = {
244
+ const w = {
245
+ props: {
246
+ height: {
247
+ type: Number,
248
+ default: 0
249
+ }
250
+ },
251
+ name: "GdDict",
252
+ mixins: [u, k],
253
+ components: { dictColumn: () => Promise.resolve().then(() => F) },
254
+ data() {
255
+ return {
256
+ translationType: "dict",
257
+ transKey: "gd.btn.add",
258
+ formLoading: !1,
259
+ loading: !0,
260
+ selectedRowKeys: [],
261
+ selectedRows: [],
262
+ queryParam: {},
263
+ typeId: "",
264
+ loadData: (t) => p(Object.assign(t, this.getQueryParam)).then((e) => e.data),
265
+ disableBtn: ["\u542F\u7528", "\u505C\u7528"],
266
+ disableFormBtn: [],
267
+ record: {}
268
+ };
269
+ },
270
+ computed: {
271
+ getQueryParam() {
272
+ let t = /* @__PURE__ */ new Map();
273
+ for (let e in this.queryParam)
274
+ this.queryParam[e] !== "" && t.set(e, this.queryParam[e]);
275
+ return Object.fromEntries(t);
276
+ },
277
+ labelWidth() {
278
+ return this.language === "id_ID" ? "146px" : "120px";
279
+ },
280
+ getFormColumns() {
281
+ return this.formColumns.filter((t) => (t.disabled = this.disableFormBtn.length !== 0, this.transKey === "gd.btn.edit" && t.prop === "code" && (t.disabled = !0), t));
282
+ },
283
+ getFormButtons() {
284
+ return this.formButtons.filter((t) => (t.show = !this.disableFormBtn.includes(t.displayName), !0));
285
+ },
286
+ getTableButtons() {
287
+ return this.tableButtons.filter((t) => (t.show = !this.disableBtn.includes(t.displayName), !0));
288
+ },
289
+ heighted() {
290
+ return this.height / 5;
291
+ },
292
+ getHeight() {
293
+ return this.heighted * 3 - 76;
294
+ },
295
+ heightd() {
296
+ return this.heighted * 2 - 52;
297
+ },
298
+ ...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "language"])
299
+ },
300
+ methods: {
301
+ lookupSeled(t, e, s) {
302
+ e[s.prop] = t.defaulttext;
303
+ },
304
+ saveQueries(t) {
305
+ this.queryParam = { ...t }, this.refresh();
306
+ },
307
+ enable() {
308
+ this.editStateCodes({ row: this.selectedRows[0] });
309
+ },
310
+ deactivated() {
311
+ this.editStateCodes({ row: this.selectedRows[0] });
312
+ },
313
+ editStateCodes({ column: t, row: e }) {
314
+ if (e.dict_type == 1) {
315
+ this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
316
+ return;
317
+ }
318
+ const s = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), i = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
319
+ this.$confirm(s, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
320
+ confirmButtonText: i,
321
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
322
+ showClose: !1,
323
+ confirmButtonLoading: !1,
324
+ cancelButtonLoading: !1,
325
+ closeOnClickModal: !1,
326
+ type: "warning",
327
+ confirmButtonClass: "el-button--danger",
328
+ customClass: "custom-alert",
329
+ callback: () => {
330
+ },
331
+ beforeClose: (a, r, n) => {
332
+ if (a !== "confirm") {
333
+ n();
334
+ return;
335
+ }
336
+ r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, h({ id: e.id, statecodes: e.statecodes == 1 ? 0 : 1 }).then((l) => {
337
+ n(), r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, l.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message);
338
+ });
339
+ }
340
+ });
341
+ },
342
+ rowClick(t, e) {
343
+ this.typeId = t ? t.id : "", this.record = t || {}, this.$nextTick(() => {
344
+ setTimeout(() => {
345
+ this.$refs.dictColumn.refreshInit();
346
+ }, 0);
347
+ });
348
+ },
349
+ onRowSelect(t, e) {
350
+ let s = 0, i = t[t.length - 1];
351
+ i != null && (t.length > e.length ? s = t.filter((a) => !e.includes(a))[0] : s = e.length > 0 ? e.filter((a) => a.id == i)[0].id : 0, s !== 0 && (this.typeId = s, this.record = e.filter((a) => a.id == i)[0], this.$nextTick(() => {
352
+ setTimeout(() => {
353
+ this.$refs.dictColumn.refreshInit();
354
+ }, 0);
355
+ })));
356
+ },
357
+ refresh() {
358
+ this.$refs.table.refresh();
359
+ },
360
+ editForm(t, e) {
361
+ this.transKey = "gd.btn.edit", this.disableFormBtn = [], this.$refs.editForm.open(t), this.rowClick(t, e);
362
+ },
363
+ del() {
364
+ if (this.selectedRowKeys.length === 0) {
365
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
366
+ return;
367
+ }
368
+ if (this.selectedRows.filter((e) => e.dict_type == 1).length > 0) {
369
+ this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
370
+ return;
371
+ }
372
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
373
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
374
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
375
+ showClose: !1,
376
+ confirmButtonLoading: !1,
377
+ cancelButtonLoading: !1,
378
+ closeOnClickModal: !1,
379
+ type: "warning",
380
+ confirmButtonClass: "el-button--danger",
381
+ customClass: "custom-alert",
382
+ callback: () => {
383
+ },
384
+ beforeClose: (e, s, i) => {
385
+ this.delHand(e, s, i);
386
+ }
387
+ });
388
+ },
389
+ delHand(t, e, s) {
390
+ if (t !== "confirm") {
391
+ s();
392
+ return;
393
+ }
394
+ let i = [];
395
+ this.selectedRows.forEach((r) => {
396
+ let n = g(r).then((l) => l);
397
+ i.push(n);
398
+ });
399
+ const a = this.selectedRowKeys.filter((r) => r === this.typeId)[0];
400
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((r) => {
401
+ s();
402
+ const n = r.filter((l) => !l.success);
403
+ n.length === 0 ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), a && this.rowClick(null)) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n[0].message), this.handleOk();
404
+ });
405
+ },
406
+ add() {
407
+ this.disableFormBtn = [], this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
408
+ },
409
+ edit() {
410
+ if (this.selectedRowKeys.length === 0) {
411
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
412
+ return;
413
+ }
414
+ if (this.selectedRowKeys.length > 1) {
415
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
416
+ return;
417
+ }
418
+ this.editForm(this.selectedRows[0]);
419
+ },
420
+ sbumit({ data: t, record: e, btn: s }, i, a) {
421
+ this.formLoading = !0, (e ? f : m)(t).then((n) => {
422
+ n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
423
+ });
424
+ },
425
+ cellClassName({ row: t, rowIndex: e }) {
426
+ return t.id === this.typeId ? "gd-select-row" : "";
427
+ },
428
+ handleOk() {
429
+ this.$refs.table.refresh();
430
+ },
431
+ onSelectChange(t, e) {
432
+ if (this.onRowSelect(t, e), this.selectedRowKeys = t, this.selectedRows = e, t.length === 0) {
433
+ this.disableBtn = [];
434
+ return;
435
+ }
436
+ let s = e.filter((l) => l.dict_type == 1), i = ["\u5220\u9664", "\u542F\u7528", "\u505C\u7528"];
437
+ if (e.length > 1) {
438
+ this.disableBtn = s.length > 0 ? i : ["\u542F\u7528", "\u505C\u7528"];
439
+ return;
440
+ }
441
+ let a = [], r = e.filter((l) => l.statecodes == 1), n = e.filter((l) => l.statecodes == 0);
442
+ r.length == e.length ? a = s.length > 0 ? i : ["\u542F\u7528"] : n.length == e.length && (a = s.length > 0 ? i : ["\u505C\u7528"]), this.disableBtn = s.length > 0 ? i : a;
443
+ },
444
+ doEvent(t) {
445
+ let e = t.item.functionName;
446
+ this[e] && this[e]();
447
+ }
448
+ }
449
+ };
450
+ var v = function() {
451
+ var e = this, s = e._self._c;
452
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list" }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, cellClassName: e.cellClassName, filtering: !0 }, on: { onChange: e.onSelectChange, rowClick: e.rowClick }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
453
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, transKey: `Dynamics.${a.transKey}`, highlight: "" }, on: { click: function(r) {
454
+ return e.editForm(a, i);
455
+ } } })];
456
+ } }, { key: "dictType", fn: function(i) {
457
+ return [i.row.dict_type === 1 ? s("el-tag", { staticStyle: { "background-color": "red", "border-color": "red" }, attrs: { effect: "dark" } }, [e._v(" " + e._s(e.$i18nt("gd.dict.systemType", "\u7CFB\u7EDF\u7C7B\u578B")) + " ")]) : s("el-tag", { staticStyle: { "background-color": "#52c41a", "border-color": "#52c41a" }, attrs: { effect: "dark" } }, [e._v(" " + e._s(e.$i18nt("gd.dict.businessType", "\u4E1A\u52A1\u7C7B\u578B")) + " ")])];
458
+ } }, { key: "stateCodes", fn: function(i) {
459
+ return [s("div", { staticStyle: { cursor: "pointer" }, on: { click: function(a) {
460
+ return a.stopPropagation(), e.editStateCodes(i);
461
+ } } }, [i.row.statecodes ? s("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : s("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })])];
462
+ } }, { key: "remark", fn: function({ column: i, row: a }) {
463
+ return [s("gd-tooltip", { attrs: { rowKey: "remark", row: a, prevent: !1 } })];
464
+ } }, { key: "operator", fn: function() {
465
+ return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl" }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.dict.displayName", "\u663E\u793A\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(i) {
466
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
467
+ } }, model: { value: e.queryParam.name, callback: function(i) {
468
+ e.$set(e.queryParam, "name", i);
469
+ }, expression: "queryParam.name" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
470
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: a }) {
471
+ return [s("gd-table-queries-field", { key: "tfiltering", attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
472
+ } }]) }), s("dict-column", { ref: "dictColumn", attrs: { typeId: e.typeId, record: e.record, height: e.heightd } })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", labelWidth: e.labelWidth, loading: e.formLoading, transKey: e.transKey, buttons: e.getFormButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, translationType: e.translationType }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "name", fn: function({ data: i, column: a, record: r }) {
473
+ return [s("el-input", { directives: [{ name: "show", rawName: "v-show", value: !r, expression: "!record" }], attrs: { disabled: a.disabled, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i[a.prop], callback: function(n) {
474
+ e.$set(i, a.prop, n);
475
+ }, expression: "data[column.prop]" } }), r ? s("gd-translation", { ref: "gdTranslation", attrs: { recordData: i, type: 2 }, on: { lookupSeled: (n) => e.lookupSeled(n, i, a) } }) : e._e()];
476
+ } }]) })], 1);
477
+ }, K = [], _ = /* @__PURE__ */ c(
478
+ w,
479
+ v,
480
+ K,
481
+ !1,
482
+ null,
483
+ "a9e82c36",
484
+ null,
485
+ null
486
+ );
487
+ const o = _.exports;
488
+ o.install = function(t) {
489
+ t.component(o.name, o);
490
+ };
491
+ const B = {
320
492
  data() {
321
493
  return {
322
494
  tableColumns: [
@@ -525,7 +697,7 @@ const $ = {
525
697
  };
526
698
  }
527
699
  };
528
- const v = {
700
+ const S = {
529
701
  props: {
530
702
  typeId: {
531
703
  type: [String, Number],
@@ -540,7 +712,7 @@ const v = {
540
712
  default: 100
541
713
  }
542
714
  },
543
- mixins: [u, $],
715
+ mixins: [u, B],
544
716
  data() {
545
717
  return {
546
718
  translationType: "dict",
@@ -552,7 +724,7 @@ const v = {
552
724
  queryParam: {},
553
725
  loadData: (t) => this.typeId === "" ? new Promise((e, s) => {
554
726
  this.disableBtn = ["\u7F16\u8F91", "\u65B0\u589E", "\u5220\u9664", "\u542F\u7528", "\u505C\u7528"], e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
555
- }) : b(Object.assign(t, this.queryParam, { typeId: this.typeId })).then((e) => (this.disableBtn = this.record.dict_type == 1 ? ["\u65B0\u589E", "\u5220\u9664", "\u542F\u7528", "\u505C\u7528"] : [], e.data)),
727
+ }) : y(Object.assign(t, this.queryParam, { typeId: this.typeId })).then((e) => (this.disableBtn = this.record.dict_type == 1 ? ["\u65B0\u589E", "\u5220\u9664", "\u542F\u7528", "\u505C\u7528"] : [], e.data)),
556
728
  disableBtn: [],
557
729
  disableFormBtn: [],
558
730
  codeRules: !0
@@ -622,8 +794,8 @@ const v = {
622
794
  n();
623
795
  return;
624
796
  }
625
- r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, k({ id: e.id, statecodes: e.statecodes == 1 ? 0 : 1 }).then((o) => {
626
- r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, n(), o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message);
797
+ r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, b({ id: e.id, statecodes: e.statecodes == 1 ? 0 : 1 }).then((l) => {
798
+ r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, n(), l.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message);
627
799
  });
628
800
  }
629
801
  });
@@ -671,7 +843,7 @@ const v = {
671
843
  }
672
844
  let i = [];
673
845
  this.selectedRows.forEach((a) => {
674
- let r = C(a).then((n) => n);
846
+ let r = T(a).then((n) => n);
675
847
  i.push(r);
676
848
  }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
677
849
  e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
@@ -695,7 +867,7 @@ const v = {
695
867
  this.editForm(this.selectedRows[0]);
696
868
  },
697
869
  sbumit({ data: t, record: e, btn: s }, i, a) {
698
- this.formLoading = !0, (e ? T : w)(Object.assign({ ...t }, { typeid: this.typeId })).then((n) => {
870
+ this.formLoading = !0, (e ? C : $)(Object.assign({ ...t }, { typeid: this.typeId })).then((n) => {
699
871
  n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
700
872
  });
701
873
  },
@@ -725,7 +897,7 @@ const v = {
725
897
  }
726
898
  }
727
899
  };
728
- var K = function() {
900
+ var x = function() {
729
901
  var e = this, s = e._self._c;
730
902
  return s("div", [s("el-divider", { staticClass: "setting-divider" }), s("div", { staticStyle: { "font-size": "16px", "font-weight": "700", color: "#303133", "margin-bottom": "6px" } }, [e._v(" " + e._s(e.$i18nt("gd.dict.dictManagement", "\u5B57\u5178\u503C\u7BA1\u7406")) + " ")]), s("el-divider", { staticClass: "setting-divider" }), s("gd-tables", { ref: "tableManage", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "values", fn: function({ column: i, row: a }) {
731
903
  return [s("gd-tooltip", { attrs: { rowKey: "value", row: a, transKey: `Dynamics.${a.transkey}`, highlight: "" }, on: { click: e.editForm } })];
@@ -756,267 +928,20 @@ var K = function() {
756
928
  e.$set(i, a.prop, n);
757
929
  }, expression: "data[column.prop]" } })];
758
930
  } }]) })], 1);
759
- }, B = [], _ = /* @__PURE__ */ c(
760
- v,
761
- K,
762
- B,
763
- !1,
764
- null,
765
- "55b2f52b",
766
- null,
767
- null
768
- );
769
- const x = _.exports;
770
- const D = {
771
- props: {
772
- height: {
773
- type: Number,
774
- default: 0
775
- }
776
- },
777
- name: "GdDict",
778
- mixins: [u, y],
779
- components: { dictColumn: x },
780
- data() {
781
- return {
782
- translationType: "dict",
783
- transKey: "gd.btn.add",
784
- formLoading: !1,
785
- loading: !0,
786
- selectedRowKeys: [],
787
- selectedRows: [],
788
- queryParam: {},
789
- typeId: "",
790
- loadData: (t) => p(Object.assign(t, this.getQueryParam)).then((e) => e.data),
791
- disableBtn: ["\u542F\u7528", "\u505C\u7528"],
792
- disableFormBtn: [],
793
- record: {}
794
- };
795
- },
796
- computed: {
797
- getQueryParam() {
798
- let t = /* @__PURE__ */ new Map();
799
- for (let e in this.queryParam)
800
- this.queryParam[e] !== "" && t.set(e, this.queryParam[e]);
801
- return Object.fromEntries(t);
802
- },
803
- labelWidth() {
804
- return this.language === "id_ID" ? "146px" : "120px";
805
- },
806
- getFormColumns() {
807
- return this.formColumns.filter((t) => (t.disabled = this.disableFormBtn.length !== 0, this.transKey === "gd.btn.edit" && t.prop === "code" && (t.disabled = !0), t));
808
- },
809
- getFormButtons() {
810
- return this.formButtons.filter((t) => (t.show = !this.disableFormBtn.includes(t.displayName), !0));
811
- },
812
- getTableButtons() {
813
- return this.tableButtons.filter((t) => (t.show = !this.disableBtn.includes(t.displayName), !0));
814
- },
815
- heighted() {
816
- return this.height / 5;
817
- },
818
- getHeight() {
819
- return this.heighted * 3 - 76;
820
- },
821
- heightd() {
822
- return this.heighted * 2 - 52;
823
- },
824
- ...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "language"])
825
- },
826
- methods: {
827
- lookupSeled(t, e, s) {
828
- e[s.prop] = t.defaulttext;
829
- },
830
- saveQueries(t) {
831
- this.queryParam = { ...t }, this.refresh();
832
- },
833
- enable() {
834
- this.editStateCodes({ row: this.selectedRows[0] });
835
- },
836
- deactivated() {
837
- this.editStateCodes({ row: this.selectedRows[0] });
838
- },
839
- editStateCodes({ column: t, row: e }) {
840
- if (e.dict_type == 1) {
841
- this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
842
- return;
843
- }
844
- const s = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), i = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
845
- this.$confirm(s, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
846
- confirmButtonText: i,
847
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
848
- showClose: !1,
849
- confirmButtonLoading: !1,
850
- cancelButtonLoading: !1,
851
- closeOnClickModal: !1,
852
- type: "warning",
853
- confirmButtonClass: "el-button--danger",
854
- customClass: "custom-alert",
855
- callback: () => {
856
- },
857
- beforeClose: (a, r, n) => {
858
- if (a !== "confirm") {
859
- n();
860
- return;
861
- }
862
- r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, m({ id: e.id, statecodes: e.statecodes == 1 ? 0 : 1 }).then((o) => {
863
- n(), r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message);
864
- });
865
- }
866
- });
867
- },
868
- rowClick(t, e) {
869
- this.typeId = t ? t.id : "", this.record = t || {}, this.$nextTick(() => {
870
- setTimeout(() => {
871
- this.$refs.dictColumn.refreshInit();
872
- }, 0);
873
- });
874
- },
875
- onRowSelect(t, e) {
876
- let s = 0, i = t[t.length - 1];
877
- i != null && (t.length > e.length ? s = t.filter((a) => !e.includes(a))[0] : s = e.length > 0 ? e.filter((a) => a.id == i)[0].id : 0, s !== 0 && (this.typeId = s, this.record = e.filter((a) => a.id == i)[0], this.$nextTick(() => {
878
- setTimeout(() => {
879
- this.$refs.dictColumn.refreshInit();
880
- }, 0);
881
- })));
882
- },
883
- refresh() {
884
- this.$refs.table.refresh();
885
- },
886
- editForm(t, e) {
887
- this.transKey = "gd.btn.edit", this.disableFormBtn = [], this.$refs.editForm.open(t), this.rowClick(t, e);
888
- },
889
- del() {
890
- if (this.selectedRowKeys.length === 0) {
891
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
892
- return;
893
- }
894
- if (this.selectedRows.filter((e) => e.dict_type == 1).length > 0) {
895
- this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
896
- return;
897
- }
898
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
899
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
900
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
901
- showClose: !1,
902
- confirmButtonLoading: !1,
903
- cancelButtonLoading: !1,
904
- closeOnClickModal: !1,
905
- type: "warning",
906
- confirmButtonClass: "el-button--danger",
907
- customClass: "custom-alert",
908
- callback: () => {
909
- },
910
- beforeClose: (e, s, i) => {
911
- this.delHand(e, s, i);
912
- }
913
- });
914
- },
915
- delHand(t, e, s) {
916
- if (t !== "confirm") {
917
- s();
918
- return;
919
- }
920
- let i = [];
921
- this.selectedRows.forEach((r) => {
922
- let n = f(r).then((o) => o);
923
- i.push(n);
924
- });
925
- const a = this.selectedRowKeys.filter((r) => r === this.typeId)[0];
926
- e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((r) => {
927
- s();
928
- const n = r.filter((o) => !o.success);
929
- n.length === 0 ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), a && this.rowClick(null)) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n[0].message), this.handleOk();
930
- });
931
- },
932
- add() {
933
- this.disableFormBtn = [], this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
934
- },
935
- edit() {
936
- if (this.selectedRowKeys.length === 0) {
937
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
938
- return;
939
- }
940
- if (this.selectedRowKeys.length > 1) {
941
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
942
- return;
943
- }
944
- this.editForm(this.selectedRows[0]);
945
- },
946
- sbumit({ data: t, record: e, btn: s }, i, a) {
947
- this.formLoading = !0, (e ? g : h)(t).then((n) => {
948
- n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
949
- });
950
- },
951
- cellClassName({ row: t, rowIndex: e }) {
952
- return t.id === this.typeId ? "gd-select-row" : "";
953
- },
954
- handleOk() {
955
- this.$refs.table.refresh();
956
- },
957
- onSelectChange(t, e) {
958
- if (this.onRowSelect(t, e), this.selectedRowKeys = t, this.selectedRows = e, t.length === 0) {
959
- this.disableBtn = [];
960
- return;
961
- }
962
- let s = e.filter((o) => o.dict_type == 1), i = ["\u5220\u9664", "\u542F\u7528", "\u505C\u7528"];
963
- if (e.length > 1) {
964
- this.disableBtn = s.length > 0 ? i : ["\u542F\u7528", "\u505C\u7528"];
965
- return;
966
- }
967
- let a = [], r = e.filter((o) => o.statecodes == 1), n = e.filter((o) => o.statecodes == 0);
968
- r.length == e.length ? a = s.length > 0 ? i : ["\u542F\u7528"] : n.length == e.length && (a = s.length > 0 ? i : ["\u505C\u7528"]), this.disableBtn = s.length > 0 ? i : a;
969
- },
970
- doEvent(t) {
971
- let e = t.item.functionName;
972
- this[e] && this[e]();
973
- }
974
- }
975
- };
976
- var S = function() {
977
- var e = this, s = e._self._c;
978
- return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list" }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, cellClassName: e.cellClassName, filtering: !0 }, on: { onChange: e.onSelectChange, rowClick: e.rowClick }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
979
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, transKey: `Dynamics.${a.transKey}`, highlight: "" }, on: { click: function(r) {
980
- return e.editForm(a, i);
981
- } } })];
982
- } }, { key: "dictType", fn: function(i) {
983
- return [i.row.dict_type === 1 ? s("el-tag", { staticStyle: { "background-color": "red", "border-color": "red" }, attrs: { effect: "dark" } }, [e._v(" " + e._s(e.$i18nt("gd.dict.systemType", "\u7CFB\u7EDF\u7C7B\u578B")) + " ")]) : s("el-tag", { staticStyle: { "background-color": "#52c41a", "border-color": "#52c41a" }, attrs: { effect: "dark" } }, [e._v(" " + e._s(e.$i18nt("gd.dict.businessType", "\u4E1A\u52A1\u7C7B\u578B")) + " ")])];
984
- } }, { key: "stateCodes", fn: function(i) {
985
- return [s("div", { staticStyle: { cursor: "pointer" }, on: { click: function(a) {
986
- return a.stopPropagation(), e.editStateCodes(i);
987
- } } }, [i.row.statecodes ? s("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : s("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })])];
988
- } }, { key: "remark", fn: function({ column: i, row: a }) {
989
- return [s("gd-tooltip", { attrs: { rowKey: "remark", row: a, prevent: !1 } })];
990
- } }, { key: "operator", fn: function() {
991
- return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl" }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.dict.displayName", "\u663E\u793A\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(i) {
992
- return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
993
- } }, model: { value: e.queryParam.name, callback: function(i) {
994
- e.$set(e.queryParam, "name", i);
995
- }, expression: "queryParam.name" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
996
- }, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: a }) {
997
- return [s("gd-table-queries-field", { key: "tfiltering", attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
998
- } }]) }), s("dict-column", { ref: "dictColumn", attrs: { typeId: e.typeId, record: e.record, height: e.heightd } })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", labelWidth: e.labelWidth, loading: e.formLoading, transKey: e.transKey, buttons: e.getFormButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, translationType: e.translationType }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "name", fn: function({ data: i, column: a, record: r }) {
999
- return [s("el-input", { directives: [{ name: "show", rawName: "v-show", value: !r, expression: "!record" }], attrs: { disabled: a.disabled, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i[a.prop], callback: function(n) {
1000
- e.$set(i, a.prop, n);
1001
- }, expression: "data[column.prop]" } }), r ? s("gd-translation", { ref: "gdTranslation", attrs: { recordData: i, type: 2 }, on: { lookupSeled: (n) => e.lookupSeled(n, i, a) } }) : e._e()];
1002
- } }]) })], 1);
1003
- }, N = [], P = /* @__PURE__ */ c(
1004
- D,
931
+ }, N = [], D = /* @__PURE__ */ c(
1005
932
  S,
933
+ x,
1006
934
  N,
1007
935
  !1,
1008
936
  null,
1009
- "8ca29825",
937
+ "55b2f52b",
1010
938
  null,
1011
939
  null
1012
940
  );
1013
- const l = P.exports;
1014
- l.install = function(t) {
1015
- t.component(l.name, l);
1016
- };
941
+ const P = D.exports, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
942
+ __proto__: null,
943
+ default: P
944
+ }, Symbol.toStringTag, { value: "Module" }));
1017
945
  export {
1018
- l as G,
1019
- b as a,
1020
- p as b,
1021
- O as s
946
+ o as G
1022
947
  };