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,1097 @@
1
+ import { m as f, n as o } from "./components.chartbi.571c5ff5.mjs";
2
+ import { o as u } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
3
+ import { u as c } from "./utils.util.js.333daba2.mjs";
4
+ import { c as v } from "./http.codegeneratemanage.b123bab3.mjs";
5
+ import { s as y } from "./http.configmanage.c23c7fa8.mjs";
6
+ const b = {
7
+ name: "composeAbout",
8
+ props: {
9
+ record: {
10
+ type: Object,
11
+ required: !0
12
+ },
13
+ field: {
14
+ type: Object,
15
+ default: () => {
16
+ }
17
+ },
18
+ statu: {
19
+ type: Boolean,
20
+ default: !1
21
+ },
22
+ mode: {
23
+ type: String,
24
+ default: "add"
25
+ }
26
+ },
27
+ components: {
28
+ composeMiddleConnect: () => Promise.resolve().then(() => G),
29
+ EffectTypeIcon: () => import("./components.xlsximport.81df7841.mjs").then((i) => i.e)
30
+ },
31
+ data() {
32
+ return {
33
+ fkEntityName: [],
34
+ selShow: !0,
35
+ fetching: !1,
36
+ fieldData: [],
37
+ fieldValue: [],
38
+ tableName: "",
39
+ showRecord: !1,
40
+ load: []
41
+ };
42
+ },
43
+ computed: {
44
+ getSysTable() {
45
+ let i = this.fkEntityName.filter((l) => this.fieldValue.filter((a) => a.tablevalue === l)[0] === void 0);
46
+ return this.tableLists.filter((l) => i.includes(l.tablename));
47
+ },
48
+ show() {
49
+ return !(this.fieldValue.length >= this.fkEntityName.length);
50
+ },
51
+ ...f(["language", "tableLists"])
52
+ },
53
+ methods: {
54
+ operateField(i, e) {
55
+ if (this.load.filter((a) => a.ind == e)[0] !== void 0 || this.mode !== "edit")
56
+ return;
57
+ let t = this.tableLists.filter((a) => a.tablename == i.tablevalue)[0];
58
+ this.getField(t, e);
59
+ },
60
+ delItem(i) {
61
+ this.record.fieldvalue = this.record.fieldvalue.filter((e, l) => l !== i), this.fieldValue = this.fieldValue.filter((e, l) => l !== i);
62
+ },
63
+ getFieldData(i) {
64
+ let e = this.record.fieldvalue[i].fieldname, l = this.fieldValue[i].fielddata.filter((t) => t.columnname === e)[0];
65
+ return l === void 0 ? {} : l;
66
+ },
67
+ selectTable(i) {
68
+ let e = this.tableLists.filter((t) => t.tablename == i)[0], l = {
69
+ id: c(),
70
+ pid: this.record.id,
71
+ title: "",
72
+ tablevalue: e.tablename,
73
+ fieldname: "",
74
+ fieldtype: null,
75
+ varnumber: 1e4,
76
+ vartype: this.record.vartype,
77
+ sysvalue: "",
78
+ transkey: null,
79
+ fieldvalue: []
80
+ };
81
+ this.fieldValue = this.fieldValue.concat([
82
+ Object.assign(
83
+ {
84
+ ...l
85
+ },
86
+ {
87
+ fielddata: []
88
+ }
89
+ )
90
+ ]), this.record.fieldvalue = this.record.fieldvalue.concat([l]), this.getField(e, this.fieldValue.length - 1), this.selShow = !0, this.tableName = "";
91
+ },
92
+ changeField(i, e) {
93
+ let l = this.fieldValue[e].fielddata.filter((d) => d.columnname === i)[0], t = this.getFieldType(l), a = this.record.fieldvalue[e], s = c(), n = {
94
+ columncomment: l.columncomment,
95
+ columnname: l.columnname,
96
+ fkentityname: l.fkentityname,
97
+ dicttypecode: l.dicttypecode,
98
+ transkey: l.transkey,
99
+ effecttype: l.effecttype
100
+ }, r = {
101
+ fieldtype: t.code,
102
+ fieldname: i,
103
+ title: l.columncomment,
104
+ transkey: l.transkey,
105
+ fieldvalue: [],
106
+ id: s,
107
+ uiconfig: JSON.stringify(n),
108
+ language: null
109
+ };
110
+ if (t.code != 1) {
111
+ let d = {
112
+ id: "",
113
+ pid: s,
114
+ title: "",
115
+ tablevalue: null,
116
+ fieldname: null,
117
+ fieldtype: null,
118
+ varnumber: 1e4,
119
+ vartype: a.vartype,
120
+ sysvalue: "",
121
+ transkey: null,
122
+ fieldvalue: [],
123
+ language: null
124
+ };
125
+ r = Object.assign(r, {
126
+ fieldvalue: [d]
127
+ });
128
+ }
129
+ this.record.fieldvalue[e] = Object.assign(this.record.fieldvalue[e], r), this.$nextTick(() => {
130
+ setTimeout(() => {
131
+ let d = `composeMiddle${e}`;
132
+ this.$refs[d] && this.$refs[d][0] && this.$refs[d][0].init();
133
+ }, 0);
134
+ });
135
+ },
136
+ getField(i, e) {
137
+ let l = this.load.filter((a) => a.ind != e);
138
+ this.load = l.concat({
139
+ ind: e
140
+ }), this.fetchings = !0, this.mode === "add" && (this.fieldValue[e].fielddata = []);
141
+ let t = {
142
+ codeGenId: i.id
143
+ };
144
+ u(t).then((a) => {
145
+ if (a.code === 200) {
146
+ let s = a.data.filter((n) => !(n.effecttype === "about" || n.effecttype === "participants"));
147
+ this.fieldValue[e].fielddata = s;
148
+ }
149
+ this.fetchings = !1;
150
+ });
151
+ },
152
+ getFieldType(i) {
153
+ return this.getDictionary("Msg_VariableValueType").filter((t) => t.remark.split(",").includes(i.effecttype))[0];
154
+ },
155
+ mouseover() {
156
+ this.selShow = !1;
157
+ },
158
+ init() {
159
+ let i = this.field.fkentityname.split(",");
160
+ this.fkEntityName = i, this.fieldValue = [], this.record.fieldvalue = [];
161
+ },
162
+ seeField() {
163
+ this.load = [];
164
+ let i = JSON.parse(this.record.uiconfig);
165
+ this.fkEntityName = i.fkentityname.split(",");
166
+ let e = [];
167
+ this.record.fieldvalue.forEach((l) => {
168
+ e.push(
169
+ Object.assign(
170
+ {
171
+ ...l
172
+ },
173
+ {
174
+ fielddata: [JSON.parse(l.uiconfig)]
175
+ }
176
+ )
177
+ );
178
+ }), this.fieldValue = e, this.showRecord = !0;
179
+ },
180
+ getDictionary(i) {
181
+ return this.$options.filters.dictData(i);
182
+ }
183
+ },
184
+ created() {
185
+ this.statu ? this.seeField() : (this.showRecord = !0, this.init());
186
+ }
187
+ };
188
+ var _ = function() {
189
+ var e = this, l = e._self._c;
190
+ return e.showRecord ? l("div", [e._l(e.record.fieldvalue, function(t, a) {
191
+ return l("div", { key: a }, [l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: t.tablevalue, callback: function(s) {
192
+ e.$set(t, "tablevalue", s);
193
+ }, expression: "item.tablevalue" } }, e._l(e.tableLists, function(s) {
194
+ return l("el-option", { key: s.tablename, attrs: { value: s.tablename, label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
195
+ }), 1)], 1), l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.statu }, on: { focus: function(s) {
196
+ return e.operateField(t, a);
197
+ }, change: function(s) {
198
+ return e.changeField(s, a);
199
+ } }, model: { value: t.fieldname, callback: function(s) {
200
+ e.$set(t, "fieldname", s);
201
+ }, expression: "item.fieldname" } }, e._l(e.fieldValue[a].fielddata, function(s) {
202
+ return l("el-option", { key: s.columnname, attrs: { value: s.columnname, label: s.columncomment } }, [l("EffectTypeIcon", { attrs: { effectType: s.effecttype } }), l("span", { staticStyle: { "padding-left": "2px" } }, [e._v(e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)) + " (" + e._s(s.columnname) + ")")])], 1);
203
+ }), 1)], 1), e.statu ? e._e() : l("div", { staticClass: "del" }, [l("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "16px", color: "#ff4d4f" }, on: { click: function(s) {
204
+ return e.delItem(a);
205
+ } } })])]), t.fieldvalue && t.fieldvalue.length > 0 ? l("div", { staticClass: "msgfieldb" }, [l("span", { staticClass: "gd-icons gd-icon-icon_shangxiaji", staticStyle: { "font-size": "24px" } }), l("div", { staticClass: "r" }, [l("composeMiddleConnect", { ref: `composeMiddle${a}`, refInFor: !0, attrs: { record: t, field: e.getFieldData(a), statu: e.statu, mode: e.mode } })], 1)]) : e._e()]);
206
+ }), e.show && !e.statu ? l("div", [e.selShow ? l("a", { staticClass: "add", on: { mouseover: e.mouseover } }, [e._v(e._s(e.$i18nt("gd.btn.choice", "\u9009\u62E9")))]) : l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.selectTable }, model: { value: e.tableName, callback: function(t) {
207
+ e.tableName = t;
208
+ }, expression: "tableName" } }, e._l(e.getSysTable, function(t) {
209
+ return l("el-option", { key: t.tablename, attrs: { value: t.tablename, label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")]);
210
+ }), 1)], 1)])]) : e._e()], 2) : e._e();
211
+ }, k = [], $ = /* @__PURE__ */ o(
212
+ b,
213
+ _,
214
+ k,
215
+ !1,
216
+ null,
217
+ "e547049e",
218
+ null,
219
+ null
220
+ );
221
+ const D = $.exports;
222
+ const S = [
223
+ {
224
+ id: 1,
225
+ code: "code",
226
+ name: "\u552F\u4E00\u7F16\u7801",
227
+ transkey: "gd.msg.temPlate.dicCode"
228
+ },
229
+ {
230
+ id: 2,
231
+ code: "id",
232
+ name: "ID",
233
+ transkey: "gd.msg.temPlate.dicId"
234
+ },
235
+ {
236
+ id: 3,
237
+ code: "value",
238
+ name: "\u5B57\u5178\u503C",
239
+ transkey: "gd.msg.temPlate.dicName"
240
+ },
241
+ {
242
+ id: 4,
243
+ code: "remark",
244
+ name: "\u5907\u6CE8",
245
+ transkey: "gd.msg.temPlate.dicRemark"
246
+ }
247
+ ], V = {
248
+ name: "composeMiddle",
249
+ props: {
250
+ record: {
251
+ type: Object,
252
+ required: !0
253
+ },
254
+ field: {
255
+ type: Object,
256
+ default: () => {
257
+ }
258
+ },
259
+ statu: {
260
+ type: Boolean,
261
+ default: !1
262
+ },
263
+ mode: {
264
+ type: String,
265
+ default: "add"
266
+ }
267
+ },
268
+ data() {
269
+ return {
270
+ dicData: S,
271
+ fieldData: [],
272
+ fetching: !1,
273
+ languages: "zh_CN",
274
+ fieldName: "",
275
+ fieldDicName: "",
276
+ load: !1
277
+ };
278
+ },
279
+ components: {
280
+ composeAbout: D,
281
+ EffectTypeIcon: () => import("./components.xlsximport.81df7841.mjs").then((i) => i.e)
282
+ },
283
+ computed: {
284
+ getFieldData() {
285
+ if (this.fieldData.length === 0)
286
+ return {};
287
+ let i = this.fieldData.filter((e) => e.columnname === this.fieldName)[0];
288
+ return i || {};
289
+ },
290
+ show() {
291
+ let i = this.record.fieldvalue;
292
+ return i.length == 0 || !i[0].fieldtype ? !1 : i[0].fieldtype != 1;
293
+ },
294
+ getSysTable() {
295
+ let i = this.field.fkentityname ? this.field.fkentityname.split(",") : [];
296
+ return this.tableLists.filter((l) => i.includes(l.tablename));
297
+ },
298
+ getSysDictionary() {
299
+ return this.$options.filters.dictDataAll().filter((l) => l.code === this.field.dicttypecode);
300
+ },
301
+ ...f(["language", "tableLists"])
302
+ },
303
+ methods: {
304
+ operateField() {
305
+ this.load || this.mode === "edit" && this.getField();
306
+ },
307
+ seeField() {
308
+ this.load = !1, this.record.fieldtype == 2 ? (this.fieldDicName = this.record.fieldvalue[0].fieldname, this.languages = this.record.fieldvalue[0].language, this.fieldName = this.record.fieldname) : this.record.fieldtype == 3 ? (this.fieldName = this.record.fieldvalue[0].fieldname, this.tableListData = [...this.tableLists], this.fieldData = [JSON.parse(this.record.fieldvalue[0].uiconfig)]) : (this.record.fieldtype == 4 || this.record.fieldtype == 5) && this.record.fieldvalue.forEach((i, e) => {
309
+ this.record.fieldvalue[e] = Object.assign(i, {
310
+ fielddata: []
311
+ });
312
+ });
313
+ },
314
+ init() {
315
+ if (this.record.fieldtype == 2) {
316
+ this.fieldDicName = "code", this.languages = "zh_CN", this.selDict();
317
+ return;
318
+ }
319
+ this.record.fieldtype == 3 && (this.fieldName = "", this.getField());
320
+ },
321
+ selDict() {
322
+ let i = this.record.fieldvalue[0], e = Object.assign(i, {
323
+ id: c(),
324
+ tablevalue: "sysDictType",
325
+ fieldname: this.fieldDicName,
326
+ language: this.languages,
327
+ uiconfig: null
328
+ });
329
+ this.record.fieldvalue = [e];
330
+ },
331
+ changeField(i) {
332
+ let e = this.fieldData.filter((n) => n.columnname === i)[0], l = this.getFieldType(e), t = c(), a = {
333
+ columncomment: e.columncomment,
334
+ columnname: e.columnname,
335
+ fkentityname: e.fkentityname,
336
+ dicttypecode: e.dicttypecode,
337
+ transkey: e.transkey,
338
+ effecttype: e.effecttype
339
+ }, s = {
340
+ fieldtype: l.code,
341
+ fieldname: i,
342
+ title: e.columncomment,
343
+ transkey: e.transkey,
344
+ fieldvalue: [],
345
+ id: t,
346
+ tablevalue: this.getSysTable[0].tablename,
347
+ uiconfig: JSON.stringify(a),
348
+ language: null
349
+ };
350
+ if (l.code != 1) {
351
+ let n = {
352
+ id: "",
353
+ pid: t,
354
+ title: "",
355
+ tablevalue: null,
356
+ fieldname: null,
357
+ fieldtype: null,
358
+ varnumber: 1e3,
359
+ vartype: this.record.vartype,
360
+ sysvalue: "",
361
+ transkey: null,
362
+ fieldvalue: [],
363
+ language: null,
364
+ uiconfig: null
365
+ };
366
+ s = Object.assign(s, {
367
+ fieldvalue: [n]
368
+ });
369
+ }
370
+ this.record.fieldvalue = [Object.assign(this.record.fieldvalue[0], s)], this.$nextTick(() => {
371
+ setTimeout(() => {
372
+ this.$refs.composeMiddle && this.$refs.composeMiddle.init();
373
+ }, 0);
374
+ });
375
+ },
376
+ getField(i) {
377
+ this.load = !0, this.fetching = !0;
378
+ let e = {
379
+ codeGenId: i || this.getSysTable[0].id
380
+ };
381
+ u(e).then((l) => {
382
+ if (l.code === 200) {
383
+ let t = l.data.filter((a) => !(a.effecttype == "about" && a.columnname == (a.relations + "_AboutTable").toLowerCase()));
384
+ this.fieldData = t;
385
+ }
386
+ this.fetching = !1;
387
+ });
388
+ },
389
+ getFieldType(i) {
390
+ return this.getDictionary("Msg_VariableValueType").filter((t) => t.remark.split(",").includes(i.effecttype))[0];
391
+ },
392
+ getDictionary(i) {
393
+ return this.$options.filters.dictData(i);
394
+ },
395
+ filterOption(i, e) {
396
+ return e.componentOptions.children[0].text.toLowerCase().indexOf(i.toLowerCase()) >= 0;
397
+ }
398
+ },
399
+ mounted() {
400
+ this.statu && this.seeField();
401
+ }
402
+ };
403
+ var C = function() {
404
+ var e = this, l = e._self._c;
405
+ return l("div", [e.record.fieldtype == 2 ? l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: e.field.dicttypecode, callback: function(t) {
406
+ e.$set(e.field, "dicttypecode", t);
407
+ }, expression: "field.dicttypecode" } }, e._l(e.getSysDictionary, function(t) {
408
+ return l("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
409
+ }), 1)], 1), l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: e.statu }, on: { change: e.selDict }, model: { value: e.fieldDicName, callback: function(t) {
410
+ e.fieldDicName = t;
411
+ }, expression: "fieldDicName" } }, e._l(e.dicData, function(t) {
412
+ return l("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
413
+ }), 1)], 1), l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: e.statu }, on: { change: e.selDict }, model: { value: e.languages, callback: function(t) {
414
+ e.languages = t;
415
+ }, expression: "languages" } }, [l("el-option", { attrs: { label: e.$i18nt("gd.settings.chineseLanguage", "\u7B80\u4F53\u4E2D\u6587"), value: "zh_CN" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.englishLanguage", "English (USA)"), value: "en_US" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.vietnamLanguage", "Ti\u1EBFng Vi\u1EC7t"), value: "vi_VN" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.indonesiaLanguage", "Indonesia"), value: "id_ID" } })], 1)], 1)]) : e._e(), e.record.fieldtype == 3 ? [l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: e.field.fkentityname, callback: function(t) {
416
+ e.$set(e.field, "fkentityname", t);
417
+ }, expression: "field.fkentityname" } }, e._l(e.getSysTable, function(t) {
418
+ return l("el-option", { key: t.tablename, attrs: { value: t.tablename, label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")]);
419
+ }), 1)], 1), l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.statu }, on: { focus: e.operateField, change: e.changeField }, model: { value: e.fieldName, callback: function(t) {
420
+ e.fieldName = t;
421
+ }, expression: "fieldName" } }, e._l(e.fieldData, function(t) {
422
+ return l("el-option", { key: t.columnname, attrs: { value: t.columnname, label: e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment) } }, [l("EffectTypeIcon", { attrs: { effectType: t.effecttype } }), l("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment)) + " (" + e._s(t.columnname) + ") ")])], 1);
423
+ }), 1)], 1)]), l("div", { staticStyle: { "padding-left": "12px" } }, [e.show ? l("composeMiddle", { ref: "composeMiddle", attrs: { record: e.record.fieldvalue[0], field: e.getFieldData, statu: e.statu, mode: e.mode } }) : e._e()], 1)] : e._e(), e.record.fieldtype == 4 || e.record.fieldtype == 5 ? l("composeAbout", { attrs: { record: e.record, field: e.field, statu: e.statu, mode: e.mode } }) : e._e()], 2);
424
+ }, T = [], F = /* @__PURE__ */ o(
425
+ V,
426
+ C,
427
+ T,
428
+ !1,
429
+ null,
430
+ "e7315fa3",
431
+ null,
432
+ null
433
+ );
434
+ const N = F.exports;
435
+ const x = {
436
+ props: {
437
+ statu: {
438
+ type: Boolean,
439
+ default: !1
440
+ },
441
+ record: {
442
+ type: Object,
443
+ default: () => {
444
+ }
445
+ },
446
+ mode: {
447
+ type: String,
448
+ default: "add"
449
+ }
450
+ },
451
+ data() {
452
+ return {
453
+ ind: 0,
454
+ varType: "1",
455
+ sysValue: "",
456
+ tableValue: "",
457
+ field: "",
458
+ tableListData: [],
459
+ fetching: !1,
460
+ fetchings: !1,
461
+ fieldValue: [],
462
+ id: "",
463
+ fieldData: [],
464
+ load: !1,
465
+ sysConfigDate: [],
466
+ sysconfigid: "",
467
+ cachekey: ""
468
+ };
469
+ },
470
+ components: {
471
+ composeMiddle: N,
472
+ EffectTypeIcon: () => import("./components.xlsximport.81df7841.mjs").then((i) => i.e)
473
+ },
474
+ computed: {
475
+ getMsgTemp() {
476
+ return this.getDictionary("msg_temp").filter((e) => this.statu ? e.code == this.varType : !0);
477
+ },
478
+ getFieldData() {
479
+ if (this.fieldData.length === 0)
480
+ return {};
481
+ let i = this.fieldData.filter((e) => e.columnname === this.field)[0];
482
+ return i === void 0 ? {} : i;
483
+ },
484
+ show() {
485
+ return this.fieldValue.length == 0 || !this.fieldValue[0].fieldtype ? !1 : this.fieldValue[0].fieldtype != 1;
486
+ },
487
+ ...f(["language", "tableLists"])
488
+ },
489
+ methods: {
490
+ operateField() {
491
+ this.load || this.mode === "edit" && this.getField();
492
+ },
493
+ changeField(i) {
494
+ let e = this.fieldData.filter((n) => n.columnname === i)[0], l = this.getFieldType(e), t = this.fieldValue[0], a = {
495
+ columncomment: e.columncomment,
496
+ columnname: e.columnname,
497
+ fkentityname: e.fkentityname,
498
+ dicttypecode: e.dicttypecode,
499
+ transkey: e.transkey,
500
+ effecttype: e.effecttype
501
+ }, s = {
502
+ fieldtype: l.code,
503
+ fieldname: i,
504
+ title: e.columncomment,
505
+ transkey: e.transkey,
506
+ fieldvalue: [],
507
+ uiconfig: JSON.stringify(a),
508
+ language: null
509
+ };
510
+ if (l.code != 1) {
511
+ let n = {
512
+ id: "",
513
+ pid: t.id,
514
+ title: "",
515
+ tablevalue: null,
516
+ fieldname: null,
517
+ fieldtype: "1",
518
+ varnumber: 1e4,
519
+ vartype: t.vartype,
520
+ sysvalue: "",
521
+ transkey: null,
522
+ fieldvalue: [],
523
+ language: null
524
+ };
525
+ s = Object.assign(s, {
526
+ fieldvalue: [n]
527
+ });
528
+ }
529
+ this.fieldValue = [Object.assign(this.fieldValue[0], s)], this.$nextTick(() => {
530
+ setTimeout(() => {
531
+ this.$refs.composeMiddle && this.$refs.composeMiddle.init();
532
+ }, 0);
533
+ });
534
+ },
535
+ getField(i) {
536
+ this.load = !0, this.fieldData = [];
537
+ let e = this.tableLists.filter((t) => t.tablename == this.fieldValue[0].tablevalue)[0], l = {
538
+ codeGenId: i || e.id
539
+ };
540
+ u(l).then((t) => {
541
+ if (t.code === 200) {
542
+ let a = t.data.filter((s) => !(s.effecttype == "about" && s.columnname == (s.relations + "_AboutTable").toLowerCase()));
543
+ this.fieldData = a;
544
+ }
545
+ });
546
+ },
547
+ changeTable(i) {
548
+ let e = this.tableLists.filter((t) => t.tablename == i)[0], l = {
549
+ id: c(),
550
+ pid: 0,
551
+ title: "",
552
+ tablevalue: e.tablename,
553
+ fieldname: null,
554
+ fieldtype: null,
555
+ varnumber: 1e4,
556
+ vartype: this.varType,
557
+ sysvalue: "",
558
+ transkey: null,
559
+ fieldvalue: []
560
+ };
561
+ this.fieldValue = [l], this.field = "", this.getField();
562
+ },
563
+ searchTable(i) {
564
+ return this.fetching = !0, this.tableListData = [], v({
565
+ busName: i
566
+ }).then((e) => {
567
+ this.fetching = !1, this.tableListData = e.data;
568
+ });
569
+ },
570
+ selectSys(i) {
571
+ let e = this.getDictionary("msg_type_sys").filter((t) => t.code == i)[0], l = {
572
+ id: c(),
573
+ pid: 0,
574
+ title: e.name,
575
+ tablevalue: "",
576
+ fieldtype: null,
577
+ fieldname: null,
578
+ varnumber: 1e4,
579
+ vartype: this.varType,
580
+ sysvalue: i,
581
+ transkey: e.transkey,
582
+ fieldvalue: [],
583
+ uiconfig: ""
584
+ };
585
+ this.fieldValue = [l], this.fieldValue[0].sysvalue == 5 ? (this.fieldValue[0].cachekey = "", this.cachekey = "") : this.fieldValue[0].sysvalue == 4 && (this.fieldValue[0].cachekey = "", this.cachekey = "", this.fieldValue[0].sysconfigid = "", this.sysconfigid = "", y({ pageNo: 1, pageSize: 100 }).then((t) => {
586
+ t.code === 200 && (this.sysConfigDate = t.data.rows);
587
+ }));
588
+ },
589
+ addField(i) {
590
+ this.fieldData = [], this.fieldValue = [], this.varType = "1", this.sysValue = "", this.tableValue = "", this.field = "", this.ind = i, this.tableListData = [...this.tableLists];
591
+ },
592
+ seeField() {
593
+ this.load = !1, this.varType = String(this.record.vartype), this.sysValue = this.record.sysvalue ? this.record.sysvalue : "", this.tableValue = this.record.tablevalue ? this.record.tablevalue : "", this.field = this.record.fieldname, this.fieldValue = [this.record], this.tableListData = [...this.tableLists], this.fieldData = this.record.uiconfig ? [JSON.parse(this.record.uiconfig)] : [], this.fieldValue[0].sysvalue == 5 ? this.cachekey = this.fieldValue[0].cachekey ? this.fieldValue[0].cachekey : "" : this.fieldValue[0].sysvalue == 4 && (this.sysconfigid = this.fieldValue[0].sysconfigid ? this.fieldValue[0].sysconfigid : "", y({ pageNo: 1, pageSize: 100 }).then((i) => {
594
+ i.code === 200 && (this.sysConfigDate = i.data.rows);
595
+ }));
596
+ },
597
+ getFieldType(i) {
598
+ return this.getDictionary("Msg_VariableValueType").filter((t) => t.remark.split(",").includes(i.effecttype))[0];
599
+ },
600
+ getDictionary(i) {
601
+ return this.$options.filters.dictData(i);
602
+ },
603
+ selectSysvartype() {
604
+ this.fieldValue[0].sysconfigid = this.sysconfigid;
605
+ },
606
+ handleCacheKeyChange() {
607
+ this.fieldValue[0].cachekey = this.cachekey;
608
+ }
609
+ },
610
+ mounted() {
611
+ this.statu && this.seeField();
612
+ }
613
+ };
614
+ var w = function() {
615
+ var e = this, l = e._self._c;
616
+ return l("div", [l("div", { staticClass: "vartype" }, [l("el-radio-group", { attrs: { "button-style": "solid" }, model: { value: e.varType, callback: function(t) {
617
+ e.varType = t;
618
+ }, expression: "varType" } }, [e._l(e.getMsgTemp, function(t) {
619
+ return [l("el-radio-button", { attrs: { label: t.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)) + " ")])];
620
+ })], 2), l("div", [e._t("operate")], 2)], 1), e.varType == 2 ? [l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.varType, callback: function(t) {
621
+ e.varType = t;
622
+ }, expression: "varType" } }, e._l(e.getDictionary("msg_temp"), function(t, a) {
623
+ return l("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
624
+ }), 1)], 1), l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: e.statu, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.selectSys }, model: { value: e.sysValue, callback: function(t) {
625
+ e.sysValue = t;
626
+ }, expression: "sysValue" } }, e._l(e.getDictionary("msg_type_sys"), function(t, a) {
627
+ return l("el-option", { key: a, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
628
+ }), 1)], 1)])] : e._e(), e.varType == 2 ? l("div", { staticClass: "msgsys" }, [e.fieldValue.length > 0 && e.fieldValue[0].sysvalue == 5 ? l("div", [l("el-input", { staticStyle: { width: "100%" }, attrs: { disabled: e.statu, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, on: { change: e.handleCacheKeyChange }, model: { value: e.cachekey, callback: function(t) {
629
+ e.cachekey = t;
630
+ }, expression: "cachekey" } })], 1) : e._e(), e.fieldValue.length > 0 && e.fieldValue[0].sysvalue == 4 ? l("div", [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: e.statu, filterable: "" }, on: { change: e.selectSysvartype }, model: { value: e.sysconfigid, callback: function(t) {
631
+ e.sysconfigid = t;
632
+ }, expression: "sysconfigid" } }, e._l(e.sysConfigDate, function(t) {
633
+ return l("el-option", { key: t.id, attrs: { value: t.id, label: t.name } }, [l("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(t.name) + " ")])]);
634
+ }), 1)], 1) : e._e()]) : e._e(), e.varType == 1 ? [l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", clearable: "", disabled: e.statu, "remote-method": e.searchTable }, on: { change: e.changeTable }, model: { value: e.tableValue, callback: function(t) {
635
+ e.tableValue = t;
636
+ }, expression: "tableValue" } }, e._l(e.tableListData, function(t, a) {
637
+ return l("el-option", { key: t.tablename, attrs: { value: t.tablename, label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")]);
638
+ }), 1)], 1), l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.statu || !e.tableValue }, on: { focus: e.operateField, change: e.changeField }, model: { value: e.field, callback: function(t) {
639
+ e.field = t;
640
+ }, expression: "field" } }, e._l(e.fieldData, function(t) {
641
+ return l("el-option", { key: t.columnname, attrs: { value: t.columnname, label: e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment) } }, [l("EffectTypeIcon", { attrs: { effectType: t.effecttype } }), l("span", { staticStyle: { "padding-left": "2px" } }, [e._v(e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment)) + " (" + e._s(t.columnname) + ")")])], 1);
642
+ }), 1)], 1)])] : e._e(), l("div", { directives: [{ name: "show", rawName: "v-show", value: e.varType == 1, expression: "varType == 1" }], staticStyle: { "padding-left": "12px" } }, [e.show ? l("composeMiddle", { ref: "composeMiddle", attrs: { record: e.fieldValue[0], field: e.getFieldData, statu: e.statu, mode: e.mode } }) : e._e()], 1)], 2);
643
+ }, O = [], L = /* @__PURE__ */ o(
644
+ x,
645
+ w,
646
+ O,
647
+ !1,
648
+ null,
649
+ "ea6ee1da",
650
+ null,
651
+ null
652
+ );
653
+ const p = L.exports;
654
+ const j = {
655
+ props: {
656
+ item: {
657
+ type: Object,
658
+ required: !0
659
+ }
660
+ },
661
+ components: {
662
+ composeField: p
663
+ },
664
+ data() {
665
+ return {
666
+ statu: !0,
667
+ list: [],
668
+ fullscreen: !1,
669
+ width: "700px"
670
+ };
671
+ },
672
+ computed: {
673
+ styled() {
674
+ return `color:${this.primaryColor};`;
675
+ },
676
+ ...f(["primaryColor"])
677
+ },
678
+ methods: {
679
+ edit(i, e) {
680
+ let l = this.list.filter((a) => a.index !== e);
681
+ this.list = l.concat({
682
+ index: e,
683
+ data: JSON.stringify(i)
684
+ });
685
+ let t = [...this.item.fieldjsons];
686
+ t[e].statu = !1, this.item.fieldjsons = [...t];
687
+ },
688
+ cancel(i, e) {
689
+ let l = this.list.filter((s) => s.index === e);
690
+ this.list = this.list.filter((s) => s.index !== e);
691
+ let t = [...this.item.fieldjsons];
692
+ t[e] = Object.assign(JSON.parse(l[0].data), {
693
+ statu: !0
694
+ }), this.item.fieldjsons = [...t];
695
+ let a = `composeField${e}`;
696
+ this.$nextTick(() => {
697
+ setTimeout(() => {
698
+ this.$refs[a][0].seeField();
699
+ }, 0);
700
+ });
701
+ },
702
+ save(i, e) {
703
+ let l = `composeField${e}`, t = JSON.stringify(this.$refs[l][0].fieldValue[0]), a = this.traverseData(e), s = this.list.filter((m) => m.index === e)[0], n = JSON.parse(s.data), r = `[${n.varnumber}-${n.title}]`;
704
+ if (!this.isChecked(a.list)) {
705
+ this.$message.error(this.$i18nt("gd.flow.approval.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
706
+ return;
707
+ }
708
+ let d = [...this.item.fieldjsons];
709
+ d[e] = Object.assign(JSON.parse(t), {
710
+ statu: !0,
711
+ varnumber: n.varnumber,
712
+ title: a.arr.title,
713
+ transkey: a.arr.transkey
714
+ }), this.item.fieldjsons = [...d];
715
+ let h = this.item.content.replace(r, `[${n.varnumber}-${a.arr.title}]`), g = h.replace(/\[/g, "<a class='varkey'>[");
716
+ this.item.content = h, this.item.html = g.replace(/\]/g, "]</a>"), this.list = this.list.filter((m) => m.index !== e), this.$nextTick(() => {
717
+ setTimeout(() => {
718
+ this.$refs[l][0].seeField();
719
+ }, 10);
720
+ });
721
+ },
722
+ isChecked(i) {
723
+ return i.every((e, l, t) => {
724
+ let a = e.vartype == 1 ? e.tablevalue : e.sysvalue, s = e.vartype == 1 ? e.fieldname : e.sysvalue;
725
+ return !!(a && s);
726
+ });
727
+ },
728
+ traverseData(i) {
729
+ let e = [], l = `composeField${i}`, t = this.$refs[l][0].fieldValue[0], a = ["2", "4", "5"], s = !a.includes(String(t.fieldtype));
730
+ const n = (r) => (r = r.filter((d, h) => (d.fieldvalue && d.fieldvalue.length === 1 && s && (t = String(d.fieldtype) === "3" ? d.fieldvalue[0] : d), s && (s = !a.includes(String(d.fieldtype))), e.push(d), d.fieldvalue = n(d.fieldvalue), !0)), r);
731
+ return n(this.$refs[l][0].fieldValue), {
732
+ list: e,
733
+ arr: t
734
+ };
735
+ },
736
+ headerTitle(i) {
737
+ return this.$i18nt(`Dynamics.${i.transkey}`, i.title);
738
+ },
739
+ closed(i) {
740
+ if (this.item.fieldjsons) {
741
+ let e = [...this.item.fieldjsons];
742
+ e.forEach((l, t) => {
743
+ if (l.statu !== void 0 && !l.statu) {
744
+ let a = this.list.filter((s) => s.index === t)[0];
745
+ e[t] = Object.assign(JSON.parse(a.data), {
746
+ statu: !0
747
+ });
748
+ }
749
+ }), this.item.fieldjsons = [...e];
750
+ }
751
+ this.list = [], this.$emit("close");
752
+ }
753
+ }
754
+ };
755
+ var M = function() {
756
+ var e = this, l = e._self._c;
757
+ return l("el-drawer", { attrs: { title: e.item.name, size: "560px", visible: e.item.showfield, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, "custom-class": "gd-drawer" }, on: { close: e.closed } }, [l("el-card", { attrs: { shadow: "hover" } }, [l("el-collapse", { staticStyle: { border: "0" } }, e._l(e.item.fieldjsons, function(t, a) {
758
+ return l("el-collapse-item", { key: a, staticClass: "showdoc", attrs: { title: `${t.varnumber}-${e.headerTitle(t)}` } }, [e.item.showfield ? l("composeField", { ref: `composeField${a}`, refInFor: !0, attrs: { record: t, statu: t.statu === void 0 ? !0 : t.statu, mode: t.statu === void 0 || t.statu ? "look" : "edit" } }, [l("template", { slot: "operate" }, [t.statu === void 0 || t.statu ? l("el-button", { attrs: { type: "primary", icon: "el-icon-edit", size: "mini" }, on: { click: function(s) {
759
+ return e.edit(t, a);
760
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit", "\u7F16\u8F91")) + " ")]) : e._e(), t.statu !== void 0 && !t.statu ? l("el-button", { staticStyle: { "margin-right": "10px" }, attrs: { size: "mini", icon: "el-icon-back" }, on: { click: function(s) {
761
+ return e.cancel(t, a);
762
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.cancel", "\u53D6\u6D88")) + " ")]) : e._e(), t.statu !== void 0 && !t.statu ? l("el-button", { attrs: { type: "primary", size: "mini", icon: "el-icon-document-checked" }, on: { click: function(s) {
763
+ return e.save(t, a);
764
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.confirm", "\u786E\u5B9A")) + " ")]) : e._e()], 1)], 2) : e._e(), l("div", { staticClass: "flex-between" })], 1);
765
+ }), 1)], 1)], 1);
766
+ }, E = [], I = /* @__PURE__ */ o(
767
+ j,
768
+ M,
769
+ E,
770
+ !1,
771
+ null,
772
+ "fad4cb10",
773
+ null,
774
+ null
775
+ );
776
+ const ee = I.exports;
777
+ const J = {
778
+ name: "composeMiddleConnect",
779
+ props: {
780
+ record: {
781
+ type: Object,
782
+ required: !0
783
+ },
784
+ field: {
785
+ type: Object,
786
+ default: () => {
787
+ }
788
+ },
789
+ statu: {
790
+ type: Boolean,
791
+ default: !1
792
+ },
793
+ mode: {
794
+ type: String,
795
+ default: "add"
796
+ }
797
+ },
798
+ data() {
799
+ return {
800
+ dicData,
801
+ fieldData: [],
802
+ fetching: !1,
803
+ languages: "zh_CN",
804
+ fieldName: "",
805
+ fieldDicName: "",
806
+ load: !1
807
+ };
808
+ },
809
+ components: {
810
+ EffectTypeIcon: () => import("./components.xlsximport.81df7841.mjs").then((i) => i.e)
811
+ },
812
+ computed: {
813
+ dicData() {
814
+ return [
815
+ {
816
+ id: 1,
817
+ code: "code",
818
+ name: "\u552F\u4E00\u7F16\u7801",
819
+ transkey: "gd.msg.temPlate.dicCode"
820
+ },
821
+ {
822
+ id: 2,
823
+ code: "id",
824
+ name: "ID",
825
+ transkey: "gd.msg.temPlate.dicId"
826
+ },
827
+ {
828
+ id: 3,
829
+ code: "value",
830
+ name: "\u5B57\u5178\u503C",
831
+ transkey: "gd.msg.temPlate.dicName"
832
+ },
833
+ {
834
+ id: 4,
835
+ code: "remark",
836
+ name: "\u5907\u6CE8",
837
+ transkey: "gd.msg.temPlate.dicRemark"
838
+ }
839
+ ];
840
+ },
841
+ getFieldData() {
842
+ let i = this.fieldData.filter((e) => e.columnname === this.fieldName)[0];
843
+ return i === void 0 ? {} : i;
844
+ },
845
+ show() {
846
+ let i = this.record.fieldvalue;
847
+ return i.length == 0 || !i[0].fieldtype ? !1 : i[0].fieldtype != 1;
848
+ },
849
+ getSysTable() {
850
+ let i = this.field.fkentityname ? this.field.fkentityname.split(",") : [];
851
+ return this.tableLists.filter((l) => i.includes(l.tablename));
852
+ },
853
+ getSysDictionary() {
854
+ return this.$options.filters.dictDataAll().filter((l) => l.code === this.field.dicttypecode);
855
+ },
856
+ ...f(["language", "tableLists"])
857
+ },
858
+ methods: {
859
+ operateField() {
860
+ this.load || this.mode === "edit" && this.getField();
861
+ },
862
+ seeField() {
863
+ this.load = !1, this.record.fieldtype == 2 ? (this.fieldDicName = this.record.fieldvalue[0].fieldname, this.languages = this.record.fieldvalue[0].language, this.fieldName = this.record.fieldname) : this.record.fieldtype == 3 ? (this.fieldName = this.record.fieldvalue[0].fieldname, this.tableListData = [...this.tableLists], this.fieldData = [JSON.parse(this.record.fieldvalue[0].uiconfig)]) : (this.record.fieldtype == 4 || this.record.fieldtype == 5) && this.record.fieldvalue.forEach((i, e) => {
864
+ this.record.fieldvalue[e] = Object.assign(i, {
865
+ fielddata: []
866
+ });
867
+ });
868
+ },
869
+ init() {
870
+ if (this.record.fieldtype == 2) {
871
+ this.fieldDicName = "code", this.languages = "zh_CN", this.selDict();
872
+ return;
873
+ }
874
+ this.record.fieldtype == 3 && (this.fieldName = "", this.getField());
875
+ },
876
+ selDict() {
877
+ let i = this.record.fieldvalue[0], e = Object.assign(i, {
878
+ id: c(),
879
+ tablevalue: "sysDictType",
880
+ fieldname: this.fieldDicName,
881
+ language: this.languages,
882
+ uiconfig: null
883
+ });
884
+ this.record.fieldValue = [e];
885
+ },
886
+ changeField(i) {
887
+ let e = this.fieldData.filter((n) => n.columnname === i)[0], l = this.getFieldType(e), t = c(), a = {
888
+ columncomment: e.columncomment,
889
+ columnname: e.columnname,
890
+ fkentityname: e.fkentityname,
891
+ dicttypecode: e.dicttypecode,
892
+ transkey: e.transkey,
893
+ effecttype: e.effecttype
894
+ }, s = {
895
+ fieldtype: l.code,
896
+ fieldname: i,
897
+ title: e.columncomment,
898
+ transkey: e.transkey,
899
+ fieldvalue: [],
900
+ id: t,
901
+ tablevalue: this.getSysTable[0].tablename,
902
+ uiconfig: JSON.stringify(a),
903
+ language: null
904
+ };
905
+ if (l.code != 1) {
906
+ let n = {
907
+ id: "",
908
+ pid: t,
909
+ title: "",
910
+ tablevalue: null,
911
+ fieldname: null,
912
+ fieldtype: null,
913
+ varnumber: 1e4,
914
+ vartype: this.record.vartype,
915
+ sysvalue: "",
916
+ transkey: null,
917
+ fieldvalue: [],
918
+ uiconfig: null,
919
+ language: null
920
+ };
921
+ s = Object.assign(s, {
922
+ fieldvalue: [n]
923
+ });
924
+ }
925
+ this.record.fieldvalue = [Object.assign(this.record.fieldvalue[0], s)], this.$nextTick(() => {
926
+ setTimeout(() => {
927
+ this.$refs.composeMiddleConnect && this.$refs.composeMiddleConnect.init();
928
+ }, 0);
929
+ });
930
+ },
931
+ getField() {
932
+ this.load = !0, this.fetching = !0;
933
+ let i = {
934
+ codeGenId: this.getSysTable[0].id
935
+ }, e = ["about", "participants", "fk", "user"];
936
+ u(i).then((l) => {
937
+ if (l.code === 200) {
938
+ let t = l.data.filter((a) => !e.includes(a.effecttype));
939
+ this.fieldData = t;
940
+ }
941
+ this.fetching = !1;
942
+ });
943
+ },
944
+ getFieldType(i) {
945
+ return this.getDictionary("Msg_VariableValueType").filter((t) => t.remark.split(",").includes(i.effecttype))[0];
946
+ },
947
+ getDictionary(i) {
948
+ return this.$options.filters.dictData(i);
949
+ }
950
+ },
951
+ mounted() {
952
+ this.statu && this.seeField();
953
+ }
954
+ };
955
+ var z = function() {
956
+ var e = this, l = e._self._c;
957
+ return l("div", [e.record.fieldtype == 2 ? l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: e.field.dicttypecode, callback: function(t) {
958
+ e.$set(e.field, "dicttypecode", t);
959
+ }, expression: "field.dicttypecode" } }, e._l(e.getSysDictionary, function(t) {
960
+ return l("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } }, [l("span", [e._v(e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)) + " " + e._s(t.code))])]);
961
+ }), 1)], 1), l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: e.statu }, on: { change: e.selDict }, model: { value: e.fieldDicName, callback: function(t) {
962
+ e.fieldDicName = t;
963
+ }, expression: "fieldDicName" } }, e._l(e.dicData, function(t) {
964
+ return l("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } }, [l("span", [e._v(e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)) + " " + e._s(t.code))])]);
965
+ }), 1)], 1), l("div", { staticClass: "r" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: e.statu }, on: { change: e.selDict }, model: { value: e.languages, callback: function(t) {
966
+ e.languages = t;
967
+ }, expression: "languages" } }, [l("el-option", { attrs: { label: e.$i18nt("gd.settings.chineseLanguage", "\u7B80\u4F53\u4E2D\u6587"), value: "zh_CN" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.englishLanguage", "English (USA)"), value: "en_US" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.vietnamLanguage", "Ti\u1EBFng Vi\u1EC7t"), value: "vi_VN" } }), l("el-option", { attrs: { label: e.$i18nt("gd.settings.indonesiaLanguage", "Indonesia"), value: "id_ID" } })], 1)], 1)]) : e._e(), e.record.fieldtype == 3 ? [l("div", { staticClass: "msgfield" }, [l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: e.field.fkentityname, callback: function(t) {
968
+ e.$set(e.field, "fkentityname", t);
969
+ }, expression: "field.fkentityname" } }, e._l(e.getSysTable, function(t) {
970
+ return l("el-option", { key: t.tablename, attrs: { value: t.tablename, label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")]);
971
+ }), 1)], 1), l("div", { staticClass: "l" }, [l("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.statu }, on: { focus: e.operateField, change: e.changeField }, model: { value: e.fieldName, callback: function(t) {
972
+ e.fieldName = t;
973
+ }, expression: "fieldName" } }, e._l(e.fieldData, function(t) {
974
+ return l("el-option", { key: t.columnname, attrs: { value: t.columnname, label: e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment) } }, [l("EffectTypeIcon", { attrs: { effectType: t.effecttype } }), l("span", { staticStyle: { "padding-left": "2px" } }, [e._v(e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment)) + " (" + e._s(t.columnname) + ")")])], 1);
975
+ }), 1)], 1)]), e.show ? l("composeMiddleConnect", { ref: "composeMiddleConnect", attrs: { record: e.record.fieldvalue[0], field: e.getFieldData, statu: e.statu, mode: e.mode } }) : e._e()] : e._e()], 2);
976
+ }, P = [], R = /* @__PURE__ */ o(
977
+ J,
978
+ z,
979
+ P,
980
+ !1,
981
+ null,
982
+ "6baf81af",
983
+ null,
984
+ null
985
+ );
986
+ const A = R.exports, G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
987
+ __proto__: null,
988
+ default: A
989
+ }, Symbol.toStringTag, { value: "Module" }));
990
+ const q = {
991
+ props: {
992
+ tempData: {
993
+ type: Array,
994
+ required: !0
995
+ }
996
+ },
997
+ components: {
998
+ composeField: p
999
+ },
1000
+ data() {
1001
+ return {
1002
+ sysViewButtons: [
1003
+ {
1004
+ displayName: "\u786E\u5B9A",
1005
+ functionName: "handleSubmit",
1006
+ transKey: "gd.btn.confirm",
1007
+ icon: "el-icon-document-checked",
1008
+ show: !0
1009
+ }
1010
+ ],
1011
+ spinning: !1,
1012
+ visible: !1,
1013
+ confirmLoading: !1,
1014
+ width: "800",
1015
+ fullscreen: !1,
1016
+ title: this.$i18nt("gd.msg.temPlate.fieldConfiguration", "\u5B57\u6BB5\u914D\u7F6E")
1017
+ };
1018
+ },
1019
+ computed: {},
1020
+ methods: {
1021
+ toggleFullscreen() {
1022
+ this.fullscreen = !this.fullscreen;
1023
+ },
1024
+ addField(i) {
1025
+ this.fullscreen = !1, this.visible = !0, this.$nextTick(() => {
1026
+ setTimeout(() => {
1027
+ this.$refs.composeField.addField(i);
1028
+ }, 0);
1029
+ });
1030
+ },
1031
+ handleSubmit() {
1032
+ let i = this.traverseData();
1033
+ if (!this.isChecked(i.list)) {
1034
+ this.$message.error(this.$i18nt("gd.flow.approval.replenishData"));
1035
+ return;
1036
+ }
1037
+ if (!this.isCheckedSys(i.list) && (i.arr.sysvalue == 4 || i.arr.sysvalue == 5)) {
1038
+ this.$message.error(this.$i18nt("gd.flow.approval.replenishData"));
1039
+ return;
1040
+ }
1041
+ this.$emit("ok", {
1042
+ data: JSON.stringify(this.$refs.composeField.fieldValue),
1043
+ item: i.arr
1044
+ }), this.closed();
1045
+ },
1046
+ isChecked(i) {
1047
+ return i.every((e, l, t) => {
1048
+ let a = e.vartype == 1 ? e.tablevalue : e.sysvalue, s = e.vartype == 1 ? e.fieldname : e.sysvalue;
1049
+ return !!(a && s);
1050
+ });
1051
+ },
1052
+ isCheckedSys(i) {
1053
+ return i.every((e, l, t) => {
1054
+ let a = "";
1055
+ return e.vartype == 2 && e.sysvalue == 4 && e.sysconfigid !== "" && (a = e.sysconfigid), e.vartype == 2 && e.sysvalue == 5 && e.cachekey !== "" && (a = e.cachekey), !!a;
1056
+ });
1057
+ },
1058
+ traverseData() {
1059
+ let i = [], e = this.$refs.composeField.fieldValue[0], l = ["2", "4", "5"], t = !l.includes(e.fieldtype);
1060
+ const a = (s) => (s = s.filter((n, r) => (n.fieldvalue && n.fieldvalue.length === 1 && t && (e = n.fieldtype === "3" ? n.fieldvalue[0] : n), t && (t = !l.includes(n.fieldtype)), i.push(n), n.fieldvalue = a(n.fieldvalue), !0)), s);
1061
+ return a(this.$refs.composeField.fieldValue), {
1062
+ list: i,
1063
+ arr: e
1064
+ };
1065
+ },
1066
+ doEvent(i) {
1067
+ let e = i.item.functionName;
1068
+ this[e]();
1069
+ },
1070
+ closed() {
1071
+ this.visible = !1;
1072
+ }
1073
+ }
1074
+ };
1075
+ var B = function() {
1076
+ var e = this, l = e._self._c;
1077
+ return l("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(t) {
1078
+ e.visible = t;
1079
+ }, closed: e.closed } }, [l("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), l("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [l("composeField", { ref: "composeField" })], 1)], 1);
1080
+ }, U = [], K = /* @__PURE__ */ o(
1081
+ q,
1082
+ B,
1083
+ U,
1084
+ !1,
1085
+ null,
1086
+ "93c2e30b",
1087
+ null,
1088
+ null
1089
+ );
1090
+ const H = K.exports, te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1091
+ __proto__: null,
1092
+ default: H
1093
+ }, Symbol.toStringTag, { value: "Module" }));
1094
+ export {
1095
+ ee as f,
1096
+ te as i
1097
+ };