gds-plus-design-vue 1.2.62 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91338
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +38 -22
  291. package/locale/id_ID.js +22 -6
  292. package/locale/vi_VN.js +1929 -1913
  293. package/locale/zh_CN.js +44 -28
  294. package/package.json +106 -105
  295. package/lib/chartbi.114d32d7.js +0 -60
  296. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  297. package/lib/main.083e0ba3.js +0 -1
  298. package/lib/main.4a858284.js +0 -1
  299. package/lib/main.64cb2027.js +0 -1
  300. package/lib/main.70a46cbc.js +0 -1
  301. package/lib/messages.364eb728.js +0 -9
  302. package/lib/system.account.95bd8508.js +0 -216
  303. package/lib/system.account.d6c7485b.mjs +0 -2552
  304. package/lib/system.config.63c0217d.js +0 -1
  305. package/lib/system.datasource.a2c0bad4.js +0 -1
  306. package/lib/system.dict.dfb4c376.js +0 -1
  307. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  308. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  309. package/lib/system.email.545cedff.mjs +0 -7432
  310. package/lib/system.email.ec0ac728.js +0 -41
  311. package/lib/system.fieldsecurity.eb217079.js +0 -1
  312. package/lib/system.file.1cb952a4.js +0 -1
  313. package/lib/system.log.348b3605.js +0 -1
  314. package/lib/system.machine.49fc6405.js +0 -1
  315. package/lib/system.notice.d7a3346d.js +0 -1
  316. package/lib/system.noticereceived.c0b24616.js +0 -1
  317. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  318. package/lib/system.org.30063246.js +0 -1
  319. package/lib/system.permissions.1ff855c2.js +0 -9
  320. package/lib/system.plugin.2c7c8a5a.js +0 -1
  321. package/lib/system.pos.21294c28.js +0 -1
  322. package/lib/system.promptmanagement.7e8da777.js +0 -1
  323. package/lib/system.role.078fac85.js +0 -1
  324. package/lib/system.sumberrules.b0252f77.js +0 -1
  325. package/lib/system.team.296512d7.mjs +0 -1000
  326. package/lib/system.team.5d6169bc.js +0 -1
  327. package/lib/system.teammembers.313345f7.js +0 -1
  328. package/lib/system.timers.8246e6ba.js +0 -38
  329. package/lib/system.translation.fdff4956.js +0 -1
  330. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  331. package/lib/system.webresource.2a341e05.js +0 -1
  332. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,340 @@
1
+ import { m as n, n as r } from "./components.chartbi.b043dcdc.mjs";
2
+ import { q as d, $ as c } from "./http.main.40657f51.mjs";
3
+ import "./utils.echarts.js.d1bb8ac6.mjs";
4
+ import "./utils.util.js.82cd8447.mjs";
5
+ const h = {
6
+ name: "ApprovalMpdel",
7
+ nodeJson: {
8
+ type: Object,
9
+ required: !0
10
+ },
11
+ showCurrent1: {
12
+ type: Boolean,
13
+ default() {
14
+ return !1;
15
+ }
16
+ },
17
+ data() {
18
+ return {
19
+ fullscreen: !1,
20
+ allowAddSignature: !1,
21
+ allowCC: !1,
22
+ allowReturn: !1,
23
+ allowTransfer: !1,
24
+ sendModel: !1,
25
+ rejectModel: !1,
26
+ showEditTrans: !1,
27
+ showEdit: !1,
28
+ showEditSign: !1,
29
+ sonMaskList: [],
30
+ sonTurretList: [],
31
+ sonEndorseList: [],
32
+ optionSign: "1",
33
+ atureSign: "1",
34
+ optionallowCC: "1",
35
+ optionShow: !1,
36
+ atureShow: !1,
37
+ allowccShow: !1,
38
+ radioStyle: {
39
+ display: "block",
40
+ height: "30px",
41
+ lineHeight: "30px"
42
+ },
43
+ visible: !1,
44
+ visible1: !1,
45
+ sourceNameData: [],
46
+ queryParam: {},
47
+ selectedValue: "",
48
+ taskId: "",
49
+ type: 1,
50
+ endorseList: [],
51
+ turrenteList: [],
52
+ counterSign: "1",
53
+ approvalType: "0",
54
+ seeList: [],
55
+ menberList: [],
56
+ employeeId: "",
57
+ approvers: [],
58
+ masklistID: [],
59
+ turrenteListID: [],
60
+ endorseListID: [],
61
+ showMulti: !1,
62
+ back: !1,
63
+ sign: !0,
64
+ trans: !0,
65
+ sonMenberList: [],
66
+ maxItem: 2,
67
+ reacds: null,
68
+ arr: null,
69
+ selectArr: !1,
70
+ showArr: null
71
+ };
72
+ },
73
+ components: {
74
+ Menbers: () => import("./flow.designer.6da03949.mjs").then((a) => a.i),
75
+ MenberRadio: () => import("./flow.designer.6da03949.mjs").then((a) => a.d)
76
+ },
77
+ mounted() {
78
+ },
79
+ computed: {
80
+ title() {
81
+ return this.$i18nt("gd.btn.back");
82
+ },
83
+ styled() {
84
+ return {
85
+ position: "absolute",
86
+ right: 0,
87
+ bottom: 0,
88
+ width: "100%",
89
+ borderTop: "1px solid #e9e9e9",
90
+ padding: "10px 16px",
91
+ background: "#fff",
92
+ textAlign: "right",
93
+ zIndex: 1
94
+ };
95
+ },
96
+ ...n(["labelPosition"])
97
+ },
98
+ methods: {
99
+ togglefullscreen() {
100
+ },
101
+ open(a, t, s, i, o) {
102
+ this.visible = !0, this.type = s, this.arr = i, this.showArr = o, this.getTaskDetail(a, t), this.type != 3 && this.getMenber();
103
+ },
104
+ getMenber() {
105
+ d().then((a) => {
106
+ let t, s;
107
+ if (this.type == 1 && (this.arr && (t = this.arr.transferApprovers), this.showArr && (s = this.showArr)), this.type == 2 && (this.arr && (t = this.arr.addSignatureApprovers), this.showArr && (s = this.showArr)), a.code == 200) {
108
+ const i = (o) => (o = o.filter((l, f) => (l.children && l.children.length > 0 && (l.children = i(l.children)), t.length > 0 && (t.indexOf(l.id) > -1 ? l.disabled = !1 : l.disabled = !0), s.length > 0 && s.indexOf(l.name) > -1 && (l.disabled = !0), l.key = l.id, l.title = l.name, !0)), o);
109
+ i(a.data), this.menberList = a.data;
110
+ }
111
+ });
112
+ },
113
+ handleOk() {
114
+ let a = {};
115
+ if (this.type == 2) {
116
+ let t = [];
117
+ this.endorseList.forEach((i) => {
118
+ t.push(i.id);
119
+ }), this.sonMaskList.forEach((i) => {
120
+ this.masklistID.push(i.id);
121
+ }), this.sonTurretList.forEach((i) => {
122
+ this.turrenteListID.push(i.id);
123
+ }), this.sonEndorseList.forEach((i) => {
124
+ this.endorseListID.push(i.id);
125
+ });
126
+ let s = {
127
+ assigneeType: "1",
128
+ managerLevel: "1",
129
+ counterSign: this.counterSign,
130
+ tableName: "",
131
+ approvers: t,
132
+ currentTableName: "Ceshi",
133
+ currentFieldName: "",
134
+ tableFields: [],
135
+ autoApprvalType: "1",
136
+ businessUnitId: "",
137
+ allowReturn: this.sendModel,
138
+ showreject: this.rejectModel,
139
+ allowTransfer: this.allowTransfer,
140
+ allowAddSignature: this.allowAddSignature,
141
+ allowCC: this.allowCC,
142
+ allowccShow: this.allowccShow,
143
+ optionallowCC: this.optionallowCC,
144
+ CCApprovers: this.masklistID,
145
+ transferApprovers: this.turrenteListID,
146
+ atureShow: this.atureShow,
147
+ atureSign: this.atureSign,
148
+ addSignatureApprovers: this.endorseListID,
149
+ optionShow: this.optionShow,
150
+ optionSign: this.optionSign
151
+ };
152
+ a = {
153
+ taskIds: this.taskId,
154
+ opinion: this.queryParam.optionEnd,
155
+ type: this.approvalType,
156
+ nodePropertyJson: s
157
+ };
158
+ }
159
+ this.type == 1 && (a = {
160
+ taskIds: this.taskId,
161
+ opinion: this.queryParam.optionTrans,
162
+ nodeId: this.employeeId
163
+ }), this.type == 3 && (a = {
164
+ taskIds: this.taskId,
165
+ opinion: this.queryParam.content,
166
+ nodeId: this.queryParam.backId
167
+ }), this.visible = !1, this.$emit("ok", a, this.type);
168
+ },
169
+ handleCancel() {
170
+ this.visible = !1;
171
+ },
172
+ handleChange(a) {
173
+ this.selectArr = !0, this.queryParam.backId = a, this.$forceUpdate();
174
+ },
175
+ getTaskDetail(a, t) {
176
+ this.sourceNameData = [], c({
177
+ tableDataId: a,
178
+ tableId: t.id
179
+ }).then((s) => {
180
+ this.taskId = s.data.approvalinfo.sysapprovaltaskid;
181
+ let i = s.data.approvalinfo.approvalnodeinfos.filter((o, l) => {
182
+ if (o.status == 2 && o.nodetype != "circulate")
183
+ return o.id = o.id, o.name = o.name, !0;
184
+ });
185
+ i[i.length - 1].name = i[i.length - 1].name + "(\u4E0A\u4E00\u6B65)", this.sourceNameData = i, this.queryParam.backId = this.sourceNameData[this.sourceNameData.length - 1].id;
186
+ });
187
+ },
188
+ addMember() {
189
+ if (this.type == 2 && this.$refs.menbers.init(this.endorseList, this.type), this.type == 1) {
190
+ let a = 6;
191
+ this.$refs.menbers.init(this.turrenteList, a);
192
+ }
193
+ },
194
+ delMask(a, t) {
195
+ if (t == 1) {
196
+ let s = this.endorseList.filter((i) => i != a);
197
+ this.endorseList = [...s], this.endorseList.length > 0 ? this.sign = !1 : this.sign = !0, this.endorseList.length > 1 ? this.showMulti = !0 : this.showMulti = !1;
198
+ } else if (t == 2) {
199
+ let s = this.turrenteList.filter((i) => i != a);
200
+ this.turrenteList = [...s], this.turrenteList.length > 0 ? this.trans = !1 : this.trans = !0;
201
+ }
202
+ },
203
+ selMenbers(a, t) {
204
+ console.log(a, t), t == 2 && a && (this.endorseList = [...a], this.endorseList.length > 1 ? this.showMulti = !0 : this.showMulti = !1, this.endorseList.length > 0 ? this.sign = !1 : this.sign = !0), t == 6 && a && (this.employeeId = a.length == 0 ? "" : a[0].id, this.turrenteList = [...a], this.turrenteList.length > 0 ? this.trans = !1 : this.trans = !0);
205
+ },
206
+ delEnd(a, t) {
207
+ if (t == 1) {
208
+ let s = this.sonMaskList.filter((i) => i != a);
209
+ this.sonMaskList = [...s];
210
+ } else if (t == 2) {
211
+ let s = this.sonTurretList.filter((i) => i != a);
212
+ this.sonTurretList = [...s];
213
+ } else if (t == 3) {
214
+ let s = this.sonEndorseList.filter((i) => i != a);
215
+ this.sonEndorseList = [...s];
216
+ }
217
+ },
218
+ selMenberRadio(a, t) {
219
+ a && (t == 2 ? this.sonMaskList = [...a] : t == 3 ? this.sonTurretList = [...a] : t == 4 && (this.sonEndorseList = [...a]));
220
+ },
221
+ returnClick(a) {
222
+ this.sendModel = a;
223
+ },
224
+ rejectClick() {
225
+ this.rejectModel = e;
226
+ },
227
+ onChange(a) {
228
+ a == !0 ? (this.allowccShow = !0, this.optionallowCC = "1") : a == !1 && (this.allowccShow = !1, this.optionallowCC = ""), this.sonMaskList = [], this.showEdit = !1, this.allowCC = a;
229
+ },
230
+ onChange1(a) {
231
+ a == !0 ? (this.atureShow = !0, this.atureSign = "1") : (this.atureShow = !1, this.atureSign = ""), this.sonTurretList = [], this.showEditTrans = !1, this.allowTransfer = a;
232
+ },
233
+ onChange2(a) {
234
+ a == !0 ? (this.optionShow = !0, this.optionSign = "1") : (this.optionShow = !1, this.optionSign = ""), this.sonEndorseList = [], this.showEditSign = !1, this.allowAddSignature = a;
235
+ },
236
+ edit() {
237
+ this.id = 2, this.$refs.menberRadio.init(this.sonMaskList, this.id);
238
+ },
239
+ editSign() {
240
+ this.id = 3, this.$refs.menberRadio.init(this.sonTurretList, this.id);
241
+ },
242
+ editCC() {
243
+ this.id = 4, this.$refs.menberRadio.init(this.sonEndorseList, this.id);
244
+ },
245
+ radioCC(a) {
246
+ a == "2" ? this.showEdit = !0 : (this.showEdit = !1, this.sonMaskList = []), this.optionallowCC = a;
247
+ },
248
+ radioTrans(a) {
249
+ a == "2" ? this.showEditTrans = !0 : (this.showEditTrans = !1, this.sonTurretList = []), this.atureSign = a;
250
+ },
251
+ radioSign(a) {
252
+ a == "2" ? this.showEditSign = !0 : (this.showEditSign = !1, this.sonEndorseList = []), this.optionSign = a;
253
+ },
254
+ doEvent(a) {
255
+ let t = a.item.functionName;
256
+ this[t] && this[t]();
257
+ }
258
+ }
259
+ };
260
+ var p = function() {
261
+ var t = this, s = t._self._c;
262
+ return s("div", { staticClass: "approval-mpdel" }, [s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: "700px", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
263
+ t.visible = i;
264
+ }, closed: t.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: t.title, buttons: [], closed: "handleCancel", showClose: !0, showFullscreen: !1 }, on: { changeEvent: t.doEvent }, slot: "title" }), s("el-form", { attrs: { "label-width": "100px", "label-position": t.labelPosition }, nativeOn: { submit: function(i) {
265
+ i.preventDefault();
266
+ } } }, [t.type == 3 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.fallback", "\u9000\u56DE\u5230") } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.approvalPlug.backNode", "\u9009\u62E9\u9000\u56DE\u8282\u70B9"), clearable: "" }, on: { change: t.handleChange }, model: { value: t.queryParam.backId, callback: function(i) {
267
+ t.$set(t.queryParam, "backId", i);
268
+ }, expression: "queryParam.backId" } }, t._l(t.sourceNameData, function(i, o) {
269
+ return s("el-option", { key: i.id, attrs: { value: i.id, label: i.name } });
270
+ }), 1)], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.rollbackcause", "\u9000\u56DE\u539F\u56E0") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.queryParam.content, callback: function(i) {
271
+ t.$set(t.queryParam, "content", i);
272
+ }, expression: "queryParam.content" } })], 1)], 1) : t._e(), t.type == 2 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.countersignp") } }, [s("div", { staticClass: "rectangle" }, [s("div", { staticClass: "b" }, [t._l(t.endorseList.slice(0, 3), function(i, o) {
273
+ return s("div", { key: o }, [s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
274
+ return t.delMask(i, 1);
275
+ } } })])])]);
276
+ }), t.endorseList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e(), s("div", { staticClass: "item fl" }, [s("div", { staticClass: "jia", on: { click: t.addMember } }, [s("i", { staticClass: "el-icon-plus icon" })])])], 2)])]), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.countersignMen") } }, [s("el-radio-group", { model: { value: t.approvalType, callback: function(i) {
277
+ t.approvalType = i;
278
+ }, expression: "approvalType" } }, [s("el-radio", { attrs: { label: "0" } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.beforeSigning")) + " ")]), s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.afterSigning")) + " ")])], 1)], 1), s("el-form-item", { directives: [{ name: "show", rawName: "v-show", value: t.showMulti, expression: "showMulti" }], attrs: { label: t.$i18nt("gd.approvalPlug.multiPerson") } }, [s("el-radio-group", { model: { value: t.counterSign, callback: function(i) {
279
+ t.counterSign = i;
280
+ }, expression: "counterSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.signatureOr")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.andtlySign")) + " ")])], 1)], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.counterOption") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.endOption") }, model: { value: t.queryParam.optionEnd, callback: function(i) {
281
+ t.$set(t.queryParam, "optionEnd", i);
282
+ }, expression: "queryParam.optionEnd" } })], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.labelBtn") } }, [s("div", { staticStyle: { "line-height": "30px" } }, [s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
283
+ return t.returnClick(i);
284
+ } }, model: { value: t.sendModel, callback: function(i) {
285
+ t.sendModel = i;
286
+ }, expression: "sendModel" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowReturn")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentReturn", "\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9000\u56DE\u5230\u5386\u53F2\u8282\u70B9") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })])], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
287
+ return t.rejectClick(i);
288
+ } }, model: { value: t.rejectModel, callback: function(i) {
289
+ t.rejectModel = i;
290
+ }, expression: "rejectModel" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowRreject", "\u9A73\u56DE")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.showReject", "\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9A73\u56DE\u5230\u63D0\u4EA4\u4EBA(\u6D41\u7A0B\u4F5C\u5E9F)") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })])], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
291
+ return t.onChange(i);
292
+ } }, model: { value: t.allowCC, callback: function(i) {
293
+ t.allowCC = i;
294
+ }, expression: "allowCC" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowCC")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentCC", "\u662F\u5426\u5141\u8BB8\u5C06\u5F53\u524D\u5BA1\u6279\u7ED3\u679C\u53D1\u9001\u7ED9\u6307\u5B9A\u4EBA\u5458") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.allowccShow, expression: "allowccShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioCC }, model: { value: t.optionallowCC, callback: function(i) {
295
+ t.optionallowCC = i;
296
+ }, expression: "optionallowCC" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEdit, expression: "showEdit" }], staticClass: "question", on: { click: t.edit } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonMaskList.slice(0, 3), function(i, o) {
297
+ return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
298
+ return t.delEnd(i, 1);
299
+ } } })])]) : t._e()];
300
+ }), t.sonMaskList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
301
+ return t.onChange1(i);
302
+ } }, model: { value: t.allowTransfer, callback: function(i) {
303
+ t.allowTransfer = i;
304
+ }, expression: "allowTransfer" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowTransfer")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentTrans", "\u662F\u5426\u5141\u8BB8\u5BA1\u6279\u4EBA\u5C06\u5BA1\u6279\u4EFB\u52A1\u8F6C\u7ED9\u6307\u5B9A\u4EBA\u5458") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.atureShow, expression: "atureShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioTrans }, model: { value: t.atureSign, callback: function(i) {
305
+ t.atureSign = i;
306
+ }, expression: "atureSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEditTrans, expression: "showEditTrans" }], staticClass: "question", on: { click: t.editSign } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonTurretList.slice(0, 3), function(i, o) {
307
+ return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
308
+ return t.delEnd(i, 2);
309
+ } } })])]) : t._e()];
310
+ }), t.sonTurretList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
311
+ return t.onChange2(i);
312
+ } }, model: { value: t.allowAddSignature, callback: function(i) {
313
+ t.allowAddSignature = i;
314
+ }, expression: "allowAddSignature" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowAddSignature")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentSign", "\u662F\u5426\u5141\u8BB8\u5F53\u524D\u5BA1\u6279\u4EBA\u6DFB\u52A0\u6307\u5B9A\u4EBA\u5458\u8FDB\u884C\u5BA1\u6279") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.optionShow, expression: "optionShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioSign }, model: { value: t.optionSign, callback: function(i) {
315
+ t.optionSign = i;
316
+ }, expression: "optionSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEditSign, expression: "showEditSign" }], staticClass: "question", on: { click: t.editCC } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonEndorseList.slice(0, 3), function(i, o) {
317
+ return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
318
+ return t.delEnd(i, 3);
319
+ } } })])]) : t._e()];
320
+ }), t.sonEndorseList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1)])])], 1) : t._e(), t.type == 1 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.transPop") } }, [s("div", { staticClass: "rectangle" }, [s("div", { staticClass: "b" }, [t._l(t.turrenteList, function(i, o) {
321
+ return [s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
322
+ return t.delMask(i, 2);
323
+ } } })])])];
324
+ }), s("div", { staticClass: "item fl" }, [s("div", { staticClass: "jia", on: { click: t.addMember } }, [s("i", { staticClass: "el-icon-plus icon" })])])], 2)])]), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.transOption") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.transOption") }, model: { value: t.queryParam.optionTrans, callback: function(i) {
325
+ t.$set(t.queryParam, "optionTrans", i);
326
+ }, expression: "queryParam.optionTrans" } })], 1)], 1) : t._e()]), s("template", { slot: "footer" }, [t.type == 3 ? s("el-button", { attrs: { type: "primary", disabled: t.back }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configBack", "\u786E\u8BA4\u9000\u56DE")) + " ")]) : t._e(), t.type == 2 ? s("el-button", { attrs: { type: "primary", disabled: t.sign }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configSign", "\u786E\u8BA4\u52A0\u7B7E")) + " ")]) : t._e(), t.type == 1 ? s("el-button", { attrs: { type: "primary", disabled: t.trans }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configTransfer", "\u786E\u8BA4\u8F6C\u5BA1")) + " ")]) : t._e()], 1)], 2), s("Menbers", { ref: "menbers", attrs: { menberList: t.menberList }, on: { ok: t.selMenbers } }), s("MenberRadio", { ref: "menberRadio", on: { ok: t.selMenberRadio } })], 1);
327
+ }, u = [], g = /* @__PURE__ */ r(
328
+ h,
329
+ p,
330
+ u,
331
+ !1,
332
+ null,
333
+ "31a9f90d",
334
+ null,
335
+ null
336
+ );
337
+ const b = g.exports;
338
+ export {
339
+ b as default
340
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./components.chartbi.e4680eaa.js"),n=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.50d1ec9c.js");const d={name:"ApprovalMpdel",nodeJson:{type:Object,required:!0},showCurrent1:{type:Boolean,default(){return!1}},data(){return{fullscreen:!1,allowAddSignature:!1,allowCC:!1,allowReturn:!1,allowTransfer:!1,sendModel:!1,rejectModel:!1,showEditTrans:!1,showEdit:!1,showEditSign:!1,sonMaskList:[],sonTurretList:[],sonEndorseList:[],optionSign:"1",atureSign:"1",optionallowCC:"1",optionShow:!1,atureShow:!1,allowccShow:!1,radioStyle:{display:"block",height:"30px",lineHeight:"30px"},visible:!1,visible1:!1,sourceNameData:[],queryParam:{},selectedValue:"",taskId:"",type:1,endorseList:[],turrenteList:[],counterSign:"1",approvalType:"0",seeList:[],menberList:[],employeeId:"",approvers:[],masklistID:[],turrenteListID:[],endorseListID:[],showMulti:!1,back:!1,sign:!0,trans:!0,sonMenberList:[],maxItem:2,reacds:null,arr:null,selectArr:!1,showArr:null}},components:{Menbers:()=>Promise.resolve().then(()=>require("./flow.designer.1ba3a90d.js")).then(a=>a.index),MenberRadio:()=>Promise.resolve().then(()=>require("./flow.designer.1ba3a90d.js")).then(a=>a.index$1)},mounted(){},computed:{title(){return this.$i18nt("gd.btn.back")},styled(){return{position:"absolute",right:0,bottom:0,width:"100%",borderTop:"1px solid #e9e9e9",padding:"10px 16px",background:"#fff",textAlign:"right",zIndex:1}},...r.mapGetters(["labelPosition"])},methods:{togglefullscreen(){},open(a,t,s,i,o){this.visible=!0,this.type=s,this.arr=i,this.showArr=o,this.getTaskDetail(a,t),this.type!=3&&this.getMenber()},getMenber(){n.getBUEmployeeTree().then(a=>{let t,s;if(this.type==1&&(this.arr&&(t=this.arr.transferApprovers),this.showArr&&(s=this.showArr)),this.type==2&&(this.arr&&(t=this.arr.addSignatureApprovers),this.showArr&&(s=this.showArr)),a.code==200){const i=o=>(o=o.filter((l,g)=>(l.children&&l.children.length>0&&(l.children=i(l.children)),t.length>0&&(t.indexOf(l.id)>-1?l.disabled=!1:l.disabled=!0),s.length>0&&s.indexOf(l.name)>-1&&(l.disabled=!0),l.key=l.id,l.title=l.name,!0)),o);i(a.data),this.menberList=a.data}})},handleOk(){let a={};if(this.type==2){let t=[];this.endorseList.forEach(i=>{t.push(i.id)}),this.sonMaskList.forEach(i=>{this.masklistID.push(i.id)}),this.sonTurretList.forEach(i=>{this.turrenteListID.push(i.id)}),this.sonEndorseList.forEach(i=>{this.endorseListID.push(i.id)});let s={assigneeType:"1",managerLevel:"1",counterSign:this.counterSign,tableName:"",approvers:t,currentTableName:"Ceshi",currentFieldName:"",tableFields:[],autoApprvalType:"1",businessUnitId:"",allowReturn:this.sendModel,showreject:this.rejectModel,allowTransfer:this.allowTransfer,allowAddSignature:this.allowAddSignature,allowCC:this.allowCC,allowccShow:this.allowccShow,optionallowCC:this.optionallowCC,CCApprovers:this.masklistID,transferApprovers:this.turrenteListID,atureShow:this.atureShow,atureSign:this.atureSign,addSignatureApprovers:this.endorseListID,optionShow:this.optionShow,optionSign:this.optionSign};a={taskIds:this.taskId,opinion:this.queryParam.optionEnd,type:this.approvalType,nodePropertyJson:s}}this.type==1&&(a={taskIds:this.taskId,opinion:this.queryParam.optionTrans,nodeId:this.employeeId}),this.type==3&&(a={taskIds:this.taskId,opinion:this.queryParam.content,nodeId:this.queryParam.backId}),this.visible=!1,this.$emit("ok",a,this.type)},handleCancel(){this.visible=!1},handleChange(a){this.selectArr=!0,this.queryParam.backId=a,this.$forceUpdate()},getTaskDetail(a,t){this.sourceNameData=[],n.approvalGetTaskInfo({tableDataId:a,tableId:t.id}).then(s=>{this.taskId=s.data.approvalinfo.sysapprovaltaskid;let i=s.data.approvalinfo.approvalnodeinfos.filter((o,l)=>{if(o.status==2&&o.nodetype!="circulate")return o.id=o.id,o.name=o.name,!0});i[i.length-1].name=i[i.length-1].name+"(\u4E0A\u4E00\u6B65)",this.sourceNameData=i,this.queryParam.backId=this.sourceNameData[this.sourceNameData.length-1].id})},addMember(){if(this.type==2&&this.$refs.menbers.init(this.endorseList,this.type),this.type==1){let a=6;this.$refs.menbers.init(this.turrenteList,a)}},delMask(a,t){if(t==1){let s=this.endorseList.filter(i=>i!=a);this.endorseList=[...s],this.endorseList.length>0?this.sign=!1:this.sign=!0,this.endorseList.length>1?this.showMulti=!0:this.showMulti=!1}else if(t==2){let s=this.turrenteList.filter(i=>i!=a);this.turrenteList=[...s],this.turrenteList.length>0?this.trans=!1:this.trans=!0}},selMenbers(a,t){console.log(a,t),t==2&&a&&(this.endorseList=[...a],this.endorseList.length>1?this.showMulti=!0:this.showMulti=!1,this.endorseList.length>0?this.sign=!1:this.sign=!0),t==6&&a&&(this.employeeId=a.length==0?"":a[0].id,this.turrenteList=[...a],this.turrenteList.length>0?this.trans=!1:this.trans=!0)},delEnd(a,t){if(t==1){let s=this.sonMaskList.filter(i=>i!=a);this.sonMaskList=[...s]}else if(t==2){let s=this.sonTurretList.filter(i=>i!=a);this.sonTurretList=[...s]}else if(t==3){let s=this.sonEndorseList.filter(i=>i!=a);this.sonEndorseList=[...s]}},selMenberRadio(a,t){a&&(t==2?this.sonMaskList=[...a]:t==3?this.sonTurretList=[...a]:t==4&&(this.sonEndorseList=[...a]))},returnClick(a){this.sendModel=a},rejectClick(){this.rejectModel=e},onChange(a){a==!0?(this.allowccShow=!0,this.optionallowCC="1"):a==!1&&(this.allowccShow=!1,this.optionallowCC=""),this.sonMaskList=[],this.showEdit=!1,this.allowCC=a},onChange1(a){a==!0?(this.atureShow=!0,this.atureSign="1"):(this.atureShow=!1,this.atureSign=""),this.sonTurretList=[],this.showEditTrans=!1,this.allowTransfer=a},onChange2(a){a==!0?(this.optionShow=!0,this.optionSign="1"):(this.optionShow=!1,this.optionSign=""),this.sonEndorseList=[],this.showEditSign=!1,this.allowAddSignature=a},edit(){this.id=2,this.$refs.menberRadio.init(this.sonMaskList,this.id)},editSign(){this.id=3,this.$refs.menberRadio.init(this.sonTurretList,this.id)},editCC(){this.id=4,this.$refs.menberRadio.init(this.sonEndorseList,this.id)},radioCC(a){a=="2"?this.showEdit=!0:(this.showEdit=!1,this.sonMaskList=[]),this.optionallowCC=a},radioTrans(a){a=="2"?this.showEditTrans=!0:(this.showEditTrans=!1,this.sonTurretList=[]),this.atureSign=a},radioSign(a){a=="2"?this.showEditSign=!0:(this.showEditSign=!1,this.sonEndorseList=[]),this.optionSign=a},doEvent(a){let t=a.item.functionName;this[t]&&this[t]()}}};var c=function(){var t=this,s=t._self._c;return s("div",{staticClass:"approval-mpdel"},[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:t.fullscreen,visible:t.visible,width:"700px",center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(i){t.visible=i},closed:t.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:t.title,buttons:[],closed:"handleCancel",showClose:!0,showFullscreen:!1},on:{changeEvent:t.doEvent},slot:"title"}),s("el-form",{attrs:{"label-width":"100px","label-position":t.labelPosition},nativeOn:{submit:function(i){i.preventDefault()}}},[t.type==3?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.fallback","\u9000\u56DE\u5230")}},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.approvalPlug.backNode","\u9009\u62E9\u9000\u56DE\u8282\u70B9"),clearable:""},on:{change:t.handleChange},model:{value:t.queryParam.backId,callback:function(i){t.$set(t.queryParam,"backId",i)},expression:"queryParam.backId"}},t._l(t.sourceNameData,function(i,o){return s("el-option",{key:i.id,attrs:{value:i.id,label:i.name}})}),1)],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.rollbackcause","\u9000\u56DE\u539F\u56E0")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:t.queryParam.content,callback:function(i){t.$set(t.queryParam,"content",i)},expression:"queryParam.content"}})],1)],1):t._e(),t.type==2?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.countersignp")}},[s("div",{staticClass:"rectangle"},[s("div",{staticClass:"b"},[t._l(t.endorseList.slice(0,3),function(i,o){return s("div",{key:o},[s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delMask(i,1)}}})])])])}),t.endorseList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e(),s("div",{staticClass:"item fl"},[s("div",{staticClass:"jia",on:{click:t.addMember}},[s("i",{staticClass:"el-icon-plus icon"})])])],2)])]),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.countersignMen")}},[s("el-radio-group",{model:{value:t.approvalType,callback:function(i){t.approvalType=i},expression:"approvalType"}},[s("el-radio",{attrs:{label:"0"}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.beforeSigning"))+" ")]),s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.afterSigning"))+" ")])],1)],1),s("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.showMulti,expression:"showMulti"}],attrs:{label:t.$i18nt("gd.approvalPlug.multiPerson")}},[s("el-radio-group",{model:{value:t.counterSign,callback:function(i){t.counterSign=i},expression:"counterSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.signatureOr"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.andtlySign"))+" ")])],1)],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.counterOption")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.endOption")},model:{value:t.queryParam.optionEnd,callback:function(i){t.$set(t.queryParam,"optionEnd",i)},expression:"queryParam.optionEnd"}})],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.labelBtn")}},[s("div",{staticStyle:{"line-height":"30px"}},[s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.returnClick(i)}},model:{value:t.sendModel,callback:function(i){t.sendModel=i},expression:"sendModel"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowReturn"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentReturn","\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9000\u56DE\u5230\u5386\u53F2\u8282\u70B9")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})])],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.rejectClick(i)}},model:{value:t.rejectModel,callback:function(i){t.rejectModel=i},expression:"rejectModel"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowRreject","\u9A73\u56DE"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.showReject","\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9A73\u56DE\u5230\u63D0\u4EA4\u4EBA(\u6D41\u7A0B\u4F5C\u5E9F)")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})])],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange(i)}},model:{value:t.allowCC,callback:function(i){t.allowCC=i},expression:"allowCC"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowCC"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentCC","\u662F\u5426\u5141\u8BB8\u5C06\u5F53\u524D\u5BA1\u6279\u7ED3\u679C\u53D1\u9001\u7ED9\u6307\u5B9A\u4EBA\u5458")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.allowccShow,expression:"allowccShow"}],attrs:{name:"radioGroup"},on:{change:t.radioCC},model:{value:t.optionallowCC,callback:function(i){t.optionallowCC=i},expression:"optionallowCC"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEdit,expression:"showEdit"}],staticClass:"question",on:{click:t.edit}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonMaskList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,1)}}})])]):t._e()]}),t.sonMaskList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange1(i)}},model:{value:t.allowTransfer,callback:function(i){t.allowTransfer=i},expression:"allowTransfer"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowTransfer"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentTrans","\u662F\u5426\u5141\u8BB8\u5BA1\u6279\u4EBA\u5C06\u5BA1\u6279\u4EFB\u52A1\u8F6C\u7ED9\u6307\u5B9A\u4EBA\u5458")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.atureShow,expression:"atureShow"}],attrs:{name:"radioGroup"},on:{change:t.radioTrans},model:{value:t.atureSign,callback:function(i){t.atureSign=i},expression:"atureSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEditTrans,expression:"showEditTrans"}],staticClass:"question",on:{click:t.editSign}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonTurretList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,2)}}})])]):t._e()]}),t.sonTurretList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange2(i)}},model:{value:t.allowAddSignature,callback:function(i){t.allowAddSignature=i},expression:"allowAddSignature"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowAddSignature"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentSign","\u662F\u5426\u5141\u8BB8\u5F53\u524D\u5BA1\u6279\u4EBA\u6DFB\u52A0\u6307\u5B9A\u4EBA\u5458\u8FDB\u884C\u5BA1\u6279")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.optionShow,expression:"optionShow"}],attrs:{name:"radioGroup"},on:{change:t.radioSign},model:{value:t.optionSign,callback:function(i){t.optionSign=i},expression:"optionSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEditSign,expression:"showEditSign"}],staticClass:"question",on:{click:t.editCC}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonEndorseList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,3)}}})])]):t._e()]}),t.sonEndorseList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1)])])],1):t._e(),t.type==1?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.transPop")}},[s("div",{staticClass:"rectangle"},[s("div",{staticClass:"b"},[t._l(t.turrenteList,function(i,o){return[s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delMask(i,2)}}})])])]}),s("div",{staticClass:"item fl"},[s("div",{staticClass:"jia",on:{click:t.addMember}},[s("i",{staticClass:"el-icon-plus icon"})])])],2)])]),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.transOption")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.transOption")},model:{value:t.queryParam.optionTrans,callback:function(i){t.$set(t.queryParam,"optionTrans",i)},expression:"queryParam.optionTrans"}})],1)],1):t._e()]),s("template",{slot:"footer"},[t.type==3?s("el-button",{attrs:{type:"primary",disabled:t.back},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configBack","\u786E\u8BA4\u9000\u56DE"))+" ")]):t._e(),t.type==2?s("el-button",{attrs:{type:"primary",disabled:t.sign},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configSign","\u786E\u8BA4\u52A0\u7B7E"))+" ")]):t._e(),t.type==1?s("el-button",{attrs:{type:"primary",disabled:t.trans},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configTransfer","\u786E\u8BA4\u8F6C\u5BA1"))+" ")]):t._e()],1)],2),s("Menbers",{ref:"menbers",attrs:{menberList:t.menberList},on:{ok:t.selMenbers}}),s("MenberRadio",{ref:"menberRadio",on:{ok:t.selMenberRadio}})],1)},h=[],p=r.normalizeComponent(d,c,h,!1,null,"31a9f90d",null,null);const u=p.exports;exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./http.filedocument.7c656b91.js"),a=require("./index.cca024bf.js"),n=require("./components.chartbi.e4680eaa.js");require("./router.config.2501ec51.js");require("./layouts.a6a36612.js");require("vue");require("./components.sidenavmenu.b9bb9304.js");require("./http.loginmanage.326984c3.js");require("./components.settingdrawer.779f6715.js");require("./components.xlsximport.dbd826bb.js");require("./http.main.2f8a6936.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./utils.util.js.50d1ec9c.js");require("./http.noticemanage.2507d094.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./utils.mixins.js.750ca50e.js");require("./components.form.91d5ed3e.js");require("./http.filemanage.7e6e3e1a.js");require("./components.iconselector.d712170f.js");require("./components.globalheader.07a90c4b.js");require("./components.multitab.82fd0544.js");require("./components.sidemenu.80e46c2d.js");require("./system.account.0d4f1fdc.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.f64e49f8.js");require("./flow.designer.1ba3a90d.js");require("./components.table.17c02054.js");require("./utils.datepicker.js.8576e2fc.js");require("./http.codegeneratemanage.aecadd5d.js");require("./http.promptmanagement.d115c4b0.js");require("./components.coloreditor.779a9419.js");require("./http.useraffiliation.af2013ad.js");require("./http.tabledevelopment.a880bb76.js");require("./personal.echarts.f77bfc9e.js");require("./components.teamsharing.05503821.js");require("./utils.echarts.js.461a74e7.js");require("./store.config.3cb11578.js");require("./form.build.51bd261e.js");require("./components.viewformdetails.1621bc18.js");require("./system.notice.96c770a6.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.03363732.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.38d4d3d8.js");require("./components.tableumy.9cf33062.js");require("./components.tooltip.a05d8dd1.js");require("./components.selecttree.d710a362.js");require("./components.imgpreview.86bf7971.js");require("./components.modaltitle.e0b34fcb.js");require("./view.build.b44fd7d7.js");require("./page.build.846096e6.js");require("./form.designer.build.5a950455.js");require("./http.duplicatechecking.ee5c414c.js");require("./components.xlsxexport.f5ace2cd.js");require("./components.dataassign.1853ed5c.js");require("./components.statuschange.ed1218a4.js");require("./components.middleware.3bad5748.js");require("./components.echarts.e4d6b13e.js");require("./components.viewloading.807bbf68.js");require("./components.exception.3cc33e29.js");require("./components.uploadfile.5a9b6cc1.js");require("./components.uploadimg.cce7452a.js");require("./components.lunccalendar.76159d2e.js");require("./components.watermark.da3d7220.js");require("./system.org.79ee5bd6.js");require("./system.pos.0a3d2a37.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.f5708400.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.fca3f2d6.js");require("./system.role.03be0982.js");require("./system.log.fc60f5e6.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.f1d95c86.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.e2e39bdc.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.210f516c.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.dfe4ecc7.js");require("./system.webresource.12712b90.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.3ef07bf7.js");require("./system.file.17a7f2ed.js");require("./system.timers.28691ce4.js");require("./http.timersmanage.6e894942.js");require("./solution.58580123.js");require("./http.solution.c6b2634f.js");require("./flow.list.4eb10554.js");require("./http.translationmanage.1f9dce46.js");require("./http.pluginmanage.6a876040.js");require("./system.translation.6237f071.js");require("./system.duplicatechecking.8e3a37c0.js");require("./system.promptmanagement.b5fa6b2d.js");require("./system.useraffiliation.7547b9c7.js");require("./system.plugin.b34a3b47.js");require("./system.email.070ab2be.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.90f73461.js");require("./system.datasource.82492d27.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.bb228fce.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.32183b63.js");require("./http.team.e45400d5.js");require("./system.teammembers.847d8ea7.js");require("./messages.7b74736f.js");require("./http.message.87f319d7.js");require("./translation.mains.1ce7e110.js");const o={props:{treeData:{type:Array,default:()=>[]}},data(){return{record:{},width:"600px",confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u5237\u65B0",functionName:"init",show:!0,transKey:"gd.basics.refresh",icon:"el-icon-refresh"}],permissionMenus:[]}},computed:{pathAddress(){let t="";return this.record.path===void 0||(this.record.path.split(".").forEach(s=>{const i=this.treeData.filter(c=>c.id===Number(s))[0];t+=i&&s!=="0"?`/${i.name}`:""}),this.record.type!==1&&(t+=`/${this.record.name}`)),t},fileIcon(){return a.getIcon(this.record)},fileType(){const e=this.getDictionary("sys_doc_objects_type").filter(s=>s.code==this.record.type)[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):this.record.type},fileSize(){if(this.record.type===1)return 0;const t=this.record.filesize?this.record.filesize:0;let e=t/1024;return e<1024?`${Math.ceil(e)}K`:`${(t/1024/1024).toFixed(2)}M`},inheritPermissions(){const e=this.getDictionary("yes_or_no").filter(s=>s.code==this.record.inheritpermissions)[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):this.record.inheritpermissions},...n.mapGetters(["primaryColor"])},methods:{init(){this.confirmLoading=!0,Promise.all([this.getDetail(),this.getRootPermission()]).then(t=>{this.confirmLoading=!1})},open(t){this.record=t,this.visible=!0,this.init()},getDetail(){return r.sysDocObjectsGetById({id:this.record.id}).then(t=>{t.code===200&&(this.record=t.data)})},getRootPermission(){return r.getUserDocPrivs({docId:this.record.id}).then(t=>{if(t.code===200){const e=a.permissionList.filter(s=>s.type.includes(this.record.type));this.permissionMenus=e.map(s=>{const i=t.data[s.code];return Object.assign({...s},{allow:i!==void 0?i===1:!1,refuse:i!==void 0?i===2:!1})})}return t})},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(t){return this.$options.filters.dictData(t)},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var d=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("gd-modal-title",{attrs:{slot:"title",title:e.$i18nt("gd.form.attribute","\u5C5E\u6027"),fullscreen:e.fullscreen,buttons:e.buttons,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"}]},[s("div",{staticClass:"list"},[s("div",{staticClass:"list-item list-label"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.form.attribute","\u5C5E\u6027")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.$i18nt("gd.form.value","\u503C")))])]),s("div",{staticClass:"list-kuang"},[s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.translation.name","\u540D\u79F0")))]),s("div",{staticClass:"item-val line1",attrs:{title:e.record.name}},[e._v(e._s(e.record.name))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.pathAddress","\u8DEF\u5F84\u5730\u5740")))]),s("div",{staticClass:"item-val line1",attrs:{title:e.pathAddress}},[e._v(e._s(e.pathAddress))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.file.fileAccept","\u6587\u4EF6\u7C7B\u578B")))]),s("div",{staticClass:"item-val"},[s("i",{staticClass:"gd-icons",class:e.fileIcon})])]),e.record.filesize?[s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.file.fileSize","\u6587\u4EF6\u5927\u5C0F")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.fileSize))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.solution.version","\u7248\u672C")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.version))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.iseffectiveness","\u6709\u6548")))]),s("div",{staticClass:"item-val"},[s("el-tag",{style:e._f("dictColor")("yes_or_no",e.record.iseffectiveness),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("yes_or_no",e.record.iseffectiveness))+" ")])],1)])]:e._e(),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.inheritPermissions))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.uploadTime","\u4E0A\u4F20\u65F6\u95F4")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.uploaddate))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.mdifyUser","\u4FEE\u6539\u7528\u6237")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.updatedbyname?e.record.updatedbyname:""))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.web.updatedTime","\u4FEE\u6539\u65F6\u95F4")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.updatedtime))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.createUser","\u521B\u5EFA\u7528\u6237")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.createdbyname?e.record.createdbyname:""))])]),s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.web.creationTime","\u521B\u5EFA\u65F6\u95F4")))]),s("div",{staticClass:"item-val"},[e._v(e._s(e.record.createdtime))])])],2)]),s("div",{staticClass:"list"},[s("div",{staticClass:"list-item list-label"},[s("div",{staticClass:"item-name"},[e._v(e._s(e.$i18nt("gd.page.limitsAuthority","\u6743\u9650")))]),s("div",{staticClass:"item-hand",staticStyle:{color:"#52c41a"}},[e._v(e._s(e.$i18nt("gd.fileDocument.allow","\u5141\u8BB8")))]),s("div",{staticClass:"item-hand",staticStyle:{color:"red"}},[e._v(e._s(e.$i18nt("gd.fileDocument.refuse","\u62D2\u7EDD")))])]),s("div",{staticClass:"list-kuang"},[e._l(e.permissionMenus,function(i){return[i.show?s("div",{staticClass:"list-item"},[s("div",{staticClass:"item-name"},[e._v(" "+e._s(e.$i18nt(i.transkey,i.name))+" ("+e._s(i.code)+") ")]),s("div",{staticClass:"item-hand"},[i.allow?s("i",{staticClass:"el-icon-check"}):e._e()]),s("div",{staticClass:"item-hand"},[i.refuse?s("i",{staticClass:"el-icon-check"}):e._e()])]):e._e()]})],2)])])],1)],1)},l=[],m=n.normalizeComponent(o,d,l,!1,null,"71a8de0f",null,null);const u=m.exports;exports.default=u;