gds-plus-design-vue 1.2.62 → 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 (411) hide show
  1. package/lib/addPermission.179a09f4.mjs +443 -0
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/approvalModel.7b550187.mjs +340 -0
  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.d7d35011.mjs +539 -0
  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.06cf0433.mjs +1505 -0
  16. package/lib/components.coloreditor.f81d322a.js +6 -0
  17. package/lib/components.dataassign.21d3938b.mjs +147 -0
  18. package/lib/components.dataassign.565d22c0.js +1 -0
  19. package/lib/components.echarts.490abdfa.mjs +811 -0
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/components.exception.374f2ad9.js +1 -0
  22. package/lib/components.exception.ee1c4f83.mjs +61 -0
  23. package/lib/components.form.5533a8c3.js +41 -0
  24. package/lib/components.form.db8af727.mjs +7813 -0
  25. package/lib/components.globalheader.2eb787a4.js +1 -0
  26. package/lib/components.globalheader.b3b35343.mjs +54 -0
  27. package/lib/components.iconselector.8940b1a9.mjs +1169 -0
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/components.imgpreview.d97cf25c.js +1 -0
  30. package/lib/components.imgpreview.f05b3e06.mjs +213 -0
  31. package/lib/components.lunccalendar.18f84642.js +1 -0
  32. package/lib/components.lunccalendar.2a097955.mjs +1137 -0
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/components.middleware.de012955.mjs +148 -0
  35. package/lib/components.modaltitle.5060623f.mjs +127 -0
  36. package/lib/components.modaltitle.957cab33.js +1 -0
  37. package/lib/components.multitab.5eb6edff.mjs +140 -0
  38. package/lib/components.multitab.80eeb3ae.js +1 -0
  39. package/lib/components.selecttree.2fe70d88.js +1 -0
  40. package/lib/components.selecttree.756c4d22.mjs +170 -0
  41. package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
  42. package/lib/components.settingdrawer.8c12650b.js +1 -0
  43. package/lib/components.sidemenu.0673fe0a.mjs +277 -0
  44. package/lib/components.sidemenu.240dfde7.js +1 -0
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
  47. package/lib/components.statuschange.858b72e8.js +1 -0
  48. package/lib/components.statuschange.fae4adba.mjs +116 -0
  49. package/lib/components.table.1e338902.js +8 -0
  50. package/lib/components.table.9ed77207.mjs +4650 -0
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
  53. package/lib/components.tablevirtual.66890b2c.mjs +564 -0
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
  56. package/lib/components.teamsharing.89e668fd.js +1 -0
  57. package/lib/components.tooltip.0ea7e2b1.js +1 -0
  58. package/lib/components.tooltip.376d95fe.mjs +86 -0
  59. package/lib/components.uploadfile.0a5a1608.mjs +228 -0
  60. package/lib/components.uploadfile.8e0e702c.js +1 -0
  61. package/lib/components.uploadimg.bc160e00.js +1 -0
  62. package/lib/components.uploadimg.decb0360.mjs +192 -0
  63. package/lib/components.verificationcode.140533c7.js +1 -0
  64. package/lib/components.verificationcode.7091b10b.mjs +71 -0
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/components.viewformdetails.d241c652.mjs +1081 -0
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/components.viewloading.aae3aab4.mjs +99 -0
  69. package/lib/components.watermark.2ec3260c.mjs +53 -0
  70. package/lib/components.watermark.d9ec8130.js +2 -0
  71. package/lib/components.xlsxexport.0d1553b1.js +1 -0
  72. package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
  73. package/lib/components.xlsximport.81df7841.mjs +922 -0
  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.eac5ccae.mjs +154 -0
  81. package/lib/dialogLayout.bf435838.mjs +138 -0
  82. package/lib/dialogLayout.f0779aed.js +1 -0
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/drawerLayout.b6c7c3c6.js +1 -0
  86. package/lib/drawerLayout.e3c0164d.mjs +119 -0
  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.5c8a883d.mjs +363 -0
  93. package/lib/flow.designer.81c29f62.mjs +7673 -0
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/flow.list.ab420927.mjs +3032 -0
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/form.build.d04773f0.mjs +259 -0
  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.c949a27f.mjs +507 -0
  103. package/lib/gd-initial.js +1 -35
  104. package/lib/gd-initial.mjs +245 -91338
  105. package/lib/http.appmanage.b998818f.js +1 -0
  106. package/lib/http.appmanage.e389782d.mjs +50 -0
  107. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  108. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  109. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  110. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  111. package/lib/http.currencymanage.37ab5ced.js +1 -0
  112. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  113. package/lib/http.datasource.294b01e2.js +1 -0
  114. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  115. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  116. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  117. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  118. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  119. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  120. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  121. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  122. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  123. package/lib/http.filedocument.6fdfc693.js +1 -0
  124. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  125. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  126. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  127. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  128. package/lib/http.languagemanage.e2c098ec.js +1 -0
  129. package/lib/http.loginmanage.05500c29.mjs +74 -0
  130. package/lib/http.loginmanage.326984c3.js +1 -0
  131. package/lib/http.logmanage.1e12a9bd.js +1 -0
  132. package/lib/http.logmanage.8ba72635.mjs +82 -0
  133. package/lib/http.machinemanage.29d72a65.js +1 -0
  134. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  135. package/lib/http.main.2f8a6936.js +1 -0
  136. package/lib/http.main.aefea27d.mjs +517 -0
  137. package/lib/http.menumanage.3060f4c7.mjs +66 -0
  138. package/lib/http.menumanage.6d740f2c.js +1 -0
  139. package/lib/http.message.87f319d7.js +1 -0
  140. package/lib/http.message.ceb0a1c6.mjs +178 -0
  141. package/lib/http.noticemanage.2507d094.js +1 -0
  142. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  143. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  144. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  145. package/lib/http.onlineusermanage.3893f897.js +1 -0
  146. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  147. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  148. package/lib/http.orgmanage.5162fd7a.js +1 -0
  149. package/lib/http.pluginmanage.54720675.mjs +82 -0
  150. package/lib/http.pluginmanage.6a876040.js +1 -0
  151. package/lib/http.posmanage.c0f80aec.js +1 -0
  152. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  153. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  154. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  155. package/lib/http.rolemanage.4d1101dd.js +1 -0
  156. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  157. package/lib/http.solution.b10d9197.mjs +91 -0
  158. package/lib/http.solution.c6b2634f.js +1 -0
  159. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  160. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  161. package/lib/http.sysapps.469d47f7.js +1 -0
  162. package/lib/http.sysapps.932ba43b.mjs +58 -0
  163. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  164. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  165. package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
  166. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  167. package/lib/http.team.a9c609d5.mjs +90 -0
  168. package/lib/http.team.e45400d5.js +1 -0
  169. package/lib/http.timersmanage.6e894942.js +1 -0
  170. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  171. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  172. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  173. package/lib/http.translationmanage.1f9dce46.js +1 -0
  174. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  175. package/lib/http.useraffiliation.af2013ad.js +1 -0
  176. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  177. package/lib/http.usermanage.6dcbc7de.js +1 -0
  178. package/lib/http.usermanage.f5491144.mjs +219 -0
  179. package/lib/http.webresource.1a1a768f.mjs +50 -0
  180. package/lib/http.webresource.7c01b9cd.js +1 -0
  181. package/lib/index.9deaa991.mjs +25906 -0
  182. package/lib/index.d95c407c.js +8 -0
  183. package/lib/layoutBlocks.26e1b57b.js +1 -0
  184. package/lib/layoutBlocks.31454610.mjs +413 -0
  185. package/lib/layoutItem.c1c836a1.js +1 -0
  186. package/lib/layoutItem.cf18143e.mjs +71 -0
  187. package/lib/layouts.2d06f3e9.js +2 -0
  188. package/lib/layouts.3b383d04.mjs +373 -0
  189. package/lib/main.09d48801.js +1 -0
  190. package/lib/main.28b7c398.js +1 -0
  191. package/lib/main.29e204f9.mjs +166 -0
  192. package/lib/main.33443996.mjs +231 -0
  193. package/lib/main.357c50d2.js +1 -0
  194. package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
  195. package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
  196. package/lib/main.4a38d5f8.js +1 -0
  197. package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
  198. package/lib/main.60c2a1a2.js +1 -0
  199. package/lib/main.61c9e5c6.mjs +537 -0
  200. package/lib/main.643d21a0.mjs +552 -0
  201. package/lib/main.64ddb5f6.mjs +189 -0
  202. package/lib/main.728eaf53.js +1 -0
  203. package/lib/main.892caa37.js +1 -0
  204. package/lib/main.aea9b6a8.mjs +323 -0
  205. package/lib/main.b7a5a02b.js +1 -0
  206. package/lib/main.c71e5b11.js +1 -0
  207. package/lib/main.edc0b23b.js +1 -0
  208. package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
  209. package/lib/manage.101f1aa9.js +1 -0
  210. package/lib/manage.f4000654.mjs +441 -0
  211. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  212. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  213. package/lib/messages.messagetemplate.32273e00.js +7 -0
  214. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  215. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  216. package/lib/messages.sendplan.fbac188d.js +1 -0
  217. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  218. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  219. package/lib/messages.templatelibrary.ec512390.js +2 -0
  220. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  221. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  222. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  223. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  224. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  225. package/lib/moveFile.335ebc8d.js +1 -0
  226. package/lib/moveFile.d71c0824.mjs +276 -0
  227. package/lib/page.build.376104d5.mjs +3164 -0
  228. package/lib/page.build.37b26617.js +12 -0
  229. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  230. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  231. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  232. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  233. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  234. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  235. package/lib/page.designer.operation.6179b661.js +1 -0
  236. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  237. package/lib/page.designer.page.09402332.js +1 -0
  238. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  239. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  240. package/lib/personal.echarts.b7ee86f4.js +1 -0
  241. package/lib/result.0c089066.mjs +639 -0
  242. package/lib/result.9282a717.js +1 -0
  243. package/lib/router.config.68077a12.js +1 -0
  244. package/lib/router.config.86225b11.mjs +1424 -0
  245. package/lib/solution.application.d459e382.js +1 -0
  246. package/lib/solution.application.e0d58df1.mjs +548 -0
  247. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  248. package/lib/solution.applicationmenu.ae295083.js +1 -0
  249. package/lib/solution.approvalflow.436b3502.js +1 -0
  250. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  251. package/lib/solution.dict.acbe9c55.js +1 -0
  252. package/lib/solution.dict.ef98b194.mjs +769 -0
  253. package/lib/solution.menu.5c17348f.mjs +432 -0
  254. package/lib/solution.menu.cca5e1f9.js +1 -0
  255. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  256. package/lib/solution.plugin.f9a8063f.js +1 -0
  257. package/lib/solution.processflow.2692dac6.js +1 -0
  258. package/lib/solution.processflow.c1544b05.mjs +392 -0
  259. package/lib/solution.role.b1ab40dd.mjs +456 -0
  260. package/lib/solution.role.b28c4dbe.js +1 -0
  261. package/lib/solution.webresources.0b51beba.mjs +379 -0
  262. package/lib/solution.webresources.6961cc68.js +1 -0
  263. package/lib/solution.workflow.11e49e25.js +1 -0
  264. package/lib/solution.workflow.c48545d1.mjs +395 -0
  265. package/lib/store.config.03dd7b19.mjs +547 -0
  266. package/lib/store.config.556bd56b.js +1 -0
  267. package/lib/style.css +3 -3
  268. package/lib/system.account.1cadbf03.mjs +2093 -0
  269. package/lib/system.account.5cc9fe8d.js +216 -0
  270. package/lib/system.config.a0b94e40.js +1 -0
  271. package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
  272. package/lib/system.datasource.6c30ce25.js +1 -0
  273. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
  274. package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
  275. package/lib/system.dict.6b000092.js +1 -0
  276. package/lib/system.document.f67c2994.mjs +667 -0
  277. package/lib/system.document.f8fd7af0.js +1 -0
  278. package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
  279. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  280. package/lib/system.email.11ab6f31.js +1 -0
  281. package/lib/system.email.13823361.mjs +133 -0
  282. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  283. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
  284. package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
  285. package/lib/system.file.b9f8320c.js +1 -0
  286. package/lib/system.log.470d3efd.js +1 -0
  287. package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
  288. package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
  289. package/lib/system.machine.f8aff893.js +1 -0
  290. package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
  291. package/lib/system.notice.db26f308.js +1 -0
  292. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
  293. package/lib/system.noticereceived.84b88b9a.js +1 -0
  294. package/lib/system.onlineuser.985621a6.js +1 -0
  295. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
  296. package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
  297. package/lib/system.org.9f87a010.js +1 -0
  298. package/lib/system.permissions.15e6b8b7.js +1 -0
  299. package/lib/system.permissions.be9238ee.mjs +972 -0
  300. package/lib/system.plugin.0bccfec4.js +1 -0
  301. package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
  302. package/lib/system.pos.61e58a92.js +1 -0
  303. package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
  304. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
  305. package/lib/system.promptmanagement.e750de82.js +1 -0
  306. package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
  307. package/lib/system.role.e86b60f1.js +1 -0
  308. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
  309. package/lib/system.sumberrules.810f7b55.js +1 -0
  310. package/lib/system.team.58ee701b.js +1 -0
  311. package/lib/system.team.8911fd95.mjs +452 -0
  312. package/lib/system.teammembers.1880f962.js +1 -0
  313. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
  314. package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
  315. package/lib/system.timers.9e956553.js +38 -0
  316. package/lib/system.translation.26b6bb39.js +1 -0
  317. package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
  318. package/lib/system.user.134a3988.js +14 -0
  319. package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
  320. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
  321. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  322. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
  323. package/lib/system.webresource.e92e8a8f.js +1 -0
  324. package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
  325. package/lib/system.welcome.ff0c85e2.js +1 -0
  326. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  327. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  328. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  329. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  330. package/lib/tableDescriptions.a4196776.mjs +80 -0
  331. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  332. package/lib/tcheckboxs.7ea99d35.js +1 -0
  333. package/lib/tcheckboxs.999b7c2e.mjs +52 -0
  334. package/lib/tcurrency.4afb9192.mjs +85 -0
  335. package/lib/tcurrency.8a2361f2.js +1 -0
  336. package/lib/tdatepicker.606214fa.mjs +52 -0
  337. package/lib/tdatepicker.8e94a60c.js +1 -0
  338. package/lib/tdictSwitch.ccbdd153.js +1 -0
  339. package/lib/tdictSwitch.e016d4cf.mjs +60 -0
  340. package/lib/tfile.3f39223d.mjs +62 -0
  341. package/lib/tfile.b3ebdc71.js +1 -0
  342. package/lib/tparticipants.5fe27540.mjs +56 -0
  343. package/lib/tparticipants.78c8c175.js +1 -0
  344. package/lib/translation.mains.2688be5b.mjs +383 -0
  345. package/lib/translation.mains.a6f19343.js +1 -0
  346. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  347. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  348. package/lib/utils.echarts.js.461a74e7.js +54 -0
  349. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  350. package/lib/utils.mixins.js.750ca50e.js +1 -0
  351. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  352. package/lib/utils.plug.js.9313aead.mjs +31 -0
  353. package/lib/utils.plug.js.f62510ce.js +1 -0
  354. package/lib/utils.util.js.333daba2.mjs +439 -0
  355. package/lib/utils.util.js.c0ba699b.js +1 -0
  356. package/lib/versionControl.46a7f31a.js +1 -0
  357. package/lib/versionControl.c53bfb5d.mjs +488 -0
  358. package/lib/versionEdit.4246d5db.js +1 -0
  359. package/lib/versionEdit.5a8292ec.mjs +452 -0
  360. package/lib/view.build.85732408.mjs +1578 -0
  361. package/lib/view.build.e43a2077.js +1 -0
  362. package/lib/viewList.868edcd7.js +1 -0
  363. package/lib/viewList.978b72c5.mjs +324 -0
  364. package/lib/viewTree.7497ff90.js +1 -0
  365. package/lib/viewTree.bde43a3b.mjs +409 -0
  366. package/locale/en_US.js +82 -27
  367. package/locale/id_ID.js +66 -11
  368. package/locale/vi_VN.js +1968 -1913
  369. package/locale/zh_CN.js +88 -32
  370. package/package.json +106 -105
  371. package/lib/chartbi.114d32d7.js +0 -60
  372. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  373. package/lib/main.083e0ba3.js +0 -1
  374. package/lib/main.4a858284.js +0 -1
  375. package/lib/main.64cb2027.js +0 -1
  376. package/lib/main.70a46cbc.js +0 -1
  377. package/lib/messages.364eb728.js +0 -9
  378. package/lib/messages.5bcc42f9.mjs +0 -5863
  379. package/lib/system.account.95bd8508.js +0 -216
  380. package/lib/system.account.d6c7485b.mjs +0 -2552
  381. package/lib/system.config.63c0217d.js +0 -1
  382. package/lib/system.datasource.a2c0bad4.js +0 -1
  383. package/lib/system.dict.dfb4c376.js +0 -1
  384. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  385. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  386. package/lib/system.email.545cedff.mjs +0 -7432
  387. package/lib/system.email.ec0ac728.js +0 -41
  388. package/lib/system.fieldsecurity.eb217079.js +0 -1
  389. package/lib/system.file.1cb952a4.js +0 -1
  390. package/lib/system.log.348b3605.js +0 -1
  391. package/lib/system.machine.49fc6405.js +0 -1
  392. package/lib/system.notice.d7a3346d.js +0 -1
  393. package/lib/system.noticereceived.c0b24616.js +0 -1
  394. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  395. package/lib/system.org.30063246.js +0 -1
  396. package/lib/system.permissions.1ff855c2.js +0 -9
  397. package/lib/system.permissions.fdad3c36.mjs +0 -212
  398. package/lib/system.plugin.2c7c8a5a.js +0 -1
  399. package/lib/system.pos.21294c28.js +0 -1
  400. package/lib/system.promptmanagement.7e8da777.js +0 -1
  401. package/lib/system.role.078fac85.js +0 -1
  402. package/lib/system.sumberrules.b0252f77.js +0 -1
  403. package/lib/system.team.296512d7.mjs +0 -1000
  404. package/lib/system.team.5d6169bc.js +0 -1
  405. package/lib/system.teammembers.313345f7.js +0 -1
  406. package/lib/system.timers.8246e6ba.js +0 -38
  407. package/lib/system.translation.fdff4956.js +0 -1
  408. package/lib/system.user.49457fd3.js +0 -14
  409. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  410. package/lib/system.webresource.2a341e05.js +0 -1
  411. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -1,207 +1,14 @@
1
- import { m as r, n as l } from "./chartbi.eb4dd0af.mjs";
2
- import { g as w, s as b } from "./system.account.d6c7485b.mjs";
3
- import { t as u, m as _, a as v, n as T } from "./messages.5bcc42f9.mjs";
4
- import { g as $, a as R } from "./system.fieldsecurity.9d40595f.mjs";
5
- import "./system.email.545cedff.mjs";
6
- function g(t) {
7
- return window.axios({
8
- url: "/sysNotice/page",
9
- method: "get",
10
- params: t
11
- });
12
- }
13
- function C(t) {
14
- return window.axios({
15
- url: "/sysNotice/add",
16
- method: "post",
17
- data: t
18
- });
19
- }
20
- function S(t) {
21
- return window.axios({
22
- url: "/sysNotice/edit",
23
- method: "post",
24
- data: t
25
- });
26
- }
27
- function K(t) {
28
- return window.axios({
29
- url: "/sysNotice/delete",
30
- method: "post",
31
- data: t
32
- });
33
- }
34
- function y(t) {
35
- return window.axios({
36
- url: "/sysNotice/detail",
37
- method: "get",
38
- params: t
39
- });
40
- }
41
- function m(t) {
42
- return window.axios({
43
- url: "/sysNotice/changeStatus",
44
- method: "post",
45
- data: t
46
- });
47
- }
48
- function L(t) {
49
- return window.axios({
50
- url: "/sysNotice/receiversByTypes",
51
- method: "get",
52
- params: t
53
- });
54
- }
55
- function _e(t) {
56
- return window.axios({
57
- url: "/sysMessage/page",
58
- method: "get",
59
- params: t
60
- });
61
- }
62
- function ve(t) {
63
- return window.axios({
64
- url: "/sysMessage/markAllAsRead",
65
- method: "post",
66
- data: t
67
- });
68
- }
69
- function Te(t, e) {
70
- return window.axios({
71
- url: e || "/sysEvents/month",
72
- method: "get",
73
- params: t
74
- });
75
- }
76
- const x = {
77
- name: "GdNoticeDetails",
78
- props: {
79
- modeType: {
80
- type: String,
81
- default: "dialog"
82
- }
83
- },
84
- data() {
85
- return {
86
- transKey: "gd.notice.detail",
87
- fullscreen: !1,
88
- visible: !1,
89
- width: "900",
90
- confirmLoading: !1,
91
- contentRecord: {},
92
- sysViewButtons: [],
93
- type: "pdf"
94
- };
95
- },
96
- computed: {
97
- height() {
98
- return this.screenHeight - 24 - 40 - 36;
99
- },
100
- headTitle() {
101
- return this.$i18nt(this.transKey, this.title);
102
- },
103
- style() {
104
- return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
105
- },
106
- ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
107
- },
108
- methods: {
109
- open(t) {
110
- this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
111
- },
112
- sysNoticeDetail(t) {
113
- this.fullscreen = !1, y({
114
- id: t
115
- }).then((e) => {
116
- e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
117
- setTimeout(() => {
118
- let s = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
119
- this.$refs.filePreview.open(s);
120
- }, 0);
121
- })) : this.$message.error(e.message), this.confirmLoading = !1;
122
- });
123
- },
124
- handleCancel() {
125
- this.visible = !1, this.contentRecord = {};
126
- },
127
- closed() {
128
- this.visible = !1;
129
- },
130
- toggleFullscreen() {
131
- this.fullscreen = !this.fullscreen;
132
- },
133
- doEvent(t) {
134
- const e = t.item.functionName;
135
- this[e] && this[e]();
136
- }
137
- }
138
- };
139
- var P = function() {
140
- var e = this, s = e._self._c;
141
- 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) {
142
- e.visible = i;
143
- }, 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);
144
- }, k = [], N = /* @__PURE__ */ l(
145
- x,
146
- P,
147
- k,
148
- !1,
149
- null,
150
- "5cb794ba",
151
- null,
152
- null
153
- );
154
- const h = N.exports;
155
- function $e(t) {
156
- return window.axios({
157
- url: "/sysOrg/tree",
158
- method: "get",
159
- params: t
160
- });
161
- }
162
- function F(t) {
163
- return window.axios({
164
- url: "/sysOrg/page",
165
- method: "get",
166
- params: t
167
- });
168
- }
169
- function Re(t) {
170
- return window.axios({
171
- url: "/sysOrg/add",
172
- method: "post",
173
- data: t
174
- });
175
- }
176
- function Ce(t) {
177
- return window.axios({
178
- url: "/sysOrg/edit",
179
- method: "post",
180
- data: t
181
- });
182
- }
183
- function Se(t) {
184
- return window.axios({
185
- url: "/sysOrg/delete",
186
- method: "post",
187
- data: t
188
- });
189
- }
190
- function Ke(t) {
191
- return window.axios({
192
- url: "/SysRoleDataControl/detail",
193
- method: "get",
194
- params: t
195
- });
196
- }
197
- function Le(t) {
198
- return window.axios({
199
- url: "/SysRoleDataControl/save",
200
- method: "post",
201
- data: t
202
- });
203
- }
204
- const D = {
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
+ const F = {
205
12
  data() {
206
13
  return {
207
14
  tableColumns: [
@@ -435,588 +242,693 @@ const D = {
435
242
  }]
436
243
  };
437
244
  }
438
- }, O = {
439
- data() {
440
- return {
441
- tableColumns: [
442
- {
443
- type: "selection",
444
- width: "60",
445
- fixed: !0
446
- },
447
- {
448
- transKey: "gd.org.displayName",
449
- prop: "name",
450
- label: "\u673A\u6784\u540D\u79F0",
451
- minWidth: "260",
452
- type: "slot",
453
- slotType: "name",
454
- align: "left",
455
- fixed: !0,
456
- renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
457
- effectType: "input"
458
- }),
459
- showOverflowTooltip: !0
460
- },
461
- {
462
- transKey: "gd.org.type",
463
- prop: "orgType",
464
- label: "\u673A\u6784\u7C7B\u578B",
465
- minWidth: "220",
466
- type: "slot",
467
- slotType: "orgType",
468
- align: "left",
469
- showOverflowTooltip: !0
470
- },
471
- {
472
- transKey: "gd.org.code",
473
- prop: "code",
474
- width: "200",
475
- label: "\u552F\u4E00\u7F16\u7801",
476
- align: "left",
477
- showOverflowTooltip: !0
478
- },
479
- {
480
- transKey: "gd.org.sort",
481
- prop: "sort",
482
- width: "120",
483
- label: "\u6392\u5E8F",
484
- align: "left"
485
- },
486
- {
487
- transKey: "gd.org.remark",
488
- prop: "remark",
489
- minWidth: "300",
490
- type: "slot",
491
- slotType: "remark",
492
- label: "\u5907\u6CE8",
493
- align: "left"
494
- }
495
- ],
496
- tableQueries: [{
497
- transKey: "gd.process.tableSor",
498
- prop: "tableId",
499
- label: "\u8868\u540D\u79F0",
500
- effectType: "selectTable",
501
- rules: []
502
- }, {
503
- transKey: "gd.flow.state",
504
- prop: "stateCodes",
505
- label: "\u72B6\u6001",
506
- effectType: "select",
507
- dictTypeCode: "state_code",
508
- rules: []
509
- }]
510
- };
511
- }
512
245
  };
513
- const B = {
246
+ const N = {
247
+ name: "GdNotice",
514
248
  props: {
515
249
  height: {
516
250
  type: Number,
517
- default: 0
518
- },
519
- selectOrgRow: {
520
- type: Array,
521
- default: () => []
251
+ default: 100
522
252
  }
523
253
  },
524
- mixins: [u, O],
254
+ mixins: [u, F],
525
255
  data() {
526
256
  return {
527
- selectedRows: [],
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: [],
528
260
  selectedRowKeys: [],
261
+ selectedRows: [],
529
262
  queryParam: {},
530
- loadData: (t) => F(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
531
- let s = [...this.selectOrgRow];
532
- this.selectedRowKeys = [...s], this.onSelectChange(s, []);
533
- }, 10), e.data)),
534
- detail: {}
263
+ formLoading: !1,
264
+ mockData: [],
265
+ targetKeys: [],
266
+ noticeUserIdList: [],
267
+ status: 0,
268
+ type: "noticeUser",
269
+ confirmLoading: !1,
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"]
535
288
  };
536
289
  },
290
+ components: {
291
+ detailForm: () => Promise.resolve().then(() => I),
292
+ editNoticeForm: () => Promise.resolve().then(() => me)
293
+ },
537
294
  computed: {
538
295
  getHeight() {
539
- return this.screenHeight - 500;
296
+ return this.height;
540
297
  },
541
- styled() {
542
- return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
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")));
307
+ },
308
+ getButtons() {
309
+ return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
543
310
  },
544
- ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
311
+ ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
312
+ },
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);
317
+ });
318
+ }, 1e3));
545
319
  },
546
- components: {},
547
320
  methods: {
548
321
  onSelectChange(t, e) {
549
- this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
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);
550
332
  },
551
- refresh() {
552
- this.$refs.table.refresh();
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];
553
336
  },
554
- dictSwitch(t, e) {
555
- let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
556
- return s != null && s.colour ? s.colour : null;
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);
557
344
  },
558
- doEvent(t) {
559
- let e = t.item.functionName;
560
- this[e] && this[e]();
561
- }
562
- }
563
- };
564
- var z = function() {
565
- var e = this, s = e._self._c;
566
- 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.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
567
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
568
- } }, { key: "orgType", fn: function(i) {
569
- 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)) + " ")])];
570
- } }, { key: "remark", fn: function({ column: i, row: n }) {
571
- return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
572
- } }]) })], 1)]);
573
- }, H = [], A = /* @__PURE__ */ l(
574
- B,
575
- z,
576
- H,
577
- !1,
578
- null,
579
- "b1509975",
580
- null,
581
- null
582
- );
583
- const E = A.exports;
584
- function q(t) {
585
- return window.axios({
586
- url: "/sysApps/page",
587
- method: "get",
588
- params: t
589
- });
590
- }
591
- function xe(t) {
592
- return window.axios({
593
- url: "/sysApps/detail",
594
- method: "get",
595
- params: t
596
- });
597
- }
598
- function Pe(t) {
599
- return window.axios({
600
- url: "/sysApps/add",
601
- method: "post",
602
- data: t
603
- });
604
- }
605
- function ke(t) {
606
- return window.axios({
607
- url: "/sysApps/edit",
608
- method: "post",
609
- data: t
610
- });
611
- }
612
- function Ne(t) {
613
- return window.axios({
614
- url: "/sysApps/delete",
615
- method: "post",
616
- data: t
617
- });
618
- }
619
- function Fe(t) {
620
- return window.axios({
621
- url: "/SysPublishhistory/add",
622
- method: "post",
623
- data: t
624
- });
625
- }
626
- function De(t) {
627
- return window.axios({
628
- url: "/SysPublishhistory/list",
629
- method: "post",
630
- data: t
631
- });
632
- }
633
- const I = {
634
- data() {
635
- return {
636
- tableColumns: [
637
- {
638
- type: "selection",
639
- width: "60",
640
- fixed: !0
641
- },
642
- {
643
- transKey: "gd.user.roleName",
644
- prop: "name",
645
- label: "\u89D2\u8272\u540D\u79F0",
646
- type: "slot",
647
- slotType: "name",
648
- align: "left",
649
- fixed: !0,
650
- showOverflowTooltip: !0
651
- },
652
- {
653
- transKey: "gd.org.code",
654
- prop: "code",
655
- label: "\u552F\u4E00\u7F16\u7801",
656
- align: "left",
657
- showOverflowTooltip: !0
658
- },
659
- {
660
- transKey: "gd.org.sort",
661
- prop: "sort",
662
- width: "200",
663
- label: "\u6392\u5E8F",
664
- align: "left"
665
- },
666
- {
667
- transKey: "gd.org.remark",
668
- prop: "remark",
669
- label: "\u5907\u6CE8",
670
- align: "left",
671
- showOverflowTooltip: !0
672
- }
673
- ],
674
- tableQueries: [{
675
- transKey: "gd.process.tableSor",
676
- prop: "tableId",
677
- label: "\u8868\u540D\u79F0",
678
- effectType: "selectTable",
679
- rules: []
680
- }, {
681
- transKey: "gd.flow.state",
682
- prop: "stateCodes",
683
- label: "\u72B6\u6001",
684
- effectType: "select",
685
- dictTypeCode: "state_code",
686
- rules: []
687
- }]
688
- };
689
- }
690
- };
691
- const M = {
692
- props: {
693
- height: {
694
- type: Number,
695
- default: 0
345
+ noticePerson(t) {
346
+ this.$refs.editNoticeFormRef.init(t.id, "2");
696
347
  },
697
- selectRoleRow: {
698
- type: Array,
699
- default: () => []
700
- }
701
- },
702
- mixins: [u, I],
703
- data() {
704
- return {
705
- selectedRows: [],
706
- selectedRowKeys: [],
707
- queryParam: { sysAppsId: "" },
708
- loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
709
- let s = [...this.selectRoleRow];
710
- this.selectedRowKeys = [...s], this.onSelectChange(s, []);
711
- }, 10), e.data)),
712
- detail: {}
713
- };
714
- },
715
- computed: {
716
- getHeight() {
717
- return this.screenHeight - 500;
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");
718
358
  },
719
- styled() {
720
- return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
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
+ );
721
380
  },
722
- ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
723
- },
724
- components: {},
725
- methods: {
726
- getSysAppsPage() {
727
- q().then((t) => {
728
- t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
729
- });
381
+ editForm(t) {
382
+ this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
730
383
  },
731
- onSelectChange(t, e) {
732
- 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;
733
386
  },
734
- refresh() {
735
- 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
+ }
736
433
  },
737
- dictSwitch(t, e) {
738
- let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
739
- return s != null && s.colour ? s.colour : null;
434
+ saveQueries(t) {
435
+ this.queryParam = t, this.refresh();
740
436
  },
741
- doEvent(t) {
742
- let e = t.item.functionName;
743
- this[e] && this[e]();
744
- }
745
- },
746
- created() {
747
- this.getSysAppsPage();
748
- }
749
- };
750
- var j = function() {
751
- var e = this, s = e._self._c;
752
- 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.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
753
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
754
- } }]) })], 1)]);
755
- }, U = [], V = /* @__PURE__ */ l(
756
- M,
757
- j,
758
- U,
759
- !1,
760
- null,
761
- "4f37cfa6",
762
- null,
763
- null
764
- );
765
- const Q = V.exports, G = {
766
- data() {
767
- return {
768
- tableColumns: [
769
- {
770
- type: "selection",
771
- width: "60",
772
- fixed: !0
773
- },
774
- {
775
- transKey: "gd.fieldSecurity.name",
776
- prop: "name",
777
- label: "\u540D\u79F0",
778
- type: "slot",
779
- slotType: "name",
780
- align: "left",
781
- showOverflowTooltip: !0
782
- },
783
- {
784
- transKey: "gd.fieldSecurity.teamType",
785
- prop: "teamType",
786
- label: "\u56E2\u961F\u7C7B\u578B",
787
- align: "left",
788
- type: "slot",
789
- slotType: "teamType",
790
- 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: () => {
791
468
  },
792
- {
793
- transKey: "gd.fieldSecurity.description",
794
- prop: "description",
795
- label: "\u8BF4\u660E",
796
- type: "slot",
797
- slotType: "description",
798
- align: "left"
469
+ beforeClose: (t, e, s) => {
470
+ this.rollbackHand(t, e, s);
799
471
  }
800
- ],
801
- tableQueries: [{
802
- transKey: "gd.process.tableSor",
803
- prop: "tableId",
804
- label: "\u8868\u540D\u79F0",
805
- effectType: "selectTable",
806
- rules: []
807
- }, {
808
- transKey: "gd.flow.state",
809
- prop: "stateCodes",
810
- label: "\u72B6\u6001",
811
- effectType: "select",
812
- dictTypeCode: "state_code",
813
- rules: []
814
- }]
815
- };
816
- }
817
- };
818
- const J = {
819
- props: {
820
- height: {
821
- type: Number,
822
- default: 0
472
+ });
823
473
  },
824
- selectTeamRow: {
825
- type: Array,
826
- default: () => []
827
- }
828
- },
829
- mixins: [u, G],
830
- data() {
831
- return {
832
- selectedRows: [],
833
- selectedRowKeys: [],
834
- queryParam: {},
835
- loadData: (t) => R(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
836
- let s = [...this.selectTeamRow];
837
- this.selectedRowKeys = [...s], this.onSelectChange(s, []);
838
- }, 10), e.data)),
839
- detail: {}
840
- };
841
- },
842
- computed: {
843
- getHeight() {
844
- return this.screenHeight - 500;
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
+ });
845
491
  },
846
- styled() {
847
- return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
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: () => {
512
+ },
513
+ beforeClose: (t, e, s) => {
514
+ this.releaseHand(t, e, s);
515
+ }
516
+ });
848
517
  },
849
- ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
850
- },
851
- components: {},
852
- methods: {
853
- onSelectChange(t, e) {
854
- this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
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: () => {
552
+ },
553
+ beforeClose: (t, e, s) => {
554
+ this.delHand(t, e, s);
555
+ }
556
+ });
557
+ },
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
+ });
572
+ },
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
+ });
579
+ },
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;
596
+ });
597
+ },
598
+ handleChange(t) {
599
+ this.targetKeys = t;
855
600
  },
856
601
  refresh() {
857
602
  this.$refs.table.refresh();
858
603
  },
859
- dictSwitch(t, e) {
860
- let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
861
- return s != null && s.colour ? s.colour : null;
862
- },
863
604
  doEvent(t) {
864
605
  let e = t.item.functionName;
865
606
  this[e] && this[e]();
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;
866
684
  }
867
685
  }
868
686
  };
869
- var W = function() {
687
+ var x = function() {
870
688
  var e = this, s = e._self._c;
871
- 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.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
872
- return [s("span", [e._v(" " + e._s(n.name) + " ")])];
873
- } }, { key: "teamType", fn: function({ column: i, row: n }) {
874
- return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
875
- } }, { key: "description", fn: function({ column: i, row: n }) {
876
- return [e._v(" " + e._s(n.description) + " ")];
877
- } }]) })], 1)]);
878
- }, X = [], Y = /* @__PURE__ */ l(
879
- J,
880
- W,
881
- X,
882
- !1,
883
- null,
884
- "1c4840a6",
885
- null,
886
- null
887
- );
888
- const Z = Y.exports, ee = {
889
- data() {
890
- return {
891
- tableColumns: [
892
- {
893
- type: "selection",
894
- width: "60",
895
- fixed: !0
896
- },
897
- {
898
- transKey: "gd.user.account",
899
- prop: "account",
900
- label: "\u8D26\u53F7",
901
- width: "220",
902
- type: "slot",
903
- slotType: "account",
904
- align: "left",
905
- fixed: !0,
906
- showOverflowTooltip: !0
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,
806
+ !1,
807
+ null,
808
+ "9aab64a3",
809
+ null,
810
+ null
811
+ );
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 = {
820
+ data() {
821
+ return {
822
+ tableColumns: [
823
+ {
824
+ type: "selection",
825
+ width: "60",
826
+ fixed: !0
907
827
  },
908
828
  {
909
- transKey: "gd.user.name",
829
+ transKey: "gd.org.displayName",
910
830
  prop: "name",
911
- label: "\u59D3\u540D",
912
- width: "160",
831
+ label: "\u673A\u6784\u540D\u79F0",
832
+ minWidth: "260",
833
+ type: "slot",
834
+ slotType: "name",
913
835
  align: "left",
836
+ fixed: !0,
837
+ renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
838
+ effectType: "input"
839
+ }),
914
840
  showOverflowTooltip: !0
915
841
  },
916
842
  {
917
- transKey: "gd.user.sex",
918
- prop: "gender",
919
- width: "120",
920
- label: "\u6027\u522B",
843
+ transKey: "gd.org.type",
844
+ prop: "orgType",
845
+ label: "\u673A\u6784\u7C7B\u578B",
846
+ minWidth: "220",
921
847
  type: "slot",
922
- slotType: "gender",
848
+ slotType: "orgType",
923
849
  align: "left",
924
850
  showOverflowTooltip: !0
925
851
  },
926
852
  {
927
- transKey: "gd.org.displayName",
928
- prop: "orgname",
929
- label: "\u673A\u6784\u540D\u79F0",
930
- width: "180",
853
+ transKey: "gd.org.code",
854
+ prop: "code",
855
+ width: "200",
856
+ label: "\u552F\u4E00\u7F16\u7801",
931
857
  align: "left",
932
858
  showOverflowTooltip: !0
933
859
  },
934
860
  {
935
- transKey: "gd.user.phone",
936
- prop: "phone",
937
- width: "160",
938
- label: "\u624B\u673A",
861
+ transKey: "gd.org.sort",
862
+ prop: "sort",
863
+ width: "120",
864
+ label: "\u6392\u5E8F",
939
865
  align: "left"
940
866
  },
941
867
  {
942
- transKey: "gd.user.status",
943
- prop: "statecodes",
944
- label: "\u72B6\u6001",
945
- width: "120",
868
+ transKey: "gd.org.remark",
869
+ prop: "remark",
870
+ minWidth: "300",
946
871
  type: "slot",
947
- slotType: "statecodes",
948
- align: "center",
949
- dictTypeCode: "state_code",
950
- renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
951
- effectType: "checkbox",
952
- dictTypeCode: "state_code"
953
- })
872
+ slotType: "remark",
873
+ label: "\u5907\u6CE8",
874
+ align: "left"
954
875
  }
955
876
  ],
956
877
  tableQueries: [{
957
- transKey: "gd.application.name",
958
- prop: "name",
959
- label: "\u540D\u79F0",
960
- effectType: "input",
878
+ transKey: "gd.process.tableSor",
879
+ prop: "tableId",
880
+ label: "\u8868\u540D\u79F0",
881
+ effectType: "selectTable",
882
+ rules: []
883
+ }, {
884
+ transKey: "gd.flow.state",
885
+ prop: "stateCodes",
886
+ label: "\u72B6\u6001",
887
+ effectType: "select",
888
+ dictTypeCode: "state_code",
961
889
  rules: []
962
890
  }]
963
891
  };
964
892
  }
965
893
  };
966
- const te = {
894
+ const j = {
967
895
  props: {
968
896
  height: {
969
897
  type: Number,
970
- default: 300
898
+ default: 0
971
899
  },
972
- selectUserRow: {
900
+ selectOrgRow: {
973
901
  type: Array,
974
902
  default: () => []
975
903
  }
976
904
  },
977
- mixins: [u, ee],
905
+ mixins: [u, q],
978
906
  data() {
979
907
  return {
980
908
  selectedRows: [],
981
909
  selectedRowKeys: [],
982
- queryParam: {
983
- searchValue: ""
984
- },
985
- loadData: (t) => {
986
- let e = JSON.parse(JSON.stringify(this.selectUserRow));
987
- return w(Object.assign(t, this.queryParam)).then((s) => {
988
- let i = [];
989
- return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
990
- this.selectedRowKeys = [...i], this.onSelectChange(i, []);
991
- }), s.data;
992
- });
993
- },
910
+ queryParam: {},
911
+ loadData: (t) => K(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
912
+ let s = [...this.selectOrgRow];
913
+ this.selectedRowKeys = [...s], this.onSelectChange(s, []);
914
+ }, 10), e.data)),
994
915
  detail: {}
995
916
  };
996
917
  },
997
918
  computed: {
998
- getHeight() {
999
- return this.screenHeight - 500;
1000
- },
1001
919
  styled() {
1002
920
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1003
921
  },
1004
- ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
922
+ ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1005
923
  },
1006
924
  components: {},
1007
925
  methods: {
1008
926
  onSelectChange(t, e) {
1009
927
  this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
1010
928
  },
1011
- saveQueries(t) {
1012
- this.queryParam = { ...t }, this.refresh();
1013
- },
1014
929
  refresh() {
1015
930
  this.$refs.table.refresh();
1016
931
  },
1017
- init(t) {
1018
- this.queryParam.searchValue = "", this.$refs.table.refresh();
1019
- },
1020
932
  dictSwitch(t, e) {
1021
933
  let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
1022
934
  return s != null && s.colour ? s.colour : null;
@@ -1025,661 +937,569 @@ const te = {
1025
937
  let e = t.item.functionName;
1026
938
  this[e] && this[e]();
1027
939
  }
1028
- },
1029
- mounted() {
1030
940
  }
1031
941
  };
1032
- var se = function() {
942
+ var M = function() {
1033
943
  var e = this, s = e._self._c;
1034
- 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.getHeight, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: i, row: n }) {
1035
- return [s("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
1036
- } }, { key: "gender", fn: function(i) {
1037
- 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)];
1038
- } }, { key: "statecodes", fn: function(i) {
1039
- 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" } })])];
1040
- } }, { key: "operator", fn: function() {
1041
- 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) {
1042
- return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
1043
- } }, model: { value: e.queryParam.searchValue, callback: function(i) {
1044
- e.$set(e.queryParam, "searchValue", i);
1045
- }, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
1046
- }, proxy: !0 }]) })], 1)]);
1047
- }, ie = [], ne = /* @__PURE__ */ l(
1048
- te,
1049
- se,
1050
- ie,
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 } })];
950
+ } }]) })], 1)]);
951
+ }, A = [], U = /* @__PURE__ */ l(
952
+ j,
953
+ M,
954
+ A,
1051
955
  !1,
1052
956
  null,
1053
- "b79cacd5",
957
+ "5f8fe789",
1054
958
  null,
1055
959
  null
1056
960
  );
1057
- const ae = ne.exports;
1058
- const oe = {
961
+ const V = U.exports, Q = {
1059
962
  data() {
1060
963
  return {
1061
- confirmLoading: !0,
1062
- sysViewButtons: [
964
+ tableColumns: [
1063
965
  {
1064
- displayName: "\u786E\u5B9A",
1065
- functionName: "handleSubmit",
1066
- show: !0,
1067
- transKey: "gd.btn.confirm",
1068
- icon: "el-icon-document-checked"
966
+ type: "selection",
967
+ width: "60",
968
+ fixed: !0
969
+ },
970
+ {
971
+ transKey: "gd.user.roleName",
972
+ prop: "name",
973
+ label: "\u89D2\u8272\u540D\u79F0",
974
+ type: "slot",
975
+ slotType: "name",
976
+ align: "left",
977
+ fixed: !0,
978
+ showOverflowTooltip: !0
979
+ },
980
+ {
981
+ transKey: "gd.org.code",
982
+ prop: "code",
983
+ label: "\u552F\u4E00\u7F16\u7801",
984
+ align: "left",
985
+ showOverflowTooltip: !0
986
+ },
987
+ {
988
+ transKey: "gd.org.sort",
989
+ prop: "sort",
990
+ width: "200",
991
+ label: "\u6392\u5E8F",
992
+ align: "left"
993
+ },
994
+ {
995
+ transKey: "gd.org.remark",
996
+ prop: "remark",
997
+ label: "\u5907\u6CE8",
998
+ align: "left",
999
+ showOverflowTooltip: !0
1069
1000
  }
1070
1001
  ],
1071
- type: "noticeuser",
1072
- fullScreen: !1,
1073
- width: "1000px",
1074
- visible: !1,
1075
- height: 300,
1076
- userRowList: [],
1077
- teamRowList: [],
1078
- roleRowList: [],
1079
- orgRowList: [],
1080
- recordData: "",
1081
- enterType: ""
1002
+ tableQueries: [{
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: []
1015
+ }]
1016
+ };
1017
+ }
1018
+ };
1019
+ const G = {
1020
+ props: {
1021
+ height: {
1022
+ type: Number,
1023
+ default: 0
1024
+ },
1025
+ selectRoleRow: {
1026
+ type: Array,
1027
+ default: () => []
1028
+ }
1029
+ },
1030
+ mixins: [u, Q],
1031
+ data() {
1032
+ return {
1033
+ selectedRows: [],
1034
+ selectedRowKeys: [],
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)),
1040
+ detail: {}
1082
1041
  };
1083
1042
  },
1084
- components: { noticeUser: ae, notcieOrg: E, noticeRole: Q, noticeTeam: Z },
1085
1043
  computed: {
1086
- getButtons() {
1087
- return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
1044
+ styled() {
1045
+ return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1088
1046
  },
1089
- ...r(["screenHeight", "tableLists", "primaryColor"])
1047
+ ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1090
1048
  },
1049
+ components: {},
1091
1050
  methods: {
1092
- toggleFullscreen() {
1093
- this.fullScreen = !this.fullScreen;
1051
+ getSysAppsPage() {
1052
+ P().then((t) => {
1053
+ t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
1054
+ });
1094
1055
  },
1095
- init(t, e) {
1096
- 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(() => {
1097
- this.$refs.noticeuserRef.init(this.userRowList);
1098
- }, 100));
1056
+ onSelectChange(t, e) {
1057
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
1099
1058
  },
1100
- getData(t, e) {
1101
- L({
1102
- id: e == "1" ? t[0] : t
1103
- }).then((s) => {
1104
- s.data.receivergroups.forEach((n) => {
1105
- 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);
1106
- });
1107
- });
1059
+ refresh() {
1060
+ this.$refs.table.refresh();
1061
+ },
1062
+ dictSwitch(t, e) {
1063
+ let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
1064
+ return s != null && s.colour ? s.colour : null;
1108
1065
  },
1109
1066
  doEvent(t) {
1110
1067
  let e = t.item.functionName;
1111
1068
  this[e] && this[e]();
1112
- },
1113
- tabChange(t) {
1114
- this.$nextTick(() => {
1115
- setTimeout(() => {
1116
- }, 0);
1117
- });
1118
- },
1119
- handleCancel() {
1120
- this.visible = !1, this.confirmLoading = !1, this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [];
1121
- },
1122
- handleSubmit() {
1123
- let t = [
1069
+ }
1070
+ },
1071
+ created() {
1072
+ this.getSysAppsPage();
1073
+ }
1074
+ };
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,
1084
+ !1,
1085
+ null,
1086
+ "af7b4faa",
1087
+ null,
1088
+ null
1089
+ );
1090
+ const Y = X.exports, Z = {
1091
+ data() {
1092
+ return {
1093
+ tableColumns: [
1124
1094
  {
1125
- receiverType: "1",
1126
- receiverIdList: this.userRowList.map(Number)
1095
+ type: "selection",
1096
+ width: "60",
1097
+ fixed: !0
1127
1098
  },
1128
1099
  {
1129
- receiverType: "2",
1130
- 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
1131
1107
  },
1132
1108
  {
1133
- receiverType: "3",
1134
- 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
1135
1116
  },
1136
1117
  {
1137
- receiverType: "4",
1138
- 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"
1139
1124
  }
1140
- ];
1141
- this.handleCancel(), this.$emit("ok", t);
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
+ };
1141
+ }
1142
+ };
1143
+ const ee = {
1144
+ props: {
1145
+ height: {
1146
+ type: Number,
1147
+ default: 0
1142
1148
  },
1143
- selectUser(t) {
1144
- this.userRowList = t;
1149
+ selectTeamRow: {
1150
+ type: Array,
1151
+ default: () => []
1152
+ }
1153
+ },
1154
+ mixins: [u, Z],
1155
+ data() {
1156
+ return {
1157
+ selectedRows: [],
1158
+ selectedRowKeys: [],
1159
+ queryParam: {},
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: {}
1165
+ };
1166
+ },
1167
+ computed: {
1168
+ styled() {
1169
+ return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1145
1170
  },
1146
- selectTeam(t) {
1147
- this.teamRowList = t;
1171
+ ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1172
+ },
1173
+ components: {},
1174
+ methods: {
1175
+ onSelectChange(t, e) {
1176
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
1148
1177
  },
1149
- selectRole(t) {
1150
- this.roleRowList = t;
1178
+ refresh() {
1179
+ this.$refs.table.refresh();
1151
1180
  },
1152
- selectOrg(t) {
1153
- this.orgRowList = t;
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;
1184
+ },
1185
+ doEvent(t) {
1186
+ let e = t.item.functionName;
1187
+ this[e] && this[e]();
1154
1188
  }
1155
1189
  }
1156
1190
  };
1157
- var re = function() {
1191
+ var te = function() {
1158
1192
  var e = this, s = e._self._c;
1159
- 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: "30px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(i) {
1160
- e.visible = i;
1161
- }, 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) {
1162
- e.type = i;
1163
- }, 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.height }, 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.height }, 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.height }, 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.height }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
1164
- }, le = [], ce = /* @__PURE__ */ l(
1165
- oe,
1166
- re,
1167
- le,
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,
1168
1204
  !1,
1169
1205
  null,
1170
- "62d3bb5d",
1206
+ "6f5c581d",
1171
1207
  null,
1172
1208
  null
1173
1209
  );
1174
- const de = ce.exports;
1175
- const ue = {
1176
- name: "GdNotice",
1177
- props: {
1178
- height: {
1179
- type: Number,
1180
- default: 100
1181
- }
1182
- },
1183
- mixins: [u, D],
1210
+ const ne = ie.exports, ae = {
1184
1211
  data() {
1185
1212
  return {
1186
- transKey: "gd.btn.add",
1187
- loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1188
- allData: [],
1189
- selectedRowKeys: [],
1190
- selectedRows: [],
1191
- queryParam: {},
1192
- formLoading: !1,
1193
- mockData: [],
1194
- targetKeys: [],
1195
- noticeUserIdList: [],
1196
- status: 0,
1197
- type: "noticeUser",
1198
- confirmLoading: !1,
1199
- fileType: "pdf",
1200
- style: "width: 100%; height: 580px;",
1201
- headers: {
1202
- "Content-Type": "multipart/form-data"
1203
- },
1204
- fileListFile: [],
1205
- imgList: [],
1206
- currentImg: "",
1207
- ruleFormData: {
1208
- fileList: "",
1209
- name: "",
1210
- notifyingPerson: [],
1211
- fileid: ""
1212
- },
1213
- record: {},
1214
- allEmpty: !0,
1215
- noticeType: "",
1216
- fileAccept: ["application/pdf"]
1217
- };
1218
- },
1219
- components: {
1220
- detailForm: h,
1221
- editNoticeForm: de
1222
- },
1223
- computed: {
1224
- getHeight() {
1225
- return this.height;
1226
- },
1227
- getFormColumns() {
1228
- 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 = [{
1229
- required: !0,
1230
- message: "\u8BF7\u8F93\u5165",
1231
- transKey: "gd.placeholder.input",
1232
- trigger: "change"
1233
- }]), (this.noticeType == 1 || this.noticeType == 2) && e.prop === "fileList")));
1234
- },
1235
- getButtons() {
1236
- return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
1237
- },
1238
- ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1239
- },
1240
- mounted() {
1241
- (this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
1242
- this.allData.forEach((t) => {
1243
- (t.id == this.$route.params.id || t.id == this.$route.query.id) && this.$refs.detailForm.open(t);
1244
- });
1245
- }, 1e3));
1246
- },
1247
- methods: {
1248
- onSelectChange(t, e) {
1249
- if (this.selectedRowKeys = t, this.selectedRows = e, e.length == 0) {
1250
- this.baseHideBtns([], 2);
1251
- return;
1252
- }
1253
- if (e.length > 1) {
1254
- this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
1255
- return;
1256
- }
1257
- let s = [], i = e.filter((o) => o.status == 0), n = e.filter((o) => o.status == 1), a = e.filter((o) => o.status == 2);
1258
- 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);
1259
- },
1260
- baseHideBtns(t, e = 1) {
1261
- let s = [...this.tableButtons];
1262
- s.map((i) => (e === 1 ? i.show = !t.includes(i.id) : i.show = !t.includes(i.displayName), i)), this.tableButtons = [...s];
1263
- },
1264
- add() {
1265
- this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
1266
- fileList: "",
1267
- name: "",
1268
- notifyingPerson: [],
1269
- fileid: ""
1270
- }, this.$refs.editForm.open(null);
1271
- },
1272
- noticePerson(t) {
1273
- this.$refs.editNoticeFormRef.init(t.id, "2");
1274
- },
1275
- notifyingPerson() {
1276
- if (this.selectedRowKeys.length === 0) {
1277
- this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
1278
- return;
1279
- }
1280
- if (this.selectedRowKeys.length > 1) {
1281
- this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
1282
- return;
1283
- }
1284
- this.$refs.editNoticeFormRef.init(this.selectedRowKeys, "1");
1285
- },
1286
- edit() {
1287
- if (this.selectedRowKeys.length === 0) {
1288
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1289
- return;
1290
- }
1291
- if (this.selectedRowKeys.length > 1) {
1292
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1293
- return;
1294
- }
1295
- this.sysNoticeDetail(this.selectedRows[0].id), this.transKey = "gd.btn.edit", this.$refs.editForm.open(
1296
- Object.assign(
1297
- {
1298
- ...this.selectedRows[0]
1299
- },
1300
- {
1301
- type: String(this.selectedRows[0].type),
1302
- content: this.selectedRows[0].content,
1303
- fileid: this.selectedRows[0].attachment
1304
- }
1305
- )
1306
- );
1307
- },
1308
- editForm(t) {
1309
- this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
1310
- },
1311
- handleOk(t) {
1312
- this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
1313
- },
1314
- sbumit({ data: t, record: e, btn: s }, i, n) {
1315
- if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
1316
- let a = {
1317
- id: t.id,
1318
- content: t.content,
1319
- status: this.status,
1320
- title: t.title,
1321
- type: t.type,
1322
- receivergroups: this.ruleFormData.notifyingPerson,
1323
- attachment: this.ruleFormData.fileid
1324
- };
1325
- this.formLoading = !0, S(Object.assign(this.noticeDetail, a)).then((o) => {
1326
- o.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") + o.message), this.formLoading = !1, this.refresh();
1327
- });
1328
- } else {
1329
- let a = {
1330
- content: t.content,
1331
- status: this.status,
1332
- title: t.title,
1333
- type: t.type,
1334
- receiverGroups: this.ruleFormData.notifyingPerson,
1335
- attachment: this.ruleFormData.fileid
1336
- };
1337
- this.formLoading = !0, C(a).then((o) => {
1338
- o.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
1339
- this.$nextTick(() => {
1340
- g({ pageNo: 1, pageSize: 50 }).then((c) => {
1341
- this.allData = c.data.rows;
1342
- const d = this.allData.filter((f) => f.title == t.title && f.content == t.content);
1343
- d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
1344
- Object.assign(
1345
- {
1346
- ...d[0]
1347
- },
1348
- {
1349
- type: String(d[0].type),
1350
- content: d[0].content,
1351
- fileid: d[0].attachment
1352
- }
1353
- )
1354
- )), this.formLoading = !1;
1355
- });
1356
- });
1357
- }, 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") + o.message), this.refresh(), this.formLoading = !1);
1358
- });
1359
- }
1360
- },
1361
- saveQueries(t) {
1362
- this.queryParam = t, this.refresh();
1363
- },
1364
- read() {
1365
- if (this.selectedRowKeys.length === 0) {
1366
- this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));
1367
- return;
1368
- }
1369
- if (this.selectedRowKeys.length > 1) {
1370
- this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
1371
- return;
1372
- }
1373
- this.$refs.detailForm.open(this.selectedRows[0]);
1374
- },
1375
- rollback() {
1376
- if (this.selectedRowKeys.length === 0) {
1377
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1378
- return;
1379
- }
1380
- if (this.selectedRowKeys.length > 1) {
1381
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1382
- return;
1383
- }
1384
- this.$confirm(this.$i18nt("gd.https.withdrawContent", "\u786E\u8BA4\u64A4\u56DE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1385
- confirmButtonText: this.$i18nt("gd.https.withdrawOk", "\u7ACB\u5373\u64A4\u56DE!"),
1386
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1387
- showClose: !1,
1388
- confirmButtonLoading: !1,
1389
- cancelButtonLoading: !1,
1390
- closeOnClickModal: !1,
1391
- type: "warning",
1392
- confirmButtonClass: "el-button--danger",
1393
- customClass: "custom-alert",
1394
- callback: () => {
1213
+ tableColumns: [
1214
+ {
1215
+ type: "selection",
1216
+ width: "60",
1217
+ fixed: !0
1395
1218
  },
1396
- beforeClose: (t, e, s) => {
1397
- this.rollbackHand(t, e, s);
1398
- }
1399
- });
1400
- },
1401
- rollbackHand(t, e, s) {
1402
- if (t !== "confirm") {
1403
- s();
1404
- return;
1405
- }
1406
- let i = [];
1407
- this.selectedRows.forEach((n) => {
1408
- let a = m({
1409
- id: n.id,
1410
- status: 2
1411
- }).then((o) => o);
1412
- i.push(a);
1413
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1414
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
1415
- const a = n.filter((o) => !o.success);
1416
- 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();
1417
- });
1418
- },
1419
- release() {
1420
- if (this.selectedRowKeys.length === 0) {
1421
- this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1422
- return;
1423
- }
1424
- if (this.selectedRowKeys.length > 1) {
1425
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1426
- return;
1427
- }
1428
- this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1429
- confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03!"),
1430
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1431
- showClose: !1,
1432
- confirmButtonLoading: !1,
1433
- cancelButtonLoading: !1,
1434
- closeOnClickModal: !1,
1435
- type: "warning",
1436
- confirmButtonClass: "el-button--danger",
1437
- customClass: "custom-alert",
1438
- 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
1439
1229
  },
1440
- beforeClose: (t, e, s) => {
1441
- this.releaseHand(t, e, s);
1442
- }
1443
- });
1444
- },
1445
- releaseHand(t, e, s) {
1446
- if (t !== "confirm") {
1447
- s();
1448
- return;
1449
- }
1450
- let i = [];
1451
- this.selectedRows.forEach((n) => {
1452
- let a = m({
1453
- id: n.id,
1454
- status: 1
1455
- }).then((o) => o);
1456
- i.push(a);
1457
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1458
- e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
1459
- const a = n.filter((o) => !o.success);
1460
- 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();
1461
- });
1462
- },
1463
- del() {
1464
- if (this.selectedRowKeys.length === 0) {
1465
- this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
1466
- return;
1467
- }
1468
- this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1469
- confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1470
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1471
- showClose: !1,
1472
- confirmButtonLoading: !1,
1473
- cancelButtonLoading: !1,
1474
- closeOnClickModal: !1,
1475
- type: "warning",
1476
- confirmButtonClass: "el-button--danger",
1477
- customClass: "custom-alert",
1478
- callback: () => {
1230
+ {
1231
+ transKey: "gd.user.name",
1232
+ prop: "name",
1233
+ label: "\u59D3\u540D",
1234
+ width: "160",
1235
+ align: "left",
1236
+ showOverflowTooltip: !0
1479
1237
  },
1480
- beforeClose: (t, e, s) => {
1481
- this.delHand(t, e, s);
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"
1262
+ },
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
+ })
1482
1276
  }
1483
- });
1484
- },
1485
- delHand(t, e, s) {
1486
- if (t !== "confirm") {
1487
- s();
1488
- return;
1489
- }
1490
- let i = [];
1491
- this.selectedRows.forEach((n) => {
1492
- let a = K(n).then((o) => o);
1493
- i.push(a);
1494
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1495
- s();
1496
- const a = n.filter((o) => !o.success);
1497
- 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;
1498
- });
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
1499
1293
  },
1500
- sysNoticeDetail(t) {
1501
- y({
1502
- id: t
1503
- }).then((e) => {
1504
- 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;
1505
- });
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;` : "";
1506
1322
  },
1507
- getMock(t) {
1508
- const e = [], s = [];
1509
- b().then((i) => {
1510
- this.confirmLoading = !1;
1511
- for (let n = 0; n < i.data.length; n++) {
1512
- const a = i.data[n], o = {
1513
- key: a.id.toString(),
1514
- label: a.name,
1515
- description: `description of ${a.name}`
1516
- };
1517
- if (t)
1518
- for (let c = 0; c < t.noticeuseridlist.length; c++)
1519
- o.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1520
- s.push(o);
1521
- }
1522
- this.mockData = s, this.targetKeys = e;
1523
- });
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);
1524
1329
  },
1525
- handleChange(t) {
1526
- this.targetKeys = t;
1330
+ saveQueries(t) {
1331
+ this.queryParam = { ...t }, this.refresh();
1527
1332
  },
1528
1333
  refresh() {
1529
1334
  this.$refs.table.refresh();
1530
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
+ },
1531
1343
  doEvent(t) {
1532
1344
  let e = t.item.functionName;
1533
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;
1534
1408
  },
1535
- handleFile(t) {
1536
- if (!!["image"].includes("file") && !t) {
1537
- this.fileList = [];
1538
- return;
1539
- }
1409
+ getButtons() {
1410
+ return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
1540
1411
  },
1541
- uploadFile(t) {
1542
- if (!this.fileAccept.includes(t.file.type)) {
1543
- this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
1544
- return;
1545
- }
1546
- new FormData().append("file", t.file), _(t).then((i) => {
1547
- if (i.code === 200) {
1548
- const n = i.data.url, o = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
1549
- return this.ruleFormData.fileList = o.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;
1550
- } else
1551
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
1552
- }).catch((i) => {
1553
- t.onError(i);
1554
- });
1412
+ ...o(["screenHeight", "tableLists", "primaryColor"])
1413
+ },
1414
+ methods: {
1415
+ toggleFullscreen() {
1416
+ this.fullScreen = !this.fullScreen;
1555
1417
  },
1556
- successFile(t, e, s) {
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));
1557
1422
  },
1558
- removeFile(t, e) {
1559
- let s = [];
1560
- e.forEach((i) => {
1561
- i.response && i.response.id ? s.push(i.response.id) : s.push(i.url);
1562
- }), this.ruleFormData.fileList = s.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
+ });
1563
1431
  },
1564
- previewFile(t) {
1565
- let e = "";
1566
- t.response && t.response.fileOriginName ? (e = t.response.fileOriginName, t.response.url) : (e = t.name, t.url);
1567
- const s = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
1568
- ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
1432
+ doEvent(t) {
1433
+ let e = t.item.functionName;
1434
+ this[e] && this[e]();
1569
1435
  },
1570
- imgPreview(t) {
1571
- v({
1572
- id: t
1573
- }).then((e) => {
1574
- const s = window.URL.createObjectURL(new Blob([e]));
1575
- this.imgList = [s], this.currentImg = s, this.$refs.imgPreview.open();
1436
+ tabChange(t) {
1437
+ this.$nextTick(() => {
1438
+ setTimeout(() => {
1439
+ }, 0);
1576
1440
  });
1577
1441
  },
1578
- downFile(t) {
1579
- this.$refs.filePreview.open(
1580
- Object.assign(t, {
1581
- fileId: t.response && t.response.fileoriginname ? t.response.id : t.fileId
1582
- })
1583
- );
1442
+ handleCancel() {
1443
+ this.visible = !1, this.confirmLoading = !1, this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [];
1584
1444
  },
1585
- getBlobType(t) {
1586
- let e = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
1587
- 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);
1588
1465
  },
1589
- infoDownLoad(t) {
1590
- return T({
1591
- id: t
1592
- }).then((e) => {
1593
- 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 = [
1594
- {
1595
- name: e.data.fileoriginname,
1596
- url: e.data.url,
1597
- response: {
1598
- id: e.data.id,
1599
- url: e.data.url,
1600
- fileoriginname: e.data.fileoriginname
1601
- }
1602
- }
1603
- ];
1604
- });
1466
+ selectUser(t) {
1467
+ this.userRowList = t;
1605
1468
  },
1606
- getDictionary(t) {
1607
- return this.$options.filters.dictData(t);
1469
+ selectTeam(t) {
1470
+ this.teamRowList = t;
1608
1471
  },
1609
- changeMode(t) {
1610
- this.noticeType = t;
1472
+ selectRole(t) {
1473
+ this.roleRowList = t;
1474
+ },
1475
+ selectOrg(t) {
1476
+ this.orgRowList = t;
1611
1477
  }
1612
1478
  }
1613
1479
  };
1614
1480
  var he = function() {
1615
1481
  var e = this, s = e._self._c;
1616
- 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() {
1617
- 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) {
1618
- return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
1619
- } }, model: { value: e.queryParam.SearchValue, callback: function(i) {
1620
- e.$set(e.queryParam, "SearchValue", i);
1621
- }, 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)])];
1622
- }, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
1623
- return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
1624
- } }, { key: "type", fn: function(i) {
1625
- 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)) + " ")])];
1626
- } }, { key: "status", fn: function(i) {
1627
- 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)) + " ")])];
1628
- } }, { key: "filtering", fn: function({ colse: i, visible: n }) {
1629
- return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
1630
- } }]) })], 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 }) {
1631
- 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) {
1632
- e.targetKeys = a;
1633
- }, expression: "targetKeys" } })];
1634
- } }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
1635
- return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
1636
- return e.noticePerson(i);
1637
- } } }, [s("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")))])];
1638
- } }, { key: "notice_type", fn: function({ data: i, column: n }) {
1639
- return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
1640
- e.$set(i, "type", a);
1641
- }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, o) {
1642
- return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
1643
- }), 1)];
1644
- } }, { key: "fileList", fn: function({ data: i, column: n }) {
1645
- 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)];
1646
- } }]) }), 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);
1647
- }, pe = [], fe = /* @__PURE__ */ l(
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(
1648
1488
  ue,
1649
1489
  he,
1650
- pe,
1490
+ fe,
1651
1491
  !1,
1652
1492
  null,
1653
- "7a480ef7",
1493
+ "ee7d37db",
1654
1494
  null,
1655
1495
  null
1656
1496
  );
1657
- const p = fe.exports;
1658
- p.install = function(t) {
1659
- t.component(p.name, p);
1660
- };
1661
- h.install = function(t) {
1662
- t.component(h.name, h);
1663
- };
1497
+ const ge = pe.exports, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1498
+ __proto__: null,
1499
+ default: ge
1500
+ }, Symbol.toStringTag, { value: "Module" }));
1664
1501
  export {
1665
- p as G,
1666
- $e as a,
1667
- Ce as b,
1668
- Re as c,
1669
- h as d,
1670
- Le as e,
1671
- Ke as f,
1672
- F as g,
1673
- _e as h,
1674
- ve as i,
1675
- y as j,
1676
- q as k,
1677
- Te as l,
1678
- De as m,
1679
- xe as n,
1680
- Fe as o,
1681
- Ne as p,
1682
- ke as q,
1683
- Pe as r,
1684
- Se as s
1502
+ f as G,
1503
+ I as m,
1504
+ h as n
1685
1505
  };