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
@@ -1,1000 +0,0 @@
1
- import { n as o, m as c } from "./chartbi.0d1d3b58.mjs";
2
- import { f as r, t as m } from "./messages.1787f71e.mjs";
3
- function h(s) {
4
- return window.axios({
5
- url: "/sysTeam/page",
6
- method: "get",
7
- params: s
8
- });
9
- }
10
- function p(s) {
11
- return window.axios({
12
- url: "/sysTeam/add",
13
- method: "post",
14
- data: s
15
- });
16
- }
17
- function f(s) {
18
- return window.axios({
19
- url: "/sysTeam/edit",
20
- method: "post",
21
- data: s
22
- });
23
- }
24
- function g(s) {
25
- return window.axios({
26
- url: "/sysTeam/delete",
27
- method: "post",
28
- data: s
29
- });
30
- }
31
- function y(s) {
32
- return window.axios({
33
- url: "/sysTeam/detail",
34
- method: "get",
35
- params: s
36
- });
37
- }
38
- function _(s) {
39
- return window.axios({
40
- url: "/sysTeam/members",
41
- method: "get",
42
- params: s
43
- });
44
- }
45
- function b(s) {
46
- return window.axios({
47
- url: "/sysTeam/member/add",
48
- method: "post",
49
- data: s
50
- });
51
- }
52
- function w(s) {
53
- return window.axios({
54
- url: "/sysTeam/member/batchadd",
55
- method: "post",
56
- data: s
57
- });
58
- }
59
- function $(s) {
60
- return window.axios({
61
- url: "/sysTeam/member/edit",
62
- method: "post",
63
- data: s
64
- });
65
- }
66
- function v(s) {
67
- return window.axios({
68
- url: "/sysTeam/member/batchdel",
69
- method: "post",
70
- data: s
71
- });
72
- }
73
- function k(s) {
74
- return window.axios({
75
- url: "/sysTeam/member/detail",
76
- method: "get",
77
- params: s
78
- });
79
- }
80
- const F = {
81
- data() {
82
- return {
83
- tableColumns: [
84
- {
85
- type: "selection",
86
- width: "60",
87
- fixed: !0
88
- },
89
- {
90
- transKey: "gd.team.name",
91
- prop: "name",
92
- label: "\u540D\u79F0",
93
- type: "slot",
94
- slotType: "name",
95
- align: "left",
96
- width: "220",
97
- fixed: !0,
98
- showOverflowTooltip: !0
99
- },
100
- {
101
- transKey: "gd.team.amdmin",
102
- prop: "administratorid",
103
- label: "\u7BA1\u7406\u5458",
104
- width: "220",
105
- type: "slot",
106
- slotType: "administratorid",
107
- align: "left"
108
- },
109
- {
110
- transKey: "gd.team.teamtype",
111
- prop: "teamtype",
112
- label: "\u56E2\u961F\u7C7B\u578B",
113
- width: "180",
114
- type: "slot",
115
- slotType: "teamtype",
116
- align: "left"
117
- },
118
- {
119
- transKey: "gd.team.createdTime",
120
- prop: "createdtime",
121
- label: "\u521B\u5EFA\u65F6\u95F4",
122
- align: "center",
123
- width: "180"
124
- },
125
- {
126
- transKey: "gd.team.describe",
127
- prop: "description",
128
- label: "\u63CF\u8FF0",
129
- width: "260",
130
- align: "left"
131
- }
132
- ],
133
- tableButtons: [
134
- {
135
- displayName: "\u65B0\u589E",
136
- functionName: "add",
137
- show: !0,
138
- transKey: "gd.btn.add",
139
- icon: "el-icon-plus",
140
- name: "sysTeam:add"
141
- },
142
- {
143
- displayName: "\u7F16\u8F91",
144
- functionName: "edit",
145
- show: !0,
146
- transKey: "gd.btn.edit",
147
- icon: "el-icon-edit",
148
- name: "sysTeam:edit"
149
- },
150
- {
151
- displayName: "\u5220\u9664",
152
- functionName: "del",
153
- show: !0,
154
- transKey: "gd.btn.del",
155
- icon: "el-icon-delete",
156
- btnType: "danger",
157
- name: "sysTeam:delete"
158
- }
159
- ]
160
- };
161
- }
162
- }, L = {
163
- data() {
164
- return {
165
- tableColumns: [
166
- {
167
- type: "selection",
168
- width: "60",
169
- fixed: !0
170
- },
171
- {
172
- transKey: "gd.team.name",
173
- prop: "sys_teamid",
174
- label: "\u540D\u79F0",
175
- type: "slot",
176
- slotType: "sys_teamid",
177
- align: "left",
178
- fixed: !0,
179
- showOverflowTooltip: !0
180
- },
181
- {
182
- transKey: "gd.team.member",
183
- prop: "sys_userid",
184
- label: "\u6210\u5458",
185
- type: "slot",
186
- slotType: "sys_userid",
187
- align: "left"
188
- },
189
- {
190
- transKey: "gd.user.account",
191
- prop: "account",
192
- label: "\u8D26\u53F7",
193
- type: "slot",
194
- slotType: "account",
195
- align: "left"
196
- },
197
- {
198
- transKey: "gd.user.tel",
199
- prop: "phone",
200
- label: "\u7535\u8BDD",
201
- type: "slot",
202
- slotType: "phone",
203
- align: "left"
204
- },
205
- {
206
- transKey: "gd.user.email",
207
- prop: "email",
208
- label: "\u90AE\u7BB1",
209
- type: "slot",
210
- slotType: "email",
211
- align: "left"
212
- },
213
- {
214
- transKey: "gd.user.employeeID",
215
- prop: "employeeid",
216
- label: "\u5DE5\u53F7",
217
- type: "slot",
218
- slotType: "employeeid",
219
- align: "left"
220
- }
221
- ],
222
- tableButtons: [
223
- {
224
- displayName: "\u65B0\u589E",
225
- functionName: "add",
226
- show: !0,
227
- transKey: "gd.btn.add",
228
- icon: "el-icon-plus",
229
- name: "sysTeam:add"
230
- },
231
- {
232
- displayName: "\u7F16\u8F91",
233
- functionName: "edit",
234
- show: !0,
235
- transKey: "gd.btn.edit",
236
- icon: "el-icon-edit",
237
- name: "sysTeam:edit"
238
- },
239
- {
240
- displayName: "\u5220\u9664",
241
- functionName: "del",
242
- show: !0,
243
- transKey: "gd.btn.del",
244
- icon: "el-icon-delete",
245
- btnType: "danger",
246
- name: "sysTeam:delete"
247
- }
248
- ]
249
- };
250
- }
251
- };
252
- const T = {
253
- props: {
254
- modalAppendToBody: {
255
- type: Boolean,
256
- default: !0
257
- },
258
- appendToBody: {
259
- type: Boolean,
260
- default: !0
261
- },
262
- sys_teamid: {
263
- type: Number,
264
- default: 0
265
- },
266
- typeAdd: {
267
- type: Number,
268
- default: 1
269
- },
270
- openMode: {
271
- type: Number,
272
- default: 1
273
- }
274
- },
275
- data() {
276
- return {
277
- width: "50%",
278
- visible: !1,
279
- fullScreen: !1,
280
- sysViewButtons: [{
281
- displayName: "\u786E\u5B9A",
282
- functionName: "handleSubmit",
283
- show: !0,
284
- transKey: "gd.btn.confirm",
285
- icon: "el-icon-document-checked",
286
- validate: !0
287
- }],
288
- title: "",
289
- confirmLoading: !1,
290
- type: 1,
291
- rules: {
292
- name: [{
293
- required: !0,
294
- message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
295
- trigger: "change"
296
- }]
297
- },
298
- ruleFormData: {
299
- id: "",
300
- sys_userid: "",
301
- sys_teamid: ""
302
- },
303
- dataList: [],
304
- columnList: [],
305
- ownerid: "",
306
- firstLoading: !1,
307
- firstLoading1: !1
308
- };
309
- },
310
- computed: {
311
- disableds() {
312
- return this.typeAdd == 2;
313
- }
314
- },
315
- methods: {
316
- lookupSeled(s) {
317
- this.dataList = [...s.fkData], this.$set(this.ruleFormData, "sys_userid", s.data[0]);
318
- },
319
- lookup(s) {
320
- let e = {
321
- effectType: "fk",
322
- fkEntityName: "sys_user",
323
- val: s || []
324
- };
325
- this.$refs.msgSearch.open(e);
326
- },
327
- open(s) {
328
- this.visible = !0, this.fullScreen = !1, this.title = s ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.type = s ? 2 : 1, this.typeAdd == 2 && this.searchData(this.sys_teamid), s && this.getDetail(s.id);
329
- },
330
- getDetail(s) {
331
- s != "" && (this.dataList = [], k({
332
- id: s
333
- }).then((e) => {
334
- if (e.code == 200) {
335
- let t = e.data;
336
- this.dataList.push({
337
- id: t.sys_userid,
338
- name: t.username
339
- }), this.columnList.push({
340
- id: t.sys_teamid,
341
- name: t.teamname
342
- });
343
- let a = {
344
- id: t.id,
345
- sys_userid: t.sys_userid,
346
- sys_teamid: t.sys_teamid
347
- };
348
- this.firstLoading = !0, this.firstLoading1 = !0, this.$nextTick(() => {
349
- setTimeout(() => {
350
- this.ruleFormData = a;
351
- }, 0);
352
- });
353
- }
354
- }));
355
- },
356
- searchData(s) {
357
- this.columnList = [], r({
358
- fkEntityName: "sys_team",
359
- id: s
360
- }).then((e) => {
361
- e.code == 200 && (this.ruleFormData.sys_teamid = s, this.columnList = e.data.length > 0 ? e.data : []);
362
- });
363
- },
364
- searchList() {
365
- this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
366
- },
367
- adminClick(s) {
368
- this.dataList = [], this.fetching = !0, r({
369
- fkEntityName: "sys_user",
370
- name: s
371
- }).then((e) => {
372
- e.code == 200 && (this.dataList = e.data);
373
- });
374
- },
375
- searchList1() {
376
- this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
377
- },
378
- userClick(s) {
379
- this.columnList = [], this.fetching = !0, r({
380
- fkEntityName: "sys_team",
381
- name: s
382
- }).then((e) => {
383
- e.code == 200 && (this.columnList = e.data);
384
- });
385
- },
386
- handleSubmit() {
387
- this.$refs.ruleForm.validate((s) => {
388
- s && (this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
389
- });
390
- },
391
- add(s) {
392
- this.confirmLoading = !0, delete s.id, b(s).then((e) => {
393
- e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
394
- }).finally((e) => {
395
- this.confirmLoading = !1;
396
- });
397
- },
398
- edit(s) {
399
- this.confirmLoading = !0, $(s).then((e) => {
400
- e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
401
- }).finally((e) => {
402
- this.confirmLoading = !1;
403
- });
404
- },
405
- handleCancel() {
406
- this.visible = !1, this.confirmLoading = !1, this.firstLoading = !1, this.firstLoading1 = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
407
- sys_userid: "",
408
- sys_teamid: ""
409
- };
410
- },
411
- getDictionary(s) {
412
- return this.$options.filters.dictData(s);
413
- },
414
- toggleFullscreen() {
415
- this.fullScreen = !this.fullScreen;
416
- },
417
- doEvent(s) {
418
- let e = s.item.functionName;
419
- this[e] && this[e]();
420
- }
421
- }
422
- };
423
- var S = function() {
424
- var e = this, t = e._self._c;
425
- return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
426
- e.visible = a;
427
- }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel" }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
428
- a.preventDefault();
429
- } } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.member", "\u7528\u6237"), prop: "sys_userid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.sys_userid, callback: function(a) {
430
- e.$set(e.ruleFormData, "sys_userid", a);
431
- }, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(a, i) {
432
- return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
433
- }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
434
- return e.lookup(e.ruleFormData.sys_userid);
435
- } } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.team", "\u56E2\u961F"), prop: "sys_teamid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: e.disableds, "remote-method": e.userClick }, on: { focus: e.searchList1 }, model: { value: e.ruleFormData.sys_teamid, callback: function(a) {
436
- e.$set(e.ruleFormData, "sys_teamid", a);
437
- }, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(a, i) {
438
- return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
439
- }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { lookup: function(a) {
440
- e.ruleFormData.sys_teamid;
441
- } } })])], 1)])], 1)], 1)], 1)], 1)])], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
442
- }, C = [], D = /* @__PURE__ */ o(
443
- T,
444
- S,
445
- C,
446
- !1,
447
- null,
448
- "0613082f",
449
- null,
450
- null
451
- );
452
- const x = D.exports;
453
- const B = {
454
- name: "GdTeamMembers",
455
- mixins: [m, L],
456
- props: {
457
- height: {
458
- type: Number,
459
- default: 100
460
- },
461
- sys_teamid: {
462
- type: Number,
463
- default: 0
464
- },
465
- type: {
466
- type: Number,
467
- default: 1
468
- },
469
- openMode: {
470
- type: Number,
471
- default: 1
472
- }
473
- },
474
- data() {
475
- return {
476
- transKey: "gd.btn.add",
477
- selectedRowKeys: [],
478
- selectedRows: [],
479
- queryParam: {},
480
- disabledRowId: [],
481
- loadData: (s) => _(Object.assign(s, this.getQueryParam, {
482
- SysTeamId: this.sys_teamid
483
- })).then((e) => (this.disabledRowId = e.data.rows.map((t) => t.sys_userid), e.data))
484
- };
485
- },
486
- computed: {
487
- getHeight() {
488
- return this.height;
489
- },
490
- getQueryParam() {
491
- console.log(this.queryParam);
492
- let s = /* @__PURE__ */ new Map();
493
- for (let e in this.queryParam)
494
- if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
495
- s.set(e, this.queryParam[e].join(","));
496
- else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
497
- if (this.queryParam[e].length > 0) {
498
- let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
499
- s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
500
- }
501
- } else
502
- s.set(e, this.queryParam[e]);
503
- return Object.fromEntries(s);
504
- },
505
- ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
506
- },
507
- components: {
508
- editForm: x
509
- },
510
- watch: {
511
- type(s, e) {
512
- this.$refs.table && this.$refs.table.refresh();
513
- },
514
- sys_teamid(s, e) {
515
- this.$refs.table && this.$refs.table.refresh();
516
- }
517
- },
518
- methods: {
519
- lookupSeled(s) {
520
- if (s.fkData.length === 0) {
521
- this.$refs.msgSearch.closed();
522
- return;
523
- }
524
- console.log(s), setTimeout(() => {
525
- this.$refs.msgSearch.confirmLoading = !0;
526
- }, 1502);
527
- let e = {
528
- userIds: s.data,
529
- sys_TeamId: this.sys_teamid
530
- };
531
- w(e).then((t) => {
532
- t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.msgSearch.closed(), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.$refs.msgSearch.confirmLoading = !1;
533
- });
534
- },
535
- lookup() {
536
- let s = {
537
- effectType: "participants",
538
- fkEntityName: "sys_user",
539
- isRelevance: !0,
540
- val: []
541
- };
542
- this.$refs.msgSearch.open(s);
543
- },
544
- editForm(s) {
545
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
546
- },
547
- add() {
548
- this.lookup();
549
- },
550
- edit() {
551
- if (this.selectedRowKeys.length === 0) {
552
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
553
- return;
554
- }
555
- if (this.selectedRowKeys.length > 1) {
556
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
557
- return;
558
- }
559
- this.editForm(this.selectedRows[0]);
560
- },
561
- del() {
562
- if (this.selectedRowKeys.length === 0) {
563
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
564
- return;
565
- }
566
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
567
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
568
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
569
- showClose: !1,
570
- confirmButtonLoading: !1,
571
- cancelButtonLoading: !1,
572
- closeOnClickModal: !1,
573
- type: "warning",
574
- confirmButtonClass: "el-button--danger",
575
- customClass: "custom-alert",
576
- callback: () => {
577
- },
578
- beforeClose: (s, e, t) => {
579
- this.delHand(s, e, t);
580
- }
581
- });
582
- },
583
- delHand(s, e, t) {
584
- if (s !== "confirm") {
585
- t();
586
- return;
587
- }
588
- let a = [], i = v({ memberIds: this.selectedRowKeys }).then((n) => n);
589
- a.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((n) => {
590
- const l = n.filter((u) => !u.success);
591
- l.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + l[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
592
- });
593
- },
594
- onSelectChange(s, e) {
595
- this.selectedRowKeys = s, this.selectedRows = e;
596
- },
597
- handleOk() {
598
- this.refresh();
599
- },
600
- refresh() {
601
- this.$refs.table.refresh();
602
- },
603
- dictSwitch(s, e) {
604
- let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
605
- return t != null && t.colour ? t.colour : null;
606
- },
607
- doEvent(s) {
608
- let e = s.item.functionName;
609
- this[e] && this[e]();
610
- }
611
- }
612
- };
613
- var K = function() {
614
- var e = this, t = e._self._c;
615
- return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "12px 0" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
616
- return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: "" }, nativeOn: { keyup: function(a) {
617
- return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.refresh.apply(null, arguments);
618
- } }, model: { value: e.queryParam.searchValue, callback: function(a) {
619
- e.$set(e.queryParam, "searchValue", a);
620
- }, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
621
- }, proxy: !0 }, { key: "sys_teamid", fn: function({ column: a, row: i }) {
622
- return [t("gd-tooltip", { attrs: { rowKey: "teamname", row: i, highlight: "" }, on: { click: e.editForm } })];
623
- } }, { key: "sys_userid", fn: function({ column: a, row: i }) {
624
- return [i.sys_userid ? t("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
625
- } }, { key: "account", fn: function({ column: a, row: i }) {
626
- return [i.account ? t("span", [e._v(" " + e._s(i.account) + " ")]) : e._e()];
627
- } }, { key: "phone", fn: function({ column: a, row: i }) {
628
- return [i.phone ? t("span", [e._v(" " + e._s(i.phone) + " ")]) : e._e()];
629
- } }, { key: "email", fn: function({ column: a, row: i }) {
630
- return [i.email ? t("span", [e._v(" " + e._s(i.email) + " ")]) : e._e()];
631
- } }, { key: "employeeid", fn: function({ column: a, row: i }) {
632
- return [i.employeeid ? t("span", [e._v(" " + e._s(i.employeeid) + " ")]) : e._e()];
633
- } }]) })], 1), t("gd-search", { ref: "msgSearch", attrs: { disabledRowId: e.disabledRowId, appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), t("editForm", { ref: "editForm", attrs: { openPermissions: !0, sys_teamid: e.sys_teamid, typeAdd: e.type, openMode: e.openMode }, on: { ok: e.handleOk } })], 1);
634
- }, N = [], P = /* @__PURE__ */ o(
635
- B,
636
- K,
637
- N,
638
- !1,
639
- null,
640
- "ada89e79",
641
- null,
642
- null
643
- );
644
- const R = P.exports;
645
- const E = {
646
- props: {
647
- modalAppendToBody: {
648
- type: Boolean,
649
- default: !0
650
- },
651
- appendToBody: {
652
- type: Boolean,
653
- default: !0
654
- }
655
- },
656
- data() {
657
- return {
658
- width: "60%",
659
- visible: !1,
660
- fullScreen: !1,
661
- sysViewButtons: [{
662
- displayName: "\u786E\u5B9A",
663
- functionName: "handleSubmit",
664
- show: !0,
665
- transKey: "gd.btn.confirm",
666
- icon: "el-icon-document-checked",
667
- validate: !0
668
- }],
669
- confirmLoading: !1,
670
- type: 0,
671
- rules: {
672
- name: [{
673
- required: !0,
674
- message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
675
- trigger: "change"
676
- }],
677
- administratorid: [{
678
- required: !0,
679
- message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
680
- trigger: "change"
681
- }]
682
- },
683
- ruleFormData: {
684
- id: "",
685
- name: "",
686
- administratorid: "",
687
- teamtype: "2",
688
- description: ""
689
- },
690
- dataList: [],
691
- columnList: [],
692
- ownerid: "",
693
- firstLoading: !1
694
- };
695
- },
696
- computed: {
697
- detailShow() {
698
- return !!this.ruleFormData.id;
699
- },
700
- title() {
701
- return this.ruleFormData.id ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add");
702
- }
703
- },
704
- components: {
705
- teamMemberDetail: R
706
- },
707
- methods: {
708
- lookupSeled(s) {
709
- this.dataList = [...s.fkData], this.$set(this.ruleFormData, "administratorid", s.data[0]);
710
- },
711
- lookup(s) {
712
- let e = {
713
- effectType: "fk",
714
- fkEntityName: "sys_user",
715
- val: s || []
716
- };
717
- this.$refs.msgSearch.open(e);
718
- },
719
- open(s) {
720
- this.visible = !0, this.fullScreen = !1, this.type = s ? 2 : 1, this.ruleFormData.id = s ? s.id : "", s && this.getDetail(s.id);
721
- },
722
- getDetail(s) {
723
- s != "" && (this.dataList = [], y({
724
- id: s
725
- }).then((e) => {
726
- if (e.code == 200) {
727
- let t = e.data;
728
- this.dataList.push({
729
- id: t.administratorid,
730
- name: t.administratorname
731
- }), this.columnList.push({
732
- id: t.ownerid,
733
- name: t.ownername
734
- });
735
- let a = {
736
- id: t.id,
737
- name: t.name,
738
- teamtype: t.teamtype ? t.teamtype.toString() : "",
739
- description: t.description,
740
- administratorid: t.administratorid
741
- };
742
- this.firstLoading = !0, this.$nextTick(() => {
743
- setTimeout(() => {
744
- this.ruleFormData = a, this.ownerid = t.ownerid;
745
- }, 0);
746
- });
747
- }
748
- }));
749
- },
750
- searchData(s) {
751
- this.dataList = [], r({
752
- fkEntityName: "sys_user",
753
- id: s.administratorid
754
- }).then((e) => {
755
- e.code == 200 && (this.firstLoading = !0, e.data.length > 0 ? this.dataList = e.data : this.dataList.push({
756
- id: s.administratorid,
757
- name: s.administratorname
758
- }));
759
- });
760
- },
761
- searchList() {
762
- this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
763
- },
764
- adminClick(s) {
765
- this.dataList = [], this.fetching = !0, r({
766
- fkEntityName: "sys_user",
767
- name: s
768
- }).then((e) => {
769
- e.code == 200 && (this.dataList = e.data);
770
- });
771
- },
772
- handleSubmit() {
773
- this.$refs.ruleForm.validate((s) => {
774
- s && (console.log(this.type), this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
775
- });
776
- },
777
- add(s) {
778
- this.confirmLoading = !0, delete s.id, p(s).then((e) => {
779
- e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.ruleFormData.id = e.data, this.type = 2, this.getDetail(e.data)) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
780
- }).finally((e) => {
781
- this.confirmLoading = !1;
782
- });
783
- },
784
- edit(s) {
785
- this.confirmLoading = !0, f(s).then((e) => {
786
- e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
787
- }).finally((e) => {
788
- this.confirmLoading = !1;
789
- });
790
- },
791
- handleCancel() {
792
- this.visible = !1, this.confirmLoading = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
793
- id: "",
794
- name: "",
795
- administratorid: "",
796
- teamtype: "2",
797
- description: ""
798
- }, this.ownerid = "", this.type = 1;
799
- },
800
- getDictionary(s) {
801
- return this.$options.filters.dictData(s);
802
- },
803
- toggleFullscreen() {
804
- this.fullScreen = !this.fullScreen;
805
- },
806
- doEvent(s) {
807
- let e = s.item.functionName;
808
- this[e] && this[e]();
809
- }
810
- }
811
- };
812
- var q = function() {
813
- var e = this, t = e._self._c;
814
- return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
815
- e.visible = a;
816
- }, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel" }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
817
- a.preventDefault();
818
- } } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(a) {
819
- e.$set(e.ruleFormData, "name", a);
820
- }, expression: "ruleFormData.name" } })], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.teamtype", "\u56E2\u961F\u7C7B\u578B"), prop: "teamtype" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "", placeholder: e.$i18nt("gd.placeholder.select"), clearable: "" }, model: { value: e.ruleFormData.teamtype, callback: function(a) {
821
- e.$set(e.ruleFormData, "teamtype", a);
822
- }, expression: "ruleFormData.teamtype" } }, e._l(e.getDictionary("teamtype"), function(a, i) {
823
- return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
824
- }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.amdmin", "\u7BA1\u7406\u5458"), prop: "administratorid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.administratorid, callback: function(a) {
825
- e.$set(e.ruleFormData, "administratorid", a);
826
- }, expression: "ruleFormData.administratorid" } }, e._l(e.dataList, function(a, i) {
827
- return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
828
- }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
829
- return e.lookup(e.ruleFormData.administratorid);
830
- } } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.owner", "\u8D1F\u8D23\u4EBA") } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: "" }, model: { value: e.ownerid, callback: function(a) {
831
- e.ownerid = a;
832
- }, expression: "ownerid" } }, e._l(e.columnList, function(a, i) {
833
- return t("el-option", { key: i, attrs: { label: a.name, value: a.id } });
834
- }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search cao_setting-disabled" })])], 1)])], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.describe", "\u63CF\u8FF0"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
835
- e.$set(e.ruleFormData, "description", a);
836
- }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.detailShow ? t("el-card", { attrs: { shadow: "never" } }, [t("div", [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), t("teamMemberDetail", { attrs: { sys_teamid: Number(e.ruleFormData.id), type: e.type, openMode: 2, height: 200 } })], 1) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
837
- }, O = [], M = /* @__PURE__ */ o(
838
- E,
839
- q,
840
- O,
841
- !1,
842
- null,
843
- "837be327",
844
- null,
845
- null
846
- );
847
- const z = M.exports;
848
- const V = {
849
- name: "GdTeam",
850
- mixins: [m, F],
851
- props: {
852
- height: {
853
- type: Number,
854
- default: 100
855
- }
856
- },
857
- data() {
858
- return {
859
- transKey: "gd.btn.add",
860
- selectedRowKeys: [],
861
- selectedRows: [],
862
- queryParam: {},
863
- loadData: (s) => h(Object.assign(s, this.getQueryParam)).then((e) => e.data)
864
- };
865
- },
866
- components: {
867
- editForm: z
868
- },
869
- computed: {
870
- getHeight() {
871
- return this.height;
872
- },
873
- getQueryParam() {
874
- let s = /* @__PURE__ */ new Map();
875
- for (let e in this.queryParam)
876
- if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
877
- s.set(e, this.queryParam[e].join(","));
878
- else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
879
- if (this.queryParam[e].length > 0) {
880
- let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
881
- s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
882
- }
883
- } else
884
- s.set(e, this.queryParam[e]);
885
- return Object.fromEntries(s);
886
- },
887
- ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
888
- },
889
- methods: {
890
- editForm(s) {
891
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
892
- },
893
- add() {
894
- this.$refs.editForm.open();
895
- },
896
- edit() {
897
- if (this.selectedRowKeys.length === 0) {
898
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
899
- return;
900
- }
901
- if (this.selectedRowKeys.length > 1) {
902
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
903
- return;
904
- }
905
- this.editForm(this.selectedRows[0]);
906
- },
907
- del() {
908
- if (this.selectedRowKeys.length === 0) {
909
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
910
- return;
911
- }
912
- if (this.selectedRowKeys.length > 1) {
913
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
914
- return;
915
- }
916
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
917
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
918
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
919
- showClose: !1,
920
- confirmButtonLoading: !1,
921
- cancelButtonLoading: !1,
922
- closeOnClickModal: !1,
923
- type: "warning",
924
- confirmButtonClass: "el-button--danger",
925
- customClass: "custom-alert",
926
- callback: () => {
927
- },
928
- beforeClose: (s, e, t) => {
929
- this.delHand(s, e, t);
930
- }
931
- });
932
- },
933
- delHand(s, e, t) {
934
- if (s !== "confirm") {
935
- t();
936
- return;
937
- }
938
- let a = [];
939
- this.selectedRows.forEach((i) => {
940
- let n = g({
941
- id: i.id
942
- }).then((l) => l);
943
- a.push(n);
944
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
945
- const n = i.filter((l) => !l.success);
946
- n.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
947
- });
948
- },
949
- onSelectChange(s, e) {
950
- this.selectedRowKeys = s, this.selectedRows = e;
951
- },
952
- handleOk() {
953
- this.refresh();
954
- },
955
- refresh() {
956
- this.$refs.table.refresh();
957
- },
958
- dictSwitch(s, e) {
959
- let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
960
- return t != null && t.colour ? t.colour : null;
961
- },
962
- doEvent(s) {
963
- let e = s.item.functionName;
964
- this[e] && this[e]();
965
- }
966
- }
967
- };
968
- var A = function() {
969
- var e = this, t = e._self._c;
970
- return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
971
- return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
972
- }, proxy: !0 }, { key: "name", fn: function({ column: a, row: i }) {
973
- return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
974
- } }, { key: "administratorid", fn: function({ column: a, row: i }) {
975
- return [i.administratorname ? t("span", [e._v(" " + e._s(i.administratorname) + " ")]) : e._e()];
976
- } }, { key: "teamtype", fn: function(a) {
977
- return [e.dictSwitch(a.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", a.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", a.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", a.row.teamtype)))])];
978
- } }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
979
- }, H = [], I = /* @__PURE__ */ o(
980
- V,
981
- A,
982
- H,
983
- !1,
984
- null,
985
- "f62d65e6",
986
- null,
987
- null
988
- );
989
- const d = I.exports;
990
- d.install = function(s) {
991
- s.component(d.name, d);
992
- };
993
- export {
994
- d as G,
995
- b as a,
996
- $ as b,
997
- _ as c,
998
- v as d,
999
- k as s
1000
- };