gds-plus-design-vue 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/lib/approvalModel.a26e8ff6.mjs +340 -0
  2. package/lib/approvalModel.cfd81971.js +1 -0
  3. package/lib/btnFunctionName.9aabfed0.js +1 -0
  4. package/lib/btnFunctionName.d08627cb.mjs +254 -0
  5. package/lib/btnRelation.8e608261.mjs +156 -0
  6. package/lib/btnRelation.cb3dc022.js +1 -0
  7. package/lib/businessRules.754cc398.mjs +539 -0
  8. package/lib/businessRules.f41f7035.js +1 -0
  9. package/lib/buttonRule.4483314f.mjs +396 -0
  10. package/lib/buttonRule.645de1d3.js +1 -0
  11. package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
  12. package/lib/chartDisplayRules.fedfefe8.js +1 -0
  13. package/lib/components.chartbi.470b96af.mjs +1798 -0
  14. package/lib/components.chartbi.e9459775.js +8 -0
  15. package/lib/components.coloreditor.affa0400.mjs +1505 -0
  16. package/lib/components.coloreditor.dbec8da6.js +6 -0
  17. package/lib/components.dataassign.39281072.mjs +147 -0
  18. package/lib/components.dataassign.b6a1bffb.js +1 -0
  19. package/lib/components.echarts.95ffc3b3.mjs +811 -0
  20. package/lib/components.echarts.d09e9850.js +4 -0
  21. package/lib/components.exception.11315db5.js +1 -0
  22. package/lib/components.exception.facf9df9.mjs +61 -0
  23. package/lib/components.form.56ea8f98.js +41 -0
  24. package/lib/components.form.a7b3ea37.mjs +7813 -0
  25. package/lib/components.globalheader.0a7ce959.js +1 -0
  26. package/lib/components.globalheader.4a5f7225.mjs +54 -0
  27. package/lib/components.iconselector.0c03cfc7.js +1 -0
  28. package/lib/components.iconselector.251c29b9.mjs +1169 -0
  29. package/lib/components.imgpreview.5546e541.mjs +213 -0
  30. package/lib/components.imgpreview.706a89f0.js +1 -0
  31. package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
  32. package/lib/components.lunccalendar.fe7db238.js +1 -0
  33. package/lib/components.middleware.01601349.js +1 -0
  34. package/lib/components.middleware.f5f4ac0f.mjs +148 -0
  35. package/lib/components.modaltitle.5ded43f9.mjs +127 -0
  36. package/lib/components.modaltitle.cc9ba616.js +1 -0
  37. package/lib/components.multitab.0f9da9f3.mjs +140 -0
  38. package/lib/components.multitab.726cff2f.js +1 -0
  39. package/lib/components.selecttree.1a71c963.mjs +170 -0
  40. package/lib/components.selecttree.2fadffca.js +1 -0
  41. package/lib/components.settingdrawer.1af86231.js +1 -0
  42. package/lib/components.settingdrawer.adc262cf.mjs +237 -0
  43. package/lib/components.sidemenu.03442146.mjs +277 -0
  44. package/lib/components.sidemenu.5107c7e3.js +1 -0
  45. package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
  46. package/lib/components.sidenavmenu.ef33de39.js +1 -0
  47. package/lib/components.statuschange.805a751b.mjs +116 -0
  48. package/lib/components.statuschange.83646c5d.js +1 -0
  49. package/lib/components.table.61eb5d81.js +8 -0
  50. package/lib/components.table.c986e58d.mjs +4650 -0
  51. package/lib/components.tableumy.35b465f9.mjs +453 -0
  52. package/lib/components.tableumy.eba43953.js +1 -0
  53. package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
  54. package/lib/components.tablevirtual.6af04c44.js +1 -0
  55. package/lib/components.teamsharing.68865424.js +1 -0
  56. package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
  57. package/lib/components.tooltip.ccb1717d.mjs +86 -0
  58. package/lib/components.tooltip.e2e21e66.js +1 -0
  59. package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
  60. package/lib/components.uploadfile.e93b500d.js +1 -0
  61. package/lib/components.uploadimg.3804913e.js +1 -0
  62. package/lib/components.uploadimg.e49707d9.mjs +192 -0
  63. package/lib/components.verificationcode.5a9c0220.js +1 -0
  64. package/lib/components.verificationcode.ead74922.mjs +71 -0
  65. package/lib/components.viewformdetails.3c1596ad.js +1 -0
  66. package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
  67. package/lib/components.viewloading.5b178ec5.js +1 -0
  68. package/lib/components.viewloading.cb7917b7.mjs +99 -0
  69. package/lib/components.watermark.849409ca.js +2 -0
  70. package/lib/components.watermark.a2521d0c.mjs +53 -0
  71. package/lib/components.xlsxexport.3405a00b.js +1 -0
  72. package/lib/components.xlsxexport.871f87d1.mjs +263 -0
  73. package/lib/components.xlsximport.85ce77cf.mjs +922 -0
  74. package/lib/components.xlsximport.e3bcb07d.js +1 -0
  75. package/lib/copy.b09a6d38.js +1 -0
  76. package/lib/copy.c0a2f16d.mjs +572 -0
  77. package/lib/dialogLayout.059ee256.mjs +138 -0
  78. package/lib/dialogLayout.cedf2865.js +1 -0
  79. package/lib/drawerContainer.38d7b530.mjs +154 -0
  80. package/lib/drawerContainer.ea7722d7.js +1 -0
  81. package/lib/drawerLayout.454e4921.js +1 -0
  82. package/lib/drawerLayout.fad843ee.mjs +119 -0
  83. package/lib/editForm.c199538f.mjs +434 -0
  84. package/lib/editForm.f9dc93ef.js +1 -0
  85. package/lib/flow.designer.4c83c0d3.js +1 -0
  86. package/lib/flow.designer.9442a995.mjs +7673 -0
  87. package/lib/flow.list.4a31969e.mjs +3032 -0
  88. package/lib/flow.list.f41ee531.js +1 -0
  89. package/lib/form.build.c38bf362.js +1 -0
  90. package/lib/form.build.fb9f905b.mjs +259 -0
  91. package/lib/form.designer.build.3fdf8007.js +1 -0
  92. package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
  93. package/lib/formFiled.624b8dd3.js +1 -0
  94. package/lib/formFiled.94fb1dce.mjs +498 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +233 -91087
  97. package/lib/http.appmanage.9b22ff82.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  100. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  111. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.6fdfc693.js +1 -0
  116. package/lib/http.filedocument.d3a4afd9.mjs +293 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.1af1e119.mjs +517 -0
  128. package/lib/http.main.2f8a6936.js +1 -0
  129. package/lib/http.menumanage.09fffb7d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.1d68e914.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  140. package/lib/http.orgmanage.5162fd7a.js +1 -0
  141. package/lib/http.pluginmanage.54720675.mjs +82 -0
  142. package/lib/http.pluginmanage.6a876040.js +1 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  146. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  147. package/lib/http.rolemanage.4d1101dd.js +1 -0
  148. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  149. package/lib/http.solution.b10d9197.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.932ba43b.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.a9c609d5.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.6e894942.js +1 -0
  162. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  167. package/lib/http.useraffiliation.af2013ad.js +1 -0
  168. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  169. package/lib/http.usermanage.6dcbc7de.js +1 -0
  170. package/lib/http.usermanage.f5491144.mjs +219 -0
  171. package/lib/http.webresource.1a1a768f.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.3fa2dc66.mjs +40154 -0
  174. package/lib/index.fe757a98.js +8 -0
  175. package/lib/layoutBlocks.14c77a02.js +1 -0
  176. package/lib/layoutBlocks.5d71a03b.mjs +401 -0
  177. package/lib/layouts.a662f681.js +2 -0
  178. package/lib/layouts.ec4f20a2.mjs +376 -0
  179. package/lib/main.092a2ac8.js +1 -0
  180. package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
  181. package/lib/main.29769f01.js +1 -0
  182. package/lib/main.401059c6.mjs +189 -0
  183. package/lib/main.447be615.js +1 -0
  184. package/lib/main.4e507685.mjs +231 -0
  185. package/lib/main.72cafa63.mjs +540 -0
  186. package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
  187. package/lib/main.7601bd3d.mjs +166 -0
  188. package/lib/main.79199ac2.js +1 -0
  189. package/lib/main.821d081b.js +1 -0
  190. package/lib/main.8627466a.mjs +537 -0
  191. package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
  192. package/lib/main.8e6f6cba.mjs +323 -0
  193. package/lib/main.a9a54af9.js +1 -0
  194. package/lib/main.e033a376.js +1 -0
  195. package/lib/main.e2e4ba74.js +1 -0
  196. package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
  197. package/lib/main.ea3a04f4.js +1 -0
  198. package/lib/main.f44d8279.js +1 -0
  199. package/lib/messages.5f54a62e.js +9 -0
  200. package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
  201. package/lib/packages.filedocument.8418d852.mjs +4039 -0
  202. package/lib/packages.filedocument.9b8eda0d.js +1 -0
  203. package/lib/page.build.4d28df9a.js +12 -0
  204. package/lib/page.build.78cc7396.mjs +3020 -0
  205. package/lib/personal.echarts.940f1cc9.mjs +696 -0
  206. package/lib/personal.echarts.b5a7f574.js +1 -0
  207. package/lib/result.0161b0e0.js +1 -0
  208. package/lib/result.5a9330d7.mjs +627 -0
  209. package/lib/router.config.79a98ab8.mjs +3105 -0
  210. package/lib/router.config.7fd04c30.js +1 -0
  211. package/lib/solution.application.3ae7c0c5.js +1 -0
  212. package/lib/solution.application.fdc15ffc.mjs +548 -0
  213. package/lib/solution.applicationmenu.67aba620.js +1 -0
  214. package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
  215. package/lib/solution.approvalflow.81b7cfb7.js +1 -0
  216. package/lib/solution.approvalflow.a541adcc.mjs +436 -0
  217. package/lib/solution.dict.addbce33.mjs +769 -0
  218. package/lib/solution.dict.f1c9bae6.js +1 -0
  219. package/lib/solution.menu.2033fa37.mjs +5834 -0
  220. package/lib/solution.menu.6512047f.js +1 -0
  221. package/lib/solution.plugin.7094dbfd.js +1 -0
  222. package/lib/solution.plugin.d8f057cb.mjs +347 -0
  223. package/lib/solution.processflow.0adf4f55.js +1 -0
  224. package/lib/solution.processflow.a779bd58.mjs +392 -0
  225. package/lib/solution.role.d35cb00d.js +1 -0
  226. package/lib/solution.role.d9a4b25a.mjs +456 -0
  227. package/lib/solution.webresources.e1421655.mjs +379 -0
  228. package/lib/solution.webresources.e817757c.js +1 -0
  229. package/lib/solution.workflow.59552b8c.mjs +395 -0
  230. package/lib/solution.workflow.985e1f4d.js +1 -0
  231. package/lib/store.config.556bd56b.js +1 -0
  232. package/lib/store.config.5e5cb48a.mjs +547 -0
  233. package/lib/style.css +3 -3
  234. package/lib/system.account.1b281679.js +216 -0
  235. package/lib/system.account.96d5bc17.mjs +2093 -0
  236. package/lib/system.config.0ff45e62.js +1 -0
  237. package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
  241. package/lib/system.dict.8e4fe6b0.js +1 -0
  242. package/lib/system.document.69e534a6.js +1 -0
  243. package/lib/system.document.8e4dbe5e.mjs +667 -0
  244. package/lib/system.duplicatechecking.1083eb1e.js +1 -0
  245. package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
  246. package/lib/system.email.06bb7cc1.mjs +133 -0
  247. package/lib/system.email.41036a31.js +1 -0
  248. package/lib/system.fieldsecurity.3ea880d8.js +1 -0
  249. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
  251. package/lib/system.file.b8e4e6a1.js +1 -0
  252. package/lib/system.log.14c22a7a.js +1 -0
  253. package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
  261. package/lib/system.onlineuser.fc26aff9.js +1 -0
  262. package/lib/system.org.b6f826e8.js +1 -0
  263. package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
  264. package/lib/system.permissions.75406743.mjs +972 -0
  265. package/lib/system.permissions.97f68887.js +1 -0
  266. package/lib/system.plugin.3fcf7b0b.js +1 -0
  267. package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
  275. package/lib/system.sumberrules.5e9cd262.js +1 -0
  276. package/lib/system.team.3e605266.js +1 -0
  277. package/lib/system.team.bb1fb40e.mjs +452 -0
  278. package/lib/system.teammembers.a098883b.js +1 -0
  279. package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
  287. package/lib/system.useraffiliation.f8b33def.js +1 -0
  288. package/lib/system.webresource.1d3ed352.js +1 -0
  289. package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
  291. package/lib/system.welcome.eedf1db2.js +1 -0
  292. package/lib/tableDescriptions.923c4ef1.mjs +80 -0
  293. package/lib/tableDescriptions.b12679b0.js +1 -0
  294. package/lib/tcheckboxs.887d733c.mjs +52 -0
  295. package/lib/tcheckboxs.fe7e574a.js +1 -0
  296. package/lib/tcurrency.10ac9aa7.mjs +85 -0
  297. package/lib/tcurrency.20e959c0.js +1 -0
  298. package/lib/tdatepicker.54036bba.js +1 -0
  299. package/lib/tdatepicker.a08ad382.mjs +52 -0
  300. package/lib/tdictSwitch.274e9f86.js +1 -0
  301. package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
  302. package/lib/tfile.5c897827.js +1 -0
  303. package/lib/tfile.f63b73b9.mjs +62 -0
  304. package/lib/tparticipants.4698962b.mjs +56 -0
  305. package/lib/tparticipants.b6fb4545.js +1 -0
  306. package/lib/translation.mains.5cfc7a2f.js +1 -0
  307. package/lib/translation.mains.e6cb610b.mjs +383 -0
  308. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  309. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  310. package/lib/utils.echarts.js.461a74e7.js +54 -0
  311. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  312. package/lib/utils.mixins.js.750ca50e.js +1 -0
  313. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  314. package/lib/utils.plug.js.9313aead.mjs +31 -0
  315. package/lib/utils.plug.js.f62510ce.js +1 -0
  316. package/lib/utils.util.js.885de913.mjs +439 -0
  317. package/lib/utils.util.js.c0ba699b.js +1 -0
  318. package/lib/view.build.051553d8.mjs +1578 -0
  319. package/lib/view.build.9af3087b.js +1 -0
  320. package/lib/viewList.209956c3.js +1 -0
  321. package/lib/viewList.c05c92be.mjs +318 -0
  322. package/lib/viewTree.0cd9f1a2.js +1 -0
  323. package/lib/viewTree.c5290360.mjs +409 -0
  324. package/locale/en_US.js +92 -28
  325. package/locale/id_ID.js +76 -12
  326. package/locale/vi_VN.js +2012 -1948
  327. package/locale/zh_CN.js +97 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.114d32d7.js +0 -60
  330. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  331. package/lib/main.03984fed.js +0 -1
  332. package/lib/main.1050afb3.js +0 -1
  333. package/lib/main.64122541.js +0 -1
  334. package/lib/main.b7d2c6ee.js +0 -1
  335. package/lib/messages.828b6ed8.js +0 -9
  336. package/lib/system.account.3181bcd6.js +0 -216
  337. package/lib/system.account.7c6ea20c.mjs +0 -2552
  338. package/lib/system.config.10f57fa2.js +0 -1
  339. package/lib/system.datasource.d5eea7f2.js +0 -1
  340. package/lib/system.dict.d73658f1.js +0 -1
  341. package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
  342. package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
  343. package/lib/system.email.4bf52f2d.js +0 -41
  344. package/lib/system.email.db5da8d7.mjs +0 -7432
  345. package/lib/system.fieldsecurity.eb217079.js +0 -1
  346. package/lib/system.file.c1884db7.js +0 -1
  347. package/lib/system.log.389af80d.js +0 -1
  348. package/lib/system.machine.49fc6405.js +0 -1
  349. package/lib/system.notice.a89f4826.js +0 -1
  350. package/lib/system.noticereceived.5e0773c3.js +0 -1
  351. package/lib/system.onlineuser.67733846.js +0 -1
  352. package/lib/system.org.ff54d620.js +0 -1
  353. package/lib/system.permissions.cc9a9866.mjs +0 -212
  354. package/lib/system.permissions.e6317c5a.js +0 -9
  355. package/lib/system.plugin.3467d572.js +0 -1
  356. package/lib/system.pos.4aadf86e.js +0 -1
  357. package/lib/system.promptmanagement.9ba710d6.js +0 -1
  358. package/lib/system.role.890c8ca2.js +0 -1
  359. package/lib/system.sumberrules.068ebe4a.js +0 -1
  360. package/lib/system.team.27cd57f7.mjs +0 -1000
  361. package/lib/system.team.2b28502b.js +0 -1
  362. package/lib/system.teammembers.e3baf783.js +0 -1
  363. package/lib/system.timers.cb0a3bd0.js +0 -38
  364. package/lib/system.translation.f3884a0a.js +0 -1
  365. package/lib/system.user.3bd95871.js +0 -14
  366. package/lib/system.useraffiliation.7db6e13c.js +0 -1
  367. package/lib/system.webresource.ede248a8.js +0 -1
  368. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,508 @@
1
+ import { m as o, n as r } from "./components.chartbi.470b96af.mjs";
2
+ import { s as c, a as u, b as p } from "./http.solution.b10d9197.mjs";
3
+ import { g as h, s as g, a as m } from "./http.appmanage.9b22ff82.mjs";
4
+ import { s as f } from "./http.sysapps.932ba43b.mjs";
5
+ const y = {
6
+ data() {
7
+ return {
8
+ tableColumns: [{
9
+ type: "selection",
10
+ width: "60",
11
+ fixed: !0
12
+ }, {
13
+ transKey: "gd.btnConfig.name",
14
+ prop: "name",
15
+ label: "\u540D\u79F0",
16
+ type: "slot",
17
+ slotType: "name",
18
+ align: "left"
19
+ }, {
20
+ transKey: "gd.flow.creationTime",
21
+ prop: "createdtime",
22
+ label: "\u521B\u5EFA\u65F6\u95F4",
23
+ align: "center"
24
+ }],
25
+ tableButtons: [{
26
+ displayName: "\u65B0\u589E",
27
+ functionName: "add",
28
+ show: !0,
29
+ transKey: "gd.btn.add",
30
+ icon: "el-icon-plus",
31
+ name: "sysSolution:add"
32
+ }, {
33
+ displayName: "\u5220\u9664",
34
+ functionName: "del",
35
+ show: !0,
36
+ transKey: "gd.btn.del",
37
+ icon: "el-icon-delete",
38
+ btnType: "danger",
39
+ name: "sysSolution:del"
40
+ }]
41
+ };
42
+ }
43
+ }, b = {
44
+ data() {
45
+ return {
46
+ tableColumns: [
47
+ {
48
+ type: "selection",
49
+ width: "60",
50
+ fixed: !0
51
+ },
52
+ {
53
+ transKey: "gd.btnConfig.name",
54
+ prop: "name",
55
+ label: "\u540D\u79F0",
56
+ type: "slot",
57
+ slotType: "name",
58
+ align: "left"
59
+ },
60
+ {
61
+ transKey: "gd.dict.code",
62
+ prop: "code",
63
+ label: "\u552F\u4E00\u7F16\u7801",
64
+ align: "left"
65
+ },
66
+ {
67
+ transKey: "gd.menu.sort",
68
+ prop: "sort",
69
+ label: "\u6392\u5E8F",
70
+ align: "left"
71
+ },
72
+ {
73
+ transKey: "gd.dict.state",
74
+ prop: "statecodes",
75
+ label: "\u72B6\u6001",
76
+ type: "slot",
77
+ slotType: "statecodes",
78
+ align: "left"
79
+ }
80
+ ],
81
+ tableButtons: [{
82
+ displayName: "\u65B0\u5EFA",
83
+ functionName: "addBuilt",
84
+ show: !0,
85
+ transKey: "gd.btn.addBuilt",
86
+ icon: "el-icon-plus"
87
+ }, {
88
+ displayName: "\u786E\u5B9A",
89
+ functionName: "handleSubmit",
90
+ show: !0,
91
+ transKey: "gd.btn.confirm",
92
+ icon: "el-icon-document-checked"
93
+ }],
94
+ formButtons: [{
95
+ displayName: "\u786E\u5B9A",
96
+ functionName: "handleok",
97
+ show: !0,
98
+ transKey: "gd.btn.confirm",
99
+ icon: "el-icon-document-checked",
100
+ validate: !0
101
+ }],
102
+ appColumns: [{
103
+ transKey: "gd.application.name",
104
+ prop: "name",
105
+ effectType: "input",
106
+ label: "\u540D\u79F0",
107
+ placeholder: "\u8BF7\u8F93\u5165",
108
+ placeholderTransKey: "gd.placeholder.input",
109
+ rules: [{
110
+ required: !0,
111
+ message: "\u8BF7\u8F93\u5165",
112
+ transKey: "gd.placeholder.input",
113
+ trigger: "change"
114
+ }]
115
+ }, {
116
+ transKey: "gd.application.code",
117
+ prop: "code",
118
+ effectType: "input",
119
+ label: "\u552F\u4E00\u7F16\u7801",
120
+ disabled: !1,
121
+ placeholder: "\u8BF7\u8F93\u5165",
122
+ placeholderTransKey: "gd.placeholder.input",
123
+ rules: [{
124
+ required: !0,
125
+ message: "\u8BF7\u8F93\u5165",
126
+ transKey: "gd.placeholder.input",
127
+ trigger: "change"
128
+ }]
129
+ }, {
130
+ transKey: "gd.application.icon",
131
+ prop: "icon",
132
+ effectType: "icon",
133
+ label: "\u56FE\u6807",
134
+ disabled: !1,
135
+ placeholder: "\u8BF7\u8F93\u5165",
136
+ placeholderTransKey: "gd.placeholder.input",
137
+ rules: [{
138
+ required: !0,
139
+ message: "\u8BF7\u8F93\u5165",
140
+ transKey: "gd.placeholder.input",
141
+ trigger: "change"
142
+ }]
143
+ }, {
144
+ transKey: "gd.application.sort",
145
+ prop: "sort",
146
+ effectType: "inputnumber",
147
+ label: "\u6392\u5E8F",
148
+ defaultValue: 100,
149
+ placeholder: "\u8BF7\u8F93\u5165",
150
+ placeholderTransKey: "gd.placeholder.input",
151
+ rules: [{
152
+ required: !0,
153
+ message: "\u8BF7\u8F93\u5165",
154
+ transKey: "gd.placeholder.input",
155
+ trigger: "change",
156
+ type: "number"
157
+ }]
158
+ }]
159
+ };
160
+ }
161
+ };
162
+ const w = {
163
+ props: {
164
+ detail: {
165
+ type: Object,
166
+ default: () => {
167
+ }
168
+ },
169
+ selList: {
170
+ type: Array,
171
+ default: () => []
172
+ }
173
+ },
174
+ mixins: [b],
175
+ data() {
176
+ return {
177
+ confirmLoading: !1,
178
+ fullscreen: !1,
179
+ visible: !1,
180
+ width: "70%",
181
+ selectedRowKeys: [],
182
+ selectedRows: [],
183
+ queryParam: {
184
+ appsId: ""
185
+ },
186
+ loadData: (s) => h(Object.assign(s, this.queryParam)).then((e) => (this.getRow(e.data), this.allList = e.data, {
187
+ pageNo: 1,
188
+ pageSize: s.pageSize,
189
+ rows: e.data,
190
+ totalRows: e.data.length
191
+ })),
192
+ appList: [],
193
+ disabledRowId: [],
194
+ formLoading: !1,
195
+ transKey: "",
196
+ basicAttribute: {
197
+ isInherit: 1,
198
+ isNavigation: 1,
199
+ layout: "sidemenu",
200
+ logoOpen: !0,
201
+ logo: {
202
+ mode: "imageWithText",
203
+ bigPicture: "",
204
+ smallPicture: "",
205
+ title: "",
206
+ titleFont: 15,
207
+ subtitle: "",
208
+ subtitleFont: 12,
209
+ flexDirection: "row"
210
+ },
211
+ menus: [
212
+ {
213
+ name: "\u901A\u7528\u5BFC\u5165",
214
+ key: "universalImport",
215
+ statu: !0,
216
+ disabled: !1,
217
+ transkey: "gd.menu.universalImport"
218
+ },
219
+ {
220
+ name: "\u6D88\u606F",
221
+ key: "information",
222
+ statu: !0,
223
+ disabled: !1,
224
+ transkey: "gd.menu.information"
225
+ },
226
+ {
227
+ name: "\u9AD8\u7EA7\u67E5\u627E",
228
+ key: "advancedFind",
229
+ statu: !0,
230
+ disabled: !1,
231
+ transkey: "gd.menu.menuAdvancedFind"
232
+ },
233
+ {
234
+ name: "\u4E3B\u9898\u914D\u7F6E",
235
+ key: "theme",
236
+ statu: !0,
237
+ disabled: !1,
238
+ transkey: "gd.menu.themeConfiguration"
239
+ },
240
+ {
241
+ name: "\u5168\u5C4F",
242
+ key: "fullScreen",
243
+ statu: !0,
244
+ disabled: !1,
245
+ transkey: "gd.menu.fullScreen"
246
+ },
247
+ {
248
+ name: "\u7528\u6237",
249
+ key: "user",
250
+ statu: !0,
251
+ disabled: !0,
252
+ transkey: "gd.menu.user"
253
+ }
254
+ ]
255
+ },
256
+ code: "",
257
+ allList: ""
258
+ };
259
+ },
260
+ computed: {
261
+ getHeight() {
262
+ return this.screenHeight - (this.fullscreen ? 160 : 320);
263
+ },
264
+ getBootTrans() {
265
+ return this.$bootTrans == null ? !1 : this.$bootTrans;
266
+ },
267
+ ...o(["tablePageSize", "screenHeight", "tableSize", "primaryColor", "labelPosition", "formMode"])
268
+ },
269
+ methods: {
270
+ getRow(s) {
271
+ let e = [];
272
+ s.filter((t) => this.selList.includes(t.id)).forEach((t) => {
273
+ e.push(t.id);
274
+ }), this.disabledRowId = e;
275
+ },
276
+ toggleFullscreen() {
277
+ this.fullscreen = !this.fullscreen;
278
+ },
279
+ open(s) {
280
+ this.fullScreen = !1, this.type = s ? 2 : 1, this.visible = !0;
281
+ },
282
+ getSysAppsPage() {
283
+ f().then((s) => {
284
+ s.success && (this.appList = s.data.rows, this.queryParam.appsId = this.appList[0].id);
285
+ });
286
+ },
287
+ onSelectChange(s, e) {
288
+ this.selectedRowKeys = s, this.selectedRows = e, this.selectedRows.length > 0 ? this.tableButtons.forEach((t) => {
289
+ t.displayName == "\u65B0\u5EFA" && (t.show = !1);
290
+ }) : this.tableButtons.forEach((t) => {
291
+ t.displayName == "\u65B0\u5EFA" && (t.show = !0);
292
+ });
293
+ },
294
+ handleSubmit() {
295
+ if (this.confirmLoading)
296
+ return;
297
+ if (this.selectedRowKeys.length == 0) {
298
+ this.closed();
299
+ return;
300
+ }
301
+ this.confirmLoading = !0;
302
+ let s = [];
303
+ this.selectedRows.forEach((t) => {
304
+ s.push({
305
+ componenttype: 7,
306
+ objectid: t.id,
307
+ name: this.getTransKeyName(t.transkey, t.name)
308
+ });
309
+ });
310
+ let e = {
311
+ solutionId: this.detail.id,
312
+ data: s
313
+ };
314
+ c(e).then((t) => {
315
+ t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok", this.selectedRowKeys), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + t.message), this.confirmLoading = !1;
316
+ });
317
+ },
318
+ closed() {
319
+ this.selectedRowKeys = [], this.selectedRows = [], this.tableButtons.forEach((s) => {
320
+ s.displayName == "\u65B0\u5EFA" && (s.show = !0);
321
+ }), this.visible = !1;
322
+ },
323
+ refresh() {
324
+ this.$refs.table.refresh();
325
+ },
326
+ doEvent(s) {
327
+ let e = s.item.functionName;
328
+ this[e]();
329
+ },
330
+ getTransKeyName(s, e) {
331
+ return this.getBootTrans && s ? this.$i18nt(`Dynamics.${s}`, e) : e;
332
+ },
333
+ addBuilt() {
334
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null).then(({ instance: s, done: e }) => {
335
+ e({
336
+ code: uuid(8, !1)
337
+ });
338
+ });
339
+ },
340
+ sbumit(s, e, t) {
341
+ this.saveSysApp(s, e, t);
342
+ },
343
+ saveSysApp({ data: s, record: e, btn: t }, a, i) {
344
+ this.formLoading = !0, (e ? g : m)(
345
+ e ? s : Object.assign(s, {
346
+ sys_AppsId: this.queryParam.appsId,
347
+ isNavigation: 1,
348
+ isInherit: 1,
349
+ basicAttribute: JSON.stringify(this.basicAttribute),
350
+ applicationType: 1,
351
+ active: "Y"
352
+ })
353
+ ).then((n) => {
354
+ n.success ? (this.code = s.code, this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i(), this.refresh(), e || setTimeout(() => {
355
+ const l = this.allList.find((d) => d.id === n.data);
356
+ this.selectedRowKeys = [l.id], this.selectedRows = [l], setTimeout(() => {
357
+ this.handleSubmit();
358
+ }, 10);
359
+ }, 400)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
360
+ });
361
+ }
362
+ },
363
+ created() {
364
+ this.getSysAppsPage();
365
+ }
366
+ };
367
+ var _ = function() {
368
+ var e = this, t = e._self._c;
369
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
370
+ e.visible = a;
371
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.https.add", "\u65B0\u589E"), fullscreen: e.fullscreen, buttons: e.tableButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, filtering: !1, height: e.getHeight, selectedRowKeys: e.selectedRowKeys, disabledRowId: e.disabledRowId }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "statecodes", fn: function({ column: a, row: i }) {
372
+ return [t("span", [e._v(e._s(e._f("dictType")("state_code", i.statecodes)))])];
373
+ } }, { key: "name", fn: function({ column: a, row: i }) {
374
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" } })];
375
+ } }, { key: "operator", fn: function() {
376
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-select", { staticClass: "table-operator-input", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.btnConfig.name", "\u540D\u79F0"), clearable: "" }, model: { value: e.queryParam.appsId, callback: function(a) {
377
+ e.$set(e.queryParam, "appsId", a);
378
+ }, expression: "queryParam.appsId" } }, e._l(e.appList, function(a, i) {
379
+ return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${a.transKey}`, a.name), value: a.id } });
380
+ }), 1), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
381
+ }, proxy: !0 }], null, !1, 984274528) }) : e._e()], 1)], 2), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.appColumns, labelPosition: e.labelPosition, formMode: e.formMode, needLoad: !0 }, on: { sbumit: e.sbumit } })], 1);
382
+ }, v = [], K = /* @__PURE__ */ r(
383
+ w,
384
+ _,
385
+ v,
386
+ !1,
387
+ null,
388
+ "4a5202ec",
389
+ null,
390
+ null
391
+ );
392
+ const S = K.exports;
393
+ const $ = {
394
+ mixins: [y],
395
+ props: {
396
+ height: {
397
+ type: Number,
398
+ default: 0
399
+ },
400
+ record: {
401
+ type: Object,
402
+ default: () => ({})
403
+ },
404
+ tableDataAll: {
405
+ type: Array,
406
+ default: () => []
407
+ },
408
+ selList: {
409
+ type: Array,
410
+ default: () => []
411
+ }
412
+ },
413
+ components: {
414
+ applicationAdd: S
415
+ },
416
+ data() {
417
+ return {
418
+ queryParam: {},
419
+ loadData: (s) => u(Object.assign(s, this.getQueryParam)).then((e) => e.data),
420
+ selectedRowKeys: [],
421
+ selectedRows: [],
422
+ type: 7
423
+ };
424
+ },
425
+ computed: {
426
+ getQueryParam() {
427
+ return Object.assign(this.queryParam, {
428
+ solutionId: this.record.id,
429
+ type: this.type
430
+ });
431
+ },
432
+ ...o(["tablePageSize", "tableSize"])
433
+ },
434
+ methods: {
435
+ add() {
436
+ this.$refs.applicationAdd.open(null);
437
+ },
438
+ okSbumit(s) {
439
+ this.refresh(), this.$emit("ok", s);
440
+ },
441
+ del() {
442
+ if (this.selectedRowKeys.length === 0) {
443
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
444
+ return;
445
+ }
446
+ [...this.selectedRows], this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
447
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
448
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
449
+ showClose: !1,
450
+ confirmButtonLoading: !1,
451
+ cancelButtonLoading: !1,
452
+ closeOnClickModal: !1,
453
+ type: "warning",
454
+ confirmButtonClass: "el-button--danger",
455
+ customClass: "custom-alert",
456
+ callback: () => {
457
+ },
458
+ beforeClose: (s, e, t) => {
459
+ this.delHand(s, e, t);
460
+ }
461
+ });
462
+ },
463
+ delHand(s, e, t) {
464
+ if (s !== "confirm") {
465
+ t();
466
+ return;
467
+ }
468
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, p({
469
+ solutionId: this.record.id,
470
+ ids: this.selectedRowKeys,
471
+ type: this.type
472
+ }).then((a) => {
473
+ t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, a.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.$emit("del", this.selectedRows)) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a.message), this.refresh();
474
+ });
475
+ },
476
+ refresh() {
477
+ this.$refs.table.refresh();
478
+ },
479
+ onSelectChange(s, e) {
480
+ this.selectedRowKeys = s, this.selectedRows = e;
481
+ },
482
+ doEvent(s) {
483
+ let e = s.item.functionName;
484
+ this[e]();
485
+ }
486
+ }
487
+ };
488
+ var C = function() {
489
+ var e = this, t = e._self._c;
490
+ return t("div", [t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: a, row: i }) {
491
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: i } })];
492
+ } }, { key: "operator", fn: function() {
493
+ return [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)];
494
+ }, proxy: !0 }]) })], 1), t("applicationAdd", { ref: "applicationAdd", attrs: { detail: e.record, selList: e.selList }, on: { ok: e.okSbumit } })], 1);
495
+ }, R = [], k = /* @__PURE__ */ r(
496
+ $,
497
+ C,
498
+ R,
499
+ !1,
500
+ null,
501
+ "2670b4a7",
502
+ null,
503
+ null
504
+ );
505
+ const P = k.exports;
506
+ export {
507
+ P as A
508
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./components.chartbi.e9459775.js"),i=require("./http.solution.c6b2634f.js"),r=require("./http.main.2f8a6936.js"),d=require("./flow.list.f41ee531.js"),c={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.flow.processName",prop:"name",label:"\u6D41\u7A0B\u540D\u79F0",type:"slot",slotType:"name",align:"left"},{transKey:"gd.flow.creationTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysSolution:add"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysSolution:del"}]}}},u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.flow.approval.name",prop:"name",label:"\u6D41\u7A0B\u540D\u79F0",type:"slot",slotType:"name",align:"left"},{transKey:"gd.flow.approval.table",prop:"tableid",label:"\u5173\u8054\u8868",type:"slot",slotType:"tableid",align:"left"},{label:"\u5206\u7C7B",prop:"category",type:"slot",slotType:"category",align:"left",transKey:"gd.flow.approval.classify"},{label:"\u7F16\u7801",prop:"encode",align:"left",transKey:"gd.flow.approval.code"},{transKey:"gd.flow.state",prop:"statecodes",label:"\u72B6\u6001",type:"slot",slotType:"statecodes",align:"left"},{transKey:"gd.flow.creationTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{title:"\u8BF4\u660E",prop:"description",align:"left",transKey:"gd.flow.explain"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysSolution:add"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysSolution:del"}],buttons:[{displayName:"\u65B0\u5EFA",functionName:"addBuilt",show:!0,transKey:"gd.btn.addBuilt",icon:"el-icon-plus"},{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],tableQueries:[{transKey:"gd.flow.approval.name",prop:"keyword",label:"\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const f={mixins:[u],props:{detail:{type:Object,default:()=>{}},selList:{type:Array,default:()=>[]}},data(){return{width:"70%",confirmLoading:!1,fullscreen:!1,visible:!1,queryParam:{},loadData:s=>r.approvalProcess(Object.assign(s,this.queryParam)).then(e=>{if(e.code===200){const t=e.data.rows.map(o=>{const l=this.tableLists.filter(n=>n.id===o.tableid)[0];return Object.assign(o,l?{tabledata:l}:{})});Object.assign(e.data,{rows:t})}return this.getRow(e.data),e.data}),selectedRowKeys:[],disabledRowId:[],allList:[]}},components:{flowDesign:d.flowDesign},computed:{getHeight(){return this.screenHeight-(this.fullscreen?160:320)},styled(){return`color:${this.primaryColor};cursor: pointer;`},...a.mapGetters(["tablePageSize","screenHeight","tableSize","primaryColor","tableLists"])},methods:{getRow(s){let e=[];s.rows.filter(t=>this.selList.includes(t.id)).forEach(t=>{e.push(t.id)}),this.disabledRowId=e},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e,this.selectedRows.length>0?this.buttons.forEach(t=>{t.displayName=="\u65B0\u5EFA"&&(t.show=!1)}):this.buttons.forEach(t=>{t.displayName=="\u65B0\u5EFA"&&(t.show=!0)})},toggleFullscreen(){this.fullscreen=!this.fullscreen},open(s){this.fullScreen=!1,this.type=s?2:1,this.visible=!0},saveQueries(s){console.log(s),this.queryParam={...s},this.refresh()},handleSubmit(){if(this.confirmLoading)return;if(this.selectedRowKeys.length==0){this.closed();return}this.confirmLoading=!0;let s=[];this.selectedRows.forEach(t=>{s.push({componentType:16,objectId:t.id,name:this.getTransKeyName(t.transkey,t.name)})});let e={solutionId:this.detail.id,data:s};i.sysSolutionComponentBatchadd(e).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.addSucc")),this.$emit("ok",this.selectedRowKeys),this.closed()):this.$message.error(this.$i18nt("gd.https.addFail")+t.message),this.confirmLoading=!1})},refresh(){this.$refs.table.refresh()},closed(){this.selectedRowKeys=[],this.selectedRows=[],this.buttons.forEach(s=>{s.displayName=="\u65B0\u5EFA"&&(s.show=!0)}),this.visible=!1},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(o=>o.code==s)[0];return t!=null&&t.colour?t.colour:null},doEvent(s){let e=s.item.functionName;this[e]()},getTransKeyName(s,e){return this.getBootTrans&&s?this.$i18nt(`Dynamics.${s}`,e):e},addBuilt(){this.$refs.flowDesign.open(null)},submitRefresh(s){this.getAll(),s&&setTimeout(()=>{const e=this.allList.find(t=>t.id===s);this.selectedRowKeys=[e.id],this.selectedRows=[e],setTimeout(()=>{this.handleSubmit()},10)},600)},getAll(){r.approvalProcess(Object.assign({pageNo:1,pageSize:1e5},this.queryParam)).then(s=>{s.code===200&&(this.allList=s.data.rows)})}}};var h=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(o){e.visible=o},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.https.add","\u65B0\u589E"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,filtering:!0,height:e.getHeight,selectedRowKeys:e.selectedRowKeys,disabledRowId:e.disabledRowId},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({row:o}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:o,highlight:""}})]}},{key:"tableid",fn:function({column:o,row:l}){return[l.tabledata?t("span",[e._v(e._s(e.$i18nt(`Dynamics.${l.tabledata.transkey}`,l.tabledata.busname)))]):e._e()]}},{key:"statecodes",fn:function(o){return[t("div",{staticStyle:{cursor:"pointer"}},[o.row.statecodes?t("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):t("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"20px",color:"#999"}})])]}},{key:"category",fn:function(o){return[t("span",[e._v(e._s(e._f("dictType")("table_flows_type",o.row.category)))])]}},{key:"filtering",fn:function({colse:o,visible:l}){return[t("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:o,visible:l},on:{save:e.saveQueries}})]}}],null,!1,3789119863)}):e._e()],1)],2),t("flowDesign",{ref:"flowDesign",on:{ok:e.submitRefresh}})],1)},p=[],g=a.normalizeComponent(f,h,p,!1,null,"f7f7fc98",null,null);const m=g.exports;const y={mixins:[c],props:{height:{type:Number,default:0},record:{type:Object,default:()=>({})},tableDataAll:{type:Array,default:()=>[]},selList:{type:Array,default:()=>[]}},components:{ApprovalFlowAdd:m,flowDesign:d.flowDesign},data(){return{queryParam:{},loadData:s=>i.sysSolutionComponentPage(Object.assign(s,this.getQueryParam)).then(e=>e.data),selectedRowKeys:[],selectedRows:[],type:16}},computed:{getQueryParam(){return Object.assign(this.queryParam,{solutionId:this.record.id,type:this.type})},...a.mapGetters(["tablePageSize","tableSize"])},methods:{see(s){this.$refs.flowDesign.open(s.objectid)},add(){this.$refs.approvalFlowAdd.open(null)},okSbumit(s){this.refresh(),this.$emit("ok",s)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}[...this.selectedRows],this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{this.delHand(s,e,t)}})},delHand(s,e,t){if(s!=="confirm"){t();return}e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,i.sysSolutionComponentRemove({solutionId:this.record.id,ids:this.selectedRowKeys,type:this.type}).then(o=>{t(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,o.success?(this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),this.$emit("del",this.selectedRows)):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+o.message),this.refresh()})},refresh(){this.$refs.table.refresh()},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},doEvent(s){let e=s.item.functionName;this[e]()}}};var b=function(){var e=this,t=e._self._c;return t("div",[t("div",[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:o,row:l}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:l,highlight:""},on:{click:function(n){return e.see(l)}}})]}},{key:"operator",fn:function(){return[t("div",{staticClass:"gd-table-operatorr"},[t("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)]},proxy:!0}])})],1),t("ApprovalFlowAdd",{ref:"approvalFlowAdd",attrs:{detail:e.record,selList:e.selList},on:{ok:e.okSbumit}}),t("flowDesign",{ref:"flowDesign",attrs:{modeType:"solution"}})],1)},w=[],_=a.normalizeComponent(y,b,w,!1,null,"39860834",null,null);const v=_.exports;exports.ApprovalFlow=v;