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.
- package/.browserslistrc +4 -0
- package/.dockerignore +2 -0
- package/.editorconfig +5 -0
- package/.env.dev +6 -0
- package/.env.development +4 -0
- package/.env.localize +7 -0
- package/.env.ppe +6 -0
- package/.env.prd +6 -0
- package/.env.pre +6 -0
- package/.env.production +6 -0
- package/.env.simple +8 -0
- package/.eslintignore +2 -0
- package/.eslintrc.js +24 -0
- package/Dockerfile +12 -0
- package/README.md +108 -0
- package/babel.config.js +26 -0
- package/build/webpack.component.js +54 -0
- package/build/webpack.dev.js +114 -0
- package/build/webpack.prod.js +133 -0
- package/nginx.conf +38 -0
- package/package.json +93 -0
- package/public/403.html +77 -0
- package/public/cmaps/78-EUC-H.bcmap +0 -0
- package/public/cmaps/78-EUC-V.bcmap +0 -0
- package/public/cmaps/78-H.bcmap +0 -0
- package/public/cmaps/78-RKSJ-H.bcmap +0 -0
- package/public/cmaps/78-RKSJ-V.bcmap +0 -0
- package/public/cmaps/78-V.bcmap +0 -0
- package/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Add-H.bcmap +0 -0
- package/public/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/public/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Add-V.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/public/cmaps/B5-H.bcmap +0 -0
- package/public/cmaps/B5-V.bcmap +0 -0
- package/public/cmaps/B5pc-H.bcmap +0 -0
- package/public/cmaps/B5pc-V.bcmap +0 -0
- package/public/cmaps/CNS-EUC-H.bcmap +0 -0
- package/public/cmaps/CNS-EUC-V.bcmap +0 -0
- package/public/cmaps/CNS1-H.bcmap +0 -0
- package/public/cmaps/CNS1-V.bcmap +0 -0
- package/public/cmaps/CNS2-H.bcmap +0 -0
- package/public/cmaps/CNS2-V.bcmap +3 -0
- package/public/cmaps/ETHK-B5-H.bcmap +0 -0
- package/public/cmaps/ETHK-B5-V.bcmap +0 -0
- package/public/cmaps/ETen-B5-H.bcmap +0 -0
- package/public/cmaps/ETen-B5-V.bcmap +0 -0
- package/public/cmaps/ETenms-B5-H.bcmap +3 -0
- package/public/cmaps/ETenms-B5-V.bcmap +0 -0
- package/public/cmaps/EUC-H.bcmap +0 -0
- package/public/cmaps/EUC-V.bcmap +0 -0
- package/public/cmaps/Ext-H.bcmap +0 -0
- package/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Ext-V.bcmap +0 -0
- package/public/cmaps/GB-EUC-H.bcmap +0 -0
- package/public/cmaps/GB-EUC-V.bcmap +0 -0
- package/public/cmaps/GB-H.bcmap +4 -0
- package/public/cmaps/GB-V.bcmap +0 -0
- package/public/cmaps/GBK-EUC-H.bcmap +0 -0
- package/public/cmaps/GBK-EUC-V.bcmap +0 -0
- package/public/cmaps/GBK2K-H.bcmap +0 -0
- package/public/cmaps/GBK2K-V.bcmap +0 -0
- package/public/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/public/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/public/cmaps/GBT-EUC-H.bcmap +0 -0
- package/public/cmaps/GBT-EUC-V.bcmap +0 -0
- package/public/cmaps/GBT-H.bcmap +0 -0
- package/public/cmaps/GBT-V.bcmap +0 -0
- package/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/public/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/public/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/public/cmaps/H.bcmap +0 -0
- package/public/cmaps/HKdla-B5-H.bcmap +0 -0
- package/public/cmaps/HKdla-B5-V.bcmap +0 -0
- package/public/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/public/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/public/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/public/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/public/cmaps/HKm314-B5-H.bcmap +0 -0
- package/public/cmaps/HKm314-B5-V.bcmap +0 -0
- package/public/cmaps/HKm471-B5-H.bcmap +0 -0
- package/public/cmaps/HKm471-B5-V.bcmap +0 -0
- package/public/cmaps/HKscs-B5-H.bcmap +0 -0
- package/public/cmaps/HKscs-B5-V.bcmap +0 -0
- package/public/cmaps/Hankaku.bcmap +0 -0
- package/public/cmaps/Hiragana.bcmap +0 -0
- package/public/cmaps/KSC-EUC-H.bcmap +0 -0
- package/public/cmaps/KSC-EUC-V.bcmap +0 -0
- package/public/cmaps/KSC-H.bcmap +0 -0
- package/public/cmaps/KSC-Johab-H.bcmap +0 -0
- package/public/cmaps/KSC-Johab-V.bcmap +0 -0
- package/public/cmaps/KSC-V.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/public/cmaps/Katakana.bcmap +0 -0
- package/public/cmaps/LICENSE +36 -0
- package/public/cmaps/NWP-H.bcmap +0 -0
- package/public/cmaps/NWP-V.bcmap +0 -0
- package/public/cmaps/RKSJ-H.bcmap +0 -0
- package/public/cmaps/RKSJ-V.bcmap +0 -0
- package/public/cmaps/Roman.bcmap +0 -0
- package/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/public/cmaps/V.bcmap +0 -0
- package/public/cmaps/WP-Symbol.bcmap +0 -0
- package/public/favicon.ico +0 -0
- package/public/font/font_2530548_ikl5ryc86u.css +535 -0
- package/public/font/font_2530548_ikl5ryc86u.ttf +0 -0
- package/public/font/font_2530548_ikl5ryc86u.woff +0 -0
- package/public/font/font_2530548_ikl5ryc86u.woff2 +0 -0
- package/public/font/font_2612462_d2s6adyaymf.css +93 -0
- package/public/font/font_2612462_d2s6adyaymf.ttf +0 -0
- package/public/font/font_2612462_d2s6adyaymf.woff +0 -0
- package/public/font/font_2612462_d2s6adyaymf.woff2 +0 -0
- package/public/img/banner.png +0 -0
- package/public/img/icons/android-chrome-192x192.png +0 -0
- package/public/img/icons/android-chrome-512x512.png +0 -0
- package/public/img/icons/android-chrome-maskable-192x192.png +0 -0
- package/public/img/icons/android-chrome-maskable-512x512.png +0 -0
- package/public/img/icons/apple-touch-icon-120x120.png +0 -0
- package/public/img/icons/apple-touch-icon-152x152.png +0 -0
- package/public/img/icons/apple-touch-icon-180x180.png +0 -0
- package/public/img/icons/apple-touch-icon-60x60.png +0 -0
- package/public/img/icons/apple-touch-icon-76x76.png +0 -0
- package/public/img/icons/apple-touch-icon.png +0 -0
- package/public/img/icons/favicon-16x16.png +0 -0
- package/public/img/icons/favicon-32x32.png +0 -0
- package/public/img/icons/msapplication-icon-144x144.png +0 -0
- package/public/img/icons/mstile-150x150.png +0 -0
- package/public/img/icons/safari-pinned-tab.svg +149 -0
- package/public/img/success.png +0 -0
- package/public/img/tip.png +0 -0
- package/public/index.html +132 -0
- package/public/js/babel-standalone.min.js +25 -0
- package/public/js/config.js +0 -0
- package/public/js/jquery-3.6.0.min.js +2 -0
- package/public/js/pdf.worker.js +45929 -0
- package/public/js/signature_pad.min.js +6 -0
- package/public/js/tinymce/icons/default/icons.js +170 -0
- package/public/js/tinymce/icons/default/icons.min.js +1 -0
- package/public/js/tinymce/jquery.tinymce.min.js +92 -0
- package/public/js/tinymce/langs/readme.md +3 -0
- package/public/js/tinymce/langs/zh_CN.js +419 -0
- package/public/js/tinymce/license.txt +504 -0
- package/public/js/tinymce/plugins/advlist/plugin.js +281 -0
- package/public/js/tinymce/plugins/advlist/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/anchor/plugin.js +216 -0
- package/public/js/tinymce/plugins/anchor/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autolink/plugin.js +185 -0
- package/public/js/tinymce/plugins/autolink/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autoresize/plugin.js +171 -0
- package/public/js/tinymce/plugins/autoresize/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autosave/plugin.js +214 -0
- package/public/js/tinymce/plugins/autosave/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/bbcode/plugin.js +99 -0
- package/public/js/tinymce/plugins/bbcode/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/charmap/plugin.js +1706 -0
- package/public/js/tinymce/plugins/charmap/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/code/plugin.js +92 -0
- package/public/js/tinymce/plugins/code/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/codesample/plugin.js +1717 -0
- package/public/js/tinymce/plugins/codesample/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/colorpicker/plugin.js +22 -0
- package/public/js/tinymce/plugins/colorpicker/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/contextmenu/plugin.js +22 -0
- package/public/js/tinymce/plugins/contextmenu/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/data/plugin.min.js +209 -0
- package/public/js/tinymce/plugins/directionality/plugin.js +314 -0
- package/public/js/tinymce/plugins/directionality/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/emoticons/js/emojiimages.js +9424 -0
- package/public/js/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/public/js/tinymce/plugins/emoticons/js/emojis.js +9423 -0
- package/public/js/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/public/js/tinymce/plugins/emoticons/plugin.js +564 -0
- package/public/js/tinymce/plugins/emoticons/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/fullpage/plugin.js +544 -0
- package/public/js/tinymce/plugins/fullpage/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/fullscreen/plugin.js +851 -0
- package/public/js/tinymce/plugins/fullscreen/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/help/plugin.js +846 -0
- package/public/js/tinymce/plugins/help/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/hr/plugin.js +46 -0
- package/public/js/tinymce/plugins/hr/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/image/plugin.js +1660 -0
- package/public/js/tinymce/plugins/image/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/imagetools/plugin.js +1304 -0
- package/public/js/tinymce/plugins/imagetools/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/importcss/plugin.js +337 -0
- package/public/js/tinymce/plugins/importcss/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/insertdatetime/plugin.js +177 -0
- package/public/js/tinymce/plugins/insertdatetime/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/legacyoutput/plugin.js +199 -0
- package/public/js/tinymce/plugins/legacyoutput/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/link/plugin.js +1219 -0
- package/public/js/tinymce/plugins/link/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/lists/plugin.js +2163 -0
- package/public/js/tinymce/plugins/lists/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/media/plugin.js +1315 -0
- package/public/js/tinymce/plugins/media/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/nonbreaking/plugin.js +101 -0
- package/public/js/tinymce/plugins/nonbreaking/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/noneditable/plugin.js +117 -0
- package/public/js/tinymce/plugins/noneditable/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/pagebreak/plugin.js +107 -0
- package/public/js/tinymce/plugins/pagebreak/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/pagelink/plugin.min.js +171 -0
- package/public/js/tinymce/plugins/paper/plugin.min.js +80 -0
- package/public/js/tinymce/plugins/paste/plugin.js +1707 -0
- package/public/js/tinymce/plugins/paste/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/preview/plugin.js +127 -0
- package/public/js/tinymce/plugins/preview/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/print/plugin.js +53 -0
- package/public/js/tinymce/plugins/print/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/quickbars/plugin.js +488 -0
- package/public/js/tinymce/plugins/quickbars/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/save/plugin.js +119 -0
- package/public/js/tinymce/plugins/save/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/searchreplace/plugin.js +1167 -0
- package/public/js/tinymce/plugins/searchreplace/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/spellchecker/plugin.js +737 -0
- package/public/js/tinymce/plugins/spellchecker/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/tabfocus/plugin.js +128 -0
- package/public/js/tinymce/plugins/tabfocus/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/table/plugin.min.js +9805 -0
- package/public/js/tinymce/plugins/table/plugin.min.js1 +9 -0
- package/public/js/tinymce/plugins/template/plugin.js +562 -0
- package/public/js/tinymce/plugins/template/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/textattribute/plugin.min.js +76 -0
- package/public/js/tinymce/plugins/textcolor/plugin.js +22 -0
- package/public/js/tinymce/plugins/textcolor/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/textpattern/plugin.js +1392 -0
- package/public/js/tinymce/plugins/textpattern/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/toc/plugin.js +235 -0
- package/public/js/tinymce/plugins/toc/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/visualblocks/plugin.js +104 -0
- package/public/js/tinymce/plugins/visualblocks/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/visualchars/plugin.js +541 -0
- package/public/js/tinymce/plugins/visualchars/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/wordcount/plugin.js +416 -0
- package/public/js/tinymce/plugins/wordcount/plugin.min.js +9 -0
- package/public/js/tinymce/readme.md +77 -0
- package/public/js/tinymce/skins/content/dark/content.css +59 -0
- package/public/js/tinymce/skins/content/dark/content.min.css +7 -0
- package/public/js/tinymce/skins/content/dark/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/default/content.css +49 -0
- package/public/js/tinymce/skins/content/default/content.min.css +7 -0
- package/public/js/tinymce/skins/content/default/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/document/content.css +54 -0
- package/public/js/tinymce/skins/content/document/content.min.css +7 -0
- package/public/js/tinymce/skins/content/document/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/writer/content.css +50 -0
- package/public/js/tinymce/skins/content/writer/content.min.css +7 -0
- package/public/js/tinymce/skins/content/writer/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.css +693 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.css +687 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.css +29 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/public/js/tinymce/skins/ui/oxide/skin.css +2937 -0
- package/public/js/tinymce/skins/ui/oxide/skin.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/skin.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.css +673 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.css +675 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.css +687 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.css +29 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.css +2937 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.css +673 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
- package/public/js/tinymce/themes/mobile/theme.js +13612 -0
- package/public/js/tinymce/themes/mobile/theme.min.js +9 -0
- package/public/js/tinymce/themes/silver/theme.js +31769 -0
- package/public/js/tinymce/themes/silver/theme.min.js +9 -0
- package/public/js/tinymce/tinymce.d.ts +2916 -0
- package/public/js/tinymce/tinymce.min.js +9 -0
- package/public/luckysheet/iconfont.css +456 -0
- package/public/luckysheet/luckysheet.css +1 -0
- package/public/luckysheet/luckysheet.umd.js +27 -0
- package/public/luckysheet/plugin.js +1 -0
- package/public/luckysheet/plugins.css +10 -0
- package/public/luckysheet/pluginsCss.css +1 -0
- package/public/robots.txt +2 -0
- package/public/signature.html +445 -0
- package/sh.exe.stackdump +11 -0
- package/src/App.vue +31 -0
- package/src/api/README.md +1 -0
- package/src/api/config.js +187 -0
- package/src/api/createHttp.js +160 -0
- package/src/api/index.js +32 -0
- package/src/assets/bdrz/banlizhong.png +0 -0
- package/src/assets/bdrz/chenggong.png +0 -0
- package/src/assets/bdrz/danwei.png +0 -0
- package/src/assets/bdrz/hedui.png +0 -0
- package/src/assets/bdrz/laoziguanli.png +0 -0
- package/src/assets/bdrz/location.png +0 -0
- package/src/assets/bdrz/locationl.png +0 -0
- package/src/assets/bdrz/phone.png +0 -0
- package/src/assets/bdrz/phonel.png +0 -0
- package/src/assets/bdrz/shouzhi.png +0 -0
- package/src/assets/bdrz/time.png +0 -0
- package/src/assets/bdrz/timel.png +0 -0
- package/src/assets/bdrz/wancheng.png +0 -0
- package/src/assets/bdrz/zuobiao.png +0 -0
- package/src/assets/customTranslate/customTranslate.js +13 -0
- package/src/assets/customTranslate/translations.js +218 -0
- package/src/assets/data/card.png +0 -0
- package/src/assets/data/code.png +0 -0
- package/src/assets/home/apply.png +0 -0
- package/src/assets/home/banner1.png +0 -0
- package/src/assets/home/banner11.png +0 -0
- package/src/assets/home/banner12.png +0 -0
- package/src/assets/home/banner2.png +0 -0
- package/src/assets/home/banner3.png +0 -0
- package/src/assets/home/benke.png +0 -0
- package/src/assets/home/chengguo.png +0 -0
- package/src/assets/home/gaojirencaisousuo.png +0 -0
- package/src/assets/home/hangyebiaozhun.png +0 -0
- package/src/assets/home/huojiang.png +0 -0
- package/src/assets/home/icon-test.png +0 -0
- package/src/assets/home/kaoshi.png +0 -0
- package/src/assets/home/kejichengguo.png +0 -0
- package/src/assets/home/keyanxiangmu.png +0 -0
- package/src/assets/home/lunwendao.png +0 -0
- package/src/assets/home/message.png +0 -0
- package/src/assets/home/my-yanjiubaogao.png +0 -0
- package/src/assets/home/nodata.png +0 -0
- package/src/assets/home/people.png +0 -0
- package/src/assets/home/qita.png +0 -0
- package/src/assets/home/schoollogo.png +0 -0
- package/src/assets/home/search.png +0 -0
- package/src/assets/home/shenbaoguanli.png +0 -0
- package/src/assets/home/shouye.png +0 -0
- package/src/assets/home/title.png +0 -0
- package/src/assets/home/todo.png +0 -0
- package/src/assets/home/wave0.png +0 -0
- package/src/assets/home/wave1.png +0 -0
- package/src/assets/home/wave2.png +0 -0
- package/src/assets/home/wodeshuju(1).png +0 -0
- package/src/assets/home/xinxizhongxin.png +0 -0
- package/src/assets/home/yanjiusheng.png +0 -0
- package/src/assets/home/yeji.png +0 -0
- package/src/assets/home/zhengjiuniandukaohe.png +0 -0
- package/src/assets/home/zhengshu.png +0 -0
- package/src/assets/home/zhidao.png +0 -0
- package/src/assets/home/zhuanli.png +0 -0
- package/src/assets/home/zhuanye.png +0 -0
- package/src/assets/home/zhuzuoquan.png +0 -0
- package/src/assets/images/add.png +0 -0
- package/src/assets/images/app.png +0 -0
- package/src/assets/images/apply_bg.png +0 -0
- package/src/assets/images/auto.png +0 -0
- package/src/assets/images/book.png +0 -0
- package/src/assets/images/clear.png +0 -0
- package/src/assets/images/contact_bg.png +0 -0
- package/src/assets/images/data/benke.png +0 -0
- package/src/assets/images/data/chengguo.png +0 -0
- package/src/assets/images/data/chubanwu.png +0 -0
- package/src/assets/images/data/erjidanwei.png +0 -0
- package/src/assets/images/data/hangyebiaozhun.png +0 -0
- package/src/assets/images/data/huojiang(1).png +0 -0
- package/src/assets/images/data/huojiang(2).png +0 -0
- package/src/assets/images/data/icon-test.png +0 -0
- package/src/assets/images/data/jianzhi.png +0 -0
- package/src/assets/images/data/jiaozhigong.png +0 -0
- package/src/assets/images/data/keyanxiangmu.png +0 -0
- package/src/assets/images/data/keyanxiangmu/346/213/267/350/264/2352.png +0 -0
- package/src/assets/images/data/lunwen(1).png +0 -0
- package/src/assets/images/data/lunwendao.png +0 -0
- package/src/assets/images/data/lunwendao/346/213/267/350/264/2352.png +0 -0
- package/src/assets/images/data/pingtai.png +0 -0
- package/src/assets/images/data/pingtai/346/213/267/350/264/235.png +0 -0
- package/src/assets/images/data/shengbujijiaoxuechengguojiang.png +0 -0
- package/src/assets/images/data/wudachengguozhuanhuazhongxin.png +0 -0
- package/src/assets/images/data/xueke(1).png +0 -0
- package/src/assets/images/data/yanjiusheng.png +0 -0
- package/src/assets/images/data/zhidao.png +0 -0
- package/src/assets/images/data/zhuanli.png +0 -0
- package/src/assets/images/data/zhuzuoquan.png +0 -0
- package/src/assets/images/error.png +0 -0
- package/src/assets/images/file.png +0 -0
- package/src/assets/images/hall_banner.png +0 -0
- package/src/assets/images/hr.png +0 -0
- package/src/assets/images/index/benke.png +0 -0
- package/src/assets/images/index/chengguo.png +0 -0
- package/src/assets/images/index/gaojirencaisousuo.png +0 -0
- package/src/assets/images/index/hangyebiaozhun.png +0 -0
- package/src/assets/images/index/huojiang.png +0 -0
- package/src/assets/images/index/icon-test.png +0 -0
- package/src/assets/images/index/kaoshi.png +0 -0
- package/src/assets/images/index/kejichengguo.png +0 -0
- package/src/assets/images/index/keyanxiangmu.png +0 -0
- package/src/assets/images/index/lunwendao.png +0 -0
- package/src/assets/images/index/my-yanjiubaogao.png +0 -0
- package/src/assets/images/index/qita.png +0 -0
- package/src/assets/images/index/shenbaoguanli.png +0 -0
- package/src/assets/images/index/wodeshuju(1).png +0 -0
- package/src/assets/images/index/xinxizhongxin.png +0 -0
- package/src/assets/images/index/yanjiusheng.png +0 -0
- package/src/assets/images/index/yeji.png +0 -0
- package/src/assets/images/index/zhengjiuniandukaohe.png +0 -0
- package/src/assets/images/index/zhengshu.png +0 -0
- package/src/assets/images/index/zhidao.png +0 -0
- package/src/assets/images/index/zhuanli.png +0 -0
- package/src/assets/images/index/zhuanye.png +0 -0
- package/src/assets/images/index/zhuzuoquan.png +0 -0
- 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
- package/src/assets/images/index//345/276/205/345/212/236.png +0 -0
- package/src/assets/images/index//346/244/255/345/234/2064/346/213/267/350/264/2355.png +0 -0
- package/src/assets/images/index//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/assets/images/index//346/266/210/346/201/257.png +0 -0
- package/src/assets/images/index//347/224/263/350/257/267.png +0 -0
- package/src/assets/images/index//351/273/230/350/256/244/345/255/246/346/240/241logo.png +0 -0
- package/src/assets/images/jian.png +0 -0
- package/src/assets/images/login.jpg +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/assets/images/m_hall_banner.png +0 -0
- package/src/assets/images/mlogin.png +0 -0
- package/src/assets/images/module.png +0 -0
- package/src/assets/images/offical/111.png +0 -0
- package/src/assets/images/offical/haiwaigaocengcirencai.png +0 -0
- package/src/assets/images/offical/jiaoxue(1).png +0 -0
- package/src/assets/images/offical/niandukaohe-weikaohe.png +0 -0
- package/src/assets/images/offical/pinqikaohe.png +0 -0
- package/src/assets/images/offical/renshiguanlixinxi_yingongchuguo.png +0 -0
- package/src/assets/images/offical/shengbujijiaoxuechengguojiang.png +0 -0
- package/src/assets/images/offical/shujucaiji.png +0 -0
- package/src/assets/images/offical/yeji(1).png +0 -0
- package/src/assets/images/offical/zhuanye.png +0 -0
- package/src/assets/images/offical//345/244/232/350/276/271/345/275/2421/346/213/267/350/264/23510.png +0 -0
- package/src/assets/images/qq.png +0 -0
- package/src/assets/images/role_select.png +0 -0
- package/src/assets/images/staff.png +0 -0
- package/src/assets/images/success.png +0 -0
- package/src/assets/images/theme/aurorablue.png +0 -0
- package/src/assets/images/theme/classicblue.png +0 -0
- package/src/assets/images/theme/deepblue.png +0 -0
- package/src/assets/images/theme/forestgreen.png +0 -0
- package/src/assets/images/theme/orange.png +0 -0
- package/src/assets/images/theme/palevioletred.png +0 -0
- package/src/assets/images/theme/purple.png +0 -0
- package/src/assets/images/theme/skyblue.png +0 -0
- package/src/assets/images/theme/tiffanyblue.png +0 -0
- package/src/assets/images/user_bg.png +0 -0
- package/src/assets/images/weixin.png +0 -0
- package/src/assets/login/bgimg.jpg +0 -0
- package/src/assets/moren.png +0 -0
- package/src/assets/wage/baseBanner.png +0 -0
- package/src/frame/base/AppModuleTreeFind.vue +51 -0
- package/src/frame/base/AttributeSubAdd.vue +29 -0
- package/src/frame/base/ChooseApplication.vue +176 -0
- package/src/frame/base/ChooseApplicationSet.vue +165 -0
- package/src/frame/base/ClientAppItem.vue +217 -0
- package/src/frame/base/ClientApplication.vue +446 -0
- package/src/frame/base/ClientApplicationList.vue +180 -0
- package/src/frame/base/ClientModule.vue +65 -0
- package/src/frame/base/ClientModuleIndex.vue +413 -0
- package/src/frame/base/ClientTreePage.vue +29 -0
- package/src/frame/base/ConfigModuleIndex.vue +82 -0
- package/src/frame/base/CurrentClientApplication.vue +33 -0
- package/src/frame/base/DeptTreeFind.vue +51 -0
- package/src/frame/base/EntityList.vue +71 -0
- package/src/frame/base/ModuleTreeFind.vue +51 -0
- package/src/frame/base/PageList.vue +47 -0
- package/src/frame/base/PermissManage.vue +95 -0
- package/src/frame/base/RoleAccredit.vue +961 -0
- package/src/frame/base/ServiceAccredit.vue +956 -0
- package/src/frame/base/ServiceMenu.vue +380 -0
- package/src/frame/base/ServiceOperate.vue +929 -0
- package/src/frame/base/ServiceTreePage.vue +31 -0
- package/src/frame/components/AddUsedInterface.vue +154 -0
- package/src/frame/components/Alert.vue +35 -0
- package/src/frame/components/AppList.vue +254 -0
- package/src/frame/components/Apply/ApplyIndex.vue +207 -0
- package/src/frame/components/AttributeList.vue +612 -0
- package/src/frame/components/Banner.vue +25 -0
- package/src/frame/components/CardO.vue +112 -0
- package/src/frame/components/CheckForm.vue +20 -0
- package/src/frame/components/ClientAdminFormItem.vue +49 -0
- package/src/frame/components/ClientFormItem.vue +45 -0
- package/src/frame/components/ClientList.vue +135 -0
- package/src/frame/components/CodeDetail.vue +374 -0
- package/src/frame/components/CodeManage.vue +755 -0
- package/src/frame/components/ComponentFind.vue +356 -0
- package/src/frame/components/ComponentList.vue +521 -0
- package/src/frame/components/ConfigParamFormItem.vue +193 -0
- package/src/frame/components/CreatePage.vue +329 -0
- package/src/frame/components/DataLog.vue +91 -0
- package/src/frame/components/DblogList.vue +158 -0
- package/src/frame/components/DeptFind.vue +126 -0
- package/src/frame/components/DropDown/DropDownMenu.vue +267 -0
- package/src/frame/components/DropDown/DropDownMenuItem.vue +489 -0
- package/src/frame/components/DynamicUserList.vue +69 -0
- package/src/frame/components/EditListTable.vue +774 -0
- package/src/frame/components/EntityCheckboxFind.vue +88 -0
- package/src/frame/components/EntityRelationAdd.vue +201 -0
- package/src/frame/components/EntityRelationAddFormItem.vue +100 -0
- package/src/frame/components/EntityRightFormItem.vue +616 -0
- package/src/frame/components/EntityRightSubList.vue +588 -0
- package/src/frame/components/EntityTreeManage.vue +852 -0
- package/src/frame/components/EntityViewFields.vue +401 -0
- package/src/frame/components/EntityViewSubList.vue +976 -0
- package/src/frame/components/ExportSystemConfig.vue +103 -0
- package/src/frame/components/FieldAddFormItem.vue +35 -0
- package/src/frame/components/Footer.vue +120 -0
- package/src/frame/components/FormulaEditor.vue +1216 -0
- package/src/frame/components/HallNav.vue +450 -0
- package/src/frame/components/HeaderNav.vue +417 -0
- package/src/frame/components/IconCard.vue +158 -0
- package/src/frame/components/IconFontLibrary.vue +59 -0
- package/src/frame/components/IconFontList.vue +75 -0
- package/src/frame/components/IdentifyList.vue +33 -0
- package/src/frame/components/ImportSystemConfig.vue +206 -0
- package/src/frame/components/InterfaceSubList.vue +295 -0
- package/src/frame/components/JsPanel.vue +103 -0
- package/src/frame/components/LanguageImportPage.vue +598 -0
- package/src/frame/components/LanguageSetting.vue +449 -0
- package/src/frame/components/List/LinkItem.vue +98 -0
- package/src/frame/components/List/List.vue +17 -0
- package/src/frame/components/List/ListItem.vue +52 -0
- package/src/frame/components/ListTable.vue +796 -0
- package/src/frame/components/MEntitySubList.vue +199 -0
- package/src/frame/components/MenuTreeFind.vue +107 -0
- package/src/frame/components/MessageList.vue +137 -0
- package/src/frame/components/MessageRuleFormItem.vue +61 -0
- package/src/frame/components/MessageRuleReceiverFormItem.vue +173 -0
- package/src/frame/components/MessageTemplate.vue +791 -0
- package/src/frame/components/MetaList.vue +65 -0
- package/src/frame/components/Mine.vue +114 -0
- package/src/frame/components/Nav.vue +599 -0
- package/src/frame/components/NavFormCatalogItem.vue +9 -0
- package/src/frame/components/NumList.vue +108 -0
- package/src/frame/components/OperateLog.vue +168 -0
- package/src/frame/components/PageCatalog.vue +454 -0
- package/src/frame/components/PageChart.vue +306 -0
- package/src/frame/components/PageSwipes.vue +179 -0
- package/src/frame/components/PersonFormItem.vue +92 -0
- package/src/frame/components/Popup.vue +181 -0
- package/src/frame/components/PrintFormList.vue +495 -0
- package/src/frame/components/PublishEntity.vue +87 -0
- package/src/frame/components/ReportFormList.vue +247 -0
- package/src/frame/components/ReportList.vue +493 -0
- package/src/frame/components/RightSubList.vue +253 -0
- package/src/frame/components/RoleAddUser.vue +50 -0
- package/src/frame/components/RoleApplicationCard.vue +299 -0
- package/src/frame/components/RoleApplicationList.vue +766 -0
- package/src/frame/components/RoleApplicationSet.vue +845 -0
- package/src/frame/components/RuleText.vue +98 -0
- package/src/frame/components/Search.vue +270 -0
- package/src/frame/components/ServiceFormItem.vue +29 -0
- package/src/frame/components/SubAdd.vue +0 -0
- package/src/frame/components/SystemNav.vue +18 -0
- package/src/frame/components/TaskNumCard.vue +26 -0
- package/src/frame/components/TimerRuleFormItem.vue +227 -0
- package/src/frame/components/TodoList.vue +429 -0
- package/src/frame/components/UpdateSystemConfig.vue +186 -0
- package/src/frame/components/UserCard.vue +110 -0
- package/src/frame/components/UserFind.vue +438 -0
- package/src/frame/components/UserFormItem.vue +666 -0
- package/src/frame/components/UserList.vue +17 -0
- package/src/frame/components/UserManage.vue +716 -0
- package/src/frame/components/ValidateRuleFormItem.vue +40 -0
- package/src/frame/components/ViewFieldDefine.vue +554 -0
- package/src/frame/components/attribute/Form.vue +439 -0
- package/src/frame/components/authorization/AddApiPermiss.vue +179 -0
- package/src/frame/components/authorization/AddAuthorization.vue +135 -0
- package/src/frame/components/authorization/AddEntityFind.vue +68 -0
- package/src/frame/components/authorization/AddNoApi.vue +143 -0
- package/src/frame/components/authorization/AddRoleScope.vue +291 -0
- package/src/frame/components/authorization/ApiShareOtherList.vue +353 -0
- package/src/frame/components/authorization/ApiSystemList.vue +315 -0
- package/src/frame/components/authorization/AuthorizationRoleSystem.vue +213 -0
- package/src/frame/components/authorization/EntityConstraintFormItem.vue +255 -0
- package/src/frame/components/authorization/OtherShareApiList.vue +248 -0
- package/src/frame/components/authorization/PermissRoleAuthorization.vue +583 -0
- package/src/frame/components/authorization/PermissRoleTabs.vue +117 -0
- package/src/frame/components/authorization/RoleLevel.vue +113 -0
- package/src/frame/components/authorization/RoleLevelScope.vue +247 -0
- package/src/frame/components/card/CardList.vue +78 -0
- package/src/frame/components/card/CardListItem.vue +147 -0
- package/src/frame/components/card/Title.vue +38 -0
- package/src/frame/components/chart/CircularPie.vue +11 -0
- package/src/frame/components/chart/Column.vue +11 -0
- package/src/frame/components/chart/HoriColumn.vue +11 -0
- package/src/frame/components/chart/Line.vue +11 -0
- package/src/frame/components/chart/Pie.vue +11 -0
- package/src/frame/components/custom-bpmn/CustomContextPad.js +58 -0
- package/src/frame/components/custom-bpmn/CustomPalette.js +257 -0
- package/src/frame/components/custom-bpmn/CustomRenderer.js +115 -0
- package/src/frame/components/custom-bpmn/CustomRendererBpmn.js +45 -0
- package/src/frame/components/custom-bpmn/PropertiesView.vue +4046 -0
- package/src/frame/components/custom-bpmn/img/chaxun.png +0 -0
- package/src/frame/components/custom-bpmn/img/fasong.png +0 -0
- package/src/frame/components/custom-bpmn/img/gengxin.png +0 -0
- package/src/frame/components/custom-bpmn/img/jiagong.png +0 -0
- package/src/frame/components/custom-bpmn/img/jiekou.png +0 -0
- package/src/frame/components/custom-bpmn/img/shanchu.png +0 -0
- package/src/frame/components/custom-bpmn/img/tongbu.png +0 -0
- package/src/frame/components/custom-bpmn/img/xinzeng.png +0 -0
- package/src/frame/components/custom-bpmn/img/xunhuanend.png +0 -0
- package/src/frame/components/custom-bpmn/img/xunhuanstart.png +0 -0
- package/src/frame/components/custom-bpmn/img/ywgz.png +0 -0
- package/src/frame/components/custom-bpmn/index.js +6 -0
- package/src/frame/components/custom-bpmn/palette.js +18 -0
- package/src/frame/components/custom-bpmn/util.js +5 -0
- package/src/frame/components/expand/AddForm.vue +91 -0
- package/src/frame/components/expand/AddFormItem.vue +144 -0
- package/src/frame/components/filter/Filter.vue +744 -0
- package/src/frame/components/filter/FilterItem.vue +516 -0
- package/src/frame/components/form/Cascader.vue +79 -0
- package/src/frame/components/form/CheckBox.vue +88 -0
- package/src/frame/components/form/Date.vue +154 -0
- package/src/frame/components/form/DateRange.vue +108 -0
- package/src/frame/components/form/Field.vue +91 -0
- package/src/frame/components/form/File.vue +415 -0
- package/src/frame/components/form/FormItem.vue +128 -0
- package/src/frame/components/form/Hidden.vue +77 -0
- package/src/frame/components/form/Input.vue +123 -0
- package/src/frame/components/form/List.vue +149 -0
- package/src/frame/components/form/Object.vue +225 -0
- package/src/frame/components/form/Photo.vue +235 -0
- package/src/frame/components/form/Textarea.vue +133 -0
- package/src/frame/components/grid/Module.vue +63 -0
- package/src/frame/components/grid/ModuleItem.vue +205 -0
- package/src/frame/components/hall/AppCollect.vue +189 -0
- package/src/frame/components/hall/AppList.vue +407 -0
- package/src/frame/components/hall/AppVisitRecord.vue +170 -0
- package/src/frame/components/hall/Banner.vue +21 -0
- package/src/frame/components/hall/ServiceCard.vue +202 -0
- package/src/frame/components/hall/UserCard.vue +112 -0
- package/src/frame/components/mscope/Scope.vue +90 -0
- package/src/frame/components/mscope/ScopeItem.vue +372 -0
- package/src/frame/components/mscope/drawer.vue +43 -0
- package/src/frame/components/permiss/AddApi.vue +119 -0
- package/src/frame/components/permiss/AddNoEntityApi.vue +131 -0
- package/src/frame/components/permiss/AddSystemPermiss.vue +107 -0
- package/src/frame/components/permiss/AllocateRole.vue +107 -0
- package/src/frame/components/permiss/ApiSubList.vue +193 -0
- package/src/frame/components/permiss/FieldScope.vue +138 -0
- package/src/frame/components/permiss/ListTable.vue +842 -0
- package/src/frame/components/permiss/PermissEdit.vue +61 -0
- package/src/frame/components/permiss/PermissManage.vue +96 -0
- package/src/frame/components/permiss/PermissManageAdd.vue +203 -0
- package/src/frame/components/permiss/RoleMenu.vue +405 -0
- package/src/frame/components/permiss/RoleSubList.vue +264 -0
- package/src/frame/components/permiss/jurisdiction.vue +425 -0
- package/src/frame/components/report/ChartLine.vue +253 -0
- package/src/frame/components/report/ChartPie.vue +345 -0
- package/src/frame/components/report/Config.vue +709 -0
- package/src/frame/components/report/Design.vue +2783 -0
- package/src/frame/components/report/Index.vue +115 -0
- package/src/frame/components/report/ReportTable.vue +1051 -0
- package/src/frame/components/report/StatList.vue +229 -0
- package/src/frame/components/right/RoleDataList.vue +291 -0
- package/src/frame/components/right/RoleFieldList.vue +348 -0
- package/src/frame/components/scope/Scope.vue +497 -0
- package/src/frame/components/scope/ScopeDrawer.vue +195 -0
- package/src/frame/components/scope/ScopeItem.vue +973 -0
- package/src/frame/components/task-list/TaskList.vue +617 -0
- package/src/frame/components/task-list/Visual.vue +45 -0
- package/src/frame/components/task-list/index.js +3 -0
- package/src/frame/components/task-list-page/TaskListPage.vue +26 -0
- package/src/frame/components/task-list-page/index.js +8 -0
- package/src/frame/components/upLoad.vue +69 -0
- package/src/frame/components/viewport/LookViewList.vue +28 -0
- package/src/frame/components/viewport/ViewAddForm.vue +151 -0
- package/src/frame/components/viewport/ViewDefineList.vue +53 -0
- package/src/frame/components/viewport/ViewFiedList.vue +646 -0
- package/src/frame/components/viewport/ViewScope.vue +109 -0
- package/src/frame/index.js +37 -0
- package/src/frame/packages/add-form/AddForm.vue +2128 -0
- package/src/frame/packages/add-form/Preview.vue +312 -0
- package/src/frame/packages/add-form/index.js +8 -0
- package/src/frame/packages/add-form-item/AddFormItem.vue +446 -0
- package/src/frame/packages/add-form-item/Preview.vue +92 -0
- package/src/frame/packages/add-form-item/index.js +8 -0
- package/src/frame/packages/alter/Alert.vue +42 -0
- package/src/frame/packages/alter/Visual.vue +58 -0
- package/src/frame/packages/alter/index.js +8 -0
- package/src/frame/packages/app-index/AppIndex.vue +188 -0
- package/src/frame/packages/app-index/index.js +8 -0
- package/src/frame/packages/app-nav/AppNav.vue +1553 -0
- package/src/frame/packages/app-nav/Preview.vue +13 -0
- package/src/frame/packages/app-nav/index.js +8 -0
- package/src/frame/packages/app-tabs/Tabs.vue +121 -0
- package/src/frame/packages/app-tabs/index.js +8 -0
- package/src/frame/packages/apply-form/ApplyForm.vue +68 -0
- package/src/frame/packages/apply-form/index.js +3 -0
- package/src/frame/packages/approval-index/ApprovalIndex.vue +465 -0
- package/src/frame/packages/approval-index/index.js +8 -0
- package/src/frame/packages/approval-index-page/ApprovalIndexPage.vue +21 -0
- package/src/frame/packages/approval-index-page/index.js +8 -0
- package/src/frame/packages/base-page/BasePage.vue +221 -0
- package/src/frame/packages/base-page/index.js +8 -0
- package/src/frame/packages/button/Button.vue +47 -0
- package/src/frame/packages/button/Preview.vue +33 -0
- package/src/frame/packages/button/index.js +8 -0
- package/src/frame/packages/card/Card.vue +291 -0
- package/src/frame/packages/card/index.js +8 -0
- package/src/frame/packages/card-form-item/CardFormItem.vue +301 -0
- package/src/frame/packages/card-form-item/Visual.vue +101 -0
- package/src/frame/packages/card-form-item/index.js +3 -0
- package/src/frame/packages/category-list/CategoryList.vue +854 -0
- package/src/frame/packages/category-list/index.js +8 -0
- package/src/frame/packages/chart/Chart.vue +124 -0
- package/src/frame/packages/chart/ChartColumn.vue +365 -0
- package/src/frame/packages/chart/ChartFormItem.vue +241 -0
- package/src/frame/packages/chart/ChartLine.vue +317 -0
- package/src/frame/packages/chart/ChartPie.vue +384 -0
- package/src/frame/packages/chart/Funnel.vue +379 -0
- package/src/frame/packages/chart/ReportTable.vue +1139 -0
- package/src/frame/packages/chart/index.js +23 -0
- package/src/frame/packages/check-history/CheckHistory.vue +510 -0
- package/src/frame/packages/check-history/Steps.vue +213 -0
- package/src/frame/packages/check-history/index.js +8 -0
- package/src/frame/packages/component/Component.vue +16 -0
- package/src/frame/packages/component/index.js +8 -0
- package/src/frame/packages/contacts/Card.vue +133 -0
- package/src/frame/packages/contacts/Contacts.vue +167 -0
- package/src/frame/packages/contacts/index.js +8 -0
- package/src/frame/packages/edit-entity-list/EditEntityList.vue +108 -0
- package/src/frame/packages/entity-add-page/EntityAddPage.vue +100 -0
- package/src/frame/packages/entity-add-page/index.js +8 -0
- package/src/frame/packages/entity-apply-page/EntityApplyPage.vue +60 -0
- package/src/frame/packages/entity-apply-page/index.js +3 -0
- package/src/frame/packages/entity-list/Config.vue +275 -0
- package/src/frame/packages/entity-list/EntityList.scss +88 -0
- package/src/frame/packages/entity-list/EntityList.vue +2105 -0
- package/src/frame/packages/entity-list/Preview.vue +232 -0
- package/src/frame/packages/entity-list/components/EditField.vue +76 -0
- package/src/frame/packages/entity-list/components/Field.vue +166 -0
- package/src/frame/packages/entity-list/config.js +0 -0
- package/src/frame/packages/entity-list/index.js +20 -0
- package/src/frame/packages/entity-list-find/EntityListFind.vue +161 -0
- package/src/frame/packages/entity-list-find/index.js +8 -0
- package/src/frame/packages/entity-list-find-page/EntityListFindPage.vue +72 -0
- package/src/frame/packages/entity-list-find-page/index.js +8 -0
- package/src/frame/packages/entity-list-page/EntityListPage.vue +91 -0
- package/src/frame/packages/entity-list-page/index.js +8 -0
- package/src/frame/packages/entity-no-submit-sub-list/EntityNoSubmitSubList.vue +302 -0
- package/src/frame/packages/entity-no-submit-sub-list/index.js +8 -0
- package/src/frame/packages/entity-sub-grid/EntitySubGrid.vue +46 -0
- package/src/frame/packages/entity-sub-grid/EntitySubGridItem.vue +68 -0
- package/src/frame/packages/entity-sub-grid/index.js +13 -0
- package/src/frame/packages/entity-sub-list/EntitySubList.vue +418 -0
- package/src/frame/packages/entity-sub-list/index.js +8 -0
- package/src/frame/packages/entity-tree-find/EntitytTreeFind.vue +460 -0
- package/src/frame/packages/entity-tree-find/index.js +8 -0
- package/src/frame/packages/entity-tree-find-page/EntityTreeFindPage.vue +29 -0
- package/src/frame/packages/entity-tree-find-page/index.js +8 -0
- package/src/frame/packages/export/Export.vue +530 -0
- package/src/frame/packages/export/index.js +8 -0
- package/src/frame/packages/footer/Footer.vue +142 -0
- package/src/frame/packages/footer/index.js +3 -0
- package/src/frame/packages/form/Form.vue +611 -0
- package/src/frame/packages/form/index.js +8 -0
- package/src/frame/packages/form-item/CheckBox.vue +160 -0
- package/src/frame/packages/form-item/Color.vue +135 -0
- package/src/frame/packages/form-item/Date.vue +330 -0
- package/src/frame/packages/form-item/File.vue +712 -0
- package/src/frame/packages/form-item/FormItem.vue +464 -0
- package/src/frame/packages/form-item/Hidden.vue +55 -0
- package/src/frame/packages/form-item/Html.vue +291 -0
- package/src/frame/packages/form-item/Input.vue +320 -0
- package/src/frame/packages/form-item/Location.vue +313 -0
- package/src/frame/packages/form-item/Number.vue +217 -0
- package/src/frame/packages/form-item/Object.vue +1195 -0
- package/src/frame/packages/form-item/Password.vue +128 -0
- package/src/frame/packages/form-item/Photo.vue +362 -0
- package/src/frame/packages/form-item/Radio.vue +157 -0
- package/src/frame/packages/form-item/Rule.vue +989 -0
- package/src/frame/packages/form-item/Scope.vue +224 -0
- package/src/frame/packages/form-item/Select.vue +226 -0
- package/src/frame/packages/form-item/Signature.vue +242 -0
- package/src/frame/packages/form-item/Switch.vue +124 -0
- package/src/frame/packages/form-item/Tag.vue +216 -0
- package/src/frame/packages/form-item/Textarea.vue +279 -0
- package/src/frame/packages/form-item/index.js +45 -0
- package/src/frame/packages/grid/Grid.vue +70 -0
- package/src/frame/packages/grid/GridItem.vue +190 -0
- package/src/frame/packages/grid/index.js +13 -0
- package/src/frame/packages/header/Breadcrumb.vue +55 -0
- package/src/frame/packages/header/Header.vue +602 -0
- package/src/frame/packages/header/Preview.vue +252 -0
- package/src/frame/packages/header/index.js +16 -0
- package/src/frame/packages/icon/Icon.vue +47 -0
- package/src/frame/packages/icon/index.js +7 -0
- package/src/frame/packages/iframe/Iframe.vue +17 -0
- package/src/frame/packages/iframe/index.js +8 -0
- package/src/frame/packages/image/image.vue +23 -0
- package/src/frame/packages/import/Import.vue +832 -0
- package/src/frame/packages/import/index.js +8 -0
- package/src/frame/packages/layout/Column.vue +47 -0
- package/src/frame/packages/layout/ColumnPreview.vue +119 -0
- package/src/frame/packages/layout/Config.vue +114 -0
- package/src/frame/packages/layout/Layout.vue +62 -0
- package/src/frame/packages/layout/Preview.vue +111 -0
- package/src/frame/packages/layout/index.js +10 -0
- package/src/frame/packages/list/List.vue +426 -0
- package/src/frame/packages/list/index.js +8 -0
- package/src/frame/packages/list/visual/List.vue +349 -0
- package/src/frame/packages/load-page/LoadPage.vue +29 -0
- package/src/frame/packages/load-page/index.js +8 -0
- package/src/frame/packages/m-entity-add-page/MEntityAddPage.vue +100 -0
- package/src/frame/packages/m-entity-add-page/index.js +8 -0
- package/src/frame/packages/m-entity-list/MEntityList.vue +1083 -0
- package/src/frame/packages/m-entity-list/index.js +3 -0
- package/src/frame/packages/m-entity-list-find/MEntityListFind.vue +329 -0
- package/src/frame/packages/m-entity-list-find/Visual.vue +105 -0
- package/src/frame/packages/m-entity-list-find/index.js +3 -0
- package/src/frame/packages/m-entity-tree-find/MEntityTreeFind.vue +339 -0
- package/src/frame/packages/m-entity-tree-find/index.js +8 -0
- package/src/frame/packages/menu/Menu.vue +174 -0
- package/src/frame/packages/menu/MenuItem.vue +94 -0
- package/src/frame/packages/menu/index.js +16 -0
- package/src/frame/packages/menu-index/MenuIndex.vue +444 -0
- package/src/frame/packages/menu-index/index.js +8 -0
- package/src/frame/packages/mine/Mine.vue +404 -0
- package/src/frame/packages/module-index-page/ModuleIndexPage.vue +250 -0
- package/src/frame/packages/module-index-page/index.js +7 -0
- package/src/frame/packages/module-list/ModuleList.vue +222 -0
- package/src/frame/packages/module-list/index.js +8 -0
- package/src/frame/packages/module-list-page/ModuleListPage.vue +24 -0
- package/src/frame/packages/module-list-page/index.js +8 -0
- package/src/frame/packages/nav-add-form/NavAddForm.vue +626 -0
- package/src/frame/packages/nav-add-form/index.js +8 -0
- package/src/frame/packages/num/CardNum.vue +267 -0
- package/src/frame/packages/num/NumItem.vue +192 -0
- package/src/frame/packages/num/NumSubItem.vue +137 -0
- package/src/frame/packages/num/Statistic.vue +42 -0
- package/src/frame/packages/num/index.js +17 -0
- package/src/frame/packages/org-chart/OrgChart.vue +301 -0
- package/src/frame/packages/org-chart/index.js +8 -0
- package/src/frame/packages/page/Page.vue +322 -0
- package/src/frame/packages/page/index.js +8 -0
- package/src/frame/packages/page-help/PageHelp.vue +28 -0
- package/src/frame/packages/page-help/Preview.vue +35 -0
- package/src/frame/packages/page-help/index.js +8 -0
- package/src/frame/packages/page-tabs/PageTabs.vue +188 -0
- package/src/frame/packages/page-tabs/index.js +8 -0
- package/src/frame/packages/progress/Progress.vue +287 -0
- package/src/frame/packages/progress/ProgressItem.vue +39 -0
- package/src/frame/packages/progress/index.js +13 -0
- package/src/frame/packages/progress-chart/ProcessChart.vue +210 -0
- package/src/frame/packages/progress-chart/index.js +8 -0
- package/src/frame/packages/report-form-list/ReportFormList.vue +0 -0
- package/src/frame/packages/router-view/RouterView.vue +229 -0
- package/src/frame/packages/router-view/index.js +8 -0
- package/src/frame/packages/scope/Scope.vue +594 -0
- package/src/frame/packages/scope/ScopeDrawer.vue +201 -0
- package/src/frame/packages/scope/ScopeItem.vue +987 -0
- package/src/frame/packages/scope/index.js +15 -0
- package/src/frame/packages/search/Fields.vue +326 -0
- package/src/frame/packages/search/Filter.vue +473 -0
- package/src/frame/packages/search/Keyword.vue +106 -0
- package/src/frame/packages/search/Mobile.vue +314 -0
- package/src/frame/packages/search/Select.vue +238 -0
- package/src/frame/packages/search/index.js +22 -0
- package/src/frame/packages/step/Step.vue +149 -0
- package/src/frame/packages/step/index.js +8 -0
- package/src/frame/packages/step-item/StepItem.vue +126 -0
- package/src/frame/packages/step-item/index.js +8 -0
- package/src/frame/packages/tab-bar/Config.vue +11 -0
- package/src/frame/packages/tab-bar/TabBar.vue +25 -0
- package/src/frame/packages/tab-bar/index.js +3 -0
- package/src/frame/packages/text/Text.vue +25 -0
- package/src/frame/packages/text-editor/TextEditor.vue +22 -0
- package/src/frame/packages/title/Title.vue +21 -0
- package/src/frame/packages/title/index.js +8 -0
- package/src/frame/packages/visual-config-page/ComponentLibrary.vue +198 -0
- package/src/frame/packages/visual-config-page/ComponentList.vue +565 -0
- package/src/frame/packages/visual-config-page/ComponentPreview.vue +153 -0
- package/src/frame/packages/visual-config-page/ConfigOption.vue +16 -0
- package/src/frame/packages/visual-config-page/ConfigPanel.vue +576 -0
- package/src/frame/packages/visual-config-page/PagePreview.vue +53 -0
- package/src/frame/packages/visual-config-page/VisualConfigPage.vue +632 -0
- package/src/frame/packages/visual-config-page/index.js +24 -0
- package/src/frame/popup.js +31 -0
- package/src/frame/views/Add.vue +823 -0
- package/src/frame/views/App.vue +49 -0
- package/src/frame/views/AppRoleSelect.vue +272 -0
- package/src/frame/views/AppSubModule.vue +50 -0
- package/src/frame/views/BatchEdit.vue +206 -0
- package/src/frame/views/Bpmn.vue +553 -0
- package/src/frame/views/Container.vue +294 -0
- package/src/frame/views/DblogList.vue +348 -0
- package/src/frame/views/EntityCheckList.vue +164 -0
- package/src/frame/views/EntityCheckPage.vue +44 -0
- package/src/frame/views/EntityDetailPage.vue +75 -0
- package/src/frame/views/EntityEditApply.vue +136 -0
- package/src/frame/views/EntityEditPage.vue +13 -0
- package/src/frame/views/EntityFind.vue +135 -0
- package/src/frame/views/EntitySingleAdd.vue +31 -0
- package/src/frame/views/EntitySubListPage.vue +44 -0
- package/src/frame/views/EntityTreeFind.vue +188 -0
- package/src/frame/views/EntityTreePage.vue +37 -0
- package/src/frame/views/EntityTreePageOld.vue +536 -0
- package/src/frame/views/Error.vue +29 -0
- package/src/frame/views/ExcelDesign.vue +1795 -0
- package/src/frame/views/ExcelPreview.vue +173 -0
- package/src/frame/views/ExportPage.vue +19 -0
- package/src/frame/views/FormDesign.vue +1049 -0
- package/src/frame/views/IconFontLibraryPage.vue +74 -0
- package/src/frame/views/ImportPage.vue +19 -0
- package/src/frame/views/List.vue +955 -0
- package/src/frame/views/LocalLogin.vue +27 -0
- package/src/frame/views/Login.vue +1059 -0
- package/src/frame/views/MEntityListPage.vue +83 -0
- package/src/frame/views/MEntitySubListPage.vue +44 -0
- package/src/frame/views/MainModule.vue +83 -0
- package/src/frame/views/MenuIndex.vue +444 -0
- package/src/frame/views/MinePage.vue +18 -0
- package/src/frame/views/Module.vue +203 -0
- package/src/frame/views/ModuleIndex.vue +377 -0
- package/src/frame/views/PageAttriTree.vue +419 -0
- package/src/frame/views/PageAttributeTreePage.vue +424 -0
- package/src/frame/views/PageConfig.vue +218 -0
- package/src/frame/views/Permission.vue +695 -0
- package/src/frame/views/PersonalInfo.vue +659 -0
- package/src/frame/views/QyWechat.vue +69 -0
- package/src/frame/views/ReportFormList.vue +146 -0
- package/src/frame/views/ReportFormListPage.vue +91 -0
- package/src/frame/views/RoleTreePage.vue +180 -0
- package/src/frame/views/ServiceHelp.vue +177 -0
- package/src/frame/views/SubModule.vue +67 -0
- package/src/frame/views/SystemIndex.vue +105 -0
- package/src/frame/views/SystemTabs.vue +87 -0
- package/src/frame/views/TaskPage.vue +46 -0
- package/src/frame/views/client/AddForm.vue +64 -0
- package/src/frame/views/client/AppMarket.vue +345 -0
- package/src/frame/views/client/ClientIndex.vue +261 -0
- package/src/frame/views/client/ClientModuleIndexPage.vue +25 -0
- package/src/frame/views/client/CopySystem.vue +179 -0
- package/src/frame/views/client/CreateMethod.vue +133 -0
- package/src/frame/views/client/Login.vue +234 -0
- package/src/frame/views/client/OpenClientManage.vue +53 -0
- package/src/frame/views/client/PageTabsCyclic.vue +121 -0
- package/src/frame/views/client/SelfBuiltSystem.vue +272 -0
- package/src/frame/views/client/StandardProduct.vue +325 -0
- package/src/frame/views/client/SystemList.vue +160 -0
- package/src/frame/views/client/SystemManager.vue +346 -0
- package/src/frame/views/layout/CardList.vue +123 -0
- package/src/frame/views/layout/Grid.vue +95 -0
- package/src/frame/views/match/AddTargetField.vue +118 -0
- package/src/frame/views/match/MatchAddFormItem.vue +34 -0
- package/src/frame/views/match/conversion.vue +209 -0
- package/src/frame/views/match/customize.vue +344 -0
- package/src/frame/views/match/fieldMatch.vue +518 -0
- package/src/frame/views/report/AddFormItem.vue +67 -0
- package/src/frame/views/report/DesignReport.vue +1213 -0
- package/src/frame/views/report/LookReport.vue +221 -0
- package/src/frame/views/report/ReportAdd.vue +237 -0
- package/src/frame/views/report/ReportFormList.vue +235 -0
- package/src/frame/views/report/ReportList.vue +163 -0
- package/src/frame/views/report/ReportTreeFind.vue +188 -0
- package/src/frame/views/visual/Add.vue +1818 -0
- package/src/frame/views/visual/AddForm.vue +228 -0
- package/src/frame/views/visual/AddFormItem.vue +242 -0
- package/src/frame/views/visual/AppIndex.vue +149 -0
- package/src/frame/views/visual/ApplyForm.vue +142 -0
- package/src/frame/views/visual/AttributeList.vue +329 -0
- package/src/frame/views/visual/BasePage.vue +73 -0
- package/src/frame/views/visual/Button.vue +119 -0
- package/src/frame/views/visual/Card.vue +68 -0
- package/src/frame/views/visual/CardNum.vue +74 -0
- package/src/frame/views/visual/CategoryList.vue +566 -0
- package/src/frame/views/visual/Chart.vue +53 -0
- package/src/frame/views/visual/CheckForm.vue +106 -0
- package/src/frame/views/visual/CheckHistory.vue +28 -0
- package/src/frame/views/visual/ClientList.vue +42 -0
- package/src/frame/views/visual/CodeManage.vue +128 -0
- package/src/frame/views/visual/Component.vue +1142 -0
- package/src/frame/views/visual/ComponentList.vue +288 -0
- package/src/frame/views/visual/Config.vue +888 -0
- package/src/frame/views/visual/ConfigItem.vue +218 -0
- package/src/frame/views/visual/ConfigSelectItems.vue +521 -0
- package/src/frame/views/visual/CreatePage.vue +397 -0
- package/src/frame/views/visual/DblogList.vue +137 -0
- package/src/frame/views/visual/EntityAddPage.vue +52 -0
- package/src/frame/views/visual/EntityApplyPage.vue +57 -0
- package/src/frame/views/visual/EntityCheckPage.vue +69 -0
- package/src/frame/views/visual/EntityFindPage.vue +55 -0
- package/src/frame/views/visual/EntityList.vue +442 -0
- package/src/frame/views/visual/EntityListPage.vue +97 -0
- package/src/frame/views/visual/EntityNoSubmitSubList.vue +252 -0
- package/src/frame/views/visual/EntityRightSubList.vue +32 -0
- package/src/frame/views/visual/EntitySubAdd.vue +11 -0
- package/src/frame/views/visual/EntitySubGrid.vue +39 -0
- package/src/frame/views/visual/EntitySubGridItem.vue +96 -0
- package/src/frame/views/visual/EntitySubList.vue +298 -0
- package/src/frame/views/visual/EntityTreeFindPage.vue +36 -0
- package/src/frame/views/visual/EntityTreeManage.vue +144 -0
- package/src/frame/views/visual/EntityTreePage.vue +46 -0
- package/src/frame/views/visual/Grid.vue +46 -0
- package/src/frame/views/visual/GridItem.vue +41 -0
- package/src/frame/views/visual/HeaderNew.vue +326 -0
- package/src/frame/views/visual/Iframe.vue +32 -0
- package/src/frame/views/visual/Image.vue +49 -0
- package/src/frame/views/visual/Import.vue +59 -0
- package/src/frame/views/visual/InterfaceSubList.vue +23 -0
- package/src/frame/views/visual/Layout.vue +0 -0
- package/src/frame/views/visual/ListFirst.vue +613 -0
- package/src/frame/views/visual/LoadPage.vue +42 -0
- package/src/frame/views/visual/MEntityAddPage.vue +71 -0
- package/src/frame/views/visual/MEntityList.vue +472 -0
- package/src/frame/views/visual/MEntityListPage.vue +46 -0
- package/src/frame/views/visual/MEntitySubList.vue +237 -0
- package/src/frame/views/visual/MetaList.vue +23 -0
- package/src/frame/views/visual/Mine.vue +37 -0
- package/src/frame/views/visual/ModuleIndexPage.vue +68 -0
- package/src/frame/views/visual/ModuleList.vue +44 -0
- package/src/frame/views/visual/NavAddForm.vue +144 -0
- package/src/frame/views/visual/NavFormCatalogItem.vue +21 -0
- package/src/frame/views/visual/NumItem.vue +69 -0
- package/src/frame/views/visual/NumStatistic.vue +85 -0
- package/src/frame/views/visual/NumSubItem.vue +63 -0
- package/src/frame/views/visual/OrgChart.vue +121 -0
- package/src/frame/views/visual/PageCatalog.vue +26 -0
- package/src/frame/views/visual/PageConfig.vue +278 -0
- package/src/frame/views/visual/PageTabs.vue +54 -0
- package/src/frame/views/visual/ProcessChart.vue +24 -0
- package/src/frame/views/visual/Progress.vue +39 -0
- package/src/frame/views/visual/ProgressItem.vue +43 -0
- package/src/frame/views/visual/Text.vue +36 -0
- package/src/frame/views/visual/TextEditor.vue +36 -0
- package/src/frame/views/visual/Title.vue +44 -0
- package/src/frame/views/visual/TodoList.vue +18 -0
- package/src/frame/views/visual/TreeFind.vue +39 -0
- package/src/frame/views/visual/UserFormItem.vue +50 -0
- package/src/frame/views/visual/UserManage.vue +36 -0
- package/src/frame/views/visual/chart/CircularPie.vue +7 -0
- package/src/frame/views/visual/chart/Column.vue +73 -0
- package/src/frame/views/visual/chart/HoriColumn.vue +7 -0
- package/src/frame/views/visual/chart/Line.vue +7 -0
- package/src/frame/views/visual/chart/Pie.vue +7 -0
- package/src/frame/views/visual/config/Chart.vue +136 -0
- package/src/frame/views/visual/config/Color.vue +39 -0
- package/src/frame/views/visual/config/DesignReport.vue +20 -0
- package/src/frame/views/visual/config/Event.vue +218 -0
- package/src/frame/views/visual/config/Field.vue +494 -0
- package/src/frame/views/visual/config/Html.vue +26 -0
- package/src/frame/views/visual/config/Image.vue +118 -0
- package/src/frame/views/visual/config/Input.vue +52 -0
- package/src/frame/views/visual/config/List.vue +63 -0
- package/src/frame/views/visual/config/ListField.vue +1229 -0
- package/src/frame/views/visual/config/MField.vue +594 -0
- package/src/frame/views/visual/config/Number.vue +36 -0
- package/src/frame/views/visual/config/Object.vue +106 -0
- package/src/frame/views/visual/config/Operate.vue +1657 -0
- package/src/frame/views/visual/config/OrderField.vue +507 -0
- package/src/frame/views/visual/config/Page.vue +44 -0
- package/src/frame/views/visual/config/Params.vue +104 -0
- package/src/frame/views/visual/config/Radio.vue +54 -0
- package/src/frame/views/visual/config/Row.vue +64 -0
- package/src/frame/views/visual/config/Scope.vue +314 -0
- package/src/frame/views/visual/config/Select.vue +54 -0
- package/src/frame/views/visual/config/Switch.vue +36 -0
- package/src/frame/views/visual/config/Textarea.vue +38 -0
- package/src/frame/views/visual/config/Tree.vue +111 -0
- package/src/frame/views/visual/search/Fields.vue +52 -0
- package/src/frame/views/visual/search/Filter.vue +50 -0
- package/src/frame/views/visual/search/Mobile.vue +54 -0
- package/src/frame/views/visual/step/Index.vue +11 -0
- package/src/frame/views/visual/step/Item.vue +157 -0
- package/src/index.js +369 -0
- package/src/main.js +54 -0
- package/src/plugins/element.js +167 -0
- package/src/plugins/frame.js +12 -0
- package/src/plugins/i18n.js +51 -0
- package/src/plugins/index.js +11 -0
- package/src/plugins/oa.js +3 -0
- package/src/plugins/vant.js +80 -0
- package/src/product/oa/components/AddForm.vue +87 -0
- package/src/product/oa/components/MeetingAddForm.vue +85 -0
- package/src/product/oa/components/MeetingExport.vue +422 -0
- package/src/product/oa/components/MeetingRoomUse.vue +371 -0
- package/src/product/oa/index.js +31 -0
- package/src/registerServiceWorker.js +32 -0
- package/src/router/config.js +416 -0
- package/src/router/index.js +26 -0
- package/src/store/actions.js +46 -0
- package/src/store/export.js +23 -0
- package/src/store/index.js +17 -0
- package/src/store/modules/config.js +201 -0
- package/src/store/modules/file.js +32 -0
- package/src/store/modules/index.js +9 -0
- package/src/store/modules/list.js +130 -0
- package/src/store/modules/meta.js +210 -0
- package/src/store/modules/page.js +75 -0
- package/src/store/modules/router.js +140 -0
- package/src/store/modules/tabs.js +62 -0
- package/src/store/modules/user.js +71 -0
- package/src/styles/index.scss +143 -0
- package/src/styles/theme/element.scss +240 -0
- package/src/styles/theme/utils/config.scss +4 -0
- package/src/styles/theme/utils/function.scss +44 -0
- package/src/styles/theme/utils/mixins.scss +317 -0
- package/src/styles/theme/utils/var.scss +112 -0
- package/src/utils/Config.js +25 -0
- package/src/utils/axios.js +121 -0
- package/src/utils/chartTheme.js +471 -0
- package/src/utils/directives/global.js +127 -0
- package/src/utils/fieldFactory.js +147 -0
- package/src/utils/index.js +21 -0
- package/src/utils/loadComponent.js +39 -0
- package/src/utils/meta.js +355 -0
- package/src/utils/mixins/component.js +368 -0
- package/src/utils/mixins/global.js +985 -0
- package/src/utils/mixins/index.js +11 -0
- package/src/utils/page.js +126 -0
- package/src/utils/util.js +381 -0
- package/src/vant-variables.less +1 -0
- package/src/vue.bus.js +18 -0
- package/start-code-dev.sh +24 -0
- package/start-code-pgy.sh +25 -0
- package/start-code-ppe.sh +23 -0
- package/start-code-prd.sh +25 -0
- package/start-code-pre.sh +25 -0
- package/vue.config.js +101 -0
- package/webpack.config.js +97 -0
|
@@ -0,0 +1,985 @@
|
|
|
1
|
+
import { mapGetters, mapState } from 'vuex'
|
|
2
|
+
import { CREATE_TAB } from '@/store/actions'
|
|
3
|
+
|
|
4
|
+
window.openedPopup = []
|
|
5
|
+
const openedPopup = window.openedPopup
|
|
6
|
+
function broadcast (componentName, eventName, params) {
|
|
7
|
+
this.$children.forEach(child => {
|
|
8
|
+
var name = child.$options.componentName
|
|
9
|
+
|
|
10
|
+
if (name === componentName) {
|
|
11
|
+
child.$emit.apply(child, [eventName].concat(params))
|
|
12
|
+
} else {
|
|
13
|
+
broadcast.apply(child, [componentName, eventName].concat([params]))
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
}
|
|
17
|
+
function broadcastCom (componentName, eventName, params) {
|
|
18
|
+
this.$children.forEach(child => {
|
|
19
|
+
var name = child.$options.name
|
|
20
|
+
if (name === 'epx-' + componentName) {
|
|
21
|
+
child.$emit.apply(child, [eventName].concat(params))
|
|
22
|
+
} else {
|
|
23
|
+
broadcastCom.apply(child, [componentName, eventName].concat([params]))
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
function getComponentById (id) {
|
|
28
|
+
let _child = null
|
|
29
|
+
for (let i = 0; i < this.$children.length; i++) {
|
|
30
|
+
const child = this.$children[i]
|
|
31
|
+
const childId = child.$props.compId
|
|
32
|
+
if (childId === id) {
|
|
33
|
+
_child = child
|
|
34
|
+
} else {
|
|
35
|
+
_child = getComponentById.apply(child, [id])
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (_child) return _child
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function findNavId (menus = [], menuId) {
|
|
42
|
+
for (let i = 0; i < menus.length; i++) {
|
|
43
|
+
const menu = menus[i]
|
|
44
|
+
if (menu.ID === menuId) {
|
|
45
|
+
return menu
|
|
46
|
+
} else {
|
|
47
|
+
if (menu.children) {
|
|
48
|
+
const activeMenu = findNavId(menu.children, menuId)
|
|
49
|
+
if (activeMenu) return activeMenu
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function formatI18nConfig (configs, language, level = 1) {
|
|
56
|
+
if (level > 2) return
|
|
57
|
+
for (const key in configs) {
|
|
58
|
+
if (configs[key]) {
|
|
59
|
+
if (Array.isArray(configs[key])) {
|
|
60
|
+
configs[key].map(item => {
|
|
61
|
+
formatI18nConfig(item, language, level + 1)
|
|
62
|
+
})
|
|
63
|
+
} else if (key.includes('.i18n')) {
|
|
64
|
+
const defaultKey = key.replace(/.i18n/, '')
|
|
65
|
+
configs[defaultKey] = configs[key][language] || configs[defaultKey]
|
|
66
|
+
} else if (typeof configs[key] === 'object') {
|
|
67
|
+
formatI18nConfig(configs[key], language, level + 1)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return configs
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export default {
|
|
75
|
+
props: {
|
|
76
|
+
// 当前页面信息
|
|
77
|
+
page: {
|
|
78
|
+
type: Object,
|
|
79
|
+
default () {
|
|
80
|
+
return {}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
// 当前对象元数据信息
|
|
84
|
+
meta: {
|
|
85
|
+
type: Object,
|
|
86
|
+
default () {
|
|
87
|
+
return {}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
// 当前查询参数
|
|
91
|
+
queryParams: {
|
|
92
|
+
type: Object,
|
|
93
|
+
default () {
|
|
94
|
+
return {}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
// 当前路由信息
|
|
98
|
+
currentRoute: {
|
|
99
|
+
type: Object
|
|
100
|
+
},
|
|
101
|
+
// 当前路由参数
|
|
102
|
+
currentQuery: {
|
|
103
|
+
type: Object,
|
|
104
|
+
default () {
|
|
105
|
+
return {}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
compConfigs: {
|
|
109
|
+
type: Object,
|
|
110
|
+
default () {
|
|
111
|
+
return {}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
id: {
|
|
115
|
+
type: [String, Number]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
inject: {
|
|
119
|
+
createRoute: {
|
|
120
|
+
default: null
|
|
121
|
+
},
|
|
122
|
+
destoryRoute: {
|
|
123
|
+
default: null
|
|
124
|
+
},
|
|
125
|
+
reloadRoute: {
|
|
126
|
+
default: null
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
computed: {
|
|
130
|
+
...mapState({
|
|
131
|
+
clientConfig: state => state.config.clientConfig || {},
|
|
132
|
+
appConfig: state => state.config.appConfig || {}, // 应用配置
|
|
133
|
+
appMenus: state => state.config.appMenus,
|
|
134
|
+
$screen: state => state.config.screen || {}, // 屏幕信息
|
|
135
|
+
$tabs: state => state.tabs.tabs, // 标签页
|
|
136
|
+
metas: state => state.meta.metas, // 元数据信息集合
|
|
137
|
+
user: state => state.user.user, // 用户信息
|
|
138
|
+
userInfo: state => state.user.userInfo, // 用户信息
|
|
139
|
+
currentMenu: state => state.config.currentMenu // 当前导航菜单
|
|
140
|
+
}),
|
|
141
|
+
...mapGetters([
|
|
142
|
+
'getMeta'
|
|
143
|
+
]),
|
|
144
|
+
CLIENT () {
|
|
145
|
+
const { CLIENT: queryClient } = this.$query
|
|
146
|
+
const { CLIENT: tabClient } = this.$tab
|
|
147
|
+
const { client: routeClient } = this.$route.query
|
|
148
|
+
const { client: userClient } = this.user
|
|
149
|
+
const { CLIENT: appClient } = this.appConfig
|
|
150
|
+
return queryClient || tabClient || routeClient || userClient || appClient
|
|
151
|
+
},
|
|
152
|
+
SYSTEM () {
|
|
153
|
+
const { SYSTEM: querySystem } = this.$query
|
|
154
|
+
const { SYSTEM: tabSystem } = this.$tab
|
|
155
|
+
const { system: routeSystem } = this.$route.query
|
|
156
|
+
const { SYSTEM: appSystem } = this.appConfig
|
|
157
|
+
return querySystem || tabSystem || routeSystem || appSystem
|
|
158
|
+
},
|
|
159
|
+
/**
|
|
160
|
+
* 选中标签页
|
|
161
|
+
*/
|
|
162
|
+
$activeTab () {
|
|
163
|
+
return this.$tabs.find(item => item.active) || {}
|
|
164
|
+
},
|
|
165
|
+
$meta () {
|
|
166
|
+
return this.getMeta(this.$metaId) || this.meta
|
|
167
|
+
},
|
|
168
|
+
$tab () {
|
|
169
|
+
if (this.$getTab) return this.$getTab()
|
|
170
|
+
return this.$activeTab || {}
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* 标签页参数
|
|
174
|
+
*/
|
|
175
|
+
$tabQuery () {
|
|
176
|
+
return this.$tabs.find(item => item.active) || {}
|
|
177
|
+
},
|
|
178
|
+
$parentQuery () {
|
|
179
|
+
const componentName = 'routerView'
|
|
180
|
+
let query = {}
|
|
181
|
+
let point = null // 指针
|
|
182
|
+
var parent = this.$parent || this.$root
|
|
183
|
+
var index = 0
|
|
184
|
+
while (parent) {
|
|
185
|
+
parent = parent.$parent
|
|
186
|
+
if (parent && parent.$options.componentName === componentName) {
|
|
187
|
+
if (index > 0) {
|
|
188
|
+
if (parent && parent.routes) {
|
|
189
|
+
if (!point) {
|
|
190
|
+
query = parent.routes[parent.routes.length - 1] || {}
|
|
191
|
+
point = query
|
|
192
|
+
} else {
|
|
193
|
+
point.$parentQuery = parent.routes[parent.routes.length - 1] || {}
|
|
194
|
+
point = point.$parentQuery
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
index++
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return query
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
* 当前对象Id
|
|
205
|
+
*/
|
|
206
|
+
$metaId () {
|
|
207
|
+
const { metaId: defaultMetaId } = this.$query
|
|
208
|
+
let { metaId = defaultMetaId } = this.page || {}
|
|
209
|
+
if (this.meta && this.meta.id) {
|
|
210
|
+
metaId = this.meta.getId()
|
|
211
|
+
}
|
|
212
|
+
return metaId
|
|
213
|
+
},
|
|
214
|
+
/***
|
|
215
|
+
* 当前页面Id
|
|
216
|
+
*/
|
|
217
|
+
$pageId () {
|
|
218
|
+
const { pageId: defaultPageId } = this.$query
|
|
219
|
+
const { pageId = defaultPageId } = this.page || {}
|
|
220
|
+
return pageId
|
|
221
|
+
},
|
|
222
|
+
/**
|
|
223
|
+
* 当前页面参数
|
|
224
|
+
*/
|
|
225
|
+
$query () {
|
|
226
|
+
// 获取该组件是否是页面
|
|
227
|
+
// 获取路由参数
|
|
228
|
+
const { query = {} } = this.$route
|
|
229
|
+
if (!this.$_.isEmpty(this.currentQuery)) {
|
|
230
|
+
const currentQuery = this.currentQuery || {}
|
|
231
|
+
return { ...query, ...currentQuery }
|
|
232
|
+
} else {
|
|
233
|
+
// 获取上级页面
|
|
234
|
+
if (this.upPage) {
|
|
235
|
+
const currentQuery = this.upPage.currentQuery || {}
|
|
236
|
+
return { ...query, ...currentQuery }
|
|
237
|
+
}
|
|
238
|
+
return {}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
/**
|
|
242
|
+
* 获取业务主键
|
|
243
|
+
*/
|
|
244
|
+
$metaKey () {
|
|
245
|
+
if (this.meta && this.meta.id) {
|
|
246
|
+
return this.meta.getKey() || 'ID'
|
|
247
|
+
} else if (this.$meta && this.$meta.id) {
|
|
248
|
+
return this.$meta.getKey() || 'ID'
|
|
249
|
+
}
|
|
250
|
+
return 'ID'
|
|
251
|
+
},
|
|
252
|
+
/**
|
|
253
|
+
* 是否是移动端
|
|
254
|
+
*/
|
|
255
|
+
$isMobile () {
|
|
256
|
+
if (this.$screen) {
|
|
257
|
+
const { width } = this.$screen
|
|
258
|
+
return width <= 992
|
|
259
|
+
}
|
|
260
|
+
return false
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
data () {
|
|
264
|
+
return {
|
|
265
|
+
/**
|
|
266
|
+
* 页面配置
|
|
267
|
+
*/
|
|
268
|
+
pageConfig: {},
|
|
269
|
+
/**
|
|
270
|
+
* 组件配置
|
|
271
|
+
*/
|
|
272
|
+
configs: {},
|
|
273
|
+
/**
|
|
274
|
+
* 组件默认配置
|
|
275
|
+
*/
|
|
276
|
+
$defaultConfigs: {},
|
|
277
|
+
httpLoading: {}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
watch: {
|
|
281
|
+
|
|
282
|
+
},
|
|
283
|
+
methods: {
|
|
284
|
+
/**
|
|
285
|
+
* 方法
|
|
286
|
+
*/
|
|
287
|
+
async $handler (buttonConfigs, row) {
|
|
288
|
+
const { handler, actionOption, actionOptionMsg, beforeTrigger } = buttonConfigs
|
|
289
|
+
// 通用处理
|
|
290
|
+
let selections = []
|
|
291
|
+
// 检测是否选中元素
|
|
292
|
+
if (row) {
|
|
293
|
+
selections = [{ ...row }]
|
|
294
|
+
} else {
|
|
295
|
+
if (this.selection) selections = [...this.selection]
|
|
296
|
+
}
|
|
297
|
+
// 验证接口是否符合条件
|
|
298
|
+
for (let i = 0; i < selections.length; i++) {
|
|
299
|
+
// eslint-disable-next-line no-unused-vars
|
|
300
|
+
const data = selections[0]
|
|
301
|
+
// eslint-disable-next-line no-eval
|
|
302
|
+
if (actionOption && selections.length === 1 && !eval(actionOption)) {
|
|
303
|
+
this.$message.error(actionOptionMsg || '对不起,不能执行该操作!')
|
|
304
|
+
return
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
let result = true
|
|
308
|
+
if (beforeTrigger) {
|
|
309
|
+
result = this.executeCustomJs(beforeTrigger, {}, row)
|
|
310
|
+
if (result instanceof Promise) {
|
|
311
|
+
return result.then(flag => {
|
|
312
|
+
if (flag) this[handler](buttonConfigs, row)
|
|
313
|
+
})
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
if (result) this[handler](buttonConfigs, row)
|
|
317
|
+
},
|
|
318
|
+
/**
|
|
319
|
+
* 执行自定义JS
|
|
320
|
+
*/
|
|
321
|
+
executeCustomJs (functionName, ...args) {
|
|
322
|
+
let pageEvents = {}
|
|
323
|
+
if (this.isPage) {
|
|
324
|
+
pageEvents = this.pageEvents
|
|
325
|
+
} else {
|
|
326
|
+
pageEvents = this.upPage.pageEvents
|
|
327
|
+
}
|
|
328
|
+
if (functionName && pageEvents[functionName]) {
|
|
329
|
+
return pageEvents[functionName].call(this, ...args)
|
|
330
|
+
} else {
|
|
331
|
+
return true
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
customJs ({ function: functionName, ...otherConfigs }, row) {
|
|
335
|
+
this.executeCustomJs(functionName, row || otherConfigs, otherConfigs)
|
|
336
|
+
},
|
|
337
|
+
/**
|
|
338
|
+
* @param pageId 页面id
|
|
339
|
+
* @param metaId 对象id
|
|
340
|
+
* @param flag 页面标识符
|
|
341
|
+
*
|
|
342
|
+
*/
|
|
343
|
+
$createPage ({ type = 'push', newWindow = false, openType = '3', menuId, callback, query = {}, children = [], ...props }) {
|
|
344
|
+
if (menuId) {
|
|
345
|
+
// 查找当前应用菜单,跳转并选中菜单
|
|
346
|
+
let navId = null
|
|
347
|
+
const activeMenuPageId = props.pageId
|
|
348
|
+
let pageId = ''
|
|
349
|
+
|
|
350
|
+
for (let i = 0; i < this.appMenus.length; i++) {
|
|
351
|
+
const item = this.appMenus[i]
|
|
352
|
+
if (item.ID === menuId) {
|
|
353
|
+
navId = item.parent
|
|
354
|
+
pageId = item.MAIN_PAGE
|
|
355
|
+
break
|
|
356
|
+
} else {
|
|
357
|
+
const menu = findNavId(item.children, menuId)
|
|
358
|
+
if (menu) {
|
|
359
|
+
navId = menu.parent
|
|
360
|
+
pageId = menu.MAIN_PAGE
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
const moduleId = navId || menuId
|
|
365
|
+
const module = findNavId(this.appMenus, moduleId)
|
|
366
|
+
delete props.pageId
|
|
367
|
+
const params = {
|
|
368
|
+
key: 'default-' + moduleId,
|
|
369
|
+
...props,
|
|
370
|
+
openType: '1',
|
|
371
|
+
component: 'module-index-page',
|
|
372
|
+
moduleId: moduleId,
|
|
373
|
+
activeMenuId: menuId,
|
|
374
|
+
activeMenuPageId: activeMenuPageId || pageId
|
|
375
|
+
}
|
|
376
|
+
if (module.MAIN_PAGE) params.pageId = module.MAIN_PAGE
|
|
377
|
+
this.$store.commit(CREATE_TAB, params)
|
|
378
|
+
} else if (openType === '1') {
|
|
379
|
+
const router = {
|
|
380
|
+
...props,
|
|
381
|
+
...query
|
|
382
|
+
}
|
|
383
|
+
this.$store.commit(CREATE_TAB, router)
|
|
384
|
+
// 打开弹窗
|
|
385
|
+
} else if (openType === '2') {
|
|
386
|
+
const length = openedPopup.length
|
|
387
|
+
const popup = this.$popup({
|
|
388
|
+
openType,
|
|
389
|
+
callback,
|
|
390
|
+
tab: this.$tab,
|
|
391
|
+
opener: this,
|
|
392
|
+
$refesh: () => {
|
|
393
|
+
this.$refesh && this.$refesh()
|
|
394
|
+
},
|
|
395
|
+
...props
|
|
396
|
+
})
|
|
397
|
+
if (newWindow || length === 0) {
|
|
398
|
+
openedPopup.push(popup)
|
|
399
|
+
} else {
|
|
400
|
+
openedPopup.push(popup)
|
|
401
|
+
// openedPopup.splice(length - 1, 1, popup)
|
|
402
|
+
}
|
|
403
|
+
} else if (openType === '4') {
|
|
404
|
+
// 打开新页面
|
|
405
|
+
// 如果是微信浏览器
|
|
406
|
+
window.open(location.pathname + `#/page/${props.moduleId}?FM_SYS_ID=${this.$util.getSysId()}`)
|
|
407
|
+
} else {
|
|
408
|
+
if (query) {
|
|
409
|
+
this.$router.replace({
|
|
410
|
+
name: this.$route.name,
|
|
411
|
+
params: this.$route.params,
|
|
412
|
+
query: query
|
|
413
|
+
})
|
|
414
|
+
} else {
|
|
415
|
+
this.$router.replace({
|
|
416
|
+
name: this.$route.name,
|
|
417
|
+
params: this.$route.params,
|
|
418
|
+
query: {}
|
|
419
|
+
})
|
|
420
|
+
}
|
|
421
|
+
window.history.pushState('forward', null)
|
|
422
|
+
window.history.forward(1)
|
|
423
|
+
this.dispatch('routerView', 'createPage', { type, callback, ...props, ...query })
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
$checkRight (rightCode) {
|
|
427
|
+
if (!rightCode) return true
|
|
428
|
+
const { currentRoleId = '', roleRightCodes = {} } = this.user
|
|
429
|
+
const currentRoleRightCodes = roleRightCodes[currentRoleId] || {}
|
|
430
|
+
return currentRoleRightCodes[rightCode]
|
|
431
|
+
},
|
|
432
|
+
$checkOperateRight ({ action, metaId }) {
|
|
433
|
+
if (!action) return true
|
|
434
|
+
const { entityApiMap = {} } = this.user
|
|
435
|
+
const operateRights = entityApiMap[metaId || this.$metaId] || []
|
|
436
|
+
return operateRights.includes(action)
|
|
437
|
+
},
|
|
438
|
+
// 返回方法
|
|
439
|
+
backPage ({ reload, callback } = {}) {
|
|
440
|
+
const { callback: backCallBack } = this.$query
|
|
441
|
+
const callbackFn = callback || backCallBack
|
|
442
|
+
if (this.$query.openType === '2') {
|
|
443
|
+
// 如果是弹窗就销毁
|
|
444
|
+
const length = openedPopup.length
|
|
445
|
+
const popup = openedPopup[length - 1]
|
|
446
|
+
if (popup) {
|
|
447
|
+
popup.close(true, callbackFn)
|
|
448
|
+
openedPopup.pop()
|
|
449
|
+
if (reload) {
|
|
450
|
+
if (popup.opener) popup.opener.dispatch('routerView', 'reloadPage')
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
} else {
|
|
454
|
+
if (reload) {
|
|
455
|
+
this.dispatch('routerView', 'reloadPage')
|
|
456
|
+
}
|
|
457
|
+
this.dispatch('routerView', 'destoryPage', function () {
|
|
458
|
+
if (this.$refesh) this.$refesh()
|
|
459
|
+
})
|
|
460
|
+
if (callbackFn) callbackFn()
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
backReloadPage () {
|
|
464
|
+
this.backPage({ reload: true })
|
|
465
|
+
},
|
|
466
|
+
backGoPage (...props) {
|
|
467
|
+
this.backPage({
|
|
468
|
+
callback () {
|
|
469
|
+
this.goPage(...props)
|
|
470
|
+
}
|
|
471
|
+
})
|
|
472
|
+
},
|
|
473
|
+
reloadPage () {
|
|
474
|
+
this.dispatch('routerView', 'reloadPage')
|
|
475
|
+
},
|
|
476
|
+
commonRuleAction (...props) {
|
|
477
|
+
this.commonAction(...props)
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
* 通用请求
|
|
481
|
+
* @param action 请求命令
|
|
482
|
+
* @param rule 请求业务规则
|
|
483
|
+
* @param metaId 请求对象,默认为当前页面对象
|
|
484
|
+
* @param num 选中记录数(1,必须选中且只能选中一条记录;n:必须选中至少一条记录;0不需要选中记录)
|
|
485
|
+
* @param comfirmMsg 操作提交之前的确认信息(如果为空,就不需要确认)
|
|
486
|
+
* @param params #[列表对象的某字段名]",(如果是选中的多条记录,将字段值拼成一个字符串,用逗号隔开) "$[当前页面的某变量名]"
|
|
487
|
+
* @param successMsg 操作成功的提示
|
|
488
|
+
* @param failMsg 操作失败的提示
|
|
489
|
+
* @param row 操作的列
|
|
490
|
+
*/
|
|
491
|
+
commonAction ({ action, rule, metaId = (this.$metaId), num = 0, confirmMsg = null, mask = false, params = {}, successMsg = '处理成功', failMsg = '处理失败', afterTrigger, afterTriggerPage, afterTriggerParams }, row) {
|
|
492
|
+
// eslint-disable-next-line no-unused-vars
|
|
493
|
+
const that = this
|
|
494
|
+
const formatParams = {}
|
|
495
|
+
const _params = { ...params }
|
|
496
|
+
let selections = []
|
|
497
|
+
// 检测是否选中元素
|
|
498
|
+
if (row) {
|
|
499
|
+
selections = [{ ...row }]
|
|
500
|
+
} else {
|
|
501
|
+
if (this.selection) selections = [...this.selection]
|
|
502
|
+
}
|
|
503
|
+
if (selections.length === 0) {
|
|
504
|
+
if (num !== 0 && num !== '0') {
|
|
505
|
+
this.$message.error(this.$t('please select a record'))
|
|
506
|
+
return
|
|
507
|
+
}
|
|
508
|
+
} else if (selections.length > 1) {
|
|
509
|
+
if (num === 1 || num === '1') {
|
|
510
|
+
this.$message.error(this.$t('Only one record can be selected'))
|
|
511
|
+
return
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
if (!_params.id) {
|
|
516
|
+
_params.id = `#[${this.$metaKey}]`
|
|
517
|
+
}
|
|
518
|
+
// 格式化params
|
|
519
|
+
for (const key in _params) {
|
|
520
|
+
let value = _params[key]
|
|
521
|
+
if (/\$\[(.+)\]/.test(_params[key])) {
|
|
522
|
+
try {
|
|
523
|
+
const valueKey = _params[key].replace(/\$\[(.+)\]/, (match, key) => key)
|
|
524
|
+
// eslint-disable-next-line no-eval
|
|
525
|
+
value = eval(`that.${valueKey}`) || eval(`that.$query.${valueKey}`) || eval(`that.$tab.${valueKey}`) || ''
|
|
526
|
+
} catch (err) {
|
|
527
|
+
value = ''
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
if (/#\[(.+)\]/.test(_params[key])) {
|
|
531
|
+
value = _params[key].replace(/#\[(.+)\]/, (match, key) => {
|
|
532
|
+
const values = selections.map(item => item[key] || '')
|
|
533
|
+
return values.join(',')
|
|
534
|
+
})
|
|
535
|
+
}
|
|
536
|
+
formatParams[key] = value
|
|
537
|
+
}
|
|
538
|
+
// 提交方法
|
|
539
|
+
const submitFn = () => {
|
|
540
|
+
if (this.httpLoading[`common-${action}`]) {
|
|
541
|
+
return this.$message.error('正在提交,请稍后...')
|
|
542
|
+
}
|
|
543
|
+
this.httpLoading[`common-${action}`] = true
|
|
544
|
+
let loading = null
|
|
545
|
+
if (mask) {
|
|
546
|
+
loading = this.$loading({
|
|
547
|
+
target: this.upPage ? this.upPage.$el : this.$el,
|
|
548
|
+
background: 'rgba(255, 255, 255, 0.5)',
|
|
549
|
+
text: '正在操作,请稍后...'
|
|
550
|
+
})
|
|
551
|
+
}
|
|
552
|
+
const timer = setTimeout(() => {
|
|
553
|
+
this.httpLoading[`common-${action}`] = false
|
|
554
|
+
clearTimeout(timer)
|
|
555
|
+
}, 2000)
|
|
556
|
+
this.$http.$post({
|
|
557
|
+
action,
|
|
558
|
+
rule,
|
|
559
|
+
entityId: metaId,
|
|
560
|
+
...formatParams
|
|
561
|
+
})
|
|
562
|
+
.then((res) => {
|
|
563
|
+
// 如果存在下一个事件,执行下一个事件
|
|
564
|
+
const _afterTriggerParams = { ...afterTriggerParams }
|
|
565
|
+
for (const key in _afterTriggerParams) {
|
|
566
|
+
let value = _afterTriggerParams[key]
|
|
567
|
+
if (/\$\[res\.(.+)\]/.test(_afterTriggerParams[key])) {
|
|
568
|
+
try {
|
|
569
|
+
const valueKey = _afterTriggerParams[key].replace(/\$\[res\.(.+)\]/, (match, key) => key)
|
|
570
|
+
// eslint-disable-next-line no-eval
|
|
571
|
+
value = eval(`res.${valueKey}`) || ''
|
|
572
|
+
} catch (err) {
|
|
573
|
+
console.error(err)
|
|
574
|
+
value = ''
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
_afterTriggerParams[key] = value
|
|
578
|
+
}
|
|
579
|
+
this.$message.success(successMsg)
|
|
580
|
+
if (afterTrigger) {
|
|
581
|
+
this[afterTrigger]({ pageId: afterTriggerPage, params: _afterTriggerParams })
|
|
582
|
+
} else {
|
|
583
|
+
if (this.reloadData) this.reloadData()
|
|
584
|
+
}
|
|
585
|
+
})
|
|
586
|
+
.catch(err => {
|
|
587
|
+
this.$message.error(err.message || failMsg)
|
|
588
|
+
})
|
|
589
|
+
.finally(() => {
|
|
590
|
+
this.httpLoading[`common-${action}`] = false
|
|
591
|
+
if (loading) loading.close()
|
|
592
|
+
})
|
|
593
|
+
}
|
|
594
|
+
// 判断是否需要确认弹窗
|
|
595
|
+
if (confirmMsg) {
|
|
596
|
+
this.$confirm(confirmMsg, this.$t('hint'), {
|
|
597
|
+
confirmButtonText: this.$t('determine'),
|
|
598
|
+
cancelButtonText: this.$t('cancel'),
|
|
599
|
+
type: 'warning'
|
|
600
|
+
}).then(() => {
|
|
601
|
+
submitFn()
|
|
602
|
+
})
|
|
603
|
+
} else {
|
|
604
|
+
submitFn()
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
/**
|
|
608
|
+
* 页面跳转
|
|
609
|
+
* @param num 选中记录数(1,必须选中且只能选中一条记录;n:必须选中至少一条记录;0不需要选中记录)
|
|
610
|
+
* @param pageFlag 目标页面的标识符
|
|
611
|
+
* @param metaId 目标页面的对象
|
|
612
|
+
* @param openMode 打开方式
|
|
613
|
+
* @param params #[列表对象的某字段名]",(如果是选中的多条记录,将字段值拼成一个字符串,用逗号隔开) "$[当前页面的某变量名]"
|
|
614
|
+
* @param comfirmMsg 操作提交之前的确认信息(如果为空,就不需要确认)
|
|
615
|
+
*/
|
|
616
|
+
goPage ({ type, pageFlag, metaId = this.$metaId, num = 0, openMode = '3', component, pageId, menuId, pageType, confirmMsg = null, params = {} }, row) {
|
|
617
|
+
// eslint-disable-next-line no-unused-vars
|
|
618
|
+
const that = this
|
|
619
|
+
let selections = []
|
|
620
|
+
const formatParams = {}
|
|
621
|
+
const _params = { ...params }
|
|
622
|
+
// 检测是否选中元素
|
|
623
|
+
if (row) {
|
|
624
|
+
selections = [{ ...row }]
|
|
625
|
+
} else {
|
|
626
|
+
if (this.selection) selections = [...this.selection]
|
|
627
|
+
}
|
|
628
|
+
if (selections.length === 0) {
|
|
629
|
+
if (num !== 0 && num !== '0') {
|
|
630
|
+
this.$message.error('请选择一个记录')
|
|
631
|
+
return
|
|
632
|
+
}
|
|
633
|
+
} else if (selections.length > 1) {
|
|
634
|
+
if (num === 1 || num === '1') {
|
|
635
|
+
this.$message.error('只能选择一个记录')
|
|
636
|
+
return
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
if (!_params.id) {
|
|
640
|
+
_params.id = `#[${this.$metaKey}]`
|
|
641
|
+
}
|
|
642
|
+
// 格式化params
|
|
643
|
+
for (const key in _params) {
|
|
644
|
+
let value = _params[key]
|
|
645
|
+
if (/\$\[(.+)\]/.test(_params[key])) {
|
|
646
|
+
try {
|
|
647
|
+
const valueKey = _params[key].replace(/\$\[(.+)\]/, (match, key) => key)
|
|
648
|
+
// eslint-disable-next-line no-eval
|
|
649
|
+
value = eval(`that.${valueKey}`) || eval(`that.$query.${valueKey}`) || eval(`that.$tab.${valueKey}`) || ''
|
|
650
|
+
} catch (err) {
|
|
651
|
+
console.error(err)
|
|
652
|
+
value = ''
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
if (/#\{(.+)\}/.test(_params[key])) {
|
|
656
|
+
try {
|
|
657
|
+
const valueKey = _params[key].replace(/#\{(.+)\}/, (match, key) => key)
|
|
658
|
+
// eslint-disable-next-line no-eval
|
|
659
|
+
value = eval(`that.${valueKey}`) || eval(`that.$query.${valueKey}`) || ''
|
|
660
|
+
} catch (err) {
|
|
661
|
+
console.error(err)
|
|
662
|
+
value = ''
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
if (/#\[(.+)\]/.test(_params[key])) {
|
|
666
|
+
value = _params[key].replace(/#\[(.+)\]/, (match, key) => {
|
|
667
|
+
const values = selections.map(item => item[key])
|
|
668
|
+
return values.join(',')
|
|
669
|
+
})
|
|
670
|
+
}
|
|
671
|
+
formatParams[key] = value
|
|
672
|
+
}
|
|
673
|
+
// 提交方法
|
|
674
|
+
const submitFn = () => {
|
|
675
|
+
this.$createPage({
|
|
676
|
+
type,
|
|
677
|
+
flag: pageFlag,
|
|
678
|
+
metaId: metaId,
|
|
679
|
+
pageId,
|
|
680
|
+
menuId,
|
|
681
|
+
openType: openMode,
|
|
682
|
+
component,
|
|
683
|
+
pageType,
|
|
684
|
+
...formatParams
|
|
685
|
+
})
|
|
686
|
+
}
|
|
687
|
+
if (confirmMsg) {
|
|
688
|
+
this.$confirm(confirmMsg, '提示', {
|
|
689
|
+
confirmButtonText: '确定',
|
|
690
|
+
cancelButtonText: '取消',
|
|
691
|
+
type: 'warning'
|
|
692
|
+
}).then(() => {
|
|
693
|
+
submitFn()
|
|
694
|
+
})
|
|
695
|
+
} else {
|
|
696
|
+
submitFn()
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
* 下载文件
|
|
701
|
+
*/
|
|
702
|
+
downloadFile ({ action, rule, metaId = (this.$metaId), num = 0, confirmMsg = null, mask = false, params = {}, successMsg = '处理成功', failMsg = '处理失败', afterTrigger, afterTriggerPage, afterTriggerParams }, row) {
|
|
703
|
+
// eslint-disable-next-line no-unused-vars
|
|
704
|
+
const that = this
|
|
705
|
+
const formatParams = {}
|
|
706
|
+
const _params = { ...params }
|
|
707
|
+
let selections = []
|
|
708
|
+
// 检测是否选中元素
|
|
709
|
+
if (row) {
|
|
710
|
+
selections = [{ ...row }]
|
|
711
|
+
} else {
|
|
712
|
+
if (this.selection) selections = [...this.selection]
|
|
713
|
+
}
|
|
714
|
+
if (selections.length === 0) {
|
|
715
|
+
if (num !== 0 && num !== '0') {
|
|
716
|
+
this.$message.error(this.$t('please select a record'))
|
|
717
|
+
return
|
|
718
|
+
}
|
|
719
|
+
} else if (selections.length > 1) {
|
|
720
|
+
if (num === 1 || num === '1') {
|
|
721
|
+
this.$message.error(this.$t('Only one record can be selected'))
|
|
722
|
+
return
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
if (!_params.id) {
|
|
727
|
+
_params.id = `#[${this.$metaKey}]`
|
|
728
|
+
}
|
|
729
|
+
// 格式化params
|
|
730
|
+
for (const key in _params) {
|
|
731
|
+
let value = _params[key]
|
|
732
|
+
if (/\$\[(.+)\]/.test(_params[key])) {
|
|
733
|
+
try {
|
|
734
|
+
const valueKey = _params[key].replace(/\$\[(.+)\]/, (match, key) => key)
|
|
735
|
+
// eslint-disable-next-line no-eval
|
|
736
|
+
value = eval(`that.${valueKey}`) || eval(`that.$query.${valueKey}`) || eval(`that.$tab.${valueKey}`) || ''
|
|
737
|
+
} catch (err) {
|
|
738
|
+
value = ''
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
if (/#\[(.+)\]/.test(_params[key])) {
|
|
742
|
+
value = _params[key].replace(/#\[(.+)\]/, (match, key) => {
|
|
743
|
+
const values = selections.map(item => item[key] || '')
|
|
744
|
+
return values.join(',')
|
|
745
|
+
})
|
|
746
|
+
}
|
|
747
|
+
formatParams[key] = value
|
|
748
|
+
}
|
|
749
|
+
// 提交方法
|
|
750
|
+
const submitFn = () => {
|
|
751
|
+
if (this.httpLoading[`download-${action}`]) {
|
|
752
|
+
return this.$message.error('正在提交,请稍后...')
|
|
753
|
+
}
|
|
754
|
+
this.httpLoading[`download-${action}`] = true
|
|
755
|
+
let loading = null
|
|
756
|
+
if (mask) {
|
|
757
|
+
loading = this.$loading({
|
|
758
|
+
target: this.upPage ? this.upPage.$el : this.$el,
|
|
759
|
+
background: 'rgba(255, 255, 255, 0.5)',
|
|
760
|
+
text: '正在操作,请稍后...'
|
|
761
|
+
})
|
|
762
|
+
}
|
|
763
|
+
const timer = setTimeout(() => {
|
|
764
|
+
this.httpLoading[`download-${action}`] = false
|
|
765
|
+
clearTimeout(timer)
|
|
766
|
+
}, 2000)
|
|
767
|
+
this.$http.$post({
|
|
768
|
+
action,
|
|
769
|
+
rule,
|
|
770
|
+
entityId: metaId,
|
|
771
|
+
...formatParams
|
|
772
|
+
}, { responseType: 'blob' })
|
|
773
|
+
.then(({ blob, filename }) => {
|
|
774
|
+
const objectUrl = URL.createObjectURL(blob)
|
|
775
|
+
var a = document.createElement('a')
|
|
776
|
+
document.body.appendChild(a)
|
|
777
|
+
a.href = objectUrl
|
|
778
|
+
a.download = filename || this.$moment().format('YYYYMMDDHHMMSS') + '.xlsx'
|
|
779
|
+
a.click()
|
|
780
|
+
window.URL.revokeObjectURL(objectUrl)
|
|
781
|
+
document.body.removeChild(a)
|
|
782
|
+
// 如果存在下一个事件,执行下一个事件
|
|
783
|
+
const _afterTriggerParams = { ...afterTriggerParams }
|
|
784
|
+
for (const key in _afterTriggerParams) {
|
|
785
|
+
let value = _afterTriggerParams[key]
|
|
786
|
+
if (/\$\[res\.(.+)\]/.test(_afterTriggerParams[key])) {
|
|
787
|
+
try {
|
|
788
|
+
const valueKey = _afterTriggerParams[key].replace(/\$\[res\.(.+)\]/, (match, key) => key)
|
|
789
|
+
// eslint-disable-next-line no-eval
|
|
790
|
+
value = eval(`res.${valueKey}`) || ''
|
|
791
|
+
} catch (err) {
|
|
792
|
+
console.error(err)
|
|
793
|
+
value = ''
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
_afterTriggerParams[key] = value
|
|
797
|
+
}
|
|
798
|
+
this.$message.success(successMsg)
|
|
799
|
+
if (afterTrigger) {
|
|
800
|
+
this[afterTrigger]({ pageId: afterTriggerPage, params: _afterTriggerParams })
|
|
801
|
+
}
|
|
802
|
+
})
|
|
803
|
+
.catch(err => {
|
|
804
|
+
this.$message.error(err.message || failMsg)
|
|
805
|
+
})
|
|
806
|
+
.finally(() => {
|
|
807
|
+
this.httpLoading[`download-${action}`] = false
|
|
808
|
+
if (loading) loading.close()
|
|
809
|
+
})
|
|
810
|
+
}
|
|
811
|
+
// 判断是否需要确认弹窗
|
|
812
|
+
if (confirmMsg) {
|
|
813
|
+
this.$confirm(confirmMsg, this.$t('hint'), {
|
|
814
|
+
confirmButtonText: this.$t('determine'),
|
|
815
|
+
cancelButtonText: this.$t('cancel'),
|
|
816
|
+
type: 'warning'
|
|
817
|
+
}).then(() => {
|
|
818
|
+
submitFn()
|
|
819
|
+
})
|
|
820
|
+
} else {
|
|
821
|
+
submitFn()
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
* 格式化参数
|
|
826
|
+
* @param {Object} params 当前参数
|
|
827
|
+
*/
|
|
828
|
+
$formatParams (params) {
|
|
829
|
+
// eslint-disable-next-line
|
|
830
|
+
const that = this
|
|
831
|
+
const newParams = { ...params }
|
|
832
|
+
for (const key in newParams) {
|
|
833
|
+
let value = newParams[key]
|
|
834
|
+
if (/#\{(.+)\}/.test(newParams[key])) {
|
|
835
|
+
value = newParams[key].replace(/^#\{(.+)\}$/, (match, key) => {
|
|
836
|
+
try {
|
|
837
|
+
// eslint-disable-next-line no-eval
|
|
838
|
+
return eval(`that.${key}`) || eval(`that.$query.${key}`) || eval(`that.$tab.${key}`) || ''
|
|
839
|
+
} catch (error) {
|
|
840
|
+
return value
|
|
841
|
+
}
|
|
842
|
+
})
|
|
843
|
+
}
|
|
844
|
+
if (/\$\[(.+)\]/.test(newParams[key])) {
|
|
845
|
+
value = newParams[key].replace(/^\$\[(.+)\]$/, (match, key) => {
|
|
846
|
+
try {
|
|
847
|
+
// eslint-disable-next-line no-eval
|
|
848
|
+
return eval(`that.${key}`) || eval(`that.$query.${key}`) || eval(`that.$tab.${key}`) || ''
|
|
849
|
+
} catch (error) {
|
|
850
|
+
return ''
|
|
851
|
+
}
|
|
852
|
+
})
|
|
853
|
+
}
|
|
854
|
+
newParams[key] = value || ''
|
|
855
|
+
}
|
|
856
|
+
return newParams
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
* 设置当前页面配置
|
|
860
|
+
*/
|
|
861
|
+
$setPageConfig (page) {
|
|
862
|
+
const language = this.$util.getCurrentLanguage()
|
|
863
|
+
const currentPage = page || this.page || {}
|
|
864
|
+
const { config = this.compConfigs } = currentPage
|
|
865
|
+
const vueAttribute = ['name', 'mixins', 'inject', 'provide', '_Ctor', '__file', '_base', '_compiled', 'beforeCreate', 'created', 'berforeMount', 'mounted', 'beforeDestroy', 'destroyed', 'props', 'data', 'methods', 'computed', 'watch', 'components', 'directives', 'filters', 'render', 'staticRenderFns']
|
|
866
|
+
for (const key in this.$options) {
|
|
867
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
868
|
+
if (!this.$options.hasOwnProperty(key) && !vueAttribute.includes(key)) {
|
|
869
|
+
this.$set(this.pageConfig, key, this.$options[key])
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
for (const key in config) {
|
|
873
|
+
try {
|
|
874
|
+
if (this.$_.isObject(config[key])) {
|
|
875
|
+
if (Array.isArray(config[key])) {
|
|
876
|
+
this.$set(this.pageConfig, key, [...config[key]])
|
|
877
|
+
} else {
|
|
878
|
+
if (!this.$options[key]) this.$options[key] = {}
|
|
879
|
+
this.$set(this.pageConfig, key, { ...this.$options[key], ...config[key] })
|
|
880
|
+
}
|
|
881
|
+
} else {
|
|
882
|
+
this.$set(this.pageConfig, key, config[key])
|
|
883
|
+
}
|
|
884
|
+
} catch (error) {
|
|
885
|
+
this.$set(this.pageConfig, key, config[key])
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
this.pageConfig = formatI18nConfig(this.pageConfig, language)
|
|
889
|
+
},
|
|
890
|
+
$setCompConfigs () {
|
|
891
|
+
const vueAttribute = ['name', 'mixins', 'inject', 'provide', '_Ctor', '__file', '_base', '_compiled', 'beforeCreate', 'created', 'berforeMount', 'mounted', 'beforeDestroy', 'destroyed', 'props', 'data', 'methods', 'computed', 'watch', 'components', 'directives', 'filters', 'render', 'staticRenderFns']
|
|
892
|
+
for (const key in this.$options) {
|
|
893
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
894
|
+
if (!this.$options.hasOwnProperty(key) && !vueAttribute.includes(key)) {
|
|
895
|
+
this.$set(this.configs, key, this.$options[key])
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
for (const key in this.compConfigs) {
|
|
899
|
+
try {
|
|
900
|
+
if (this.$_.isObject(this.compConfigs[key])) {
|
|
901
|
+
if (Array.isArray(this.compConfigs[key])) {
|
|
902
|
+
this.$set(this.configs, key, [...this.compConfigs[key]])
|
|
903
|
+
} else {
|
|
904
|
+
if (!this.$options[key]) this.$options[key] = {}
|
|
905
|
+
this.$set(this.configs, key, { ...this.$options[key], ...this.compConfigs[key] })
|
|
906
|
+
}
|
|
907
|
+
} else {
|
|
908
|
+
this.$set(this.configs, key, this.compConfigs[key])
|
|
909
|
+
}
|
|
910
|
+
} catch (error) {
|
|
911
|
+
this.$set(this.configs, key, this.compConfigs[key])
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
dispatch (componentName, eventName, params) {
|
|
916
|
+
var parent = this.$parent || this.$root
|
|
917
|
+
var name = parent.$options.componentName
|
|
918
|
+
|
|
919
|
+
while (parent && (!name || name !== componentName)) {
|
|
920
|
+
parent = parent.$parent
|
|
921
|
+
|
|
922
|
+
if (parent) {
|
|
923
|
+
name = parent.$options.componentName
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
if (parent) {
|
|
927
|
+
parent.$emit.apply(parent, [eventName].concat(params))
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
$dispatchPage (eventName, params, componentName) {
|
|
931
|
+
var parent = this.$parent || this.$root
|
|
932
|
+
var name = parent.$options.componentName
|
|
933
|
+
let page = null
|
|
934
|
+
while (parent && !page) {
|
|
935
|
+
const pageFlag = parent.$options.$componentType === 'page'
|
|
936
|
+
if (parent && pageFlag && (!componentName || (name && name === componentName))) {
|
|
937
|
+
name = parent.$options.componentName
|
|
938
|
+
page = parent
|
|
939
|
+
}
|
|
940
|
+
parent = parent.$parent
|
|
941
|
+
}
|
|
942
|
+
if (page) {
|
|
943
|
+
page.$emit.apply(page, [eventName].concat(params))
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
$listenPage (eventName, callback, componentName) {
|
|
947
|
+
var parent = this.$parent || this.$root
|
|
948
|
+
var name = parent.$options.componentName
|
|
949
|
+
let page = null
|
|
950
|
+
while (parent && !page) {
|
|
951
|
+
const pageFlag = parent.$options.$componentType === 'page'
|
|
952
|
+
if (parent && pageFlag && (!componentName || (name && name === componentName))) {
|
|
953
|
+
name = parent.$options.componentName
|
|
954
|
+
page = parent
|
|
955
|
+
}
|
|
956
|
+
parent = parent.$parent
|
|
957
|
+
}
|
|
958
|
+
if (page) {
|
|
959
|
+
page.$on.apply(page, [eventName].concat([callback]))
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
broadcast (componentName, eventName, params) {
|
|
963
|
+
broadcast.call(this, componentName, eventName, params)
|
|
964
|
+
},
|
|
965
|
+
$broadcastCom (componentName, eventName, params) {
|
|
966
|
+
broadcastCom.call(this, componentName, eventName, params)
|
|
967
|
+
},
|
|
968
|
+
getComponentById (id, parent) {
|
|
969
|
+
return getComponentById.call(parent, id)
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
created () {
|
|
973
|
+
window.onpopstate = () => {
|
|
974
|
+
this.backPage()
|
|
975
|
+
return false
|
|
976
|
+
}
|
|
977
|
+
this.httpLoading = {}
|
|
978
|
+
if (this.$options.$componentType !== 'page') {
|
|
979
|
+
// this.$setCompConfigs()
|
|
980
|
+
}
|
|
981
|
+
if (this.$options.$componentType !== 'compoennt') {
|
|
982
|
+
this.$setPageConfig()
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|