gds-plus-design-vue 1.2.63 → 1.2.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/lib/{addPermission.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
  4. package/lib/approvalModel.7cfcac3c.js +1 -0
  5. package/lib/attribute.3fed1dd9.js +1 -0
  6. package/lib/attribute.e9a8faa1.mjs +367 -0
  7. package/lib/businessRules.cf106f09.js +1 -0
  8. package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
  9. package/lib/buttonRule.2afe380d.mjs +396 -0
  10. package/lib/buttonRule.737e8e3f.js +1 -0
  11. package/lib/chartDisplayRules.370065e8.mjs +288 -0
  12. package/lib/chartDisplayRules.c9162f81.js +1 -0
  13. package/lib/components.chartbi.3bbac955.js +8 -0
  14. package/lib/components.chartbi.571c5ff5.mjs +1813 -0
  15. package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
  16. package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
  17. package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
  18. package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
  19. package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
  22. package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
  23. package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
  24. package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
  25. package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
  26. package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
  27. package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
  30. package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
  31. package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
  32. package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
  35. package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
  36. package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
  37. package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
  38. package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
  39. package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
  40. package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
  41. package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
  42. package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
  43. package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
  44. package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
  47. package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
  48. package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
  49. package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
  50. package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
  53. package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
  56. package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
  57. package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
  58. package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
  59. package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
  60. package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
  61. package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
  62. package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
  63. package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
  64. package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
  69. package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
  70. package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
  71. package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
  72. package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
  73. package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
  74. package/lib/components.xlsximport.8c209857.js +1 -0
  75. package/lib/copy.8db86d9f.mjs +572 -0
  76. package/lib/copy.a8753f38.js +1 -0
  77. package/lib/createFile.04a6b293.js +1 -0
  78. package/lib/createFile.4cac1673.mjs +439 -0
  79. package/lib/createSubfolders.e105fa86.js +1 -0
  80. package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
  81. package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
  82. package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
  86. package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
  87. package/lib/editForm.0f3fd3b0.js +1 -0
  88. package/lib/editForm.aef93ed0.mjs +434 -0
  89. package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
  90. package/lib/extendedAttributes.ef3ead02.js +1 -0
  91. package/lib/fileSearch.43465e1c.js +1 -0
  92. package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
  93. package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
  99. package/lib/form.designer.build.c82cb559.mjs +2529 -0
  100. package/lib/form.designer.build.dac501fa.js +1 -0
  101. package/lib/formFiled.4b5062d7.js +1 -0
  102. package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
  103. package/lib/gd-initial.js +1 -1
  104. package/lib/gd-initial.mjs +231 -207
  105. package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
  106. package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
  107. package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
  108. package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
  109. package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
  110. package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
  111. package/lib/http.filedocument.6fdfc693.js +1 -0
  112. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  113. package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
  114. package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
  115. package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
  116. package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
  117. package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
  118. package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
  119. package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
  120. package/lib/http.rolemanage.4d1101dd.js +1 -0
  121. package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
  122. package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
  123. package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
  124. package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
  125. package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
  126. package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
  127. package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
  128. package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
  129. package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
  130. package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
  131. package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
  132. package/lib/index.9deaa991.mjs +25906 -0
  133. package/lib/index.d95c407c.js +8 -0
  134. package/lib/layoutBlocks.26e1b57b.js +1 -0
  135. package/lib/layoutBlocks.31454610.mjs +413 -0
  136. package/lib/layoutItem.c1c836a1.js +1 -0
  137. package/lib/layoutItem.cf18143e.mjs +71 -0
  138. package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
  139. package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
  140. package/lib/main.09d48801.js +1 -0
  141. package/lib/main.28b7c398.js +1 -0
  142. package/lib/main.29e204f9.mjs +166 -0
  143. package/lib/main.33443996.mjs +231 -0
  144. package/lib/main.357c50d2.js +1 -0
  145. package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
  146. package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
  147. package/lib/main.4a38d5f8.js +1 -0
  148. package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
  149. package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
  150. package/lib/main.61c9e5c6.mjs +537 -0
  151. package/lib/main.643d21a0.mjs +552 -0
  152. package/lib/main.64ddb5f6.mjs +189 -0
  153. package/lib/main.728eaf53.js +1 -0
  154. package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
  155. package/lib/main.aea9b6a8.mjs +323 -0
  156. package/lib/main.b7a5a02b.js +1 -0
  157. package/lib/main.c71e5b11.js +1 -0
  158. package/lib/main.edc0b23b.js +1 -0
  159. package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
  160. package/lib/manage.101f1aa9.js +1 -0
  161. package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
  162. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  163. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  164. package/lib/messages.messagetemplate.32273e00.js +7 -0
  165. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  166. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  167. package/lib/messages.sendplan.fbac188d.js +1 -0
  168. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  169. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  170. package/lib/messages.templatelibrary.ec512390.js +2 -0
  171. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  172. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  173. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  174. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  175. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  176. package/lib/moveFile.335ebc8d.js +1 -0
  177. package/lib/moveFile.d71c0824.mjs +276 -0
  178. package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
  179. package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
  180. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  181. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  182. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  183. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  184. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  185. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  186. package/lib/page.designer.operation.6179b661.js +1 -0
  187. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  188. package/lib/page.designer.page.09402332.js +1 -0
  189. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  190. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  191. package/lib/personal.echarts.b7ee86f4.js +1 -0
  192. package/lib/result.0c089066.mjs +639 -0
  193. package/lib/result.9282a717.js +1 -0
  194. package/lib/router.config.68077a12.js +1 -0
  195. package/lib/router.config.86225b11.mjs +1424 -0
  196. package/lib/solution.application.d459e382.js +1 -0
  197. package/lib/solution.application.e0d58df1.mjs +548 -0
  198. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  199. package/lib/solution.applicationmenu.ae295083.js +1 -0
  200. package/lib/solution.approvalflow.436b3502.js +1 -0
  201. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  202. package/lib/solution.dict.acbe9c55.js +1 -0
  203. package/lib/solution.dict.ef98b194.mjs +769 -0
  204. package/lib/solution.menu.5c17348f.mjs +432 -0
  205. package/lib/solution.menu.cca5e1f9.js +1 -0
  206. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  207. package/lib/solution.plugin.f9a8063f.js +1 -0
  208. package/lib/solution.processflow.2692dac6.js +1 -0
  209. package/lib/solution.processflow.c1544b05.mjs +392 -0
  210. package/lib/solution.role.b1ab40dd.mjs +456 -0
  211. package/lib/solution.role.b28c4dbe.js +1 -0
  212. package/lib/solution.webresources.0b51beba.mjs +379 -0
  213. package/lib/solution.webresources.6961cc68.js +1 -0
  214. package/lib/solution.workflow.11e49e25.js +1 -0
  215. package/lib/solution.workflow.c48545d1.mjs +395 -0
  216. package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
  217. package/lib/store.config.556bd56b.js +1 -0
  218. package/lib/style.css +3 -3
  219. package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
  220. package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
  221. package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
  222. package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
  223. package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
  224. package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
  225. package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
  226. package/lib/system.dict.6b000092.js +1 -0
  227. package/lib/system.document.f67c2994.mjs +667 -0
  228. package/lib/system.document.f8fd7af0.js +1 -0
  229. package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
  230. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  231. package/lib/system.email.11ab6f31.js +1 -0
  232. package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
  233. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  234. package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
  235. package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
  236. package/lib/system.file.b9f8320c.js +1 -0
  237. package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
  238. package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
  239. package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
  240. package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
  241. package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
  242. package/lib/system.notice.db26f308.js +1 -0
  243. package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
  244. package/lib/system.noticereceived.84b88b9a.js +1 -0
  245. package/lib/system.onlineuser.985621a6.js +1 -0
  246. package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
  247. package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
  248. package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
  249. package/lib/system.permissions.15e6b8b7.js +1 -0
  250. package/lib/system.permissions.be9238ee.mjs +972 -0
  251. package/lib/system.plugin.0bccfec4.js +1 -0
  252. package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
  253. package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
  254. package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
  255. package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
  256. package/lib/system.promptmanagement.e750de82.js +1 -0
  257. package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
  258. package/lib/system.role.e86b60f1.js +1 -0
  259. package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
  260. package/lib/system.sumberrules.810f7b55.js +1 -0
  261. package/lib/system.team.58ee701b.js +1 -0
  262. package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
  263. package/lib/system.teammembers.1880f962.js +1 -0
  264. package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
  265. package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
  266. package/lib/system.timers.9e956553.js +38 -0
  267. package/lib/system.translation.26b6bb39.js +1 -0
  268. package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
  269. package/lib/system.user.134a3988.js +14 -0
  270. package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
  271. package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
  272. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  273. package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
  274. package/lib/system.webresource.e92e8a8f.js +1 -0
  275. package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
  276. package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
  277. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  278. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  279. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  280. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  281. package/lib/tableDescriptions.a4196776.mjs +80 -0
  282. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  283. package/lib/tcheckboxs.7ea99d35.js +1 -0
  284. package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
  285. package/lib/tcurrency.4afb9192.mjs +85 -0
  286. package/lib/tcurrency.8a2361f2.js +1 -0
  287. package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
  288. package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
  289. package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
  290. package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
  291. package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
  292. package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
  293. package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
  294. package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
  295. package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
  296. package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
  297. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  298. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  299. package/lib/utils.plug.js.9313aead.mjs +31 -0
  300. package/lib/utils.plug.js.f62510ce.js +1 -0
  301. package/lib/utils.util.js.333daba2.mjs +439 -0
  302. package/lib/utils.util.js.c0ba699b.js +1 -0
  303. package/lib/versionControl.46a7f31a.js +1 -0
  304. package/lib/versionControl.c53bfb5d.mjs +488 -0
  305. package/lib/versionEdit.4246d5db.js +1 -0
  306. package/lib/versionEdit.5a8292ec.mjs +452 -0
  307. package/lib/view.build.85732408.mjs +1578 -0
  308. package/lib/view.build.e43a2077.js +1 -0
  309. package/lib/viewList.868edcd7.js +1 -0
  310. package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
  311. package/lib/viewTree.7497ff90.js +1 -0
  312. package/lib/viewTree.bde43a3b.mjs +409 -0
  313. package/locale/en_US.js +45 -6
  314. package/locale/id_ID.js +45 -6
  315. package/locale/vi_VN.js +45 -6
  316. package/locale/zh_CN.js +45 -5
  317. package/package.json +1 -1
  318. package/lib/addPermission.5036013c.js +0 -1
  319. package/lib/approvalModel.66f49dfb.js +0 -1
  320. package/lib/attribute.318f485c.js +0 -1
  321. package/lib/attribute.a06ac9e7.mjs +0 -237
  322. package/lib/buildItem.6a834227.js +0 -1
  323. package/lib/buildItem.fd8634ab.mjs +0 -205
  324. package/lib/businessRules.0e4dbb3a.js +0 -1
  325. package/lib/components.chartbi.b043dcdc.mjs +0 -1729
  326. package/lib/components.chartbi.e4680eaa.js +0 -7
  327. package/lib/components.echarts.e4d6b13e.js +0 -3
  328. package/lib/components.iconselector.d712170f.js +0 -1
  329. package/lib/components.middleware.3bad5748.js +0 -1
  330. package/lib/components.sidenavmenu.b9bb9304.js +0 -1
  331. package/lib/components.tableumy.9cf33062.js +0 -1
  332. package/lib/components.tablevirtual.38d4d3d8.js +0 -1
  333. package/lib/components.viewformdetails.1621bc18.js +0 -1
  334. package/lib/components.viewloading.807bbf68.js +0 -1
  335. package/lib/components.xlsximport.dbd826bb.js +0 -1
  336. package/lib/createFile.6b37ecf2.js +0 -1
  337. package/lib/createFile.82d6e415.mjs +0 -239
  338. package/lib/createSubfolders.47af629c.js +0 -1
  339. package/lib/drawerContainer.604a1271.mjs +0 -146
  340. package/lib/drawerContainer.6a9813ce.js +0 -1
  341. package/lib/fileSearch.65311ded.js +0 -1
  342. package/lib/flow.designer.1ba3a90d.js +0 -1
  343. package/lib/flow.list.4eb10554.js +0 -1
  344. package/lib/form.build.51bd261e.js +0 -1
  345. package/lib/form.designer.build.5a950455.js +0 -1
  346. package/lib/form.designer.build.e521c9c6.mjs +0 -5091
  347. package/lib/formFiled.464856f5.js +0 -1
  348. package/lib/http.filedocument.7c656b91.js +0 -1
  349. package/lib/http.filedocument.d456d26a.mjs +0 -156
  350. package/lib/http.rolemanage.03363732.js +0 -1
  351. package/lib/index.69ad4631.mjs +0 -44291
  352. package/lib/index.cca024bf.js +0 -8
  353. package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
  354. package/lib/layoutBlocks.5e6be06f.js +0 -1
  355. package/lib/main.457f4326.js +0 -1
  356. package/lib/main.4fff412e.js +0 -1
  357. package/lib/main.77373aa4.mjs +0 -441
  358. package/lib/main.c3726602.js +0 -1
  359. package/lib/manage.5bb4f719.js +0 -1
  360. package/lib/messages.7b74736f.js +0 -9
  361. package/lib/messages.ad082386.mjs +0 -4889
  362. package/lib/moveFile.0ce803e0.js +0 -1
  363. package/lib/moveFile.8310ea94.mjs +0 -254
  364. package/lib/personal.echarts.b22fba61.mjs +0 -701
  365. package/lib/personal.echarts.f77bfc9e.js +0 -1
  366. package/lib/result.19351665.mjs +0 -526
  367. package/lib/result.e59c0e40.js +0 -1
  368. package/lib/router.config.2501ec51.js +0 -1
  369. package/lib/router.config.98a73167.mjs +0 -3172
  370. package/lib/solution.58580123.js +0 -1
  371. package/lib/solution.890ff164.mjs +0 -6942
  372. package/lib/store.config.3cb11578.js +0 -1
  373. package/lib/system.dict.f5708400.js +0 -1
  374. package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
  375. package/lib/system.email.070ab2be.js +0 -1
  376. package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
  377. package/lib/system.file.17a7f2ed.js +0 -1
  378. package/lib/system.notice.96c770a6.js +0 -1
  379. package/lib/system.noticereceived.dfe4ecc7.js +0 -1
  380. package/lib/system.onlineuser.e2e39bdc.js +0 -1
  381. package/lib/system.permissions.90f73461.js +0 -9
  382. package/lib/system.permissions.c3d34921.mjs +0 -213
  383. package/lib/system.plugin.b34a3b47.js +0 -1
  384. package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
  385. package/lib/system.role.03be0982.js +0 -1
  386. package/lib/system.sumberrules.bb228fce.js +0 -1
  387. package/lib/system.team.32183b63.js +0 -1
  388. package/lib/system.teammembers.847d8ea7.js +0 -1
  389. package/lib/system.timers.28691ce4.js +0 -38
  390. package/lib/system.translation.6237f071.js +0 -1
  391. package/lib/system.user.fca3f2d6.js +0 -14
  392. package/lib/system.useraffiliation.7547b9c7.js +0 -1
  393. package/lib/system.webresource.12712b90.js +0 -1
  394. package/lib/tcheckboxs.99361be3.js +0 -1
  395. package/lib/tcurrency.0ddac2f8.mjs +0 -92
  396. package/lib/tcurrency.62763c6d.js +0 -1
  397. package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
  398. package/lib/utils.datepicker.js.8576e2fc.js +0 -1
  399. package/lib/utils.util.js.50d1ec9c.js +0 -1
  400. package/lib/utils.util.js.82cd8447.mjs +0 -424
  401. package/lib/view.build.b44fd7d7.js +0 -1
  402. package/lib/view.build.f2a9fcfb.mjs +0 -2727
  403. package/lib/viewList.be5a5ec5.js +0 -1
@@ -1,13 +1,13 @@
1
- import { m as o, n as l } from "./components.chartbi.b043dcdc.mjs";
2
- import { b as y, c as b, d as g, e as w, f as _, g as m, h as v } from "./http.noticemanage.e03bd5f3.mjs";
3
- import { e as $, f as T } from "./http.usermanage.3e5eff33.mjs";
4
- import { t as h } from "./utils.mixins.js.be01e599.mjs";
5
- import { s as R, a as C, g as S } from "./http.filemanage.c0de21d6.mjs";
6
- import { g as K } from "./http.orgmanage.84e43edb.mjs";
7
- import { g as L } from "./http.rolemanage.dbf3fda1.mjs";
8
- import { s as P } from "./http.sysapps.e294ceaf.mjs";
9
- import { y as k } from "./http.tabledevelopment.1d370398.mjs";
10
- import "./components.form.3344c817.mjs";
1
+ import { m as o, n as l } from "./components.chartbi.571c5ff5.mjs";
2
+ import { b as g, c as b, d as w, e as m, f as _, g as y, h as v } from "./http.noticemanage.2cdb23b8.mjs";
3
+ import { e as $, f as T } from "./http.usermanage.f5491144.mjs";
4
+ import { t as u } from "./utils.mixins.js.be01e599.mjs";
5
+ import { s as R, a as S, g as C } from "./http.filemanage.c0de21d6.mjs";
6
+ import "./components.form.db8af727.mjs";
7
+ import { g as K } from "./http.orgmanage.0b1df8d5.mjs";
8
+ import { g as L } from "./http.rolemanage.da5c40e9.mjs";
9
+ import { s as P } from "./http.sysapps.932ba43b.mjs";
10
+ import { v as k } from "./http.tabledevelopment.3dcb3e97.mjs";
11
11
  const F = {
12
12
  data() {
13
13
  return {
@@ -243,362 +243,580 @@ const F = {
243
243
  };
244
244
  }
245
245
  };
246
- const x = {
247
- name: "GdNoticeDetails",
246
+ const N = {
247
+ name: "GdNotice",
248
248
  props: {
249
- modeType: {
250
- type: String,
251
- default: "dialog"
249
+ height: {
250
+ type: Number,
251
+ default: 100
252
252
  }
253
253
  },
254
+ mixins: [u, F],
254
255
  data() {
255
256
  return {
256
- transKey: "gd.notice.detail",
257
- fullscreen: !1,
258
- visible: !1,
259
- width: "900",
257
+ transKey: "gd.btn.add",
258
+ loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
259
+ allData: [],
260
+ selectedRowKeys: [],
261
+ selectedRows: [],
262
+ queryParam: {},
263
+ formLoading: !1,
264
+ mockData: [],
265
+ targetKeys: [],
266
+ noticeUserIdList: [],
267
+ status: 0,
268
+ type: "noticeUser",
260
269
  confirmLoading: !1,
261
- contentRecord: {},
262
- sysViewButtons: [],
263
- type: "pdf"
270
+ fileType: "pdf",
271
+ style: "width: 100%; height: 580px;",
272
+ headers: {
273
+ "Content-Type": "multipart/form-data"
274
+ },
275
+ fileListFile: [],
276
+ imgList: [],
277
+ currentImg: "",
278
+ ruleFormData: {
279
+ fileList: "",
280
+ name: "",
281
+ notifyingPerson: [],
282
+ fileid: ""
283
+ },
284
+ record: {},
285
+ allEmpty: !0,
286
+ noticeType: "",
287
+ fileAccept: ["application/pdf"]
264
288
  };
265
289
  },
290
+ components: {
291
+ detailForm: () => Promise.resolve().then(() => I),
292
+ editNoticeForm: () => Promise.resolve().then(() => me)
293
+ },
266
294
  computed: {
267
- height() {
268
- return this.screenHeight - 24 - 40 - 36;
295
+ getHeight() {
296
+ return this.height;
269
297
  },
270
- headTitle() {
271
- return this.$i18nt(this.transKey, this.title);
298
+ getFormColumns() {
299
+ return this.formColumns.filter((e) => !(e.prop === "notifyingPerson" && this.transKey === "gd.btn.add" || (this.noticeType == 3 && e.prop === "content" ? e.rules = [] : this.noticeType != 3 && e.prop === "content" && (e.rules = [
300
+ {
301
+ required: !0,
302
+ message: "\u8BF7\u8F93\u5165",
303
+ transKey: "gd.placeholder.input",
304
+ trigger: "change"
305
+ }
306
+ ]), (this.noticeType == 1 || this.noticeType == 2) && e.prop === "fileList")));
272
307
  },
273
- style() {
274
- return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
308
+ getButtons() {
309
+ return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
275
310
  },
276
311
  ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
277
312
  },
278
- methods: {
279
- open(t) {
280
- this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
281
- },
282
- sysNoticeDetail(t) {
283
- this.fullscreen = !1, y({
284
- id: t
285
- }).then((e) => {
286
- e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
287
- setTimeout(() => {
288
- let i = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
289
- this.$refs.filePreview.open(i);
290
- }, 0);
291
- })) : this.$message.error(e.message), this.confirmLoading = !1;
313
+ mounted() {
314
+ (this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
315
+ this.allData.forEach((t) => {
316
+ (t.id == this.$route.params.id || t.id == this.$route.query.id) && this.$refs.detailForm.open(t);
292
317
  });
318
+ }, 1e3));
319
+ },
320
+ methods: {
321
+ onSelectChange(t, e) {
322
+ if (this.selectedRowKeys = t, this.selectedRows = e, e.length == 0) {
323
+ this.baseHideBtns([], 2);
324
+ return;
325
+ }
326
+ if (e.length > 1) {
327
+ this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
328
+ return;
329
+ }
330
+ let s = [], i = e.filter((r) => r.status == 0), n = e.filter((r) => r.status == 1), a = e.filter((r) => r.status == 2);
331
+ i.length == e.length ? s = ["\u64A4\u56DE"] : n.length == e.length ? s = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : a.length == e.length && (s = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(s, 2);
293
332
  },
294
- handleCancel() {
295
- this.visible = !1, this.contentRecord = {};
333
+ baseHideBtns(t, e = 1) {
334
+ let s = [...this.tableButtons];
335
+ s.map((i) => (e === 1 ? i.show = !t.includes(i.id) : i.show = !t.includes(i.displayName), i)), this.tableButtons = [...s];
296
336
  },
297
- closed() {
298
- this.visible = !1;
337
+ add() {
338
+ this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
339
+ fileList: "",
340
+ name: "",
341
+ notifyingPerson: [],
342
+ fileid: ""
343
+ }, this.$refs.editForm.open(null);
299
344
  },
300
- toggleFullscreen() {
301
- this.fullscreen = !this.fullscreen;
345
+ noticePerson(t) {
346
+ this.$refs.editNoticeFormRef.init(t.id, "2");
302
347
  },
303
- doEvent(t) {
304
- const e = t.item.functionName;
305
- this[e] && this[e]();
306
- }
307
- }
308
- };
309
- var N = function() {
310
- var e = this, i = e._self._c;
311
- return i("div", [e.modeType === "dialog" ? i("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, 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", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(s) {
312
- e.visible = s;
313
- }, closed: e.closed } }, [i("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [i("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), i("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [i("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), i("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), i("el-divider"), i("div", [i("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? i("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [i("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), i("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [i("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), i("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), i("el-divider"), i("div", [i("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? i("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
314
- }, D = [], O = /* @__PURE__ */ l(
315
- x,
316
- N,
317
- D,
318
- !1,
319
- null,
320
- "5cb794ba",
321
- null,
322
- null
323
- );
324
- const u = O.exports, B = {
325
- data() {
326
- return {
327
- tableColumns: [
328
- {
329
- type: "selection",
330
- width: "60",
331
- fixed: !0
332
- },
333
- {
334
- transKey: "gd.org.displayName",
335
- prop: "name",
336
- label: "\u673A\u6784\u540D\u79F0",
337
- minWidth: "260",
338
- type: "slot",
339
- slotType: "name",
340
- align: "left",
341
- fixed: !0,
342
- renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
343
- effectType: "input"
344
- }),
345
- showOverflowTooltip: !0
346
- },
347
- {
348
- transKey: "gd.org.type",
349
- prop: "orgType",
350
- label: "\u673A\u6784\u7C7B\u578B",
351
- minWidth: "220",
352
- type: "slot",
353
- slotType: "orgType",
354
- align: "left",
355
- showOverflowTooltip: !0
356
- },
357
- {
358
- transKey: "gd.org.code",
359
- prop: "code",
360
- width: "200",
361
- label: "\u552F\u4E00\u7F16\u7801",
362
- align: "left",
363
- showOverflowTooltip: !0
364
- },
365
- {
366
- transKey: "gd.org.sort",
367
- prop: "sort",
368
- width: "120",
369
- label: "\u6392\u5E8F",
370
- align: "left"
371
- },
372
- {
373
- transKey: "gd.org.remark",
374
- prop: "remark",
375
- minWidth: "300",
376
- type: "slot",
377
- slotType: "remark",
378
- label: "\u5907\u6CE8",
379
- align: "left"
380
- }
381
- ],
382
- tableQueries: [{
383
- transKey: "gd.process.tableSor",
384
- prop: "tableId",
385
- label: "\u8868\u540D\u79F0",
386
- effectType: "selectTable",
387
- rules: []
388
- }, {
389
- transKey: "gd.flow.state",
390
- prop: "stateCodes",
391
- label: "\u72B6\u6001",
392
- effectType: "select",
393
- dictTypeCode: "state_code",
394
- rules: []
395
- }]
396
- };
397
- }
398
- };
399
- const z = {
400
- props: {
401
- height: {
402
- type: Number,
403
- default: 0
348
+ notifyingPerson() {
349
+ if (this.selectedRowKeys.length === 0) {
350
+ this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
351
+ return;
352
+ }
353
+ if (this.selectedRowKeys.length > 1) {
354
+ this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
355
+ return;
356
+ }
357
+ this.$refs.editNoticeFormRef.init(this.selectedRowKeys, "1");
404
358
  },
405
- selectOrgRow: {
406
- type: Array,
407
- default: () => []
408
- }
409
- },
410
- mixins: [h, B],
411
- data() {
412
- return {
413
- selectedRows: [],
414
- selectedRowKeys: [],
415
- queryParam: {},
416
- loadData: (t) => K(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
417
- let i = [...this.selectOrgRow];
418
- this.selectedRowKeys = [...i], this.onSelectChange(i, []);
419
- }, 10), e.data)),
420
- detail: {}
421
- };
422
- },
423
- computed: {
424
- getHeight() {
425
- return this.screenHeight - 500;
359
+ edit() {
360
+ if (this.selectedRowKeys.length === 0) {
361
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
362
+ return;
363
+ }
364
+ if (this.selectedRowKeys.length > 1) {
365
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
366
+ return;
367
+ }
368
+ this.sysNoticeDetail(this.selectedRows[0].id), this.transKey = "gd.btn.edit", this.$refs.editForm.open(
369
+ Object.assign(
370
+ {
371
+ ...this.selectedRows[0]
372
+ },
373
+ {
374
+ type: String(this.selectedRows[0].type),
375
+ content: this.selectedRows[0].content,
376
+ fileid: this.selectedRows[0].attachment
377
+ }
378
+ )
379
+ );
426
380
  },
427
- styled() {
428
- return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
381
+ editForm(t) {
382
+ this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
429
383
  },
430
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
431
- },
432
- components: {},
433
- methods: {
434
- onSelectChange(t, e) {
435
- this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
384
+ handleOk(t) {
385
+ this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
436
386
  },
437
- refresh() {
438
- this.$refs.table.refresh();
387
+ sbumit({ data: t, record: e, btn: s }, i, n) {
388
+ if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
389
+ let a = {
390
+ id: t.id,
391
+ content: t.content,
392
+ status: this.status,
393
+ title: t.title,
394
+ type: t.type,
395
+ receivergroups: this.ruleFormData.notifyingPerson,
396
+ attachment: this.ruleFormData.fileid
397
+ };
398
+ this.formLoading = !0, b(Object.assign(this.noticeDetail, a)).then((r) => {
399
+ r.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + r.message), this.formLoading = !1, this.refresh();
400
+ });
401
+ } else {
402
+ let a = {
403
+ content: t.content,
404
+ status: this.status,
405
+ title: t.title,
406
+ type: t.type,
407
+ receiverGroups: this.ruleFormData.notifyingPerson,
408
+ attachment: this.ruleFormData.fileid
409
+ };
410
+ this.formLoading = !0, w(a).then((r) => {
411
+ r.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
412
+ this.$nextTick(() => {
413
+ g({ pageNo: 1, pageSize: 50 }).then((c) => {
414
+ this.allData = c.data.rows;
415
+ const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
416
+ d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
417
+ Object.assign(
418
+ {
419
+ ...d[0]
420
+ },
421
+ {
422
+ type: String(d[0].type),
423
+ content: d[0].content,
424
+ fileid: d[0].attachment
425
+ }
426
+ )
427
+ )), this.formLoading = !1;
428
+ });
429
+ });
430
+ }, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + r.message), this.refresh(), this.formLoading = !1);
431
+ });
432
+ }
439
433
  },
440
- dictSwitch(t, e) {
441
- let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
442
- return i != null && i.colour ? i.colour : null;
434
+ saveQueries(t) {
435
+ this.queryParam = t, this.refresh();
443
436
  },
444
- doEvent(t) {
445
- let e = t.item.functionName;
446
- this[e] && this[e]();
447
- }
448
- }
449
- };
450
- var H = function() {
451
- var e = this, i = e._self._c;
452
- return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
453
- return [i("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
454
- } }, { key: "orgType", fn: function(s) {
455
- return [i("el-tag", { style: e._f("dictColor")("org_type", s.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", s.row.orgtype)) + " ")])];
456
- } }, { key: "remark", fn: function({ column: s, row: n }) {
457
- return [i("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
458
- } }]) })], 1)]);
459
- }, E = [], I = /* @__PURE__ */ l(
460
- z,
461
- H,
462
- E,
463
- !1,
464
- null,
465
- "b1509975",
466
- null,
467
- null
468
- );
469
- const q = I.exports, A = {
470
- data() {
471
- return {
472
- tableColumns: [
473
- {
474
- type: "selection",
475
- width: "60",
476
- fixed: !0
477
- },
478
- {
479
- transKey: "gd.user.roleName",
480
- prop: "name",
481
- label: "\u89D2\u8272\u540D\u79F0",
482
- type: "slot",
483
- slotType: "name",
484
- align: "left",
485
- fixed: !0,
486
- showOverflowTooltip: !0
437
+ read() {
438
+ if (this.selectedRowKeys.length === 0) {
439
+ this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));
440
+ return;
441
+ }
442
+ if (this.selectedRowKeys.length > 1) {
443
+ this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
444
+ return;
445
+ }
446
+ this.$refs.detailForm.open(this.selectedRows[0]);
447
+ },
448
+ rollback() {
449
+ if (this.selectedRowKeys.length === 0) {
450
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
451
+ return;
452
+ }
453
+ if (this.selectedRowKeys.length > 1) {
454
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
455
+ return;
456
+ }
457
+ this.$confirm(this.$i18nt("gd.https.withdrawContent", "\u786E\u8BA4\u64A4\u56DE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
458
+ confirmButtonText: this.$i18nt("gd.https.withdrawOk", "\u7ACB\u5373\u64A4\u56DE!"),
459
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
460
+ showClose: !1,
461
+ confirmButtonLoading: !1,
462
+ cancelButtonLoading: !1,
463
+ closeOnClickModal: !1,
464
+ type: "warning",
465
+ confirmButtonClass: "el-button--danger",
466
+ customClass: "custom-alert",
467
+ callback: () => {
487
468
  },
488
- {
489
- transKey: "gd.org.code",
490
- prop: "code",
491
- label: "\u552F\u4E00\u7F16\u7801",
492
- align: "left",
493
- showOverflowTooltip: !0
469
+ beforeClose: (t, e, s) => {
470
+ this.rollbackHand(t, e, s);
471
+ }
472
+ });
473
+ },
474
+ rollbackHand(t, e, s) {
475
+ if (t !== "confirm") {
476
+ s();
477
+ return;
478
+ }
479
+ let i = [];
480
+ this.selectedRows.forEach((n) => {
481
+ let a = m({
482
+ id: n.id,
483
+ status: 2
484
+ }).then((r) => r);
485
+ i.push(a);
486
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
487
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
488
+ const a = n.filter((r) => !r.success);
489
+ a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
490
+ });
491
+ },
492
+ release() {
493
+ if (this.selectedRowKeys.length === 0) {
494
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
495
+ return;
496
+ }
497
+ if (this.selectedRowKeys.length > 1) {
498
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
499
+ return;
500
+ }
501
+ this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
502
+ confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03!"),
503
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
504
+ showClose: !1,
505
+ confirmButtonLoading: !1,
506
+ cancelButtonLoading: !1,
507
+ closeOnClickModal: !1,
508
+ type: "warning",
509
+ confirmButtonClass: "el-button--danger",
510
+ customClass: "custom-alert",
511
+ callback: () => {
494
512
  },
495
- {
496
- transKey: "gd.org.sort",
497
- prop: "sort",
498
- width: "200",
499
- label: "\u6392\u5E8F",
500
- align: "left"
513
+ beforeClose: (t, e, s) => {
514
+ this.releaseHand(t, e, s);
515
+ }
516
+ });
517
+ },
518
+ releaseHand(t, e, s) {
519
+ if (t !== "confirm") {
520
+ s();
521
+ return;
522
+ }
523
+ let i = [];
524
+ this.selectedRows.forEach((n) => {
525
+ let a = m({
526
+ id: n.id,
527
+ status: 1
528
+ }).then((r) => r);
529
+ i.push(a);
530
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
531
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
532
+ const a = n.filter((r) => !r.success);
533
+ a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
534
+ });
535
+ },
536
+ del() {
537
+ if (this.selectedRowKeys.length === 0) {
538
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
539
+ return;
540
+ }
541
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
542
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
543
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
544
+ showClose: !1,
545
+ confirmButtonLoading: !1,
546
+ cancelButtonLoading: !1,
547
+ closeOnClickModal: !1,
548
+ type: "warning",
549
+ confirmButtonClass: "el-button--danger",
550
+ customClass: "custom-alert",
551
+ callback: () => {
501
552
  },
502
- {
503
- transKey: "gd.org.remark",
504
- prop: "remark",
505
- label: "\u5907\u6CE8",
506
- align: "left",
507
- showOverflowTooltip: !0
553
+ beforeClose: (t, e, s) => {
554
+ this.delHand(t, e, s);
508
555
  }
509
- ],
510
- tableQueries: [{
511
- transKey: "gd.process.tableSor",
512
- prop: "tableId",
513
- label: "\u8868\u540D\u79F0",
514
- effectType: "selectTable",
515
- rules: []
516
- }, {
517
- transKey: "gd.flow.state",
518
- prop: "stateCodes",
519
- label: "\u72B6\u6001",
520
- effectType: "select",
521
- dictTypeCode: "state_code",
522
- rules: []
523
- }]
524
- };
525
- }
526
- };
527
- const M = {
528
- props: {
529
- height: {
530
- type: Number,
531
- default: 0
556
+ });
532
557
  },
533
- selectRoleRow: {
534
- type: Array,
535
- default: () => []
536
- }
537
- },
538
- mixins: [h, A],
539
- data() {
540
- return {
541
- selectedRows: [],
542
- selectedRowKeys: [],
543
- queryParam: { sysAppsId: "" },
544
- loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
545
- let i = [...this.selectRoleRow];
546
- this.selectedRowKeys = [...i], this.onSelectChange(i, []);
547
- }, 10), e.data)),
548
- detail: {}
549
- };
550
- },
551
- computed: {
552
- getHeight() {
553
- return this.screenHeight - 500;
558
+ delHand(t, e, s) {
559
+ if (t !== "confirm") {
560
+ s();
561
+ return;
562
+ }
563
+ let i = [];
564
+ this.selectedRows.forEach((n) => {
565
+ let a = _(n).then((r) => r);
566
+ i.push(a);
567
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
568
+ s();
569
+ const a = n.filter((r) => !r.success);
570
+ a.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") + a[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
571
+ });
554
572
  },
555
- styled() {
556
- return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
573
+ sysNoticeDetail(t) {
574
+ y({
575
+ id: t
576
+ }).then((e) => {
577
+ this.noticeDetail = e.data, e.data.attachment && (this.ruleFormData.fileid = e.data.attachment, this.infoDownLoad(e.data.attachment)), this.ruleFormData.notifyingPerson = e.data.receivergroups, this.allEmpty = Array.isArray(this.ruleFormData.notifyingPerson) ? this.ruleFormData.notifyingPerson.every((s) => !s.receiverIdList || s.receiverIdList.length === 0) : !0, this.noticeType = e.data.type;
578
+ });
557
579
  },
558
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
559
- },
560
- components: {},
561
- methods: {
562
- getSysAppsPage() {
563
- P().then((t) => {
564
- t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
580
+ getMock(t) {
581
+ const e = [], s = [];
582
+ $().then((i) => {
583
+ this.confirmLoading = !1;
584
+ for (let n = 0; n < i.data.length; n++) {
585
+ const a = i.data[n], r = {
586
+ key: a.id.toString(),
587
+ label: a.name,
588
+ description: `description of ${a.name}`
589
+ };
590
+ if (t)
591
+ for (let c = 0; c < t.noticeuseridlist.length; c++)
592
+ r.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
593
+ s.push(r);
594
+ }
595
+ this.mockData = s, this.targetKeys = e;
565
596
  });
566
597
  },
567
- onSelectChange(t, e) {
568
- this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
598
+ handleChange(t) {
599
+ this.targetKeys = t;
569
600
  },
570
601
  refresh() {
571
602
  this.$refs.table.refresh();
572
603
  },
573
- dictSwitch(t, e) {
574
- let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
575
- return i != null && i.colour ? i.colour : null;
576
- },
577
604
  doEvent(t) {
578
605
  let e = t.item.functionName;
579
606
  this[e] && this[e]();
580
- }
581
- },
582
- created() {
583
- this.getSysAppsPage();
607
+ },
608
+ handleFile(t) {
609
+ if (!!["image"].includes("file") && !t) {
610
+ this.fileList = [];
611
+ return;
612
+ }
613
+ },
614
+ uploadFile(t) {
615
+ if (!this.fileAccept.includes(t.file.type)) {
616
+ this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
617
+ return;
618
+ }
619
+ new FormData().append("file", t.file), R(t).then((i) => {
620
+ if (i.code === 200) {
621
+ const n = i.data.url, r = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
622
+ return this.ruleFormData.fileList = r.join(","), this.ruleFormData.name = i.data.fileoriginname.substring(0, i.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = i.data.id.toString(), t.onSuccess(i.data), i.data;
623
+ } else
624
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
625
+ }).catch((i) => {
626
+ t.onError(i);
627
+ });
628
+ },
629
+ successFile(t, e, s) {
630
+ },
631
+ removeFile(t, e) {
632
+ let s = [];
633
+ e.forEach((i) => {
634
+ i.response && i.response.id ? s.push(i.response.id) : s.push(i.url);
635
+ }), this.ruleFormData.fileList = s.join(","), this.ruleFormData.name = "", this.ruleFormData.fileid = "";
636
+ },
637
+ previewFile(t) {
638
+ let e = "";
639
+ t.response && t.response.fileOriginName ? (e = t.response.fileOriginName, t.response.url) : (e = t.name, t.url);
640
+ const s = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
641
+ ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
642
+ },
643
+ imgPreview(t) {
644
+ S({
645
+ id: t
646
+ }).then((e) => {
647
+ const s = window.URL.createObjectURL(new Blob([e]));
648
+ this.imgList = [s], this.currentImg = s, this.$refs.imgPreview.open();
649
+ });
650
+ },
651
+ downFile(t) {
652
+ this.$refs.filePreview.open(
653
+ Object.assign(t, {
654
+ fileId: t.response && t.response.fileoriginname ? t.response.id : t.fileId
655
+ })
656
+ );
657
+ },
658
+ getBlobType(t) {
659
+ let e = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
660
+ return this.fileType === "pdf" ? e = "application/pdf" : this.fileType === "docx" && (e = "application/msword"), e;
661
+ },
662
+ infoDownLoad(t) {
663
+ return C({
664
+ id: t
665
+ }).then((e) => {
666
+ this.ruleFormData.fileList = e.data.url, this.ruleFormData.name = e.data.fileoriginname.substring(0, e.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = e.data.id.toString(), this.fileListFile = [
667
+ {
668
+ name: e.data.fileoriginname,
669
+ url: e.data.url,
670
+ response: {
671
+ id: e.data.id,
672
+ url: e.data.url,
673
+ fileoriginname: e.data.fileoriginname
674
+ }
675
+ }
676
+ ];
677
+ });
678
+ },
679
+ getDictionary(t) {
680
+ return this.$options.filters.dictData(t);
681
+ },
682
+ changeMode(t) {
683
+ this.noticeType = t;
684
+ }
584
685
  }
585
686
  };
586
- var U = function() {
587
- var e = this, i = e._self._c;
588
- return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
589
- return [i("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
590
- } }]) })], 1)]);
591
- }, j = [], V = /* @__PURE__ */ l(
592
- M,
593
- U,
594
- j,
687
+ var x = function() {
688
+ var e = this, s = e._self._c;
689
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
690
+ return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl" }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.notice.title", "\u6807\u9898"), clearable: "" }, nativeOn: { keyup: function(i) {
691
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
692
+ } }, model: { value: e.queryParam.SearchValue, callback: function(i) {
693
+ e.$set(e.queryParam, "SearchValue", i);
694
+ }, expression: "queryParam.SearchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
695
+ }, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
696
+ return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
697
+ } }, { key: "type", fn: function(i) {
698
+ return [s("el-tag", { style: e._f("dictColor")("notice_type", i.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", i.row.type)) + " ")])];
699
+ } }, { key: "status", fn: function(i) {
700
+ return [s("el-tag", { style: e._f("dictColor")("notice_status", i.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", i.row.status)) + " ")])];
701
+ } }, { key: "filtering", fn: function({ colse: i, visible: n }) {
702
+ return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
703
+ } }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: i, column: n }) {
704
+ return [s("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(a) {
705
+ e.targetKeys = a;
706
+ }, expression: "targetKeys" } })];
707
+ } }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
708
+ return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
709
+ return e.noticePerson(i);
710
+ } } }, [s("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")) + " ")])];
711
+ } }, { key: "notice_type", fn: function({ data: i, column: n }) {
712
+ return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
713
+ e.$set(i, "type", a);
714
+ }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, r) {
715
+ return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
716
+ }), 1)];
717
+ } }, { key: "fileList", fn: function({ data: i, column: n }) {
718
+ return [s("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: n.limit, accept: n.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [s("el-button", { attrs: { size: "mini", type: "primary" } }, [s("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
719
+ } }]) }), s("detailForm", { ref: "detailForm" }), s("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), s("gd-file-preview", { ref: "filePreview" }), s("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
720
+ }, D = [], O = /* @__PURE__ */ l(
721
+ N,
722
+ x,
723
+ D,
724
+ !1,
725
+ null,
726
+ "efad110b",
727
+ null,
728
+ null
729
+ );
730
+ const f = O.exports;
731
+ f.install = function(t) {
732
+ t.component(f.name, f);
733
+ };
734
+ const B = {
735
+ name: "GdNoticeDetails",
736
+ props: {
737
+ modeType: {
738
+ type: String,
739
+ default: "dialog"
740
+ }
741
+ },
742
+ data() {
743
+ return {
744
+ transKey: "gd.notice.detail",
745
+ fullscreen: !1,
746
+ visible: !1,
747
+ width: "80%",
748
+ confirmLoading: !1,
749
+ contentRecord: {},
750
+ sysViewButtons: [],
751
+ type: "pdf"
752
+ };
753
+ },
754
+ computed: {
755
+ height() {
756
+ return this.screenHeight - 24 - 40 - 36;
757
+ },
758
+ headTitle() {
759
+ return this.$i18nt(this.transKey, this.title);
760
+ },
761
+ style() {
762
+ return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
763
+ },
764
+ ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
765
+ },
766
+ methods: {
767
+ open(t) {
768
+ this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
769
+ },
770
+ sysNoticeDetail(t) {
771
+ this.fullscreen = !1, y({
772
+ id: t
773
+ }).then((e) => {
774
+ e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
775
+ setTimeout(() => {
776
+ let s = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
777
+ this.$refs.filePreview.open(s);
778
+ }, 0);
779
+ })) : this.$message.error(e.message), this.confirmLoading = !1;
780
+ });
781
+ },
782
+ handleCancel() {
783
+ this.visible = !1, this.contentRecord = {};
784
+ },
785
+ closed() {
786
+ this.visible = !1;
787
+ },
788
+ toggleFullscreen() {
789
+ this.fullscreen = !this.fullscreen;
790
+ },
791
+ doEvent(t) {
792
+ const e = t.item.functionName;
793
+ this[e] && this[e]();
794
+ }
795
+ }
796
+ };
797
+ var z = function() {
798
+ var e = this, s = e._self._c;
799
+ return s("div", [e.modeType === "dialog" ? s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, 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", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
800
+ e.visible = i;
801
+ }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
802
+ }, H = [], E = /* @__PURE__ */ l(
803
+ B,
804
+ z,
805
+ H,
595
806
  !1,
596
807
  null,
597
- "4f37cfa6",
808
+ "9aab64a3",
598
809
  null,
599
810
  null
600
811
  );
601
- const Q = V.exports, G = {
812
+ const h = E.exports, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
813
+ __proto__: null,
814
+ default: h
815
+ }, Symbol.toStringTag, { value: "Module" }));
816
+ h.install = function(t) {
817
+ t.component(h.name, h);
818
+ };
819
+ const q = {
602
820
  data() {
603
821
  return {
604
822
  tableColumns: [
@@ -608,29 +826,51 @@ const Q = V.exports, G = {
608
826
  fixed: !0
609
827
  },
610
828
  {
611
- transKey: "gd.fieldSecurity.name",
829
+ transKey: "gd.org.displayName",
612
830
  prop: "name",
613
- label: "\u540D\u79F0",
831
+ label: "\u673A\u6784\u540D\u79F0",
832
+ minWidth: "260",
614
833
  type: "slot",
615
834
  slotType: "name",
616
835
  align: "left",
836
+ fixed: !0,
837
+ renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
838
+ effectType: "input"
839
+ }),
617
840
  showOverflowTooltip: !0
618
841
  },
619
842
  {
620
- transKey: "gd.fieldSecurity.teamType",
621
- prop: "teamType",
622
- label: "\u56E2\u961F\u7C7B\u578B",
623
- align: "left",
843
+ transKey: "gd.org.type",
844
+ prop: "orgType",
845
+ label: "\u673A\u6784\u7C7B\u578B",
846
+ minWidth: "220",
624
847
  type: "slot",
625
- slotType: "teamType",
848
+ slotType: "orgType",
849
+ align: "left",
626
850
  showOverflowTooltip: !0
627
851
  },
628
852
  {
629
- transKey: "gd.fieldSecurity.description",
630
- prop: "description",
631
- label: "\u8BF4\u660E",
853
+ transKey: "gd.org.code",
854
+ prop: "code",
855
+ width: "200",
856
+ label: "\u552F\u4E00\u7F16\u7801",
857
+ align: "left",
858
+ showOverflowTooltip: !0
859
+ },
860
+ {
861
+ transKey: "gd.org.sort",
862
+ prop: "sort",
863
+ width: "120",
864
+ label: "\u6392\u5E8F",
865
+ align: "left"
866
+ },
867
+ {
868
+ transKey: "gd.org.remark",
869
+ prop: "remark",
870
+ minWidth: "300",
632
871
  type: "slot",
633
- slotType: "description",
872
+ slotType: "remark",
873
+ label: "\u5907\u6CE8",
634
874
  align: "left"
635
875
  }
636
876
  ],
@@ -651,34 +891,31 @@ const Q = V.exports, G = {
651
891
  };
652
892
  }
653
893
  };
654
- const J = {
894
+ const j = {
655
895
  props: {
656
896
  height: {
657
897
  type: Number,
658
898
  default: 0
659
899
  },
660
- selectTeamRow: {
900
+ selectOrgRow: {
661
901
  type: Array,
662
902
  default: () => []
663
903
  }
664
904
  },
665
- mixins: [h, G],
905
+ mixins: [u, q],
666
906
  data() {
667
907
  return {
668
908
  selectedRows: [],
669
909
  selectedRowKeys: [],
670
910
  queryParam: {},
671
- loadData: (t) => k(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
672
- let i = [...this.selectTeamRow];
673
- this.selectedRowKeys = [...i], this.onSelectChange(i, []);
911
+ loadData: (t) => K(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
912
+ let s = [...this.selectOrgRow];
913
+ this.selectedRowKeys = [...s], this.onSelectChange(s, []);
674
914
  }, 10), e.data)),
675
915
  detail: {}
676
916
  };
677
917
  },
678
918
  computed: {
679
- getHeight() {
680
- return this.screenHeight - 500;
681
- },
682
919
  styled() {
683
920
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
684
921
  },
@@ -693,8 +930,8 @@ const J = {
693
930
  this.$refs.table.refresh();
694
931
  },
695
932
  dictSwitch(t, e) {
696
- let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
697
- return i != null && i.colour ? i.colour : null;
933
+ let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
934
+ return s != null && s.colour ? s.colour : null;
698
935
  },
699
936
  doEvent(t) {
700
937
  let e = t.item.functionName;
@@ -702,26 +939,26 @@ const J = {
702
939
  }
703
940
  }
704
941
  };
705
- var W = function() {
706
- var e = this, i = e._self._c;
707
- return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
708
- return [i("span", [e._v(" " + e._s(n.name) + " ")])];
709
- } }, { key: "teamType", fn: function({ column: s, row: n }) {
710
- return [i("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
711
- } }, { key: "description", fn: function({ column: s, row: n }) {
712
- return [e._v(" " + e._s(n.description) + " ")];
942
+ var M = function() {
943
+ var e = this, s = e._self._c;
944
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
945
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
946
+ } }, { key: "orgType", fn: function(i) {
947
+ return [s("el-tag", { style: e._f("dictColor")("org_type", i.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", i.row.orgtype)) + " ")])];
948
+ } }, { key: "remark", fn: function({ column: i, row: n }) {
949
+ return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
713
950
  } }]) })], 1)]);
714
- }, X = [], Y = /* @__PURE__ */ l(
715
- J,
716
- W,
717
- X,
951
+ }, A = [], U = /* @__PURE__ */ l(
952
+ j,
953
+ M,
954
+ A,
718
955
  !1,
719
956
  null,
720
- "1c4840a6",
957
+ "5f8fe789",
721
958
  null,
722
959
  null
723
960
  );
724
- const Z = Y.exports, ee = {
961
+ const V = U.exports, Q = {
725
962
  data() {
726
963
  return {
727
964
  tableColumns: [
@@ -731,109 +968,79 @@ const Z = Y.exports, ee = {
731
968
  fixed: !0
732
969
  },
733
970
  {
734
- transKey: "gd.user.account",
735
- prop: "account",
736
- label: "\u8D26\u53F7",
737
- width: "220",
971
+ transKey: "gd.user.roleName",
972
+ prop: "name",
973
+ label: "\u89D2\u8272\u540D\u79F0",
738
974
  type: "slot",
739
- slotType: "account",
975
+ slotType: "name",
740
976
  align: "left",
741
977
  fixed: !0,
742
978
  showOverflowTooltip: !0
743
979
  },
744
980
  {
745
- transKey: "gd.user.name",
746
- prop: "name",
747
- label: "\u59D3\u540D",
748
- width: "160",
981
+ transKey: "gd.org.code",
982
+ prop: "code",
983
+ label: "\u552F\u4E00\u7F16\u7801",
749
984
  align: "left",
750
985
  showOverflowTooltip: !0
751
986
  },
752
987
  {
753
- transKey: "gd.user.sex",
754
- prop: "gender",
755
- width: "120",
756
- label: "\u6027\u522B",
757
- type: "slot",
758
- slotType: "gender",
759
- align: "left",
760
- showOverflowTooltip: !0
988
+ transKey: "gd.org.sort",
989
+ prop: "sort",
990
+ width: "200",
991
+ label: "\u6392\u5E8F",
992
+ align: "left"
761
993
  },
762
994
  {
763
- transKey: "gd.org.displayName",
764
- prop: "orgname",
765
- label: "\u673A\u6784\u540D\u79F0",
766
- width: "180",
995
+ transKey: "gd.org.remark",
996
+ prop: "remark",
997
+ label: "\u5907\u6CE8",
767
998
  align: "left",
768
999
  showOverflowTooltip: !0
769
- },
770
- {
771
- transKey: "gd.user.phone",
772
- prop: "phone",
773
- width: "160",
774
- label: "\u624B\u673A",
775
- align: "left"
776
- },
777
- {
778
- transKey: "gd.user.status",
779
- prop: "statecodes",
780
- label: "\u72B6\u6001",
781
- width: "120",
782
- type: "slot",
783
- slotType: "statecodes",
784
- align: "center",
785
- dictTypeCode: "state_code",
786
- renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
787
- effectType: "checkbox",
788
- dictTypeCode: "state_code"
789
- })
790
1000
  }
791
1001
  ],
792
1002
  tableQueries: [{
793
- transKey: "gd.application.name",
794
- prop: "name",
795
- label: "\u540D\u79F0",
796
- effectType: "input",
797
- rules: []
1003
+ transKey: "gd.process.tableSor",
1004
+ prop: "tableId",
1005
+ label: "\u8868\u540D\u79F0",
1006
+ effectType: "selectTable",
1007
+ rules: []
1008
+ }, {
1009
+ transKey: "gd.flow.state",
1010
+ prop: "stateCodes",
1011
+ label: "\u72B6\u6001",
1012
+ effectType: "select",
1013
+ dictTypeCode: "state_code",
1014
+ rules: []
798
1015
  }]
799
1016
  };
800
1017
  }
801
1018
  };
802
- const te = {
1019
+ const G = {
803
1020
  props: {
804
1021
  height: {
805
1022
  type: Number,
806
- default: 300
1023
+ default: 0
807
1024
  },
808
- selectUserRow: {
1025
+ selectRoleRow: {
809
1026
  type: Array,
810
1027
  default: () => []
811
1028
  }
812
1029
  },
813
- mixins: [h, ee],
1030
+ mixins: [u, Q],
814
1031
  data() {
815
1032
  return {
816
1033
  selectedRows: [],
817
1034
  selectedRowKeys: [],
818
- queryParam: {
819
- searchValue: ""
820
- },
821
- loadData: (t) => {
822
- let e = JSON.parse(JSON.stringify(this.selectUserRow));
823
- return $(Object.assign(t, this.queryParam)).then((i) => {
824
- let s = [];
825
- return e.length > 0 ? s = [...JSON.parse(JSON.stringify(e))].map(String) : s = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
826
- this.selectedRowKeys = [...s], this.onSelectChange(s, []);
827
- }), i.data;
828
- });
829
- },
1035
+ queryParam: { sysAppsId: "" },
1036
+ loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
1037
+ let s = [...this.selectRoleRow];
1038
+ this.selectedRowKeys = [...s], this.onSelectChange(s, []);
1039
+ }, 10), e.data)),
830
1040
  detail: {}
831
1041
  };
832
1042
  },
833
1043
  computed: {
834
- getHeight() {
835
- return this.screenHeight - 500;
836
- },
837
1044
  styled() {
838
1045
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
839
1046
  },
@@ -841,663 +1048,458 @@ const te = {
841
1048
  },
842
1049
  components: {},
843
1050
  methods: {
1051
+ getSysAppsPage() {
1052
+ P().then((t) => {
1053
+ t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
1054
+ });
1055
+ },
844
1056
  onSelectChange(t, e) {
845
1057
  this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
846
1058
  },
847
- saveQueries(t) {
848
- this.queryParam = { ...t }, this.refresh();
849
- },
850
1059
  refresh() {
851
1060
  this.$refs.table.refresh();
852
1061
  },
853
- init(t) {
854
- this.queryParam.searchValue = "", this.$refs.table.refresh();
855
- },
856
1062
  dictSwitch(t, e) {
857
- let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
858
- return i != null && i.colour ? i.colour : null;
1063
+ let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
1064
+ return s != null && s.colour ? s.colour : null;
859
1065
  },
860
1066
  doEvent(t) {
861
1067
  let e = t.item.functionName;
862
1068
  this[e] && this[e]();
863
1069
  }
864
1070
  },
865
- mounted() {
1071
+ created() {
1072
+ this.getSysAppsPage();
866
1073
  }
867
1074
  };
868
- var ie = function() {
869
- var e = this, i = e._self._c;
870
- return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.getHeight, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: s, row: n }) {
871
- return [i("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
872
- } }, { key: "gender", fn: function(s) {
873
- return [i("div", { staticStyle: { cursor: "pointer" } }, [i("el-tag", { style: e._f("dictColor")("gender", s.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", s.row.gender)) + " ")])], 1)];
874
- } }, { key: "statecodes", fn: function(s) {
875
- return [i("div", { staticStyle: { cursor: "pointer" } }, [s.row.statecodes == 1 ? i("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : i("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
876
- } }, { key: "operator", fn: function() {
877
- return [i("div", { staticClass: "gd-table-operator" }, [i("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [i("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(s) {
878
- return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
879
- } }, model: { value: e.queryParam.searchValue, callback: function(s) {
880
- e.$set(e.queryParam, "searchValue", s);
881
- }, expression: "queryParam.searchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
882
- }, proxy: !0 }]) })], 1)]);
883
- }, se = [], ne = /* @__PURE__ */ l(
884
- te,
885
- ie,
886
- se,
1075
+ var J = function() {
1076
+ var e = this, s = e._self._c;
1077
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
1078
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
1079
+ } }]) })], 1)]);
1080
+ }, W = [], X = /* @__PURE__ */ l(
1081
+ G,
1082
+ J,
1083
+ W,
887
1084
  !1,
888
1085
  null,
889
- "b79cacd5",
1086
+ "af7b4faa",
890
1087
  null,
891
1088
  null
892
1089
  );
893
- const re = ne.exports;
894
- const ae = {
1090
+ const Y = X.exports, Z = {
895
1091
  data() {
896
1092
  return {
897
- confirmLoading: !0,
898
- sysViewButtons: [
899
- {
900
- displayName: "\u786E\u5B9A",
901
- functionName: "handleSubmit",
902
- show: !0,
903
- transKey: "gd.btn.confirm",
904
- icon: "el-icon-document-checked"
905
- }
906
- ],
907
- type: "noticeuser",
908
- fullScreen: !1,
909
- width: "1000px",
910
- visible: !1,
911
- height: 300,
912
- userRowList: [],
913
- teamRowList: [],
914
- roleRowList: [],
915
- orgRowList: [],
916
- recordData: "",
917
- enterType: ""
918
- };
919
- },
920
- components: { noticeUser: re, notcieOrg: q, noticeRole: Q, noticeTeam: Z },
921
- computed: {
922
- getButtons() {
923
- return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
924
- },
925
- ...o(["screenHeight", "tableLists", "primaryColor"])
926
- },
927
- methods: {
928
- toggleFullscreen() {
929
- this.fullScreen = !this.fullScreen;
930
- },
931
- init(t, e) {
932
- this.recordData = t, this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = "noticeuser", this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [], this.enterType = e, t && (this.getData(t, e), setTimeout(() => {
933
- this.$refs.noticeuserRef.init(this.userRowList);
934
- }, 100));
935
- },
936
- getData(t, e) {
937
- b({
938
- id: e == "1" ? t[0] : t
939
- }).then((i) => {
940
- i.data.receivergroups.forEach((n) => {
941
- n.receivertype == "1" && (this.userRowList = n.receiveridlist), n.receivertype == "2" && (this.roleRowList = n.receiveridlist), n.receivertype == "3" && (this.teamRowList = n.receiveridlist), n.receivertype == "4" && (this.orgRowList = n.receiveridlist);
942
- });
943
- });
944
- },
945
- doEvent(t) {
946
- let e = t.item.functionName;
947
- this[e] && this[e]();
948
- },
949
- tabChange(t) {
950
- this.$nextTick(() => {
951
- setTimeout(() => {
952
- }, 0);
953
- });
954
- },
955
- handleCancel() {
956
- this.visible = !1, this.confirmLoading = !1, this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [];
957
- },
958
- handleSubmit() {
959
- let t = [
1093
+ tableColumns: [
960
1094
  {
961
- receiverType: "1",
962
- receiverIdList: this.userRowList.map(Number)
1095
+ type: "selection",
1096
+ width: "60",
1097
+ fixed: !0
963
1098
  },
964
1099
  {
965
- receiverType: "2",
966
- receiverIdList: this.roleRowList.map(Number)
1100
+ transKey: "gd.fieldSecurity.name",
1101
+ prop: "name",
1102
+ label: "\u540D\u79F0",
1103
+ type: "slot",
1104
+ slotType: "name",
1105
+ align: "left",
1106
+ showOverflowTooltip: !0
967
1107
  },
968
1108
  {
969
- receiverType: "3",
970
- receiverIdList: this.teamRowList.map(Number)
1109
+ transKey: "gd.fieldSecurity.teamType",
1110
+ prop: "teamType",
1111
+ label: "\u56E2\u961F\u7C7B\u578B",
1112
+ align: "left",
1113
+ type: "slot",
1114
+ slotType: "teamType",
1115
+ showOverflowTooltip: !0
971
1116
  },
972
1117
  {
973
- receiverType: "4",
974
- receiverIdList: this.orgRowList.map(Number)
1118
+ transKey: "gd.fieldSecurity.description",
1119
+ prop: "description",
1120
+ label: "\u8BF4\u660E",
1121
+ type: "slot",
1122
+ slotType: "description",
1123
+ align: "left"
975
1124
  }
976
- ];
977
- this.handleCancel(), this.$emit("ok", t);
978
- },
979
- selectUser(t) {
980
- this.userRowList = t;
981
- },
982
- selectTeam(t) {
983
- this.teamRowList = t;
984
- },
985
- selectRole(t) {
986
- this.roleRowList = t;
987
- },
988
- selectOrg(t) {
989
- this.orgRowList = t;
990
- }
1125
+ ],
1126
+ tableQueries: [{
1127
+ transKey: "gd.process.tableSor",
1128
+ prop: "tableId",
1129
+ label: "\u8868\u540D\u79F0",
1130
+ effectType: "selectTable",
1131
+ rules: []
1132
+ }, {
1133
+ transKey: "gd.flow.state",
1134
+ prop: "stateCodes",
1135
+ label: "\u72B6\u6001",
1136
+ effectType: "select",
1137
+ dictTypeCode: "state_code",
1138
+ rules: []
1139
+ }]
1140
+ };
991
1141
  }
992
1142
  };
993
- var oe = function() {
994
- var e = this, i = e._self._c;
995
- return i("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "30px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(s) {
996
- e.visible = s;
997
- }, closed: e.handleCancel } }, [i("gd-modal-title", { attrs: { slot: "title", title: `${e.$i18nt("gd.notice.notifyingPerson", "\u901A\u77E5")}`, fullscreen: e.fullScreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [i("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [i("el-tabs", { attrs: { type: "card" }, on: { "tab-click": e.tabChange }, model: { value: e.type, callback: function(s) {
998
- e.type = s;
999
- }, expression: "type" } }, [i("el-tab-pane", { attrs: { name: "noticeuser", label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237") } }, [e.type == "noticeuser" ? i("noticeUser", { ref: "noticeuserRef", attrs: { selectUserRow: e.userRowList, height: e.height }, on: { ok: e.selectUser } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticeteam", label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F") } }, [e.type == "noticeteam" ? i("noticeTeam", { ref: "noticeteamRef", attrs: { selectTeamRow: e.teamRowList, height: e.height }, on: { ok: e.selectTeam } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticerole", label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272") } }, [e.type == "noticerole" ? i("noticeRole", { ref: "noticeroleRef", attrs: { selectRoleRow: e.roleRowList, height: e.height }, on: { ok: e.selectRole } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticeorg", label: e.$i18nt("gd.pagecomponents.institution", "\u673A\u6784") } }, [e.type == "noticeorg" ? i("notcieOrg", { ref: "noticeorgRef", attrs: { selectOrgRow: e.orgRowList, height: e.height }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
1000
- }, le = [], ce = /* @__PURE__ */ l(
1001
- ae,
1002
- oe,
1003
- le,
1004
- !1,
1005
- null,
1006
- "62d3bb5d",
1007
- null,
1008
- null
1009
- );
1010
- const de = ce.exports;
1011
- const he = {
1012
- name: "GdNotice",
1143
+ const ee = {
1013
1144
  props: {
1014
1145
  height: {
1015
1146
  type: Number,
1016
- default: 100
1147
+ default: 0
1148
+ },
1149
+ selectTeamRow: {
1150
+ type: Array,
1151
+ default: () => []
1017
1152
  }
1018
1153
  },
1019
- mixins: [h, F],
1154
+ mixins: [u, Z],
1020
1155
  data() {
1021
1156
  return {
1022
- transKey: "gd.btn.add",
1023
- loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1024
- allData: [],
1025
- selectedRowKeys: [],
1026
1157
  selectedRows: [],
1158
+ selectedRowKeys: [],
1027
1159
  queryParam: {},
1028
- formLoading: !1,
1029
- mockData: [],
1030
- targetKeys: [],
1031
- noticeUserIdList: [],
1032
- status: 0,
1033
- type: "noticeUser",
1034
- confirmLoading: !1,
1035
- fileType: "pdf",
1036
- style: "width: 100%; height: 580px;",
1037
- headers: {
1038
- "Content-Type": "multipart/form-data"
1039
- },
1040
- fileListFile: [],
1041
- imgList: [],
1042
- currentImg: "",
1043
- ruleFormData: {
1044
- fileList: "",
1045
- name: "",
1046
- notifyingPerson: [],
1047
- fileid: ""
1048
- },
1049
- record: {},
1050
- allEmpty: !0,
1051
- noticeType: "",
1052
- fileAccept: ["application/pdf"]
1160
+ loadData: (t) => k(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
1161
+ let s = [...this.selectTeamRow];
1162
+ this.selectedRowKeys = [...s], this.onSelectChange(s, []);
1163
+ }, 10), e.data)),
1164
+ detail: {}
1053
1165
  };
1054
1166
  },
1055
- components: {
1056
- detailForm: u,
1057
- editNoticeForm: de
1058
- },
1059
1167
  computed: {
1060
- getHeight() {
1061
- return this.height;
1062
- },
1063
- getFormColumns() {
1064
- return this.formColumns.filter((e) => !(e.prop === "notifyingPerson" && this.transKey === "gd.btn.add" || (this.noticeType == 3 && e.prop === "content" ? e.rules = [] : this.noticeType != 3 && e.prop === "content" && (e.rules = [{
1065
- required: !0,
1066
- message: "\u8BF7\u8F93\u5165",
1067
- transKey: "gd.placeholder.input",
1068
- trigger: "change"
1069
- }]), (this.noticeType == 1 || this.noticeType == 2) && e.prop === "fileList")));
1070
- },
1071
- getButtons() {
1072
- return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
1168
+ styled() {
1169
+ return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1073
1170
  },
1074
- ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1075
- },
1076
- mounted() {
1077
- (this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
1078
- this.allData.forEach((t) => {
1079
- (t.id == this.$route.params.id || t.id == this.$route.query.id) && this.$refs.detailForm.open(t);
1080
- });
1081
- }, 1e3));
1171
+ ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1082
1172
  },
1173
+ components: {},
1083
1174
  methods: {
1084
1175
  onSelectChange(t, e) {
1085
- if (this.selectedRowKeys = t, this.selectedRows = e, e.length == 0) {
1086
- this.baseHideBtns([], 2);
1087
- return;
1088
- }
1089
- if (e.length > 1) {
1090
- this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
1091
- return;
1092
- }
1093
- let i = [], s = e.filter((a) => a.status == 0), n = e.filter((a) => a.status == 1), r = e.filter((a) => a.status == 2);
1094
- s.length == e.length ? i = ["\u64A4\u56DE"] : n.length == e.length ? i = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : r.length == e.length && (i = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(i, 2);
1095
- },
1096
- baseHideBtns(t, e = 1) {
1097
- let i = [...this.tableButtons];
1098
- i.map((s) => (e === 1 ? s.show = !t.includes(s.id) : s.show = !t.includes(s.displayName), s)), this.tableButtons = [...i];
1099
- },
1100
- add() {
1101
- this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
1102
- fileList: "",
1103
- name: "",
1104
- notifyingPerson: [],
1105
- fileid: ""
1106
- }, this.$refs.editForm.open(null);
1107
- },
1108
- noticePerson(t) {
1109
- this.$refs.editNoticeFormRef.init(t.id, "2");
1110
- },
1111
- notifyingPerson() {
1112
- if (this.selectedRowKeys.length === 0) {
1113
- this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
1114
- return;
1115
- }
1116
- if (this.selectedRowKeys.length > 1) {
1117
- this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
1118
- return;
1119
- }
1120
- this.$refs.editNoticeFormRef.init(this.selectedRowKeys, "1");
1121
- },
1122
- edit() {
1123
- if (this.selectedRowKeys.length === 0) {
1124
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1125
- return;
1126
- }
1127
- if (this.selectedRowKeys.length > 1) {
1128
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1129
- return;
1130
- }
1131
- this.sysNoticeDetail(this.selectedRows[0].id), this.transKey = "gd.btn.edit", this.$refs.editForm.open(
1132
- Object.assign(
1133
- {
1134
- ...this.selectedRows[0]
1135
- },
1136
- {
1137
- type: String(this.selectedRows[0].type),
1138
- content: this.selectedRows[0].content,
1139
- fileid: this.selectedRows[0].attachment
1140
- }
1141
- )
1142
- );
1143
- },
1144
- editForm(t) {
1145
- this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
1146
- },
1147
- handleOk(t) {
1148
- this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
1149
- },
1150
- sbumit({ data: t, record: e, btn: i }, s, n) {
1151
- if (this.status = i.item.functionName == "releaseTip" ? 1 : 0, e != null) {
1152
- let r = {
1153
- id: t.id,
1154
- content: t.content,
1155
- status: this.status,
1156
- title: t.title,
1157
- type: t.type,
1158
- receivergroups: this.ruleFormData.notifyingPerson,
1159
- attachment: this.ruleFormData.fileid
1160
- };
1161
- this.formLoading = !0, w(Object.assign(this.noticeDetail, r)).then((a) => {
1162
- a.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + a.message), this.formLoading = !1, this.refresh();
1163
- });
1164
- } else {
1165
- let r = {
1166
- content: t.content,
1167
- status: this.status,
1168
- title: t.title,
1169
- type: t.type,
1170
- receiverGroups: this.ruleFormData.notifyingPerson,
1171
- attachment: this.ruleFormData.fileid
1172
- };
1173
- this.formLoading = !0, _(r).then((a) => {
1174
- a.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
1175
- this.$nextTick(() => {
1176
- g({ pageNo: 1, pageSize: 50 }).then((c) => {
1177
- this.allData = c.data.rows;
1178
- const d = this.allData.filter((f) => f.title == t.title && f.content == t.content);
1179
- d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
1180
- Object.assign(
1181
- {
1182
- ...d[0]
1183
- },
1184
- {
1185
- type: String(d[0].type),
1186
- content: d[0].content,
1187
- fileid: d[0].attachment
1188
- }
1189
- )
1190
- )), this.formLoading = !1;
1191
- });
1192
- });
1193
- }, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + a.message), this.refresh(), this.formLoading = !1);
1194
- });
1195
- }
1176
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
1196
1177
  },
1197
- saveQueries(t) {
1198
- this.queryParam = t, this.refresh();
1178
+ refresh() {
1179
+ this.$refs.table.refresh();
1199
1180
  },
1200
- read() {
1201
- if (this.selectedRowKeys.length === 0) {
1202
- this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));
1203
- return;
1204
- }
1205
- if (this.selectedRowKeys.length > 1) {
1206
- this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
1207
- return;
1208
- }
1209
- this.$refs.detailForm.open(this.selectedRows[0]);
1181
+ dictSwitch(t, e) {
1182
+ let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
1183
+ return s != null && s.colour ? s.colour : null;
1210
1184
  },
1211
- rollback() {
1212
- if (this.selectedRowKeys.length === 0) {
1213
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1214
- return;
1215
- }
1216
- if (this.selectedRowKeys.length > 1) {
1217
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1218
- return;
1219
- }
1220
- this.$confirm(this.$i18nt("gd.https.withdrawContent", "\u786E\u8BA4\u64A4\u56DE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1221
- confirmButtonText: this.$i18nt("gd.https.withdrawOk", "\u7ACB\u5373\u64A4\u56DE!"),
1222
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1223
- showClose: !1,
1224
- confirmButtonLoading: !1,
1225
- cancelButtonLoading: !1,
1226
- closeOnClickModal: !1,
1227
- type: "warning",
1228
- confirmButtonClass: "el-button--danger",
1229
- customClass: "custom-alert",
1230
- callback: () => {
1185
+ doEvent(t) {
1186
+ let e = t.item.functionName;
1187
+ this[e] && this[e]();
1188
+ }
1189
+ }
1190
+ };
1191
+ var te = function() {
1192
+ var e = this, s = e._self._c;
1193
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
1194
+ return [s("span", [e._v(" " + e._s(n.name) + " ")])];
1195
+ } }, { key: "teamType", fn: function({ column: i, row: n }) {
1196
+ return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
1197
+ } }, { key: "description", fn: function({ column: i, row: n }) {
1198
+ return [e._v(" " + e._s(n.description) + " ")];
1199
+ } }]) })], 1)]);
1200
+ }, se = [], ie = /* @__PURE__ */ l(
1201
+ ee,
1202
+ te,
1203
+ se,
1204
+ !1,
1205
+ null,
1206
+ "6f5c581d",
1207
+ null,
1208
+ null
1209
+ );
1210
+ const ne = ie.exports, ae = {
1211
+ data() {
1212
+ return {
1213
+ tableColumns: [
1214
+ {
1215
+ type: "selection",
1216
+ width: "60",
1217
+ fixed: !0
1231
1218
  },
1232
- beforeClose: (t, e, i) => {
1233
- this.rollbackHand(t, e, i);
1234
- }
1235
- });
1236
- },
1237
- rollbackHand(t, e, i) {
1238
- if (t !== "confirm") {
1239
- i();
1240
- return;
1241
- }
1242
- let s = [];
1243
- this.selectedRows.forEach((n) => {
1244
- let r = m({
1245
- id: n.id,
1246
- status: 2
1247
- }).then((a) => a);
1248
- s.push(r);
1249
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
1250
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i();
1251
- const r = n.filter((a) => !a.success);
1252
- r.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r[0].message), this.refresh();
1253
- });
1254
- },
1255
- release() {
1256
- if (this.selectedRowKeys.length === 0) {
1257
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1258
- return;
1259
- }
1260
- if (this.selectedRowKeys.length > 1) {
1261
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1262
- return;
1263
- }
1264
- this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1265
- confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03!"),
1266
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1267
- showClose: !1,
1268
- confirmButtonLoading: !1,
1269
- cancelButtonLoading: !1,
1270
- closeOnClickModal: !1,
1271
- type: "warning",
1272
- confirmButtonClass: "el-button--danger",
1273
- customClass: "custom-alert",
1274
- callback: () => {
1219
+ {
1220
+ transKey: "gd.user.account",
1221
+ prop: "account",
1222
+ label: "\u8D26\u53F7",
1223
+ width: "220",
1224
+ type: "slot",
1225
+ slotType: "account",
1226
+ align: "left",
1227
+ fixed: !0,
1228
+ showOverflowTooltip: !0
1275
1229
  },
1276
- beforeClose: (t, e, i) => {
1277
- this.releaseHand(t, e, i);
1278
- }
1279
- });
1280
- },
1281
- releaseHand(t, e, i) {
1282
- if (t !== "confirm") {
1283
- i();
1284
- return;
1285
- }
1286
- let s = [];
1287
- this.selectedRows.forEach((n) => {
1288
- let r = m({
1289
- id: n.id,
1290
- status: 1
1291
- }).then((a) => a);
1292
- s.push(r);
1293
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
1294
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i();
1295
- const r = n.filter((a) => !a.success);
1296
- r.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r[0].message), this.refresh();
1297
- });
1298
- },
1299
- del() {
1300
- if (this.selectedRowKeys.length === 0) {
1301
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
1302
- return;
1303
- }
1304
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1305
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1306
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1307
- showClose: !1,
1308
- confirmButtonLoading: !1,
1309
- cancelButtonLoading: !1,
1310
- closeOnClickModal: !1,
1311
- type: "warning",
1312
- confirmButtonClass: "el-button--danger",
1313
- customClass: "custom-alert",
1314
- callback: () => {
1230
+ {
1231
+ transKey: "gd.user.name",
1232
+ prop: "name",
1233
+ label: "\u59D3\u540D",
1234
+ width: "160",
1235
+ align: "left",
1236
+ showOverflowTooltip: !0
1237
+ },
1238
+ {
1239
+ transKey: "gd.user.sex",
1240
+ prop: "gender",
1241
+ width: "120",
1242
+ label: "\u6027\u522B",
1243
+ type: "slot",
1244
+ slotType: "gender",
1245
+ align: "left",
1246
+ showOverflowTooltip: !0
1247
+ },
1248
+ {
1249
+ transKey: "gd.org.displayName",
1250
+ prop: "orgname",
1251
+ label: "\u673A\u6784\u540D\u79F0",
1252
+ width: "180",
1253
+ align: "left",
1254
+ showOverflowTooltip: !0
1255
+ },
1256
+ {
1257
+ transKey: "gd.user.phone",
1258
+ prop: "phone",
1259
+ width: "160",
1260
+ label: "\u624B\u673A",
1261
+ align: "left"
1315
1262
  },
1316
- beforeClose: (t, e, i) => {
1317
- this.delHand(t, e, i);
1263
+ {
1264
+ transKey: "gd.user.status",
1265
+ prop: "statecodes",
1266
+ label: "\u72B6\u6001",
1267
+ width: "120",
1268
+ type: "slot",
1269
+ slotType: "statecodes",
1270
+ align: "center",
1271
+ dictTypeCode: "state_code",
1272
+ renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
1273
+ effectType: "checkbox",
1274
+ dictTypeCode: "state_code"
1275
+ })
1318
1276
  }
1319
- });
1320
- },
1321
- delHand(t, e, i) {
1322
- if (t !== "confirm") {
1323
- i();
1324
- return;
1325
- }
1326
- let s = [];
1327
- this.selectedRows.forEach((n) => {
1328
- let r = v(n).then((a) => a);
1329
- s.push(r);
1330
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
1331
- i();
1332
- const r = n.filter((a) => !a.success);
1333
- r.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") + r[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1334
- });
1277
+ ],
1278
+ tableQueries: [{
1279
+ transKey: "gd.application.name",
1280
+ prop: "name",
1281
+ label: "\u540D\u79F0",
1282
+ effectType: "input",
1283
+ rules: []
1284
+ }]
1285
+ };
1286
+ }
1287
+ };
1288
+ const re = {
1289
+ props: {
1290
+ height: {
1291
+ type: Number,
1292
+ default: 300
1335
1293
  },
1336
- sysNoticeDetail(t) {
1337
- y({
1338
- id: t
1339
- }).then((e) => {
1340
- this.noticeDetail = e.data, e.data.attachment && (this.ruleFormData.fileid = e.data.attachment, this.infoDownLoad(e.data.attachment)), this.ruleFormData.notifyingPerson = e.data.receivergroups, this.allEmpty = Array.isArray(this.ruleFormData.notifyingPerson) ? this.ruleFormData.notifyingPerson.every((i) => !i.receiverIdList || i.receiverIdList.length === 0) : !0, this.noticeType = e.data.type;
1341
- });
1294
+ selectUserRow: {
1295
+ type: Array,
1296
+ default: () => []
1297
+ }
1298
+ },
1299
+ mixins: [u, ae],
1300
+ data() {
1301
+ return {
1302
+ selectedRows: [],
1303
+ selectedRowKeys: [],
1304
+ queryParam: {
1305
+ searchValue: ""
1306
+ },
1307
+ loadData: (t) => {
1308
+ let e = JSON.parse(JSON.stringify(this.selectUserRow));
1309
+ return T(Object.assign(t, this.queryParam)).then((s) => {
1310
+ let i = [];
1311
+ return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
1312
+ this.selectedRowKeys = [...i], this.onSelectChange(i, []);
1313
+ }), s.data;
1314
+ });
1315
+ },
1316
+ detail: {}
1317
+ };
1318
+ },
1319
+ computed: {
1320
+ styled() {
1321
+ return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1342
1322
  },
1343
- getMock(t) {
1344
- const e = [], i = [];
1345
- T().then((s) => {
1346
- this.confirmLoading = !1;
1347
- for (let n = 0; n < s.data.length; n++) {
1348
- const r = s.data[n], a = {
1349
- key: r.id.toString(),
1350
- label: r.name,
1351
- description: `description of ${r.name}`
1352
- };
1353
- if (t)
1354
- for (let c = 0; c < t.noticeuseridlist.length; c++)
1355
- a.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1356
- i.push(a);
1357
- }
1358
- this.mockData = i, this.targetKeys = e;
1359
- });
1323
+ ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1324
+ },
1325
+ components: {},
1326
+ methods: {
1327
+ onSelectChange(t, e) {
1328
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
1360
1329
  },
1361
- handleChange(t) {
1362
- this.targetKeys = t;
1330
+ saveQueries(t) {
1331
+ this.queryParam = { ...t }, this.refresh();
1363
1332
  },
1364
1333
  refresh() {
1365
1334
  this.$refs.table.refresh();
1366
1335
  },
1336
+ init(t) {
1337
+ this.queryParam.searchValue = "", this.$refs.table.refresh();
1338
+ },
1339
+ dictSwitch(t, e) {
1340
+ let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
1341
+ return s != null && s.colour ? s.colour : null;
1342
+ },
1367
1343
  doEvent(t) {
1368
1344
  let e = t.item.functionName;
1369
1345
  this[e] && this[e]();
1346
+ }
1347
+ },
1348
+ mounted() {
1349
+ }
1350
+ };
1351
+ var oe = function() {
1352
+ var e = this, s = e._self._c;
1353
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: i, row: n }) {
1354
+ return [s("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
1355
+ } }, { key: "gender", fn: function(i) {
1356
+ return [s("div", { staticStyle: { cursor: "pointer" } }, [s("el-tag", { style: e._f("dictColor")("gender", i.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", i.row.gender)) + " ")])], 1)];
1357
+ } }, { key: "statecodes", fn: function(i) {
1358
+ return [s("div", { staticStyle: { cursor: "pointer" } }, [i.row.statecodes == 1 ? s("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : s("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
1359
+ } }, { key: "operator", fn: function() {
1360
+ return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(i) {
1361
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
1362
+ } }, model: { value: e.queryParam.searchValue, callback: function(i) {
1363
+ e.$set(e.queryParam, "searchValue", i);
1364
+ }, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
1365
+ }, proxy: !0 }]) })], 1)]);
1366
+ }, le = [], ce = /* @__PURE__ */ l(
1367
+ re,
1368
+ oe,
1369
+ le,
1370
+ !1,
1371
+ null,
1372
+ "e622f086",
1373
+ null,
1374
+ null
1375
+ );
1376
+ const de = ce.exports;
1377
+ const ue = {
1378
+ data() {
1379
+ return {
1380
+ confirmLoading: !0,
1381
+ sysViewButtons: [
1382
+ {
1383
+ displayName: "\u786E\u5B9A",
1384
+ functionName: "handleSubmit",
1385
+ show: !0,
1386
+ transKey: "gd.btn.confirm",
1387
+ icon: "el-icon-document-checked"
1388
+ }
1389
+ ],
1390
+ type: "noticeuser",
1391
+ fullScreen: !1,
1392
+ width: "90%",
1393
+ visible: !1,
1394
+ userRowList: [],
1395
+ teamRowList: [],
1396
+ roleRowList: [],
1397
+ orgRowList: [],
1398
+ recordData: "",
1399
+ enterType: ""
1400
+ };
1401
+ },
1402
+ components: { noticeUser: de, notcieOrg: V, noticeRole: Y, noticeTeam: ne },
1403
+ computed: {
1404
+ getHeight() {
1405
+ console.log(this.fullScreen, this.screenHeight);
1406
+ const t = this.fullScreen ? 210 : 370;
1407
+ return this.screenHeight - t;
1370
1408
  },
1371
- handleFile(t) {
1372
- if (!!["image"].includes("file") && !t) {
1373
- this.fileList = [];
1374
- return;
1375
- }
1409
+ getButtons() {
1410
+ return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
1376
1411
  },
1377
- uploadFile(t) {
1378
- if (!this.fileAccept.includes(t.file.type)) {
1379
- this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
1380
- return;
1381
- }
1382
- new FormData().append("file", t.file), R(t).then((s) => {
1383
- if (s.code === 200) {
1384
- const n = s.data.url, a = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
1385
- return this.ruleFormData.fileList = a.join(","), this.ruleFormData.name = s.data.fileoriginname.substring(0, s.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = s.data.id.toString(), t.onSuccess(s.data), s.data;
1386
- } else
1387
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + s.message), t.onError();
1388
- }).catch((s) => {
1389
- t.onError(s);
1390
- });
1412
+ ...o(["screenHeight", "tableLists", "primaryColor"])
1413
+ },
1414
+ methods: {
1415
+ toggleFullscreen() {
1416
+ this.fullScreen = !this.fullScreen;
1391
1417
  },
1392
- successFile(t, e, i) {
1418
+ init(t, e) {
1419
+ this.recordData = t, this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = "noticeuser", this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [], this.enterType = e, t && (this.getData(t, e), setTimeout(() => {
1420
+ this.$refs.noticeuserRef.init(this.userRowList);
1421
+ }, 100));
1393
1422
  },
1394
- removeFile(t, e) {
1395
- let i = [];
1396
- e.forEach((s) => {
1397
- s.response && s.response.id ? i.push(s.response.id) : i.push(s.url);
1398
- }), this.ruleFormData.fileList = i.join(","), this.ruleFormData.name = "", this.ruleFormData.fileid = "";
1423
+ getData(t, e) {
1424
+ v({
1425
+ id: e == "1" ? t[0] : t
1426
+ }).then((s) => {
1427
+ s.data.receivergroups.forEach((n) => {
1428
+ n.receivertype == "1" && (this.userRowList = n.receiveridlist), n.receivertype == "2" && (this.roleRowList = n.receiveridlist), n.receivertype == "3" && (this.teamRowList = n.receiveridlist), n.receivertype == "4" && (this.orgRowList = n.receiveridlist);
1429
+ });
1430
+ });
1399
1431
  },
1400
- previewFile(t) {
1401
- let e = "";
1402
- t.response && t.response.fileOriginName ? (e = t.response.fileOriginName, t.response.url) : (e = t.name, t.url);
1403
- const i = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
1404
- ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(i) ? this.imgPreview(t.response.id) : this.downFile(t);
1432
+ doEvent(t) {
1433
+ let e = t.item.functionName;
1434
+ this[e] && this[e]();
1405
1435
  },
1406
- imgPreview(t) {
1407
- C({
1408
- id: t
1409
- }).then((e) => {
1410
- const i = window.URL.createObjectURL(new Blob([e]));
1411
- this.imgList = [i], this.currentImg = i, this.$refs.imgPreview.open();
1436
+ tabChange(t) {
1437
+ this.$nextTick(() => {
1438
+ setTimeout(() => {
1439
+ }, 0);
1412
1440
  });
1413
1441
  },
1414
- downFile(t) {
1415
- this.$refs.filePreview.open(
1416
- Object.assign(t, {
1417
- fileId: t.response && t.response.fileoriginname ? t.response.id : t.fileId
1418
- })
1419
- );
1442
+ handleCancel() {
1443
+ this.visible = !1, this.confirmLoading = !1, this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [];
1420
1444
  },
1421
- getBlobType(t) {
1422
- let e = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
1423
- return this.fileType === "pdf" ? e = "application/pdf" : this.fileType === "docx" && (e = "application/msword"), e;
1445
+ handleSubmit() {
1446
+ let t = [
1447
+ {
1448
+ receiverType: "1",
1449
+ receiverIdList: this.userRowList.map(Number)
1450
+ },
1451
+ {
1452
+ receiverType: "2",
1453
+ receiverIdList: this.roleRowList.map(Number)
1454
+ },
1455
+ {
1456
+ receiverType: "3",
1457
+ receiverIdList: this.teamRowList.map(Number)
1458
+ },
1459
+ {
1460
+ receiverType: "4",
1461
+ receiverIdList: this.orgRowList.map(Number)
1462
+ }
1463
+ ];
1464
+ this.handleCancel(), this.$emit("ok", t);
1424
1465
  },
1425
- infoDownLoad(t) {
1426
- return S({
1427
- id: t
1428
- }).then((e) => {
1429
- this.ruleFormData.fileList = e.data.url, this.ruleFormData.name = e.data.fileoriginname.substring(0, e.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = e.data.id.toString(), this.fileListFile = [
1430
- {
1431
- name: e.data.fileoriginname,
1432
- url: e.data.url,
1433
- response: {
1434
- id: e.data.id,
1435
- url: e.data.url,
1436
- fileoriginname: e.data.fileoriginname
1437
- }
1438
- }
1439
- ];
1440
- });
1466
+ selectUser(t) {
1467
+ this.userRowList = t;
1441
1468
  },
1442
- getDictionary(t) {
1443
- return this.$options.filters.dictData(t);
1469
+ selectTeam(t) {
1470
+ this.teamRowList = t;
1444
1471
  },
1445
- changeMode(t) {
1446
- this.noticeType = t;
1472
+ selectRole(t) {
1473
+ this.roleRowList = t;
1474
+ },
1475
+ selectOrg(t) {
1476
+ this.orgRowList = t;
1447
1477
  }
1448
1478
  }
1449
1479
  };
1450
- var ue = function() {
1451
- var e = this, i = e._self._c;
1452
- return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
1453
- return [i("div", { staticClass: "gd-table-operator" }, [i("div", { staticClass: "gd-table-operatorl" }, [i("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.notice.title", "\u6807\u9898"), clearable: "" }, nativeOn: { keyup: function(s) {
1454
- return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
1455
- } }, model: { value: e.queryParam.SearchValue, callback: function(s) {
1456
- e.$set(e.queryParam, "SearchValue", s);
1457
- }, expression: "queryParam.SearchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1), i("div", { staticClass: "gd-table-operatorr" }, [i("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
1458
- }, proxy: !0 }, { key: "title", fn: function({ column: s, row: n }) {
1459
- return [i("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
1460
- } }, { key: "type", fn: function(s) {
1461
- return [i("el-tag", { style: e._f("dictColor")("notice_type", s.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", s.row.type)) + " ")])];
1462
- } }, { key: "status", fn: function(s) {
1463
- return [i("el-tag", { style: e._f("dictColor")("notice_status", s.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", s.row.status)) + " ")])];
1464
- } }, { key: "filtering", fn: function({ colse: s, visible: n }) {
1465
- return [i("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: n }, on: { save: e.saveQueries } })];
1466
- } }]) })], 1), i("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: s, column: n }) {
1467
- return [i("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(r) {
1468
- e.targetKeys = r;
1469
- }, expression: "targetKeys" } })];
1470
- } }, { key: "notifyingPerson", fn: function({ data: s, column: n }) {
1471
- return [i("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(r) {
1472
- return e.noticePerson(s);
1473
- } } }, [i("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")))])];
1474
- } }, { key: "notice_type", fn: function({ data: s, column: n }) {
1475
- return [i("el-radio-group", { on: { change: e.changeMode }, model: { value: s.type, callback: function(r) {
1476
- e.$set(s, "type", r);
1477
- }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(r, a) {
1478
- return i("el-radio", { key: r.code, attrs: { label: r.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]);
1479
- }), 1)];
1480
- } }, { key: "fileList", fn: function({ data: s, column: n }) {
1481
- return [i("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: n.limit, accept: n.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [i("el-button", { attrs: { size: "mini", type: "primary" } }, [i("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
1482
- } }]) }), i("detailForm", { ref: "detailForm" }), i("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), i("gd-file-preview", { ref: "filePreview" }), i("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
1483
- }, pe = [], fe = /* @__PURE__ */ l(
1484
- he,
1480
+ var he = function() {
1481
+ var e = this, s = e._self._c;
1482
+ return s("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(i) {
1483
+ e.visible = i;
1484
+ }, closed: e.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: `${e.$i18nt("gd.notice.notifyingPerson", "\u901A\u77E5")}`, fullscreen: e.fullScreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-tabs", { attrs: { type: "card" }, on: { "tab-click": e.tabChange }, model: { value: e.type, callback: function(i) {
1485
+ e.type = i;
1486
+ }, expression: "type" } }, [s("el-tab-pane", { attrs: { name: "noticeuser", label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237") } }, [e.type == "noticeuser" ? s("noticeUser", { ref: "noticeuserRef", attrs: { selectUserRow: e.userRowList, height: e.getHeight }, on: { ok: e.selectUser } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeteam", label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F") } }, [e.type == "noticeteam" ? s("noticeTeam", { ref: "noticeteamRef", attrs: { selectTeamRow: e.teamRowList, height: e.getHeight }, on: { ok: e.selectTeam } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticerole", label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272") } }, [e.type == "noticerole" ? s("noticeRole", { ref: "noticeroleRef", attrs: { selectRoleRow: e.roleRowList, height: e.getHeight }, on: { ok: e.selectRole } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeorg", label: e.$i18nt("gd.pagecomponents.institution", "\u673A\u6784") } }, [e.type == "noticeorg" ? s("notcieOrg", { ref: "noticeorgRef", attrs: { selectOrgRow: e.orgRowList, height: e.getHeight }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
1487
+ }, fe = [], pe = /* @__PURE__ */ l(
1485
1488
  ue,
1486
- pe,
1489
+ he,
1490
+ fe,
1487
1491
  !1,
1488
1492
  null,
1489
- "7a480ef7",
1493
+ "ee7d37db",
1490
1494
  null,
1491
1495
  null
1492
1496
  );
1493
- const p = fe.exports;
1494
- p.install = function(t) {
1495
- t.component(p.name, p);
1496
- };
1497
- u.install = function(t) {
1498
- t.component(u.name, u);
1499
- };
1497
+ const ge = pe.exports, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1498
+ __proto__: null,
1499
+ default: ge
1500
+ }, Symbol.toStringTag, { value: "Module" }));
1500
1501
  export {
1501
- p as G,
1502
- u as n
1502
+ f as G,
1503
+ I as m,
1504
+ h as n
1503
1505
  };