gds-plus-design-vue 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/lib/approvalModel.a26e8ff6.mjs +340 -0
  2. package/lib/approvalModel.cfd81971.js +1 -0
  3. package/lib/btnFunctionName.9aabfed0.js +1 -0
  4. package/lib/btnFunctionName.d08627cb.mjs +254 -0
  5. package/lib/btnRelation.8e608261.mjs +156 -0
  6. package/lib/btnRelation.cb3dc022.js +1 -0
  7. package/lib/businessRules.754cc398.mjs +539 -0
  8. package/lib/businessRules.f41f7035.js +1 -0
  9. package/lib/buttonRule.4483314f.mjs +396 -0
  10. package/lib/buttonRule.645de1d3.js +1 -0
  11. package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
  12. package/lib/chartDisplayRules.fedfefe8.js +1 -0
  13. package/lib/components.chartbi.470b96af.mjs +1798 -0
  14. package/lib/components.chartbi.e9459775.js +8 -0
  15. package/lib/components.coloreditor.affa0400.mjs +1505 -0
  16. package/lib/components.coloreditor.dbec8da6.js +6 -0
  17. package/lib/components.dataassign.39281072.mjs +147 -0
  18. package/lib/components.dataassign.b6a1bffb.js +1 -0
  19. package/lib/components.echarts.95ffc3b3.mjs +811 -0
  20. package/lib/components.echarts.d09e9850.js +4 -0
  21. package/lib/components.exception.11315db5.js +1 -0
  22. package/lib/components.exception.facf9df9.mjs +61 -0
  23. package/lib/components.form.56ea8f98.js +41 -0
  24. package/lib/components.form.a7b3ea37.mjs +7813 -0
  25. package/lib/components.globalheader.0a7ce959.js +1 -0
  26. package/lib/components.globalheader.4a5f7225.mjs +54 -0
  27. package/lib/components.iconselector.0c03cfc7.js +1 -0
  28. package/lib/components.iconselector.251c29b9.mjs +1169 -0
  29. package/lib/components.imgpreview.5546e541.mjs +213 -0
  30. package/lib/components.imgpreview.706a89f0.js +1 -0
  31. package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
  32. package/lib/components.lunccalendar.fe7db238.js +1 -0
  33. package/lib/components.middleware.01601349.js +1 -0
  34. package/lib/components.middleware.f5f4ac0f.mjs +148 -0
  35. package/lib/components.modaltitle.5ded43f9.mjs +127 -0
  36. package/lib/components.modaltitle.cc9ba616.js +1 -0
  37. package/lib/components.multitab.0f9da9f3.mjs +140 -0
  38. package/lib/components.multitab.726cff2f.js +1 -0
  39. package/lib/components.selecttree.1a71c963.mjs +170 -0
  40. package/lib/components.selecttree.2fadffca.js +1 -0
  41. package/lib/components.settingdrawer.1af86231.js +1 -0
  42. package/lib/components.settingdrawer.adc262cf.mjs +237 -0
  43. package/lib/components.sidemenu.03442146.mjs +277 -0
  44. package/lib/components.sidemenu.5107c7e3.js +1 -0
  45. package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
  46. package/lib/components.sidenavmenu.ef33de39.js +1 -0
  47. package/lib/components.statuschange.805a751b.mjs +116 -0
  48. package/lib/components.statuschange.83646c5d.js +1 -0
  49. package/lib/components.table.61eb5d81.js +8 -0
  50. package/lib/components.table.c986e58d.mjs +4650 -0
  51. package/lib/components.tableumy.35b465f9.mjs +453 -0
  52. package/lib/components.tableumy.eba43953.js +1 -0
  53. package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
  54. package/lib/components.tablevirtual.6af04c44.js +1 -0
  55. package/lib/components.teamsharing.68865424.js +1 -0
  56. package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
  57. package/lib/components.tooltip.ccb1717d.mjs +86 -0
  58. package/lib/components.tooltip.e2e21e66.js +1 -0
  59. package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
  60. package/lib/components.uploadfile.e93b500d.js +1 -0
  61. package/lib/components.uploadimg.3804913e.js +1 -0
  62. package/lib/components.uploadimg.e49707d9.mjs +192 -0
  63. package/lib/components.verificationcode.5a9c0220.js +1 -0
  64. package/lib/components.verificationcode.ead74922.mjs +71 -0
  65. package/lib/components.viewformdetails.3c1596ad.js +1 -0
  66. package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
  67. package/lib/components.viewloading.5b178ec5.js +1 -0
  68. package/lib/components.viewloading.cb7917b7.mjs +99 -0
  69. package/lib/components.watermark.849409ca.js +2 -0
  70. package/lib/components.watermark.a2521d0c.mjs +53 -0
  71. package/lib/components.xlsxexport.3405a00b.js +1 -0
  72. package/lib/components.xlsxexport.871f87d1.mjs +263 -0
  73. package/lib/components.xlsximport.85ce77cf.mjs +922 -0
  74. package/lib/components.xlsximport.e3bcb07d.js +1 -0
  75. package/lib/copy.b09a6d38.js +1 -0
  76. package/lib/copy.c0a2f16d.mjs +572 -0
  77. package/lib/dialogLayout.059ee256.mjs +138 -0
  78. package/lib/dialogLayout.cedf2865.js +1 -0
  79. package/lib/drawerContainer.38d7b530.mjs +154 -0
  80. package/lib/drawerContainer.ea7722d7.js +1 -0
  81. package/lib/drawerLayout.454e4921.js +1 -0
  82. package/lib/drawerLayout.fad843ee.mjs +119 -0
  83. package/lib/editForm.c199538f.mjs +434 -0
  84. package/lib/editForm.f9dc93ef.js +1 -0
  85. package/lib/flow.designer.4c83c0d3.js +1 -0
  86. package/lib/flow.designer.9442a995.mjs +7673 -0
  87. package/lib/flow.list.4a31969e.mjs +3032 -0
  88. package/lib/flow.list.f41ee531.js +1 -0
  89. package/lib/form.build.c38bf362.js +1 -0
  90. package/lib/form.build.fb9f905b.mjs +259 -0
  91. package/lib/form.designer.build.3fdf8007.js +1 -0
  92. package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
  93. package/lib/formFiled.624b8dd3.js +1 -0
  94. package/lib/formFiled.94fb1dce.mjs +498 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +233 -91033
  97. package/lib/http.appmanage.9b22ff82.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  100. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  111. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.6fdfc693.js +1 -0
  116. package/lib/http.filedocument.d3a4afd9.mjs +293 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.1af1e119.mjs +517 -0
  128. package/lib/http.main.2f8a6936.js +1 -0
  129. package/lib/http.menumanage.09fffb7d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.1d68e914.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  140. package/lib/http.orgmanage.5162fd7a.js +1 -0
  141. package/lib/http.pluginmanage.54720675.mjs +82 -0
  142. package/lib/http.pluginmanage.6a876040.js +1 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  146. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  147. package/lib/http.rolemanage.4d1101dd.js +1 -0
  148. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  149. package/lib/http.solution.b10d9197.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.932ba43b.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.a9c609d5.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.6e894942.js +1 -0
  162. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  167. package/lib/http.useraffiliation.af2013ad.js +1 -0
  168. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  169. package/lib/http.usermanage.6dcbc7de.js +1 -0
  170. package/lib/http.usermanage.f5491144.mjs +219 -0
  171. package/lib/http.webresource.1a1a768f.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.3fa2dc66.mjs +40154 -0
  174. package/lib/index.fe757a98.js +8 -0
  175. package/lib/layoutBlocks.14c77a02.js +1 -0
  176. package/lib/layoutBlocks.5d71a03b.mjs +401 -0
  177. package/lib/layouts.a662f681.js +2 -0
  178. package/lib/layouts.ec4f20a2.mjs +376 -0
  179. package/lib/main.092a2ac8.js +1 -0
  180. package/lib/{main.c59fc1e8.mjs → main.15237e71.mjs} +12 -10
  181. package/lib/main.29769f01.js +1 -0
  182. package/lib/main.401059c6.mjs +189 -0
  183. package/lib/main.447be615.js +1 -0
  184. package/lib/main.4e507685.mjs +231 -0
  185. package/lib/main.72cafa63.mjs +540 -0
  186. package/lib/{main.4e325110.mjs → main.73f22d9e.mjs} +9 -8
  187. package/lib/main.7601bd3d.mjs +166 -0
  188. package/lib/main.79199ac2.js +1 -0
  189. package/lib/main.821d081b.js +1 -0
  190. package/lib/main.8627466a.mjs +537 -0
  191. package/lib/{main.955f770e.mjs → main.88e9be9d.mjs} +4 -4
  192. package/lib/main.8e6f6cba.mjs +323 -0
  193. package/lib/main.a9a54af9.js +1 -0
  194. package/lib/main.e033a376.js +1 -0
  195. package/lib/main.e2e4ba74.js +1 -0
  196. package/lib/{main.be62e9a4.mjs → main.e79d9e56.mjs} +113 -188
  197. package/lib/main.ea3a04f4.js +1 -0
  198. package/lib/main.f44d8279.js +1 -0
  199. package/lib/messages.5f54a62e.js +9 -0
  200. package/lib/{messages.7e418640.mjs → messages.d4354532.mjs} +4321 -5268
  201. package/lib/packages.filedocument.8418d852.mjs +4039 -0
  202. package/lib/packages.filedocument.9b8eda0d.js +1 -0
  203. package/lib/page.build.4d28df9a.js +12 -0
  204. package/lib/page.build.78cc7396.mjs +3020 -0
  205. package/lib/personal.echarts.940f1cc9.mjs +696 -0
  206. package/lib/personal.echarts.b5a7f574.js +1 -0
  207. package/lib/result.0161b0e0.js +1 -0
  208. package/lib/result.5a9330d7.mjs +627 -0
  209. package/lib/router.config.79a98ab8.mjs +3105 -0
  210. package/lib/router.config.7fd04c30.js +1 -0
  211. package/lib/solution.application.3ae7c0c5.js +1 -0
  212. package/lib/solution.application.fdc15ffc.mjs +548 -0
  213. package/lib/solution.applicationmenu.67aba620.js +1 -0
  214. package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
  215. package/lib/solution.approvalflow.81b7cfb7.js +1 -0
  216. package/lib/solution.approvalflow.a541adcc.mjs +436 -0
  217. package/lib/solution.dict.addbce33.mjs +769 -0
  218. package/lib/solution.dict.f1c9bae6.js +1 -0
  219. package/lib/solution.menu.2033fa37.mjs +5834 -0
  220. package/lib/solution.menu.6512047f.js +1 -0
  221. package/lib/solution.plugin.7094dbfd.js +1 -0
  222. package/lib/solution.plugin.d8f057cb.mjs +347 -0
  223. package/lib/solution.processflow.0adf4f55.js +1 -0
  224. package/lib/solution.processflow.a779bd58.mjs +392 -0
  225. package/lib/solution.role.d35cb00d.js +1 -0
  226. package/lib/solution.role.d9a4b25a.mjs +456 -0
  227. package/lib/solution.webresources.e1421655.mjs +379 -0
  228. package/lib/solution.webresources.e817757c.js +1 -0
  229. package/lib/solution.workflow.59552b8c.mjs +395 -0
  230. package/lib/solution.workflow.985e1f4d.js +1 -0
  231. package/lib/store.config.556bd56b.js +1 -0
  232. package/lib/store.config.5e5cb48a.mjs +547 -0
  233. package/lib/style.css +3 -3
  234. package/lib/system.account.1b281679.js +216 -0
  235. package/lib/system.account.96d5bc17.mjs +2093 -0
  236. package/lib/system.config.0ff45e62.js +1 -0
  237. package/lib/{system.config.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.a817cf68.mjs → system.dict.3697546d.mjs} +269 -344
  241. package/lib/system.dict.8e4fe6b0.js +1 -0
  242. package/lib/system.document.69e534a6.js +1 -0
  243. package/lib/system.document.8e4dbe5e.mjs +667 -0
  244. package/lib/system.duplicatechecking.1083eb1e.js +1 -0
  245. package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
  246. package/lib/system.email.06bb7cc1.mjs +133 -0
  247. package/lib/system.email.41036a31.js +1 -0
  248. package/lib/system.fieldsecurity.3ea880d8.js +1 -0
  249. package/lib/{system.fieldsecurity.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.1930d109.mjs → system.file.8ccc4569.mjs} +84 -151
  251. package/lib/system.file.b8e4e6a1.js +1 -0
  252. package/lib/system.log.14c22a7a.js +1 -0
  253. package/lib/{system.log.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.08a15a71.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
  261. package/lib/system.onlineuser.fc26aff9.js +1 -0
  262. package/lib/system.org.b6f826e8.js +1 -0
  263. package/lib/{system.org.6e858bf3.mjs → system.org.dd710a91.mjs} +3 -3
  264. package/lib/system.permissions.75406743.mjs +972 -0
  265. package/lib/system.permissions.97f68887.js +1 -0
  266. package/lib/system.plugin.3fcf7b0b.js +1 -0
  267. package/lib/{system.plugin.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.141dc00b.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
  275. package/lib/system.sumberrules.5e9cd262.js +1 -0
  276. package/lib/system.team.3e605266.js +1 -0
  277. package/lib/system.team.bb1fb40e.mjs +452 -0
  278. package/lib/system.teammembers.a098883b.js +1 -0
  279. package/lib/{system.teammembers.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.5e3e2bab.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
  287. package/lib/system.useraffiliation.f8b33def.js +1 -0
  288. package/lib/system.webresource.1d3ed352.js +1 -0
  289. package/lib/{system.webresource.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.79e15015.mjs → system.welcome.573a76db.mjs} +10 -3
  291. package/lib/system.welcome.eedf1db2.js +1 -0
  292. package/lib/tableDescriptions.923c4ef1.mjs +80 -0
  293. package/lib/tableDescriptions.b12679b0.js +1 -0
  294. package/lib/tcheckboxs.887d733c.mjs +52 -0
  295. package/lib/tcheckboxs.fe7e574a.js +1 -0
  296. package/lib/tcurrency.10ac9aa7.mjs +85 -0
  297. package/lib/tcurrency.20e959c0.js +1 -0
  298. package/lib/tdatepicker.54036bba.js +1 -0
  299. package/lib/tdatepicker.a08ad382.mjs +52 -0
  300. package/lib/tdictSwitch.274e9f86.js +1 -0
  301. package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
  302. package/lib/tfile.5c897827.js +1 -0
  303. package/lib/tfile.f63b73b9.mjs +62 -0
  304. package/lib/tparticipants.4698962b.mjs +56 -0
  305. package/lib/tparticipants.b6fb4545.js +1 -0
  306. package/lib/translation.mains.5cfc7a2f.js +1 -0
  307. package/lib/translation.mains.e6cb610b.mjs +383 -0
  308. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  309. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  310. package/lib/utils.echarts.js.461a74e7.js +54 -0
  311. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  312. package/lib/utils.mixins.js.750ca50e.js +1 -0
  313. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  314. package/lib/utils.plug.js.9313aead.mjs +31 -0
  315. package/lib/utils.plug.js.f62510ce.js +1 -0
  316. package/lib/utils.util.js.885de913.mjs +439 -0
  317. package/lib/utils.util.js.c0ba699b.js +1 -0
  318. package/lib/view.build.051553d8.mjs +1578 -0
  319. package/lib/view.build.9af3087b.js +1 -0
  320. package/lib/viewList.209956c3.js +1 -0
  321. package/lib/viewList.c05c92be.mjs +318 -0
  322. package/lib/viewTree.0cd9f1a2.js +1 -0
  323. package/lib/viewTree.c5290360.mjs +409 -0
  324. package/locale/en_US.js +96 -29
  325. package/locale/id_ID.js +80 -13
  326. package/locale/vi_VN.js +2015 -1948
  327. package/locale/zh_CN.js +100 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.b5b6fdab.js +0 -60
  330. package/lib/chartbi.b6818e8e.mjs +0 -27604
  331. package/lib/main.6713b76c.js +0 -1
  332. package/lib/main.a28f67df.js +0 -1
  333. package/lib/main.b4a303dc.js +0 -1
  334. package/lib/main.f3ae0933.js +0 -1
  335. package/lib/messages.1346558e.js +0 -9
  336. package/lib/system.account.64fbdaeb.mjs +0 -2552
  337. package/lib/system.account.7c43a95e.js +0 -216
  338. package/lib/system.config.93d6cb7d.js +0 -1
  339. package/lib/system.datasource.4bb39222.js +0 -1
  340. package/lib/system.dict.5a2e60fe.js +0 -1
  341. package/lib/system.duplicatechecking.65b77e64.js +0 -1
  342. package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
  343. package/lib/system.email.2f53252e.mjs +0 -7432
  344. package/lib/system.email.fec5ae26.js +0 -41
  345. package/lib/system.fieldsecurity.920adca4.js +0 -1
  346. package/lib/system.file.5a9a5e0e.js +0 -1
  347. package/lib/system.log.b309c0e0.js +0 -1
  348. package/lib/system.machine.9368e508.js +0 -1
  349. package/lib/system.notice.ff62c06a.js +0 -1
  350. package/lib/system.noticereceived.9550818b.js +0 -1
  351. package/lib/system.onlineuser.6cf4fe24.js +0 -1
  352. package/lib/system.org.0c67131d.js +0 -1
  353. package/lib/system.permissions.af548a3b.js +0 -9
  354. package/lib/system.permissions.cc5ac7ac.mjs +0 -212
  355. package/lib/system.plugin.83d03fb2.js +0 -1
  356. package/lib/system.pos.eae2051e.js +0 -1
  357. package/lib/system.promptmanagement.04501417.js +0 -1
  358. package/lib/system.role.e623c50b.js +0 -1
  359. package/lib/system.sumberrules.a01e1805.js +0 -1
  360. package/lib/system.team.0cebcde7.js +0 -1
  361. package/lib/system.team.27a6d5d5.mjs +0 -1000
  362. package/lib/system.teammembers.b67f003f.js +0 -1
  363. package/lib/system.timers.b27fcb6d.js +0 -38
  364. package/lib/system.translation.d2c982ed.js +0 -1
  365. package/lib/system.user.0664c21c.js +0 -14
  366. package/lib/system.useraffiliation.6b7a1612.js +0 -1
  367. package/lib/system.webresource.5de18052.js +0 -1
  368. package/lib/system.welcome.ec7aa744.js +0 -1
@@ -0,0 +1,539 @@
1
+ import { u as d } from "./utils.util.js.885de913.mjs";
2
+ import { m as u, n as f } from "./components.chartbi.470b96af.mjs";
3
+ import { a as p } from "./http.main.1af1e119.mjs";
4
+ import "./utils.echarts.js.d1bb8ac6.mjs";
5
+ const m = {
6
+ props: {
7
+ formRecord: {
8
+ type: Object,
9
+ required: !0
10
+ },
11
+ table: {
12
+ type: Object,
13
+ default: () => ({})
14
+ },
15
+ loadData: {
16
+ type: Array,
17
+ default: () => []
18
+ },
19
+ viewData: {
20
+ type: Array,
21
+ default: () => []
22
+ },
23
+ formData: {
24
+ type: Array,
25
+ default: () => []
26
+ }
27
+ },
28
+ data() {
29
+ return {
30
+ width: "1100px",
31
+ record: null,
32
+ confirmLoading: !1,
33
+ visible: !1,
34
+ fullscreen: !1,
35
+ buttons: [
36
+ {
37
+ displayName: "\u786E\u5B9A",
38
+ functionName: "handleSubmit",
39
+ show: !0,
40
+ transKey: "gd.btn.confirm",
41
+ icon: "el-icon-document-checked"
42
+ }
43
+ ],
44
+ ruleFormData: {
45
+ adapted: [],
46
+ name: "",
47
+ using: !0,
48
+ explain: "",
49
+ id: ""
50
+ },
51
+ rules: {
52
+ name: [
53
+ {
54
+ required: !0,
55
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
56
+ trigger: "change"
57
+ }
58
+ ],
59
+ adapted: [
60
+ {
61
+ required: !0,
62
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u9009\u62E9"),
63
+ trigger: "change"
64
+ }
65
+ ]
66
+ },
67
+ list: [],
68
+ collapseList: [],
69
+ tabsList: [],
70
+ containerPanelList: [],
71
+ drawerContainerList: [],
72
+ showAdd: !0,
73
+ detail: {},
74
+ type: 1,
75
+ loading: !1
76
+ };
77
+ },
78
+ components: { EffectTypeIcon: () => import("./components.xlsximport.85ce77cf.mjs").then((i) => i.e) },
79
+ watch: {
80
+ list: {
81
+ handler(i) {
82
+ this.isSatisfy();
83
+ },
84
+ deep: !0,
85
+ immediate: !0
86
+ }
87
+ },
88
+ computed: {
89
+ adaptedList() {
90
+ return [
91
+ { name: "\u8868\u5355", code: "form", transKey: "gd.btnConfig.form" },
92
+ { name: "\u4E1A\u52A1\u6D41\u7A0B", code: "flowsProcess", transKey: "gd.flow.process.title" }
93
+ ];
94
+ },
95
+ getTabsColumns() {
96
+ let i = [];
97
+ return this.tabsList.forEach((t) => {
98
+ t.columns && t.columns.length > 0 && (i = i.concat(t.columns));
99
+ }), i;
100
+ },
101
+ getCollapseColumns() {
102
+ let i = [];
103
+ return this.collapseList.forEach((t) => {
104
+ t.columns && t.columns.length > 0 && (i = i.concat(t.columns));
105
+ }), i;
106
+ },
107
+ height() {
108
+ let i = this.fullscreen ? 190 : 340;
109
+ return this.screenHeight - i;
110
+ },
111
+ fieldFormat() {
112
+ return this.getDictionary("time_longshort");
113
+ },
114
+ operationList() {
115
+ return this.getDictionary("table_form_operation");
116
+ },
117
+ rulesList() {
118
+ return this.getDictionary("table_form_rules").filter((i) => (i.sysDictType = [], !0));
119
+ },
120
+ ...u(["screenHeight", "primaryColor"])
121
+ },
122
+ methods: {
123
+ hasTimePicker(i) {
124
+ const t = i || "yyyy-MM-dd";
125
+ return ["hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"].includes(t);
126
+ },
127
+ pickerType(i) {
128
+ const t = i || "yyyy-MM-dd";
129
+ let e = "date";
130
+ return t === "yyyy-MM-dd hh:mm:ss" || t === "yyyy-MM-dd HH:mm:ss" ? e = "datetime" : t === "yyyy-MM" ? e = "month" : t === "yyyy" && (e = "year"), e;
131
+ },
132
+ handleSubmit() {
133
+ let i = [], t = [];
134
+ if (this.list.forEach((e, a) => {
135
+ i = i.concat(e.condition.list), t = t.concat(e.operation.list);
136
+ }), i.length == 0)
137
+ return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
138
+ if (!this.isCheckedAll(i, 1))
139
+ return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
140
+ if (t.length == 0)
141
+ return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
142
+ if (!this.isCheckedAll(t, 2))
143
+ return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
144
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((e) => {
145
+ e ? (this.$emit(
146
+ "ok",
147
+ Object.assign(
148
+ { ...this.ruleFormData },
149
+ {
150
+ key: this.record ? "2" : "1",
151
+ list: [...this.list]
152
+ }
153
+ )
154
+ ), this.closed()) : this.confirmLoading = !1;
155
+ });
156
+ },
157
+ lookup(i, t) {
158
+ this.detail = i;
159
+ let e = this.loadData.filter((a) => a.columnname === i.columnComment)[0];
160
+ this.type = t, this.$refs.engineSearch.open(
161
+ Object.assign(e, {
162
+ val: i.val
163
+ })
164
+ );
165
+ },
166
+ lookupSeled(i) {
167
+ let t = [...this.list];
168
+ t.forEach((e, a) => {
169
+ this.type === 1 ? e.condition.list.forEach((n, l) => {
170
+ n.id == this.detail.id && (t[a].condition.list[l].val = i.data[0], t[a].condition.list[l].fkData = [...i.fkData]);
171
+ }) : e.operation.list.forEach((n, l) => {
172
+ n.id == this.detail.id && (t[a].operation.list[l].val = i.data[0], t[a].operation.list[l].fkData = [...i.fkData]);
173
+ });
174
+ }), this.list = [...t];
175
+ },
176
+ conditionColumn(i, t, e) {
177
+ const a = this.loadData.filter((l) => l.columnname === t.columnComment)[0];
178
+ if (e === 2 && !a) {
179
+ this.conditionColumnView(i, t);
180
+ return;
181
+ }
182
+ let n = {
183
+ effectType: a ? a.effecttype : "input",
184
+ val: "",
185
+ showTime: !1,
186
+ fkData: []
187
+ };
188
+ if (a.fieldformat) {
189
+ const l = this.fieldFormat.filter((s) => s.code == a.fieldformat)[0], o = l ? l.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
190
+ Object.assign(n, {
191
+ fieldFormat: o,
192
+ showTime: o === "yyyy-MM-dd hh:mm:ss" || o === "yyyy-MM-dd HH:mm:ss"
193
+ });
194
+ }
195
+ if (a.dicttypecode && Object.assign(n, {
196
+ dictTypeCode: a.dicttypecode
197
+ }), e == 1) {
198
+ const l = this.rulesList.filter((o) => o.remark.split(",").includes(a.effecttype));
199
+ Object.assign(n, {
200
+ rulesList: [...l],
201
+ rules: l.length > 0 ? l[0].code : ""
202
+ });
203
+ }
204
+ Object.assign(t, { ...n }), ["fk", "about", "user"].includes(t.effectType) && this.searchData("", t);
205
+ },
206
+ conditionColumnView(i, t) {
207
+ let e = "input";
208
+ const a = this.viewData.filter((c) => c.componentName === i)[0], n = this.formData.filter((c) => c.formId === i)[0], l = this.getTabsColumns.filter((c) => c.key === i)[0], o = this.getCollapseColumns.filter((c) => c.key === i)[0], s = this.containerPanelList.filter((c) => c.key === i)[0], r = this.drawerContainerList.filter((c) => c.key === i)[0];
209
+ a ? e = "viewtable" : n ? e = "displayform" : l ? e = "tabsColumns" : o ? e = "collapseColumns" : s ? e = "containerPanel" : r && (e = "drawerContainer"), Object.assign(t, {
210
+ effectType: e,
211
+ val: ""
212
+ });
213
+ },
214
+ del(i) {
215
+ let t = this;
216
+ this.$confirm(this.$i18nt("gd.https.delExpression", "\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
217
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
218
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
219
+ showClose: !1,
220
+ confirmButtonLoading: !1,
221
+ cancelButtonLoading: !1,
222
+ closeOnClickModal: !1,
223
+ type: "warning",
224
+ confirmButtonClass: "el-button--danger",
225
+ customClass: "custom-alert",
226
+ callback: () => {
227
+ },
228
+ beforeClose: (e, a, n) => {
229
+ if (n(), e !== "confirm")
230
+ return;
231
+ let l = [...t.list];
232
+ l.splice(i, 1), l.length > 1 && (l[l.length - 1].title = "Else"), t.list = [...l];
233
+ }
234
+ });
235
+ },
236
+ addList() {
237
+ let i = [...this.list];
238
+ i.length > 1 && (i[i.length - 1].title = "ELSE IF");
239
+ let t = {
240
+ title: "Else",
241
+ open: !0,
242
+ condition: {
243
+ open: !0,
244
+ list: []
245
+ },
246
+ operation: {
247
+ open: !0,
248
+ list: []
249
+ }
250
+ };
251
+ i.push(t), this.list = [...i];
252
+ },
253
+ delCondition(i, t) {
254
+ let e = [...this.list];
255
+ e[i].condition.list.splice(t, 1), e[i].condition.list.length > 0 && (e[i].condition.list[0].type = "0"), this.list = [...e];
256
+ },
257
+ delOperation(i, t) {
258
+ let e = [...this.list];
259
+ e[i].operation.list.splice(t, 1), this.list = [...e];
260
+ },
261
+ addCondition(i) {
262
+ let t = this.list[i].condition.list.length, a = {
263
+ type: t == 0 ? "0" : t > 1 ? this.list[i].condition.list[t - 1].type : "1",
264
+ columnComment: "",
265
+ rules: "1",
266
+ val: "",
267
+ rulesList: [...this.rulesList],
268
+ effectType: "input",
269
+ fieldFormat: null,
270
+ dictTypeCode: "",
271
+ showTime: !1,
272
+ fkData: [],
273
+ id: d(12)
274
+ };
275
+ this.list[i].condition.list.push(a);
276
+ },
277
+ addOperation(i) {
278
+ let t = {
279
+ rules: "2",
280
+ columnComment: "",
281
+ val: "",
282
+ type: 1,
283
+ effectType: "input",
284
+ fkData: [],
285
+ id: d(12),
286
+ fieldFormat: null,
287
+ dictTypeCode: "",
288
+ showTime: !1
289
+ };
290
+ this.list[i].operation.list.push(t);
291
+ },
292
+ searchData(i, t) {
293
+ const a = this.loadData.filter((n) => n.columnname === t.columnComment)[0].fkentityname.split(",")[0];
294
+ this.loading = !0, t.fkData = [], p({
295
+ name: i,
296
+ fkEntityName: a
297
+ }).then((n) => {
298
+ n.code === 200 && (t.fkData = n.data.map((l) => (l.tableName = a, l))), this.loading = !1;
299
+ });
300
+ },
301
+ init(i) {
302
+ const t = JSON.parse(JSON.stringify(i));
303
+ this.record = t, this.visible = !0, this.ruleFormData = {
304
+ name: i ? i.name : "",
305
+ using: i ? i.using : !0,
306
+ explain: i ? i.explain : "",
307
+ id: i ? i.id : d(12),
308
+ adapted: i && i.adapted ? i.adapted : ["form", "flowsProcess"]
309
+ }, i ? this.list = [...t.list] : this.list = [
310
+ {
311
+ title: "IF",
312
+ open: !0,
313
+ condition: {
314
+ open: !0,
315
+ list: []
316
+ },
317
+ operation: {
318
+ open: !0,
319
+ list: []
320
+ },
321
+ id: d(12)
322
+ }
323
+ ], this.$nextTick(() => {
324
+ setTimeout(() => {
325
+ this.$refs.ruleForm.clearValidate(), this.getControl();
326
+ }, 0);
327
+ });
328
+ },
329
+ openItem(i, t) {
330
+ if (i == 1) {
331
+ this.list[t].open = !this.list[t].open;
332
+ return;
333
+ }
334
+ if (i == 2) {
335
+ this.list[t].condition.open = !this.list[t].condition.open;
336
+ return;
337
+ }
338
+ if (i == 3) {
339
+ this.list[t].operation.open = !this.list[t].operation.open;
340
+ return;
341
+ }
342
+ },
343
+ getControl() {
344
+ let i = [], t = [], e = [], a = [];
345
+ const n = (l) => (l = l.filter((o, s) => (o.type === "tabs" ? t.push(o) : o.type === "collapse" ? i.push(o) : o.type === "containerPanel" ? e.push(o) : o.type === "drawerContainer" && o.options.particle === "component" && a.push(o), o.columns && o.columns.length > 0 && o.columns.forEach((r) => {
346
+ r.list = n(r.list);
347
+ }), o.list && o.list.length > 0 && (o.list = n(o.list)), !0)), l);
348
+ n(this.formRecord.list), this.collapseList = [...i], this.tabsList = [...t], this.containerPanelList = [...e], this.drawerContainerList = [...a];
349
+ },
350
+ getHeaderbName(i) {
351
+ if (i.transKey) {
352
+ if (i.langs !== void 0 && i.langs.length > 0) {
353
+ let t = i.langs.filter((e) => e.code === this.language)[0];
354
+ return t === void 0 ? this.$i18nt(`Dynamics.${i.transKey}`, t.val) : t.val;
355
+ }
356
+ } else
357
+ return i.label;
358
+ return this.$i18nt(`Dynamics.${i.transKey}`, i.label);
359
+ },
360
+ getTabName(i) {
361
+ if (i.transKey) {
362
+ if (i.langs !== void 0 && i.langs.length > 0) {
363
+ let t = i.langs.filter((e) => e.code === this.language)[0];
364
+ return t === void 0 ? this.$i18nt(`Dynamics.${i.transKey}`, t.val) : t.val;
365
+ }
366
+ } else
367
+ return i.label;
368
+ return this.$i18nt(`Dynamics.${i.transKey}`, i.label);
369
+ },
370
+ isSatisfy() {
371
+ if (this.list.length == 0)
372
+ return;
373
+ let i = [...this.list], t = i[i.length - 1];
374
+ t.condition.list.length > 0 ? this.showAdd = !this.isChecked(t.condition.list) : this.showAdd = !1;
375
+ },
376
+ isChecked(i) {
377
+ return i.every((t, e, a) => {
378
+ let n = t.rules === "5" || t.rules === "6" ? t.columnComment : t.val;
379
+ return !(t.columnComment !== void 0 && n);
380
+ });
381
+ },
382
+ isCheckedAll(i, t) {
383
+ return i.every((e, a, n) => {
384
+ let l = "";
385
+ return t === 1 ? l = e.rules === "5" || e.rules === "6" ? e.columnComment : e.val : l = e.rules === "7" ? e.columnComment : e.val, e.columnComment !== void 0 && l !== "" && l !== void 0;
386
+ });
387
+ },
388
+ getDictionary(i) {
389
+ let t = this.loadData.filter((e) => e.columnname == i.columnComment)[0];
390
+ return t === void 0 ? [] : t.dicttypecode === null ? [] : this.getDictionary(t.dicttypecode);
391
+ },
392
+ closed() {
393
+ this.confirmLoading = !1, this.fullscreen = !1, this.visible = !1;
394
+ },
395
+ toggleFullscreen() {
396
+ this.fullscreen = !this.fullscreen;
397
+ },
398
+ getDictionaryd(i) {
399
+ let t = i.rules === "3" ? "table_form_essential" : i.rules === "4" ? "table_form_so" : "table_form_locking";
400
+ return this.getDictionary(t);
401
+ },
402
+ getDictionary(i) {
403
+ return this.$options.filters.dictData(i);
404
+ },
405
+ doEvent(i) {
406
+ let t = i.item.functionName;
407
+ this[t] && this[t]();
408
+ }
409
+ }
410
+ };
411
+ var h = function() {
412
+ var t = this, e = t._self._c;
413
+ return e("div", [e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.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) {
414
+ t.visible = a;
415
+ }, closed: t.closed } }, [e("template", { slot: "title" }, [e("gd-modal-title", { attrs: { title: t.$i18nt("gd.basics.businessSettings", "\u4E1A\u52A1\u89C4\u5219"), fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent } })], 1), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form" }, [e("div", { staticClass: "view-config" }, [e("div", { staticClass: "config-item" }, [e("div", { staticClass: "rules" }, [t._l(t.list, function(a, n) {
416
+ return e("div", { key: n, staticClass: "rules-if" }, [e("div", { staticClass: "title" }, [e("div", { staticClass: "l", on: { click: function(l) {
417
+ return t.openItem(1, n);
418
+ } } }, [e("i", { staticClass: "if-icon", class: a.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(a.title) + " ")]), n != 0 ? e("div", { staticClass: "r" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", cursor: "pointer", color: "#ff4d4f" }, on: { click: function(l) {
419
+ return t.del(n);
420
+ } } })]) : t._e()]), a.open ? e("div", { staticClass: "rules-ifs" }, [e("div", { staticClass: "condition" }, [e("div", { staticClass: "title", on: { click: function(l) {
421
+ return t.openItem(2, n);
422
+ } } }, [e("i", { staticClass: "if-icon", class: a.condition.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.if", "\u5982\u679C")) + " ")]), a.condition && a.condition.open ? e("div", { staticClass: "detail" }, [t._l(a.condition.list, function(l, o) {
423
+ return e("div", { staticClass: "lists" }, [e("div", { staticClass: "rg" }, [l.type == 0 ? e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), value: t.$i18nt("gd.basics.if", "\u5982\u679C"), disabled: "" } }) : e("el-select", { staticStyle: { width: "100%" }, model: { value: l.type, callback: function(s) {
424
+ t.$set(l, "type", s);
425
+ }, expression: "ite.type" } }, [e("el-option", { attrs: { value: "1", label: t.$i18nt("gd.filter.and", "\u548C") } }), e("el-option", { attrs: { value: "2", label: t.$i18nt("gd.filter.or", "\u6216") } })], 1)], 1), e("div", { staticClass: "zd" }, [e("el-select", { staticStyle: { width: "100%" }, on: { change: function(s) {
426
+ return t.conditionColumn(s, l, 1);
427
+ } }, model: { value: l.columnComment, callback: function(s) {
428
+ t.$set(l, "columnComment", s);
429
+ }, expression: "ite.columnComment" } }, [t._l(t.loadData, function(s) {
430
+ return [e("el-option", { attrs: { value: s.columnname, label: t.$i18nt(`Dynamics.${s.transkey}`, s.columncomment) } }, [e("EffectTypeIcon", { attrs: { effectType: s.effecttype } }), e("span", { staticStyle: { "margin-left": "4px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)) + " (" + t._s(s.columnname) + ") ")])], 1)];
431
+ })], 2)], 1), e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: l.columnComment === "" }, model: { value: l.rules, callback: function(s) {
432
+ t.$set(l, "rules", s);
433
+ }, expression: "ite.rules" } }, [t._l(l.rulesList, function(s) {
434
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } })];
435
+ })], 2)], 1), e("div", { staticClass: "jg" }, [l.rules != 5 && l.rules != 6 ? e("div", [["select", "radio", "checkbox", "switch"].includes(l.effectType) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(s) {
436
+ t.$set(l, "val", s);
437
+ }, expression: "ite.val" } }, [t._l(t.getDictionary(l.dictTypeCode), function(s) {
438
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } })];
439
+ })], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? e("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(s) {
440
+ t.$set(l, "val", s);
441
+ }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? e("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(s) {
442
+ t.$set(l, "val", s);
443
+ }, expression: "ite.val" } }) : e("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(s) {
444
+ t.$set(l, "val", s);
445
+ }, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (s) => t.searchData(s, l) }, model: { value: l.val, callback: function(s) {
446
+ t.$set(l, "val", s);
447
+ }, expression: "ite.val" } }, [t._l(l.fkData, function(s, r) {
448
+ return [e("el-option", { attrs: { label: s.name, value: s.id } })];
449
+ })], 2), e("div", { staticClass: "cao_setting", on: { click: function(s) {
450
+ return t.lookup(l, 1);
451
+ } } }, [e("i", { staticClass: "el-input__icon el-icon-search" })])], 1) : e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(s) {
452
+ t.$set(l, "val", s);
453
+ }, expression: "ite.val" } })], 2) : t._e()]), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(s) {
454
+ return t.delCondition(n, o);
455
+ } } })])]);
456
+ }), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
457
+ return t.addCondition(n);
458
+ } } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addCondition", "\u6DFB\u52A0\u6761\u4EF6")) + " ")])])], 2) : t._e()]), e("div", { staticClass: "operation" }, [e("div", { staticClass: "title", on: { click: function(l) {
459
+ return t.openItem(3, n);
460
+ } } }, [e("i", { class: a.operation.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.handle", "\u64CD\u4F5C")) + " ")]), a.operation && a.operation.open ? e("div", { staticClass: "list" }, [t._l(a.operation.list, function(l, o) {
461
+ return e("div", { staticClass: "lists" }, [e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, model: { value: l.rules, callback: function(s) {
462
+ t.$set(l, "rules", s);
463
+ }, expression: "ite.rules" } }, [t._l(t.operationList, function(s) {
464
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } })];
465
+ })], 2)], 1), e("div", { staticClass: "zd" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: function(s) {
466
+ return t.conditionColumn(s, l, 2);
467
+ } }, model: { value: l.columnComment, callback: function(s) {
468
+ t.$set(l, "columnComment", s);
469
+ }, expression: "ite.columnComment" } }, [e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.field.field", "\u5B57\u6BB5") } }, [t._l(t.loadData, function(s, r) {
470
+ return [e("el-option", { attrs: { value: s.columnname, label: t.$i18nt(`Dynamics.${s.transkey}`, s.columncomment) } }, [e("EffectTypeIcon", { attrs: { effectType: s.effecttype } }), e("span", { staticStyle: { "margin-left": "4px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)) + " (" + t._s(s.columnname) + ") ")])], 1)];
471
+ })], 2), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.associatedView", "\u5173\u8054\u89C6\u56FE") } }, [t._l(t.viewData, function(s, r) {
472
+ return [e("el-option", { attrs: { value: s.componentName, label: t.$i18nt(`Dynamics.${s.transkey}`, s.label) } })];
473
+ })], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.quickShowForm", "\u5FEB\u901F\u663E\u793A\u7A97\u4F53") } }, [t._l(t.formData, function(s, r) {
474
+ return [e("el-option", { attrs: { value: s.formId, label: t.$i18nt(`Dynamics.${s.transkey}`, s.label) } })];
475
+ })], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.tabLayout", "\u6807\u7B7E\u9875\u5E03\u5C40") } }, [t._l(t.getTabsColumns, function(s, r) {
476
+ return [e("el-option", { attrs: { value: s.key, label: t.getTabName(s) } })];
477
+ })], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.collapsePanel", "\u6298\u53E0\u9762\u677F") } }, [t._l(t.getCollapseColumns, function(s, r) {
478
+ return [e("el-option", { attrs: { value: s.key, label: t.getHeaderbName(s) } })];
479
+ })], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.layoutContainer.containerPanel", "\u5BB9\u5668\u9762\u677F") } }, [t._l(t.containerPanelList, function(s, r) {
480
+ return [e("el-option", { attrs: { value: s.key, label: s.key } })];
481
+ })], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.layoutContainer.drawerContainer", "\u62BD\u5C49\u5BB9\u5668") } }, [t._l(t.drawerContainerList, function(s, r) {
482
+ return [e("el-option", { attrs: { value: s.key, label: s.key } })];
483
+ })], 2) : t._e()], 1)], 1), e("div", { staticClass: "jg" }, [l.rules == "1" ? e("el-input", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(s) {
484
+ t.$set(l, "val", s);
485
+ }, expression: "ite.val" } }) : l.rules == "2" || l.rules == "5" ? e("div", [["select", "radio", "checkbox", "switch"].includes(l.effectType) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(s) {
486
+ t.$set(l, "val", s);
487
+ }, expression: "ite.val" } }, [t._l(t.getDictionary(l.dictTypeCode), function(s) {
488
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } })];
489
+ })], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? e("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(s) {
490
+ t.$set(l, "val", s);
491
+ }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? e("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(s) {
492
+ t.$set(l, "val", s);
493
+ }, expression: "ite.val" } }) : e("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(s) {
494
+ t.$set(l, "val", s);
495
+ }, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (s) => t.searchData(s, l) }, model: { value: l.val, callback: function(s) {
496
+ t.$set(l, "val", s);
497
+ }, expression: "ite.val" } }, [t._l(l.fkData, function(s, r) {
498
+ return [e("el-option", { attrs: { label: s.name, value: s.id } })];
499
+ })], 2), e("div", { staticClass: "cao_setting", on: { click: function(s) {
500
+ return t.lookup(l, 2);
501
+ } } }, [e("i", { staticClass: "el-input__icon el-icon-search" })])], 1) : e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(s) {
502
+ t.$set(l, "val", s);
503
+ }, expression: "ite.val" } })], 2) : t._e(), ["3", "4", "6"].includes(l.rules) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(s) {
504
+ t.$set(l, "val", s);
505
+ }, expression: "ite.val" } }, [t._l(t.getDictionaryd(l), function(s) {
506
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } })];
507
+ })], 2) : t._e()], 1), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(s) {
508
+ return t.delOperation(n, o);
509
+ } } })])]);
510
+ }), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
511
+ return t.addOperation(n);
512
+ } } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addHandle", "\u6DFB\u52A0\u64CD\u4F5C")) + " ")])])], 2) : t._e()])]) : t._e()]);
513
+ }), t.showAdd ? e("div", { staticClass: "rules-el" }, [e("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.addList } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addElse", "\u6DFB\u52A0 ELSE")) + " ")])]) : t._e()], 2)]), e("div", { staticClass: "config-item config-items" }, [e("div", { staticClass: "b" }, [e("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: t.ruleFormData, size: "mini", rules: t.rules }, nativeOn: { submit: function(a) {
514
+ a.preventDefault();
515
+ } } }, [e("el-form-item", { attrs: { label: t.$i18nt("gd.view.displayName", "\u663E\u793A\u540D\u79F0"), prop: "name" } }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleFormData.name, callback: function(a) {
516
+ t.$set(t.ruleFormData, "name", a);
517
+ }, expression: "ruleFormData.name" } })], 1), e("el-form-item", { attrs: { label: t.$i18nt("gd.view.explain", "\u8BF4\u660E"), prop: "explain" } }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 4 }, model: { value: t.ruleFormData.explain, callback: function(a) {
518
+ t.$set(t.ruleFormData, "explain", a);
519
+ }, expression: "ruleFormData.explain" } })], 1), e("el-form-item", { attrs: { label: t.$i18nt("gd.btnConfig.adaptTo", "\u9002\u5E94\u4E8E"), prop: "adapted" } }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { multiple: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.ruleFormData.adapted, callback: function(a) {
520
+ t.$set(t.ruleFormData, "adapted", a);
521
+ }, expression: "ruleFormData.adapted" } }, t._l(t.adaptedList, function(a) {
522
+ return e("el-option", { key: a.code, attrs: { label: t.$i18nt(a.transKey, a.name), value: a.code } });
523
+ }), 1)], 1), e("div", { staticClass: "using-flex" }, [e("div", { staticClass: "using-flex-title" }, [t._v(" " + t._s(t.$i18nt("gd.msg.temPlate.isEnabled", "\u662F\u5426\u542F\u7528")) + " ")]), e("el-switch", { attrs: { "active-color": t.primaryColor }, model: { value: t.ruleFormData.using, callback: function(a) {
524
+ t.$set(t.ruleFormData, "using", a);
525
+ }, expression: "ruleFormData.using" } })], 1)], 1)], 1)])])])], 2), e("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
526
+ }, y = [], v = /* @__PURE__ */ f(
527
+ m,
528
+ h,
529
+ y,
530
+ !1,
531
+ null,
532
+ "347125b1",
533
+ null,
534
+ null
535
+ );
536
+ const k = v.exports;
537
+ export {
538
+ k as default
539
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./utils.util.js.c0ba699b.js"),u=require("./components.chartbi.e9459775.js"),p=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");const f={props:{formRecord:{type:Object,required:!0},table:{type:Object,default:()=>({})},loadData:{type:Array,default:()=>[]},viewData:{type:Array,default:()=>[]},formData:{type:Array,default:()=>[]}},data(){return{width:"1100px",record:null,confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleFormData:{adapted:[],name:"",using:!0,explain:"",id:""},rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],adapted:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u9009\u62E9"),trigger:"change"}]},list:[],collapseList:[],tabsList:[],containerPanelList:[],drawerContainerList:[],showAdd:!0,detail:{},type:1,loading:!1}},components:{EffectTypeIcon:()=>Promise.resolve().then(()=>require("./components.xlsximport.e3bcb07d.js")).then(i=>i.effectTypeIcon)},watch:{list:{handler(i){this.isSatisfy()},deep:!0,immediate:!0}},computed:{adaptedList(){return[{name:"\u8868\u5355",code:"form",transKey:"gd.btnConfig.form"},{name:"\u4E1A\u52A1\u6D41\u7A0B",code:"flowsProcess",transKey:"gd.flow.process.title"}]},getTabsColumns(){let i=[];return this.tabsList.forEach(t=>{t.columns&&t.columns.length>0&&(i=i.concat(t.columns))}),i},getCollapseColumns(){let i=[];return this.collapseList.forEach(t=>{t.columns&&t.columns.length>0&&(i=i.concat(t.columns))}),i},height(){let i=this.fullscreen?190:340;return this.screenHeight-i},fieldFormat(){return this.getDictionary("time_longshort")},operationList(){return this.getDictionary("table_form_operation")},rulesList(){return this.getDictionary("table_form_rules").filter(i=>(i.sysDictType=[],!0))},...u.mapGetters(["screenHeight","primaryColor"])},methods:{hasTimePicker(i){const t=i||"yyyy-MM-dd";return["hh:mm:ss","hh:mm","mm:ss","HH:mm:ss","HH:mm"].includes(t)},pickerType(i){const t=i||"yyyy-MM-dd";let e="date";return t==="yyyy-MM-dd hh:mm:ss"||t==="yyyy-MM-dd HH:mm:ss"?e="datetime":t==="yyyy-MM"?e="month":t==="yyyy"&&(e="year"),e},handleSubmit(){let i=[],t=[];if(this.list.forEach((e,a)=>{i=i.concat(e.condition.list),t=t.concat(e.operation.list)}),i.length==0)return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(!this.isCheckedAll(i,1))return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(t.length==0)return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;if(!this.isCheckedAll(t,2))return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;this.confirmLoading=!0,this.$refs.ruleForm.validate(e=>{e?(this.$emit("ok",Object.assign({...this.ruleFormData},{key:this.record?"2":"1",list:[...this.list]})),this.closed()):this.confirmLoading=!1})},lookup(i,t){this.detail=i;let e=this.loadData.filter(a=>a.columnname===i.columnComment)[0];this.type=t,this.$refs.engineSearch.open(Object.assign(e,{val:i.val}))},lookupSeled(i){let t=[...this.list];t.forEach((e,a)=>{this.type===1?e.condition.list.forEach((n,l)=>{n.id==this.detail.id&&(t[a].condition.list[l].val=i.data[0],t[a].condition.list[l].fkData=[...i.fkData])}):e.operation.list.forEach((n,l)=>{n.id==this.detail.id&&(t[a].operation.list[l].val=i.data[0],t[a].operation.list[l].fkData=[...i.fkData])})}),this.list=[...t]},conditionColumn(i,t,e){const a=this.loadData.filter(l=>l.columnname===t.columnComment)[0];if(e===2&&!a){this.conditionColumnView(i,t);return}let n={effectType:a?a.effecttype:"input",val:"",showTime:!1,fkData:[]};if(a.fieldformat){const l=this.fieldFormat.filter(s=>s.code==a.fieldformat)[0],o=l?l.name.replace("DD","dd"):"yyyy-MM-dd HH:mm:ss";Object.assign(n,{fieldFormat:o,showTime:o==="yyyy-MM-dd hh:mm:ss"||o==="yyyy-MM-dd HH:mm:ss"})}if(a.dicttypecode&&Object.assign(n,{dictTypeCode:a.dicttypecode}),e==1){const l=this.rulesList.filter(o=>o.remark.split(",").includes(a.effecttype));Object.assign(n,{rulesList:[...l],rules:l.length>0?l[0].code:""})}Object.assign(t,{...n}),["fk","about","user"].includes(t.effectType)&&this.searchData("",t)},conditionColumnView(i,t){let e="input";const a=this.viewData.filter(c=>c.componentName===i)[0],n=this.formData.filter(c=>c.formId===i)[0],l=this.getTabsColumns.filter(c=>c.key===i)[0],o=this.getCollapseColumns.filter(c=>c.key===i)[0],s=this.containerPanelList.filter(c=>c.key===i)[0],r=this.drawerContainerList.filter(c=>c.key===i)[0];a?e="viewtable":n?e="displayform":l?e="tabsColumns":o?e="collapseColumns":s?e="containerPanel":r&&(e="drawerContainer"),Object.assign(t,{effectType:e,val:""})},del(i){let t=this;this.$confirm(this.$i18nt("gd.https.delExpression","\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"),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:(e,a,n)=>{if(n(),e!=="confirm")return;let l=[...t.list];l.splice(i,1),l.length>1&&(l[l.length-1].title="Else"),t.list=[...l]}})},addList(){let i=[...this.list];i.length>1&&(i[i.length-1].title="ELSE IF");let t={title:"Else",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]}};i.push(t),this.list=[...i]},delCondition(i,t){let e=[...this.list];e[i].condition.list.splice(t,1),e[i].condition.list.length>0&&(e[i].condition.list[0].type="0"),this.list=[...e]},delOperation(i,t){let e=[...this.list];e[i].operation.list.splice(t,1),this.list=[...e]},addCondition(i){let t=this.list[i].condition.list.length,a={type:t==0?"0":t>1?this.list[i].condition.list[t-1].type:"1",columnComment:"",rules:"1",val:"",rulesList:[...this.rulesList],effectType:"input",fieldFormat:null,dictTypeCode:"",showTime:!1,fkData:[],id:d.uuid(12)};this.list[i].condition.list.push(a)},addOperation(i){let t={rules:"2",columnComment:"",val:"",type:1,effectType:"input",fkData:[],id:d.uuid(12),fieldFormat:null,dictTypeCode:"",showTime:!1};this.list[i].operation.list.push(t)},searchData(i,t){const a=this.loadData.filter(n=>n.columnname===t.columnComment)[0].fkentityname.split(",")[0];this.loading=!0,t.fkData=[],p.baseFkList({name:i,fkEntityName:a}).then(n=>{n.code===200&&(t.fkData=n.data.map(l=>(l.tableName=a,l))),this.loading=!1})},init(i){const t=JSON.parse(JSON.stringify(i));this.record=t,this.visible=!0,this.ruleFormData={name:i?i.name:"",using:i?i.using:!0,explain:i?i.explain:"",id:i?i.id:d.uuid(12),adapted:i&&i.adapted?i.adapted:["form","flowsProcess"]},i?this.list=[...t.list]:this.list=[{title:"IF",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]},id:d.uuid(12)}],this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm.clearValidate(),this.getControl()},0)})},openItem(i,t){if(i==1){this.list[t].open=!this.list[t].open;return}if(i==2){this.list[t].condition.open=!this.list[t].condition.open;return}if(i==3){this.list[t].operation.open=!this.list[t].operation.open;return}},getControl(){let i=[],t=[],e=[],a=[];const n=l=>(l=l.filter((o,s)=>(o.type==="tabs"?t.push(o):o.type==="collapse"?i.push(o):o.type==="containerPanel"?e.push(o):o.type==="drawerContainer"&&o.options.particle==="component"&&a.push(o),o.columns&&o.columns.length>0&&o.columns.forEach(r=>{r.list=n(r.list)}),o.list&&o.list.length>0&&(o.list=n(o.list)),!0)),l);n(this.formRecord.list),this.collapseList=[...i],this.tabsList=[...t],this.containerPanelList=[...e],this.drawerContainerList=[...a]},getHeaderbName(i){if(i.transKey){if(i.langs!==void 0&&i.langs.length>0){let t=i.langs.filter(e=>e.code===this.language)[0];return t===void 0?this.$i18nt(`Dynamics.${i.transKey}`,t.val):t.val}}else return i.label;return this.$i18nt(`Dynamics.${i.transKey}`,i.label)},getTabName(i){if(i.transKey){if(i.langs!==void 0&&i.langs.length>0){let t=i.langs.filter(e=>e.code===this.language)[0];return t===void 0?this.$i18nt(`Dynamics.${i.transKey}`,t.val):t.val}}else return i.label;return this.$i18nt(`Dynamics.${i.transKey}`,i.label)},isSatisfy(){if(this.list.length==0)return;let i=[...this.list],t=i[i.length-1];t.condition.list.length>0?this.showAdd=!this.isChecked(t.condition.list):this.showAdd=!1},isChecked(i){return i.every((t,e,a)=>{let n=t.rules==="5"||t.rules==="6"?t.columnComment:t.val;return!(t.columnComment!==void 0&&n)})},isCheckedAll(i,t){return i.every((e,a,n)=>{let l="";return t===1?l=e.rules==="5"||e.rules==="6"?e.columnComment:e.val:l=e.rules==="7"?e.columnComment:e.val,e.columnComment!==void 0&&l!==""&&l!==void 0})},getDictionary(i){let t=this.loadData.filter(e=>e.columnname==i.columnComment)[0];return t===void 0?[]:t.dicttypecode===null?[]:this.getDictionary(t.dicttypecode)},closed(){this.confirmLoading=!1,this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionaryd(i){let t=i.rules==="3"?"table_form_essential":i.rules==="4"?"table_form_so":"table_form_locking";return this.getDictionary(t)},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let t=i.item.functionName;this[t]&&this[t]()}}};var m=function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:t.fullscreen,visible:t.visible,width:t.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){t.visible=a},closed:t.closed}},[e("template",{slot:"title"},[e("gd-modal-title",{attrs:{title:t.$i18nt("gd.basics.businessSettings","\u4E1A\u52A1\u89C4\u5219"),fullscreen:t.fullscreen,buttons:t.buttons,confirmLoading:t.confirmLoading,showClose:!0},on:{changeEvent:t.doEvent}})],1),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}],staticClass:"generator-form"},[e("div",{staticClass:"view-config"},[e("div",{staticClass:"config-item"},[e("div",{staticClass:"rules"},[t._l(t.list,function(a,n){return e("div",{key:n,staticClass:"rules-if"},[e("div",{staticClass:"title"},[e("div",{staticClass:"l",on:{click:function(l){return t.openItem(1,n)}}},[e("i",{staticClass:"if-icon",class:a.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(a.title)+" ")]),n!=0?e("div",{staticClass:"r"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",cursor:"pointer",color:"#ff4d4f"},on:{click:function(l){return t.del(n)}}})]):t._e()]),a.open?e("div",{staticClass:"rules-ifs"},[e("div",{staticClass:"condition"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(2,n)}}},[e("i",{staticClass:"if-icon",class:a.condition.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.if","\u5982\u679C"))+" ")]),a.condition&&a.condition.open?e("div",{staticClass:"detail"},[t._l(a.condition.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"rg"},[l.type==0?e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input"),value:t.$i18nt("gd.basics.if","\u5982\u679C"),disabled:""}}):e("el-select",{staticStyle:{width:"100%"},model:{value:l.type,callback:function(s){t.$set(l,"type",s)},expression:"ite.type"}},[e("el-option",{attrs:{value:"1",label:t.$i18nt("gd.filter.and","\u548C")}}),e("el-option",{attrs:{value:"2",label:t.$i18nt("gd.filter.or","\u6216")}})],1)],1),e("div",{staticClass:"zd"},[e("el-select",{staticStyle:{width:"100%"},on:{change:function(s){return t.conditionColumn(s,l,1)}},model:{value:l.columnComment,callback:function(s){t.$set(l,"columnComment",s)},expression:"ite.columnComment"}},[t._l(t.loadData,function(s){return[e("el-option",{attrs:{value:s.columnname,label:t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment)}},[e("EffectTypeIcon",{attrs:{effectType:s.effecttype}}),e("span",{staticStyle:{"margin-left":"4px"}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment))+" ("+t._s(s.columnname)+") ")])],1)]})],2)],1),e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},attrs:{disabled:l.columnComment===""},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(l.rulesList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2)],1),e("div",{staticClass:"jg"},[l.rules!=5&&l.rules!=6?e("div",[["select","radio","checkbox","switch"].includes(l.effectType)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionary(l.dictTypeCode),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):["inputnumber","double","currency"].includes(l.effectType)?e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",step:1},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.effectType==="datepicker"?[t.hasTimePicker(l.fieldFormat)?e("el-time-picker",{attrs:{"value-format":l.fieldFormat,format:l.fieldFormat,placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):e("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),type:t.pickerType(l.fieldFormat),"value-format":l.fieldFormat,format:l.fieldFormat,clearable:""},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})]:["fk","about","user"].includes(l.effectType)?e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"",loading:t.loading,"remote-method":s=>t.searchData(s,l)},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(l.fkData,function(s,r){return[e("el-option",{attrs:{label:s.name,value:s.id}})]})],2),e("div",{staticClass:"cao_setting",on:{click:function(s){return t.lookup(l,1)}}},[e("i",{staticClass:"el-input__icon el-icon-search"})])],1):e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})],2):t._e()]),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(s){return t.delCondition(n,o)}}})])])}),e("div",{staticClass:"add"},[e("span",{staticClass:"active-color",on:{click:function(l){return t.addCondition(n)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addCondition","\u6DFB\u52A0\u6761\u4EF6"))+" ")])])],2):t._e()]),e("div",{staticClass:"operation"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(3,n)}}},[e("i",{class:a.operation.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.handle","\u64CD\u4F5C"))+" ")]),a.operation&&a.operation.open?e("div",{staticClass:"list"},[t._l(a.operation.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(t.operationList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2)],1),e("div",{staticClass:"zd"},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:""},on:{change:function(s){return t.conditionColumn(s,l,2)}},model:{value:l.columnComment,callback:function(s){t.$set(l,"columnComment",s)},expression:"ite.columnComment"}},[e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.field.field","\u5B57\u6BB5")}},[t._l(t.loadData,function(s,r){return[e("el-option",{attrs:{value:s.columnname,label:t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment)}},[e("EffectTypeIcon",{attrs:{effectType:s.effecttype}}),e("span",{staticStyle:{"margin-left":"4px"}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment))+" ("+t._s(s.columnname)+") ")])],1)]})],2),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.associatedView","\u5173\u8054\u89C6\u56FE")}},[t._l(t.viewData,function(s,r){return[e("el-option",{attrs:{value:s.componentName,label:t.$i18nt(`Dynamics.${s.transkey}`,s.label)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.quickShowForm","\u5FEB\u901F\u663E\u793A\u7A97\u4F53")}},[t._l(t.formData,function(s,r){return[e("el-option",{attrs:{value:s.formId,label:t.$i18nt(`Dynamics.${s.transkey}`,s.label)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.tabLayout","\u6807\u7B7E\u9875\u5E03\u5C40")}},[t._l(t.getTabsColumns,function(s,r){return[e("el-option",{attrs:{value:s.key,label:t.getTabName(s)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.collapsePanel","\u6298\u53E0\u9762\u677F")}},[t._l(t.getCollapseColumns,function(s,r){return[e("el-option",{attrs:{value:s.key,label:t.getHeaderbName(s)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.layoutContainer.containerPanel","\u5BB9\u5668\u9762\u677F")}},[t._l(t.containerPanelList,function(s,r){return[e("el-option",{attrs:{value:s.key,label:s.key}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.layoutContainer.drawerContainer","\u62BD\u5C49\u5BB9\u5668")}},[t._l(t.drawerContainerList,function(s,r){return[e("el-option",{attrs:{value:s.key,label:s.key}})]})],2):t._e()],1)],1),e("div",{staticClass:"jg"},[l.rules=="1"?e("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.rules=="2"||l.rules=="5"?e("div",[["select","radio","checkbox","switch"].includes(l.effectType)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionary(l.dictTypeCode),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):["inputnumber","double","currency"].includes(l.effectType)?e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",step:1},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.effectType==="datepicker"?[t.hasTimePicker(l.fieldFormat)?e("el-time-picker",{attrs:{"value-format":l.fieldFormat,format:l.fieldFormat,placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):e("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),type:t.pickerType(l.fieldFormat),"value-format":l.fieldFormat,format:l.fieldFormat,clearable:""},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})]:["fk","about","user"].includes(l.effectType)?e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"",loading:t.loading,"remote-method":s=>t.searchData(s,l)},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(l.fkData,function(s,r){return[e("el-option",{attrs:{label:s.name,value:s.id}})]})],2),e("div",{staticClass:"cao_setting",on:{click:function(s){return t.lookup(l,2)}}},[e("i",{staticClass:"el-input__icon el-icon-search"})])],1):e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})],2):t._e(),["3","4","6"].includes(l.rules)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionaryd(l),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):t._e()],1),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(s){return t.delOperation(n,o)}}})])])}),e("div",{staticClass:"add"},[e("span",{staticClass:"active-color",on:{click:function(l){return t.addOperation(n)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addHandle","\u6DFB\u52A0\u64CD\u4F5C"))+" ")])])],2):t._e()])]):t._e()])}),t.showAdd?e("div",{staticClass:"rules-el"},[e("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:t.addList}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addElse","\u6DFB\u52A0 ELSE"))+" ")])]):t._e()],2)]),e("div",{staticClass:"config-item config-items"},[e("div",{staticClass:"b"},[e("el-form",{ref:"ruleForm",attrs:{"label-width":"110px","label-position":"top",model:t.ruleFormData,size:"mini",rules:t.rules},nativeOn:{submit:function(a){a.preventDefault()}}},[e("el-form-item",{attrs:{label:t.$i18nt("gd.view.displayName","\u663E\u793A\u540D\u79F0"),prop:"name"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:t.ruleFormData.name,callback:function(a){t.$set(t.ruleFormData,"name",a)},expression:"ruleFormData.name"}})],1),e("el-form-item",{attrs:{label:t.$i18nt("gd.view.explain","\u8BF4\u660E"),prop:"explain"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:4},model:{value:t.ruleFormData.explain,callback:function(a){t.$set(t.ruleFormData,"explain",a)},expression:"ruleFormData.explain"}})],1),e("el-form-item",{attrs:{label:t.$i18nt("gd.btnConfig.adaptTo","\u9002\u5E94\u4E8E"),prop:"adapted"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:""},model:{value:t.ruleFormData.adapted,callback:function(a){t.$set(t.ruleFormData,"adapted",a)},expression:"ruleFormData.adapted"}},t._l(t.adaptedList,function(a){return e("el-option",{key:a.code,attrs:{label:t.$i18nt(a.transKey,a.name),value:a.code}})}),1)],1),e("div",{staticClass:"using-flex"},[e("div",{staticClass:"using-flex-title"},[t._v(" "+t._s(t.$i18nt("gd.msg.temPlate.isEnabled","\u662F\u5426\u542F\u7528"))+" ")]),e("el-switch",{attrs:{"active-color":t.primaryColor},model:{value:t.ruleFormData.using,callback:function(a){t.$set(t.ruleFormData,"using",a)},expression:"ruleFormData.using"}})],1)],1)],1)])])])],2),e("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0},on:{lookupSeled:t.lookupSeled}})],1)},h=[],y=u.normalizeComponent(f,m,h,!1,null,"347125b1",null,null);const v=y.exports;exports.default=v;