gds-plus-design-vue 1.2.63 → 1.2.71

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 (403) hide show
  1. package/lib/{addPermission.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
  4. package/lib/approvalModel.7cfcac3c.js +1 -0
  5. package/lib/attribute.3fed1dd9.js +1 -0
  6. package/lib/attribute.e9a8faa1.mjs +367 -0
  7. package/lib/businessRules.cf106f09.js +1 -0
  8. package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
  9. package/lib/buttonRule.2afe380d.mjs +396 -0
  10. package/lib/buttonRule.737e8e3f.js +1 -0
  11. package/lib/chartDisplayRules.370065e8.mjs +288 -0
  12. package/lib/chartDisplayRules.c9162f81.js +1 -0
  13. package/lib/components.chartbi.3bbac955.js +8 -0
  14. package/lib/components.chartbi.571c5ff5.mjs +1813 -0
  15. package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
  16. package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
  17. package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
  18. package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
  19. package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
  22. package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
  23. package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
  24. package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
  25. package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
  26. package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
  27. package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
  30. package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
  31. package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
  32. package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
  35. package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
  36. package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
  37. package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
  38. package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
  39. package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
  40. package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
  41. package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
  42. package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
  43. package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
  44. package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
  47. package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
  48. package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
  49. package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
  50. package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
  53. package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
  56. package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
  57. package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
  58. package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
  59. package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
  60. package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
  61. package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
  62. package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
  63. package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
  64. package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
  69. package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
  70. package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
  71. package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
  72. package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
  73. package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
  74. package/lib/components.xlsximport.8c209857.js +1 -0
  75. package/lib/copy.8db86d9f.mjs +572 -0
  76. package/lib/copy.a8753f38.js +1 -0
  77. package/lib/createFile.04a6b293.js +1 -0
  78. package/lib/createFile.4cac1673.mjs +439 -0
  79. package/lib/createSubfolders.e105fa86.js +1 -0
  80. package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
  81. package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
  82. package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
  86. package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
  87. package/lib/editForm.0f3fd3b0.js +1 -0
  88. package/lib/editForm.aef93ed0.mjs +434 -0
  89. package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
  90. package/lib/extendedAttributes.ef3ead02.js +1 -0
  91. package/lib/fileSearch.43465e1c.js +1 -0
  92. package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
  93. package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
  99. package/lib/form.designer.build.c82cb559.mjs +2529 -0
  100. package/lib/form.designer.build.dac501fa.js +1 -0
  101. package/lib/formFiled.4b5062d7.js +1 -0
  102. package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
  103. package/lib/gd-initial.js +1 -1
  104. package/lib/gd-initial.mjs +231 -207
  105. package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
  106. package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
  107. package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
  108. package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
  109. package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
  110. package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
  111. package/lib/http.filedocument.6fdfc693.js +1 -0
  112. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  113. package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
  114. package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
  115. package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
  116. package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
  117. package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
  118. package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
  119. package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
  120. package/lib/http.rolemanage.4d1101dd.js +1 -0
  121. package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
  122. package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
  123. package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
  124. package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
  125. package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
  126. package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
  127. package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
  128. package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
  129. package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
  130. package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
  131. package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
  132. package/lib/index.9deaa991.mjs +25906 -0
  133. package/lib/index.d95c407c.js +8 -0
  134. package/lib/layoutBlocks.26e1b57b.js +1 -0
  135. package/lib/layoutBlocks.31454610.mjs +413 -0
  136. package/lib/layoutItem.c1c836a1.js +1 -0
  137. package/lib/layoutItem.cf18143e.mjs +71 -0
  138. package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
  139. package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
  140. package/lib/main.09d48801.js +1 -0
  141. package/lib/main.28b7c398.js +1 -0
  142. package/lib/main.29e204f9.mjs +166 -0
  143. package/lib/main.33443996.mjs +231 -0
  144. package/lib/main.357c50d2.js +1 -0
  145. package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
  146. package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
  147. package/lib/main.4a38d5f8.js +1 -0
  148. package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
  149. package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
  150. package/lib/main.61c9e5c6.mjs +537 -0
  151. package/lib/main.643d21a0.mjs +552 -0
  152. package/lib/main.64ddb5f6.mjs +189 -0
  153. package/lib/main.728eaf53.js +1 -0
  154. package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
  155. package/lib/main.aea9b6a8.mjs +323 -0
  156. package/lib/main.b7a5a02b.js +1 -0
  157. package/lib/main.c71e5b11.js +1 -0
  158. package/lib/main.edc0b23b.js +1 -0
  159. package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
  160. package/lib/manage.101f1aa9.js +1 -0
  161. package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
  162. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  163. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  164. package/lib/messages.messagetemplate.32273e00.js +7 -0
  165. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  166. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  167. package/lib/messages.sendplan.fbac188d.js +1 -0
  168. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  169. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  170. package/lib/messages.templatelibrary.ec512390.js +2 -0
  171. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  172. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  173. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  174. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  175. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  176. package/lib/moveFile.335ebc8d.js +1 -0
  177. package/lib/moveFile.d71c0824.mjs +276 -0
  178. package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
  179. package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
  180. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  181. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  182. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  183. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  184. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  185. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  186. package/lib/page.designer.operation.6179b661.js +1 -0
  187. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  188. package/lib/page.designer.page.09402332.js +1 -0
  189. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  190. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  191. package/lib/personal.echarts.b7ee86f4.js +1 -0
  192. package/lib/result.0c089066.mjs +639 -0
  193. package/lib/result.9282a717.js +1 -0
  194. package/lib/router.config.68077a12.js +1 -0
  195. package/lib/router.config.86225b11.mjs +1424 -0
  196. package/lib/solution.application.d459e382.js +1 -0
  197. package/lib/solution.application.e0d58df1.mjs +548 -0
  198. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  199. package/lib/solution.applicationmenu.ae295083.js +1 -0
  200. package/lib/solution.approvalflow.436b3502.js +1 -0
  201. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  202. package/lib/solution.dict.acbe9c55.js +1 -0
  203. package/lib/solution.dict.ef98b194.mjs +769 -0
  204. package/lib/solution.menu.5c17348f.mjs +432 -0
  205. package/lib/solution.menu.cca5e1f9.js +1 -0
  206. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  207. package/lib/solution.plugin.f9a8063f.js +1 -0
  208. package/lib/solution.processflow.2692dac6.js +1 -0
  209. package/lib/solution.processflow.c1544b05.mjs +392 -0
  210. package/lib/solution.role.b1ab40dd.mjs +456 -0
  211. package/lib/solution.role.b28c4dbe.js +1 -0
  212. package/lib/solution.webresources.0b51beba.mjs +379 -0
  213. package/lib/solution.webresources.6961cc68.js +1 -0
  214. package/lib/solution.workflow.11e49e25.js +1 -0
  215. package/lib/solution.workflow.c48545d1.mjs +395 -0
  216. package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
  217. package/lib/store.config.556bd56b.js +1 -0
  218. package/lib/style.css +3 -3
  219. package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
  220. package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
  221. package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
  222. package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
  223. package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
  224. package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
  225. package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
  226. package/lib/system.dict.6b000092.js +1 -0
  227. package/lib/system.document.f67c2994.mjs +667 -0
  228. package/lib/system.document.f8fd7af0.js +1 -0
  229. package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
  230. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  231. package/lib/system.email.11ab6f31.js +1 -0
  232. package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
  233. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  234. package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
  235. package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
  236. package/lib/system.file.b9f8320c.js +1 -0
  237. package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
  238. package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
  239. package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
  240. package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
  241. package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
  242. package/lib/system.notice.db26f308.js +1 -0
  243. package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
  244. package/lib/system.noticereceived.84b88b9a.js +1 -0
  245. package/lib/system.onlineuser.985621a6.js +1 -0
  246. package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
  247. package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
  248. package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
  249. package/lib/system.permissions.15e6b8b7.js +1 -0
  250. package/lib/system.permissions.be9238ee.mjs +972 -0
  251. package/lib/system.plugin.0bccfec4.js +1 -0
  252. package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
  253. package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
  254. package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
  255. package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
  256. package/lib/system.promptmanagement.e750de82.js +1 -0
  257. package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
  258. package/lib/system.role.e86b60f1.js +1 -0
  259. package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
  260. package/lib/system.sumberrules.810f7b55.js +1 -0
  261. package/lib/system.team.58ee701b.js +1 -0
  262. package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
  263. package/lib/system.teammembers.1880f962.js +1 -0
  264. package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
  265. package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
  266. package/lib/system.timers.9e956553.js +38 -0
  267. package/lib/system.translation.26b6bb39.js +1 -0
  268. package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
  269. package/lib/system.user.134a3988.js +14 -0
  270. package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
  271. package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
  272. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  273. package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
  274. package/lib/system.webresource.e92e8a8f.js +1 -0
  275. package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
  276. package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
  277. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  278. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  279. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  280. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  281. package/lib/tableDescriptions.a4196776.mjs +80 -0
  282. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  283. package/lib/tcheckboxs.7ea99d35.js +1 -0
  284. package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
  285. package/lib/tcurrency.4afb9192.mjs +85 -0
  286. package/lib/tcurrency.8a2361f2.js +1 -0
  287. package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
  288. package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
  289. package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
  290. package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
  291. package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
  292. package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
  293. package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
  294. package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
  295. package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
  296. package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
  297. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  298. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  299. package/lib/utils.plug.js.9313aead.mjs +31 -0
  300. package/lib/utils.plug.js.f62510ce.js +1 -0
  301. package/lib/utils.util.js.333daba2.mjs +439 -0
  302. package/lib/utils.util.js.c0ba699b.js +1 -0
  303. package/lib/versionControl.46a7f31a.js +1 -0
  304. package/lib/versionControl.c53bfb5d.mjs +488 -0
  305. package/lib/versionEdit.4246d5db.js +1 -0
  306. package/lib/versionEdit.5a8292ec.mjs +452 -0
  307. package/lib/view.build.85732408.mjs +1578 -0
  308. package/lib/view.build.e43a2077.js +1 -0
  309. package/lib/viewList.868edcd7.js +1 -0
  310. package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
  311. package/lib/viewTree.7497ff90.js +1 -0
  312. package/lib/viewTree.bde43a3b.mjs +409 -0
  313. package/locale/en_US.js +45 -6
  314. package/locale/id_ID.js +45 -6
  315. package/locale/vi_VN.js +45 -6
  316. package/locale/zh_CN.js +45 -5
  317. package/package.json +1 -1
  318. package/lib/addPermission.5036013c.js +0 -1
  319. package/lib/approvalModel.66f49dfb.js +0 -1
  320. package/lib/attribute.318f485c.js +0 -1
  321. package/lib/attribute.a06ac9e7.mjs +0 -237
  322. package/lib/buildItem.6a834227.js +0 -1
  323. package/lib/buildItem.fd8634ab.mjs +0 -205
  324. package/lib/businessRules.0e4dbb3a.js +0 -1
  325. package/lib/components.chartbi.b043dcdc.mjs +0 -1729
  326. package/lib/components.chartbi.e4680eaa.js +0 -7
  327. package/lib/components.echarts.e4d6b13e.js +0 -3
  328. package/lib/components.iconselector.d712170f.js +0 -1
  329. package/lib/components.middleware.3bad5748.js +0 -1
  330. package/lib/components.sidenavmenu.b9bb9304.js +0 -1
  331. package/lib/components.tableumy.9cf33062.js +0 -1
  332. package/lib/components.tablevirtual.38d4d3d8.js +0 -1
  333. package/lib/components.viewformdetails.1621bc18.js +0 -1
  334. package/lib/components.viewloading.807bbf68.js +0 -1
  335. package/lib/components.xlsximport.dbd826bb.js +0 -1
  336. package/lib/createFile.6b37ecf2.js +0 -1
  337. package/lib/createFile.82d6e415.mjs +0 -239
  338. package/lib/createSubfolders.47af629c.js +0 -1
  339. package/lib/drawerContainer.604a1271.mjs +0 -146
  340. package/lib/drawerContainer.6a9813ce.js +0 -1
  341. package/lib/fileSearch.65311ded.js +0 -1
  342. package/lib/flow.designer.1ba3a90d.js +0 -1
  343. package/lib/flow.list.4eb10554.js +0 -1
  344. package/lib/form.build.51bd261e.js +0 -1
  345. package/lib/form.designer.build.5a950455.js +0 -1
  346. package/lib/form.designer.build.e521c9c6.mjs +0 -5091
  347. package/lib/formFiled.464856f5.js +0 -1
  348. package/lib/http.filedocument.7c656b91.js +0 -1
  349. package/lib/http.filedocument.d456d26a.mjs +0 -156
  350. package/lib/http.rolemanage.03363732.js +0 -1
  351. package/lib/index.69ad4631.mjs +0 -44291
  352. package/lib/index.cca024bf.js +0 -8
  353. package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
  354. package/lib/layoutBlocks.5e6be06f.js +0 -1
  355. package/lib/main.457f4326.js +0 -1
  356. package/lib/main.4fff412e.js +0 -1
  357. package/lib/main.77373aa4.mjs +0 -441
  358. package/lib/main.c3726602.js +0 -1
  359. package/lib/manage.5bb4f719.js +0 -1
  360. package/lib/messages.7b74736f.js +0 -9
  361. package/lib/messages.ad082386.mjs +0 -4889
  362. package/lib/moveFile.0ce803e0.js +0 -1
  363. package/lib/moveFile.8310ea94.mjs +0 -254
  364. package/lib/personal.echarts.b22fba61.mjs +0 -701
  365. package/lib/personal.echarts.f77bfc9e.js +0 -1
  366. package/lib/result.19351665.mjs +0 -526
  367. package/lib/result.e59c0e40.js +0 -1
  368. package/lib/router.config.2501ec51.js +0 -1
  369. package/lib/router.config.98a73167.mjs +0 -3172
  370. package/lib/solution.58580123.js +0 -1
  371. package/lib/solution.890ff164.mjs +0 -6942
  372. package/lib/store.config.3cb11578.js +0 -1
  373. package/lib/system.dict.f5708400.js +0 -1
  374. package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
  375. package/lib/system.email.070ab2be.js +0 -1
  376. package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
  377. package/lib/system.file.17a7f2ed.js +0 -1
  378. package/lib/system.notice.96c770a6.js +0 -1
  379. package/lib/system.noticereceived.dfe4ecc7.js +0 -1
  380. package/lib/system.onlineuser.e2e39bdc.js +0 -1
  381. package/lib/system.permissions.90f73461.js +0 -9
  382. package/lib/system.permissions.c3d34921.mjs +0 -213
  383. package/lib/system.plugin.b34a3b47.js +0 -1
  384. package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
  385. package/lib/system.role.03be0982.js +0 -1
  386. package/lib/system.sumberrules.bb228fce.js +0 -1
  387. package/lib/system.team.32183b63.js +0 -1
  388. package/lib/system.teammembers.847d8ea7.js +0 -1
  389. package/lib/system.timers.28691ce4.js +0 -38
  390. package/lib/system.translation.6237f071.js +0 -1
  391. package/lib/system.user.fca3f2d6.js +0 -14
  392. package/lib/system.useraffiliation.7547b9c7.js +0 -1
  393. package/lib/system.webresource.12712b90.js +0 -1
  394. package/lib/tcheckboxs.99361be3.js +0 -1
  395. package/lib/tcurrency.0ddac2f8.mjs +0 -92
  396. package/lib/tcurrency.62763c6d.js +0 -1
  397. package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
  398. package/lib/utils.datepicker.js.8576e2fc.js +0 -1
  399. package/lib/utils.util.js.50d1ec9c.js +0 -1
  400. package/lib/utils.util.js.82cd8447.mjs +0 -424
  401. package/lib/view.build.b44fd7d7.js +0 -1
  402. package/lib/view.build.f2a9fcfb.mjs +0 -2727
  403. package/lib/viewList.be5a5ec5.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const p=require("./components.chartbi.3bbac955.js"),h=require("./http.main.2f8a6936.js"),u=require("./http.syscodegenerateconfigmanage.840f1136.js");const y={props:{effectType:{type:String,defaule:"input"}},computed:{icon(){let t="gd-icon-ziti";return this.effectType==="double"?t="gd-icon-fudianshu":this.effectType==="fk"?t="gd-icon-waijian":this.effectType==="datepicker"?t="gd-icon-riqi":this.effectType==="switch"?t="gd-icon-anniu_kaiqi":this.effectType==="currency"?t="gd-icon-huobi":this.effectType==="select"?t="gd-icon-xiala":this.effectType==="textarea"?t="gd-icon-duohangwenben":this.effectType==="inputnumber"?t="gd-icon-shuzi":this.effectType==="radio"?t="gd-icon-danxuan_xuanzhong":this.effectType==="checkbox"?t="gd-icon-xuanzhong":this.effectType==="about"?t="gd-icon-guanyu":this.effectType==="participants"?t="gd-icon-canyu":this.effectType==="image"?t="gd-icon-tupian":this.effectType==="file"?t="gd-icon-wenjian":this.effectType==="editor"?t="gd-icon-fuwenbenkuang":this.effectType==="user"&&(t="gd-icon-user"),t}},data(){return{}},methods:{}};var b=function(){var e=this,i=e._self._c;return i("span",{staticClass:"gd-icons",class:e.icon})},k=[],D=p.normalizeComponent(y,b,k,!1,null,"674ea292",null,null);const m=D.exports,g=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"}));const x={name:"GdXlsxImport",props:{tableData:{type:Object,default:()=>({})},typeImport:{type:[String,Number],default:1}},components:{EffectTypeIcon:()=>Promise.resolve().then(()=>g),FieldMapping:()=>Promise.resolve().then(()=>z)},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],record:{},visible:!1,confirmLoading:!1,fullscreen:!1,selectedRowKeys:[],selectedRows:[],width:"90%",ruleFormData:{serviceConsultant:"",entityValue:""},rules:{serviceConsultant:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}],entityValue:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]},excelFielData:{excelName:"",excelSize:""},excelData:[],loading:!1,autoInputOver:!1,serviceData:[],fileId:0,loadData:[],configData:[],excelImportData:[],selItem:{},loadSoData:t=>new Promise((e,i)=>{setTimeout(()=>{this.confirmLoading=!1,e({pageNo:1,pageSize:200,totalRows:0,rows:this.loadData})},200)}),columns:[{transKey:"gd.xlsxImport.importInformation",prop:"importName",label:"\u5BFC\u5165\u4FE1\u606F",align:"left"},{transKey:"gd.xlsxImport.mappingEntityFields",prop:"checkzd",label:"\u6620\u5C04\u5B9E\u4F53\u5B57\u6BB5",align:"left",type:"slot",slotType:"checkzd",showTooltip:!1},{transKey:"gd.xlsxImport.foreignField",prop:"fkname",label:"\u5916\u952E\u5B57\u6BB5",align:"left"},{transKey:"gd.xlsxImport.type",prop:"zdtype",label:"\u5B57\u6BB5\u7C7B\u578B",align:"left"}]}},computed:{entityData(){return this.typeImport!=1?this.tableLists:this.tableLists.filter(t=>t.id===this.tableData.id)},excelName(){return`${this.excelFielData.excelName} ${this.excelFielData.excelSize}`},title(){return this.typeImport==2?this.$i18nt("gd.menu.universalImport","\u901A\u7528\u5BFC\u5165"):`${this.$i18nt(`Dynamics.${this.tableData.transkey}`,this.tableData.busname)} (${this.tableData.tablename}) ${this.$i18nt("gd.btn.import","\u5BFC\u5165")}`},height(){return this.screenHeight-(this.fullscreen?120:310)},...p.mapGetters(["primaryColor","screenHeight","tableLists","tableSize","tablePageSize","language"])},methods:{lookup(){this.$refs.viewSearch.open({fkEntityName:"sys_user",effectType:"fk",val:this.ruleFormData.serviceConsultant})},lookupSeled(t){this.serviceData=[...t.fkData],this.ruleFormData.serviceConsultant=t.data[0]?t.data[0]:""},handleSubmit(){let t=this.$refs.table.tableData;if(this.fileId===""){this.$message.error(this.$i18nt("gd.xlsxImport.uploadExcel","\u4E0A\u4F20excel\u6587\u4EF6"));return}if(this.ruleFormData.entityValue===""){this.$message.error(this.$i18nt("gd.xlsxImport.entityTableTip","\u8BF7\u9009\u62E9\u5B9E\u4F53\u8868"));return}if(t.length==0){this.$message.error(this.$i18nt("gd.xlsxImport.entityFileTip","\u8BF7\u5BFC\u5165\u5B8C\u6574\u7684\u6587\u4EF6"));return}if(this.ruleFormData.serviceConsultant===""){this.$message.error(this.$i18nt("gd.xlsxImport.owner","\u8BB0\u5F55\u8D1F\u8D23\u4EBA"));return}this.confirmLoading=!0,this.$refs.ruleForm.validate(e=>{const i=this.tableLists.filter(a=>a.id===this.ruleFormData.entityValue)[0];if(e){let a={people:this.ruleFormData.serviceConsultant,tableName:i.tablename,fileId:this.fileId,fieIds:[]},s=t.filter(o=>o.show);const n=s.filter(o=>o.checkzd===""),l=s.filter(o=>!!(o.fieIdType===3&&!o.fkFilid||(o.fieIdType===5||o.fieIdType===6)&&this.hiatusAbout(o)));if(n.length>0||l.length>0){this.$message.error(this.$i18nt("gd.field.replenishData","\u8BF7\u8865\u5145\u6570\u636E")),this.confirmLoading=!1;return}s.forEach(o=>{let d=[],r=[];o.abouts&&o.abouts.length>0&&o.abouts.forEach(f=>{d.push({aboutTable:f.aboutTable,aboutField:f.aboutField}),r.push({partTable:f.aboutTable,partField:f.aboutField})});let c={execlName:o.importName,insinuate:o.insinuate,fieIdType:o.fieIdType,partiRefTables:o.fieIdType==6?r:[],abouts:o.fieIdType==5?d:[]};(o.fieIdType===2||o.fieIdType===7)&&Object.assign(c,{dictionarys:o.dictionarys.filter(f=>f.replaceValue!=="@-1")}),o.fieIdType===3&&Object.assign(c,{fkTable:o.fkTable,fkFilid:o.fkFilid}),o.fieIdType!=-1&&a.fieIds.push(c)}),h.baseImport(a).then(o=>{o.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.confirmLoading=!1,this.$emit("ok"),this.closed()):(this.confirmLoading=!1,this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+o.message))}).catch(o=>{this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")),this.confirmLoading=!1})}else this.confirmLoading=!1})},handleChangeZd(t,e){let i=this.$refs.table.tableData;const a=this.configData.filter(o=>o.id===t)[0];if(t===0){i[e.ind]=Object.assign({...i[e.ind]},{fieIdType:-1,checkzd:t}),this.loadData=[...i],this.$refs.table.setLoadData(this.loadData);return}let s={insinuate:a.columnname,fkEntityName:a.fkentityname,fkData:[],abouts:[],dictionarys:[]},n="";const l=this.$i18nt(`Dynamics.${a.transkey}`,a.columncomment);["fk","user"].includes(a.effecttype)?(Object.assign(s,{fieIdType:3,fkname:l,fkTable:a.fkentityname}),n="fk"):["about","participants"].includes(a.effecttype)?(Object.assign(s,{fieIdType:a.effecttype==="about"?5:6,aboutName:l,abouts:[]}),n="about"):a.dicttypecode?(Object.assign(s,{fieIdType:a.effecttype==="checkbox"?7:2,fkname:l,dictionarys:this.dictionarysP(a,e.index),zdtype:a.nettype}),n="dictTypeCode"):Object.assign(s,{fieIdType:a.nettype.indexOf("datetime")>-1?4:1,fkname:l,zdtype:a.nettype}),i[e.ind]=Object.assign({...i[e.ind]},{...s}),this.loadData=[...i],this.$refs.table.setLoadData(this.loadData),n!==""&&this.$nextTick(()=>{setTimeout(()=>{n!=="fk"?this.editColumn(i[e.ind]):this.editColumnFk(i[e.ind],e.ind)},0)})},okFieldMapping({loadData:t,data:e,selectedRowKeys:i}){let a=this.$refs.table.tableData;if(e.fieIdType===2||e.fieIdType===7)a[e.ind]=Object.assign(a[e.ind],{dictionarys:[...t]});else if(e.fieIdType===5||e.fieIdType===6){let s=t.filter(l=>i.includes(l.tablename))[0],n=s.configList.filter(l=>l.columnname===s.aboutField)[0];a[e.ind]=Object.assign(a[e.ind],{abouts:[{aboutTable:s.tablename,aboutField:s.aboutField,configList:s.configList}],fkname:s.busname+"-"+this.$i18nt(`Dynamics.${n.transkey}`,n.columncomment),zdtype:n.netType,fkData:[...t]})}else{let s=t.filter(n=>i.includes(n.columnname))[0];a[e.ind]=Object.assign(a[e.ind],{zdtype:s.nettype,fkFilid:s.columnname,fkname:this.$i18nt(`Dynamics.${s.transkey}`,s.columncomment),fieIdType:3})}this.loadData=[...a],this.$refs.table.setLoadData(this.loadData)},editColumn(t){const e=this.configData.filter(i=>i.id===t.checkzd)[0];if(["fk","user"].includes(e.effecttype)&&t.fkFilid===void 0){let i=this.$refs.table.tableData;this.editColumnFk(i[t.ind],t.ind);return}this.selItem=t,this.$refs.fieldMapping.open(t)},editColumnFk(t,e){!t.fkTable||(this.$refs.fieldMapping.openFk(t),this.$refs.table.tableData,u.getCodeByEntity({entityName:t.fkTable}).then(i=>{if(i.code===200){const a=i.data.filter(l=>l.columnname=="name")[0],s={zdtype:a.nettype,fkFilid:a.columnname,fkname:this.$i18nt(`Dynamics.${a.transkey}`,a.columncomment)};let n=this.$refs.table.tableData;n[e]=Object.assign(n[e],s,{fkData:i.data}),this.loadData=[...n],this.$refs.table.setLoadData(this.loadData),this.selItem=n[e],this.$refs.fieldMapping.open(n[e])}}))},getFk(t,e,i=!0){i&&this.editColumn(this.loadData[e]),t.fkEntityName&&u.getCodeByEntity({entityName:t.fkEntityName}).then(a=>{if(a.code===200){const s=a.data.filter(o=>o.columnname=="name")[0],n={zdtype:s.nettype,fkFilid:s.columnname,fkname:this.$i18nt(`Dynamics.${s.transkey}`,s.columncomment),fieIdType:3,insinuate:t.columnname,fkTable:t.fkentityname};let l=this.$refs.table.tableData;l[e]=Object.assign(l[e],s&&!l[e].fkFilid?n:{},{fkData:a.data}),this.loadData=[...l],this.$refs.table.setLoadData(this.loadData)}})},autoInput(){let t=new Map;this.excelImportData.forEach((i,a)=>{t.set(i.importName,a)});let e=[];this.configData.forEach((i,a)=>{const s=this.isCheckedName(t,i.langs);let n=null;s&&(n=this.autoInputData(s,i,a)),n&&e.push(n)}),this.autoInputOver=!0,this.$nextTick(()=>{this.refresh(),setTimeout(()=>{e.forEach(i=>{this.getFk(i.ele,i.tableidx,i.statu)})},200)})},autoInputData(t,e,i){const a=t.ind;let s={checkzd:e.id,configindex:i,insinuate:e.columnname,fkData:[],aboutName:"",fkname:"",fkEntityName:e.fkentityname,abouts:[],dictionarys:[]};const n=this.$i18nt(`Dynamics.${e.transkey}`,e.columncomment);if(!e.dicttypecode&&!["fk","about","user","participants"].includes(e.effecttype))Object.assign(s,{fieIdType:e.nettype.indexOf("datetime")>-1?4:1,fkname:n,zdtype:e.nettype});else if(["about","participants"].includes(e.effecttype))Object.assign(s,{fieIdType:e.effecttype==="about"?5:6,aboutName:n});else{const l=this.configData.filter(r=>r.id==e.id)[0],o=l&&!["fk","user"].includes(e.effecttype)?{insinuate:l.columnname,fieIdType:l.effecttype==="checkbox"?7:2,dictionarys:this.dictionarysP(l,t.i)}:{},d=["fk","user"].includes(e.effecttype)?{fieIdType:3,oldCheckzd:e.id,fkname:n,zdtype:e.nettype,fkTable:e.fkentityname}:{};Object.assign(s,d,o)}return this.loadData[a]=Object.assign({...this.loadData[a]},{...s}),["fk","user"].includes(e.effectType)?{ele:e,tableidx:a,statu:!1}:null},isCheckedName(t,e,i){if(e.length===0)return!1;e.forEach(n=>{n.hasName=t.has(n.val),n.i=t.get(n.val);let l=this.loadData.filter(o=>o.index===n.i)[0];n.ind=l?l.ind:n.i});let a=e.filter(n=>n.hasName);if(a[0]===void 0)return!1;if(a.length==1)return a[0];let s=a.filter(n=>n.code==this.language)[0];return s||a[0]},handleSelect(t){if(this.excelImportData.length==0)return;this.confirmLoading=!0,this.$refs.table.setLoadData([]);let e=[...this.loadData];e.map(i=>(i.checkzd="",i)),this.loadData=[...e],this.getEntutityConfig()},getEntutityConfig(t){if(this.ruleFormData.entityValue===""){this.autoInputOver=!0;return}u.sysCodeGenerateConfigList({codeGenId:this.ruleFormData.entityValue}).then(e=>{if(e.code===200){const i=["sysorgid","createdtime","updateduserid","createduserid","updatedtime"];let a=e.data.map(s=>(s.langs=this.getLangs(s),s)).filter(s=>!i.includes(s.columnname));this.configData=[...a],this.autoInput()}})},checkFile(){this.confirmLoading||(this.autoInputOver=!1,this.$excelAction.importExcel((t,e,i,a,s)=>{this.confirmLoading=!0;let n=[];this.excelFielData={excelName:i,excelSize:a/1024/1024>1?(a/1024/1024).toFixed(2)+"mb":(a/1024).toFixed(2)+"kb"};let l=["\u90E8\u95E8","\u521B\u5EFA\u65F6\u95F4","\u521B\u5EFA\u8005","\u66F4\u65B0\u65F6\u95F4","\u66F4\u65B0\u8005","\u4FEE\u6539\u65F6\u95F4","\u4FEE\u6539\u8005","Department","Creation time","Creator by","Update time","Updated by","Trang ch\u1EE7","Th\u1EDDi gian t\u1EA1o","Th\u1EDDi gian c\u1EADp nh\u1EADt","C\u1EADp nh\u1EADt"],o=[];t[0].forEach((r,c)=>{n.push({index:c,importName:r,checkzd:"",zdtype:"",id:0,show:r.indexOf("(\u7528\u4E8E\u5BFC\u5165\u66F4\u65B0)")==-1?!l.includes(r):!1}),o.push({importName:r})}),this.excelImportData=[...o],this.loadData=n.filter(r=>l.includes(r.importName)?!1:r.show).map((r,c)=>(r.ind=c,r)),t.shift(),this.excelData=t;let d=new FormData;d.append("file",s[0]),h.sysFileUpload(d).then(r=>{if(!r.success){this.$message.error(this.$i18nt("gd.https.uploadFail","\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")+` ${r.message}`),this.excelImportData=[],this.loadData=[],this.excelData=[],this.excelFielData={excelName:"",excelSize:""},this.confirmLoading=!1;return}this.getEntutityConfig(),this.confirmLoading=this.autoInputOver?!1:this.confirmLoading,this.fileId=r.data;const c=document.getElementById("file");c&&c.remove()})},t=>{this.confirmLoading=t.statu!=="rejected"}))},open(){this.fullscreen=!1,this.visible=!0,this.serviceData=[],this.searchData(""),this.excelFielData={excelName:"",excelSize:""},this.excelImportData=[],this.fileId="",this.ruleFormData={serviceConsultant:"",entityValue:this.typeImport==1?this.tableData.id:""},this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm.resetFields()},0)})},searchData(t){this.loading=!0;const e=this.serviceData.filter(i=>this.ruleFormData.serviceConsultant===i.id);this.serviceData=[],h.baseFkList({name:t,fkEntityName:"sys_user"}).then(i=>{if(this.loading=!1,i.code===200){const a=i.data.filter(s=>this.ruleFormData.serviceConsultant!==s.id);this.serviceData=e.concat(a)}})},getLangs(t,e){const i=this.$i18n.messages;let a=[{code:"default",val:t.columncomment||t.name,name:""}];for(let s in i)a.push({code:s,val:this.$i18n.t(`Dynamics.${t.transkey}`,s),name:""});return a},dictionarysP(t,e){if(!t.dicttypecode)return[];let i=t.dicttypecode,a=this.$options.filters.dictData(i),s=new Map,n=[],l=[];return this.excelData.forEach(o=>{s.has(o[e])||(s.set(o[e],1),(o[e]?String(o[e]).split(","):[]).forEach(r=>{l.filter(f=>f==r)[0]===void 0&&(l.push(r),n.push({rawValue:r,rawValued:r,replaceValue:this.dictListFilter(a,r,t)}))}))}),n},dictListFilter(t,e,i){if(t.map(n=>(n.langs=this.getLangs(n,n.name),n)),i.effectType!=="checkbox"){let n=this.hasDict(t,e);return n===!1?null:String(n.code)}let a=e==null?[]:e.split(","),s=[];return a.forEach(n=>{let l=this.hasDict(t,n);l&&s.push(String(l.code))}),s.length==0?null:s.join(",")},hasDict(t,e){t.forEach((s,n)=>{let l=s.langs.filter(o=>o.val==e)[0];s.hasName=!!l});let i=t.filter(s=>s.hasName);if(i[0]===void 0)return!1;if(i.length==1)return i[0];let a=i.filter(s=>!!s.langs.filter(l=>l.code==this.language)[0])[0];return a||i[0]},hiatusAbout(t){return(t.abouts?t.abouts:[]).length==0},hiatusDict(t){return!!(t.dictionarys?t.dictionarys:[]).filter(a=>a.replaceValue===null)[0]},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(t){const e=t.item.functionName,i=t.key?t:t.item;if(this[e]===void 0&&this.func===void 0){console.log("\u8BF7\u5B9A\u4E49 "+e+" \u65B9\u6CD5");return}this[e]&&this[e](i)}}};var T=function(){var e=this,i=e._self._c;return i("div",[i("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){e.visible=a},closed:e.closed}},[i("template",{slot:"title"},[i("gd-modal-title",{attrs:{title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"import-container"},[i("div",{staticClass:"excel-table"},[e.visible?i("gd-tables",{ref:"table",attrs:{dataSource:e.loadSoData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,height:e.height,filtering:!1,initialLoading:!1,showPagination:!1,rowKey:"index",disabledRefresh:"",disabledColumnSettings:""},scopedSlots:e._u([{key:"operator",fn:function(){return[i("el-form",{ref:"ruleForm",attrs:{model:e.ruleFormData,"label-width":"130px",rules:e.rules},nativeOn:{submit:function(a){a.preventDefault()}}},[i("el-row",{attrs:{gutter:20}},[i("el-col",{attrs:{span:8}},[i("el-form-item",{staticStyle:{"margin-bottom":"0 !important"},attrs:{label:e.$i18nt("gd.xlsxImport.file","\u6587\u4EF6"),"label-width":e.excelName?"86px":"130px"}},[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.checkFile}},[e._v(" "+e._s(e.$i18nt("gd.xlsxImport.title","\u5BFC\u5165"))+" ")]),i("span",{staticStyle:{"padding-left":"6px"}},[e._v(e._s(e.excelName))])],1)],1),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticStyle:{"margin-bottom":"0 !important"},attrs:{label:e.$i18nt("gd.xlsxImport.entityTable","\u5B9E\u4F53\u8868"),prop:"entityValue"}},[i("el-select",{ref:"refTable",staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"",disabled:e.typeImport==1},on:{change:e.handleSelect},model:{value:e.ruleFormData.entityValue,callback:function(a){e.$set(e.ruleFormData,"entityValue",a)},expression:"ruleFormData.entityValue"}},e._l(e.entityData,function(a){return i("el-option",{key:a.id,attrs:{label:e.$i18nt(`Dynamics.${a.transkey}`,a.busname),value:a.id}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.busname))+" "+e._s(a.tablename)+" ")])}),1)],1)],1),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticStyle:{"margin-bottom":"0 !important"},attrs:{label:e.$i18nt("gd.xlsxImport.owner","\u8BB0\u5F55\u8D1F\u8D23\u4EBA"),prop:"serviceConsultant"}},[i("div",{staticClass:"cao_about"},[i("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:e.loading,"reserve-keyword":"",filterable:"",remote:"",clearable:"","remote-method":e.searchData,"collapse-tags":!0},model:{value:e.ruleFormData.serviceConsultant,callback:function(a){e.$set(e.ruleFormData,"serviceConsultant",a)},expression:"ruleFormData.serviceConsultant"}},e._l(e.serviceData,function(a){return i("el-option",{key:a.id,attrs:{label:a.name,value:a.id}})}),1),i("div",{staticClass:"cao_setting",on:{click:e.lookup}},[i("i",{staticClass:"el-input__icon el-icon-search"})])],1)])],1)],1)],1)]},proxy:!0},{key:"checkzd",fn:function({column:a,row:s}){return[i("div",{staticClass:"flex-between",class:s.checkzd===0?"flex-between-ignore":""},[i("el-select",{style:(e.record.fieIdType===2||e.record.fieIdType===3||e.record.fieIdType===5||e.record.fieIdType===6||e.record.fieIdType===7,"width:70%"),attrs:{placeholder:e.$i18nt("gd.xlsxImport.mapFieldsTip","\u8BF7\u9009\u62E9\u6620\u5C04\u5B57\u6BB5"),filterable:""},on:{change:function(n){return e.handleChangeZd(n,s)}},model:{value:s.checkzd,callback:function(n){e.$set(s,"checkzd",n)},expression:"row.checkzd"}},[e._l(e.configData,function(n){return i("el-option",{key:n.id,attrs:{label:e.$i18nt(`Dynamics.${n.transkey}`,n.columncomment),value:n.id}},[i("EffectTypeIcon",{attrs:{effectType:n.effecttype}}),e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.columncomment))+" ("+e._s(n.columnname)+") ")],1)}),i("el-option",{attrs:{label:e.$i18nt("gd.placeholder.ignore","\u5FFD\u7565"),value:0}},[i("span",{staticStyle:{color:"#faad14"}},[e._v(" "+e._s(e.$i18nt("gd.placeholder.ignore","\u5FFD\u7565"))+" ")])])],2),s.fieIdType===2||s.fieIdType===7?[e.hiatusDict(s,s.index)?i("i",{staticClass:"el-icon-info",staticStyle:{color:"#1890ff","font-size":"17px",margin:"0 6px"}}):e._e(),i("el-button",{staticStyle:{padding:"4px 9px",margin:"0 6px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(n){return e.editColumn(s)}}})]:e._e(),s.fieIdType===3?[s.fkFilid?e._e():i("i",{staticClass:"el-icon-warning",staticStyle:{color:"#faad14","font-size":"17px",margin:"0 6px"}}),i("el-button",{staticStyle:{padding:"4px 9px",margin:"0 6px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(n){return e.editColumn(s)}}})]:e._e(),s.fieIdType===5||s.fieIdType===6?[e.hiatusAbout(s)?i("i",{staticClass:"el-icon-warning",staticStyle:{color:"#faad14","font-size":"17px",margin:"0 6px"}}):e._e(),i("el-button",{staticStyle:{padding:"4px 9px",margin:"0 6px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(n){return e.editColumn(s)}}})]:e._e()],2)]}}],null,!1,557144359)}):e._e(),i("div",{staticClass:"description"},[i("div",{staticClass:"l"},[e._v(" "+e._s(e.$i18nt("gd.xlsxImport.iconDescription","\u56FE\u6807\u8BF4\u660E"))+" ")]),i("div",{staticClass:"r"},[i("div",{staticClass:"icon-explain"},[i("i",{staticClass:"el-icon-info",staticStyle:{color:"#1890ff","font-size":"16px",margin:"0 2px"}}),i("div",[e._v(" "+e._s(e.$i18nt("gd.icon.info","\u6B64\u56FE\u6807\u4E3A\u4FE1\u606F\u7F3A\u5931\u6216\u7F3A\u5C11\u63D0\u793A\uFF0C\u53EF\u5FFD\u7565\uFF1B"))+" ")]),i("i",{staticClass:"el-icon-warning",staticStyle:{color:"#faad14","font-size":"16px",margin:"0 2px"}}),i("div",[e._v(" "+e._s(e.$i18nt("gd.icon.err","\u6B64\u56FE\u6807\u4E3A\u8B66\u544A\u63D0\u793A\uFF0C\u9700\u7528\u6237\u91CD\u65B0\u64CD\u4F5C\u3002"))+" ")])])])])],1)])],2),i("FieldMapping",{ref:"fieldMapping",attrs:{configData:e.configData},on:{ok:e.okFieldMapping}}),i("gd-search",{ref:"viewSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},_=[],$=p.normalizeComponent(x,T,_,!1,null,"84c085d5",null,null);const v=$.exports,I=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"}));const F={props:{configData:{type:Array,default:()=>[]}},components:{EffectTypeIcon:m},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"800px",record:{},columns:[{type:"selection-radio",width:"60",fixed:!0,fieIdType:[3,5,6]},{transKey:"gd.xlsxImport.field",prop:"columnComment",label:"\u5B57\u6BB5",align:"left",type:"slot",slotType:"columnComment",fieIdType:[3]},{transKey:"gd.xlsxImport.type",prop:"effectType",label:"\u5B57\u6BB5\u7C7B\u578B",align:"left",type:"slot",slotType:"effectType",fieIdType:[3]},{transKey:"gd.xlsxImport.importValues",prop:"rawValued",label:"\u5BFC\u5165\u503C",align:"left",fieIdType:[2,7]},{transKey:"gd.xlsxImport.systemOptions",prop:"replaceValue",label:"\u7CFB\u7EDF\u9009\u9879",align:"left",type:"slot",slotType:"replaceValue",fieIdType:[2,7]},{transKey:"gd.xlsxImport.associatedTable",prop:"busName",label:"\u5173\u8054\u8868\u540D",align:"left",type:"slot",slotType:"busName",fieIdType:[5,6]},{transKey:"gd.xlsxImport.lookUpField",prop:"columnSlots",label:"\u67E5\u627E\u5B57\u6BB5",align:"left",type:"slot",slotType:"columnSlots",fieIdType:[5,6],showTooltip:!1}],selectedRowKeys:[],selectedRows:[],loadSoData:t=>new Promise((e,i)=>{e({pageNo:1,pageSize:200,totalRows:0,rows:this.loadData})}),loadData:[],dictList:[]}},computed:{rowKey(){return this.record.fieIdType===2||this.record.fieIdType===7?"index":this.record.fieIdType===5||this.record.fieIdType===6?"tablename":"columnname"},getColumns(){return this.columns.filter(t=>t.fieIdType.includes(this.record.fieIdType))},title(){return this.record.fieIdType===2||this.record.fieIdType===7?this.$i18nt("gd.xlsxImport.dictMapping","\u5B57\u5178\u6620\u5C04"):this.record.fieIdType===5||this.record.fieIdType===6?this.$i18nt("gd.xlsxImport.associatedFieldsTip","\u9009\u62E9\u5173\u8054\u5B57\u6BB5:")+` (${this.record.aboutName})`:this.$i18nt("gd.xlsxImport.foreignTable","\u5916\u952E\u8868:")+` (${this.record.fkEntityName})`},height(){return this.screenHeight-(this.fullscreen?130:290)},...p.mapGetters(["screenHeight","tableLists","tableSize","tablePageSize"])},methods:{fkSearch(t,e){(t&&t.configList?t.configList:[]).length>0||this.sysCodeGenerateConfigList(t.id).then(a=>{if(a.code===200){const s=a.data.filter(n=>n.columnname==="name")[0];t.configList=[...a.data],this.$nextTick(()=>{setTimeout(()=>{t.aboutField=s?s.columnname:a.data[0].columnname},0)})}})},handleSubmit(){if(this.loadData.filter(e=>this.selectedRowKeys.includes(e[this.rowKey]))[0]===void 0&&this.rowKey!=="index"){this.$message.error(this.$i18nt("gd.field.replenishData","\u8BF7\u8865\u5145\u6570\u636E"));return}this.$emit("ok",{loadData:this.loadData,data:this.record,selectedRowKeys:this.selectedRowKeys}),this.closed()},getAboutListByEntity(){return u.getAboutListByEntity({entityName:this.record.fkEntityName}).then(t=>{if(t.code===200){let e=[],i=this.record.abouts?this.record.abouts:[];i.forEach(s=>{e.push(s.aboutTable)});let a=t.data;a.forEach((s,n)=>{let l=i.filter(o=>o.aboutTable==s.tablename)[0];a[n].aboutField=l?l.aboutField:"",a[n].enabled=!!l,a[n].configList=l?l.configList:[]}),this.loadData=[...a]}return t})},sysCodeGenerateConfigList(t){return u.sysCodeGenerateConfigList({codeGenId:t}).then(e=>e)},getAboutInit(){this.confirmLoading=!0;let t=this.record.fkEntityName.split(","),e=this.tableLists.filter(i=>i.tablename===t[0])[0];Promise.all([this.getAboutListByEntity(),this.sysCodeGenerateConfigList(e.id)]).then(i=>{this.confirmLoading=!1;let a=i[1];if(a.code===200){const s=a.data.filter(l=>l.columnname==="name")[0];let n=[...this.loadData];n.forEach((l,o)=>{l.tablename===e.tablename&&(n[o].configList=a.data,n[o].aboutField=s?s.columnname:a.data[0].columnname)}),this.loadData=[...n],this.selectedRowKeys=this.selectedRowKeys.length===0?[e.tableName]:this.selectedRowKeys}this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)})})},openFk(t){this.record=JSON.parse(JSON.stringify(t)),this.fullscreen=!1,this.visible=!0},open(t){this.record=JSON.parse(JSON.stringify(t)),this.fullscreen=!1,this.visible=!0;let e=!0;if([2,7].includes(t.fieIdType)){let i=this.configData.filter(a=>a.id==t.checkzd)[0];this.dictList=i.dicttypecode?this.$options.filters.dictData(i.dicttypecode):[],this.loadData=[...t.dictionarys]}else if([3].includes(t.fieIdType))this.loadData=[...t.fkData],this.selectedRowKeys=t.fkFilid?[t.fkFilid]:[];else if([5,6].includes(t.fieIdType)){e=t.fkData.length===0?!1:e;let i=t.abouts&&t.abouts.length>0?t.abouts:[],a=[];i.forEach(s=>{a.push(s.aboutTable)}),this.selectedRowKeys=a,this.loadData=[...t.fkData],!e&&this.getAboutInit()}this.$nextTick(()=>{setTimeout(()=>{e&&this.refresh()},0)})},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},onSelectChange(t,e){if(this.selectedRowKeys=t,this.selectedRows=e,this.rowKey!=="tablename")return;let i=this.$refs.table.tableData,a={};i.forEach((s,n)=>{s.tablename===t[0]&&(a={ind:n,data:s})}),a.data&&this.fkSearch(a.data,a.ind)},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var S=function(){var e=this,i=e._self._c;return i("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){e.visible=a},closed:e.closed}},[i("template",{slot:"title"},[i("gd-modal-title",{attrs:{title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),e.visible?i("div",[i("gd-tables",{ref:"table",attrs:{dataSource:e.loadSoData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.getColumns,filtering:!1,height:e.height,initialLoading:!1,showPagination:!1,rowKey:e.rowKey,selectedKeep:!0,disabledRefresh:"",disabledColumnSettings:"",selectedRowKeys:e.selectedRowKeys},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"replaceValue",fn:function({column:a,row:s}){return[i("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.xlsxImport.mapFieldsTip","\u8BF7\u9009\u62E9\u6620\u5C04\u5B57\u6BB5")},model:{value:s.replaceValue,callback:function(n){e.$set(s,"replaceValue",n)},expression:"row.replaceValue"}},[e._l(e.dictList,function(n){return i("el-option",{key:n.code,attrs:{label:e.$i18nt(`Dynamics.${n.transkey}`,n.name),value:n.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.name))+" ")])}),i("el-option",{attrs:{label:e.$i18nt("gd.placeholder.ignore","\u5FFD\u7565"),value:"@-1"}},[i("span",{staticStyle:{color:"#faad14"}},[e._v(" "+e._s(e.$i18nt("gd.placeholder.ignore","\u5FFD\u7565"))+" ")])])],2)]}},{key:"columnComment",fn:function({column:a,row:s}){return[e._v(" "+e._s(e.$i18nt(`Dynamics.${s.transkey}`,s.columncomment))+" ")]}},{key:"effectType",fn:function({column:a,row:s}){return[e._v(" "+e._s(e._f("dictType")("code_gen_effect_type",s.effecttype))+" ")]}},{key:"busName",fn:function({column:a,row:s}){return[e._v(" "+e._s(e.$i18nt(`Dynamics.${s.transkey}`,s.busname))+" "+e._s(s.tablename)+" ")]}},{key:"columnSlots",fn:function({column:a,row:s,index:n}){return[i("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.xlsxImport.lookUpFieldTip","\u8BF7\u9009\u62E9\u67E5\u627E\u5B57\u6BB5"),filterable:""},on:{focus:function(l){return e.fkSearch(s,n)}},model:{value:s.aboutField,callback:function(l){e.$set(s,"aboutField",l)},expression:"row.aboutField"}},[e._l(s.configList,function(l){return[i("el-option",{attrs:{label:e.$i18nt(`Dynamics.${l.transkey}`,l.columncomment),value:l.columnname}},[i("EffectTypeIcon",{attrs:{effectType:l.effecttype}}),e._v(" "+e._s(e.$i18nt(`Dynamics.${l.transkey}`,l.columncomment))+" ("+e._s(l.columnname)+") ")],1)]})],2)]}}],null,!1,1203945507)})],1):e._e()],2)},C=[],L=p.normalizeComponent(F,S,C,!1,null,"3d5059a2",null,null);const w=L.exports,z=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"}));exports.EffectTypeIcon=m;exports.effectTypeIcon=g;exports.main=I;
@@ -0,0 +1,572 @@
1
+ import { m as g, n as K } from "./components.chartbi.571c5ff5.mjs";
2
+ import { s as b, J as h, b as x, K as m, L as w } from "./http.tabledevelopment.3dcb3e97.mjs";
3
+ import { c as $ } from "./http.codegeneratemanage.b123bab3.mjs";
4
+ import { u as f, p as u } from "./utils.util.js.333daba2.mjs";
5
+ import { G as T, a as D } from "./http.translationmanage.f8694b51.mjs";
6
+ import "./utils.echarts.js.d1bb8ac6.mjs";
7
+ const v = {
8
+ props: {
9
+ type: {
10
+ type: [String, Number],
11
+ default: 1
12
+ },
13
+ prefixKey: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ suffixKey: {
18
+ type: String,
19
+ default: ""
20
+ }
21
+ },
22
+ data() {
23
+ return {
24
+ sysViewButtons: [
25
+ {
26
+ displayName: "\u786E\u5B9A",
27
+ functionName: "handleSubmit",
28
+ show: !0,
29
+ transKey: "gd.btn.confirm",
30
+ icon: "el-icon-document-checked"
31
+ }
32
+ ],
33
+ visible: !1,
34
+ confirmLoading: !1,
35
+ spinning: !1,
36
+ loadData: [],
37
+ viewData: [],
38
+ formData: [],
39
+ detail: null,
40
+ record: null,
41
+ fullscreen: !1,
42
+ width: "600px",
43
+ arrTransKey: [],
44
+ allTableData: [],
45
+ langsAll: [],
46
+ httpNumbe: 0,
47
+ ruleFormData: {},
48
+ pattern: "/^[a-zA-Z]+$/",
49
+ contentTransKey: [],
50
+ translationLangs: [],
51
+ menusId: ""
52
+ };
53
+ },
54
+ computed: {
55
+ modalStyle() {
56
+ return this.fullscreen ? {
57
+ width: "100%",
58
+ dialogStyle: {
59
+ top: "0px"
60
+ }
61
+ } : {
62
+ width: this.width,
63
+ dialogStyle: {
64
+ top: "80px"
65
+ }
66
+ };
67
+ },
68
+ ...g(["tableLists"])
69
+ },
70
+ methods: {
71
+ togglefullscreen() {
72
+ this.fullscreen = !this.fullscreen;
73
+ },
74
+ open(s) {
75
+ this.httpNumbe = 0, this.fullscreen = !1, this.record = s, this.visible = !0, this.spinning = !0, this.type == 1 ? this.getViewDetail() : this.getFormDetail();
76
+ },
77
+ getViewDetail() {
78
+ return b({
79
+ id: this.record
80
+ }).then((s) => (s.success ? (this.detail = Object.assign(s.data, {
81
+ viewname: s.data.viewname + f(2, !1, !1)
82
+ }), this.spinning = !1, this.$nextTick(() => {
83
+ setTimeout(() => {
84
+ this.ruleFormData = {
85
+ name: this.detail.viewname,
86
+ displayName: this.detail.name,
87
+ type: String(this.detail.type),
88
+ explain: this.detail.explain
89
+ };
90
+ }, 0);
91
+ })) : this.$message.error(s.message), s.data));
92
+ },
93
+ getFormDetail() {
94
+ return h({
95
+ id: this.record
96
+ }).then((s) => (s.success ? (this.detail = Object.assign(s.data, {
97
+ name: s.data.name + f(2, !1, !1)
98
+ }), this.spinning = !1, this.$nextTick(() => {
99
+ setTimeout(() => {
100
+ this.ruleFormData = {
101
+ name: this.detail.name,
102
+ displayName: this.detail.displayname,
103
+ type: "4",
104
+ explain: this.detail.explain
105
+ };
106
+ }, 0);
107
+ })) : this.$message.error(s.message), s.data));
108
+ },
109
+ handleSubmit() {
110
+ this.$refs.ruleForm.validate((s) => {
111
+ s && (this.type == 1 ? this.addView(this.ruleFormData) : (this.spinning = !0, this.confirmLoading = !0, this.addForm(this.ruleFormData)));
112
+ });
113
+ },
114
+ addView(s) {
115
+ let t = [], a = [];
116
+ this.detail.sysviewfields.forEach((i, n) => {
117
+ let p = {
118
+ name: i.name,
119
+ width: i.width,
120
+ order: n,
121
+ type: i.type,
122
+ fieldId: i.fieldid,
123
+ joinTableId: i.jointableid,
124
+ joinFieldId: i.joinfieldid,
125
+ orderConfig: i.orderconfig,
126
+ gatherConfig: i.gatherconfig,
127
+ maxTagCount: i.maxtagcount,
128
+ align: i.align ? i.align : "left&1&none&none"
129
+ };
130
+ t.push(p);
131
+ }), this.detail.sysviewqueries.forEach((i, n) => {
132
+ if (i.field) {
133
+ let p = {
134
+ queryType: i.querytype,
135
+ name: i.field.columncomment,
136
+ fieldId: i.fieldid,
137
+ joinTableId: i.jointableid,
138
+ joinFieldId: i.joinfieldid,
139
+ order: n,
140
+ displayStyle: i.displaystyle,
141
+ options: i.options
142
+ };
143
+ a.push(p);
144
+ }
145
+ });
146
+ let r = {
147
+ syscodegenid: this.detail.syscodegenid,
148
+ name: s.displayName,
149
+ type: s.type,
150
+ explain: s.explain,
151
+ frozenColumn: this.detail.frozencolumn,
152
+ isDefault: 0,
153
+ viewName: s.name,
154
+ order: this.detail.order,
155
+ sysViewFields: t,
156
+ filterConfig: this.detail.filterconfig,
157
+ sysViewQueries: a,
158
+ defaultSort: this.detail.defaultsort,
159
+ viewTree: this.detail.viewtree,
160
+ isViewTree: this.detail.isviewtree,
161
+ ruleConfig: this.detail.ruleconfig,
162
+ buttonRule: this.detail.buttonrule
163
+ };
164
+ this.spinning = !0, this.confirmLoading = !0, x(r).then((i) => {
165
+ i.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u64CD\u4F5C\u5931\u8D25") + i.message), this.spinning = !1, this.confirmLoading = !1;
166
+ });
167
+ },
168
+ regenerateKey(s, t) {
169
+ if (!s || s.startsWith("gd."))
170
+ return s;
171
+ let a = this.prefixKey.split("_"), r = u(a[0], "0");
172
+ const i = s.replace(this.suffixKey, ""), n = i.substr(i.lastIndexOf("_") + 1).toLowerCase();
173
+ let p = `${r}${t.toLowerCase()}_${n}${f(2)}${this.suffixKey}`;
174
+ return n.length > 18 && (p = `${r}${t.toLowerCase()}_${f(8)}${this.suffixKey}`), p;
175
+ },
176
+ async addForm(s) {
177
+ let t = JSON.parse(this.detail.formconfig), a = [], r = [], i = {}, n = { titlePrefix: "", prefixTransKey: null };
178
+ if (t.config.options && t.config.options.prefixTransKey) {
179
+ const o = this.$i18nt(`Dynamics.${t.config.options.prefixTransKey}`, t.config.options.titlePrefix);
180
+ i = { transKey: this.regenerateKey(item.transKey, "prefix") }, Object.assign({ titlePrefix: o, prefixTransKey: i.transKey }), a = a.concat([
181
+ {
182
+ oldKey: item.transKey,
183
+ newKey: i.transKey,
184
+ name: o
185
+ }
186
+ ]);
187
+ }
188
+ t.config = Object.assign(
189
+ {
190
+ ...t.config
191
+ },
192
+ {
193
+ name: s.name,
194
+ displayName: s.displayName,
195
+ type: s.type,
196
+ explain: s.explain,
197
+ transKey: null,
198
+ titlePrefix: n.titlePrefix,
199
+ prefixTransKey: n.prefixTransKey
200
+ }
201
+ );
202
+ const p = (o) => (o = o.filter((e, c) => {
203
+ if (e.langs !== void 0 && delete e.langs, e.options)
204
+ for (let d in e.options)
205
+ ["transKey", "subtransKey", "suffixTransKey", "prefixTransKey", "placeholderTransKey"].includes(d) && e.options[d] && !e.options[d].startsWith("gd.") && r.push(e.options[d]);
206
+ if (["title"].includes(e.type))
207
+ i = {
208
+ transKey: this.regenerateKey(e.options.transKey, e.type),
209
+ subtransKey: this.regenerateKey(e.options.subtransKey, "describe")
210
+ }, a = a.concat([
211
+ {
212
+ oldKey: e.options.transKey,
213
+ newKey: i.transKey,
214
+ name: this.$i18nt(`Dynamics.${e.options.transKey}`, e.options.title)
215
+ },
216
+ {
217
+ oldKey: e.options.subtransKey,
218
+ newKey: i.subtransKey,
219
+ name: this.$i18nt(`Dynamics.${e.options.subtransKey}`, e.options.subtitle)
220
+ }
221
+ ]), e.options = Object.assign({ ...e.options }, i);
222
+ else if (["btnGroup"].includes(e.type))
223
+ e.btnList = e.btnList.map((d) => d.transKey && !d.transKey.startsWith("gd.") ? (i = { transKey: this.regenerateKey(d.transKey, e.type) }, a.push({
224
+ oldKey: d.transKey,
225
+ newKey: i.transKey,
226
+ name: this.$i18nt(`Dynamics.${d.transKey}`, d.displayName)
227
+ }), Object.assign({ ...d }, i)) : d);
228
+ else if (["textSearch"].includes(e.type))
229
+ i = { placeholderTransKey: this.regenerateKey(e.options.placeholderTransKey, "placeholder") }, a.push({
230
+ oldKey: e.options.placeholderTransKey,
231
+ newKey: i.placeholderTransKey,
232
+ name: this.$i18nt(`Dynamics.${e.options.placeholderTransKey}`, e.options.placeholder)
233
+ }), e.options = Object.assign({ ...e.options }, i);
234
+ else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(e.type)) {
235
+ i = { transKey: this.regenerateKey(e.options.transKey, e.type) };
236
+ const d = ["card"].includes(e.type) ? e.options.header : ["approval", "approvalHistory", "auditLog"].includes(e.type) ? e.label : e.options.title;
237
+ a.push({
238
+ oldKey: e.options.transKey,
239
+ newKey: i.transKey,
240
+ name: this.$i18nt(`Dynamics.${e.options.transKey}`, d)
241
+ }), e.options = Object.assign({ ...e.options }, i);
242
+ } else
243
+ ["statistic"].includes(e.type) ? (e.options = Object.assign(e.options, {
244
+ titlePrefix: e.options.titlePrefix ? e.options.titlePrefix : {
245
+ name: "",
246
+ transKey: null,
247
+ type: "text",
248
+ icon: "",
249
+ open: !1,
250
+ color: "#333",
251
+ fontSize: "14",
252
+ fontWeight: "normal"
253
+ },
254
+ titleSuffix: e.options.titlePrefix ? e.options.titlePrefix : {
255
+ name: "",
256
+ transKey: null,
257
+ type: "text",
258
+ icon: "",
259
+ open: !1,
260
+ color: "#333",
261
+ fontSize: "14",
262
+ fontWeight: "normal"
263
+ }
264
+ }), i = {
265
+ transKey: this.regenerateKey(e.options.transKey, e.type),
266
+ prefixTransKey: this.regenerateKey(e.options.titlePrefix.transKey, "prefix"),
267
+ suffixTransKey: this.regenerateKey(e.options.titleSuffix.transKey, "suffix")
268
+ }, a = a.concat([
269
+ {
270
+ oldKey: e.options.transKey,
271
+ newKey: i.transKey,
272
+ name: this.$i18nt(`Dynamics.${e.options.transKey}`, e.options.statisticTitle)
273
+ },
274
+ {
275
+ oldKey: e.options.titlePrefix.transKey,
276
+ newKey: i.prefixTransKey,
277
+ name: this.$i18nt(`Dynamics.${e.options.titlePrefix.transKey}`, e.options.titlePrefix.name)
278
+ },
279
+ {
280
+ oldKey: e.options.titleSuffix.transKey,
281
+ newKey: i.suffixTransKey,
282
+ name: this.$i18nt(`Dynamics.${e.options.titleSuffix.transKey}`, e.options.titleSuffix.name)
283
+ }
284
+ ]), e.options = Object.assign(
285
+ { ...e.options },
286
+ {
287
+ transKey: i.transKey,
288
+ titlePrefix: Object.assign(
289
+ { ...e.titlePrefix },
290
+ {
291
+ transKey: i.prefixTransKey
292
+ }
293
+ ),
294
+ titleSuffix: Object.assign(
295
+ { ...e.titleSuffix },
296
+ {
297
+ transKey: i.suffixTransKey
298
+ }
299
+ )
300
+ }
301
+ )) : [
302
+ "input",
303
+ "textarea",
304
+ "editor",
305
+ "inputNumber",
306
+ "switch",
307
+ "radio",
308
+ "checkbox",
309
+ "select",
310
+ "selectMultiple",
311
+ "uploadImg",
312
+ "uploadFile",
313
+ "datePicker",
314
+ "timePicker"
315
+ ].includes(e.type) && (i = {
316
+ transKey: this.regenerateKey(e.options.transKey, e.type),
317
+ placeholderTransKey: this.regenerateKey(e.options.placeholderTransKey, "placeholder")
318
+ }, a = a.concat([
319
+ {
320
+ oldKey: e.options.transKey,
321
+ newKey: i.transKey,
322
+ name: this.$i18nt(`Dynamics.${e.options.transKey}`, e.label)
323
+ },
324
+ {
325
+ oldKey: e.options.placeholderTransKey,
326
+ newKey: i.placeholderTransKey,
327
+ name: this.$i18nt(`Dynamics.${e.options.placeholderTransKey}`, e.options.placeholder)
328
+ }
329
+ ]), e.options = Object.assign({ ...e.options }, i));
330
+ return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(e.type) ? e.columns.forEach((d, y) => {
331
+ ["collapse", "tabs"].includes(e.type) && (i = { transKey: this.regenerateKey(d.transKey, `${e.type}item`) }, a.push({
332
+ oldKey: d.transKey,
333
+ newKey: i.transKey,
334
+ name: this.$i18nt(`Dynamics.${d.transKey}`, d.label)
335
+ }), e.columns[y].transKey = i.transKey), d.transKey && r.push(d.transKey), d.list = p(d.list);
336
+ }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(e.type) ? e.list = p(e.list) : e.type === "table" && e.trs.forEach((d) => {
337
+ d.tds.forEach((y) => {
338
+ y.list = p(y.list);
339
+ });
340
+ }), !0;
341
+ }), o);
342
+ t.list = await p(t.list);
343
+ let l = {
344
+ name: s.name,
345
+ displayName: s.displayName,
346
+ type: s.type,
347
+ explain: s.explain,
348
+ sysCodeGenId: this.detail.syscodegenid,
349
+ changeName: this.detail.changename,
350
+ changeWeb: this.detail.changeweb,
351
+ initName: this.detail.initname,
352
+ initWeb: this.detail.initweb,
353
+ width: this.detail.width,
354
+ formConfig: JSON.stringify(
355
+ Object.assign(t, {
356
+ addTransKey: [],
357
+ allTransKey: r
358
+ })
359
+ ),
360
+ businessConfig: this.detail.businessconfig
361
+ };
362
+ this.contentTransKey = a, this.spinning = !0, this.confirmLoading = !0, m(l).then((o) => {
363
+ o.success ? (this.menusId = o.data, this.batchAddTransKey()) : (this.spinning = !1, this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.addFail", "\u64CD\u4F5C\u5931\u8D25") + o.message));
364
+ });
365
+ },
366
+ async subContentTransKey(s, t) {
367
+ const a = (i) => (i = i.filter((n, p) => {
368
+ if (["btnGroup"].includes(n.type))
369
+ n.btnList = n.btnList.map((l) => {
370
+ const o = t.filter((e) => e.newKey === l.transKey)[0];
371
+ if (o)
372
+ return Object.assign(l, { transKey: o.newKeyId });
373
+ });
374
+ else if (["textSearch"].includes(n.type)) {
375
+ const l = t.filter((o) => o.newKey === n.options.placeholderTransKey)[0];
376
+ l && (n.options = Object.assign({ ...n.options }, { placeholderTransKey: l.newKeyId }));
377
+ } else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(n.type)) {
378
+ const l = t.filter((o) => o.newKey === n.options.transKey)[0];
379
+ l && (n.options = Object.assign({ ...n.options }, { transKey: l.newKeyId }));
380
+ } else if (["title"].includes(n.type)) {
381
+ let l = {};
382
+ const o = t.filter((c) => c.newKey === n.options.transKey)[0], e = t.filter((c) => c.newKey === n.options.subtransKey)[0];
383
+ o && Object.assign(l, { transKey: o.newKeyId }), e && Object.assign(l, { subtransKey: o.newKeyId }), n.options = Object.assign({ ...n.options }, l);
384
+ } else if (["statistic"].includes(n.type)) {
385
+ let l = {
386
+ transKey: n.options.transKey,
387
+ prefixTransKey: n.options.titlePrefix.transKey,
388
+ suffixTransKey: n.options.titleSuffix.transKey
389
+ };
390
+ t.filter((o) => o.newKey === l.transKey)[0], t.filter((o) => o.newKey === l.prefixTransKey)[0], t.filter((o) => o.newKey === l.suffixTransKey)[0], n.options = Object.assign(
391
+ { ...n.options },
392
+ {
393
+ transKey: l.transKey,
394
+ titlePrefix: Object.assign(
395
+ { ...n.titlePrefix },
396
+ {
397
+ transKey: l.prefixTransKey
398
+ }
399
+ ),
400
+ titleSuffix: Object.assign(
401
+ { ...n.titleSuffix },
402
+ {
403
+ transKey: l.suffixTransKey
404
+ }
405
+ )
406
+ }
407
+ );
408
+ } else if ([
409
+ "input",
410
+ "textarea",
411
+ "editor",
412
+ "inputNumber",
413
+ "switch",
414
+ "radio",
415
+ "checkbox",
416
+ "select",
417
+ "selectMultiple",
418
+ "uploadImg",
419
+ "uploadFile",
420
+ "datePicker",
421
+ "timePicker"
422
+ ].includes(n.type)) {
423
+ let l = {};
424
+ const o = t.filter((c) => c.newKey === n.options.transKey)[0], e = t.filter((c) => c.newKey === n.options.placeholderTransKey)[0];
425
+ o && Object.assign(l, { transKey: o.newKeyId }), e && Object.assign(l, { placeholderTransKey: o.newKeyId }), n.options = Object.assign({ ...n.options }, l);
426
+ }
427
+ return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(n.type) ? n.columns.forEach((l) => {
428
+ if (["collapse", "tabs"].includes(n.type)) {
429
+ const o = t.filter((e) => e.newKey === l.transKey)[0];
430
+ o && (n.columns[p].transKey = o.newKeyId);
431
+ }
432
+ l.list = a(l.list);
433
+ }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(n.type) && (n.list = a(n.list)), !0;
434
+ }), i);
435
+ await a(s.list);
436
+ const r = t.filter((i) => i.newKey === s.config.prefixTransKey)[0];
437
+ return Object.assign(s, {
438
+ addTransKey: [],
439
+ config: Object.assign(s.config, {
440
+ prefixTransKey: r ? r.newKeyId : s.config.prefixTransKey
441
+ })
442
+ });
443
+ },
444
+ getAllLanguage() {
445
+ T().then((s) => {
446
+ s.code === 200 && (this.translationLangs = s.data);
447
+ });
448
+ },
449
+ regenerateKeyId(s) {
450
+ let t = this.prefixKey.split("_"), a = u(t[0], "0"), r = u(t[0], this.menusId);
451
+ return s.replace(a, r);
452
+ },
453
+ async batchAddTransKey() {
454
+ let s = this.contentTransKey.filter((r) => r.oldKey && !r.oldKey.startsWith("gd."));
455
+ if (s.length === 0) {
456
+ this.$message.success(this.$i18nt("gd.https.addSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.handleCancel(), this.spinning = !1, this.confirmLoading = !1;
457
+ return;
458
+ }
459
+ s = s.map((r) => Object.assign(r, {
460
+ newKeyId: this.regenerateKeyId(r.newKey)
461
+ }));
462
+ let t = await this.sysMenuDetail();
463
+ const a = await this.subContentTransKey(
464
+ t.formconfig ? JSON.parse(t.formconfig) : {
465
+ list: [],
466
+ addTransKey: []
467
+ },
468
+ s
469
+ );
470
+ Promise.all([this.addTranslationKey(s), this.editFormDetail(Object.assign(t, { formconfig: JSON.stringify(a) }))]).then((r) => {
471
+ this.$message.success(this.$i18nt("gd.https.addSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.handleCancel(), this.spinning = !1, this.confirmLoading = !1;
472
+ });
473
+ },
474
+ editFormDetail(s) {
475
+ return w(s).then((t) => t);
476
+ },
477
+ sysMenuDetail() {
478
+ return h({ id: this.menusId }).then((s) => s.data);
479
+ },
480
+ addTranslationKey(s) {
481
+ let t = [];
482
+ return s.forEach((a) => {
483
+ t.push(this.batchAddTranslation(a));
484
+ }), D(t).then((a) => a);
485
+ },
486
+ batchAddTranslation(s) {
487
+ let t = [];
488
+ return this.translationLangs.forEach((a) => {
489
+ const r = translateLanguageName(a.languagecode, `Dynamics.${s.oldKey}`, s.name);
490
+ t.push(
491
+ Object.assign(
492
+ { ...a },
493
+ {
494
+ description: r
495
+ }
496
+ )
497
+ );
498
+ }), {
499
+ defaulttext: s.name,
500
+ hintcatalogid: "",
501
+ name: s.newKeyId,
502
+ type: "3",
503
+ langs: t
504
+ };
505
+ },
506
+ getAllTableData() {
507
+ if (this.tableLists.length > 0) {
508
+ this.allTableData = [...this.tableLists];
509
+ return;
510
+ }
511
+ $({
512
+ busName: ""
513
+ }).then((s) => {
514
+ s.success && (this.allTableData = [...s.data]);
515
+ });
516
+ },
517
+ addTranslation(s) {
518
+ return sysTranslationAdd(s).then((t) => t);
519
+ },
520
+ handleCancel() {
521
+ this.visible = !1, this.$refs.ruleForm.resetFields();
522
+ },
523
+ getDictionary(s) {
524
+ return this.$options.filters.dictData(s);
525
+ },
526
+ doEvent(s) {
527
+ let t = s.item.functionName;
528
+ this[t] && this[t]();
529
+ }
530
+ },
531
+ created() {
532
+ this.getAllTableData();
533
+ }
534
+ };
535
+ var F = function() {
536
+ var t = this, a = t._self._c;
537
+ return a("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(r) {
538
+ t.visible = r;
539
+ }, closed: t.handleCancel } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.$i18nt("gd.btn.copy"), fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading, showClose: !0, emitFun: !0 }, on: { changeEvent: t.doEvent, toggleFullscreen: t.togglefullscreen, close: t.handleCancel }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.spinning, expression: "spinning" }] }, [a("div", { class: t.fullscreen ? "modal-bodyq" : "modal-body" }, [a("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "right", model: t.ruleFormData }, nativeOn: { submit: function(r) {
540
+ r.preventDefault();
541
+ } } }, [a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 24 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "0px" }, attrs: { label: t.$i18nt("gd.view.displayName"), prop: "displayName", rules: [{ required: !0, message: t.$i18nt("gd.placeholder.input") }] } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), clearable: "" }, model: { value: t.ruleFormData.displayName, callback: function(r) {
542
+ t.$set(t.ruleFormData, "displayName", r);
543
+ }, expression: "ruleFormData.displayName" } })], 1)], 1), a("el-col", { attrs: { span: 24 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "0px" }, attrs: { label: t.type == 1 ? t.$i18nt("gd.view.viewName") : t.$i18nt("gd.form.formName"), prop: "name", rules: [
544
+ { required: !0, message: t.$i18nt("gd.placeholder.input") },
545
+ { pattern: /^[a-zA-Z]+$/, message: t.$i18nt("gd.view.viewNameTip") }
546
+ ] } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), clearable: "" }, model: { value: t.ruleFormData.name, callback: function(r) {
547
+ t.$set(t.ruleFormData, "name", r);
548
+ }, expression: "ruleFormData.name" } })], 1)], 1), t.type == 1 ? a("el-col", { attrs: { span: 24 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "0px" }, attrs: { label: t.$i18nt("gd.view.type"), prop: "type", rules: [{ required: !0, message: t.$i18nt("gd.placeholder.select") }] } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select"), clearable: "" }, model: { value: t.ruleFormData.type, callback: function(r) {
549
+ t.$set(t.ruleFormData, "type", r);
550
+ }, expression: "ruleFormData.type" } }, t._l(t.getDictionary("view_type"), function(r, i) {
551
+ return a("el-option", { key: i, attrs: { value: r.code, label: r.name } });
552
+ }), 1)], 1)], 1) : t._e(), t.type == 2 ? a("el-col", { attrs: { span: 24 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "0px" }, attrs: { label: t.$i18nt("gd.form.type"), prop: "type", rules: [{ required: !0, message: t.$i18nt("gd.placeholder.select") }] } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select"), clearable: "", disabled: "" }, model: { value: t.ruleFormData.type, callback: function(r) {
553
+ t.$set(t.ruleFormData, "type", r);
554
+ }, expression: "ruleFormData.type" } }, t._l(t.getDictionary("table_form_type"), function(r, i) {
555
+ return a("el-option", { key: i, attrs: { value: r.code, label: r.name } });
556
+ }), 1)], 1)], 1) : t._e(), a("el-col", { attrs: { span: 24 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "0px" }, attrs: { label: t.$i18nt("gd.view.explain") } }, [a("el-input", { attrs: { type: "textarea" }, model: { value: t.ruleFormData.explain, callback: function(r) {
557
+ t.$set(t.ruleFormData, "explain", r);
558
+ }, expression: "ruleFormData.explain" } })], 1)], 1)], 1)], 1)], 1)])], 1);
559
+ }, j = [], S = /* @__PURE__ */ K(
560
+ v,
561
+ F,
562
+ j,
563
+ !1,
564
+ null,
565
+ "5cfc95b1",
566
+ null,
567
+ null
568
+ );
569
+ const P = S.exports;
570
+ export {
571
+ P as default
572
+ };