epx-frame 3.5.0-shpgy.1

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 (1223) hide show
  1. package/.browserslistrc +4 -0
  2. package/.dockerignore +2 -0
  3. package/.editorconfig +5 -0
  4. package/.env.dev +6 -0
  5. package/.env.development +4 -0
  6. package/.env.localize +7 -0
  7. package/.env.ppe +6 -0
  8. package/.env.prd +6 -0
  9. package/.env.pre +6 -0
  10. package/.env.production +6 -0
  11. package/.env.simple +8 -0
  12. package/.eslintignore +2 -0
  13. package/.eslintrc.js +24 -0
  14. package/Dockerfile +12 -0
  15. package/README.md +108 -0
  16. package/babel.config.js +26 -0
  17. package/build/webpack.component.js +54 -0
  18. package/build/webpack.dev.js +114 -0
  19. package/build/webpack.prod.js +133 -0
  20. package/nginx.conf +38 -0
  21. package/package.json +93 -0
  22. package/public/403.html +77 -0
  23. package/public/cmaps/78-EUC-H.bcmap +0 -0
  24. package/public/cmaps/78-EUC-V.bcmap +0 -0
  25. package/public/cmaps/78-H.bcmap +0 -0
  26. package/public/cmaps/78-RKSJ-H.bcmap +0 -0
  27. package/public/cmaps/78-RKSJ-V.bcmap +0 -0
  28. package/public/cmaps/78-V.bcmap +0 -0
  29. package/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
  30. package/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
  31. package/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
  32. package/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
  33. package/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
  34. package/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
  35. package/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
  36. package/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
  37. package/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
  38. package/public/cmaps/Add-H.bcmap +0 -0
  39. package/public/cmaps/Add-RKSJ-H.bcmap +0 -0
  40. package/public/cmaps/Add-RKSJ-V.bcmap +0 -0
  41. package/public/cmaps/Add-V.bcmap +0 -0
  42. package/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
  43. package/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
  44. package/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
  45. package/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
  46. package/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
  47. package/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
  48. package/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
  49. package/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  50. package/public/cmaps/Adobe-GB1-0.bcmap +0 -0
  51. package/public/cmaps/Adobe-GB1-1.bcmap +0 -0
  52. package/public/cmaps/Adobe-GB1-2.bcmap +0 -0
  53. package/public/cmaps/Adobe-GB1-3.bcmap +0 -0
  54. package/public/cmaps/Adobe-GB1-4.bcmap +0 -0
  55. package/public/cmaps/Adobe-GB1-5.bcmap +0 -0
  56. package/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  57. package/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
  58. package/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
  59. package/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
  60. package/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
  61. package/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
  62. package/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
  63. package/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
  64. package/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  65. package/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
  66. package/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
  67. package/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
  68. package/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  69. package/public/cmaps/B5-H.bcmap +0 -0
  70. package/public/cmaps/B5-V.bcmap +0 -0
  71. package/public/cmaps/B5pc-H.bcmap +0 -0
  72. package/public/cmaps/B5pc-V.bcmap +0 -0
  73. package/public/cmaps/CNS-EUC-H.bcmap +0 -0
  74. package/public/cmaps/CNS-EUC-V.bcmap +0 -0
  75. package/public/cmaps/CNS1-H.bcmap +0 -0
  76. package/public/cmaps/CNS1-V.bcmap +0 -0
  77. package/public/cmaps/CNS2-H.bcmap +0 -0
  78. package/public/cmaps/CNS2-V.bcmap +3 -0
  79. package/public/cmaps/ETHK-B5-H.bcmap +0 -0
  80. package/public/cmaps/ETHK-B5-V.bcmap +0 -0
  81. package/public/cmaps/ETen-B5-H.bcmap +0 -0
  82. package/public/cmaps/ETen-B5-V.bcmap +0 -0
  83. package/public/cmaps/ETenms-B5-H.bcmap +3 -0
  84. package/public/cmaps/ETenms-B5-V.bcmap +0 -0
  85. package/public/cmaps/EUC-H.bcmap +0 -0
  86. package/public/cmaps/EUC-V.bcmap +0 -0
  87. package/public/cmaps/Ext-H.bcmap +0 -0
  88. package/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
  89. package/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
  90. package/public/cmaps/Ext-V.bcmap +0 -0
  91. package/public/cmaps/GB-EUC-H.bcmap +0 -0
  92. package/public/cmaps/GB-EUC-V.bcmap +0 -0
  93. package/public/cmaps/GB-H.bcmap +4 -0
  94. package/public/cmaps/GB-V.bcmap +0 -0
  95. package/public/cmaps/GBK-EUC-H.bcmap +0 -0
  96. package/public/cmaps/GBK-EUC-V.bcmap +0 -0
  97. package/public/cmaps/GBK2K-H.bcmap +0 -0
  98. package/public/cmaps/GBK2K-V.bcmap +0 -0
  99. package/public/cmaps/GBKp-EUC-H.bcmap +0 -0
  100. package/public/cmaps/GBKp-EUC-V.bcmap +0 -0
  101. package/public/cmaps/GBT-EUC-H.bcmap +0 -0
  102. package/public/cmaps/GBT-EUC-V.bcmap +0 -0
  103. package/public/cmaps/GBT-H.bcmap +0 -0
  104. package/public/cmaps/GBT-V.bcmap +0 -0
  105. package/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
  106. package/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
  107. package/public/cmaps/GBpc-EUC-H.bcmap +0 -0
  108. package/public/cmaps/GBpc-EUC-V.bcmap +0 -0
  109. package/public/cmaps/H.bcmap +0 -0
  110. package/public/cmaps/HKdla-B5-H.bcmap +0 -0
  111. package/public/cmaps/HKdla-B5-V.bcmap +0 -0
  112. package/public/cmaps/HKdlb-B5-H.bcmap +0 -0
  113. package/public/cmaps/HKdlb-B5-V.bcmap +0 -0
  114. package/public/cmaps/HKgccs-B5-H.bcmap +0 -0
  115. package/public/cmaps/HKgccs-B5-V.bcmap +0 -0
  116. package/public/cmaps/HKm314-B5-H.bcmap +0 -0
  117. package/public/cmaps/HKm314-B5-V.bcmap +0 -0
  118. package/public/cmaps/HKm471-B5-H.bcmap +0 -0
  119. package/public/cmaps/HKm471-B5-V.bcmap +0 -0
  120. package/public/cmaps/HKscs-B5-H.bcmap +0 -0
  121. package/public/cmaps/HKscs-B5-V.bcmap +0 -0
  122. package/public/cmaps/Hankaku.bcmap +0 -0
  123. package/public/cmaps/Hiragana.bcmap +0 -0
  124. package/public/cmaps/KSC-EUC-H.bcmap +0 -0
  125. package/public/cmaps/KSC-EUC-V.bcmap +0 -0
  126. package/public/cmaps/KSC-H.bcmap +0 -0
  127. package/public/cmaps/KSC-Johab-H.bcmap +0 -0
  128. package/public/cmaps/KSC-Johab-V.bcmap +0 -0
  129. package/public/cmaps/KSC-V.bcmap +0 -0
  130. package/public/cmaps/KSCms-UHC-H.bcmap +0 -0
  131. package/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  132. package/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  133. package/public/cmaps/KSCms-UHC-V.bcmap +0 -0
  134. package/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
  135. package/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
  136. package/public/cmaps/Katakana.bcmap +0 -0
  137. package/public/cmaps/LICENSE +36 -0
  138. package/public/cmaps/NWP-H.bcmap +0 -0
  139. package/public/cmaps/NWP-V.bcmap +0 -0
  140. package/public/cmaps/RKSJ-H.bcmap +0 -0
  141. package/public/cmaps/RKSJ-V.bcmap +0 -0
  142. package/public/cmaps/Roman.bcmap +0 -0
  143. package/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  144. package/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  145. package/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  146. package/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  147. package/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  148. package/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  149. package/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  150. package/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  151. package/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
  152. package/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
  153. package/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
  154. package/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
  155. package/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
  156. package/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
  157. package/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
  158. package/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
  159. package/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  160. package/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  161. package/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  162. package/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  163. package/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  164. package/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  165. package/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  166. package/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  167. package/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  168. package/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  169. package/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  170. package/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  171. package/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  172. package/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  173. package/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  174. package/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  175. package/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  176. package/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  177. package/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  178. package/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  179. package/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  180. package/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  181. package/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  182. package/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
  183. package/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
  184. package/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
  185. package/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
  186. package/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
  187. package/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
  188. package/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
  189. package/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
  190. package/public/cmaps/V.bcmap +0 -0
  191. package/public/cmaps/WP-Symbol.bcmap +0 -0
  192. package/public/favicon.ico +0 -0
  193. package/public/font/font_2530548_ikl5ryc86u.css +535 -0
  194. package/public/font/font_2530548_ikl5ryc86u.ttf +0 -0
  195. package/public/font/font_2530548_ikl5ryc86u.woff +0 -0
  196. package/public/font/font_2530548_ikl5ryc86u.woff2 +0 -0
  197. package/public/font/font_2612462_d2s6adyaymf.css +93 -0
  198. package/public/font/font_2612462_d2s6adyaymf.ttf +0 -0
  199. package/public/font/font_2612462_d2s6adyaymf.woff +0 -0
  200. package/public/font/font_2612462_d2s6adyaymf.woff2 +0 -0
  201. package/public/img/banner.png +0 -0
  202. package/public/img/icons/android-chrome-192x192.png +0 -0
  203. package/public/img/icons/android-chrome-512x512.png +0 -0
  204. package/public/img/icons/android-chrome-maskable-192x192.png +0 -0
  205. package/public/img/icons/android-chrome-maskable-512x512.png +0 -0
  206. package/public/img/icons/apple-touch-icon-120x120.png +0 -0
  207. package/public/img/icons/apple-touch-icon-152x152.png +0 -0
  208. package/public/img/icons/apple-touch-icon-180x180.png +0 -0
  209. package/public/img/icons/apple-touch-icon-60x60.png +0 -0
  210. package/public/img/icons/apple-touch-icon-76x76.png +0 -0
  211. package/public/img/icons/apple-touch-icon.png +0 -0
  212. package/public/img/icons/favicon-16x16.png +0 -0
  213. package/public/img/icons/favicon-32x32.png +0 -0
  214. package/public/img/icons/msapplication-icon-144x144.png +0 -0
  215. package/public/img/icons/mstile-150x150.png +0 -0
  216. package/public/img/icons/safari-pinned-tab.svg +149 -0
  217. package/public/img/success.png +0 -0
  218. package/public/img/tip.png +0 -0
  219. package/public/index.html +132 -0
  220. package/public/js/babel-standalone.min.js +25 -0
  221. package/public/js/config.js +0 -0
  222. package/public/js/jquery-3.6.0.min.js +2 -0
  223. package/public/js/pdf.worker.js +45929 -0
  224. package/public/js/signature_pad.min.js +6 -0
  225. package/public/js/tinymce/icons/default/icons.js +170 -0
  226. package/public/js/tinymce/icons/default/icons.min.js +1 -0
  227. package/public/js/tinymce/jquery.tinymce.min.js +92 -0
  228. package/public/js/tinymce/langs/readme.md +3 -0
  229. package/public/js/tinymce/langs/zh_CN.js +419 -0
  230. package/public/js/tinymce/license.txt +504 -0
  231. package/public/js/tinymce/plugins/advlist/plugin.js +281 -0
  232. package/public/js/tinymce/plugins/advlist/plugin.min.js +9 -0
  233. package/public/js/tinymce/plugins/anchor/plugin.js +216 -0
  234. package/public/js/tinymce/plugins/anchor/plugin.min.js +9 -0
  235. package/public/js/tinymce/plugins/autolink/plugin.js +185 -0
  236. package/public/js/tinymce/plugins/autolink/plugin.min.js +9 -0
  237. package/public/js/tinymce/plugins/autoresize/plugin.js +171 -0
  238. package/public/js/tinymce/plugins/autoresize/plugin.min.js +9 -0
  239. package/public/js/tinymce/plugins/autosave/plugin.js +214 -0
  240. package/public/js/tinymce/plugins/autosave/plugin.min.js +9 -0
  241. package/public/js/tinymce/plugins/bbcode/plugin.js +99 -0
  242. package/public/js/tinymce/plugins/bbcode/plugin.min.js +9 -0
  243. package/public/js/tinymce/plugins/charmap/plugin.js +1706 -0
  244. package/public/js/tinymce/plugins/charmap/plugin.min.js +9 -0
  245. package/public/js/tinymce/plugins/code/plugin.js +92 -0
  246. package/public/js/tinymce/plugins/code/plugin.min.js +9 -0
  247. package/public/js/tinymce/plugins/codesample/plugin.js +1717 -0
  248. package/public/js/tinymce/plugins/codesample/plugin.min.js +9 -0
  249. package/public/js/tinymce/plugins/colorpicker/plugin.js +22 -0
  250. package/public/js/tinymce/plugins/colorpicker/plugin.min.js +9 -0
  251. package/public/js/tinymce/plugins/contextmenu/plugin.js +22 -0
  252. package/public/js/tinymce/plugins/contextmenu/plugin.min.js +9 -0
  253. package/public/js/tinymce/plugins/data/plugin.min.js +209 -0
  254. package/public/js/tinymce/plugins/directionality/plugin.js +314 -0
  255. package/public/js/tinymce/plugins/directionality/plugin.min.js +9 -0
  256. package/public/js/tinymce/plugins/emoticons/js/emojiimages.js +9424 -0
  257. package/public/js/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
  258. package/public/js/tinymce/plugins/emoticons/js/emojis.js +9423 -0
  259. package/public/js/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
  260. package/public/js/tinymce/plugins/emoticons/plugin.js +564 -0
  261. package/public/js/tinymce/plugins/emoticons/plugin.min.js +9 -0
  262. package/public/js/tinymce/plugins/fullpage/plugin.js +544 -0
  263. package/public/js/tinymce/plugins/fullpage/plugin.min.js +9 -0
  264. package/public/js/tinymce/plugins/fullscreen/plugin.js +851 -0
  265. package/public/js/tinymce/plugins/fullscreen/plugin.min.js +9 -0
  266. package/public/js/tinymce/plugins/help/plugin.js +846 -0
  267. package/public/js/tinymce/plugins/help/plugin.min.js +9 -0
  268. package/public/js/tinymce/plugins/hr/plugin.js +46 -0
  269. package/public/js/tinymce/plugins/hr/plugin.min.js +9 -0
  270. package/public/js/tinymce/plugins/image/plugin.js +1660 -0
  271. package/public/js/tinymce/plugins/image/plugin.min.js +9 -0
  272. package/public/js/tinymce/plugins/imagetools/plugin.js +1304 -0
  273. package/public/js/tinymce/plugins/imagetools/plugin.min.js +9 -0
  274. package/public/js/tinymce/plugins/importcss/plugin.js +337 -0
  275. package/public/js/tinymce/plugins/importcss/plugin.min.js +9 -0
  276. package/public/js/tinymce/plugins/insertdatetime/plugin.js +177 -0
  277. package/public/js/tinymce/plugins/insertdatetime/plugin.min.js +9 -0
  278. package/public/js/tinymce/plugins/legacyoutput/plugin.js +199 -0
  279. package/public/js/tinymce/plugins/legacyoutput/plugin.min.js +9 -0
  280. package/public/js/tinymce/plugins/link/plugin.js +1219 -0
  281. package/public/js/tinymce/plugins/link/plugin.min.js +9 -0
  282. package/public/js/tinymce/plugins/lists/plugin.js +2163 -0
  283. package/public/js/tinymce/plugins/lists/plugin.min.js +9 -0
  284. package/public/js/tinymce/plugins/media/plugin.js +1315 -0
  285. package/public/js/tinymce/plugins/media/plugin.min.js +9 -0
  286. package/public/js/tinymce/plugins/nonbreaking/plugin.js +101 -0
  287. package/public/js/tinymce/plugins/nonbreaking/plugin.min.js +9 -0
  288. package/public/js/tinymce/plugins/noneditable/plugin.js +117 -0
  289. package/public/js/tinymce/plugins/noneditable/plugin.min.js +9 -0
  290. package/public/js/tinymce/plugins/pagebreak/plugin.js +107 -0
  291. package/public/js/tinymce/plugins/pagebreak/plugin.min.js +9 -0
  292. package/public/js/tinymce/plugins/pagelink/plugin.min.js +171 -0
  293. package/public/js/tinymce/plugins/paper/plugin.min.js +80 -0
  294. package/public/js/tinymce/plugins/paste/plugin.js +1707 -0
  295. package/public/js/tinymce/plugins/paste/plugin.min.js +9 -0
  296. package/public/js/tinymce/plugins/preview/plugin.js +127 -0
  297. package/public/js/tinymce/plugins/preview/plugin.min.js +9 -0
  298. package/public/js/tinymce/plugins/print/plugin.js +53 -0
  299. package/public/js/tinymce/plugins/print/plugin.min.js +9 -0
  300. package/public/js/tinymce/plugins/quickbars/plugin.js +488 -0
  301. package/public/js/tinymce/plugins/quickbars/plugin.min.js +9 -0
  302. package/public/js/tinymce/plugins/save/plugin.js +119 -0
  303. package/public/js/tinymce/plugins/save/plugin.min.js +9 -0
  304. package/public/js/tinymce/plugins/searchreplace/plugin.js +1167 -0
  305. package/public/js/tinymce/plugins/searchreplace/plugin.min.js +9 -0
  306. package/public/js/tinymce/plugins/spellchecker/plugin.js +737 -0
  307. package/public/js/tinymce/plugins/spellchecker/plugin.min.js +9 -0
  308. package/public/js/tinymce/plugins/tabfocus/plugin.js +128 -0
  309. package/public/js/tinymce/plugins/tabfocus/plugin.min.js +9 -0
  310. package/public/js/tinymce/plugins/table/plugin.min.js +9805 -0
  311. package/public/js/tinymce/plugins/table/plugin.min.js1 +9 -0
  312. package/public/js/tinymce/plugins/template/plugin.js +562 -0
  313. package/public/js/tinymce/plugins/template/plugin.min.js +9 -0
  314. package/public/js/tinymce/plugins/textattribute/plugin.min.js +76 -0
  315. package/public/js/tinymce/plugins/textcolor/plugin.js +22 -0
  316. package/public/js/tinymce/plugins/textcolor/plugin.min.js +9 -0
  317. package/public/js/tinymce/plugins/textpattern/plugin.js +1392 -0
  318. package/public/js/tinymce/plugins/textpattern/plugin.min.js +9 -0
  319. package/public/js/tinymce/plugins/toc/plugin.js +235 -0
  320. package/public/js/tinymce/plugins/toc/plugin.min.js +9 -0
  321. package/public/js/tinymce/plugins/visualblocks/plugin.js +104 -0
  322. package/public/js/tinymce/plugins/visualblocks/plugin.min.js +9 -0
  323. package/public/js/tinymce/plugins/visualchars/plugin.js +541 -0
  324. package/public/js/tinymce/plugins/visualchars/plugin.min.js +9 -0
  325. package/public/js/tinymce/plugins/wordcount/plugin.js +416 -0
  326. package/public/js/tinymce/plugins/wordcount/plugin.min.js +9 -0
  327. package/public/js/tinymce/readme.md +77 -0
  328. package/public/js/tinymce/skins/content/dark/content.css +59 -0
  329. package/public/js/tinymce/skins/content/dark/content.min.css +7 -0
  330. package/public/js/tinymce/skins/content/dark/content.min.css.map +1 -0
  331. package/public/js/tinymce/skins/content/default/content.css +49 -0
  332. package/public/js/tinymce/skins/content/default/content.min.css +7 -0
  333. package/public/js/tinymce/skins/content/default/content.min.css.map +1 -0
  334. package/public/js/tinymce/skins/content/document/content.css +54 -0
  335. package/public/js/tinymce/skins/content/document/content.min.css +7 -0
  336. package/public/js/tinymce/skins/content/document/content.min.css.map +1 -0
  337. package/public/js/tinymce/skins/content/writer/content.css +50 -0
  338. package/public/js/tinymce/skins/content/writer/content.min.css +7 -0
  339. package/public/js/tinymce/skins/content/writer/content.min.css.map +1 -0
  340. package/public/js/tinymce/skins/ui/oxide/content.css +693 -0
  341. package/public/js/tinymce/skins/ui/oxide/content.inline.css +687 -0
  342. package/public/js/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
  343. package/public/js/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -0
  344. package/public/js/tinymce/skins/ui/oxide/content.min.css +7 -0
  345. package/public/js/tinymce/skins/ui/oxide/content.min.css.map +1 -0
  346. package/public/js/tinymce/skins/ui/oxide/content.mobile.css +29 -0
  347. package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
  348. package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css.map +1 -0
  349. package/public/js/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  350. package/public/js/tinymce/skins/ui/oxide/skin.css +2937 -0
  351. package/public/js/tinymce/skins/ui/oxide/skin.min.css +7 -0
  352. package/public/js/tinymce/skins/ui/oxide/skin.min.css.map +1 -0
  353. package/public/js/tinymce/skins/ui/oxide/skin.mobile.css +673 -0
  354. package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
  355. package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css.map +1 -0
  356. package/public/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
  357. package/public/js/tinymce/skins/ui/oxide-dark/content.css +675 -0
  358. package/public/js/tinymce/skins/ui/oxide-dark/content.inline.css +687 -0
  359. package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
  360. package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
  361. package/public/js/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
  362. package/public/js/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -0
  363. package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.css +29 -0
  364. package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
  365. package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +1 -0
  366. package/public/js/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
  367. package/public/js/tinymce/skins/ui/oxide-dark/skin.css +2937 -0
  368. package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
  369. package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -0
  370. package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.css +673 -0
  371. package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
  372. package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +1 -0
  373. package/public/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
  374. package/public/js/tinymce/themes/mobile/theme.js +13612 -0
  375. package/public/js/tinymce/themes/mobile/theme.min.js +9 -0
  376. package/public/js/tinymce/themes/silver/theme.js +31769 -0
  377. package/public/js/tinymce/themes/silver/theme.min.js +9 -0
  378. package/public/js/tinymce/tinymce.d.ts +2916 -0
  379. package/public/js/tinymce/tinymce.min.js +9 -0
  380. package/public/luckysheet/iconfont.css +456 -0
  381. package/public/luckysheet/luckysheet.css +1 -0
  382. package/public/luckysheet/luckysheet.umd.js +27 -0
  383. package/public/luckysheet/plugin.js +1 -0
  384. package/public/luckysheet/plugins.css +10 -0
  385. package/public/luckysheet/pluginsCss.css +1 -0
  386. package/public/robots.txt +2 -0
  387. package/public/signature.html +445 -0
  388. package/sh.exe.stackdump +11 -0
  389. package/src/App.vue +31 -0
  390. package/src/api/README.md +1 -0
  391. package/src/api/config.js +187 -0
  392. package/src/api/createHttp.js +160 -0
  393. package/src/api/index.js +32 -0
  394. package/src/assets/bdrz/banlizhong.png +0 -0
  395. package/src/assets/bdrz/chenggong.png +0 -0
  396. package/src/assets/bdrz/danwei.png +0 -0
  397. package/src/assets/bdrz/hedui.png +0 -0
  398. package/src/assets/bdrz/laoziguanli.png +0 -0
  399. package/src/assets/bdrz/location.png +0 -0
  400. package/src/assets/bdrz/locationl.png +0 -0
  401. package/src/assets/bdrz/phone.png +0 -0
  402. package/src/assets/bdrz/phonel.png +0 -0
  403. package/src/assets/bdrz/shouzhi.png +0 -0
  404. package/src/assets/bdrz/time.png +0 -0
  405. package/src/assets/bdrz/timel.png +0 -0
  406. package/src/assets/bdrz/wancheng.png +0 -0
  407. package/src/assets/bdrz/zuobiao.png +0 -0
  408. package/src/assets/customTranslate/customTranslate.js +13 -0
  409. package/src/assets/customTranslate/translations.js +218 -0
  410. package/src/assets/data/card.png +0 -0
  411. package/src/assets/data/code.png +0 -0
  412. package/src/assets/home/apply.png +0 -0
  413. package/src/assets/home/banner1.png +0 -0
  414. package/src/assets/home/banner11.png +0 -0
  415. package/src/assets/home/banner12.png +0 -0
  416. package/src/assets/home/banner2.png +0 -0
  417. package/src/assets/home/banner3.png +0 -0
  418. package/src/assets/home/benke.png +0 -0
  419. package/src/assets/home/chengguo.png +0 -0
  420. package/src/assets/home/gaojirencaisousuo.png +0 -0
  421. package/src/assets/home/hangyebiaozhun.png +0 -0
  422. package/src/assets/home/huojiang.png +0 -0
  423. package/src/assets/home/icon-test.png +0 -0
  424. package/src/assets/home/kaoshi.png +0 -0
  425. package/src/assets/home/kejichengguo.png +0 -0
  426. package/src/assets/home/keyanxiangmu.png +0 -0
  427. package/src/assets/home/lunwendao.png +0 -0
  428. package/src/assets/home/message.png +0 -0
  429. package/src/assets/home/my-yanjiubaogao.png +0 -0
  430. package/src/assets/home/nodata.png +0 -0
  431. package/src/assets/home/people.png +0 -0
  432. package/src/assets/home/qita.png +0 -0
  433. package/src/assets/home/schoollogo.png +0 -0
  434. package/src/assets/home/search.png +0 -0
  435. package/src/assets/home/shenbaoguanli.png +0 -0
  436. package/src/assets/home/shouye.png +0 -0
  437. package/src/assets/home/title.png +0 -0
  438. package/src/assets/home/todo.png +0 -0
  439. package/src/assets/home/wave0.png +0 -0
  440. package/src/assets/home/wave1.png +0 -0
  441. package/src/assets/home/wave2.png +0 -0
  442. package/src/assets/home/wodeshuju(1).png +0 -0
  443. package/src/assets/home/xinxizhongxin.png +0 -0
  444. package/src/assets/home/yanjiusheng.png +0 -0
  445. package/src/assets/home/yeji.png +0 -0
  446. package/src/assets/home/zhengjiuniandukaohe.png +0 -0
  447. package/src/assets/home/zhengshu.png +0 -0
  448. package/src/assets/home/zhidao.png +0 -0
  449. package/src/assets/home/zhuanli.png +0 -0
  450. package/src/assets/home/zhuanye.png +0 -0
  451. package/src/assets/home/zhuzuoquan.png +0 -0
  452. package/src/assets/images/add.png +0 -0
  453. package/src/assets/images/app.png +0 -0
  454. package/src/assets/images/apply_bg.png +0 -0
  455. package/src/assets/images/auto.png +0 -0
  456. package/src/assets/images/book.png +0 -0
  457. package/src/assets/images/clear.png +0 -0
  458. package/src/assets/images/contact_bg.png +0 -0
  459. package/src/assets/images/data/benke.png +0 -0
  460. package/src/assets/images/data/chengguo.png +0 -0
  461. package/src/assets/images/data/chubanwu.png +0 -0
  462. package/src/assets/images/data/erjidanwei.png +0 -0
  463. package/src/assets/images/data/hangyebiaozhun.png +0 -0
  464. package/src/assets/images/data/huojiang(1).png +0 -0
  465. package/src/assets/images/data/huojiang(2).png +0 -0
  466. package/src/assets/images/data/icon-test.png +0 -0
  467. package/src/assets/images/data/jianzhi.png +0 -0
  468. package/src/assets/images/data/jiaozhigong.png +0 -0
  469. package/src/assets/images/data/keyanxiangmu.png +0 -0
  470. package/src/assets/images/data/keyanxiangmu/346/213/267/350/264/2352.png +0 -0
  471. package/src/assets/images/data/lunwen(1).png +0 -0
  472. package/src/assets/images/data/lunwendao.png +0 -0
  473. package/src/assets/images/data/lunwendao/346/213/267/350/264/2352.png +0 -0
  474. package/src/assets/images/data/pingtai.png +0 -0
  475. package/src/assets/images/data/pingtai/346/213/267/350/264/235.png +0 -0
  476. package/src/assets/images/data/shengbujijiaoxuechengguojiang.png +0 -0
  477. package/src/assets/images/data/wudachengguozhuanhuazhongxin.png +0 -0
  478. package/src/assets/images/data/xueke(1).png +0 -0
  479. package/src/assets/images/data/yanjiusheng.png +0 -0
  480. package/src/assets/images/data/zhidao.png +0 -0
  481. package/src/assets/images/data/zhuanli.png +0 -0
  482. package/src/assets/images/data/zhuzuoquan.png +0 -0
  483. package/src/assets/images/error.png +0 -0
  484. package/src/assets/images/file.png +0 -0
  485. package/src/assets/images/hall_banner.png +0 -0
  486. package/src/assets/images/hr.png +0 -0
  487. package/src/assets/images/index/benke.png +0 -0
  488. package/src/assets/images/index/chengguo.png +0 -0
  489. package/src/assets/images/index/gaojirencaisousuo.png +0 -0
  490. package/src/assets/images/index/hangyebiaozhun.png +0 -0
  491. package/src/assets/images/index/huojiang.png +0 -0
  492. package/src/assets/images/index/icon-test.png +0 -0
  493. package/src/assets/images/index/kaoshi.png +0 -0
  494. package/src/assets/images/index/kejichengguo.png +0 -0
  495. package/src/assets/images/index/keyanxiangmu.png +0 -0
  496. package/src/assets/images/index/lunwendao.png +0 -0
  497. package/src/assets/images/index/my-yanjiubaogao.png +0 -0
  498. package/src/assets/images/index/qita.png +0 -0
  499. package/src/assets/images/index/shenbaoguanli.png +0 -0
  500. package/src/assets/images/index/wodeshuju(1).png +0 -0
  501. package/src/assets/images/index/xinxizhongxin.png +0 -0
  502. package/src/assets/images/index/yanjiusheng.png +0 -0
  503. package/src/assets/images/index/yeji.png +0 -0
  504. package/src/assets/images/index/zhengjiuniandukaohe.png +0 -0
  505. package/src/assets/images/index/zhengshu.png +0 -0
  506. package/src/assets/images/index/zhidao.png +0 -0
  507. package/src/assets/images/index/zhuanli.png +0 -0
  508. package/src/assets/images/index/zhuanye.png +0 -0
  509. package/src/assets/images/index/zhuzuoquan.png +0 -0
  510. package/src/assets/images/index//344/270/232/345/212/241/347/224/263/346/212/245/344/270/200/347/253/231/345/274/217/345/212/236/347/220/206.png +0 -0
  511. package/src/assets/images/index//345/276/205/345/212/236.png +0 -0
  512. package/src/assets/images/index//346/244/255/345/234/2064/346/213/267/350/264/2355.png +0 -0
  513. package/src/assets/images/index//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  514. package/src/assets/images/index//346/266/210/346/201/257.png +0 -0
  515. package/src/assets/images/index//347/224/263/350/257/267.png +0 -0
  516. package/src/assets/images/index//351/273/230/350/256/244/345/255/246/346/240/241logo.png +0 -0
  517. package/src/assets/images/jian.png +0 -0
  518. package/src/assets/images/login.jpg +0 -0
  519. package/src/assets/images/logo.png +0 -0
  520. package/src/assets/images/m_hall_banner.png +0 -0
  521. package/src/assets/images/mlogin.png +0 -0
  522. package/src/assets/images/module.png +0 -0
  523. package/src/assets/images/offical/111.png +0 -0
  524. package/src/assets/images/offical/haiwaigaocengcirencai.png +0 -0
  525. package/src/assets/images/offical/jiaoxue(1).png +0 -0
  526. package/src/assets/images/offical/niandukaohe-weikaohe.png +0 -0
  527. package/src/assets/images/offical/pinqikaohe.png +0 -0
  528. package/src/assets/images/offical/renshiguanlixinxi_yingongchuguo.png +0 -0
  529. package/src/assets/images/offical/shengbujijiaoxuechengguojiang.png +0 -0
  530. package/src/assets/images/offical/shujucaiji.png +0 -0
  531. package/src/assets/images/offical/yeji(1).png +0 -0
  532. package/src/assets/images/offical/zhuanye.png +0 -0
  533. package/src/assets/images/offical//345/244/232/350/276/271/345/275/2421/346/213/267/350/264/23510.png +0 -0
  534. package/src/assets/images/qq.png +0 -0
  535. package/src/assets/images/role_select.png +0 -0
  536. package/src/assets/images/staff.png +0 -0
  537. package/src/assets/images/success.png +0 -0
  538. package/src/assets/images/theme/aurorablue.png +0 -0
  539. package/src/assets/images/theme/classicblue.png +0 -0
  540. package/src/assets/images/theme/deepblue.png +0 -0
  541. package/src/assets/images/theme/forestgreen.png +0 -0
  542. package/src/assets/images/theme/orange.png +0 -0
  543. package/src/assets/images/theme/palevioletred.png +0 -0
  544. package/src/assets/images/theme/purple.png +0 -0
  545. package/src/assets/images/theme/skyblue.png +0 -0
  546. package/src/assets/images/theme/tiffanyblue.png +0 -0
  547. package/src/assets/images/user_bg.png +0 -0
  548. package/src/assets/images/weixin.png +0 -0
  549. package/src/assets/login/bgimg.jpg +0 -0
  550. package/src/assets/moren.png +0 -0
  551. package/src/assets/wage/baseBanner.png +0 -0
  552. package/src/frame/base/AppModuleTreeFind.vue +51 -0
  553. package/src/frame/base/AttributeSubAdd.vue +29 -0
  554. package/src/frame/base/ChooseApplication.vue +176 -0
  555. package/src/frame/base/ChooseApplicationSet.vue +165 -0
  556. package/src/frame/base/ClientAppItem.vue +217 -0
  557. package/src/frame/base/ClientApplication.vue +446 -0
  558. package/src/frame/base/ClientApplicationList.vue +180 -0
  559. package/src/frame/base/ClientModule.vue +65 -0
  560. package/src/frame/base/ClientModuleIndex.vue +413 -0
  561. package/src/frame/base/ClientTreePage.vue +29 -0
  562. package/src/frame/base/ConfigModuleIndex.vue +82 -0
  563. package/src/frame/base/CurrentClientApplication.vue +33 -0
  564. package/src/frame/base/DeptTreeFind.vue +51 -0
  565. package/src/frame/base/EntityList.vue +71 -0
  566. package/src/frame/base/ModuleTreeFind.vue +51 -0
  567. package/src/frame/base/PageList.vue +47 -0
  568. package/src/frame/base/PermissManage.vue +95 -0
  569. package/src/frame/base/RoleAccredit.vue +961 -0
  570. package/src/frame/base/ServiceAccredit.vue +956 -0
  571. package/src/frame/base/ServiceMenu.vue +380 -0
  572. package/src/frame/base/ServiceOperate.vue +929 -0
  573. package/src/frame/base/ServiceTreePage.vue +31 -0
  574. package/src/frame/components/AddUsedInterface.vue +154 -0
  575. package/src/frame/components/Alert.vue +35 -0
  576. package/src/frame/components/AppList.vue +254 -0
  577. package/src/frame/components/Apply/ApplyIndex.vue +207 -0
  578. package/src/frame/components/AttributeList.vue +612 -0
  579. package/src/frame/components/Banner.vue +25 -0
  580. package/src/frame/components/CardO.vue +112 -0
  581. package/src/frame/components/CheckForm.vue +20 -0
  582. package/src/frame/components/ClientAdminFormItem.vue +49 -0
  583. package/src/frame/components/ClientFormItem.vue +45 -0
  584. package/src/frame/components/ClientList.vue +135 -0
  585. package/src/frame/components/CodeDetail.vue +374 -0
  586. package/src/frame/components/CodeManage.vue +755 -0
  587. package/src/frame/components/ComponentFind.vue +356 -0
  588. package/src/frame/components/ComponentList.vue +521 -0
  589. package/src/frame/components/ConfigParamFormItem.vue +193 -0
  590. package/src/frame/components/CreatePage.vue +329 -0
  591. package/src/frame/components/DataLog.vue +91 -0
  592. package/src/frame/components/DblogList.vue +158 -0
  593. package/src/frame/components/DeptFind.vue +126 -0
  594. package/src/frame/components/DropDown/DropDownMenu.vue +267 -0
  595. package/src/frame/components/DropDown/DropDownMenuItem.vue +489 -0
  596. package/src/frame/components/DynamicUserList.vue +69 -0
  597. package/src/frame/components/EditListTable.vue +774 -0
  598. package/src/frame/components/EntityCheckboxFind.vue +88 -0
  599. package/src/frame/components/EntityRelationAdd.vue +201 -0
  600. package/src/frame/components/EntityRelationAddFormItem.vue +100 -0
  601. package/src/frame/components/EntityRightFormItem.vue +616 -0
  602. package/src/frame/components/EntityRightSubList.vue +588 -0
  603. package/src/frame/components/EntityTreeManage.vue +852 -0
  604. package/src/frame/components/EntityViewFields.vue +401 -0
  605. package/src/frame/components/EntityViewSubList.vue +976 -0
  606. package/src/frame/components/ExportSystemConfig.vue +103 -0
  607. package/src/frame/components/FieldAddFormItem.vue +35 -0
  608. package/src/frame/components/Footer.vue +120 -0
  609. package/src/frame/components/FormulaEditor.vue +1216 -0
  610. package/src/frame/components/HallNav.vue +450 -0
  611. package/src/frame/components/HeaderNav.vue +417 -0
  612. package/src/frame/components/IconCard.vue +158 -0
  613. package/src/frame/components/IconFontLibrary.vue +59 -0
  614. package/src/frame/components/IconFontList.vue +75 -0
  615. package/src/frame/components/IdentifyList.vue +33 -0
  616. package/src/frame/components/ImportSystemConfig.vue +206 -0
  617. package/src/frame/components/InterfaceSubList.vue +295 -0
  618. package/src/frame/components/JsPanel.vue +103 -0
  619. package/src/frame/components/LanguageImportPage.vue +598 -0
  620. package/src/frame/components/LanguageSetting.vue +449 -0
  621. package/src/frame/components/List/LinkItem.vue +98 -0
  622. package/src/frame/components/List/List.vue +17 -0
  623. package/src/frame/components/List/ListItem.vue +52 -0
  624. package/src/frame/components/ListTable.vue +796 -0
  625. package/src/frame/components/MEntitySubList.vue +199 -0
  626. package/src/frame/components/MenuTreeFind.vue +107 -0
  627. package/src/frame/components/MessageList.vue +137 -0
  628. package/src/frame/components/MessageRuleFormItem.vue +61 -0
  629. package/src/frame/components/MessageRuleReceiverFormItem.vue +173 -0
  630. package/src/frame/components/MessageTemplate.vue +791 -0
  631. package/src/frame/components/MetaList.vue +65 -0
  632. package/src/frame/components/Mine.vue +114 -0
  633. package/src/frame/components/Nav.vue +599 -0
  634. package/src/frame/components/NavFormCatalogItem.vue +9 -0
  635. package/src/frame/components/NumList.vue +108 -0
  636. package/src/frame/components/OperateLog.vue +168 -0
  637. package/src/frame/components/PageCatalog.vue +454 -0
  638. package/src/frame/components/PageChart.vue +306 -0
  639. package/src/frame/components/PageSwipes.vue +179 -0
  640. package/src/frame/components/PersonFormItem.vue +92 -0
  641. package/src/frame/components/Popup.vue +181 -0
  642. package/src/frame/components/PrintFormList.vue +495 -0
  643. package/src/frame/components/PublishEntity.vue +87 -0
  644. package/src/frame/components/ReportFormList.vue +247 -0
  645. package/src/frame/components/ReportList.vue +493 -0
  646. package/src/frame/components/RightSubList.vue +253 -0
  647. package/src/frame/components/RoleAddUser.vue +50 -0
  648. package/src/frame/components/RoleApplicationCard.vue +299 -0
  649. package/src/frame/components/RoleApplicationList.vue +766 -0
  650. package/src/frame/components/RoleApplicationSet.vue +845 -0
  651. package/src/frame/components/RuleText.vue +98 -0
  652. package/src/frame/components/Search.vue +270 -0
  653. package/src/frame/components/ServiceFormItem.vue +29 -0
  654. package/src/frame/components/SubAdd.vue +0 -0
  655. package/src/frame/components/SystemNav.vue +18 -0
  656. package/src/frame/components/TaskNumCard.vue +26 -0
  657. package/src/frame/components/TimerRuleFormItem.vue +227 -0
  658. package/src/frame/components/TodoList.vue +429 -0
  659. package/src/frame/components/UpdateSystemConfig.vue +186 -0
  660. package/src/frame/components/UserCard.vue +110 -0
  661. package/src/frame/components/UserFind.vue +438 -0
  662. package/src/frame/components/UserFormItem.vue +666 -0
  663. package/src/frame/components/UserList.vue +17 -0
  664. package/src/frame/components/UserManage.vue +716 -0
  665. package/src/frame/components/ValidateRuleFormItem.vue +40 -0
  666. package/src/frame/components/ViewFieldDefine.vue +554 -0
  667. package/src/frame/components/attribute/Form.vue +439 -0
  668. package/src/frame/components/authorization/AddApiPermiss.vue +179 -0
  669. package/src/frame/components/authorization/AddAuthorization.vue +135 -0
  670. package/src/frame/components/authorization/AddEntityFind.vue +68 -0
  671. package/src/frame/components/authorization/AddNoApi.vue +143 -0
  672. package/src/frame/components/authorization/AddRoleScope.vue +291 -0
  673. package/src/frame/components/authorization/ApiShareOtherList.vue +353 -0
  674. package/src/frame/components/authorization/ApiSystemList.vue +315 -0
  675. package/src/frame/components/authorization/AuthorizationRoleSystem.vue +213 -0
  676. package/src/frame/components/authorization/EntityConstraintFormItem.vue +255 -0
  677. package/src/frame/components/authorization/OtherShareApiList.vue +248 -0
  678. package/src/frame/components/authorization/PermissRoleAuthorization.vue +583 -0
  679. package/src/frame/components/authorization/PermissRoleTabs.vue +117 -0
  680. package/src/frame/components/authorization/RoleLevel.vue +113 -0
  681. package/src/frame/components/authorization/RoleLevelScope.vue +247 -0
  682. package/src/frame/components/card/CardList.vue +78 -0
  683. package/src/frame/components/card/CardListItem.vue +147 -0
  684. package/src/frame/components/card/Title.vue +38 -0
  685. package/src/frame/components/chart/CircularPie.vue +11 -0
  686. package/src/frame/components/chart/Column.vue +11 -0
  687. package/src/frame/components/chart/HoriColumn.vue +11 -0
  688. package/src/frame/components/chart/Line.vue +11 -0
  689. package/src/frame/components/chart/Pie.vue +11 -0
  690. package/src/frame/components/custom-bpmn/CustomContextPad.js +58 -0
  691. package/src/frame/components/custom-bpmn/CustomPalette.js +257 -0
  692. package/src/frame/components/custom-bpmn/CustomRenderer.js +115 -0
  693. package/src/frame/components/custom-bpmn/CustomRendererBpmn.js +45 -0
  694. package/src/frame/components/custom-bpmn/PropertiesView.vue +4046 -0
  695. package/src/frame/components/custom-bpmn/img/chaxun.png +0 -0
  696. package/src/frame/components/custom-bpmn/img/fasong.png +0 -0
  697. package/src/frame/components/custom-bpmn/img/gengxin.png +0 -0
  698. package/src/frame/components/custom-bpmn/img/jiagong.png +0 -0
  699. package/src/frame/components/custom-bpmn/img/jiekou.png +0 -0
  700. package/src/frame/components/custom-bpmn/img/shanchu.png +0 -0
  701. package/src/frame/components/custom-bpmn/img/tongbu.png +0 -0
  702. package/src/frame/components/custom-bpmn/img/xinzeng.png +0 -0
  703. package/src/frame/components/custom-bpmn/img/xunhuanend.png +0 -0
  704. package/src/frame/components/custom-bpmn/img/xunhuanstart.png +0 -0
  705. package/src/frame/components/custom-bpmn/img/ywgz.png +0 -0
  706. package/src/frame/components/custom-bpmn/index.js +6 -0
  707. package/src/frame/components/custom-bpmn/palette.js +18 -0
  708. package/src/frame/components/custom-bpmn/util.js +5 -0
  709. package/src/frame/components/expand/AddForm.vue +91 -0
  710. package/src/frame/components/expand/AddFormItem.vue +144 -0
  711. package/src/frame/components/filter/Filter.vue +744 -0
  712. package/src/frame/components/filter/FilterItem.vue +516 -0
  713. package/src/frame/components/form/Cascader.vue +79 -0
  714. package/src/frame/components/form/CheckBox.vue +88 -0
  715. package/src/frame/components/form/Date.vue +154 -0
  716. package/src/frame/components/form/DateRange.vue +108 -0
  717. package/src/frame/components/form/Field.vue +91 -0
  718. package/src/frame/components/form/File.vue +415 -0
  719. package/src/frame/components/form/FormItem.vue +128 -0
  720. package/src/frame/components/form/Hidden.vue +77 -0
  721. package/src/frame/components/form/Input.vue +123 -0
  722. package/src/frame/components/form/List.vue +149 -0
  723. package/src/frame/components/form/Object.vue +225 -0
  724. package/src/frame/components/form/Photo.vue +235 -0
  725. package/src/frame/components/form/Textarea.vue +133 -0
  726. package/src/frame/components/grid/Module.vue +63 -0
  727. package/src/frame/components/grid/ModuleItem.vue +205 -0
  728. package/src/frame/components/hall/AppCollect.vue +189 -0
  729. package/src/frame/components/hall/AppList.vue +407 -0
  730. package/src/frame/components/hall/AppVisitRecord.vue +170 -0
  731. package/src/frame/components/hall/Banner.vue +21 -0
  732. package/src/frame/components/hall/ServiceCard.vue +202 -0
  733. package/src/frame/components/hall/UserCard.vue +112 -0
  734. package/src/frame/components/mscope/Scope.vue +90 -0
  735. package/src/frame/components/mscope/ScopeItem.vue +372 -0
  736. package/src/frame/components/mscope/drawer.vue +43 -0
  737. package/src/frame/components/permiss/AddApi.vue +119 -0
  738. package/src/frame/components/permiss/AddNoEntityApi.vue +131 -0
  739. package/src/frame/components/permiss/AddSystemPermiss.vue +107 -0
  740. package/src/frame/components/permiss/AllocateRole.vue +107 -0
  741. package/src/frame/components/permiss/ApiSubList.vue +193 -0
  742. package/src/frame/components/permiss/FieldScope.vue +138 -0
  743. package/src/frame/components/permiss/ListTable.vue +842 -0
  744. package/src/frame/components/permiss/PermissEdit.vue +61 -0
  745. package/src/frame/components/permiss/PermissManage.vue +96 -0
  746. package/src/frame/components/permiss/PermissManageAdd.vue +203 -0
  747. package/src/frame/components/permiss/RoleMenu.vue +405 -0
  748. package/src/frame/components/permiss/RoleSubList.vue +264 -0
  749. package/src/frame/components/permiss/jurisdiction.vue +425 -0
  750. package/src/frame/components/report/ChartLine.vue +253 -0
  751. package/src/frame/components/report/ChartPie.vue +345 -0
  752. package/src/frame/components/report/Config.vue +709 -0
  753. package/src/frame/components/report/Design.vue +2783 -0
  754. package/src/frame/components/report/Index.vue +115 -0
  755. package/src/frame/components/report/ReportTable.vue +1051 -0
  756. package/src/frame/components/report/StatList.vue +229 -0
  757. package/src/frame/components/right/RoleDataList.vue +291 -0
  758. package/src/frame/components/right/RoleFieldList.vue +348 -0
  759. package/src/frame/components/scope/Scope.vue +497 -0
  760. package/src/frame/components/scope/ScopeDrawer.vue +195 -0
  761. package/src/frame/components/scope/ScopeItem.vue +973 -0
  762. package/src/frame/components/task-list/TaskList.vue +617 -0
  763. package/src/frame/components/task-list/Visual.vue +45 -0
  764. package/src/frame/components/task-list/index.js +3 -0
  765. package/src/frame/components/task-list-page/TaskListPage.vue +26 -0
  766. package/src/frame/components/task-list-page/index.js +8 -0
  767. package/src/frame/components/upLoad.vue +69 -0
  768. package/src/frame/components/viewport/LookViewList.vue +28 -0
  769. package/src/frame/components/viewport/ViewAddForm.vue +151 -0
  770. package/src/frame/components/viewport/ViewDefineList.vue +53 -0
  771. package/src/frame/components/viewport/ViewFiedList.vue +646 -0
  772. package/src/frame/components/viewport/ViewScope.vue +109 -0
  773. package/src/frame/index.js +37 -0
  774. package/src/frame/packages/add-form/AddForm.vue +2128 -0
  775. package/src/frame/packages/add-form/Preview.vue +312 -0
  776. package/src/frame/packages/add-form/index.js +8 -0
  777. package/src/frame/packages/add-form-item/AddFormItem.vue +446 -0
  778. package/src/frame/packages/add-form-item/Preview.vue +92 -0
  779. package/src/frame/packages/add-form-item/index.js +8 -0
  780. package/src/frame/packages/alter/Alert.vue +42 -0
  781. package/src/frame/packages/alter/Visual.vue +58 -0
  782. package/src/frame/packages/alter/index.js +8 -0
  783. package/src/frame/packages/app-index/AppIndex.vue +188 -0
  784. package/src/frame/packages/app-index/index.js +8 -0
  785. package/src/frame/packages/app-nav/AppNav.vue +1553 -0
  786. package/src/frame/packages/app-nav/Preview.vue +13 -0
  787. package/src/frame/packages/app-nav/index.js +8 -0
  788. package/src/frame/packages/app-tabs/Tabs.vue +121 -0
  789. package/src/frame/packages/app-tabs/index.js +8 -0
  790. package/src/frame/packages/apply-form/ApplyForm.vue +68 -0
  791. package/src/frame/packages/apply-form/index.js +3 -0
  792. package/src/frame/packages/approval-index/ApprovalIndex.vue +465 -0
  793. package/src/frame/packages/approval-index/index.js +8 -0
  794. package/src/frame/packages/approval-index-page/ApprovalIndexPage.vue +21 -0
  795. package/src/frame/packages/approval-index-page/index.js +8 -0
  796. package/src/frame/packages/base-page/BasePage.vue +221 -0
  797. package/src/frame/packages/base-page/index.js +8 -0
  798. package/src/frame/packages/button/Button.vue +47 -0
  799. package/src/frame/packages/button/Preview.vue +33 -0
  800. package/src/frame/packages/button/index.js +8 -0
  801. package/src/frame/packages/card/Card.vue +291 -0
  802. package/src/frame/packages/card/index.js +8 -0
  803. package/src/frame/packages/card-form-item/CardFormItem.vue +301 -0
  804. package/src/frame/packages/card-form-item/Visual.vue +101 -0
  805. package/src/frame/packages/card-form-item/index.js +3 -0
  806. package/src/frame/packages/category-list/CategoryList.vue +854 -0
  807. package/src/frame/packages/category-list/index.js +8 -0
  808. package/src/frame/packages/chart/Chart.vue +124 -0
  809. package/src/frame/packages/chart/ChartColumn.vue +365 -0
  810. package/src/frame/packages/chart/ChartFormItem.vue +241 -0
  811. package/src/frame/packages/chart/ChartLine.vue +317 -0
  812. package/src/frame/packages/chart/ChartPie.vue +384 -0
  813. package/src/frame/packages/chart/Funnel.vue +379 -0
  814. package/src/frame/packages/chart/ReportTable.vue +1139 -0
  815. package/src/frame/packages/chart/index.js +23 -0
  816. package/src/frame/packages/check-history/CheckHistory.vue +510 -0
  817. package/src/frame/packages/check-history/Steps.vue +213 -0
  818. package/src/frame/packages/check-history/index.js +8 -0
  819. package/src/frame/packages/component/Component.vue +16 -0
  820. package/src/frame/packages/component/index.js +8 -0
  821. package/src/frame/packages/contacts/Card.vue +133 -0
  822. package/src/frame/packages/contacts/Contacts.vue +167 -0
  823. package/src/frame/packages/contacts/index.js +8 -0
  824. package/src/frame/packages/edit-entity-list/EditEntityList.vue +108 -0
  825. package/src/frame/packages/entity-add-page/EntityAddPage.vue +100 -0
  826. package/src/frame/packages/entity-add-page/index.js +8 -0
  827. package/src/frame/packages/entity-apply-page/EntityApplyPage.vue +60 -0
  828. package/src/frame/packages/entity-apply-page/index.js +3 -0
  829. package/src/frame/packages/entity-list/Config.vue +275 -0
  830. package/src/frame/packages/entity-list/EntityList.scss +88 -0
  831. package/src/frame/packages/entity-list/EntityList.vue +2105 -0
  832. package/src/frame/packages/entity-list/Preview.vue +232 -0
  833. package/src/frame/packages/entity-list/components/EditField.vue +76 -0
  834. package/src/frame/packages/entity-list/components/Field.vue +166 -0
  835. package/src/frame/packages/entity-list/config.js +0 -0
  836. package/src/frame/packages/entity-list/index.js +20 -0
  837. package/src/frame/packages/entity-list-find/EntityListFind.vue +161 -0
  838. package/src/frame/packages/entity-list-find/index.js +8 -0
  839. package/src/frame/packages/entity-list-find-page/EntityListFindPage.vue +72 -0
  840. package/src/frame/packages/entity-list-find-page/index.js +8 -0
  841. package/src/frame/packages/entity-list-page/EntityListPage.vue +91 -0
  842. package/src/frame/packages/entity-list-page/index.js +8 -0
  843. package/src/frame/packages/entity-no-submit-sub-list/EntityNoSubmitSubList.vue +302 -0
  844. package/src/frame/packages/entity-no-submit-sub-list/index.js +8 -0
  845. package/src/frame/packages/entity-sub-grid/EntitySubGrid.vue +46 -0
  846. package/src/frame/packages/entity-sub-grid/EntitySubGridItem.vue +68 -0
  847. package/src/frame/packages/entity-sub-grid/index.js +13 -0
  848. package/src/frame/packages/entity-sub-list/EntitySubList.vue +418 -0
  849. package/src/frame/packages/entity-sub-list/index.js +8 -0
  850. package/src/frame/packages/entity-tree-find/EntitytTreeFind.vue +460 -0
  851. package/src/frame/packages/entity-tree-find/index.js +8 -0
  852. package/src/frame/packages/entity-tree-find-page/EntityTreeFindPage.vue +29 -0
  853. package/src/frame/packages/entity-tree-find-page/index.js +8 -0
  854. package/src/frame/packages/export/Export.vue +530 -0
  855. package/src/frame/packages/export/index.js +8 -0
  856. package/src/frame/packages/footer/Footer.vue +142 -0
  857. package/src/frame/packages/footer/index.js +3 -0
  858. package/src/frame/packages/form/Form.vue +611 -0
  859. package/src/frame/packages/form/index.js +8 -0
  860. package/src/frame/packages/form-item/CheckBox.vue +160 -0
  861. package/src/frame/packages/form-item/Color.vue +135 -0
  862. package/src/frame/packages/form-item/Date.vue +330 -0
  863. package/src/frame/packages/form-item/File.vue +712 -0
  864. package/src/frame/packages/form-item/FormItem.vue +464 -0
  865. package/src/frame/packages/form-item/Hidden.vue +55 -0
  866. package/src/frame/packages/form-item/Html.vue +291 -0
  867. package/src/frame/packages/form-item/Input.vue +320 -0
  868. package/src/frame/packages/form-item/Location.vue +313 -0
  869. package/src/frame/packages/form-item/Number.vue +217 -0
  870. package/src/frame/packages/form-item/Object.vue +1195 -0
  871. package/src/frame/packages/form-item/Password.vue +128 -0
  872. package/src/frame/packages/form-item/Photo.vue +362 -0
  873. package/src/frame/packages/form-item/Radio.vue +157 -0
  874. package/src/frame/packages/form-item/Rule.vue +989 -0
  875. package/src/frame/packages/form-item/Scope.vue +224 -0
  876. package/src/frame/packages/form-item/Select.vue +226 -0
  877. package/src/frame/packages/form-item/Signature.vue +242 -0
  878. package/src/frame/packages/form-item/Switch.vue +124 -0
  879. package/src/frame/packages/form-item/Tag.vue +216 -0
  880. package/src/frame/packages/form-item/Textarea.vue +279 -0
  881. package/src/frame/packages/form-item/index.js +45 -0
  882. package/src/frame/packages/grid/Grid.vue +70 -0
  883. package/src/frame/packages/grid/GridItem.vue +190 -0
  884. package/src/frame/packages/grid/index.js +13 -0
  885. package/src/frame/packages/header/Breadcrumb.vue +55 -0
  886. package/src/frame/packages/header/Header.vue +602 -0
  887. package/src/frame/packages/header/Preview.vue +252 -0
  888. package/src/frame/packages/header/index.js +16 -0
  889. package/src/frame/packages/icon/Icon.vue +47 -0
  890. package/src/frame/packages/icon/index.js +7 -0
  891. package/src/frame/packages/iframe/Iframe.vue +17 -0
  892. package/src/frame/packages/iframe/index.js +8 -0
  893. package/src/frame/packages/image/image.vue +23 -0
  894. package/src/frame/packages/import/Import.vue +832 -0
  895. package/src/frame/packages/import/index.js +8 -0
  896. package/src/frame/packages/layout/Column.vue +47 -0
  897. package/src/frame/packages/layout/ColumnPreview.vue +119 -0
  898. package/src/frame/packages/layout/Config.vue +114 -0
  899. package/src/frame/packages/layout/Layout.vue +62 -0
  900. package/src/frame/packages/layout/Preview.vue +111 -0
  901. package/src/frame/packages/layout/index.js +10 -0
  902. package/src/frame/packages/list/List.vue +426 -0
  903. package/src/frame/packages/list/index.js +8 -0
  904. package/src/frame/packages/list/visual/List.vue +349 -0
  905. package/src/frame/packages/load-page/LoadPage.vue +29 -0
  906. package/src/frame/packages/load-page/index.js +8 -0
  907. package/src/frame/packages/m-entity-add-page/MEntityAddPage.vue +100 -0
  908. package/src/frame/packages/m-entity-add-page/index.js +8 -0
  909. package/src/frame/packages/m-entity-list/MEntityList.vue +1083 -0
  910. package/src/frame/packages/m-entity-list/index.js +3 -0
  911. package/src/frame/packages/m-entity-list-find/MEntityListFind.vue +329 -0
  912. package/src/frame/packages/m-entity-list-find/Visual.vue +105 -0
  913. package/src/frame/packages/m-entity-list-find/index.js +3 -0
  914. package/src/frame/packages/m-entity-tree-find/MEntityTreeFind.vue +339 -0
  915. package/src/frame/packages/m-entity-tree-find/index.js +8 -0
  916. package/src/frame/packages/menu/Menu.vue +174 -0
  917. package/src/frame/packages/menu/MenuItem.vue +94 -0
  918. package/src/frame/packages/menu/index.js +16 -0
  919. package/src/frame/packages/menu-index/MenuIndex.vue +444 -0
  920. package/src/frame/packages/menu-index/index.js +8 -0
  921. package/src/frame/packages/mine/Mine.vue +404 -0
  922. package/src/frame/packages/module-index-page/ModuleIndexPage.vue +250 -0
  923. package/src/frame/packages/module-index-page/index.js +7 -0
  924. package/src/frame/packages/module-list/ModuleList.vue +222 -0
  925. package/src/frame/packages/module-list/index.js +8 -0
  926. package/src/frame/packages/module-list-page/ModuleListPage.vue +24 -0
  927. package/src/frame/packages/module-list-page/index.js +8 -0
  928. package/src/frame/packages/nav-add-form/NavAddForm.vue +626 -0
  929. package/src/frame/packages/nav-add-form/index.js +8 -0
  930. package/src/frame/packages/num/CardNum.vue +267 -0
  931. package/src/frame/packages/num/NumItem.vue +192 -0
  932. package/src/frame/packages/num/NumSubItem.vue +137 -0
  933. package/src/frame/packages/num/Statistic.vue +42 -0
  934. package/src/frame/packages/num/index.js +17 -0
  935. package/src/frame/packages/org-chart/OrgChart.vue +301 -0
  936. package/src/frame/packages/org-chart/index.js +8 -0
  937. package/src/frame/packages/page/Page.vue +322 -0
  938. package/src/frame/packages/page/index.js +8 -0
  939. package/src/frame/packages/page-help/PageHelp.vue +28 -0
  940. package/src/frame/packages/page-help/Preview.vue +35 -0
  941. package/src/frame/packages/page-help/index.js +8 -0
  942. package/src/frame/packages/page-tabs/PageTabs.vue +188 -0
  943. package/src/frame/packages/page-tabs/index.js +8 -0
  944. package/src/frame/packages/progress/Progress.vue +287 -0
  945. package/src/frame/packages/progress/ProgressItem.vue +39 -0
  946. package/src/frame/packages/progress/index.js +13 -0
  947. package/src/frame/packages/progress-chart/ProcessChart.vue +210 -0
  948. package/src/frame/packages/progress-chart/index.js +8 -0
  949. package/src/frame/packages/report-form-list/ReportFormList.vue +0 -0
  950. package/src/frame/packages/router-view/RouterView.vue +229 -0
  951. package/src/frame/packages/router-view/index.js +8 -0
  952. package/src/frame/packages/scope/Scope.vue +594 -0
  953. package/src/frame/packages/scope/ScopeDrawer.vue +201 -0
  954. package/src/frame/packages/scope/ScopeItem.vue +987 -0
  955. package/src/frame/packages/scope/index.js +15 -0
  956. package/src/frame/packages/search/Fields.vue +326 -0
  957. package/src/frame/packages/search/Filter.vue +473 -0
  958. package/src/frame/packages/search/Keyword.vue +106 -0
  959. package/src/frame/packages/search/Mobile.vue +314 -0
  960. package/src/frame/packages/search/Select.vue +238 -0
  961. package/src/frame/packages/search/index.js +22 -0
  962. package/src/frame/packages/step/Step.vue +149 -0
  963. package/src/frame/packages/step/index.js +8 -0
  964. package/src/frame/packages/step-item/StepItem.vue +126 -0
  965. package/src/frame/packages/step-item/index.js +8 -0
  966. package/src/frame/packages/tab-bar/Config.vue +11 -0
  967. package/src/frame/packages/tab-bar/TabBar.vue +25 -0
  968. package/src/frame/packages/tab-bar/index.js +3 -0
  969. package/src/frame/packages/text/Text.vue +25 -0
  970. package/src/frame/packages/text-editor/TextEditor.vue +22 -0
  971. package/src/frame/packages/title/Title.vue +21 -0
  972. package/src/frame/packages/title/index.js +8 -0
  973. package/src/frame/packages/visual-config-page/ComponentLibrary.vue +198 -0
  974. package/src/frame/packages/visual-config-page/ComponentList.vue +565 -0
  975. package/src/frame/packages/visual-config-page/ComponentPreview.vue +153 -0
  976. package/src/frame/packages/visual-config-page/ConfigOption.vue +16 -0
  977. package/src/frame/packages/visual-config-page/ConfigPanel.vue +576 -0
  978. package/src/frame/packages/visual-config-page/PagePreview.vue +53 -0
  979. package/src/frame/packages/visual-config-page/VisualConfigPage.vue +632 -0
  980. package/src/frame/packages/visual-config-page/index.js +24 -0
  981. package/src/frame/popup.js +31 -0
  982. package/src/frame/views/Add.vue +823 -0
  983. package/src/frame/views/App.vue +49 -0
  984. package/src/frame/views/AppRoleSelect.vue +272 -0
  985. package/src/frame/views/AppSubModule.vue +50 -0
  986. package/src/frame/views/BatchEdit.vue +206 -0
  987. package/src/frame/views/Bpmn.vue +553 -0
  988. package/src/frame/views/Container.vue +294 -0
  989. package/src/frame/views/DblogList.vue +348 -0
  990. package/src/frame/views/EntityCheckList.vue +164 -0
  991. package/src/frame/views/EntityCheckPage.vue +44 -0
  992. package/src/frame/views/EntityDetailPage.vue +75 -0
  993. package/src/frame/views/EntityEditApply.vue +136 -0
  994. package/src/frame/views/EntityEditPage.vue +13 -0
  995. package/src/frame/views/EntityFind.vue +135 -0
  996. package/src/frame/views/EntitySingleAdd.vue +31 -0
  997. package/src/frame/views/EntitySubListPage.vue +44 -0
  998. package/src/frame/views/EntityTreeFind.vue +188 -0
  999. package/src/frame/views/EntityTreePage.vue +37 -0
  1000. package/src/frame/views/EntityTreePageOld.vue +536 -0
  1001. package/src/frame/views/Error.vue +29 -0
  1002. package/src/frame/views/ExcelDesign.vue +1795 -0
  1003. package/src/frame/views/ExcelPreview.vue +173 -0
  1004. package/src/frame/views/ExportPage.vue +19 -0
  1005. package/src/frame/views/FormDesign.vue +1049 -0
  1006. package/src/frame/views/IconFontLibraryPage.vue +74 -0
  1007. package/src/frame/views/ImportPage.vue +19 -0
  1008. package/src/frame/views/List.vue +955 -0
  1009. package/src/frame/views/LocalLogin.vue +27 -0
  1010. package/src/frame/views/Login.vue +1059 -0
  1011. package/src/frame/views/MEntityListPage.vue +83 -0
  1012. package/src/frame/views/MEntitySubListPage.vue +44 -0
  1013. package/src/frame/views/MainModule.vue +83 -0
  1014. package/src/frame/views/MenuIndex.vue +444 -0
  1015. package/src/frame/views/MinePage.vue +18 -0
  1016. package/src/frame/views/Module.vue +203 -0
  1017. package/src/frame/views/ModuleIndex.vue +377 -0
  1018. package/src/frame/views/PageAttriTree.vue +419 -0
  1019. package/src/frame/views/PageAttributeTreePage.vue +424 -0
  1020. package/src/frame/views/PageConfig.vue +218 -0
  1021. package/src/frame/views/Permission.vue +695 -0
  1022. package/src/frame/views/PersonalInfo.vue +659 -0
  1023. package/src/frame/views/QyWechat.vue +69 -0
  1024. package/src/frame/views/ReportFormList.vue +146 -0
  1025. package/src/frame/views/ReportFormListPage.vue +91 -0
  1026. package/src/frame/views/RoleTreePage.vue +180 -0
  1027. package/src/frame/views/ServiceHelp.vue +177 -0
  1028. package/src/frame/views/SubModule.vue +67 -0
  1029. package/src/frame/views/SystemIndex.vue +105 -0
  1030. package/src/frame/views/SystemTabs.vue +87 -0
  1031. package/src/frame/views/TaskPage.vue +46 -0
  1032. package/src/frame/views/client/AddForm.vue +64 -0
  1033. package/src/frame/views/client/AppMarket.vue +345 -0
  1034. package/src/frame/views/client/ClientIndex.vue +261 -0
  1035. package/src/frame/views/client/ClientModuleIndexPage.vue +25 -0
  1036. package/src/frame/views/client/CopySystem.vue +179 -0
  1037. package/src/frame/views/client/CreateMethod.vue +133 -0
  1038. package/src/frame/views/client/Login.vue +234 -0
  1039. package/src/frame/views/client/OpenClientManage.vue +53 -0
  1040. package/src/frame/views/client/PageTabsCyclic.vue +121 -0
  1041. package/src/frame/views/client/SelfBuiltSystem.vue +272 -0
  1042. package/src/frame/views/client/StandardProduct.vue +325 -0
  1043. package/src/frame/views/client/SystemList.vue +160 -0
  1044. package/src/frame/views/client/SystemManager.vue +346 -0
  1045. package/src/frame/views/layout/CardList.vue +123 -0
  1046. package/src/frame/views/layout/Grid.vue +95 -0
  1047. package/src/frame/views/match/AddTargetField.vue +118 -0
  1048. package/src/frame/views/match/MatchAddFormItem.vue +34 -0
  1049. package/src/frame/views/match/conversion.vue +209 -0
  1050. package/src/frame/views/match/customize.vue +344 -0
  1051. package/src/frame/views/match/fieldMatch.vue +518 -0
  1052. package/src/frame/views/report/AddFormItem.vue +67 -0
  1053. package/src/frame/views/report/DesignReport.vue +1213 -0
  1054. package/src/frame/views/report/LookReport.vue +221 -0
  1055. package/src/frame/views/report/ReportAdd.vue +237 -0
  1056. package/src/frame/views/report/ReportFormList.vue +235 -0
  1057. package/src/frame/views/report/ReportList.vue +163 -0
  1058. package/src/frame/views/report/ReportTreeFind.vue +188 -0
  1059. package/src/frame/views/visual/Add.vue +1818 -0
  1060. package/src/frame/views/visual/AddForm.vue +228 -0
  1061. package/src/frame/views/visual/AddFormItem.vue +242 -0
  1062. package/src/frame/views/visual/AppIndex.vue +149 -0
  1063. package/src/frame/views/visual/ApplyForm.vue +142 -0
  1064. package/src/frame/views/visual/AttributeList.vue +329 -0
  1065. package/src/frame/views/visual/BasePage.vue +73 -0
  1066. package/src/frame/views/visual/Button.vue +119 -0
  1067. package/src/frame/views/visual/Card.vue +68 -0
  1068. package/src/frame/views/visual/CardNum.vue +74 -0
  1069. package/src/frame/views/visual/CategoryList.vue +566 -0
  1070. package/src/frame/views/visual/Chart.vue +53 -0
  1071. package/src/frame/views/visual/CheckForm.vue +106 -0
  1072. package/src/frame/views/visual/CheckHistory.vue +28 -0
  1073. package/src/frame/views/visual/ClientList.vue +42 -0
  1074. package/src/frame/views/visual/CodeManage.vue +128 -0
  1075. package/src/frame/views/visual/Component.vue +1142 -0
  1076. package/src/frame/views/visual/ComponentList.vue +288 -0
  1077. package/src/frame/views/visual/Config.vue +888 -0
  1078. package/src/frame/views/visual/ConfigItem.vue +218 -0
  1079. package/src/frame/views/visual/ConfigSelectItems.vue +521 -0
  1080. package/src/frame/views/visual/CreatePage.vue +397 -0
  1081. package/src/frame/views/visual/DblogList.vue +137 -0
  1082. package/src/frame/views/visual/EntityAddPage.vue +52 -0
  1083. package/src/frame/views/visual/EntityApplyPage.vue +57 -0
  1084. package/src/frame/views/visual/EntityCheckPage.vue +69 -0
  1085. package/src/frame/views/visual/EntityFindPage.vue +55 -0
  1086. package/src/frame/views/visual/EntityList.vue +442 -0
  1087. package/src/frame/views/visual/EntityListPage.vue +97 -0
  1088. package/src/frame/views/visual/EntityNoSubmitSubList.vue +252 -0
  1089. package/src/frame/views/visual/EntityRightSubList.vue +32 -0
  1090. package/src/frame/views/visual/EntitySubAdd.vue +11 -0
  1091. package/src/frame/views/visual/EntitySubGrid.vue +39 -0
  1092. package/src/frame/views/visual/EntitySubGridItem.vue +96 -0
  1093. package/src/frame/views/visual/EntitySubList.vue +298 -0
  1094. package/src/frame/views/visual/EntityTreeFindPage.vue +36 -0
  1095. package/src/frame/views/visual/EntityTreeManage.vue +144 -0
  1096. package/src/frame/views/visual/EntityTreePage.vue +46 -0
  1097. package/src/frame/views/visual/Grid.vue +46 -0
  1098. package/src/frame/views/visual/GridItem.vue +41 -0
  1099. package/src/frame/views/visual/HeaderNew.vue +326 -0
  1100. package/src/frame/views/visual/Iframe.vue +32 -0
  1101. package/src/frame/views/visual/Image.vue +49 -0
  1102. package/src/frame/views/visual/Import.vue +59 -0
  1103. package/src/frame/views/visual/InterfaceSubList.vue +23 -0
  1104. package/src/frame/views/visual/Layout.vue +0 -0
  1105. package/src/frame/views/visual/ListFirst.vue +613 -0
  1106. package/src/frame/views/visual/LoadPage.vue +42 -0
  1107. package/src/frame/views/visual/MEntityAddPage.vue +71 -0
  1108. package/src/frame/views/visual/MEntityList.vue +472 -0
  1109. package/src/frame/views/visual/MEntityListPage.vue +46 -0
  1110. package/src/frame/views/visual/MEntitySubList.vue +237 -0
  1111. package/src/frame/views/visual/MetaList.vue +23 -0
  1112. package/src/frame/views/visual/Mine.vue +37 -0
  1113. package/src/frame/views/visual/ModuleIndexPage.vue +68 -0
  1114. package/src/frame/views/visual/ModuleList.vue +44 -0
  1115. package/src/frame/views/visual/NavAddForm.vue +144 -0
  1116. package/src/frame/views/visual/NavFormCatalogItem.vue +21 -0
  1117. package/src/frame/views/visual/NumItem.vue +69 -0
  1118. package/src/frame/views/visual/NumStatistic.vue +85 -0
  1119. package/src/frame/views/visual/NumSubItem.vue +63 -0
  1120. package/src/frame/views/visual/OrgChart.vue +121 -0
  1121. package/src/frame/views/visual/PageCatalog.vue +26 -0
  1122. package/src/frame/views/visual/PageConfig.vue +278 -0
  1123. package/src/frame/views/visual/PageTabs.vue +54 -0
  1124. package/src/frame/views/visual/ProcessChart.vue +24 -0
  1125. package/src/frame/views/visual/Progress.vue +39 -0
  1126. package/src/frame/views/visual/ProgressItem.vue +43 -0
  1127. package/src/frame/views/visual/Text.vue +36 -0
  1128. package/src/frame/views/visual/TextEditor.vue +36 -0
  1129. package/src/frame/views/visual/Title.vue +44 -0
  1130. package/src/frame/views/visual/TodoList.vue +18 -0
  1131. package/src/frame/views/visual/TreeFind.vue +39 -0
  1132. package/src/frame/views/visual/UserFormItem.vue +50 -0
  1133. package/src/frame/views/visual/UserManage.vue +36 -0
  1134. package/src/frame/views/visual/chart/CircularPie.vue +7 -0
  1135. package/src/frame/views/visual/chart/Column.vue +73 -0
  1136. package/src/frame/views/visual/chart/HoriColumn.vue +7 -0
  1137. package/src/frame/views/visual/chart/Line.vue +7 -0
  1138. package/src/frame/views/visual/chart/Pie.vue +7 -0
  1139. package/src/frame/views/visual/config/Chart.vue +136 -0
  1140. package/src/frame/views/visual/config/Color.vue +39 -0
  1141. package/src/frame/views/visual/config/DesignReport.vue +20 -0
  1142. package/src/frame/views/visual/config/Event.vue +218 -0
  1143. package/src/frame/views/visual/config/Field.vue +494 -0
  1144. package/src/frame/views/visual/config/Html.vue +26 -0
  1145. package/src/frame/views/visual/config/Image.vue +118 -0
  1146. package/src/frame/views/visual/config/Input.vue +52 -0
  1147. package/src/frame/views/visual/config/List.vue +63 -0
  1148. package/src/frame/views/visual/config/ListField.vue +1229 -0
  1149. package/src/frame/views/visual/config/MField.vue +594 -0
  1150. package/src/frame/views/visual/config/Number.vue +36 -0
  1151. package/src/frame/views/visual/config/Object.vue +106 -0
  1152. package/src/frame/views/visual/config/Operate.vue +1657 -0
  1153. package/src/frame/views/visual/config/OrderField.vue +507 -0
  1154. package/src/frame/views/visual/config/Page.vue +44 -0
  1155. package/src/frame/views/visual/config/Params.vue +104 -0
  1156. package/src/frame/views/visual/config/Radio.vue +54 -0
  1157. package/src/frame/views/visual/config/Row.vue +64 -0
  1158. package/src/frame/views/visual/config/Scope.vue +314 -0
  1159. package/src/frame/views/visual/config/Select.vue +54 -0
  1160. package/src/frame/views/visual/config/Switch.vue +36 -0
  1161. package/src/frame/views/visual/config/Textarea.vue +38 -0
  1162. package/src/frame/views/visual/config/Tree.vue +111 -0
  1163. package/src/frame/views/visual/search/Fields.vue +52 -0
  1164. package/src/frame/views/visual/search/Filter.vue +50 -0
  1165. package/src/frame/views/visual/search/Mobile.vue +54 -0
  1166. package/src/frame/views/visual/step/Index.vue +11 -0
  1167. package/src/frame/views/visual/step/Item.vue +157 -0
  1168. package/src/index.js +369 -0
  1169. package/src/main.js +54 -0
  1170. package/src/plugins/element.js +167 -0
  1171. package/src/plugins/frame.js +12 -0
  1172. package/src/plugins/i18n.js +51 -0
  1173. package/src/plugins/index.js +11 -0
  1174. package/src/plugins/oa.js +3 -0
  1175. package/src/plugins/vant.js +80 -0
  1176. package/src/product/oa/components/AddForm.vue +87 -0
  1177. package/src/product/oa/components/MeetingAddForm.vue +85 -0
  1178. package/src/product/oa/components/MeetingExport.vue +422 -0
  1179. package/src/product/oa/components/MeetingRoomUse.vue +371 -0
  1180. package/src/product/oa/index.js +31 -0
  1181. package/src/registerServiceWorker.js +32 -0
  1182. package/src/router/config.js +416 -0
  1183. package/src/router/index.js +26 -0
  1184. package/src/store/actions.js +46 -0
  1185. package/src/store/export.js +23 -0
  1186. package/src/store/index.js +17 -0
  1187. package/src/store/modules/config.js +201 -0
  1188. package/src/store/modules/file.js +32 -0
  1189. package/src/store/modules/index.js +9 -0
  1190. package/src/store/modules/list.js +130 -0
  1191. package/src/store/modules/meta.js +210 -0
  1192. package/src/store/modules/page.js +75 -0
  1193. package/src/store/modules/router.js +140 -0
  1194. package/src/store/modules/tabs.js +62 -0
  1195. package/src/store/modules/user.js +71 -0
  1196. package/src/styles/index.scss +143 -0
  1197. package/src/styles/theme/element.scss +240 -0
  1198. package/src/styles/theme/utils/config.scss +4 -0
  1199. package/src/styles/theme/utils/function.scss +44 -0
  1200. package/src/styles/theme/utils/mixins.scss +317 -0
  1201. package/src/styles/theme/utils/var.scss +112 -0
  1202. package/src/utils/Config.js +25 -0
  1203. package/src/utils/axios.js +121 -0
  1204. package/src/utils/chartTheme.js +471 -0
  1205. package/src/utils/directives/global.js +127 -0
  1206. package/src/utils/fieldFactory.js +147 -0
  1207. package/src/utils/index.js +21 -0
  1208. package/src/utils/loadComponent.js +39 -0
  1209. package/src/utils/meta.js +355 -0
  1210. package/src/utils/mixins/component.js +368 -0
  1211. package/src/utils/mixins/global.js +985 -0
  1212. package/src/utils/mixins/index.js +11 -0
  1213. package/src/utils/page.js +126 -0
  1214. package/src/utils/util.js +381 -0
  1215. package/src/vant-variables.less +1 -0
  1216. package/src/vue.bus.js +18 -0
  1217. package/start-code-dev.sh +24 -0
  1218. package/start-code-pgy.sh +25 -0
  1219. package/start-code-ppe.sh +23 -0
  1220. package/start-code-prd.sh +25 -0
  1221. package/start-code-pre.sh +25 -0
  1222. package/vue.config.js +101 -0
  1223. package/webpack.config.js +97 -0
@@ -0,0 +1,1818 @@
1
+ <template>
2
+ <div>
3
+ <div class="add-configuration">
4
+ <el-button type="primary" size="medium" plain @click="AddFieldAreas">添加字段区域</el-button>
5
+ <el-button type="primary" size="medium" plain @click="()=>{dialogSublistVisible=true,dialogTitle='添加子集',sublistAdd=true}">添加子集列表区域</el-button>
6
+ <!-- <el-button type="primary" plain @click="setTheButton">按钮设置</el-button> -->
7
+ </div>
8
+ <div class="form-container">
9
+ <div class="form-item" v-for="(fieldItem, index) in fieldGroups" :key="index" >
10
+ <template v-if="fieldItem && (fieldItem.contentType !== 'sublist' || fieldItem.contentType !== 'sub' || (fieldItem.contentType.includes('sub') && this.pageType !== 'ADD'))">
11
+ <p class="form-title" v-if="fieldItem.title && formConfigs.titleFlag">
12
+ <span>{{fieldItem.title}}</span>
13
+ <i :class="`el-icon-arrow-up ${foldList.includes(index) ? 'fold': ''}`" @click="foldFn(index)"></i>
14
+ <span v-if="(fieldItem.contentType !== 'sublist' && fieldItem.contentType !== 'sub') && pageType!=='DETAIL'">
15
+ <span class="sub-add-btn" @click="deleteSublist(index)">删除</span>
16
+ <!-- <span class="sub-add-btn" @click="addField(index)">添加字段</span> -->
17
+ <span class="sub-add-btn" @click="configuration(index)">配置</span>
18
+ </span>
19
+ <span v-if="(fieldItem.contentType === 'sublist' || fieldItem.contentType === 'sub') && pageType!=='DETAIL'">
20
+ <span class="sub-add-btn" @click="deleteSublist(index)">删除子集</span>
21
+ <span class="sub-add-btn" @click="updateSublist(index)">修改</span>
22
+ </span>
23
+ </p>
24
+ <div :style="foldList.includes(index)? {height: 0, padding: 0 }: {}" :class="`form-content ${(fieldItem.contentType === 'sublist' || fieldItem.contentType === 'sub') && 'no-padding'}`">
25
+ <epx-page
26
+ :ref="`sublist${index}`"
27
+ v-if="fieldItem.contentType==='sublist'&&showPage"
28
+ :inline="true"
29
+ :form-sub="true"
30
+ :pageType="pageType"
31
+ :pageId="fieldItem.pageId"
32
+ :parentMetaId="$metaId"
33
+ :metaId="getMetaIdByRelation(fieldItem.children[0])"
34
+ :flag="fieldItem.flag || 'v_sublist'"
35
+ :relationId="fieldItem.children[0]"
36
+ :parentId="$query.id"
37
+ component="sub-list"
38
+ class="sublist"
39
+ >
40
+ </epx-page>
41
+ <epx-page
42
+ v-if="fieldItem.contentType==='sub'&&showPage"
43
+ :ref="`sublist${index}`"
44
+ type="component"
45
+ :inline="true"
46
+ :form-sub="true"
47
+ :pageType="pageType"
48
+ :parentMetaId="$metaId"
49
+ :metaId="getMetaIdByRelation(fieldItem.children[0])"
50
+ :config="fieldItem.config"
51
+ :relationId="fieldItem.children[0]"
52
+ :parentId="$query.id"
53
+ component="sub-list"
54
+ class="sublist"
55
+ >
56
+ </epx-page>
57
+ <!-- <el-form v-else-if="!fieldItem.contentType" :inline="true"> -->
58
+ <draggable
59
+ v-else-if="!fieldItem.contentType"
60
+ class="fields-drag"
61
+ tag="span"
62
+ :list="fieldItem.children"
63
+ @change="changeDragField($event,index)"
64
+ v-bind="dragOptions"
65
+ @start="drag = true"
66
+ @end="drag = false"
67
+ >
68
+ <transition-group type="transition" class="field-list" :name="!drag ? 'flip-list' : null">
69
+ <template v-for="(fieldConfigItem,fieldConfigIndex) in fieldItem.children" >
70
+ <el-form v-if="fieldConfigItem.state!=='HIDDEN'" :key="fieldConfigIndex" :inline="true" label-width="130px" style="height:auto;display: inline-block;" :class="getFormWidth(index,fieldConfigItem)==='2'?'half':'whole'">
71
+ <!-- <epx-form-item :key="fieldConfigIndex" @mouseenter.native="visualShow(fieldConfigIndex)" @mouseleave.native="visualHidden" :fieldConfig="fieldConfigItem" :column="formConfigs.fieldGroups[index].column||formConfigs.column"> -->
72
+ <epx-form-item @mouseenter.native="visualShow(fieldConfigIndex)" @mouseleave.native="visualHidden" :fieldConfig="fieldConfigItem" :column="formConfigs.fieldGroups[index].column||formConfigs.column">
73
+ <div v-if="clickIndex===fieldConfigIndex" slot="field-item" class="form-visual">
74
+ <span class="xiugai" @click.stop="updateHandler(fieldConfigItem,fieldConfigIndex,index)">修改</span>
75
+ <span @click.stop="deleteHandler(fieldConfigItem,fieldConfigIndex,index)">删除</span>
76
+ </div>
77
+ </epx-form-item>
78
+ </el-form>
79
+ </template>
80
+ </transition-group>
81
+ </draggable>
82
+ <!-- </el-form> -->
83
+ <!-- <epx-form @visualUpdate="visualUpdate(arguments,index)" @visualDelete="visualDelete(arguments,index)" :isVisual="true" :ref="`form${index}`" v-else-if="!fieldItem.contentType" :fieldConfigs="fieldItem.children" v-model="data" :column="formConfigs.fieldGroups[index].column||formConfigs.column"></epx-form> -->
84
+ </div>
85
+ </template>
86
+ </div>
87
+ <div class="button-container" v-if="operates.length>0">
88
+ <draggable
89
+ class="fields-drag"
90
+ tag="span"
91
+ :list="operates"
92
+ @change="changeDragButton"
93
+ v-bind="dragOptions"
94
+ @start="drag = true"
95
+ @end="drag = false"
96
+ >
97
+ <transition-group type="transition" class="field-list" :name="!drag ? 'flip-list' : null">
98
+ <template v-for="(operate,operateIndex) in operates">
99
+ <span class="drag-button" :key="operateIndex" @mouseenter="dragButtonHandler(operateIndex)" @mouseleave="dragButtonLeave">
100
+ <el-button size="medium" :type="operate.ui">{{operate.text}}</el-button>
101
+ <span class="drag-button-edit" v-show="mouseenterIndex===operateIndex">
102
+ <span @click.stop="dragButtonEdit(operateIndex)">编辑</span>
103
+ <span @click.stop="dragButtonDelete(operateIndex)">删除</span>
104
+ </span>
105
+ </span>
106
+ </template>
107
+ </transition-group>
108
+ </draggable>
109
+ <el-button class="button-new-tag" size="small" @click="addSettingButtons">+ 设置按钮</el-button>
110
+ </div>
111
+
112
+ <!-- <div class="button-container" v-if="operates.length>0">
113
+ <template v-for="operate in operates">
114
+ <el-button size="medium" :key="operate.text" v-if="buttonFlag(operate)" :type="operate.ui" @click="handler(operate)">{{operate.text}}</el-button>
115
+ </template>
116
+ </div> -->
117
+ </div>
118
+ <!-- 按钮设置 -->
119
+ <el-dialog title="操作按钮设置" :visible.sync="dialogOperateVisible">
120
+ <!-- <div style="height:61px" v-if="!formConfigs.operates"> -->
121
+ <div style="height:61px">
122
+ 页面类型: <el-select v-model="pageTypeKey" placeholder="请选择">
123
+ <el-option
124
+ v-for="item in pageTypeList"
125
+ :key="item.value"
126
+ :label="item.label"
127
+ :value="item.value">
128
+ </el-option>
129
+ </el-select>
130
+ </div>
131
+ <div class="operate-container">
132
+ <div class="operate-container">
133
+ <div class="operate-slide" v-if="pageTypeKey">
134
+ <!-- 循环已存在按钮 -->
135
+ <div class="button-container" v-if="operates.length>0">
136
+ <template v-for="(operate,index) in operates">
137
+ <el-button :class="{'active': editOperaIndex===index}" size="medium" :key="operate.text" v-if="buttonFlag(operate)" :type="operate.ui" @click="editOperate(index)">{{operate.text}}</el-button>
138
+ </template>
139
+ </div>
140
+ <!-- <el-button :class="{'active': editOperaIndex===index}" v-for="(item, index) in configs[operateOptionKey][operateConfigItemKey]" size="middle" :key="item.text" :type="item.type" @click="editOperate(index)">{{item.text}}</el-button>
141
+ <el-button type="text" @click="addOperate">+ 新增按钮</el-button> -->
142
+ </div>
143
+ <div class="operate-content">
144
+ <el-form :mode="operateSetting" label-width="140px" >
145
+ <el-form-item v-for="configItem in operateConfigs" :key="configItem.key" :label="`${configItem.name}:`">
146
+ <!-- 下拉选择 -->
147
+ <el-select v-if="configItem.type==='select'" v-model="operateSetting[configItem.key]" placeholder="请选择">
148
+ <el-option
149
+ v-for="item in configItem.options"
150
+ :key="item.value"
151
+ :label="item.label"
152
+ :value="item.value">
153
+ </el-option>
154
+ </el-select>
155
+ <!-- 文本输入 -->
156
+ <el-input class="form-item-input" v-else v-model="operateSetting[configItem.key]"></el-input>
157
+ </el-form-item>
158
+ <el-form-item>
159
+ <el-button type="primary" @click="saveOperateSetting">保存设置</el-button>
160
+ </el-form-item>
161
+ </el-form>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ </el-dialog>
166
+ <!-- 字段修改 -->
167
+ <el-dialog :title="dialogTitle" :visible.sync="dialogTableVisible">
168
+ <div class="dialog-con">
169
+ <el-form :model="fieldSetting" label-width="160px">
170
+ <el-form-item label="字段名:">
171
+ <div style="display: inline-block;width: 217px;">
172
+ <el-input v-model="fieldSetting.attriLabel"></el-input>
173
+ </div>
174
+ </el-form-item>
175
+ <el-form-item label="字段状态:">
176
+ <el-select v-model="fieldSetting.state" placeholder="请选择">
177
+ <el-option
178
+ v-for="item in fieldStatus"
179
+ :key="item.value"
180
+ :label="item.label"
181
+ :value="item.value">
182
+ </el-option>
183
+ </el-select>
184
+ </el-form-item>
185
+ <el-form-item label="是否必填:">
186
+ <el-select v-model="fieldSetting.isRequired" placeholder="请选择">
187
+ <el-option
188
+ v-for="item in isRequiredList"
189
+ :key="item.value"
190
+ :label="item.label"
191
+ :value="item.value">
192
+ </el-option>
193
+ </el-select>
194
+ </el-form-item>
195
+ <div class="dialog-button">
196
+ <el-button type="primary" @click="saveFieldSetting">保存</el-button>
197
+ <el-button type="primary" @click="cancelFieldSetting">取消</el-button>
198
+ </div>
199
+ </el-form>
200
+ </div>
201
+ </el-dialog>
202
+ <!-- 新增表单 -->
203
+ <el-dialog title="新增表单" :visible.sync="dialogAddFormVisible">
204
+ <div class="dialog-con">
205
+ <el-form :model="formSetting" label-width="160px">
206
+ <el-form-item label="标题:">
207
+ <div style="display: inline-block;width: 217px;">
208
+ <el-input v-model="formSetting.title"></el-input>
209
+ </div>
210
+ </el-form-item>
211
+ <el-form-item label="列数:">
212
+ <el-select v-model="formSetting.column" placeholder="请选择">
213
+ <el-option
214
+ v-for="item in columnList"
215
+ :key="item.value"
216
+ :label="item.label"
217
+ :value="item.value">
218
+ </el-option>
219
+ </el-select>
220
+ </el-form-item>
221
+ <el-form-item label="字段:">
222
+ <el-checkbox-group class="checkbox-group" v-model="formSetting.children" >
223
+ <ul class="field-group">
224
+ <li class="" v-for="item in fieldGroup" :key="item.code">
225
+ <p class="field-item-title" style="margin:0" @click="switchFold(item.code)">
226
+ <i :class="['fa',unFoldFieldItems[item.code]?'el-icon-minus': 'el-icon-plus']"></i>
227
+ <i class="el-icon-folder-opened"></i>
228
+ <span v-html="item.text"></span>
229
+ </p>
230
+ <div class="checkboxs" v-show="unFoldFieldItems[item.code]">
231
+ <el-checkbox class="checkbox" v-for="option in item.children" :key="option.code" :label="option.code">{{option.text}}</el-checkbox>
232
+ </div>
233
+ </li>
234
+ </ul>
235
+ </el-checkbox-group>
236
+ </el-form-item>
237
+ <div class="dialog-button">
238
+ <el-button type="primary" @click="saveFormSetting">保存</el-button>
239
+ <el-button type="primary" @click="cancelFormSetting">取消</el-button>
240
+ </div>
241
+ </el-form>
242
+ </div>
243
+ </el-dialog>
244
+ <!-- 表单区域编辑(配置) -->
245
+ <el-dialog title="区域编辑" :visible.sync="dialogAreaVisible">
246
+ <div class="dialog-con">
247
+ <el-form :model="areaSetting" label-width="160px">
248
+ <el-form-item label="标题:">
249
+ <div style="display: inline-block;width: 217px;">
250
+ <el-input v-model="areaSetting.title"></el-input>
251
+ </div>
252
+ </el-form-item>
253
+ <el-form-item label="列数:">
254
+ <el-select v-model="areaSetting.column" placeholder="请选择">
255
+ <el-option
256
+ v-for="item in columnList"
257
+ :key="item.value"
258
+ :label="item.label"
259
+ :value="item.value">
260
+ </el-option>
261
+ </el-select>
262
+ </el-form-item>
263
+ <el-form-item label="排序:">
264
+ <draggable
265
+ class="fields-drag"
266
+ tag="span"
267
+ :list="sortList"
268
+ @change="changeDrag"
269
+ v-bind="dragOptions"
270
+ @start="drag = true"
271
+ @end="drag = false"
272
+ >
273
+ <transition-group type="transition" class="field-list" :name="!drag ? 'flip-list' : null">
274
+ <li v-for="(item,selectIndex) in sortList" :key="item.attriName || item" class="field-item">{{fieldLabel(item)}}<i class="el-icon-close" @click="removeField(selectIndex)"></i></li>
275
+ </transition-group>
276
+ </draggable>
277
+ </el-form-item>
278
+ <el-form-item label="添加字段:">
279
+ <el-checkbox-group class="checkbox-group" v-model="selectFields" >
280
+ <ul class="field-group">
281
+ <li class="" v-for="item in fieldGroup" :key="item.code">
282
+ <p class="field-item-title" @click="switchFold(item.code)">
283
+ <i :class="['fa',unFoldFieldItems[item.code]?'el-icon-minus': 'el-icon-plus']"></i>
284
+ <i class="el-icon-folder-opened"></i>
285
+ <span v-html="item.text"></span>
286
+ </p>
287
+ <div class="checkboxs" v-show="unFoldFieldItems[item.code]">
288
+ <el-checkbox class="checkbox" v-for="option in item.children" :key="option.code" :label="option.code">{{option.text}}</el-checkbox>
289
+ </div>
290
+ </li>
291
+ </ul>
292
+ </el-checkbox-group>
293
+ </el-form-item>
294
+ <div class="dialog-button">
295
+ <el-button type="primary" @click="saveAreaSetting">保存</el-button>
296
+ <el-button type="primary" @click="cancelAreaSetting">取消</el-button>
297
+ </div>
298
+ </el-form>
299
+ </div>
300
+ </el-dialog>
301
+ <!-- 子集新增,修改 -->
302
+ <el-dialog :title="dialogTitle" :visible.sync="dialogSublistVisible">
303
+ <div class="dialog-con">
304
+ <el-form :model="sublistSetting" label-width="160px">
305
+ <el-form-item label="关联对象:">
306
+ <el-select v-model="sublistSetting.children[0]" placeholder="请选择" @change="sublistEntityChange">
307
+ <el-option
308
+ v-for="item in EntityRelation"
309
+ :key="item.value"
310
+ :label="item.label"
311
+ :value="item.value">
312
+ </el-option>
313
+ </el-select>
314
+ </el-form-item>
315
+ <el-form-item label="标题:">
316
+ <div style="display: inline-block;width: 217px;">
317
+ <el-input v-model="sublistSetting.title"></el-input>
318
+ </div>
319
+ </el-form-item>
320
+ <el-form-item label="配置方式:">
321
+ <el-radio-group v-model="sublistRadio">
322
+ <el-radio :label="1">默认页面</el-radio>
323
+ <el-radio :label="2">指定页面</el-radio>
324
+ <el-radio :label="3">直接配置</el-radio>
325
+ </el-radio-group>
326
+ </el-form-item>
327
+ <el-form-item v-if="sublistRadio===2" label="指定页面:">
328
+ <div style="display: inline-block;width: 217px;">
329
+ <el-popover
330
+ popper-class="object-popover"
331
+ ref="popover"
332
+ class="popover"
333
+ trigger="click"
334
+ :preventOverflowOrder="['left', 'right', 'top', 'bottom']"
335
+ v-model="popoverObejct"
336
+ :tabindex="1"
337
+ >
338
+ <el-input
339
+ ref="input"
340
+ slot="reference"
341
+ placeholder="请选择"
342
+ clearable
343
+ size="medium"
344
+ @clear="clearObject"
345
+ v-model="condition.label"
346
+ >
347
+ <i slot="suffix" class="el-icon-search"></i>
348
+ </el-input>
349
+ <epx-page class="find" v-if="condition.dataType==='treeList'" flag="v_tree_find" :metaId="condition.codeKey" component="entity-tree-find" :change="changeObject" />
350
+ <epx-page class="find" v-else flag="v_find" :metaId="condition.codeKey" component="entity-find" :change="changeObject" />
351
+ </el-popover>
352
+ </div>
353
+ <!-- <div style="display: inline-block;width: 217px;">
354
+ <el-input v-model="sublistSetting.pageId" @click.native="getPageId"></el-input>
355
+ </div> -->
356
+ </el-form-item>
357
+ <el-form-item v-if="sublistRadio===3" label="列表字段:">
358
+ <el-radio-group v-model="sublistField">
359
+ <el-radio :label="4">默认字段</el-radio>
360
+ <el-radio :label="5">指定字段</el-radio>
361
+ </el-radio-group>
362
+ </el-form-item>
363
+ <el-form-item v-if="sublistField===5&&sublistRadio===3" label="添加字段:">
364
+ <el-checkbox-group class="checkbox-group" v-model="sublistFieldList">
365
+ <ul class="field-group">
366
+ <div class="checkboxs">
367
+ <el-checkbox class="checkbox" v-for="option in fieldGroupSub" :key="option.attriName" :label="option.attriName">{{option.attriLabel}}</el-checkbox>
368
+ </div>
369
+ </ul>
370
+ </el-checkbox-group>
371
+ </el-form-item>
372
+ <div class="dialog-button" v-if="sublistAdd">
373
+ <el-button type="primary" @click="saveSublistSetting">保存</el-button>
374
+ <el-button type="primary" @click="cancelSublistSetting">取消</el-button>
375
+ </div>
376
+ <div class="dialog-button" v-else>
377
+ <el-button type="primary" @click="updateSublistSetting">修改</el-button>
378
+ <el-button type="primary" @click="cancelSublistSetting">取消</el-button>
379
+ </div>
380
+ </el-form>
381
+ </div>
382
+ </el-dialog>
383
+ <!-- 按钮修改 -->
384
+ <el-dialog :title="dialogTitle" :visible.sync="dialogEditButtonVisible">
385
+ <div class="operate-content operate-content-edit">
386
+ <el-form :mode="buttonSetting" label-width="140px" >
387
+ <el-form-item v-for="configItem in operateConfigs" :key="configItem.key" :label="`${configItem.name}:`">
388
+ <!-- 下拉选择 -->
389
+ <el-select v-if="configItem.type==='select'" v-model="buttonSetting[configItem.key]" placeholder="请选择">
390
+ <el-option
391
+ v-for="item in configItem.options"
392
+ :key="item.value"
393
+ :label="item.label"
394
+ :value="item.value">
395
+ </el-option>
396
+ </el-select>
397
+ <!-- 文本输入 -->
398
+ <el-input class="form-item-input" v-else v-model="buttonSetting[configItem.key]"></el-input>
399
+ </el-form-item>
400
+ <el-form-item>
401
+ <el-button type="primary" @click="saveButtonSetting">保存设置</el-button>
402
+ </el-form-item>
403
+ </el-form>
404
+ </div>
405
+ </el-dialog>
406
+ </div>
407
+ </template>
408
+
409
+ <script>
410
+ import { ADD_META } from '@/store/actions'
411
+ import draggable from 'vuedraggable'
412
+ export default {
413
+ name: 'epx-visual-add',
414
+ components: {
415
+ draggable
416
+ },
417
+ props: {
418
+ initConfigs: Object
419
+ },
420
+ provide () {
421
+ return {
422
+ formModel: this.formModel,
423
+ type: this.type,
424
+ search: this.search
425
+ }
426
+ },
427
+ data () {
428
+ return {
429
+ type: 'ADD',
430
+ search: null,
431
+ formModel: {
432
+ user: ''
433
+ },
434
+ drag: false,
435
+ isPageId: false,
436
+ condition: {
437
+ lable: '',
438
+ codeKey: 'FM_PAGE_CONFIG'
439
+ },
440
+ popoverObejct: false,
441
+ mouseenterIndex: null,
442
+ clickIndex: null,
443
+ renderComponents: [],
444
+ fieldGroups: [],
445
+ data: {},
446
+ foldList: [],
447
+ showSubList: [],
448
+ activeName: 'base',
449
+ reload: false,
450
+ showPage: true,
451
+ showMoreOperates: false,
452
+ isVisual: true,
453
+ sublistRadio: null,
454
+ sublistField: null,
455
+ sublistFieldList: [],
456
+ // 页面配置
457
+ configs: {},
458
+ // 页面默认配置项
459
+ defaultConfigs: {
460
+ navConfigs: {
461
+ flag: true,
462
+ title: this.page.title || this.meta.title
463
+ },
464
+ formConfigs: {
465
+ titleFlag: true,
466
+ // fieldGroups: this.meta.getAttriNames(),
467
+ fieldGroups: [],
468
+ fieldConfigs: {}, // 字段配置
469
+ column: '2'
470
+ }
471
+ },
472
+ operateSetting: {},
473
+ buttonSetting: {},
474
+ pageTypeKey: 'DETAIL',
475
+ pageTypeList: [
476
+ { label: '新增', value: 'ADD' },
477
+ { label: '编辑', value: 'EDIT' },
478
+ { label: '详情', value: 'DETAIL' }
479
+ ],
480
+ operatesInit: [
481
+ { // 操作按钮
482
+ text: '保存',
483
+ ui: 'primary',
484
+ handler: 'submitForm',
485
+ option: "pageTypeKey==='ADD'"
486
+ }, { // 操作按钮
487
+ text: '保存',
488
+ ui: 'primary',
489
+ handler: 'submitForm',
490
+ option: "pageTypeKey==='EDIT'"
491
+ }, {
492
+ text: '编辑',
493
+ ui: 'primary',
494
+ handler: 'editEntity',
495
+ option: "pageTypeKey==='DETAIL'"
496
+ },
497
+ {
498
+ text: '返回',
499
+ ui: 'default',
500
+ // cls: 'btn_hollow',
501
+ handler: 'backPage'
502
+ }
503
+ ],
504
+ // 按钮设置
505
+ operateConfigs: [
506
+ { key: 'text', name: '按钮名称', type: 'text' },
507
+ // { key: 'icon', name: '图标', type: 'text' },
508
+ {
509
+ key: 'ui',
510
+ name: '按钮类型',
511
+ type: 'select',
512
+ options: [
513
+ { label: '默认按钮', value: 'default' },
514
+ { label: '主要按钮', value: 'primary' },
515
+ { label: '成功按钮', value: 'success' },
516
+ { label: '信息按钮', value: 'info' },
517
+ { label: '警告按钮', value: 'warning' },
518
+ { label: '危险按钮', value: 'danger' },
519
+ { label: '文本按钮', value: 'text' }
520
+ ]
521
+ },
522
+ {
523
+ key: 'handler',
524
+ name: '调用方法',
525
+ type: 'select',
526
+ options: [
527
+ { label: '保存', value: 'submitForm' },
528
+ { label: '编辑', value: 'editEntity' },
529
+ { label: '返回', value: 'backPage' },
530
+ { label: '通用请求', value: 'commonAction' }
531
+ ]
532
+ },
533
+ { key: 'option', name: '显示条件', type: 'text' }
534
+ // { key: 'action', name: '请求命令', type: 'text' }
535
+ ],
536
+ dialogTableVisible: false,
537
+ dialogFieldVisible: false,
538
+ dialogAreaVisible: false,
539
+ dialogSublistVisible: false,
540
+ dialogAddFormVisible: false,
541
+ dialogOperateVisible: false,
542
+ dialogEditButtonVisible: false,
543
+ fieldSetting: {},
544
+ sublistSetting: {
545
+ title: '',
546
+ contentType: 'sublist',
547
+ children: []
548
+ },
549
+ // formSetting: {},
550
+ formSetting: {
551
+ title: '',
552
+ column: '2',
553
+ children: []
554
+ },
555
+ areaSetting: {
556
+ title: '',
557
+ column: '2'
558
+ },
559
+ fieldStatus: [
560
+ { label: '编辑', value: 'EDIT' },
561
+ { label: '只读', value: 'INVALID' },
562
+ { label: '隐藏', value: 'HIDDEN' }
563
+ ],
564
+ isRequiredList: [
565
+ { label: '是', value: '1' },
566
+ { label: '否', value: '0' }
567
+ ],
568
+ columnList: [
569
+ { label: '1', value: '1' },
570
+ { label: '2', value: '2' }
571
+ ],
572
+ dialogTitle: '字段修改',
573
+ fieldGroup: [],
574
+ fieldGroupSub: [],
575
+ unFoldFieldItems: {},
576
+ selectFields: [],
577
+ optionKey: '',
578
+ configItemKey: '',
579
+ fieldIndex: null,
580
+ formFieldIndex: null,
581
+ editOperaIndex: null,
582
+ editButtonIndex: null,
583
+ EntityRelation: [],
584
+ sublistAdd: null,
585
+ fieldAreaNum: null,
586
+ sortList: []
587
+ }
588
+ },
589
+ computed: {
590
+ getFormWidth () {
591
+ return (index, fieldConfigItem) => {
592
+ const { dataType, state } = fieldConfigItem
593
+ if (((dataType === 'textarea' || dataType === 'bigtext') && state !== 'SEARCH') || dataType === 'photo' || dataType === 'file' || dataType === 'blob' || dataType === 'html') {
594
+ return '1'
595
+ }
596
+ return this.formConfigs.fieldGroups[index].column || this.formConfigs.column
597
+ }
598
+ },
599
+ dragOptions () {
600
+ return {
601
+ animation: 200,
602
+ group: 'description',
603
+ disabled: false,
604
+ ghostClass: 'ghost'
605
+ }
606
+ },
607
+ fieldLabel () {
608
+ return (field) => {
609
+ let attriName = field
610
+ let attriLabel = ''
611
+ if (typeof field === 'object') {
612
+ attriName = field.attriName
613
+ attriLabel = field.attriLabel
614
+ }
615
+ // 查找该字段
616
+ if (!attriLabel) {
617
+ this.fieldGroup.forEach(fieldItem => {
618
+ const fieldConfig = fieldItem.children.find(item => item.code === attriName)
619
+ if (fieldConfig) {
620
+ attriLabel = fieldConfig.text
621
+ }
622
+ })
623
+ }
624
+ return attriLabel || attriName
625
+ }
626
+ },
627
+ formConfigs () {
628
+ // const { formConfigs = {} } = this.configs
629
+ let formConfigs = {}
630
+ if (this.configs.formConfigs) {
631
+ formConfigs = { ...this.configs.formConfigs }
632
+ for (const item in this.defaultConfigs.formConfigs) {
633
+ if (this.configs.formConfigs[item] === undefined) {
634
+ formConfigs[item] = this.defaultConfigs.formConfigs[item]
635
+ }
636
+ }
637
+ } else {
638
+ formConfigs = { ...this.defaultConfigs.formConfigs }
639
+ }
640
+ return formConfigs
641
+ },
642
+ pageType () {
643
+ const { pageType: defaultPageType } = this.configs
644
+ const { pageType = defaultPageType } = this.$query
645
+ return pageType
646
+ },
647
+ operates () {
648
+ // const { operates = [] } = this.formConfigs
649
+ const operates = this.formConfigs.operates || this.operatesInit
650
+ return operates
651
+ },
652
+ actionOperates () {
653
+ const { operates = [] } = this.formConfigs
654
+ const actionOperates = [...operates]
655
+ actionOperates.map(item => (item.name = item.text))
656
+ return actionOperates.filter(item => this.buttonFlag(item))
657
+ },
658
+ buttonFlag () {
659
+ return ({ option, rightCode }) => {
660
+ if (option && option.indexOf('pageType===') !== -1) {
661
+ option = option.replace('pageType===', 'pageTypeKey===')
662
+ }
663
+ let flag = true
664
+ // eslint-disable-next-line no-eval
665
+ if (option) flag = eval(`this.${option}`)
666
+ return flag
667
+ }
668
+ },
669
+ linkAttrs () {
670
+ const { linkSubs } = this.configs
671
+ // const { linkSubs } = this.pageConfig
672
+ let linkAttrs = []
673
+ if (!this.meta) return linkAttrs
674
+ if (!linkSubs) {
675
+ // 获取关联sub
676
+ if (this.pageType === 'DETAIL') {
677
+ linkAttrs = this.meta.getRelatedEntitysOfDetail()
678
+ } else if (this.pageType === 'EDIT') {
679
+ linkAttrs = this.meta.getRelatedEntitysOfEdit()
680
+ }
681
+ } else {
682
+ // 获取每个关联关系
683
+ linkSubs.forEach(item => {
684
+ const linkAttr = this.meta.getRelationByFlag(item)
685
+ if (linkAttr) {
686
+ linkAttrs.push(linkAttr)
687
+ }
688
+ })
689
+ }
690
+ return linkAttrs
691
+ },
692
+ getMetaIdByRelation () {
693
+ return (relationId) => {
694
+ let relation = null
695
+ let metaId = this.$metaId
696
+ const relations = relationId.split('#')
697
+ relations.forEach(async item => {
698
+ let meta = this.metas[metaId]
699
+ if (!meta) {
700
+ meta = await this.$store.dispatch({
701
+ type: ADD_META,
702
+ metaId
703
+ })
704
+ }
705
+ relation = meta.getRelationByFlag(item)
706
+ metaId = relation.entityA
707
+ })
708
+ return metaId
709
+ }
710
+ }
711
+ },
712
+ watch: {
713
+ // configs: {
714
+ // handler (v) {
715
+ // this.$emit('updateConfig', v)
716
+ // },
717
+ // deep: true
718
+ // },
719
+ selectFields (v) {
720
+ if (this.optionKey && this.configItemKey) {
721
+ const configItem = { ...this.configs[this.optionKey] }
722
+ // configItem[this.configItemKey][this.fieldIndex].children = v
723
+ configItem[this.configItemKey][this.fieldIndex].children = [...v]
724
+ this.$set(this.configs, this.optionKey, configItem)
725
+ this.sortList = [...v]
726
+ this.getFieldConfig()// 修改fieldGroups
727
+ }
728
+ }
729
+ // reload (v) {
730
+ // if (v) {
731
+ // this.showPage = false
732
+ // this.$nextTick(() => {
733
+ // setTimeout(() => {
734
+ // this.showPage = true
735
+ // this.reload = false
736
+ // }, 0)
737
+ // })
738
+ // }
739
+ // }
740
+ },
741
+ methods: {
742
+ changeObject (v) {
743
+ // const selectItem = this.condition
744
+ // const value = selectItem.value ? (selectItem.value + ',' + v.id) : v.id
745
+ // const label = selectItem.label ? (selectItem.label + ',' + v.name) : v.name
746
+ const value = v.id
747
+ const label = v.name
748
+ this.popoverObejct = false
749
+ this.$set(this.condition, 'value', value)
750
+ this.$set(this.condition, 'label', label)
751
+ },
752
+ clearObject () {
753
+ this.$set(this.condition, 'value', '')
754
+ this.$set(this.condition, 'label', '')
755
+ },
756
+ savePageConfig () {
757
+ const content = JSON.stringify(this.configs, null, '\t')
758
+ this.$emit('saveUpdateConfig', content)
759
+ },
760
+ dragButtonEdit (operateIndex) {
761
+ this.dialogTitle = '按钮修改'
762
+ this.editButtonIndex = operateIndex
763
+ this.dialogEditButtonVisible = true
764
+ const editItem = this.operates[operateIndex]
765
+ this.buttonSetting = { ...editItem }
766
+ },
767
+ dragButtonDelete (operateIndex) {
768
+ this.$confirm('是否删除按钮?', {
769
+ confirmButtonText: '确定',
770
+ cancelButtonText: '取消',
771
+ type: 'warning'
772
+ }).then(() => {
773
+ const configItem = { ...this.configs.formConfigs }
774
+ const operates = this.operates
775
+ operates.forEach((item) => {
776
+ if (item.option) {
777
+ item.option = item.option.replace('pageTypeKey', 'pageType')
778
+ }
779
+ })
780
+ operates.splice(operateIndex, 1)
781
+ configItem.operates = [...operates]
782
+ this.$set(this.configs, 'formConfigs', configItem)
783
+ this.$message({
784
+ type: 'success',
785
+ message: '删除成功!'
786
+ })
787
+ this.savePageConfig()
788
+ }).catch(() => {
789
+ this.$message({
790
+ type: 'info',
791
+ message: '已取消删除'
792
+ })
793
+ })
794
+ },
795
+ dragButtonHandler (operateIndex) {
796
+ this.mouseenterIndex = operateIndex
797
+ },
798
+ dragButtonLeave () {
799
+ this.mouseenterIndex = null
800
+ },
801
+ addSettingButtons () {
802
+ this.dialogEditButtonVisible = true
803
+ this.editButtonIndex = null
804
+ this.buttonSetting = {}
805
+ },
806
+ saveButtonSetting () {
807
+ const configItem = { ...this.configs.formConfigs }
808
+ const operates = this.formConfigs.operates || this.operatesInit
809
+ if (this.editButtonIndex != null) {
810
+ operates.splice(this.editButtonIndex, 1, this.buttonSetting)
811
+ } else {
812
+ operates.push(this.buttonSetting)
813
+ }
814
+ operates.forEach((item) => {
815
+ if (item.option) {
816
+ item.option = item.option.replace('pageTypeKey', 'pageType')
817
+ }
818
+ })
819
+ configItem.operates = [...operates]
820
+ this.$set(this.configs, 'formConfigs', configItem)
821
+ this.editButtonIndex = null
822
+ this.buttonSetting = {}
823
+ this.savePageConfig()
824
+ this.dialogEditButtonVisible = false
825
+ },
826
+ // 设置按钮
827
+ setTheButton () {
828
+ this.dialogOperateVisible = true
829
+ },
830
+ // 编辑按钮
831
+ editOperate (index) {
832
+ // const { [this.operateOptionKey]: configItem } = this.configs
833
+ const operates = this.formConfigs.operates || this.operatesInit
834
+ this.editOperaIndex = index
835
+ const editItem = operates[index]
836
+ this.operateSetting = { ...editItem }
837
+ },
838
+ // 保存按钮设置
839
+ saveOperateSetting () {
840
+ const configItem = { ...this.configs.formConfigs }
841
+ const operates = this.formConfigs.operates || this.operatesInit
842
+ if (this.editOperaIndex != null) {
843
+ operates.splice(this.editOperaIndex, 1, this.operateSetting)
844
+ }
845
+ operates.forEach((item) => {
846
+ if (item.option) {
847
+ item.option = item.option.replace('pageTypeKey', 'pageType')
848
+ }
849
+ })
850
+ configItem.operates = [...operates]
851
+ this.$set(this.configs, 'formConfigs', configItem)
852
+ this.editOperaIndex = null
853
+ this.operateSetting = {}
854
+ // const content = JSON.stringify(this.configs, null, '\t')
855
+ // this.$emit('saveUpdateConfig', content)
856
+ this.savePageConfig()
857
+ },
858
+ // 拖动表单字段
859
+ changeDrag (event) {
860
+ const oldIndex = event.moved.oldIndex
861
+ const newIndex = event.moved.newIndex
862
+ const fieldGroupsItem = { ...this.fieldGroups[this.fieldIndex] }
863
+ const childrenarr = fieldGroupsItem.children
864
+ // 元素位置交换
865
+ // childrenarr.splice(newIndex, 1, ...childrenarr.splice(oldIndex, 1, childrenarr[newIndex]))
866
+ if (oldIndex > newIndex) { // 向上拖拽
867
+ childrenarr.splice(newIndex, 0, childrenarr[oldIndex])
868
+ childrenarr.splice(oldIndex + 1, 1)
869
+ } else { // 向下拖拽
870
+ childrenarr.splice(newIndex + 1, 0, childrenarr[oldIndex])
871
+ childrenarr.splice(oldIndex, 1)
872
+ }
873
+ const configItem = { ...this.configs[this.optionKey] }
874
+ const configChild = configItem[this.configItemKey][this.fieldIndex].children
875
+ // configChild.splice(newIndex, 1, ...configChild.splice(oldIndex, 1, configChild[newIndex]))
876
+ if (oldIndex > newIndex) { // 向上拖拽
877
+ configChild.splice(newIndex, 0, configChild[oldIndex])
878
+ configChild.splice(oldIndex + 1, 1)
879
+ } else { // 向下拖拽
880
+ configChild.splice(newIndex + 1, 0, configChild[oldIndex])
881
+ configChild.splice(oldIndex, 1)
882
+ }
883
+ },
884
+ changeDragField (event, index) {
885
+ this.optionKey = 'formConfigs'
886
+ this.configItemKey = 'fieldGroups'
887
+ this.fieldIndex = index
888
+ const oldIndex = event.moved.oldIndex
889
+ const newIndex = event.moved.newIndex
890
+ const configItem = { ...this.configs[this.optionKey] }
891
+
892
+ const { [this.optionKey]: defaultConfigItem } = this.defaultConfigs
893
+ if (!configItem[this.configItemKey]) {
894
+ configItem[this.configItemKey] = defaultConfigItem[this.configItemKey]
895
+ this.$set(this.configs, this.optionKey, configItem)
896
+ }
897
+
898
+ if (!configItem[this.configItemKey][this.fieldIndex].children) {
899
+ configItem[this.configItemKey][this.fieldIndex].children = [...this.meta.getListFields()]
900
+ // configItem[this.configItemKey][this.fieldIndex].children = [...this.defaultConfigs.formConfigs.fieldGroups]
901
+ }
902
+ const configChild = configItem[this.configItemKey][this.fieldIndex].children
903
+ // configChild.splice(newIndex, 1, ...configChild.splice(oldIndex, 1, configChild[newIndex]))
904
+ if (oldIndex > newIndex) { // 向上拖拽
905
+ configChild.splice(newIndex, 0, configChild[oldIndex])
906
+ configChild.splice(oldIndex + 1, 1)
907
+ } else { // 向下拖拽
908
+ configChild.splice(newIndex + 1, 0, configChild[oldIndex])
909
+ configChild.splice(oldIndex, 1)
910
+ }
911
+ this.$set(this.configs, this.optionKey, configItem)
912
+ this.savePageConfig()
913
+ },
914
+ // 拖动按钮
915
+ changeDragButton (event) {
916
+ const configItem = { ...this.configs.formConfigs }
917
+ const operates = this.operates
918
+ operates.forEach((item) => {
919
+ if (item.option) {
920
+ item.option = item.option.replace('pageTypeKey', 'pageType')
921
+ }
922
+ })
923
+ configItem.operates = [...operates]
924
+ this.$set(this.configs, 'formConfigs', configItem)
925
+ const content = JSON.stringify(this.configs, null, '\t')
926
+ this.$emit('saveUpdateConfig', content)
927
+ },
928
+ // 点击添加字段区域
929
+ AddFieldAreas () {
930
+ this.dialogAddFormVisible = true
931
+ const arr = this.formConfigs.fieldGroups
932
+ // for (let i = 0; i < arr.length; i++) {
933
+ // if (arr[i].contentType === 'sublist') {
934
+ // this.fieldAreaNum = i
935
+ // break
936
+ // }
937
+ // }
938
+ let num = 0
939
+ for (let i = 0; i < arr.length; i++) {
940
+ if (arr[i].contentType === undefined) {
941
+ num++
942
+ }
943
+ }
944
+ this.fieldAreaNum = num
945
+ },
946
+ // 添加字段区域
947
+ saveFormSetting () {
948
+ const { fieldGroups = [] } = this.formConfigs
949
+ // fieldGroups.splice(this.fieldAreaNum - 1, 0, this.formSetting)
950
+ fieldGroups.splice(this.fieldAreaNum, 0, this.formSetting)
951
+ // this.fieldGroups.splice(this.fieldAreaNum - 1, 0, this.formSetting)
952
+ this.getFieldConfig()
953
+ this.configs.formConfigs.fieldGroups = fieldGroups
954
+ this.dialogAddFormVisible = false
955
+ this.formSetting = {
956
+ title: '',
957
+ column: '2',
958
+ children: []
959
+ }
960
+ this.savePageConfig()
961
+ },
962
+ // 取消添加字段区域
963
+ cancelFormSetting () {
964
+ this.dialogAddFormVisible = false
965
+ },
966
+ // 新增子集
967
+ saveSublistSetting () {
968
+ let contentType = ''
969
+ if (this.sublistRadio === 3) {
970
+ contentType = 'sub'
971
+ } else {
972
+ contentType = 'sublist'
973
+ }
974
+ if (this.sublistRadio === 3 && this.sublistField === 5) {
975
+ const config = {}
976
+ config.listConfigs = {}
977
+ config.listConfigs.listFields = [...this.sublistFieldList]
978
+ this.sublistSetting.config = config
979
+ }
980
+ if (this.sublistRadio === 2) {
981
+ this.sublistSetting.pageLable = this.condition.label
982
+ this.sublistSetting.pageId = this.condition.value
983
+ }
984
+ if (this.sublistRadio !== 2 && this.sublistSetting.pageId) {
985
+ delete this.sublistSetting.pageId
986
+ delete this.sublistSetting.pageLable
987
+ }
988
+ if (this.sublistRadio !== 3 && this.sublistSetting.config) {
989
+ delete this.sublistSetting.config
990
+ }
991
+ if (this.sublistRadio === 3 && this.sublistField !== 5) {
992
+ delete this.sublistSetting.config
993
+ }
994
+ this.sublistSetting.contentType = contentType
995
+ const { fieldGroups = [] } = this.formConfigs
996
+ fieldGroups.push(this.sublistSetting)
997
+ this.fieldGroups.push(this.sublistSetting)
998
+ this.configs.formConfigs.fieldGroups = fieldGroups
999
+ this.sublistSetting = {
1000
+ title: '',
1001
+ contentType: '',
1002
+ children: []
1003
+ }
1004
+ this.sublistRadio = null
1005
+ this.sublistField = null
1006
+ this.sublistFieldList = []
1007
+ this.savePageConfig()
1008
+ this.dialogSublistVisible = false
1009
+ },
1010
+ // 修改子集
1011
+ updateSublistSetting () {
1012
+ let contentType = ''
1013
+ if (this.sublistRadio === 3) {
1014
+ contentType = 'sub'
1015
+ } else {
1016
+ contentType = 'sublist'
1017
+ }
1018
+ if (this.sublistRadio === 3 && this.sublistField === 5) {
1019
+ const config = {}
1020
+ config.listConfigs = {}
1021
+ config.listConfigs.listFields = [...this.sublistFieldList]
1022
+ this.sublistSetting.config = config
1023
+ }
1024
+ if (this.sublistRadio === 2) {
1025
+ this.sublistSetting.pageLable = this.condition.label
1026
+ this.sublistSetting.pageId = this.condition.value
1027
+ }
1028
+ if (this.sublistRadio !== 2 && this.sublistSetting.pageId) {
1029
+ delete this.sublistSetting.pageId
1030
+ delete this.sublistSetting.pageLable
1031
+ }
1032
+ if (this.sublistRadio !== 3 && this.sublistSetting.config) {
1033
+ delete this.sublistSetting.config
1034
+ }
1035
+ if (this.sublistRadio === 3 && this.sublistField !== 5) {
1036
+ delete this.sublistSetting.config
1037
+ }
1038
+ this.sublistSetting.contentType = contentType
1039
+ const fieldGroupsItem = this.sublistSetting
1040
+ this.$set(this.fieldGroups, this.fieldIndex, fieldGroupsItem)
1041
+ const configItem = { ...this.configs[this.optionKey] }
1042
+ configItem[this.configItemKey][this.fieldIndex] = this.sublistSetting
1043
+ this.$set(this.configs, this.optionKey, configItem)
1044
+
1045
+ this.sublistSetting = {
1046
+ title: '',
1047
+ contentType: '',
1048
+ children: []
1049
+ }
1050
+ this.sublistRadio = null
1051
+ this.sublistField = null
1052
+ this.sublistFieldList = []
1053
+ this.savePageConfig()
1054
+ this.showPage = false
1055
+ this.$nextTick(() => {
1056
+ setTimeout(() => {
1057
+ this.showPage = true
1058
+ }, 0)
1059
+ })
1060
+ this.dialogSublistVisible = false
1061
+ },
1062
+ // 取消子集修改
1063
+ cancelSublistSetting () {
1064
+ this.dialogSublistVisible = false
1065
+ },
1066
+ // // 点击新增字段按钮
1067
+ // addField (index) {
1068
+ // this.optionKey = 'formConfigs'
1069
+ // this.configItemKey = 'fieldGroups'
1070
+ // this.fieldIndex = index
1071
+
1072
+ // // this.selectFields = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1073
+ // const arr = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1074
+ // this.selectFields = [...arr]
1075
+
1076
+ // this.dialogFieldVisible = true
1077
+ // },
1078
+ switchFold (code) {
1079
+ const { [code]: flag } = this.unFoldFieldItems
1080
+ this.$set(this.unFoldFieldItems, code, !flag)
1081
+ },
1082
+ // 点击表单配置
1083
+ configuration (index) {
1084
+ this.optionKey = 'formConfigs'
1085
+ this.configItemKey = 'fieldGroups'
1086
+ this.fieldIndex = index
1087
+ const arr = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1088
+ this.selectFields = [...arr]
1089
+
1090
+ this.areaSetting.title = this.configs.formConfigs.fieldGroups[index].title
1091
+ this.areaSetting.column = this.configs.formConfigs.fieldGroups[index].column || this.configs.formConfigs.column
1092
+ this.sortList = this.configs.formConfigs.fieldGroups[index].children || this.selectFields
1093
+ // this.sortList = this.selectFields
1094
+ this.dialogAreaVisible = true
1095
+ },
1096
+ async sublistEntityChange (value) {
1097
+ const arr = this.EntityRelation.filter(item => {
1098
+ return item.value === value
1099
+ })
1100
+ this.sublistSetting.title = arr[0].label
1101
+ const meteId = this.getMetaIdByRelation(value)
1102
+ let meta = this.metas[meteId]
1103
+ if (!meta) {
1104
+ meta = await this.$store.dispatch({
1105
+ type: ADD_META,
1106
+ metaId: meteId
1107
+ })
1108
+ }
1109
+ this.$FieldFactory.createFields({
1110
+ fields: this.metas[meteId].getListFields(),
1111
+ meta: meta,
1112
+ pageType: this.pageType
1113
+ })
1114
+ .then(data => {
1115
+ // this.fieldGroupSub = [...data]
1116
+ this.fieldGroupSub = data.filter(item => {
1117
+ return item.state !== 'HIDDEN'
1118
+ })
1119
+ })
1120
+ },
1121
+ // 更新子集
1122
+ updateSublist (index) {
1123
+ this.sublistAdd = false
1124
+ this.dialogTitle = '子集修改'
1125
+ this.dialogSublistVisible = true
1126
+ this.optionKey = 'formConfigs'
1127
+ this.configItemKey = 'fieldGroups'
1128
+ this.fieldIndex = index
1129
+ // this.sublistSetting.title = this.configs.formConfigs.fieldGroups[index].title
1130
+ // this.sublistSetting.children[0] = this.configs.formConfigs.fieldGroups[index].children[0]
1131
+ this.sublistSetting = { ...this.configs.formConfigs.fieldGroups[index] }
1132
+ if (this.sublistSetting.contentType === 'sub') {
1133
+ this.sublistRadio = 3
1134
+ } else if (this.sublistSetting.contentType === 'sublist' && this.sublistSetting.pageId) {
1135
+ this.sublistRadio = 2
1136
+ this.condition.value = this.sublistSetting.pageId
1137
+ this.condition.label = this.sublistSetting.pageLable
1138
+ } else {
1139
+ this.sublistRadio = 1
1140
+ }
1141
+ const meteId = this.getMetaIdByRelation(this.sublistSetting.children[0])
1142
+ const meta = this.metas[meteId]
1143
+ // this.condition.codeKey = 'FM_PAGE_CONFIG'
1144
+ this.$FieldFactory.createFields({
1145
+ fields: this.metas[meteId].getListFields(),
1146
+ meta: meta,
1147
+ pageType: this.pageType
1148
+ })
1149
+ .then(data => {
1150
+ // this.fieldGroupSub = [...data]
1151
+ this.fieldGroupSub = data.filter(item => {
1152
+ return item.state !== 'HIDDEN'
1153
+ })
1154
+ })
1155
+ if (this.sublistRadio === 3 && this.sublistSetting.config) {
1156
+ this.sublistField = 5
1157
+ // const config = this.sublistSetting.config
1158
+ this.sublistFieldList = [...this.sublistSetting.config.listConfigs.listFields]
1159
+ }
1160
+ if (this.sublistRadio === 3 && !this.sublistSetting.config) {
1161
+ this.sublistField = 4
1162
+ }
1163
+ },
1164
+ // 删除子集
1165
+ deleteSublist (index) {
1166
+ // this.optionKey = 'formConfigs'
1167
+ // this.configItemKey = 'fieldGroups'
1168
+ // this.fieldIndex = index
1169
+ this.$confirm('是否删除?', {
1170
+ confirmButtonText: '确定',
1171
+ cancelButtonText: '取消',
1172
+ type: 'warning'
1173
+ }).then(() => {
1174
+ const { fieldGroups = [] } = this.formConfigs
1175
+ fieldGroups.splice(index, 1)
1176
+ this.fieldGroups.splice(index, 1)
1177
+ this.configs.formConfigs.fieldGroups = fieldGroups
1178
+ this.$message({
1179
+ type: 'success',
1180
+ message: '删除成功!'
1181
+ })
1182
+ this.savePageConfig()
1183
+ }).catch(() => {
1184
+ this.$message({
1185
+ type: 'info',
1186
+ message: '已取消删除'
1187
+ })
1188
+ })
1189
+ },
1190
+ // 保存表单区域配置
1191
+ saveAreaSetting () {
1192
+ const obj = this.configs[this.optionKey][this.configItemKey][this.fieldIndex]
1193
+ obj.title = this.areaSetting.title
1194
+ obj.column = this.areaSetting.column
1195
+
1196
+ const configItem = { ...this.configs[this.optionKey] }
1197
+ configItem[this.configItemKey][this.fieldIndex] = obj
1198
+ this.$set(this.configs, this.optionKey, configItem)
1199
+ this.dialogAreaVisible = false
1200
+ this.savePageConfig()
1201
+ this.getFieldConfig()
1202
+ },
1203
+ // 取消表单区域配置
1204
+ cancelAreaSetting () {
1205
+ this.dialogAreaVisible = false
1206
+ },
1207
+ // 取消字段修改
1208
+ cancelFieldSetting () {
1209
+ this.dialogTableVisible = false
1210
+ },
1211
+ // 字段修改保存
1212
+ saveFieldSetting () {
1213
+ const obj = {}
1214
+ // obj.attriLabel = this.fieldSetting.attriLabel
1215
+ if ((this.fieldConfig.attriLabel !== this.fieldSetting.attriLabel)) {
1216
+ obj.attriLabel = this.fieldSetting.attriLabel
1217
+ this.fieldConfig.attriLabel = this.fieldSetting.attriLabel
1218
+ }
1219
+ if ((this.fieldConfig.state !== this.fieldSetting.state)) {
1220
+ obj.state = this.fieldSetting.state
1221
+ this.fieldConfig.state = this.fieldSetting.state
1222
+ }
1223
+ if ((this.fieldConfig.isRequired !== this.fieldSetting.isRequired)) {
1224
+ obj.isRequired = this.fieldSetting.isRequired
1225
+ this.fieldConfig.isRequired = this.fieldSetting.isRequired
1226
+ }
1227
+ const arr = Object.keys(obj)
1228
+ if (arr.length > 0) {
1229
+ const { formConfigs = {} } = this.configs
1230
+ const { fieldConfigs = {} } = this.configs.formConfigs
1231
+ fieldConfigs[this.fieldSetting.attriName] = obj
1232
+ formConfigs.fieldConfigs = fieldConfigs
1233
+ this.$set(this.configs, 'formConfigs', formConfigs)
1234
+ this.$emit('updateConfig', this.configs)
1235
+ this.savePageConfig()
1236
+ }
1237
+ this.dialogTableVisible = false
1238
+ },
1239
+ visualShow (index) {
1240
+ this.clickIndex = index
1241
+ },
1242
+ visualHidden () {
1243
+ this.clickIndex = null
1244
+ },
1245
+ // 字段点击修改
1246
+ updateHandler (fieldConfig, formFieldIndex, index) {
1247
+ this.dialogTitle = '字段修改'
1248
+ this.fieldConfig = fieldConfig
1249
+ this.formFieldIndex = formFieldIndex
1250
+ this.fieldIndex = index
1251
+ this.fieldSetting = { ...this.fieldConfig }
1252
+ this.dialogTableVisible = true
1253
+ },
1254
+ // 字段点击删除
1255
+ deleteHandler (fieldConfig, formFieldIndex, index) {
1256
+ this.optionKey = 'formConfigs'
1257
+ this.configItemKey = 'fieldGroups'
1258
+ this.fieldIndex = index
1259
+ if (this.selectFields.length === 0) {
1260
+ // this.selectFields = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1261
+ const arr = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1262
+ this.selectFields = [...arr]
1263
+ }
1264
+ this.$confirm('是否删除此字段?', {
1265
+ confirmButtonText: '确定',
1266
+ cancelButtonText: '取消',
1267
+ type: 'warning'
1268
+ }).then(() => {
1269
+ this.fieldConfig = fieldConfig
1270
+ this.formFieldIndex = formFieldIndex
1271
+ const obj = this.configs.formConfigs.fieldGroups
1272
+ obj[index].children.splice(this.formFieldIndex, 1)
1273
+ this.fieldGroups[index].children.splice(this.formFieldIndex, 1)
1274
+ if (obj[index].children.length === 0) {
1275
+ this.configs.formConfigs.fieldGroups.splice(index, 1)
1276
+ }
1277
+ const formConfigs = this.configs.formConfigs
1278
+ formConfigs.fieldGroups = obj
1279
+ this.$set(this.configs, 'formConfigs', formConfigs)
1280
+ // this.getFieldConfig()
1281
+ this.$message({
1282
+ type: 'success',
1283
+ message: '删除成功!'
1284
+ })
1285
+ this.savePageConfig()
1286
+ }).catch(() => {
1287
+ this.$message({
1288
+ type: 'info',
1289
+ message: '已取消删除'
1290
+ })
1291
+ })
1292
+ },
1293
+ // 字段点击修改
1294
+ visualUpdate (params, index) {
1295
+ this.dialogTitle = '字段修改'
1296
+ this.fieldConfig = params[0]
1297
+ this.formFieldIndex = params[1]
1298
+ this.fieldSetting = { ...this.fieldConfig }
1299
+ this.dialogTableVisible = true
1300
+ },
1301
+ // 字段点击删除
1302
+ visualDelete (params, index) {
1303
+ this.optionKey = 'formConfigs'
1304
+ this.configItemKey = 'fieldGroups'
1305
+ this.fieldIndex = index
1306
+ if (this.selectFields.length === 0) {
1307
+ // this.selectFields = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1308
+ const arr = this.configs.formConfigs.fieldGroups[index].children || this.defaultConfigs.formConfigs.fieldGroups || []
1309
+ this.selectFields = [...arr]
1310
+ }
1311
+ this.$confirm('是否删除此字段?', {
1312
+ confirmButtonText: '确定',
1313
+ cancelButtonText: '取消',
1314
+ type: 'warning'
1315
+ }).then(() => {
1316
+ this.fieldConfig = params[0]
1317
+ this.formFieldIndex = params[1]
1318
+ const obj = this.configs.formConfigs.fieldGroups
1319
+ obj[index].children.splice(this.formFieldIndex, 1)
1320
+ this.fieldGroups[index].children.splice(this.formFieldIndex, 1)
1321
+ if (obj[index].children.length === 0) {
1322
+ this.configs.formConfigs.fieldGroups.splice(index, 1)
1323
+ }
1324
+ const formConfigs = this.configs.formConfigs
1325
+ formConfigs.fieldGroups = obj
1326
+ this.$set(this.configs, 'formConfigs', formConfigs)
1327
+ // this.getFieldConfig()
1328
+ this.$message({
1329
+ type: 'success',
1330
+ message: '删除成功!'
1331
+ })
1332
+ }).catch(() => {
1333
+ this.$message({
1334
+ type: 'info',
1335
+ message: '已取消删除'
1336
+ })
1337
+ })
1338
+ },
1339
+ removeField (index) {
1340
+ this.selectFields.splice(index, 1)
1341
+ },
1342
+ getFieldConfig () {
1343
+ const { fieldGroups = [], fieldConfigs = {} } = this.formConfigs
1344
+ // const { fieldGroups, fieldConfigs = {} } = this.formConfigs
1345
+ const { fieldConfigs: routeFieldConfigs = {} } = this.$query
1346
+ if (!fieldGroups || fieldGroups.length === 0) {
1347
+ fieldGroups.push({
1348
+ title: '基本信息'
1349
+ })
1350
+ }
1351
+ fieldGroups.forEach((item, index) => {
1352
+ // 生成字段配置
1353
+ if (item.contentType) {
1354
+ this.$set(this.fieldGroups, index, { ...item })
1355
+ } else {
1356
+ this.$FieldFactory.createFields({
1357
+ defaultFieldConfigs: { ...routeFieldConfigs, ...fieldConfigs },
1358
+ meta: this.meta,
1359
+ metaId: this.$metaId,
1360
+ pageType: item.pageType || this.pageType,
1361
+ fields: item.children
1362
+ })
1363
+ .then(data => {
1364
+ this.$set(this.fieldGroups, index, { ...item, children: [...data] })
1365
+ })
1366
+ }
1367
+ })
1368
+ },
1369
+ getFormData () {
1370
+ let submitFlag = true
1371
+ const params = {}
1372
+ for (let index = 0; index < this.fieldGroups.length; index++) {
1373
+ const fieldItem = this.fieldGroups[index]
1374
+ if (!fieldItem.contentType && fieldItem.children) {
1375
+ const form = this.$refs[`form${index}`]
1376
+ for (let i = 0; i < fieldItem.children.length; i++) {
1377
+ const fieldConfig = fieldItem.children[i]
1378
+ const field = fieldItem.children[i].attriName
1379
+ form.$refs.form.validate((valid, err) => {
1380
+ if (!valid) {
1381
+ for (const key in err) {
1382
+ const errMessgae = err[key][0]
1383
+ this.$message.error(errMessgae.message)
1384
+ submitFlag = false
1385
+ return
1386
+ }
1387
+ }
1388
+ })
1389
+ if (submitFlag === false) {
1390
+ break
1391
+ }
1392
+ const formValue = form.formModel[field]
1393
+ if (!field.includes('#')) {
1394
+ let submitValue = formValue
1395
+ if (Array.isArray(formValue)) {
1396
+ submitValue = formValue[formValue.length - 1]
1397
+ }
1398
+ params[fieldConfig.name || `bean.${field}`] = submitValue || ''
1399
+ }
1400
+ }
1401
+ }
1402
+ }
1403
+ return submitFlag ? params : false
1404
+ },
1405
+ verify () {
1406
+ // 校验字段
1407
+ let flag = true
1408
+ for (let i = 0; i < this.fieldGroups.length; i++) {
1409
+ const fields = this.fieldGroups[i]
1410
+ if (flag === false) {
1411
+ break
1412
+ }
1413
+ if (!fields.contentType) {
1414
+ for (let j = 0; j < fields.children.length; j++) {
1415
+ const field = fields.children[j]
1416
+ if (field.isRequired === '1' && field.showFlag) {
1417
+ let isShow = true
1418
+ for (const key in field.showFlag) {
1419
+ if (field.showFlag[key] !== (this.data[key] || this.updateData[key])) {
1420
+ isShow = false
1421
+ }
1422
+ }
1423
+ if (isShow && !(this.data[field.attriName] || this.updateData[field.attriName])) {
1424
+ flag = false
1425
+ this.$message.error(`请填写${field.attriLabel}`)
1426
+ break
1427
+ }
1428
+ } else if (field.isRequired === '1' && !(this.data[field.attriName] || this.updateData[field.attriName])) {
1429
+ flag = false
1430
+ this.$message.error(`请填写${field.attriLabel}`)
1431
+ break
1432
+ }
1433
+ }
1434
+ }
1435
+ }
1436
+ return flag
1437
+ },
1438
+ foldFn (key) {
1439
+ const index = this.foldList.indexOf(key)
1440
+ if (index === -1) {
1441
+ this.foldList.push(key)
1442
+ } else {
1443
+ this.foldList.splice(index, 1)
1444
+ }
1445
+ },
1446
+ subAddEntity (index) {
1447
+ const subListPage = this.$refs['sublist' + index]
1448
+ if (subListPage) {
1449
+ const subList = subListPage.$refs.component
1450
+ if (subList) subList.addEntity()
1451
+ }
1452
+ },
1453
+ init () {
1454
+ this.getFieldConfig()
1455
+ // 获取其级联编辑页面
1456
+ // this.getData()
1457
+ },
1458
+ // 获取字段
1459
+ getFields () {
1460
+ this.$http.entityFieldTreeStore({
1461
+ metaId: this.$metaId,
1462
+ allSub: false,
1463
+ node: 'root'
1464
+ })
1465
+ .then(data => {
1466
+ // eslint-disable-next-line no-eval
1467
+ const fields = eval('(' + data + ')')
1468
+ const fieldGroup = Object.values(fields) || []
1469
+ fieldGroup.forEach(fieldItem => {
1470
+ fieldItem.children.forEach(item => {
1471
+ item.code = item.code.replace(/\./g, '|')
1472
+ })
1473
+ })
1474
+ this.fieldGroup = [...fieldGroup]
1475
+ const { code } = this.fieldGroup[0]
1476
+ this.$set(this.unFoldFieldItems, code, true)
1477
+ })
1478
+ },
1479
+ // 获取关联对象
1480
+ getEntityRelation () {
1481
+ this.$http.list({
1482
+ action: 'list',
1483
+ entityId: 'FM_ENTITY_RELATION',
1484
+ searchMode: 'simple',
1485
+ 'scope.ENTITY_B': this.$metaId
1486
+ })
1487
+ .then(data => {
1488
+ // this.EntityRelation = data.entitys
1489
+ this.EntityRelation = data.entitys.map(item => ({ label: item.TITLE, value: item.FLAG }))
1490
+ })
1491
+ }
1492
+ },
1493
+ created () {
1494
+ this.configs = { ...this.initConfigs }
1495
+ // for (const item in this.defaultConfigs) { // formConfigs,navConfigs
1496
+ // if (typeof this.defaultConfigs[item] === 'object') {
1497
+ // // for (const itemtwo in this.defaultConfigs[item]) {
1498
+ // // // if (!this.configs[item][itemtwo]) {
1499
+ // // // this.configs[item][itemtwo] = this.defaultConfigs[item][itemtwo]
1500
+ // // // }
1501
+ // // if (!this.configs[item][itemtwo]) {
1502
+ // // if (itemtwo !== 'fieldGroups') {
1503
+ // // this.configs[item][itemtwo] = this.defaultConfigs[item][itemtwo]
1504
+ // // } else {
1505
+ // // this.configs[item][itemtwo] = []
1506
+ // // }
1507
+ // // }
1508
+ // // }
1509
+ // }
1510
+ // }
1511
+ this.getFields()
1512
+ this.init()
1513
+ this.getEntityRelation()
1514
+ }
1515
+ }
1516
+ </script>
1517
+
1518
+ <style lang="scss" scoped>
1519
+ .container {
1520
+ width: 100%;
1521
+ height: 100%;
1522
+ display: flex;
1523
+ flex-direction: column;
1524
+ }
1525
+ .half{
1526
+ width: 50%;
1527
+ }
1528
+ .whole{
1529
+ width: 100%;
1530
+ }
1531
+ // .form-visual{
1532
+ // @include font_color_primary;
1533
+ // margin-left: 20px;
1534
+ // span{
1535
+ // cursor: pointer;
1536
+ // }
1537
+ // }
1538
+ // .xiugai{
1539
+ // margin-right: 10px;
1540
+ // }
1541
+ // .dialog-con{
1542
+ // // text-align: center;
1543
+ // }
1544
+ .add-configuration{
1545
+ // text-align: center;
1546
+ position: absolute;
1547
+ top: 15px;
1548
+ left: 31%;
1549
+ }
1550
+ // .dialog-con::v-deep .el-form-item__content{
1551
+ // // margin-left: 0px !important;
1552
+ // }
1553
+ .dialog-button{
1554
+ margin-top: 52px;
1555
+ text-align: center;
1556
+ }
1557
+ .tabs {
1558
+ &::v-deep {
1559
+ .el-tabs__header {
1560
+ // display: none;
1561
+ background: #fff;
1562
+ margin: 0;
1563
+ }
1564
+ .el-tabs__item.is-active::after{
1565
+ content: '';
1566
+ position: absolute;
1567
+ left: 0;
1568
+ top: -1px;
1569
+ width: 100%;
1570
+ height: 2px;
1571
+ @include bg_color_primary;
1572
+ }
1573
+ .el-tabs__nav-wrap::after {
1574
+ display: none;
1575
+ }
1576
+ .el-tabs__content {
1577
+ flex: 1;
1578
+ overflow: hidden;
1579
+ }
1580
+ .el-tab-pane {
1581
+ height: 100%;
1582
+ }
1583
+ }
1584
+ }
1585
+ .form-container {
1586
+ flex: 1;
1587
+ height: 100%;
1588
+ overflow: auto;
1589
+ }
1590
+ // .form-container ::v-deep .el-form-item{
1591
+ // margin-bottom: 12px;
1592
+ // }
1593
+ .sub-add-btn {
1594
+ float: right;
1595
+ width: 70px;
1596
+ height: 36px;
1597
+ box-sizing: border-box;
1598
+ // @include border_primary;
1599
+ // @include border_color_primary;
1600
+ border-radius: 4px;
1601
+ @include font_color_primary;
1602
+ font-size: 14px;
1603
+ text-align: center;
1604
+ line-height: 34px;
1605
+ margin-right: 12px;
1606
+ cursor: pointer;
1607
+ }
1608
+ .form-item {
1609
+ background: #fff;
1610
+ margin-bottom: 16px;
1611
+ }
1612
+ .form-title {
1613
+ padding: 6px 24px;
1614
+ position: relative;
1615
+ overflow: hidden;
1616
+ font-size: 16px;
1617
+ line-height: 36px;
1618
+ &::after {
1619
+ content: '';
1620
+ position: absolute;
1621
+ left: -24px;
1622
+ bottom: 0;
1623
+ width: calc(100% + 48px);
1624
+ height: 1px;
1625
+ background: #e3e3e3;
1626
+ }
1627
+ i {
1628
+ @include font_color_primary;
1629
+ font-size: 20px;
1630
+ float: right;
1631
+ cursor: pointer;
1632
+ transition: all .5s;
1633
+ line-height: 36px;
1634
+ }
1635
+ .fold {
1636
+ transform: rotate(180deg);
1637
+ }
1638
+ }
1639
+ .form-title-border{
1640
+ border-left: 3px solid;
1641
+ @include border_color_primary;
1642
+ padding-left: 6px;
1643
+ }
1644
+ .form-content {
1645
+ padding: 24px;
1646
+ overflow: hidden;
1647
+ &.no-padding {
1648
+ padding: 0;
1649
+ }
1650
+ }
1651
+ .button-container {
1652
+ // margin-top: 10px;
1653
+ // padding: 10px 24px;
1654
+ margin: 12px 0;
1655
+ text-align: center;
1656
+ &::v-deep {
1657
+ .el-button {
1658
+ padding: 12px 42px;
1659
+ margin: 0 12px;
1660
+ }
1661
+ }
1662
+ }
1663
+ .button-container .button-new-tag{
1664
+ padding: 12px;
1665
+ margin: 0 12px;
1666
+ }
1667
+ .mobile-button-container {
1668
+ height: 46px;
1669
+ }
1670
+ .mobile-button-inner {
1671
+ display: flex;
1672
+ position: fixed;
1673
+ z-index: 2;
1674
+ bottom: 0;
1675
+ box-shadow: 0 -1px 2px rgba(0,0,0,.1);
1676
+ width: 100%;
1677
+ margin: 0;
1678
+ &::v-deep {
1679
+ .el-button {
1680
+ flex: 1;
1681
+ margin: 0;
1682
+ border:0;
1683
+ border-radius: 0;
1684
+ padding: 16px 42px;
1685
+ }
1686
+ }
1687
+ }
1688
+ .field-item {
1689
+ display: inline-block;
1690
+ padding: 6px 12px;
1691
+ border:1px dashed rgba($--color-primary, .6);
1692
+ @include bg_color_primary(.1);
1693
+ @include font_color_primary;
1694
+ line-height: 1;
1695
+ margin: 4px 0;
1696
+ margin-right: 10px;
1697
+ cursor: move;
1698
+ user-select: none;
1699
+ i {
1700
+ margin-left: 2px;
1701
+ cursor: pointer;
1702
+ color: #999
1703
+ }
1704
+ }
1705
+ .el-checkbox-group{
1706
+ font-size: inherit;
1707
+ }
1708
+ .field-item-title {
1709
+ cursor: pointer;
1710
+ // margin: 24px 0;
1711
+ i {
1712
+ @include font_color_primary;
1713
+ margin-right: 6px;
1714
+ }
1715
+ }
1716
+ .operate-container {
1717
+ display: flex;
1718
+ height: 400px;
1719
+ }
1720
+ .operate-slide {
1721
+ width: 238px;
1722
+ background-color: #fefefe;
1723
+ border-radius: 4px;
1724
+ border: solid 1px #eaedf4;
1725
+ padding: 24px;
1726
+ display: flex;
1727
+ flex-direction: column;
1728
+ align-items: center;
1729
+ overflow: auto;
1730
+ &::v-deep {
1731
+ .el-button {
1732
+ width: 160px;
1733
+ margin: 12px 0;
1734
+ position: relative;
1735
+
1736
+ }
1737
+ }
1738
+ .active::after {
1739
+ content: "\e791";
1740
+ font-family: 'element-icons' !important;
1741
+ position: absolute;
1742
+ left: -20px;
1743
+ @include font_color_primary;
1744
+ font-size: 16px;
1745
+ }
1746
+ }
1747
+ .operate-content {
1748
+ // width: 640px;
1749
+ background-color: #fefefe;
1750
+ border-radius: 4px;
1751
+ border: solid 1px #eaedf4;
1752
+ padding: 24px 0;
1753
+ margin-left: 20px;
1754
+ overflow: auto;
1755
+ &::v-deep {
1756
+ .el-input {
1757
+ width: 220px;
1758
+ }
1759
+ }
1760
+ }
1761
+ .operate-content-edit{
1762
+ width: 400px;
1763
+ margin: auto;
1764
+ }
1765
+ .is-default {
1766
+ .fields-drag {
1767
+ opacity: .6;
1768
+ }
1769
+ &::v-deep {
1770
+ .is-checked {
1771
+ .el-input__inner {
1772
+ opacity: .6;
1773
+ }
1774
+ .el-radio__inner {
1775
+ @include bg_color_primary(.6);
1776
+ border-color:rgba($--color-primary, .6)
1777
+ }
1778
+ .el-radio__label {
1779
+ color: rgba($--color-primary, .6);
1780
+ }
1781
+ }
1782
+ }
1783
+ }
1784
+ .drag-button{
1785
+ // width: 130px;
1786
+ display: inline-block;
1787
+ // min-height: 66px;
1788
+ vertical-align: top;
1789
+ }
1790
+ .form-visual{
1791
+ @include font_color_primary;
1792
+ // margin-left: 20px;
1793
+ // width: 73px;
1794
+ margin-left: 10px;
1795
+ width: 93px;
1796
+ span{
1797
+ cursor: pointer;
1798
+ }
1799
+ }
1800
+ .xiugai{
1801
+ margin-right: 10px;
1802
+ }
1803
+ .drag-button-edit{
1804
+ margin-top: 6px;
1805
+ display: flex;
1806
+ padding: 0 12px;
1807
+ justify-content: space-around;
1808
+ span{
1809
+ cursor: pointer;
1810
+ @include font_color_primary;
1811
+ }
1812
+ }
1813
+ @media screen and (max-width: 992px) {
1814
+ .form-content {
1815
+ padding: 0;
1816
+ }
1817
+ }
1818
+ </style>