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
@@ -1,130 +1,9 @@
1
- import { m as d, c as m, n as c } from "./chartbi.eb4dd0af.mjs";
2
- import { t as p } from "./messages.a739f4fc.mjs";
3
- function B(a) {
4
- return window.axios({
5
- url: "/sysTranslation/page",
6
- method: "get",
7
- params: a
8
- });
9
- }
10
- function K(a) {
11
- return window.axios({
12
- url: "/sysTranslation/add",
13
- method: "post",
14
- data: a
15
- });
16
- }
17
- function h() {
18
- return window.axios({
19
- url: "/sysTranslation/GetAllLanguage",
20
- method: "get"
21
- });
22
- }
23
- function M(a) {
24
- return window.axios({
25
- url: "/sysTranslation/edit",
26
- method: "post",
27
- data: a
28
- });
29
- }
30
- function R(a) {
31
- return window.axios({
32
- url: "/sysTranslation/delete",
33
- method: "post",
34
- params: a
35
- });
36
- }
37
- function q(a) {
38
- return window.axios({
39
- url: "/sysTranslation/DeleteByName",
40
- method: "post",
41
- params: a
42
- });
43
- }
44
- function N(a) {
45
- return window.axios({
46
- url: "/sysTranslation/details",
47
- method: "get",
48
- params: a
49
- });
50
- }
51
- function O() {
52
- return window.axios({
53
- url: "/sysTranslation/cacheTranslation",
54
- method: "get"
55
- });
56
- }
57
- function P() {
58
- return window.axios({
59
- url: "/develop/DeployTranslation",
60
- method: "get"
61
- });
62
- }
63
- function E(a) {
64
- return window.axios({
65
- url: "/sysTranslation/InitTranslation",
66
- method: "post",
67
- data: a
68
- });
69
- }
70
- function H(a) {
71
- return window.axios({
72
- url: "/sysTranslation/ImportTranslation",
73
- method: "post",
74
- data: a
75
- });
76
- }
77
- function z(a) {
78
- return window.axios({
79
- url: "/sysTranslation/ExportTranslation",
80
- method: "get",
81
- params: a,
82
- responseType: "blob"
83
- });
84
- }
85
- function I(a) {
86
- return window.axios({
87
- url: "/sysTranslation/BatchAdd",
88
- method: "post",
89
- data: a
90
- });
91
- }
92
- function g(a) {
93
- return window.axios({
94
- url: "/sysHintcatalog/add",
95
- method: "post",
96
- data: a
97
- });
98
- }
99
- function u(a) {
100
- return window.axios({
101
- url: "/sysHintcatalog/edit",
102
- method: "post",
103
- data: a
104
- });
105
- }
106
- function y(a) {
107
- return window.axios({
108
- url: "/sysHintcatalog/detail",
109
- method: "get",
110
- params: a
111
- });
112
- }
113
- function f(a) {
114
- return window.axios({
115
- url: "/sysHintcatalog/delete",
116
- method: "post",
117
- data: a
118
- });
119
- }
120
- function w(a) {
121
- return window.axios({
122
- url: "/sysHintcatalog/page",
123
- method: "get",
124
- params: a
125
- });
126
- }
127
- const b = {
1
+ import { l as m, d as p, e as d, a as h, b as g } from "./http.promptmanagement.dad4c6a7.mjs";
2
+ import { m as c, n as u } from "./components.chartbi.470b96af.mjs";
3
+ import { t as y } from "./utils.mixins.js.be01e599.mjs";
4
+ import { G as f } from "./http.translationmanage.f8694b51.mjs";
5
+ import { a as b } from "./utils.util.js.885de913.mjs";
6
+ const _ = {
128
7
  data() {
129
8
  return {
130
9
  tableColumns: [
@@ -303,7 +182,237 @@ const b = {
303
182
  };
304
183
  }
305
184
  };
306
- const _ = {
185
+ const w = {
186
+ props: {
187
+ height: {
188
+ type: Number,
189
+ default: 100
190
+ }
191
+ },
192
+ name: "GdPromptManagement",
193
+ mixins: [y, _],
194
+ components: {
195
+ editForm: () => Promise.resolve().then(() => x)
196
+ },
197
+ data() {
198
+ return {
199
+ selectedRowKeys: [],
200
+ selectedRows: [],
201
+ disableBtn: [],
202
+ transKey: "gd.promptManagement.checkConfigurationRetryRule",
203
+ formLoading: !1,
204
+ currentNode: null,
205
+ loadData: (s) => m(Object.assign(s, this.getQueryParam)).then((e) => e.data),
206
+ record: {},
207
+ queryParam: {}
208
+ };
209
+ },
210
+ computed: {
211
+ getTableLists() {
212
+ let s = [...this.tableLists];
213
+ return s.forEach((e, t) => {
214
+ s[t].name = e.busname, s[t].code = e.id;
215
+ }), s;
216
+ },
217
+ getTableQueries() {
218
+ return this.tableQueries.forEach((s, e) => {
219
+ }), this.tableQueries;
220
+ },
221
+ getHeight() {
222
+ return this.height;
223
+ },
224
+ getTableButtons() {
225
+ return this.tableButtons.filter((s) => (s.show = !this.disableBtn.includes(s.displayName), !0));
226
+ },
227
+ getQueryParam() {
228
+ let s = /* @__PURE__ */ new Map();
229
+ for (let e in this.queryParam)
230
+ s.set(e, this.queryParam[e]);
231
+ return Object.fromEntries(s);
232
+ },
233
+ ...c(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
234
+ },
235
+ methods: {
236
+ onSelectChange(s, e) {
237
+ if (this.selectedRows = e, this.selectedRowKeys = s, s.length === 0) {
238
+ this.disableBtn = [];
239
+ return;
240
+ }
241
+ },
242
+ query() {
243
+ this.$refs.table.refresh(!0);
244
+ },
245
+ refresh() {
246
+ this.$refs.table.refresh();
247
+ },
248
+ edit() {
249
+ if (this.selectedRowKeys.length === 0) {
250
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
251
+ return;
252
+ }
253
+ if (this.selectedRowKeys.length > 1) {
254
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
255
+ return;
256
+ }
257
+ this.editForms(this.selectedRows[0]);
258
+ },
259
+ editForms(s) {
260
+ this.$refs.editForm.init(s);
261
+ },
262
+ saveQueries(s) {
263
+ this.queryParam = { ...s }, this.refresh();
264
+ },
265
+ add() {
266
+ this.$refs.editForm.init(null);
267
+ },
268
+ del() {
269
+ if (this.selectedRowKeys.length === 0) {
270
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
271
+ return;
272
+ }
273
+ if (this.selectedRowKeys.length > 1) {
274
+ this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E!"));
275
+ return;
276
+ }
277
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
278
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
279
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
280
+ showClose: !1,
281
+ confirmButtonLoading: !1,
282
+ cancelButtonLoading: !1,
283
+ closeOnClickModal: !1,
284
+ type: "warning",
285
+ confirmButtonClass: "el-button--danger",
286
+ customClass: "custom-alert",
287
+ callback: () => {
288
+ },
289
+ beforeClose: (s, e, t) => {
290
+ this.delHand(s, e, t);
291
+ }
292
+ });
293
+ },
294
+ delHand(s, e, t) {
295
+ if (s !== "confirm") {
296
+ t();
297
+ return;
298
+ }
299
+ let a = [], i = p({
300
+ id: this.selectedRowKeys.join(",")
301
+ }).then((n) => n);
302
+ a.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((n) => {
303
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t();
304
+ const r = n.filter((o) => !o.success);
305
+ r.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") + r[0].message), this.refresh();
306
+ });
307
+ },
308
+ doEvent(s) {
309
+ let e = s.item.functionName;
310
+ this[e] && this[e]();
311
+ },
312
+ handleOk() {
313
+ this.$refs.table.refresh();
314
+ },
315
+ dictSwitch(s, e) {
316
+ let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
317
+ return t != null && t.colour ? t.colour : null;
318
+ },
319
+ enable() {
320
+ if (this.selectedRowKeys.length === 0) {
321
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
322
+ return;
323
+ }
324
+ if (this.selectedRowKeys.length > 1) {
325
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
326
+ return;
327
+ }
328
+ this.editStateCodes({ row: this.selectedRows[0] });
329
+ },
330
+ deactivated() {
331
+ if (this.selectedRowKeys.length === 0) {
332
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
333
+ return;
334
+ }
335
+ if (this.selectedRowKeys.length > 1) {
336
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
337
+ return;
338
+ }
339
+ this.editStateCodes({ row: this.selectedRows[0] });
340
+ },
341
+ editStateCodes({ column: s, row: e }) {
342
+ if (e.dict_type == 1) {
343
+ this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
344
+ return;
345
+ }
346
+ const t = 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?"), a = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
347
+ this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
348
+ confirmButtonText: a,
349
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
350
+ showClose: !1,
351
+ confirmButtonLoading: !1,
352
+ cancelButtonLoading: !1,
353
+ closeOnClickModal: !1,
354
+ type: "warning",
355
+ confirmButtonClass: "el-button--danger",
356
+ customClass: "custom-alert",
357
+ callback: () => {
358
+ },
359
+ beforeClose: (i, n, r) => {
360
+ if (i !== "confirm") {
361
+ r();
362
+ return;
363
+ }
364
+ n.confirmButtonLoading = !0, n.cancelButtonLoading = !0, n.showCancelButton = !1, d({ id: e.id, stateCodes: e.statecodes == 1 ? 0 : 1 }).then((o) => {
365
+ r(), n.confirmButtonLoading = !1, n.cancelButtonLoading = !1, n.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);
366
+ });
367
+ }
368
+ });
369
+ }
370
+ }
371
+ };
372
+ var $ = function() {
373
+ var e = this, t = e._self._c;
374
+ return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !0, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: a, row: i }) {
375
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForms } })];
376
+ } }, { key: "createdtime", fn: function({ column: a, row: i }) {
377
+ return [t("gd-tooltip", { attrs: { rowKey: "createdtime", row: i } })];
378
+ } }, { key: "updatedtime", fn: function({ column: a, row: i }) {
379
+ return [t("gd-tooltip", { attrs: { rowKey: "updatedtime", row: i } })];
380
+ } }, { key: "hintseverity", fn: function(a) {
381
+ return [e.dictSwitch(a.row.hintseverity, "severity_level") ? t("el-tag", { attrs: { color: e.dictSwitch(a.row.hintseverity, "severity_level") } }, [e._v(" " + e._s(e._f("dictType")("severity_level", a.row.hintseverity)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("severity_level", a.row.hintseverity)))])];
382
+ } }, { key: "systemcode", fn: function(a) {
383
+ return [e.dictSwitch(a.row.systemcode, "source_system") ? t("el-tag", { attrs: { color: e.dictSwitch(a.row.systemcode, "source_system") } }, [e._v(" " + e._s(e._f("dictType")("source_system", a.row.systemcode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_system", a.row.systemcode)))])];
384
+ } }, { key: "typecode", fn: function(a) {
385
+ return [e.dictSwitch(a.row.typecode, "source_category") ? t("el-tag", { attrs: { color: e.dictSwitch(a.row.typecode, "source_category") } }, [e._v(" " + e._s(e._f("dictType")("source_category", a.row.typecode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_category", a.row.typecode)))])];
386
+ } }, { key: "modulecode", fn: function(a) {
387
+ return [e.dictSwitch(a.row.modulecode, "source_module") ? t("el-tag", { attrs: { color: e.dictSwitch(a.row.modulecode, "source_module") } }, [e._v(" " + e._s(e._f("dictType")("source_module", a.row.modulecode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_module", a.row.modulecode)))])];
388
+ } }, { key: "operator", fn: function() {
389
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { "margin-right": "12px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.promptManagement.hintCode", "\u63D0\u793A\u7F16\u7801"), clearable: "" }, nativeOn: { keyup: function(a) {
390
+ return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.query.apply(null, arguments);
391
+ } }, model: { value: e.queryParam.hintcode, callback: function(a) {
392
+ e.$set(e.queryParam, "hintcode", a);
393
+ }, expression: "queryParam.hintcode" } }), t("div", { staticClass: "table-operator-search", on: { click: e.query } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F"), clearable: "" }, nativeOn: { keyup: function(a) {
394
+ return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.query.apply(null, arguments);
395
+ } }, model: { value: e.queryParam.name, callback: function(a) {
396
+ e.$set(e.queryParam, "name", a);
397
+ }, expression: "queryParam.name" } }), t("div", { staticClass: "table-operator-search", on: { click: e.query } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
398
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: a, visible: i }) {
399
+ return [t("gd-table-queries-field", { attrs: { columns: e.getTableQueries, height: e.getHeight, queryParam: e.queryParam, colse: a, visible: i }, on: { save: e.saveQueries } })];
400
+ } }]) })], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.handleOk } })], 1);
401
+ }, v = [], D = /* @__PURE__ */ u(
402
+ w,
403
+ $,
404
+ v,
405
+ !1,
406
+ null,
407
+ "65b8f5e8",
408
+ null,
409
+ null
410
+ );
411
+ const l = D.exports;
412
+ l.install = function(s) {
413
+ s.component(l.name, l);
414
+ };
415
+ const C = {
307
416
  data() {
308
417
  return {
309
418
  confirmLoading: !0,
@@ -398,58 +507,58 @@ const _ = {
398
507
  }
399
508
  };
400
509
  },
401
- ...d(["screenHeight", "tableLists"])
510
+ ...c(["screenHeight", "tableLists"])
402
511
  },
403
512
  methods: {
404
513
  toggleFullscreen() {
405
514
  this.fullScreen = !this.fullScreen;
406
515
  },
407
516
  copyData() {
408
- m(this.ruleFormData.hintcode, () => {
517
+ b(this.ruleFormData.hintcode, () => {
409
518
  this.$message.success(this.$i18nt("gd.https.beenCopied", "\u6570\u636E\u5DF2\u590D\u5236"));
410
519
  });
411
520
  },
412
- changeText(a) {
521
+ changeText(s) {
413
522
  let e = [...this.translationDetail.langs];
414
- e.map((t) => (t.description = t.languagecode.replace(/-/g, "_") === "zh_CN" ? a : t.description, t)), this.translationDetail.langs = [...e];
523
+ e.map((t) => (t.description = t.languagecode.replace(/-/g, "_") === "zh_CN" ? s : t.description, t)), this.translationDetail.langs = [...e];
415
524
  },
416
- changeLanguage(a, e) {
417
- e.languagecode.replace(/-/g, "_") === "zh_CN" && (this.ruleFormData.name = a);
525
+ changeLanguage(s, e) {
526
+ e.languagecode.replace(/-/g, "_") === "zh_CN" && (this.ruleFormData.name = s);
418
527
  },
419
528
  getAllLanguage() {
420
- this.confirmLoading = !0, h().then((a) => {
421
- let e = a.data;
529
+ this.confirmLoading = !0, f().then((s) => {
530
+ let e = s.data;
422
531
  this.addData && e.map((t) => {
423
- let s = this.addData.langs.filter((n) => n.code == t.languagecode)[0];
424
- return t.languagecode = t.languagecode.replace(/-/g, "_"), t.description = s === void 0 ? "" : s.val, t;
532
+ let a = this.addData.langs.filter((i) => i.code == t.languagecode)[0];
533
+ return t.languagecode = t.languagecode.replace(/-/g, "_"), t.description = a === void 0 ? "" : a.val, t;
425
534
  }), this.translationDetail.langs = e, this.confirmLoading = !1;
426
535
  });
427
536
  },
428
- getDictionary(a) {
429
- return this.$options.filters.dictData(a);
537
+ getDictionary(s) {
538
+ return this.$options.filters.dictData(s);
430
539
  },
431
- getsourcecategory(a) {
540
+ getsourcecategory(s) {
432
541
  this.sourcecategory = this.$options.filters.dictData("source_category").filter(
433
- (e) => a.split(",").includes(e.name)
542
+ (e) => s.split(",").includes(e.name)
434
543
  );
435
544
  },
436
- getsourcemodule(a) {
437
- this.sourcemodule = this.$options.filters.dictData("source_module").filter((e) => a.split(",").includes(e.name));
545
+ getsourcemodule(s) {
546
+ this.sourcemodule = this.$options.filters.dictData("source_module").filter((e) => s.split(",").includes(e.name));
438
547
  },
439
- changecode(a) {
548
+ changecode(s) {
440
549
  let e = this.getDictionary("source_system"), t = "";
441
- e.forEach((s) => {
442
- s.code == a && (t = s.remark);
550
+ e.forEach((a) => {
551
+ a.code == s && (t = a.remark);
443
552
  }), this.sourcecategory = [], this.sourcemodule = [], this.ruleFormData.typecode = "", this.ruleFormData.modulecode = "", this.getsourcecategory(t);
444
553
  },
445
- changetypecode(a) {
554
+ changetypecode(s) {
446
555
  let e = "";
447
556
  this.sourcecategory.forEach((t) => {
448
- t.code == a && (e = t.remark);
557
+ t.code == s && (e = t.remark);
449
558
  }), this.getsourcemodule(e);
450
559
  },
451
- init(a) {
452
- this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = a ? 2 : 1, this.title = a ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.sysViewButtons = [
560
+ init(s) {
561
+ this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = s ? 2 : 1, this.title = s ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.sysViewButtons = [
453
562
  {
454
563
  displayName: "\u786E\u5B9A",
455
564
  functionName: "handleSubmit",
@@ -457,38 +566,38 @@ const _ = {
457
566
  transKey: "gd.btn.confirm",
458
567
  icon: "el-icon-document-checked"
459
568
  }
460
- ], this.getAllLanguage(), a && this.$nextTick(() => {
569
+ ], this.getAllLanguage(), s && this.$nextTick(() => {
461
570
  setTimeout(() => {
462
- this.sysTranslationDetail(a.id);
571
+ this.sysTranslationDetail(s.id);
463
572
  });
464
573
  });
465
574
  },
466
- sysTranslationDetail(a) {
467
- this.confirmLoading = !0, y({
468
- id: a
575
+ sysTranslationDetail(s) {
576
+ this.confirmLoading = !0, h({
577
+ id: s
469
578
  }).then((e) => {
470
579
  this.ruleFormData.name = e.data.name, this.ruleFormData.id = e.data.id, this.ruleFormData.hintseverity = String(e.data.hintseverity), this.ruleFormData.hintcode = e.data.hintcode, this.ruleFormData.hintdescription = e.data.hintdescription, this.ruleFormData.parameters = e.data.parameters, this.ruleFormData.systemcode = e.data.systemcode, this.changecode(this.ruleFormData.systemcode), this.ruleFormData.typecode = e.data.typecode, this.changetypecode(this.ruleFormData.typecode), this.ruleFormData.modulecode = e.data.modulecode;
471
580
  let t = e.data && e.data.langs ? e.data.langs : [];
472
- t.map((s) => (s.languagecode = s.languagecode.replace(/-/g, "_"), s)), this.translationDetail = Object.assign(e.data, { langs: t }), this.confirmLoading = !1;
581
+ t.map((a) => (a.languagecode = a.languagecode.replace(/-/g, "_"), a)), this.translationDetail = Object.assign(e.data, { langs: t }), this.confirmLoading = !1;
473
582
  });
474
583
  },
475
- add(a) {
476
- this.confirmLoading = !0, delete a.id, g(a).then((e) => {
477
- e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", a), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
584
+ add(s) {
585
+ this.confirmLoading = !0, delete s.id, g(s).then((e) => {
586
+ e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", s), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
478
587
  }).finally((e) => {
479
588
  this.confirmLoading = !1;
480
589
  });
481
590
  },
482
- edit(a) {
483
- this.confirmLoading = !0, delete a.basicRecordTable, delete a.matchingRecordTable, u(a).then((e) => {
484
- e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", a), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
591
+ edit(s) {
592
+ this.confirmLoading = !0, delete s.basicRecordTable, delete s.matchingRecordTable, d(s).then((e) => {
593
+ e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", s), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
485
594
  }).finally((e) => {
486
595
  this.confirmLoading = !1;
487
596
  });
488
597
  },
489
598
  handleSubmit() {
490
- this.$refs.ruleForm.validate((a) => {
491
- if (a) {
599
+ this.$refs.ruleForm.validate((s) => {
600
+ if (s) {
492
601
  const e = {
493
602
  ...this.ruleFormData,
494
603
  langs: this.translationDetail.langs || [],
@@ -511,303 +620,63 @@ const _ = {
511
620
  langs: ""
512
621
  }, this.sourcecategory = [], this.sourcemodule = [], this.addData = null;
513
622
  },
514
- doEvent(a) {
515
- let e = a.item.functionName;
623
+ doEvent(s) {
624
+ let e = s.item.functionName;
516
625
  this[e]();
517
626
  }
518
627
  }
519
628
  };
520
- var $ = function() {
629
+ var k = function() {
521
630
  var e = this, t = e._self._c;
522
- return t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { fullscreen: e.fullScreen, width: e.width, visible: e.visible, footer: null, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
523
- e.visible = s;
524
- }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: `${e.title}${e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F")}`, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleFormData, rules: e.rules, "label-width": "120px" }, nativeOn: { submit: function(s) {
525
- s.preventDefault();
526
- } } }, [t("el-row", { attrs: { gutter: 24 } }, [e.type == 2 ? t("el-col", { staticStyle: { display: "flex", "align-items": "center" }, attrs: { span: 12 } }, [t("div", { staticClass: "copy-flex" }, [t("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: e.$i18nt("gd.promptManagement.hintCode", "\u63D0\u793A\u7F16\u7801"), prop: "hintcode" } }, [t("el-input", { attrs: { disabled: e.type == 2, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.hintcode, callback: function(s) {
527
- e.$set(e.ruleFormData, "hintcode", s);
528
- }, expression: "ruleFormData['hintcode']" } })], 1), t("el-button", { staticClass: "active-color", attrs: { type: "text" }, on: { click: e.copyData } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy", "\u590D\u5236")) + " ")])], 1)]) : e._e(), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.hintSeverity", "\u4E25\u91CD\u7A0B\u5EA6"), prop: "hintseverity" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, model: { value: e.ruleFormData.hintseverity, callback: function(s) {
529
- e.$set(e.ruleFormData, "hintseverity", s);
530
- }, expression: "ruleFormData['hintseverity']" } }, e._l(e.getDictionary("severity_level"), function(s, n) {
531
- return t("el-option", { key: n, attrs: { value: s.code, label: e.$i18nt(`Dynamics.${s.transkey}`, s.name) } });
532
- }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, on: { input: e.changeText }, model: { value: e.ruleFormData.name, callback: function(s) {
533
- e.$set(e.ruleFormData, "name", s);
534
- }, expression: "ruleFormData['name']" } })], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.systemCode", "\u6240\u5C5E\u7CFB\u7EDF"), prop: "systemcode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: e.changecode }, model: { value: e.ruleFormData.systemcode, callback: function(s) {
535
- e.$set(e.ruleFormData, "systemcode", s);
536
- }, expression: "ruleFormData['systemcode']" } }, e._l(e.getDictionary("source_system"), function(s, n) {
537
- return t("el-option", { key: n, attrs: { value: s.code, label: e.$i18nt(`Dynamics.${s.transkey}`, s.name) } });
538
- }), 1)], 1)], 1), t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.typeCode", "\u6240\u5C5E\u5206\u7C7B"), prop: "typecode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: !e.ruleFormData.systemcode }, on: { change: e.changetypecode }, model: { value: e.ruleFormData.typecode, callback: function(s) {
539
- e.$set(e.ruleFormData, "typecode", s);
540
- }, expression: "ruleFormData['typecode']" } }, e._l(e.sourcecategory, function(s, n) {
541
- return t("el-option", { key: n, attrs: { value: s.code, label: e.$i18nt(`Dynamics.${s.transkey}`, s.name) } });
542
- }), 1)], 1)], 1), t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.moduleCode", "\u6240\u5C5E\u6A21\u5757"), prop: "modulecode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: !e.ruleFormData.typecode }, model: { value: e.ruleFormData.modulecode, callback: function(s) {
543
- e.$set(e.ruleFormData, "modulecode", s);
544
- }, expression: "ruleFormData['modulecode']" } }, e._l(e.sourcemodule, function(s, n) {
545
- return t("el-option", { key: n, attrs: { value: s.code, label: e.$i18nt(`Dynamics.${s.transkey}`, s.name) } });
546
- }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.parameters", "\u53C2\u6570"), prop: "parameters" } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 3, maxRows: 20 } }, model: { value: e.ruleFormData.parameters, callback: function(s) {
547
- e.$set(e.ruleFormData, "parameters", s);
548
- }, expression: "ruleFormData['parameters']" } })], 1)], 1), t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "0px !important" }, attrs: { label: e.$i18nt("gd.promptManagement.hintDescription", "\u63D0\u793A\u63CF\u8FF0") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 3, maxRows: 20 } }, model: { value: e.ruleFormData.hintdescription, callback: function(s) {
549
- e.$set(e.ruleFormData, "hintdescription", s);
550
- }, expression: "ruleFormData['hintdescription']" } })], 1)], 1)], 1), t("el-divider", { attrs: { dashed: "" } }), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [e._l(this.translationDetail.langs, function(s) {
551
- return [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: s.languagename } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", autosize: "" }, on: { input: function(n) {
552
- return e.changeLanguage(n, s);
553
- } }, model: { value: s.description, callback: function(n) {
554
- e.$set(s, "description", n);
631
+ return t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { fullscreen: e.fullScreen, width: e.width, visible: e.visible, footer: null, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
632
+ e.visible = a;
633
+ }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: `${e.title}${e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F")}`, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleFormData, rules: e.rules, "label-width": "120px" }, nativeOn: { submit: function(a) {
634
+ a.preventDefault();
635
+ } } }, [t("el-row", { attrs: { gutter: 24 } }, [e.type == 2 ? t("el-col", { staticStyle: { display: "flex", "align-items": "center" }, attrs: { span: 12 } }, [t("div", { staticClass: "copy-flex" }, [t("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: e.$i18nt("gd.promptManagement.hintCode", "\u63D0\u793A\u7F16\u7801"), prop: "hintcode" } }, [t("el-input", { attrs: { disabled: e.type == 2, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.hintcode, callback: function(a) {
636
+ e.$set(e.ruleFormData, "hintcode", a);
637
+ }, expression: "ruleFormData['hintcode']" } })], 1), t("el-button", { staticClass: "active-color", attrs: { type: "text" }, on: { click: e.copyData } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy", "\u590D\u5236")) + " ")])], 1)]) : e._e(), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.hintSeverity", "\u4E25\u91CD\u7A0B\u5EA6"), prop: "hintseverity" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, model: { value: e.ruleFormData.hintseverity, callback: function(a) {
638
+ e.$set(e.ruleFormData, "hintseverity", a);
639
+ }, expression: "ruleFormData['hintseverity']" } }, e._l(e.getDictionary("severity_level"), function(a, i) {
640
+ return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
641
+ }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, on: { input: e.changeText }, model: { value: e.ruleFormData.name, callback: function(a) {
642
+ e.$set(e.ruleFormData, "name", a);
643
+ }, expression: "ruleFormData['name']" } })], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.systemCode", "\u6240\u5C5E\u7CFB\u7EDF"), prop: "systemcode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: e.changecode }, model: { value: e.ruleFormData.systemcode, callback: function(a) {
644
+ e.$set(e.ruleFormData, "systemcode", a);
645
+ }, expression: "ruleFormData['systemcode']" } }, e._l(e.getDictionary("source_system"), function(a, i) {
646
+ return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
647
+ }), 1)], 1)], 1), t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.typeCode", "\u6240\u5C5E\u5206\u7C7B"), prop: "typecode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: !e.ruleFormData.systemcode }, on: { change: e.changetypecode }, model: { value: e.ruleFormData.typecode, callback: function(a) {
648
+ e.$set(e.ruleFormData, "typecode", a);
649
+ }, expression: "ruleFormData['typecode']" } }, e._l(e.sourcecategory, function(a, i) {
650
+ return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
651
+ }), 1)], 1)], 1), t("el-col", { attrs: { span: 8 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.moduleCode", "\u6240\u5C5E\u6A21\u5757"), prop: "modulecode" } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: !e.ruleFormData.typecode }, model: { value: e.ruleFormData.modulecode, callback: function(a) {
652
+ e.$set(e.ruleFormData, "modulecode", a);
653
+ }, expression: "ruleFormData['modulecode']" } }, e._l(e.sourcemodule, function(a, i) {
654
+ return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
655
+ }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.promptManagement.parameters", "\u53C2\u6570"), prop: "parameters" } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 3, maxRows: 20 } }, model: { value: e.ruleFormData.parameters, callback: function(a) {
656
+ e.$set(e.ruleFormData, "parameters", a);
657
+ }, expression: "ruleFormData['parameters']" } })], 1)], 1), t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "0px !important" }, attrs: { label: e.$i18nt("gd.promptManagement.hintDescription", "\u63D0\u793A\u63CF\u8FF0") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 3, maxRows: 20 } }, model: { value: e.ruleFormData.hintdescription, callback: function(a) {
658
+ e.$set(e.ruleFormData, "hintdescription", a);
659
+ }, expression: "ruleFormData['hintdescription']" } })], 1)], 1)], 1), t("el-divider", { attrs: { dashed: "" } }), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [e._l(this.translationDetail.langs, function(a) {
660
+ return [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: a.languagename } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", autosize: "" }, on: { input: function(i) {
661
+ return e.changeLanguage(i, a);
662
+ } }, model: { value: a.description, callback: function(i) {
663
+ e.$set(a, "description", i);
555
664
  }, expression: "item.description" } })], 1)];
556
665
  })], 2)], 1)], 1)], 1)])], 1);
557
- }, v = [], D = /* @__PURE__ */ c(
558
- _,
559
- $,
560
- v,
561
- !1,
562
- null,
563
- "1970493c",
564
- null,
565
- null
566
- );
567
- const T = D.exports;
568
- const x = {
569
- props: {
570
- height: {
571
- type: Number,
572
- default: 100
573
- }
574
- },
575
- name: "GdPromptManagement",
576
- mixins: [p, b],
577
- components: {
578
- editForm: T
579
- },
580
- data() {
581
- return {
582
- selectedRowKeys: [],
583
- selectedRows: [],
584
- disableBtn: [],
585
- transKey: "gd.promptManagement.checkConfigurationRetryRule",
586
- formLoading: !1,
587
- currentNode: null,
588
- loadData: (a) => w(Object.assign(a, this.getQueryParam)).then((e) => e.data),
589
- record: {},
590
- queryParam: {}
591
- };
592
- },
593
- computed: {
594
- getTableLists() {
595
- let a = [...this.tableLists];
596
- return a.forEach((e, t) => {
597
- a[t].name = e.busname, a[t].code = e.id;
598
- }), a;
599
- },
600
- getTableQueries() {
601
- return this.tableQueries.forEach((a, e) => {
602
- }), this.tableQueries;
603
- },
604
- getHeight() {
605
- return this.height;
606
- },
607
- getTableButtons() {
608
- return this.tableButtons.filter((a) => (a.show = !this.disableBtn.includes(a.displayName), !0));
609
- },
610
- getQueryParam() {
611
- let a = /* @__PURE__ */ new Map();
612
- for (let e in this.queryParam)
613
- a.set(e, this.queryParam[e]);
614
- return Object.fromEntries(a);
615
- },
616
- ...d(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
617
- },
618
- methods: {
619
- onSelectChange(a, e) {
620
- if (this.selectedRows = e, this.selectedRowKeys = a, a.length === 0) {
621
- this.disableBtn = [];
622
- return;
623
- }
624
- },
625
- query() {
626
- this.$refs.table.refresh(!0);
627
- },
628
- refresh() {
629
- this.$refs.table.refresh();
630
- },
631
- edit() {
632
- if (this.selectedRowKeys.length === 0) {
633
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
634
- return;
635
- }
636
- if (this.selectedRowKeys.length > 1) {
637
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
638
- return;
639
- }
640
- this.editForms(this.selectedRows[0]);
641
- },
642
- editForms(a) {
643
- this.$refs.editForm.init(a);
644
- },
645
- saveQueries(a) {
646
- this.queryParam = { ...a }, this.refresh();
647
- },
648
- add() {
649
- this.$refs.editForm.init(null);
650
- },
651
- del() {
652
- if (this.selectedRowKeys.length === 0) {
653
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
654
- return;
655
- }
656
- if (this.selectedRowKeys.length > 1) {
657
- this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E!"));
658
- return;
659
- }
660
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
661
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
662
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
663
- showClose: !1,
664
- confirmButtonLoading: !1,
665
- cancelButtonLoading: !1,
666
- closeOnClickModal: !1,
667
- type: "warning",
668
- confirmButtonClass: "el-button--danger",
669
- customClass: "custom-alert",
670
- callback: () => {
671
- },
672
- beforeClose: (a, e, t) => {
673
- this.delHand(a, e, t);
674
- }
675
- });
676
- },
677
- delHand(a, e, t) {
678
- if (a !== "confirm") {
679
- t();
680
- return;
681
- }
682
- let s = [], n = f({
683
- id: this.selectedRowKeys.join(",")
684
- }).then((i) => i);
685
- s.push(n), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((i) => {
686
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t();
687
- const o = i.filter((r) => !r.success);
688
- 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.refresh();
689
- });
690
- },
691
- doEvent(a) {
692
- let e = a.item.functionName;
693
- this[e] && this[e]();
694
- },
695
- handleOk() {
696
- this.$refs.table.refresh();
697
- },
698
- dictSwitch(a, e) {
699
- let t = this.$options.filters.dictData(e).filter((s) => s.code == a)[0];
700
- return t != null && t.colour ? t.colour : null;
701
- },
702
- enable() {
703
- if (this.selectedRowKeys.length === 0) {
704
- this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
705
- return;
706
- }
707
- if (this.selectedRowKeys.length > 1) {
708
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
709
- return;
710
- }
711
- this.editStateCodes({ row: this.selectedRows[0] });
712
- },
713
- deactivated() {
714
- if (this.selectedRowKeys.length === 0) {
715
- this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
716
- return;
717
- }
718
- if (this.selectedRowKeys.length > 1) {
719
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
720
- return;
721
- }
722
- this.editStateCodes({ row: this.selectedRows[0] });
723
- },
724
- editStateCodes({ column: a, row: e }) {
725
- if (e.dict_type == 1) {
726
- this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
727
- return;
728
- }
729
- const t = 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?"), s = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
730
- this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
731
- confirmButtonText: s,
732
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
733
- showClose: !1,
734
- confirmButtonLoading: !1,
735
- cancelButtonLoading: !1,
736
- closeOnClickModal: !1,
737
- type: "warning",
738
- confirmButtonClass: "el-button--danger",
739
- customClass: "custom-alert",
740
- callback: () => {
741
- },
742
- beforeClose: (n, i, o) => {
743
- if (n !== "confirm") {
744
- o();
745
- return;
746
- }
747
- i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, u({ id: e.id, stateCodes: e.statecodes == 1 ? 0 : 1 }).then((r) => {
748
- o(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, r.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") + r.message);
749
- });
750
- }
751
- });
752
- }
753
- }
754
- };
755
- var C = function() {
756
- var e = this, t = e._self._c;
757
- return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !0, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
758
- return [t("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" }, on: { click: e.editForms } })];
759
- } }, { key: "createdtime", fn: function({ column: s, row: n }) {
760
- return [t("gd-tooltip", { attrs: { rowKey: "createdtime", row: n } })];
761
- } }, { key: "updatedtime", fn: function({ column: s, row: n }) {
762
- return [t("gd-tooltip", { attrs: { rowKey: "updatedtime", row: n } })];
763
- } }, { key: "hintseverity", fn: function(s) {
764
- return [e.dictSwitch(s.row.hintseverity, "severity_level") ? t("el-tag", { attrs: { color: e.dictSwitch(s.row.hintseverity, "severity_level") } }, [e._v(" " + e._s(e._f("dictType")("severity_level", s.row.hintseverity)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("severity_level", s.row.hintseverity)))])];
765
- } }, { key: "systemcode", fn: function(s) {
766
- return [e.dictSwitch(s.row.systemcode, "source_system") ? t("el-tag", { attrs: { color: e.dictSwitch(s.row.systemcode, "source_system") } }, [e._v(" " + e._s(e._f("dictType")("source_system", s.row.systemcode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_system", s.row.systemcode)))])];
767
- } }, { key: "typecode", fn: function(s) {
768
- return [e.dictSwitch(s.row.typecode, "source_category") ? t("el-tag", { attrs: { color: e.dictSwitch(s.row.typecode, "source_category") } }, [e._v(" " + e._s(e._f("dictType")("source_category", s.row.typecode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_category", s.row.typecode)))])];
769
- } }, { key: "modulecode", fn: function(s) {
770
- return [e.dictSwitch(s.row.modulecode, "source_module") ? t("el-tag", { attrs: { color: e.dictSwitch(s.row.modulecode, "source_module") } }, [e._v(" " + e._s(e._f("dictType")("source_module", s.row.modulecode)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("source_module", s.row.modulecode)))])];
771
- } }, { key: "operator", fn: function() {
772
- return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { "margin-right": "12px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.promptManagement.hintCode", "\u63D0\u793A\u7F16\u7801"), clearable: "" }, nativeOn: { keyup: function(s) {
773
- return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.query.apply(null, arguments);
774
- } }, model: { value: e.queryParam.hintcode, callback: function(s) {
775
- e.$set(e.queryParam, "hintcode", s);
776
- }, expression: "queryParam.hintcode" } }), t("div", { staticClass: "table-operator-search", on: { click: e.query } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.promptManagement.hintInfo", "\u63D0\u793A\u4FE1\u606F"), clearable: "" }, nativeOn: { keyup: function(s) {
777
- return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.query.apply(null, arguments);
778
- } }, model: { value: e.queryParam.name, callback: function(s) {
779
- e.$set(e.queryParam, "name", s);
780
- }, expression: "queryParam.name" } }), t("div", { staticClass: "table-operator-search", on: { click: e.query } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
781
- }, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: n }) {
782
- return [t("gd-table-queries-field", { attrs: { columns: e.getTableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: n }, on: { save: e.saveQueries } })];
783
- } }]) })], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.handleOk } })], 1);
784
- }, k = [], F = /* @__PURE__ */ c(
785
- x,
666
+ }, F = [], S = /* @__PURE__ */ u(
786
667
  C,
787
668
  k,
669
+ F,
788
670
  !1,
789
671
  null,
790
- "306c5f59",
672
+ "1970493c",
791
673
  null,
792
674
  null
793
675
  );
794
- const l = F.exports;
795
- l.install = function(a) {
796
- a.component(l.name, l);
797
- };
676
+ const T = S.exports, x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
677
+ __proto__: null,
678
+ default: T
679
+ }, Symbol.toStringTag, { value: "Module" }));
798
680
  export {
799
- h as G,
800
- K as a,
801
- M as b,
802
- N as c,
803
- H as d,
804
- P as e,
805
- O as f,
806
- z as g,
807
- R as h,
808
- E as i,
809
- q as j,
810
- I as k,
811
- l,
812
- B as s
681
+ l as G
813
682
  };