gds-plus-design-vue 1.2.61 → 1.2.63

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 (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91087
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.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.4baf16c0.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.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.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.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -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.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.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.e03bd5f3.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.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.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.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.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.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -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.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.6c47713a.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.28952cf7.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5b3edd34.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.b4704b4b.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.1787f71e.mjs → messages.ad082386.mjs} +994 -1952
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.9bee857f.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.926c6da1.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.d48f77d5.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.a91a8420.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.ca5f4aae.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.e80ba9c9.mjs → system.log.b86cf57f.mjs} +31 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.c1e753fb.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.a6017645.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.bbf6efd3.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.2b756c66.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.5f9e7b94.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.17fe31d5.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.c503c5b7.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.a169dcb9.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.00fc2917.mjs → system.promptmanagement.d7250932.mjs} +153 -287
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.52d67131.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.357dc3bb.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.90598753.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.f66ddd64.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.279d9e27.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.80ca9f42.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.10ae5122.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.b5c11d9e.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.6dbe70f3.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.a162fc7d.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +48 -23
  291. package/locale/id_ID.js +32 -7
  292. package/locale/vi_VN.js +1973 -1948
  293. package/locale/zh_CN.js +53 -29
  294. package/package.json +106 -105
  295. package/lib/chartbi.0d1d3b58.mjs +0 -27639
  296. package/lib/chartbi.d3f580d6.js +0 -60
  297. package/lib/main.0088ac99.js +0 -1
  298. package/lib/main.34c14bdb.js +0 -1
  299. package/lib/main.4b9adacf.js +0 -1
  300. package/lib/main.d1239940.js +0 -1
  301. package/lib/messages.add7c391.js +0 -9
  302. package/lib/system.account.00b82418.mjs +0 -2552
  303. package/lib/system.account.04cb26b6.js +0 -216
  304. package/lib/system.config.6244fa9b.js +0 -1
  305. package/lib/system.datasource.32878f5f.js +0 -1
  306. package/lib/system.dict.d25839ec.js +0 -1
  307. package/lib/system.duplicatechecking.4ed8c391.mjs +0 -2142
  308. package/lib/system.duplicatechecking.670ee24a.js +0 -1
  309. package/lib/system.email.52671629.mjs +0 -7432
  310. package/lib/system.email.dd537fd0.js +0 -41
  311. package/lib/system.fieldsecurity.4947c737.js +0 -1
  312. package/lib/system.file.93d65d16.js +0 -1
  313. package/lib/system.log.252cce0b.js +0 -1
  314. package/lib/system.machine.4e393981.js +0 -1
  315. package/lib/system.notice.ab23c15b.js +0 -1
  316. package/lib/system.noticereceived.123b764e.js +0 -1
  317. package/lib/system.onlineuser.295ad7f5.js +0 -1
  318. package/lib/system.org.c3bb51ff.js +0 -1
  319. package/lib/system.permissions.967200f1.js +0 -9
  320. package/lib/system.plugin.f8da8731.js +0 -1
  321. package/lib/system.pos.22fabf30.js +0 -1
  322. package/lib/system.promptmanagement.639a98e1.js +0 -1
  323. package/lib/system.role.4cf72743.js +0 -1
  324. package/lib/system.sumberrules.1a5b80df.js +0 -1
  325. package/lib/system.team.777feecf.mjs +0 -1000
  326. package/lib/system.team.ad10fc96.js +0 -1
  327. package/lib/system.teammembers.b193dd23.js +0 -1
  328. package/lib/system.timers.e31fe5fd.js +0 -38
  329. package/lib/system.translation.d3ed3d35.js +0 -1
  330. package/lib/system.useraffiliation.593c9ad4.js +0 -1
  331. package/lib/system.webresource.25e56654.js +0 -1
  332. package/lib/system.welcome.ec4e941f.js +0 -1
@@ -0,0 +1,742 @@
1
+ import { d as g, a as p, e as h, l as b, b as y } from "./http.duplicatechecking.31964ce7.mjs";
2
+ import { m as u, n as f } from "./components.chartbi.b043dcdc.mjs";
3
+ import { t as w } from "./utils.mixins.js.be01e599.mjs";
4
+ import { o as $ } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
5
+ import { a as C } from "./flow.designer.6da03949.mjs";
6
+ const k = {
7
+ data() {
8
+ return {
9
+ tableColumns: [
10
+ {
11
+ type: "selection",
12
+ width: "60",
13
+ fixed: !0
14
+ },
15
+ {
16
+ transKey: "gd.duplicatechecking.name",
17
+ prop: "name",
18
+ label: "\u540D\u79F0",
19
+ width: "260",
20
+ type: "slot",
21
+ slotType: "name",
22
+ align: "left",
23
+ fixed: !0,
24
+ showOverflowTooltip: !0
25
+ },
26
+ {
27
+ transKey: "gd.duplicatechecking.basicTable",
28
+ prop: "basicrecordtablename",
29
+ width: "220",
30
+ label: "\u57FA\u672C\u8868",
31
+ align: "left"
32
+ },
33
+ {
34
+ transKey: "gd.duplicatechecking.matchingTable",
35
+ prop: "matchingrecordtablename",
36
+ width: "220",
37
+ label: "\u5339\u914D\u8868",
38
+ align: "left"
39
+ },
40
+ {
41
+ transKey: "gd.duplicatechecking.isSave",
42
+ prop: "issave",
43
+ width: "120",
44
+ label: "\u662F\u5426\u4FDD\u5B58",
45
+ type: "slot",
46
+ slotType: "issave",
47
+ align: "left"
48
+ },
49
+ {
50
+ transKey: "gd.duplicatechecking.status",
51
+ prop: "stateCodes",
52
+ width: "120",
53
+ label: "\u72B6\u6001",
54
+ type: "slot",
55
+ slotType: "stateCodes",
56
+ align: "left"
57
+ },
58
+ {
59
+ transKey: "gd.duplicatechecking.explain",
60
+ prop: "remark",
61
+ width: "260",
62
+ label: "\u8BF4\u660E",
63
+ align: "left"
64
+ }
65
+ ],
66
+ formColumns: [],
67
+ tableButtons: [
68
+ {
69
+ displayName: "\u65B0\u589E",
70
+ functionName: "add",
71
+ show: !0,
72
+ transKey: "gd.btn.add",
73
+ icon: "el-icon-plus",
74
+ name: "duplicatechecking:add"
75
+ },
76
+ {
77
+ displayName: "\u7F16\u8F91",
78
+ functionName: "edit",
79
+ show: !0,
80
+ transKey: "gd.btn.edit",
81
+ icon: "el-icon-edit",
82
+ name: "duplicatechecking:edit"
83
+ },
84
+ {
85
+ displayName: "\u5220\u9664",
86
+ functionName: "del",
87
+ show: !0,
88
+ transKey: "gd.btn.del",
89
+ icon: "el-icon-delete",
90
+ btnType: "danger",
91
+ name: "duplicatechecking:delete"
92
+ },
93
+ {
94
+ displayName: "\u542F\u7528",
95
+ functionName: "enable",
96
+ show: !0,
97
+ transKey: "gd.btn.enable",
98
+ icon: "el-icon-video-play",
99
+ name: "duplicatechecking:changeStatus"
100
+ },
101
+ {
102
+ displayName: "\u505C\u7528",
103
+ functionName: "deactivated",
104
+ show: !0,
105
+ btnType: "danger",
106
+ icon: "el-icon-discover",
107
+ transKey: "gd.btn.deactivate",
108
+ name: "duplicatechecking:changeStatus"
109
+ }
110
+ ],
111
+ formButtons: [],
112
+ tableQueries: [
113
+ {
114
+ transKey: "gd.msg.temPlate.state",
115
+ prop: "stateCodes",
116
+ label: "\u72B6\u6001",
117
+ effectType: "select",
118
+ dictTypeCode: "state_code",
119
+ rules: []
120
+ },
121
+ {
122
+ transKey: "gd.duplicatechecking.isSave",
123
+ prop: "isSave",
124
+ label: "\u662F\u5426\u4FDD\u5B58",
125
+ effectType: "select",
126
+ dictTypeCode: "yes_or_no",
127
+ rules: []
128
+ },
129
+ {
130
+ transKey: "gd.duplicatechecking.basicTable",
131
+ prop: "baseRecordTable",
132
+ label: "\u57FA\u672C\u8868",
133
+ effectType: "selectMultiple",
134
+ fkEntityName: "sys_code_gen",
135
+ rules: [],
136
+ fkData: [],
137
+ dictData: []
138
+ },
139
+ {
140
+ transKey: "gd.duplicatechecking.matchingTable",
141
+ prop: "matchingRecordTable",
142
+ label: "\u5339\u914D\u8868",
143
+ effectType: "selectMultiple",
144
+ fkEntityName: "sys_code_gen",
145
+ fkData: [],
146
+ rules: [],
147
+ dictData: []
148
+ }
149
+ ]
150
+ };
151
+ }
152
+ };
153
+ const v = {
154
+ data() {
155
+ return {
156
+ confirmLoading: !0,
157
+ title: "",
158
+ sysViewButtons: [
159
+ {
160
+ displayName: "\u786E\u5B9A",
161
+ functionName: "handleSubmit",
162
+ show: !1,
163
+ transKey: "gd.btn.confirm",
164
+ icon: "el-icon-document-checked"
165
+ }
166
+ ],
167
+ type: 1,
168
+ fullScreen: !1,
169
+ width: "1000px",
170
+ ruleFormData: {
171
+ stateCodes: "0",
172
+ name: "",
173
+ explain: "",
174
+ issave: !1
175
+ },
176
+ rules: {
177
+ status: [
178
+ {
179
+ required: !0,
180
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
181
+ trigger: "change"
182
+ }
183
+ ],
184
+ name: [
185
+ {
186
+ required: !0,
187
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
188
+ trigger: "change"
189
+ }
190
+ ]
191
+ },
192
+ tableData: [],
193
+ visible: !1,
194
+ matchingsysCodeGenId: "",
195
+ sysCodeGenId: "",
196
+ sysCodeGenoId: "",
197
+ viewId: "0",
198
+ viewoId: "0",
199
+ filterList: {},
200
+ isAll: !1,
201
+ viewListData: [],
202
+ viewPersonalData: [],
203
+ loadData: [],
204
+ ruleslists: [],
205
+ selShow: !0,
206
+ tableMode: "basic",
207
+ isflows: !1,
208
+ rulesList: [],
209
+ fieldloadData: [],
210
+ matchFieldloadData: [],
211
+ tabledisabled: !1,
212
+ filteredList: []
213
+ };
214
+ },
215
+ components: { FlowsFilter: C },
216
+ computed: {
217
+ table() {
218
+ return this.tableLists.filter((a) => a.id === this.matchingsysCodeGenId)[0];
219
+ },
220
+ processedTableData() {
221
+ return [
222
+ ...this.tableData,
223
+ { isPlaceholder: !0 }
224
+ ];
225
+ },
226
+ fieldProp() {
227
+ return this.tableMode === "basic" ? "field" : "baseField";
228
+ },
229
+ plugFilters() {
230
+ return {
231
+ referencefiled: "",
232
+ referencetable: "",
233
+ checked: !1,
234
+ columnid: 0,
235
+ columnname: "",
236
+ columntype: "",
237
+ dynamicreferencefield: "",
238
+ dynamicreferencetable: "",
239
+ fieldformat: null,
240
+ fkdata: [],
241
+ id: 0,
242
+ operators: "1",
243
+ optionsdata: [],
244
+ pid: null,
245
+ recordid: null,
246
+ ruleslist: [],
247
+ show: !0,
248
+ tablename: "",
249
+ type: "1",
250
+ value: "",
251
+ values: [],
252
+ list: []
253
+ };
254
+ },
255
+ ...u(["screenHeight", "tableLists", "primaryColor"])
256
+ },
257
+ methods: {
258
+ okFilter(a) {
259
+ this.filterList = { ...a };
260
+ },
261
+ toggleFullscreen() {
262
+ this.fullScreen = !this.fullScreen;
263
+ },
264
+ getDictionary(a) {
265
+ return this.$options.filters.dictData(a);
266
+ },
267
+ selectRules(a) {
268
+ },
269
+ changeRelevant(a, e) {
270
+ a.condition = "", this.tabledisabled = !0;
271
+ let t = null;
272
+ if (e == "field" ? (this.selShow = !0, t = this.fieldloadData.filter((s) => s.columnname === a.basicField)[0], a.fieldeffecttype = t.effecttype) : (t = this.matchFieldloadData.filter((s) => s.columnname === a.matchingField)[0], a.mactheffecttype = t.effecttype, a.mactheffecttype !== a.fieldeffecttype && this.$message.warning(this.$i18nt("gd.duplicatechecking.pleaseBasicTableandmach", "\u57FA\u672C\u5B57\u6BB5\u9700\u4E0E\u5339\u914D\u5B57\u6BB5\u4FDD\u6301\u4E00\u81F4"))), t) {
273
+ a.type = t.effecttype, this.conditionColumn(a, t);
274
+ return;
275
+ }
276
+ },
277
+ conditionColumn(a, e) {
278
+ let t = this.rulesList.filter((s) => s.remark.split(",").includes(e.effecttype));
279
+ a.ruleslists = [...t];
280
+ },
281
+ getList(a, e) {
282
+ return $({
283
+ codeGenId: a
284
+ }).then((t) => {
285
+ let i = [...t.data.filter((n) => n.effecttype == "about" && n.columnname == (n.relations + "_AboutTable").toLowerCase() || n.effecttype == "currency" && n.columnname == (n.relations + "_Currency_Base").toLowerCase() ? !1 : n.effecttype != "editor")];
286
+ const l = this.rulesList.map((n) => ({
287
+ ...n,
288
+ remarkTypes: n.remark.split(",").map((o) => o.trim())
289
+ })), r = i.filter((n) => l.some((o) => o.remarkTypes.includes(n.effecttype)));
290
+ return e == "basicTable" ? this.fieldloadData = r : e == "matchingTable" && (this.matchFieldloadData = r), this.type == 2 && this.tableData.forEach((n) => {
291
+ let o = null;
292
+ if (o = this.fieldloadData.filter((c) => c.columnname === n.basicField)[0], o) {
293
+ let c = this.rulesList.filter((m) => m.remark.split(",").includes(o.effecttype));
294
+ n.ruleslists = [...c];
295
+ }
296
+ }), t;
297
+ });
298
+ },
299
+ init(a) {
300
+ 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.$nextTick(() => {
301
+ this.filterList = JSON.parse(JSON.stringify(this.plugFilters));
302
+ let e = this.getDictionary("table_dup_rule");
303
+ e.forEach((t, s) => {
304
+ e[s].sysdicttype = {};
305
+ }), this.rulesList = [...e];
306
+ }), this.sysViewButtons = [
307
+ {
308
+ displayName: "\u786E\u5B9A",
309
+ functionName: "handleSubmit",
310
+ show: !0,
311
+ transKey: "gd.btn.confirm",
312
+ icon: "el-icon-document-checked"
313
+ }
314
+ ], this.isflows = !0, a && this.sysTranslationDetail(a.id), this.filteredList = [], this.filteredList = this.tableLists.filter((e) => e.ischeckduplicate === 1);
315
+ },
316
+ sysTranslationDetail(a) {
317
+ this.confirmLoading = !0, g({
318
+ id: a
319
+ }).then((e) => {
320
+ this.ruleFormData.name = e.data.name, this.ruleFormData.stateCodes = String(e.data.statecodes), this.ruleFormData.id = e.data.id, this.ruleFormData.explain = e.data.explain, this.ruleFormData.issave = e.data.issave === 1, this.tableData = JSON.parse(e.data.matchingrules), this.filterList = e.data.filterconfig ? JSON.parse(e.data.filterconfig) : JSON.parse(JSON.stringify(this.plugfilters)), this.sysCodeGenId = Number(e.data.basicrecordtable), this.getList(e.data.basicrecordtable, "basicTable"), this.tableMode = "basic", this.matchingsysCodeGenId = Number(e.data.matchingrecordtable), this.matchingsysCodeGenId && this.matchingsysCodeGenId != this.sysCodeGenId && (this.getList(this.matchingsysCodeGenId, "matchingTable"), this.tableMode = "match"), this.ruleFormData.stateCodes == 1 && (this.sysViewButtons = []), this.confirmLoading = !1;
321
+ });
322
+ },
323
+ add(a) {
324
+ this.confirmLoading = !0, delete a.id, p(a).then((e) => {
325
+ 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);
326
+ }).finally((e) => {
327
+ this.confirmLoading = !1;
328
+ });
329
+ },
330
+ edit(a) {
331
+ this.confirmLoading = !0, delete a.basicRecordTable, delete a.matchingRecordTable, h(a).then((e) => {
332
+ 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);
333
+ }).finally((e) => {
334
+ this.confirmLoading = !1;
335
+ });
336
+ },
337
+ handleSubmit() {
338
+ this.$refs.ruleForm.validate((a) => {
339
+ this.tableData.forEach((l) => {
340
+ l.charactorcount = l.charactorcount ? Number(l.charactorcount) : "", l.basicField = l.basicField ? l.basicField : "", l.matchingField = this.tableMode === "match" ? l.matchingField : l.basicField;
341
+ });
342
+ let e = JSON.parse(JSON.stringify(this.tableData));
343
+ e.forEach((l) => {
344
+ delete l.isPlaceholder, delete l.ruleslists, delete l.fieldeffecttype, delete l.mactheffecttype;
345
+ });
346
+ let t = this.filterList.list[0], s = 0;
347
+ this.filterList.list.forEach((l) => {
348
+ s += l.list.length;
349
+ });
350
+ let i = t && this.filterList.list.length === 1 && t.referencefiled === "" && t.referencetable === "" && t.list.length > 0 ? Object.assign(t, {
351
+ columnid: 0
352
+ }) : this.filterList;
353
+ if (a) {
354
+ const l = {
355
+ ...this.ruleFormData,
356
+ basicRecordTable: this.sysCodeGenId,
357
+ matchingRecordTable: this.matchingsysCodeGenId,
358
+ filterConfig: JSON.stringify(i),
359
+ matchingRules: JSON.stringify(e)
360
+ };
361
+ this.type == 1 ? this.add(l) : this.edit(l);
362
+ }
363
+ });
364
+ },
365
+ handleModeChange(a) {
366
+ this.tableData = [], this.selShow = !0, this.sysCodeGenId == this.matchingsysCodeGenId ? this.tableMode = "basic" : this.tableMode = "match", this.flowsFilterInit(), this.getList(a, "matchingTable");
367
+ },
368
+ handleCancel() {
369
+ this.visible = !1, this.confirmLoading = !1, this.tabledisabled = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
370
+ stateCodes: "0",
371
+ name: "",
372
+ explain: "",
373
+ issave: !1
374
+ }, this.sysCodeGenId = "", this.matchingsysCodeGenId = "", this.tableData = [], this.fieldloadData = [], this.matchFieldloadData = [], this.selShow = !0, this.tableMode = "basic";
375
+ },
376
+ doEvent(a) {
377
+ let e = a.item.functionName;
378
+ this[e] && this[e]();
379
+ },
380
+ shouldShowCharCount(a) {
381
+ return ["2", "3"].includes(a.condition);
382
+ },
383
+ selectTable(a) {
384
+ this.tableData = [], this.selShow = !0, this.matchingsysCodeGenId === "" && (this.matchingsysCodeGenId = a), this.sysCodeGenId == this.matchingsysCodeGenId ? this.tableMode = "basic" : this.tableMode = "match", this.flowsFilterInit(), this.getList(a, "basicTable");
385
+ },
386
+ addNewRow(a) {
387
+ this.selShow = !1;
388
+ const e = {
389
+ basicField: "",
390
+ matchingField: "",
391
+ condition: "",
392
+ charactorcount: "",
393
+ isPlaceholder: !1,
394
+ ruleslists: "",
395
+ type: ""
396
+ };
397
+ this.tableData.push(e);
398
+ },
399
+ shouldShowAddButton(a) {
400
+ const e = a === this.processedTableData.length - 1, t = this.tableData.some((s) => !s.field);
401
+ return e && !t;
402
+ },
403
+ removeRow(a) {
404
+ let e = this;
405
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
406
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
407
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
408
+ showClose: !1,
409
+ confirmButtonLoading: !1,
410
+ cancelButtonLoading: !1,
411
+ closeOnClickModal: !1,
412
+ type: "warning",
413
+ confirmButtonClass: "el-button--danger",
414
+ customClass: "custom-alert",
415
+ callback: () => {
416
+ },
417
+ beforeClose: (t, s, i) => {
418
+ if (t !== "confirm") {
419
+ i();
420
+ return;
421
+ }
422
+ this.tableData.splice(a, 1), this.tabledisabled = !1, this.selShow = !0, e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), i();
423
+ }
424
+ });
425
+ },
426
+ tableRowClassName({ row: a }) {
427
+ return a.isPlaceholder ? "placeholder-row" : "";
428
+ },
429
+ handleCellHover(a, e, t) {
430
+ },
431
+ handleAddRow(a) {
432
+ this.selShow = !0;
433
+ },
434
+ flowsFilterInit() {
435
+ this.$nextTick(() => {
436
+ this.$refs.flowsFilter.initComponents(this.plugFilters);
437
+ });
438
+ },
439
+ selFilter() {
440
+ if (!(this.type == 2 && this.ruleFormData.stateCodes == 1)) {
441
+ if (this.matchingsysCodeGenId == "") {
442
+ this.$message.warning(this.$i18nt("gd.duplicatechecking.pleaseSelectBasicTable", "\u8BF7\u9009\u62E9\u5339\u914D\u8868"));
443
+ return;
444
+ }
445
+ console.log(this.filterList), this.$refs.flowsFilter.init(this.filterList);
446
+ }
447
+ },
448
+ isselect() {
449
+ return this.type == 2 ? this.ruleFormData.stateCodes != 1 : !0;
450
+ }
451
+ }
452
+ };
453
+ var _ = function() {
454
+ var e = this, t = e._self._c;
455
+ return t("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(s) {
456
+ e.visible = s;
457
+ }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: `${e.title}${e.$i18nt("gd.duplicatechecking.checkConfigurationRetryRule", "\u67E5\u91CD\u89C4\u5219\u914D\u7F6E")}`, 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) {
458
+ s.preventDefault();
459
+ } } }, [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, model: { value: e.ruleFormData.name, callback: function(s) {
460
+ e.$set(e.ruleFormData, "name", s);
461
+ }, expression: "ruleFormData['name']" } })], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.status", "\u72B6\u6001") } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: "" }, model: { value: e.ruleFormData.stateCodes, callback: function(s) {
462
+ e.$set(e.ruleFormData, "stateCodes", s);
463
+ }, expression: "ruleFormData['stateCodes']" } }, [t("el-option", { attrs: { value: "1", label: e.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528]") } }), t("el-option", { attrs: { value: "0", label: e.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528]") } })], 1)], 1)], 1), t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.explain", "\u8BF4\u660E") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 4, maxRows: 6 }, disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, model: { value: e.ruleFormData.explain, callback: function(s) {
464
+ e.$set(e.ruleFormData, "explain", s);
465
+ }, expression: "ruleFormData['explain']" } })], 1)], 1), t("el-col", { staticClass: "setting-navs-btn", attrs: { source: 24 } }, [t("span", [e._v(e._s(e.$i18nt("gd.duplicatechecking.repeatDetectionRuleCondition", "\u91CD\u590D\u68C0\u6D4B\u89C4\u5219\u6761\u4EF6")))])]), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.basicTable", "\u57FA\u672C\u8868") } }, [t("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.selectTable }, model: { value: e.sysCodeGenId, callback: function(s) {
466
+ e.sysCodeGenId = s;
467
+ }, expression: "sysCodeGenId" } }, e._l(e.filteredList, function(s) {
468
+ return t("el-option", { key: s.id, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
469
+ }), 1)], 1)], 1), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.matchingTable", "\u5339\u914D\u8868") } }, [t("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.handleModeChange }, model: { value: e.matchingsysCodeGenId, callback: function(s) {
470
+ e.matchingsysCodeGenId = s;
471
+ }, expression: "matchingsysCodeGenId" } }, e._l(e.tableLists, function(s) {
472
+ return t("el-option", { key: s.id, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
473
+ }), 1)], 1)], 1), t("el-col", { attrs: { span: 4 } }, [t("el-button", { attrs: { type: "primary" }, on: { click: e.selFilter } }, [e._v(e._s(e.$i18nt("gd.view.filterConditions", "\u8FC7\u6EE4\u6761\u4EF6")))])], 1), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.allowSave", "\u5141\u8BB8\u4FDD\u5B58") } }, [t("el-switch", { attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1, "active-color": e.primaryColor }, model: { value: e.ruleFormData.issave, callback: function(s) {
474
+ e.$set(e.ruleFormData, "issave", s);
475
+ }, expression: "ruleFormData['issave']" } })], 1)], 1)], 1)], 1), t("div", { staticClass: "setting-conter" }, [t("div", { staticClass: "config-table-container" }, [t("el-table", { staticStyle: { width: "100%" }, attrs: { data: e.processedTableData, border: "", "header-cell-class-name": "table-header", "row-class-name": e.tableRowClassName }, on: { "cell-mouse-enter": e.handleCellHover } }, [t("el-table-column", { attrs: { prop: e.fieldProp, label: e.tableMode === "basic" ? e.$i18nt("gd.duplicatechecking.field", "\u5B57\u6BB5") : e.$i18nt("gd.duplicatechecking.basicField", "\u57FA\u672C\u5B57\u6BB5"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
476
+ return [s.row.isPlaceholder ? e._e() : t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: function(i) {
477
+ return e.changeRelevant(s.row, "field");
478
+ } }, model: { value: s.row.basicField, callback: function(i) {
479
+ e.$set(s.row, "basicField", i);
480
+ }, expression: "scope.row.basicField" } }, e._l(e.fieldloadData, function(i, l) {
481
+ return t("el-option", { key: i.id, attrs: { value: i.columnname, label: e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment), clearable: "" } }, [t("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " " + e._s(i.columnname) + " ")])]);
482
+ }), 1), e.selShow && s.row.isPlaceholder && e.isselect() ? t("div", { staticClass: "select-placeholder", on: { click: function(i) {
483
+ return e.addNewRow(s.row);
484
+ } } }, [t("span", { staticClass: "blue-text active-color" }, [e._v(e._s(e.$i18nt("gd.btn.choice", "\u9009\u62E9")))])]) : e._e()];
485
+ } }]) }), e.tableMode === "match" ? t("el-table-column", { attrs: { prop: "matchingField", label: e.$i18nt("gd.duplicatechecking.matchingField", "\u5339\u914D\u5B57\u6BB5"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
486
+ return [s.row.isPlaceholder ? e._e() : t("el-select", { attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !s.row.basicField || e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: function(i) {
487
+ return e.changeRelevant(s.row, "mactch");
488
+ } }, model: { value: s.row.matchingField, callback: function(i) {
489
+ e.$set(s.row, "matchingField", i);
490
+ }, expression: "scope.row.matchingField" } }, e._l(e.matchFieldloadData, function(i, l) {
491
+ return t("el-option", { key: i.id, attrs: { value: i.columnname, label: e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment) } }, [t("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " " + e._s(i.columnname) + " ")])]);
492
+ }), 1)];
493
+ } }], null, !1, 2082435928) }) : e._e(), t("el-table-column", { attrs: { prop: "condition", label: e.$i18nt("gd.duplicatechecking.condition", "\u6761\u4EF6"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
494
+ return [!s.row.isPlaceholder && s.row.ruleslists && s.row.ruleslists.length > 0 ? t("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.selectRules }, model: { value: s.row.condition, callback: function(i) {
495
+ e.$set(s.row, "condition", i);
496
+ }, expression: "scope.row.condition" } }, [e._l(s.row.ruleslists, function(i) {
497
+ return [t("el-option", { attrs: { value: i.code, label: e.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
498
+ })], 2) : e._e()];
499
+ } }]) }), t("el-table-column", { staticClass: "charactorcount", attrs: { prop: "charactorcount", label: e.$i18nt("gd.duplicatechecking.numberCharacters", "\u5B57\u7B26\u6570"), width: "160" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
500
+ return [e.shouldShowCharCount(s.row) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1, min: 0 }, model: { value: s.row.charactorcount, callback: function(i) {
501
+ e.$set(s.row, "charactorcount", i);
502
+ }, expression: "scope.row.charactorcount" } }) : e._e()];
503
+ } }]) }), t("el-table-column", { attrs: { label: e.$i18nt("gd.duplicatechecking.handle", "\u64CD\u4F5C") }, scopedSlots: e._u([{ key: "default", fn: function(s) {
504
+ return !s.row.isPlaceholder && e.isselect() ? [t("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "16px", color: "#ff4d4f" }, on: { click: function(i) {
505
+ return e.removeRow(s.$index);
506
+ } } })] : void 0;
507
+ } }], null, !0) })], 1)], 1)]), e.visible && e.isflows && e.matchingsysCodeGenId ? t("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: e.table }, on: { ok: e.okFilter } }) : e._e()], 1)])], 1);
508
+ }, F = [], D = /* @__PURE__ */ f(
509
+ v,
510
+ _,
511
+ F,
512
+ !1,
513
+ null,
514
+ "080bf7cf",
515
+ null,
516
+ null
517
+ );
518
+ const S = D.exports;
519
+ const T = {
520
+ props: {
521
+ height: {
522
+ type: Number,
523
+ default: 100
524
+ }
525
+ },
526
+ name: "GdDuplicateChecking",
527
+ mixins: [w, k],
528
+ components: {
529
+ editForm: S
530
+ },
531
+ data() {
532
+ return {
533
+ selectedRowKeys: [],
534
+ selectedRows: [],
535
+ disableBtn: [],
536
+ transKey: "gd.duplicatechecking.checkConfigurationRetryRule",
537
+ formLoading: !1,
538
+ currentNode: null,
539
+ loadData: (a) => b(Object.assign(a, this.getQueryParam)).then((e) => e.data),
540
+ record: {},
541
+ queryParam: {}
542
+ };
543
+ },
544
+ computed: {
545
+ getTableLists() {
546
+ let a = [...this.tableLists];
547
+ return a.forEach((e, t) => {
548
+ a[t].name = e.busname, a[t].code = e.id;
549
+ }), a;
550
+ },
551
+ getTableQueries() {
552
+ return this.tableQueries.forEach((a, e) => {
553
+ if (a.prop === "matchingRecordTable")
554
+ this.tableQueries[e].dictData = [...this.getTableLists];
555
+ else if (a.prop === "baseRecordTable") {
556
+ const t = this.getTableLists.filter((s) => s.ischeckduplicate === 1);
557
+ this.tableQueries[e].dictData = [...t];
558
+ }
559
+ }), this.tableQueries;
560
+ },
561
+ getHeight() {
562
+ return this.height;
563
+ },
564
+ getTableButtons() {
565
+ return this.tableButtons.filter((a) => (a.show = !this.disableBtn.includes(a.displayName), !0));
566
+ },
567
+ getQueryParam() {
568
+ let a = /* @__PURE__ */ new Map();
569
+ for (let e in this.queryParam)
570
+ this.queryParam[e] && e === "baseRecordTable" || e === "matchingRecordTable" ? a.set(e, this.queryParam[e].join(",")) : a.set(e, this.queryParam[e]);
571
+ return Object.fromEntries(a);
572
+ },
573
+ ...u(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
574
+ },
575
+ methods: {
576
+ onSelectChange(a, e) {
577
+ if (this.selectedRows = e, this.selectedRowKeys = a, a.length === 0) {
578
+ this.disableBtn = [];
579
+ return;
580
+ }
581
+ const t = e.filter((i) => i.statecodes === 1)[0];
582
+ this.disableBtn = t ? ["\u5220\u9664", "\u542F\u7528"] : [], e.filter((i) => i.statecodes === 0)[0] && this.disableBtn.push("\u505C\u7528");
583
+ },
584
+ refresh() {
585
+ this.$refs.table.refresh();
586
+ },
587
+ edit() {
588
+ if (this.selectedRowKeys.length === 0) {
589
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
590
+ return;
591
+ }
592
+ if (this.selectedRowKeys.length > 1) {
593
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
594
+ return;
595
+ }
596
+ this.editForms(this.selectedRows[0]);
597
+ },
598
+ editForms(a) {
599
+ this.$refs.editForm.init(a);
600
+ },
601
+ saveQueries(a) {
602
+ this.queryParam = { ...a }, this.refresh();
603
+ },
604
+ add() {
605
+ this.$refs.editForm.init(null);
606
+ },
607
+ del() {
608
+ if (this.selectedRowKeys.length === 0) {
609
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
610
+ return;
611
+ }
612
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
613
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
614
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
615
+ showClose: !1,
616
+ confirmButtonLoading: !1,
617
+ cancelButtonLoading: !1,
618
+ closeOnClickModal: !1,
619
+ type: "warning",
620
+ confirmButtonClass: "el-button--danger",
621
+ customClass: "custom-alert",
622
+ callback: () => {
623
+ },
624
+ beforeClose: (a, e, t) => {
625
+ this.delHand(a, e, t);
626
+ }
627
+ });
628
+ },
629
+ delHand(a, e, t) {
630
+ if (a !== "confirm") {
631
+ t();
632
+ return;
633
+ }
634
+ let s = [], i = y({
635
+ ids: this.selectedRowKeys.join(",")
636
+ }).then((l) => l);
637
+ s.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((l) => {
638
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t();
639
+ const r = l.filter((n) => !n.success);
640
+ 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();
641
+ });
642
+ },
643
+ doEvent(a) {
644
+ let e = a.item.functionName;
645
+ this[e] && this[e]();
646
+ },
647
+ handleOk() {
648
+ this.$refs.table.refresh();
649
+ },
650
+ dictSwitch(a, e) {
651
+ let t = this.$options.filters.dictData(e).filter((s) => s.code == a)[0];
652
+ return t != null && t.colour ? t.colour : null;
653
+ },
654
+ enable() {
655
+ if (this.selectedRowKeys.length === 0) {
656
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
657
+ return;
658
+ }
659
+ if (this.selectedRowKeys.length > 1) {
660
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
661
+ return;
662
+ }
663
+ this.editStateCodes({ row: this.selectedRows[0] });
664
+ },
665
+ deactivated() {
666
+ if (this.selectedRowKeys.length === 0) {
667
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
668
+ return;
669
+ }
670
+ if (this.selectedRowKeys.length > 1) {
671
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
672
+ return;
673
+ }
674
+ this.editStateCodes({ row: this.selectedRows[0] });
675
+ },
676
+ editStateCodes({ column: a, row: e }) {
677
+ if (e.dict_type == 1) {
678
+ this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
679
+ return;
680
+ }
681
+ 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");
682
+ this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
683
+ confirmButtonText: s,
684
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
685
+ showClose: !1,
686
+ confirmButtonLoading: !1,
687
+ cancelButtonLoading: !1,
688
+ closeOnClickModal: !1,
689
+ type: "warning",
690
+ confirmButtonClass: "el-button--danger",
691
+ customClass: "custom-alert",
692
+ callback: () => {
693
+ },
694
+ beforeClose: (i, l, r) => {
695
+ if (i !== "confirm") {
696
+ r();
697
+ return;
698
+ }
699
+ l.confirmButtonLoading = !0, l.cancelButtonLoading = !0, l.showCancelButton = !1, h({ id: e.id, stateCodes: e.statecodes == 1 ? 0 : 1 }).then((n) => {
700
+ r(), l.confirmButtonLoading = !1, l.cancelButtonLoading = !1, l.showCancelButton = !0, n.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") + n.message);
701
+ });
702
+ }
703
+ });
704
+ }
705
+ }
706
+ };
707
+ var L = function() {
708
+ var e = this, t = e._self._c;
709
+ 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: i }) {
710
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForms } })];
711
+ } }, { key: "basicrecordtablename", fn: function({ column: s, row: i }) {
712
+ return [t("gd-tooltip", { attrs: { rowKey: "basicrecordtable", row: i } })];
713
+ } }, { key: "matchingrecordtablename", fn: function({ column: s, row: i }) {
714
+ return [t("gd-tooltip", { attrs: { rowKey: "matchingrecordtable", row: i } })];
715
+ } }, { key: "issave", fn: function(s) {
716
+ return [e.dictSwitch(s.row.issave, "yes_or_no") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(s.row.issave, "yes_or_no") } }, [e._v(" " + e._s(e._f("dictType")("yes_or_no", s.row.issave)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("yes_or_no", s.row.issave)))])];
717
+ } }, { key: "remark", fn: function({ column: s, row: i }) {
718
+ return [t("gd-tooltip", { attrs: { rowKey: "remark", row: i } })];
719
+ } }, { key: "stateCodes", fn: function(s) {
720
+ return [e.dictSwitch(s.row.statecodes, "state_code") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(s.row.statecodes, "state_code") } }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("state_code", s.row.statecodes)))])];
721
+ } }, { key: "operator", fn: function() {
722
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
723
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: i }) {
724
+ return [t("gd-table-queries-field", { attrs: { columns: e.getTableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: i }, on: { save: e.saveQueries } })];
725
+ } }]) })], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.handleOk } })], 1);
726
+ }, x = [], R = /* @__PURE__ */ f(
727
+ T,
728
+ L,
729
+ x,
730
+ !1,
731
+ null,
732
+ "db17f1d6",
733
+ null,
734
+ null
735
+ );
736
+ const d = R.exports;
737
+ d.install = function(a) {
738
+ a.component(d.name, d);
739
+ };
740
+ export {
741
+ d as G
742
+ };