gds-plus-design-vue 1.2.61 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91087
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.6c47713a.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.28952cf7.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5b3edd34.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.b4704b4b.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.1787f71e.mjs → messages.ad082386.mjs} +994 -1952
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.9bee857f.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.926c6da1.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.d48f77d5.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.a91a8420.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.ca5f4aae.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.e80ba9c9.mjs → system.log.b86cf57f.mjs} +31 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.c1e753fb.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.a6017645.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.bbf6efd3.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.2b756c66.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.5f9e7b94.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.17fe31d5.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.c503c5b7.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.a169dcb9.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.00fc2917.mjs → system.promptmanagement.d7250932.mjs} +153 -287
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.52d67131.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.357dc3bb.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.90598753.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.f66ddd64.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.279d9e27.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.80ca9f42.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.10ae5122.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.b5c11d9e.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.6dbe70f3.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.a162fc7d.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +48 -23
  291. package/locale/id_ID.js +32 -7
  292. package/locale/vi_VN.js +1973 -1948
  293. package/locale/zh_CN.js +53 -29
  294. package/package.json +106 -105
  295. package/lib/chartbi.0d1d3b58.mjs +0 -27639
  296. package/lib/chartbi.d3f580d6.js +0 -60
  297. package/lib/main.0088ac99.js +0 -1
  298. package/lib/main.34c14bdb.js +0 -1
  299. package/lib/main.4b9adacf.js +0 -1
  300. package/lib/main.d1239940.js +0 -1
  301. package/lib/messages.add7c391.js +0 -9
  302. package/lib/system.account.00b82418.mjs +0 -2552
  303. package/lib/system.account.04cb26b6.js +0 -216
  304. package/lib/system.config.6244fa9b.js +0 -1
  305. package/lib/system.datasource.32878f5f.js +0 -1
  306. package/lib/system.dict.d25839ec.js +0 -1
  307. package/lib/system.duplicatechecking.4ed8c391.mjs +0 -2142
  308. package/lib/system.duplicatechecking.670ee24a.js +0 -1
  309. package/lib/system.email.52671629.mjs +0 -7432
  310. package/lib/system.email.dd537fd0.js +0 -41
  311. package/lib/system.fieldsecurity.4947c737.js +0 -1
  312. package/lib/system.file.93d65d16.js +0 -1
  313. package/lib/system.log.252cce0b.js +0 -1
  314. package/lib/system.machine.4e393981.js +0 -1
  315. package/lib/system.notice.ab23c15b.js +0 -1
  316. package/lib/system.noticereceived.123b764e.js +0 -1
  317. package/lib/system.onlineuser.295ad7f5.js +0 -1
  318. package/lib/system.org.c3bb51ff.js +0 -1
  319. package/lib/system.permissions.967200f1.js +0 -9
  320. package/lib/system.plugin.f8da8731.js +0 -1
  321. package/lib/system.pos.22fabf30.js +0 -1
  322. package/lib/system.promptmanagement.639a98e1.js +0 -1
  323. package/lib/system.role.4cf72743.js +0 -1
  324. package/lib/system.sumberrules.1a5b80df.js +0 -1
  325. package/lib/system.team.777feecf.mjs +0 -1000
  326. package/lib/system.team.ad10fc96.js +0 -1
  327. package/lib/system.teammembers.b193dd23.js +0 -1
  328. package/lib/system.timers.e31fe5fd.js +0 -38
  329. package/lib/system.translation.d3ed3d35.js +0 -1
  330. package/lib/system.useraffiliation.593c9ad4.js +0 -1
  331. package/lib/system.webresource.25e56654.js +0 -1
  332. package/lib/system.welcome.ec4e941f.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.chartbi.e4680eaa.js"),o=require("./http.filedocument.7c656b91.js"),p=require("./http.main.2f8a6936.js"),m=require("./index.cca024bf.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.50d1ec9c.js");require("./router.config.2501ec51.js");require("./layouts.a6a36612.js");require("vue");require("./components.sidenavmenu.b9bb9304.js");require("./http.loginmanage.326984c3.js");require("./components.settingdrawer.779f6715.js");require("./components.xlsximport.dbd826bb.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.noticemanage.2507d094.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./utils.mixins.js.750ca50e.js");require("./components.form.91d5ed3e.js");require("./http.filemanage.7e6e3e1a.js");require("./components.iconselector.d712170f.js");require("./components.globalheader.07a90c4b.js");require("./components.multitab.82fd0544.js");require("./components.sidemenu.80e46c2d.js");require("./system.account.0d4f1fdc.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.f64e49f8.js");require("./flow.designer.1ba3a90d.js");require("./components.table.17c02054.js");require("./utils.datepicker.js.8576e2fc.js");require("./http.codegeneratemanage.aecadd5d.js");require("./http.promptmanagement.d115c4b0.js");require("./components.coloreditor.779a9419.js");require("./http.useraffiliation.af2013ad.js");require("./http.tabledevelopment.a880bb76.js");require("./personal.echarts.f77bfc9e.js");require("./components.teamsharing.05503821.js");require("./store.config.3cb11578.js");require("./form.build.51bd261e.js");require("./components.viewformdetails.1621bc18.js");require("./system.notice.96c770a6.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.03363732.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.38d4d3d8.js");require("./components.tableumy.9cf33062.js");require("./components.tooltip.a05d8dd1.js");require("./components.selecttree.d710a362.js");require("./components.imgpreview.86bf7971.js");require("./components.modaltitle.e0b34fcb.js");require("./view.build.b44fd7d7.js");require("./page.build.846096e6.js");require("./form.designer.build.5a950455.js");require("./http.duplicatechecking.ee5c414c.js");require("./components.xlsxexport.f5ace2cd.js");require("./components.dataassign.1853ed5c.js");require("./components.statuschange.ed1218a4.js");require("./components.middleware.3bad5748.js");require("./components.echarts.e4d6b13e.js");require("./components.viewloading.807bbf68.js");require("./components.exception.3cc33e29.js");require("./components.uploadfile.5a9b6cc1.js");require("./components.uploadimg.cce7452a.js");require("./components.lunccalendar.76159d2e.js");require("./components.watermark.da3d7220.js");require("./system.org.79ee5bd6.js");require("./system.pos.0a3d2a37.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.f5708400.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.fca3f2d6.js");require("./system.role.03be0982.js");require("./system.log.fc60f5e6.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.f1d95c86.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.e2e39bdc.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.210f516c.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.dfe4ecc7.js");require("./system.webresource.12712b90.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.3ef07bf7.js");require("./system.file.17a7f2ed.js");require("./system.timers.28691ce4.js");require("./http.timersmanage.6e894942.js");require("./solution.58580123.js");require("./http.solution.c6b2634f.js");require("./flow.list.4eb10554.js");require("./http.translationmanage.1f9dce46.js");require("./http.pluginmanage.6a876040.js");require("./system.translation.6237f071.js");require("./system.duplicatechecking.8e3a37c0.js");require("./system.promptmanagement.b5fa6b2d.js");require("./system.useraffiliation.7547b9c7.js");require("./system.plugin.b34a3b47.js");require("./system.email.070ab2be.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.90f73461.js");require("./system.datasource.82492d27.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.bb228fce.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.32183b63.js");require("./http.team.e45400d5.js");require("./system.teammembers.847d8ea7.js");require("./messages.7b74736f.js");require("./http.message.87f319d7.js");require("./translation.mains.1ce7e110.js");const h={props:{recordData:{type:Object,defalt:()=>{}},allIds:{type:Array,defalt:()=>[]},multipleLimit:{type:Number,default:12}},data(){return{ruleForm:{principalidAboutId:"",principalidAboutTable:"",principalidAboutIdBatch:[],isInherit:!1},rules:{principalidAboutId:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}],principalidAboutIdBatch:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}]},record:null,width:"800px",confirmLoading:!1,visible:!1,fullscreen:!1,loading:!1,hasRefresh:!1,fkData:[],fkEntityName:"sys_user,sys_team",list:[],batchPrincipalid:[],permissionList:m.permissionList}},computed:{maxTip(){return`${this.$i18nt("gd.https.exceedMaxiNumber","\u8D85\u8FC7\u6279\u91CF\u63D0\u4EA4\u6700\u5927\u6570")} :${this.multipleLimit}`},docacltemList(){const s=this.getDictionary("docacltem");return(s||[]).map(t=>Object.assign(t,{bjcolor:t.colour?`background:${t.colour};color:#fff;`:""}))},title(){return this.record?this.$i18nt("gd.btn.edit","\u7F16\u8F91"):this.$i18nt("gd.btn.add","\u65B0\u589E")},fadeColord(){return this.fadeColor(this.primaryColor,.1)},disabledRowId(){return this.record?this.allIds.filter(s=>s!==this.record.principalid_aboutid):this.allIds},disabled(){return!!(this.record&&this.record.isinherit)},buttons(){return this.disabled?[]:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}]},...d.mapGetters(["primaryColor","tableLists"])},methods:{selDocacltem(s){const e=s.remark?s.remark.split(","):[];this.list=this.list.map(t=>{const i=e.filter(r=>r.toUpperCase()===t.code.toUpperCase())[0];return Object.assign({...t},{refuse:0,allow:!!i})})},edit(s){this.confirmLoading=!0;const e=this.fkData.filter(i=>i.id===this.ruleForm.principalidAboutId)[0],t=Object.assign(s,{sysDocObjectId:this.recordData.id,principalId_AboutId:this.ruleForm.principalidAboutId,principalId_AboutTable:e.tableName,id:this.record.id});o.sysDocPermissionEdit(t).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok",t),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.confirmLoading=!1})},add(s){if(this.batchPrincipalid.length>this.multipleLimit){this.$message.error(this.maxTip);return}this.confirmLoading=!0;let e=[];this.batchPrincipalid.forEach((t,i)=>{let r=Object.assign({},s,{sysDocObjectId:this.recordData.id,principalId_AboutId:t.id,principalId_AboutTable:t.tableName});const l=this.sysDocPermissionAdd(r,i*100).then(a=>({res:a,item:t}));e.push(l)}),Promise.all(e).then(t=>{this.hasRefresh=!0,this.confirmLoading=!1;const i=t.filter(n=>!n.res.success);if(i.length===0){this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.closed();return}let r=[],l=`<p>${this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")}</<p>`,a=[];this.batchPrincipalid.forEach(n=>{const c=i.filter(u=>u.item.id===n.id)[0];c&&(r.push(Object.assign({},n,{errTip:c.res.message})),l+=`<p>${n.name} (${c.res.message});</p>`,a.push(n.id))}),this.batchPrincipalid=r,this.ruleForm.principalidAboutIdBatch=a,this.$message({dangerouslyUseHTMLString:!0,message:l,type:"error"})})},sysDocPermissionAdd(s,e){return new Promise(t=>{setTimeout(()=>{o.sysDocPermissionAdd(s).then(i=>{t(i)})},e)})},handleSubmit(){this.$refs.ruleForm.validate(s=>{if(s){let e=new Map;this.list.forEach(t=>{e.set(t.code,t.allow?1:t.refuse?2:0)}),this.record?this.edit(Object.fromEntries(e)):this.add(Object.fromEntries(e))}})},changeAllow(s,e){s&&(e.refuse=!1)},changeRefuse(s,e){s&&(e.allow=!1)},delPrincipalid(s){this.ruleForm.principalidAboutIdBatch=this.ruleForm.principalidAboutIdBatch.filter(e=>e!==s.id),this.getBatchPrincipalid()},getBatchPrincipalid(){let s=[];this.fkData.forEach(e=>{if(this.ruleForm.principalidAboutIdBatch.includes(e.id)){const t=this.tableLists.filter(i=>i.tablename===e.tableName)[0];s.push(Object.assign({},e,{tableBusName:t?t.busname:"--",tableTransKey:t?t.transkey:null,errTip:""}))}}),this.batchPrincipalid=s},lookup(){const s=this.record?this.ruleForm.principalidAboutId:this.ruleForm.principalidAboutIdBatch;this.$refs.viewSearch.open({fkEntityName:this.fkEntityName,effectType:this.record?"about":"participants",val:s})},lookupSeled(s){this.fkData=[...s.fkData],Object.assign(this.ruleForm,{principalidAboutId:this.record?s.data[0]:"",principalidAboutIdBatch:this.record?[]:s.data}),this.getBatchPrincipalid()},searchData(s){const e=this.fkEntityName.split(",")[0],t={name:s,fkEntityName:e},i=this.fkData.filter(r=>r.id===this.ruleForm.principalidAboutId);this.loading=!0,p.baseFkList(t).then(r=>{if(this.loading=!1,r.code===200){r.data.map(a=>(a.tableName=e,a));const l=r.data.filter(a=>a.id!==this.ruleForm.principalidAboutId).filter(a=>!this.disabledRowId.includes(a.id));this.fkData=i.concat(l)}})},open(s){this.record=s,this.visible=!0;let e=JSON.parse(JSON.stringify(this.permissionList)).map(t=>Object.assign(t,{show:["createfile","createsubfolder"].includes(t.code)?this.recordData.type===1:!0}));if(!s){this.list=e,this.searchData("");return}this.ruleForm={principalidAboutId:s.principalid_aboutid,principalidAboutTable:s.principalid_abouttable,principalidAboutIdBatch:[]},this.list=e.map(t=>{const i=s[t.code];return Object.assign(t,{allow:i===1,refuse:i===2})}),this.fkData=[{tableName:s.principalid_abouttable,id:s.principalid_aboutid,name:s.principalname}]},closed(){this.hasRefresh&&(this.$emit("ok"),this.hasRefresh=!1),this.ruleForm={principalidAboutIdBatch:[],principalidAboutId:"",principalidAboutTable:""},this.batchPrincipalid=[],this.fullscreen=!1,this.visible=!1},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},getDictionary(s){return this.$options.filters.dictData(s)},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),r=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${r},${e})`},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],style:{"--fadecolor":e.fadeColord}},[e.visible?t("el-form",{ref:"ruleForm",staticClass:"gd-form",attrs:{model:e.ruleForm,"label-width":"120px",rules:e.rules},nativeOn:{submit:function(i){i.preventDefault()}}},[t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[e.record?t("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.userGroup","\u7528\u6237/\u7528\u6237\u7EC4"),prop:"principalidAboutId"}},[t("div",{staticClass:"cao_about"},[t("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,disabled:e.disabled},model:{value:e.ruleForm.principalidAboutId,callback:function(i){e.$set(e.ruleForm,"principalidAboutId",i)},expression:"ruleForm.principalidAboutId"}},e._l(e.fkData,function(i){return t("el-option",{key:i.id,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search",on:{click:e.lookup}})])],1)]):t("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.userGroup","\u7528\u6237/\u7528\u6237\u7EC4"),prop:"principalidAboutIdBatch"}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{multiple:"",placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:e.loading,"reserve-keyword":"",filterable:"",remote:"",clearable:"","remote-method":e.searchData,"collapse-tags":"","multiple-limit":e.multipleLimit},on:{change:e.getBatchPrincipalid},model:{value:e.ruleForm.principalidAboutIdBatch,callback:function(i){e.$set(e.ruleForm,"principalidAboutIdBatch",i)},expression:"ruleForm.principalidAboutIdBatch"}},e._l(e.fkData,function(i){return t("el-option",{key:i.id,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search",on:{click:e.lookup}})])],1)])],1)],1)],1):e._e(),[e.batchPrincipalid.length>0?t("div",{staticClass:"batch-principalid"},[e._l(e.batchPrincipalid,function(i){return[t("div",{staticClass:"item"},[i.errTip?t("el-tooltip",{attrs:{placement:"top",effect:"dark",content:i.errTip}},[t("i",{staticClass:"el-icon-warning"})]):e._e(),t("el-tooltip",{staticClass:"name-tooltip",attrs:{effect:"dark",content:`${i.name} (${e.$i18nt(`Dynamics.${i.tableTransKey}`,i.tableBusName)})`,placement:"top"}},[t("div",{staticClass:"line1"},[e._v(" "+e._s(i.name)+" ")])]),t("i",{staticClass:"el-icon-error",on:{click:function(r){return e.delPrincipalid(i)}}})],1)]})],2):e._e(),e.batchPrincipalid.length>e.multipleLimit?t("div",{staticClass:"max-tip"},[e._v(e._s(e.maxTip))]):e._e()],t("el-divider"),t("div",{staticClass:"list"},[t("div",{staticClass:"list-item list-label"},[t("div",{staticClass:"item-name"},[e._v(e._s(e.$i18nt("gd.page.limitsAuthority","\u6743\u9650")))]),t("div",{staticClass:"item-hand",staticStyle:{color:"#52c41a"}},[e._v(e._s(e.$i18nt("gd.page.allow","\u5141\u8BB8")))]),t("div",{staticClass:"item-hand",staticStyle:{color:"red"}},[e._v(e._s(e.$i18nt("gd.page.refuse","\u62D2\u7EDD")))])]),t("div",{staticClass:"list-kuang"},[e._l(e.list,function(i){return[i.show?t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name"},[e._v(" "+e._s(e.$i18nt(i.transkey,i.name))+" ( "),t("span",{staticClass:"active-color"},[e._v(e._s(i.code))]),e._v(" ) ")]),t("div",{staticClass:"item-hand"},[t("el-checkbox",{attrs:{disabled:e.disabled},on:{change:r=>e.changeAllow(r,i)},model:{value:i.allow,callback:function(r){e.$set(i,"allow",r)},expression:"item.allow"}})],1),t("div",{staticClass:"item-hand"},[t("el-checkbox",{attrs:{disabled:e.disabled},on:{change:r=>e.changeRefuse(r,i)},model:{value:i.refuse,callback:function(r){e.$set(i,"refuse",r)},expression:"item.refuse"}})],1)]):e._e()]})],2)]),e.docacltemList.length>0?t("div",{staticClass:"list"},[t("el-alert",{staticStyle:{"border-radius":"6px 6px 0 0"},attrs:{"show-icon":"",title:e.$i18nt("gd.fileDocument.quicklyPermission","\u5FEB\u901F\u9009\u62E9\u6743\u9650\u6A21\u5757"),type:"info",effect:"dark",closable:!1}}),t("div",{staticClass:"list-kuang"},[t("div",{staticClass:"list-dict"},[e._l(e.docacltemList,function(i){return[t("div",{staticClass:"dict-item"},[t("div",{staticClass:"item-name gdhvr-float-shadow",style:i.bjcolor,on:{click:function(r){return e.selDocacltem(i)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")])])]})],2)])],1):e._e()],2)],1),t("gd-search",{ref:"viewSearch",attrs:{appendToBody:!0,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)},b=[],g=d.normalizeComponent(h,f,b,!1,null,"66c78ea8",null,null);const j=g.exports;exports.default=j;
@@ -0,0 +1,421 @@
1
+ import { m as d, n as p } from "./components.chartbi.b043dcdc.mjs";
2
+ import { q as m, r as u } from "./http.filedocument.d456d26a.mjs";
3
+ import { a as h } from "./http.main.40657f51.mjs";
4
+ import { p as f } from "./index.69ad4631.mjs";
5
+ import "./utils.echarts.js.d1bb8ac6.mjs";
6
+ import "./utils.util.js.82cd8447.mjs";
7
+ import "./router.config.98a73167.mjs";
8
+ import "./layouts.051a0bba.mjs";
9
+ import "vue";
10
+ import "./components.sidenavmenu.23b8edce.mjs";
11
+ import "./http.loginmanage.05500c29.mjs";
12
+ import "./components.settingdrawer.a6693034.mjs";
13
+ import "./components.xlsximport.cffa88fe.mjs";
14
+ import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
15
+ import "./http.noticemanage.e03bd5f3.mjs";
16
+ import "./http.noticereceivedmanage.50797be1.mjs";
17
+ import "./utils.mixins.js.be01e599.mjs";
18
+ import "./components.form.3344c817.mjs";
19
+ import "./http.filemanage.c0de21d6.mjs";
20
+ import "./components.iconselector.8caabeaa.mjs";
21
+ import "./components.globalheader.43fafa8c.mjs";
22
+ import "./components.multitab.8441aa6b.mjs";
23
+ import "./components.sidemenu.725677e3.mjs";
24
+ import "./system.account.014f3e0b.mjs";
25
+ import "./http.usermanage.3e5eff33.mjs";
26
+ import "./http.languagemanage.2ef16159.mjs";
27
+ import "./http.currencymanage.c25bd2e6.mjs";
28
+ import "./http.timezonemanage.b9deffe3.mjs";
29
+ import "./http.appmanage.4554a629.mjs";
30
+ import "./http.menumanage.3240ba0d.mjs";
31
+ import "./system.welcome.191e98f5.mjs";
32
+ import "./flow.designer.6da03949.mjs";
33
+ import "./components.table.e3e5e3bc.mjs";
34
+ import "./utils.datepicker.js.2076c2a2.mjs";
35
+ import "./http.codegeneratemanage.2f925b10.mjs";
36
+ import "./http.promptmanagement.c7912f6c.mjs";
37
+ import "./components.coloreditor.044983d2.mjs";
38
+ import "./http.useraffiliation.840741ed.mjs";
39
+ import "./http.tabledevelopment.1d370398.mjs";
40
+ import "./personal.echarts.b22fba61.mjs";
41
+ import "./components.teamsharing.fb4351ec.mjs";
42
+ import "./store.config.fff8a5a1.mjs";
43
+ import "./form.build.b768d613.mjs";
44
+ import "./components.viewformdetails.f362d69e.mjs";
45
+ import "./system.notice.25ea8dca.mjs";
46
+ import "./http.orgmanage.84e43edb.mjs";
47
+ import "./http.rolemanage.dbf3fda1.mjs";
48
+ import "./http.sysapps.e294ceaf.mjs";
49
+ import "./components.tablevirtual.ba03746e.mjs";
50
+ import "./components.tableumy.2f5dfa12.mjs";
51
+ import "./components.tooltip.950dc77b.mjs";
52
+ import "./components.selecttree.85d940a9.mjs";
53
+ import "./components.imgpreview.57290b54.mjs";
54
+ import "./components.modaltitle.ae92f96c.mjs";
55
+ import "./view.build.f2a9fcfb.mjs";
56
+ import "./page.build.685c1e15.mjs";
57
+ import "./form.designer.build.e521c9c6.mjs";
58
+ import "./http.duplicatechecking.31964ce7.mjs";
59
+ import "./components.xlsxexport.d98572f8.mjs";
60
+ import "./components.dataassign.56632583.mjs";
61
+ import "./components.statuschange.15938660.mjs";
62
+ import "./components.middleware.457b1182.mjs";
63
+ import "./components.echarts.10d3ffe2.mjs";
64
+ import "./components.viewloading.ea40b244.mjs";
65
+ import "./components.exception.cc2f4ca3.mjs";
66
+ import "./components.uploadfile.10f6cb2a.mjs";
67
+ import "./components.uploadimg.f4fe4e77.mjs";
68
+ import "./components.lunccalendar.f6765c94.mjs";
69
+ import "./components.watermark.1ffc66e0.mjs";
70
+ import "./system.org.c20fe6b2.mjs";
71
+ import "./system.pos.7946a99c.mjs";
72
+ import "./http.posmanage.ee6a7613.mjs";
73
+ import "./system.dict.ef24873d.mjs";
74
+ import "./http.dictmanage.77c69971.mjs";
75
+ import "./http.dictdatamanage.4baf16c0.mjs";
76
+ import "./system.user.fa2d2997.mjs";
77
+ import "./system.role.75da7929.mjs";
78
+ import "./system.log.b86cf57f.mjs";
79
+ import "./http.logmanage.8ba72635.mjs";
80
+ import "./system.machine.0114001b.mjs";
81
+ import "./http.machinemanage.7bbe6c16.mjs";
82
+ import "./system.onlineuser.2dc284b1.mjs";
83
+ import "./http.onlineusermanage.c8d84337.mjs";
84
+ import "./system.config.0899edb8.mjs";
85
+ import "./http.configmanage.c23c7fa8.mjs";
86
+ import "./system.noticereceived.369f634c.mjs";
87
+ import "./system.webresource.469db736.mjs";
88
+ import "./http.webresource.5158b431.mjs";
89
+ import "./system.fieldsecurity.0234d390.mjs";
90
+ import "./system.file.73eeb731.mjs";
91
+ import "./system.timers.eb0b6f3e.mjs";
92
+ import "./http.timersmanage.01dbc1a2.mjs";
93
+ import "./solution.890ff164.mjs";
94
+ import "./http.solution.175d36c8.mjs";
95
+ import "./flow.list.03694808.mjs";
96
+ import "./http.translationmanage.a4640c9a.mjs";
97
+ import "./http.pluginmanage.6bc6197f.mjs";
98
+ import "./system.translation.e34f0891.mjs";
99
+ import "./system.duplicatechecking.dcf9f86b.mjs";
100
+ import "./system.promptmanagement.d7250932.mjs";
101
+ import "./system.useraffiliation.518e341e.mjs";
102
+ import "./system.plugin.45a0f530.mjs";
103
+ import "./system.email.252fd642.mjs";
104
+ import "./http.emailmanage.64fd611f.mjs";
105
+ import "./system.permissions.c3d34921.mjs";
106
+ import "./system.datasource.986768c9.mjs";
107
+ import "./http.datasource.aa5cd0d1.mjs";
108
+ import "./system.sumberrules.4a1376a6.mjs";
109
+ import "./http.sumberrules.608a06d6.mjs";
110
+ import "./system.team.e6a9608e.mjs";
111
+ import "./http.team.c8487c0b.mjs";
112
+ import "./system.teammembers.4a7e7339.mjs";
113
+ import "./messages.ad082386.mjs";
114
+ import "./http.message.5004bf60.mjs";
115
+ import "./translation.mains.278e4ba6.mjs";
116
+ const b = {
117
+ props: {
118
+ recordData: {
119
+ type: Object,
120
+ defalt: () => {
121
+ }
122
+ },
123
+ allIds: {
124
+ type: Array,
125
+ defalt: () => []
126
+ },
127
+ multipleLimit: {
128
+ type: Number,
129
+ default: 12
130
+ }
131
+ },
132
+ data() {
133
+ return {
134
+ ruleForm: {
135
+ principalidAboutId: "",
136
+ principalidAboutTable: "",
137
+ principalidAboutIdBatch: [],
138
+ isInherit: !1
139
+ },
140
+ rules: {
141
+ principalidAboutId: [
142
+ {
143
+ required: !0,
144
+ message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
145
+ trigger: ["change", "blur"]
146
+ }
147
+ ],
148
+ principalidAboutIdBatch: [
149
+ {
150
+ required: !0,
151
+ message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
152
+ trigger: ["change", "blur"]
153
+ }
154
+ ]
155
+ },
156
+ record: null,
157
+ width: "800px",
158
+ confirmLoading: !1,
159
+ visible: !1,
160
+ fullscreen: !1,
161
+ loading: !1,
162
+ hasRefresh: !1,
163
+ fkData: [],
164
+ fkEntityName: "sys_user,sys_team",
165
+ list: [],
166
+ batchPrincipalid: [],
167
+ permissionList: f
168
+ };
169
+ },
170
+ computed: {
171
+ maxTip() {
172
+ return `${this.$i18nt("gd.https.exceedMaxiNumber", "\u8D85\u8FC7\u6279\u91CF\u63D0\u4EA4\u6700\u5927\u6570")} :${this.multipleLimit}`;
173
+ },
174
+ docacltemList() {
175
+ const r = this.getDictionary("docacltem");
176
+ return (r || []).map((i) => Object.assign(i, {
177
+ bjcolor: i.colour ? `background:${i.colour};color:#fff;` : ""
178
+ }));
179
+ },
180
+ title() {
181
+ return this.record ? this.$i18nt("gd.btn.edit", "\u7F16\u8F91") : this.$i18nt("gd.btn.add", "\u65B0\u589E");
182
+ },
183
+ fadeColord() {
184
+ return this.fadeColor(this.primaryColor, 0.1);
185
+ },
186
+ disabledRowId() {
187
+ return this.record ? this.allIds.filter((r) => r !== this.record.principalid_aboutid) : this.allIds;
188
+ },
189
+ disabled() {
190
+ return !!(this.record && this.record.isinherit);
191
+ },
192
+ buttons() {
193
+ return this.disabled ? [] : [
194
+ {
195
+ displayName: "\u786E\u5B9A",
196
+ functionName: "handleSubmit",
197
+ show: !0,
198
+ transKey: "gd.btn.confirm",
199
+ icon: "el-icon-document-checked"
200
+ }
201
+ ];
202
+ },
203
+ ...d(["primaryColor", "tableLists"])
204
+ },
205
+ methods: {
206
+ selDocacltem(r) {
207
+ const t = r.remark ? r.remark.split(",") : [];
208
+ this.list = this.list.map((i) => {
209
+ const e = t.filter((s) => s.toUpperCase() === i.code.toUpperCase())[0];
210
+ return Object.assign(
211
+ { ...i },
212
+ {
213
+ refuse: 0,
214
+ allow: !!e
215
+ }
216
+ );
217
+ });
218
+ },
219
+ edit(r) {
220
+ this.confirmLoading = !0;
221
+ const t = this.fkData.filter((e) => e.id === this.ruleForm.principalidAboutId)[0], i = Object.assign(r, {
222
+ sysDocObjectId: this.recordData.id,
223
+ principalId_AboutId: this.ruleForm.principalidAboutId,
224
+ principalId_AboutTable: t.tableName,
225
+ id: this.record.id
226
+ });
227
+ m(i).then((e) => {
228
+ e.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok", i), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.confirmLoading = !1;
229
+ });
230
+ },
231
+ add(r) {
232
+ if (this.batchPrincipalid.length > this.multipleLimit) {
233
+ this.$message.error(this.maxTip);
234
+ return;
235
+ }
236
+ this.confirmLoading = !0;
237
+ let t = [];
238
+ this.batchPrincipalid.forEach((i, e) => {
239
+ let s = Object.assign({}, r, {
240
+ sysDocObjectId: this.recordData.id,
241
+ principalId_AboutId: i.id,
242
+ principalId_AboutTable: i.tableName
243
+ });
244
+ const o = this.sysDocPermissionAdd(s, e * 100).then((a) => ({ res: a, item: i }));
245
+ t.push(o);
246
+ }), Promise.all(t).then((i) => {
247
+ this.hasRefresh = !0, this.confirmLoading = !1;
248
+ const e = i.filter((l) => !l.res.success);
249
+ if (e.length === 0) {
250
+ this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed();
251
+ return;
252
+ }
253
+ let s = [], o = `<p>${this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")}</<p>`, a = [];
254
+ this.batchPrincipalid.forEach((l) => {
255
+ const c = e.filter((n) => n.item.id === l.id)[0];
256
+ c && (s.push(
257
+ Object.assign({}, l, {
258
+ errTip: c.res.message
259
+ })
260
+ ), o += `<p>${l.name} (${c.res.message});</p>`, a.push(l.id));
261
+ }), this.batchPrincipalid = s, this.ruleForm.principalidAboutIdBatch = a, this.$message({
262
+ dangerouslyUseHTMLString: !0,
263
+ message: o,
264
+ type: "error"
265
+ });
266
+ });
267
+ },
268
+ sysDocPermissionAdd(r, t) {
269
+ return new Promise((i) => {
270
+ setTimeout(() => {
271
+ u(r).then((e) => {
272
+ i(e);
273
+ });
274
+ }, t);
275
+ });
276
+ },
277
+ handleSubmit() {
278
+ this.$refs.ruleForm.validate((r) => {
279
+ if (r) {
280
+ let t = /* @__PURE__ */ new Map();
281
+ this.list.forEach((i) => {
282
+ t.set(i.code, i.allow ? 1 : i.refuse ? 2 : 0);
283
+ }), this.record ? this.edit(Object.fromEntries(t)) : this.add(Object.fromEntries(t));
284
+ }
285
+ });
286
+ },
287
+ changeAllow(r, t) {
288
+ r && (t.refuse = !1);
289
+ },
290
+ changeRefuse(r, t) {
291
+ r && (t.allow = !1);
292
+ },
293
+ delPrincipalid(r) {
294
+ this.ruleForm.principalidAboutIdBatch = this.ruleForm.principalidAboutIdBatch.filter((t) => t !== r.id), this.getBatchPrincipalid();
295
+ },
296
+ getBatchPrincipalid() {
297
+ let r = [];
298
+ this.fkData.forEach((t) => {
299
+ if (this.ruleForm.principalidAboutIdBatch.includes(t.id)) {
300
+ const i = this.tableLists.filter((e) => e.tablename === t.tableName)[0];
301
+ r.push(
302
+ Object.assign({}, t, {
303
+ tableBusName: i ? i.busname : "--",
304
+ tableTransKey: i ? i.transkey : null,
305
+ errTip: ""
306
+ })
307
+ );
308
+ }
309
+ }), this.batchPrincipalid = r;
310
+ },
311
+ lookup() {
312
+ const r = this.record ? this.ruleForm.principalidAboutId : this.ruleForm.principalidAboutIdBatch;
313
+ this.$refs.viewSearch.open({
314
+ fkEntityName: this.fkEntityName,
315
+ effectType: this.record ? "about" : "participants",
316
+ val: r
317
+ });
318
+ },
319
+ lookupSeled(r) {
320
+ this.fkData = [...r.fkData], Object.assign(this.ruleForm, {
321
+ principalidAboutId: this.record ? r.data[0] : "",
322
+ principalidAboutIdBatch: this.record ? [] : r.data
323
+ }), this.getBatchPrincipalid();
324
+ },
325
+ searchData(r) {
326
+ const t = this.fkEntityName.split(",")[0], i = { name: r, fkEntityName: t }, e = this.fkData.filter((s) => s.id === this.ruleForm.principalidAboutId);
327
+ this.loading = !0, h(i).then((s) => {
328
+ if (this.loading = !1, s.code === 200) {
329
+ s.data.map((a) => (a.tableName = t, a));
330
+ const o = s.data.filter((a) => a.id !== this.ruleForm.principalidAboutId).filter((a) => !this.disabledRowId.includes(a.id));
331
+ this.fkData = e.concat(o);
332
+ }
333
+ });
334
+ },
335
+ open(r) {
336
+ this.record = r, this.visible = !0;
337
+ let t = JSON.parse(JSON.stringify(this.permissionList)).map((i) => Object.assign(i, {
338
+ show: ["createfile", "createsubfolder"].includes(i.code) ? this.recordData.type === 1 : !0
339
+ }));
340
+ if (!r) {
341
+ this.list = t, this.searchData("");
342
+ return;
343
+ }
344
+ this.ruleForm = {
345
+ principalidAboutId: r.principalid_aboutid,
346
+ principalidAboutTable: r.principalid_abouttable,
347
+ principalidAboutIdBatch: []
348
+ }, this.list = t.map((i) => {
349
+ const e = r[i.code];
350
+ return Object.assign(i, { allow: e === 1, refuse: e === 2 });
351
+ }), this.fkData = [{ tableName: r.principalid_abouttable, id: r.principalid_aboutid, name: r.principalname }];
352
+ },
353
+ closed() {
354
+ this.hasRefresh && (this.$emit("ok"), this.hasRefresh = !1), this.ruleForm = {
355
+ principalidAboutIdBatch: [],
356
+ principalidAboutId: "",
357
+ principalidAboutTable: ""
358
+ }, this.batchPrincipalid = [], this.fullscreen = !1, this.visible = !1;
359
+ },
360
+ onSelectChange(r, t) {
361
+ this.selectedRowKeys = r, this.selectedRows = t;
362
+ },
363
+ getDictionary(r) {
364
+ return this.$options.filters.dictData(r);
365
+ },
366
+ fadeColor(r, t) {
367
+ let i = parseInt(r.substring(1, 3), 16), e = parseInt(r.substring(3, 5), 16), s = parseInt(r.substring(5, 7), 16);
368
+ return `rgba(${i},${e},${s},${t})`;
369
+ },
370
+ toggleFullscreen() {
371
+ this.fullscreen = !this.fullscreen;
372
+ },
373
+ doEvent(r) {
374
+ let t = r.item.functionName;
375
+ this[t] && this[t]();
376
+ }
377
+ }
378
+ };
379
+ var g = function() {
380
+ var t = this, i = t._self._c;
381
+ return i("div", [i("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(e) {
382
+ t.visible = e;
383
+ }, closed: t.closed } }, [i("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], style: { "--fadecolor": t.fadeColord } }, [t.visible ? i("el-form", { ref: "ruleForm", staticClass: "gd-form", attrs: { model: t.ruleForm, "label-width": "120px", rules: t.rules }, nativeOn: { submit: function(e) {
384
+ e.preventDefault();
385
+ } } }, [i("el-row", { attrs: { gutter: 24 } }, [i("el-col", { attrs: { span: 12 } }, [t.record ? i("el-form-item", { attrs: { label: t.$i18nt("gd.fileDocument.userGroup", "\u7528\u6237/\u7528\u6237\u7EC4"), prop: "principalidAboutId" } }, [i("div", { staticClass: "cao_about" }, [i("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, disabled: t.disabled }, model: { value: t.ruleForm.principalidAboutId, callback: function(e) {
386
+ t.$set(t.ruleForm, "principalidAboutId", e);
387
+ }, expression: "ruleForm.principalidAboutId" } }, t._l(t.fkData, function(e) {
388
+ return i("el-option", { key: e.id, attrs: { label: e.name, value: e.id } });
389
+ }), 1), i("div", { staticClass: "cao_setting" }, [i("i", { staticClass: "el-input__icon el-icon-search", on: { click: t.lookup } })])], 1)]) : i("el-form-item", { attrs: { label: t.$i18nt("gd.fileDocument.userGroup", "\u7528\u6237/\u7528\u6237\u7EC4"), prop: "principalidAboutIdBatch" } }, [i("div", { staticClass: "cao_about" }, [i("el-select", { staticClass: "cao_input", attrs: { multiple: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, "collapse-tags": "", "multiple-limit": t.multipleLimit }, on: { change: t.getBatchPrincipalid }, model: { value: t.ruleForm.principalidAboutIdBatch, callback: function(e) {
390
+ t.$set(t.ruleForm, "principalidAboutIdBatch", e);
391
+ }, expression: "ruleForm.principalidAboutIdBatch" } }, t._l(t.fkData, function(e) {
392
+ return i("el-option", { key: e.id, attrs: { label: e.name, value: e.id } });
393
+ }), 1), i("div", { staticClass: "cao_setting" }, [i("i", { staticClass: "el-input__icon el-icon-search", on: { click: t.lookup } })])], 1)])], 1)], 1)], 1) : t._e(), [t.batchPrincipalid.length > 0 ? i("div", { staticClass: "batch-principalid" }, [t._l(t.batchPrincipalid, function(e) {
394
+ return [i("div", { staticClass: "item" }, [e.errTip ? i("el-tooltip", { attrs: { placement: "top", effect: "dark", content: e.errTip } }, [i("i", { staticClass: "el-icon-warning" })]) : t._e(), i("el-tooltip", { staticClass: "name-tooltip", attrs: { effect: "dark", content: `${e.name} (${t.$i18nt(`Dynamics.${e.tableTransKey}`, e.tableBusName)})`, placement: "top" } }, [i("div", { staticClass: "line1" }, [t._v(" " + t._s(e.name) + " ")])]), i("i", { staticClass: "el-icon-error", on: { click: function(s) {
395
+ return t.delPrincipalid(e);
396
+ } } })], 1)];
397
+ })], 2) : t._e(), t.batchPrincipalid.length > t.multipleLimit ? i("div", { staticClass: "max-tip" }, [t._v(t._s(t.maxTip))]) : t._e()], i("el-divider"), i("div", { staticClass: "list" }, [i("div", { staticClass: "list-item list-label" }, [i("div", { staticClass: "item-name" }, [t._v(t._s(t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650")))]), i("div", { staticClass: "item-hand", staticStyle: { color: "#52c41a" } }, [t._v(t._s(t.$i18nt("gd.page.allow", "\u5141\u8BB8")))]), i("div", { staticClass: "item-hand", staticStyle: { color: "red" } }, [t._v(t._s(t.$i18nt("gd.page.refuse", "\u62D2\u7EDD")))])]), i("div", { staticClass: "list-kuang" }, [t._l(t.list, function(e) {
398
+ return [e.show ? i("div", { staticClass: "list-item" }, [i("div", { staticClass: "item-name" }, [t._v(" " + t._s(t.$i18nt(e.transkey, e.name)) + " ( "), i("span", { staticClass: "active-color" }, [t._v(t._s(e.code))]), t._v(" ) ")]), i("div", { staticClass: "item-hand" }, [i("el-checkbox", { attrs: { disabled: t.disabled }, on: { change: (s) => t.changeAllow(s, e) }, model: { value: e.allow, callback: function(s) {
399
+ t.$set(e, "allow", s);
400
+ }, expression: "item.allow" } })], 1), i("div", { staticClass: "item-hand" }, [i("el-checkbox", { attrs: { disabled: t.disabled }, on: { change: (s) => t.changeRefuse(s, e) }, model: { value: e.refuse, callback: function(s) {
401
+ t.$set(e, "refuse", s);
402
+ }, expression: "item.refuse" } })], 1)]) : t._e()];
403
+ })], 2)]), t.docacltemList.length > 0 ? i("div", { staticClass: "list" }, [i("el-alert", { staticStyle: { "border-radius": "6px 6px 0 0" }, attrs: { "show-icon": "", title: t.$i18nt("gd.fileDocument.quicklyPermission", "\u5FEB\u901F\u9009\u62E9\u6743\u9650\u6A21\u5757"), type: "info", effect: "dark", closable: !1 } }), i("div", { staticClass: "list-kuang" }, [i("div", { staticClass: "list-dict" }, [t._l(t.docacltemList, function(e) {
404
+ return [i("div", { staticClass: "dict-item" }, [i("div", { staticClass: "item-name gdhvr-float-shadow", style: e.bjcolor, on: { click: function(s) {
405
+ return t.selDocacltem(e);
406
+ } } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${e.transkey}`, e.name)) + " ")])])];
407
+ })], 2)])], 1) : t._e()], 2)], 1), i("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0, disabledRowId: t.disabledRowId }, on: { lookupSeled: t.lookupSeled } })], 1);
408
+ }, v = [], _ = /* @__PURE__ */ p(
409
+ b,
410
+ g,
411
+ v,
412
+ !1,
413
+ null,
414
+ "66c78ea8",
415
+ null,
416
+ null
417
+ );
418
+ const Di = _.exports;
419
+ export {
420
+ Di as default
421
+ };