epx-frame 5.2.7 → 5.3.0-beta
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/README.md +222 -96
- package/lib/0.js +1 -1
- package/lib/1.js +1 -1
- package/lib/121.js +1 -0
- package/lib/140.js +3 -0
- package/lib/141.js +1 -0
- package/lib/142.js +1 -0
- package/lib/2.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/act-process-form-item.js +3 -0
- package/lib/components/add-form-item.js +1 -1
- package/lib/components/add-form.js +2 -2
- package/lib/components/ai-agent-page.js +3 -1
- package/lib/components/ai-chat-page.js +3 -1
- package/lib/components/ai-import-page.js +2 -2
- package/lib/components/ai-import.js +3 -1
- package/lib/components/ai-metadata-assistant.js +1 -0
- package/lib/components/alert.js +1 -1
- package/lib/components/app-index.js +1 -1
- package/lib/components/app-nav.js +2 -2
- package/lib/components/app-tabs.js +1 -1
- package/lib/components/apply-form.js +1 -1
- package/lib/components/approval-index-page.js +2 -2
- package/lib/components/approval-index.js +2 -2
- package/lib/components/base-page.js +2 -2
- package/lib/components/button.js +1 -1
- package/lib/components/card-form-item.js +3 -1
- package/lib/components/card.js +1 -1
- package/lib/components/carousel.js +3 -1
- package/lib/components/category-list.js +1 -1
- package/lib/components/chart.js +2 -2
- package/lib/components/check-history.js +2 -2
- package/lib/components/collapse.js +3 -1
- package/lib/components/color-picker.js +1 -1
- package/lib/components/component.js +1 -1
- package/lib/components/config-page.js +2 -2
- package/lib/components/contacts.js +1 -1
- package/lib/components/dashboard.js +2 -2
- package/lib/components/div.js +1 -1
- package/lib/components/dropdown.js +2 -2
- package/lib/components/edit-entity-list.js +1 -1
- package/lib/components/entity-add-page.js +2 -2
- package/lib/components/entity-apply-page.js +2 -2
- package/lib/components/entity-card-list.js +1 -1
- package/lib/components/entity-list-find-page.js +2 -2
- package/lib/components/entity-list-find.js +2 -2
- package/lib/components/entity-list-page.js +2 -2
- package/lib/components/entity-list.js +2 -2
- package/lib/components/entity-no-submit-sub-list.js +1 -1
- package/lib/components/entity-sub-grid.js +2 -2
- package/lib/components/entity-sub-list.js +2 -2
- package/lib/components/entity-tree-find-page.js +2 -2
- package/lib/components/entity-tree-find.js +2 -2
- package/lib/components/export-file.js +1 -1
- package/lib/components/export.js +2 -2
- package/lib/components/flow-num.js +1 -1
- package/lib/components/footer.js +1 -1
- package/lib/components/form-field.js +1 -1
- package/lib/components/form-item.js +2 -2
- package/lib/components/form.js +2 -2
- package/lib/components/formula-editor.js +3 -0
- package/lib/components/formula.js +1 -1
- package/lib/components/gauge.js +1 -1
- package/lib/components/grid.js +1 -1
- package/lib/components/header.js +1 -1
- package/lib/components/html.js +1 -1
- package/lib/components/icon.js +1 -1
- package/lib/components/iframe.js +1 -1
- package/lib/components/image.js +1 -1
- package/lib/components/import-file.js +1 -1
- package/lib/components/import.js +2 -2
- package/lib/components/layout.js +3 -1
- package/lib/components/list.js +3 -1
- package/lib/components/load-page.js +1 -1
- package/lib/components/m-entity-add-page.js +2 -2
- package/lib/components/m-entity-dept-find.js +1 -1
- package/lib/components/m-entity-list-find.js +3 -1
- package/lib/components/m-entity-list.js +1 -1
- package/lib/components/m-entity-no-submit-sub-list.js +2 -2
- package/lib/components/m-entity-tree-find.js +1 -1
- package/lib/components/m-entity-user-find.js +1 -1
- package/lib/components/menu-index.js +1 -1
- package/lib/components/menu.js +1 -1
- package/lib/components/mine.js +1 -1
- package/lib/components/module-index-page.js +2 -2
- package/lib/components/module-list-page.js +2 -2
- package/lib/components/module-list.js +1 -1
- package/lib/components/module-tabs-page.js +2 -2
- package/lib/components/nav-add-form.js +1 -1
- package/lib/components/num.js +1 -1
- package/lib/components/org-chart.js +1 -1
- package/lib/components/page-help.js +1 -1
- package/lib/components/page-tabs.js +1 -1
- package/lib/components/page.js +2 -2
- package/lib/components/pagination.js +1 -1
- package/lib/components/progress-chart.js +1 -1
- package/lib/components/progress.js +1 -1
- package/lib/components/report-chart.js +2 -2
- package/lib/components/report-html.js +2 -2
- package/lib/components/report-preview.js +2 -2
- package/lib/components/report.js +2 -2
- package/lib/components/router-view.js +1 -1
- package/lib/components/scope.js +2 -2
- package/lib/components/search-bar.js +1 -1
- package/lib/components/search-list.js +1 -1
- package/lib/components/search.js +2 -2
- package/lib/components/step-item.js +1 -1
- package/lib/components/step.js +1 -1
- package/lib/components/tab-bar.js +1 -1
- package/lib/components/tab-tags.js +1 -1
- package/lib/components/tabs.js +3 -1
- package/lib/components/tag.js +1 -1
- package/lib/components/task-list-page.js +2 -2
- package/lib/components/task-list.js +2 -2
- package/lib/components/template.js +2 -2
- package/lib/components/text-editor.js +1 -1
- package/lib/components/text.js +1 -1
- package/lib/components/title.js +1 -1
- package/lib/components/update-form-item.js +1 -1
- package/lib/components/update-form.js +2 -2
- package/lib/components/update-sub-list.js +1 -1
- package/lib/components/video.js +1 -1
- package/lib/components/visual-config-page.js +2 -2
- package/lib/epx-frame.common.js +2 -2
- package/lib/http.js +2 -2
- package/lib/media/ai_bg.jpg +0 -0
- package/lib/media/ai_index.webp +0 -0
- package/lib/media/topbg.png +0 -0
- package/lib/router.js +2 -2
- package/lib/store.js +2 -2
- package/lib/utils/Config.js +1 -1
- package/lib/utils/axios.js +2 -2
- package/lib/utils/chartTheme.js +1 -1
- package/lib/utils/fieldFactory.js +2 -2
- package/lib/utils/formula.js +1 -1
- package/lib/utils/index.js +2 -2
- package/lib/utils/loadComponent.js +1 -1
- package/lib/utils/loadLibrary.js +1 -1
- package/lib/utils/meta.js +1 -1
- package/lib/utils/mixins/component.js +2 -2
- package/lib/utils/mixins/global.js +2 -2
- package/lib/utils/mixins/index.js +2 -2
- package/lib/utils/mixins/methods-to-prototype.js +3 -0
- package/lib/utils/mixins/optimized-global.js +1 -0
- package/lib/utils/page.js +1 -1
- package/lib/utils/pdf.viewer.js +2 -2
- package/lib/utils/security.js +1 -1
- package/lib/utils/util.js +1 -1
- package/package.json +5 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=
|
|
1
|
+
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=965)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},1:function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},10:function(e,t,n){"use strict";function r(e,t,n,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(r=function(e,t,n,o){function i(t,n){r(e,t,(function(e){return this._invoke(t,n,e)}))}t?a?a(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(i("next",0),i("throw",1),i("return",2))})(e,t,n,o)}function o(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var i,a,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,c}};function d(n,r){for(a=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,p.n=m,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),a=l,s=m;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),d=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},18:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},19:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},21:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},22:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(6);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},3:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},30:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},31:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},35:function(e,t,n){"use strict"},37:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},4:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:v(p,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},41:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},43:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},5:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(16);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},52:function(e,t){e.exports=require("core-js/modules/es.promise.js")},53:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(24);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},887:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-module-list-page",extends:n(136).default,items:[{id:"nav",title:"导航",contentType:"header"},{id:"module",title:"模块列表",contentType:"module-list"}]},o=n(2),i=Object(o.a)(r,void 0,void 0,!1,null,null,null).exports;i.install=function(e){e.component(i.name,i)};t.default=i},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},90:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(51),i=n(15),a=n(30),s=n(43),c=n(7),u=(n(35),n(0)),l=n(13),f=(n(14),n(19),n(9),n(8),n(37),n(22),n(3),n(53),n(52),n(107),n(12),n(21),n(17),n(11),n(26),n(18),n(31),n(28),n(25),n(40),n(41),n(27)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var i=function(){var n,o=e.value,i=o.configs,a=void 0===i?{}:i,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(u.a)(Object(u.a)({},l),a);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,v=p.key,b=void 0===v?"ID":v,y=p.index,g=void 0===y?"index":y,j=[];if(Array.isArray(d))j=d;else{var x=/^\$\[(.+)\]$/.exec(d);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[b]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},i=e.compInfo[t.id];return void 0===r&&i&&(r=i.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),i)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,i=t.id,a=e.pageConfig[i]||{};if(null!==(n=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){var n,r,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((a=o.n()).done){t.n=8;break}if("request"!==(s=a.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:c="","fixed"===s.type?(c=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"query"===s.type?(c=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),i=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},v=n(4),b=n.n(v),y=n(95),g={insert:"head",singleton:!1},j=(b()(y.a,g),y.a.locals,n(96)),x={insert:"head",singleton:!1},O=(b()(j.a,x),j.a.locals,n(2)),P=Object(O.a)(h,r,[],!1,null,null,null);t.a=P.exports},95:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},96:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-component{margin:var(--margin)}",""]),t.a=o}});
|
|
3
|
+
var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function s(n,o,a,i){var s=o&&o.prototype instanceof c?o:c,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var a,i,s,c=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return a=t,i=0,s=e,p.n=n,u}};function d(n,r){for(i=n,s=r,t=0;!f&&c&&!o&&t<l.length;t++){var o,a=l[t],d=p.p,m=a[2];n>3?(o=m===r)&&(s=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=d&&((o=n<2&&d<a[1])?(i=0,p.v=r,p.n=a[1]):d<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,p.n=m,i=0))}if(o||n>1)return u;throw f=!0,r}return function(o,l,m){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),i=l,s=m;(t=i<2?e:s)||!f;){a||(i?i<3?(i>1&&(p.n=-1),d(i,s)):p.n=s:p.v=s);try{if(c=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==u)break}catch(t){a=e,i=1,s=t}finally{c=1}}return{value:t,done:f}}}(n,a,i),!0),l}var u={};function c(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][a]?t(t([][a]())):(r(t={},a,(function(){return this})),t),d=f.prototype=c.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(d),r(d,i,"Generator"),r(d,a,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},11:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},12:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},14:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},15:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},16:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},17:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},173:function(e,t,n){"use strict";n.r(t);n(8);var r=n(77);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},18:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw i}}}}},20:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},23:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},24:function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,u,"next",e)}function u(e){r(i,o,a,s,u,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(6);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},29:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},3:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function s(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],u=t.base?a[0]+t.base:a[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=s(l),p={css:a[1],media:a[2],sourceMap:a[3]};-1!==f?(i[f].references++,i[f].updater(p)):i.push({identifier:l,updater:v(p,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function d(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var a=h++;n=m||(m=c(t)),r=p.bind(null,n,a,!1),o=p.bind(null,n,a,!0)}else n=c(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);i[o].references--}for(var a=u(e,t),c=0;c<n.length;c++){var l=s(n[c]);0===i[l].references&&(i[l].updater(),i.splice(l,1))}n=a}}}},30:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},32:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},34:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},38:function(e,t,n){"use strict"},4:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},41:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},43:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},45:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},46:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(53);var o=n(17),a=n(54);function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],u=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||Object(o.a)(e,t)||Object(a.a)()}},5:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},50:function(e,t){e.exports=require("core-js/modules/es.promise.js")},53:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},55:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(26);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(46),a=n(10),i=n(24),s=n(45),u=n(7),c=(n(38),n(0)),l=n(19),f=(n(13),n(18),n(9),n(8),n(34),n(94),n(23),n(5),n(55),n(50),n(92),n(11),n(20),n(15),n(16),n(30),n(14),n(29),n(32),n(25),n(41),n(43),n(27)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{},loadComponentHandler:null,addPageParamsHandler:null,watchUnwatchers:[],pageProxyInstance:null,pageInstanceRef:null}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(c.a)({},this.$component.style):Object(c.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var a=function(){var n,o=e.value,a=o.configs,i=void 0===a?{}:a,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(c.a)(Object(c.a)({},l),i);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,v=p.key,g=void 0===v?"ID":v,b=p.index,y=void 0===b?"index":b,j=[];if(Array.isArray(d))j=d;else{var x=/^\$\[(.+)\]$/.exec(d);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[g]||t;r.push(Object(c.a)(Object(c.a)({},o),{},{iterator:Object(u.a)(Object(u.a)(Object(u.a)({},h,e),y,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(c.a)(Object(c.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,a=e.justify,i=void 0===a?"flex-start":a,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":i,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},a=e.compInfo[t.id];return void 0===r&&a&&(r=a.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,a=e.pageConfig[o]||{};return Object(c.a)(Object(c.a)({},r),a)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,a=t.id,i=e.pageConfig[a]||{};if(null!==(n=Object(c.a)(Object(c.a)({},i),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(c.a)(Object(c.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage){var e={value:this};this.pageInstanceRef=e;var t={get instance(){return e.value},get $el(){return e.value?e.value.$el:null},get $pageId(){return e.value?e.value.$pageId:""},get $metaId(){return e.value?e.value.$metaId:null},get $query(){return e.value?e.value.$query:{}},get pageParams(){return e.value?e.value.pageParams:{}},get pageConfig(){return e.value?e.value.pageConfig:{}},get $component(){return e.value?e.value.$component:{}},get component(){return e.value?e.value.component:{}},get $configs(){return e.value?e.value.$configs:{}},get $parent(){return e.value?e.value.$parent:{}},get page(){return e.value?e.value.page:null},get routes(){return e.value?e.value.routes:[]},get currentQuery(){return e.value?e.value.currentQuery:{}},get pageEvents(){return e.value?e.value.pageEvents:{}},$refesh:function(){return e.value&&e.value.$refesh&&e.value.$refesh()},dispatch:function(){return e.value&&e.value.dispatch&&e.value.dispatch.apply(e.value,arguments)},$set:function(){return e.value&&e.value.$set&&e.value.$set.apply(e.value,arguments)},$emit:function(){return e.value&&e.value.$emit&&e.value.$emit.apply(e.value,arguments)},$on:function(){return e.value&&e.value.$on&&e.value.$on.apply(e.value,arguments)},$off:function(){return e.value&&e.value.$off&&e.value.$off.apply(e.value,arguments)},get _isDestroyed(){return!e.value}};return this.pageProxyInstance=t,Object.freeze(t),{upPage:t,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}}},methods:{getPageParams:function(){var e=this;return Object(i.a)(Object(a.a)().m((function t(){var n,r,o,i,s,u,c;return Object(a.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((i=o.n()).done){t.n=8;break}if("request"!==(s=i.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:u="","fixed"===s.type?(u=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,u))):"query"===s.type?(u=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,u))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,c=t.v,o.e(c);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),a=this.$util.getQueryValue(r,o);if(this.$set(this.pageParams,e.code,this.getFormatValue(e,a)),o&&!this.watchComponentMap[e.code]){var i=o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0});this.watchComponentMap[e.code]=!0,this.watchUnwatchers.push(i)}},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(c.a)(Object(c.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(c.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.addPageParamsHandler=function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(c.a)(Object(c.a)({},e.pageParams),n)},this.loadComponentHandler=this.loadComponent.bind(this),this.$on("add-page-params",this.addPageParamsHandler),this.$on("load-component",this.loadComponentHandler)},mounted:function(){var e=this;return Object(i.a)(Object(a.a)().m((function t(){var n;return Object(a.a)().w((function(t){for(;;)switch(t.n){case 0:if(n=e.$refs.container){t.n=1;break}return t.a(2);case 1:n.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 2:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;if(t){t.addEventListener("scroll",this.saveScrollPosition);var n=setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop),clearTimeout(n)}),10)}},deactivated:function(){var e=this.$refs.container;e&&e.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){var e=this,t=this.$refs.container;t&&t.removeEventListener("scroll",this.saveScrollPosition),this.addPageParamsHandler&&this.$off("add-page-params",this.addPageParamsHandler),this.loadComponentHandler&&this.$off("load-component",this.loadComponentHandler),this.addPageParamsHandler=null,this.loadComponentHandler=null,this.watchUnwatchers&&this.watchUnwatchers.length&&(this.watchUnwatchers.forEach((function(e){"function"==typeof e&&e()})),this.watchUnwatchers=[]),this.timer&&Object.keys(this.timer).forEach((function(t){clearTimeout(e.timer[t]),delete e.timer[t]})),this.pageInstanceRef&&(this.pageInstanceRef.value=null,this.pageInstanceRef=null),this.pageProxyInstance&&(this.pageProxyInstance=null),this.pageParams=null,this.model=null,this.compInfo=null,this.watchRequestMap=null,this.watchComponentMap=null}},v=n(3),g=n.n(v),b=n(84),y={insert:"head",singleton:!1},j=(g()(b.a,y),b.a.locals,n(85)),x={insert:"head",singleton:!1},O=(g()(j.a,x),j.a.locals,n(1)),$=Object(O.a)(h,r,[],!1,null,null,null);t.a=$.exports},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},84:function(e,t,n){"use strict";var r=n(4),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},85:function(e,t,n){"use strict";var r=n(4),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-component{margin:var(--margin)}",""]),t.a=o},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},92:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},94:function(e,t){e.exports=require("core-js/modules/es.object.freeze.js")},965:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-module-list-page",extends:n(173).default,items:[{id:"nav",title:"导航",contentType:"header"},{id:"module",title:"模块列表",contentType:"module-list"}]},o=n(1),a=Object(o.a)(r,void 0,void 0,!1,null,null,null).exports;a.install=function(e){e.component(a.name,a)};t.default=a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=865)}({0:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(7);function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},11:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},140:function(e,t){e.exports=require("core-js/modules/es.iterator.some.js")},18:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,r){"use strict";function o(e,t,r,o,n,a,i,c){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=r,d._compiled=!0),o&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=l):n&&(l=c?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(e,t){return l.call(t),u(e,t)}}else{var s=d.beforeCreate;d.beforeCreate=s?[].concat(s,l):[l]}return{exports:e,options:d}}r.d(t,"a",(function(){return o}))},22:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},24:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(6);function n(e){var t=function(e,t){if("object"!=Object(o.a)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Object(o.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(o.a)(t)?t:t+""}},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},3:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},32:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},34:function(e,t){e.exports=require("vuex")},37:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},382:function(e,t,r){"use strict";var o=r(5),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,"[data-v-8b8a3c3c]:root{--color-primary: 8,116,231 }.epx-grid[data-v-8b8a3c3c]{display:flex;flex-wrap:wrap}",""]),t.a=n},383:function(e,t,r){"use strict";var o=r(5),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,"[data-v-488e2e86]:root{--color-primary: 8,116,231 }.icon-card[data-v-488e2e86]{margin-bottom:20px;box-sizing:border-box;border:0;background:#fff;display:flex;align-items:center;cursor:pointer}.icon-card[data-v-488e2e86].el-card.is-always-shadow{box-shadow:0 1px 5px 0 rgba(0,0,0,.1)}.icon-card[data-v-488e2e86]>.el-card__header{padding:12px 20px}.icon-card[data-v-488e2e86]>.el-card__body{padding:20px;box-sizing:border-box}.icon-card[data-v-488e2e86] .el-rate__icon{margin-right:0}.card-title[data-v-488e2e86]{font-size:16px;color:#333;line-height:1}.card-container[data-v-488e2e86]{display:flex;align-items:center;color:#0874e7}[data-theme=purple] .card-container[data-v-488e2e86]{color:#7569e2}[data-theme=palevioletred] .card-container[data-v-488e2e86]{color:#ce4545}[data-theme=forestgreen] .card-container[data-v-488e2e86]{color:#3d8a50}[data-theme=deepblue] .card-container[data-v-488e2e86]{color:#0f5fbd}[data-theme=orange] .card-container[data-v-488e2e86]{color:#ea6000}[data-theme=skyblue] .card-container[data-v-488e2e86]{color:#1a4586}[data-theme=aurorablue] .card-container[data-v-488e2e86]{color:#383b9e}[data-theme=tiffanyblue] .card-container[data-v-488e2e86]{color:#00aaad}[data-theme=tsinghuapurple] .card-container[data-v-488e2e86]{color:#5f2167}[data-theme=creativeblue] .card-container[data-v-488e2e86]{color:#418cff}[data-theme=njhkht] .card-container[data-v-488e2e86]{color:#1d2088}[data-theme=custom] .card-container[data-v-488e2e86]{color:rgba(var(--color-primary), 1)}.card-container[data-v-488e2e86]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .card-container[data-v-488e2e86]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .card-container[data-v-488e2e86]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .card-container[data-v-488e2e86]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .card-container[data-v-488e2e86]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .card-container[data-v-488e2e86]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .card-container[data-v-488e2e86]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .card-container[data-v-488e2e86]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .card-container[data-v-488e2e86]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .card-container[data-v-488e2e86]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .card-container[data-v-488e2e86]:hover{color:#67a3ff}[data-theme=njhkht] .card-container[data-v-488e2e86]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .card-container[data-v-488e2e86]:hover{color:rgba(var(--color-primary), 0.8)}.card-container img[data-v-488e2e86]{width:50px}.icon[data-v-488e2e86]{margin-right:12px;font-size:32px}.icon img[data-v-488e2e86]{width:50px}.title[data-v-488e2e86]{font-size:16px;color:#333;white-space:nowrap;line-height:1;margin-bottom:4px}.sub-title[data-v-488e2e86]{font-weight:normal;font-size:14px;color:#333}.desc[data-v-488e2e86]{font-size:12px;line-height:20px;color:#999}.grid-item__icon--bg[data-v-488e2e86]{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background-color:#0874e7}[data-theme=purple] .grid-item__icon--bg[data-v-488e2e86]{background-color:#7569e2}[data-theme=palevioletred] .grid-item__icon--bg[data-v-488e2e86]{background-color:#ce4545}[data-theme=forestgreen] .grid-item__icon--bg[data-v-488e2e86]{background-color:#3d8a50}[data-theme=deepblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#0f5fbd}[data-theme=orange] .grid-item__icon--bg[data-v-488e2e86]{background-color:#ea6000}[data-theme=skyblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#1a4586}[data-theme=aurorablue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#383b9e}[data-theme=tiffanyblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#00aaad}[data-theme=tsinghuapurple] .grid-item__icon--bg[data-v-488e2e86]{background-color:#5f2167}[data-theme=creativeblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#418cff}[data-theme=njhkht] .grid-item__icon--bg[data-v-488e2e86]{background-color:#1d2088}[data-theme=custom] .grid-item__icon--bg[data-v-488e2e86]{background-color:rgba(var(--color-primary), 1)}.grid-item__icon--bg[data-v-488e2e86]{border-radius:50%;margin-right:10px}.grid-item__icon[data-v-488e2e86]{color:#fff;font-size:28px}@media only screen and (max-width: 992px){.icon-card[data-v-488e2e86]{height:100%;margin-bottom:0px;border-radius:0;background:none}.icon-card[data-v-488e2e86].el-card.is-always-shadow{box-shadow:none}.icon-card[data-v-488e2e86]>.el-card__body{padding:16px 24px;box-sizing:border-box}.card-container[data-v-488e2e86]{display:block;text-align:center}.card-container .icon[data-v-488e2e86]{margin-right:0px;margin-bottom:9px}.card-container .title[data-v-488e2e86]{white-space:pre-wrap;font-size:13px;color:#333;line-height:16px}.el-col[data-v-488e2e86]{padding-left:0 !important;padding-right:0 !important}.icon-card[data-v-488e2e86] .el-card__body{box-sizing:border-box}.card-title[data-v-488e2e86]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.el-card[data-v-488e2e86]{border:none;border-right:1px solid #ebeef5;border-bottom:1px solid #ebeef5}}",""]),t.a=n},4:function(e,t,r){"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function c(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},o=[],n=0;n<e.length;n++){var a=e[n],l=t.base?a[0]+t.base:a[0],d=r[l]||0,u="".concat(l," ").concat(d);r[l]=d+1;var s=c(u),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==s?(i[s].references++,i[s].updater(m)):i.push({identifier:u,updater:h(m,t),references:1}),o.push(u)}return o}function d(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=r.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,s=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,r,o){var n=r?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=s(t,n);else{var a=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,r){var o=r.css,n=r.media,a=r.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var f=null,b=0;function h(e,t){var r,o,n;if(t.singleton){var a=b++;r=f||(f=d(t)),o=m.bind(null,r,a,!1),n=m.bind(null,r,a,!0)}else r=d(t),o=p.bind(null,r,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<r.length;o++){var n=c(r[o]);i[n].references--}for(var a=l(e,t),d=0;d<r.length;d++){var u=c(r[d]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=a}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},41:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},42:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},426:function(e,t,r){"use strict";r.r(t);var o=function(){return(0,this._self._c)("el-row",{staticClass:"epx-grid",attrs:{gutter:20}},[this._t("default")],2)};o._withStripped=!0;r(37);var n={name:"epx-grid-module",props:{mcolumn:{type:Number,default:function(){return 3}},column:{type:Number,default:function(){return 4}},lcolumn:{type:Number,default:function(){return this.column}},xlcolumn:{type:Number,default:function(){return this.lcolumn}},iconSize:[String,Number]},computed:{iconSizeString:function(){return"number"==typeof this.iconSize?this.iconSize+"px":this.iconSize}},provide:function(){return{column:this.column,mcolumn:this.mcolumn,lcolumn:this.lcolumn,xlcolumn:this.xlcolumn,iconSize:this.iconSizeString}}},a=r(4),i=r.n(a),c=r(382),l={insert:"head",singleton:!1},d=(i()(c.a,l),c.a.locals,r(2)),u=Object(d.a)(n,o,[],!1,null,"8b8a3c3c",null);t.default=u.exports},427:function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e._self._c;return t("el-col",{staticClass:"grid-module-item",attrs:{span:24/e.mcolumn,md:24/e.column,lg:24/e.lcolumn,xl:24/e.xlcolumn}},[t("el-card",{staticClass:"icon-card",attrs:{shadow:"nerver"},nativeOn:{click:function(t){return e.routerLink(e.link)}}},[e.cardTitle?t("div",{attrs:{slot:"header"},slot:"header"},[e._t("header",(function(){return[t("div",{staticClass:"card-title"},[e._v("\n "+e._s(e.cardTitle)+"\n ")])]}))],2):e._e(),t("div",{staticClass:"card-container"},[e._t("icon"),e.$slots.icon?e._e():t("div",{staticClass:"grid-item__icon--bg",style:{background:e.iconBackground}},[t("i",{class:["grid-item__icon",e.icon||"epx-icon-app"],style:{fontSize:e.iconSize+"px"}})]),t("div",{staticClass:"content"},[e._t("title"),e.title&&!e.$slots.title?t("p",{class:"title "+(e.cardTitle?"sub-title":"")},[e._v(e._s(e.title))]):e._e(),e._t("desc"),e.desc&&!e.$slots.desc?t("p",{staticClass:"desc"},[e._v(e._s(e.desc))]):e._e(),e._t("rate"),e.rate&&!e.$slots.rate?t("el-rate",{attrs:{disabled:"","show-score":"","text-color":"#ff9900"},model:{value:e.rate,callback:function(t){e.rate=t},expression:"rate"}}):e._e()],2)],2)])],1)};o._withStripped=!0;r(26);var n={name:"epx-grid-module-item",inject:["column","mcolumn","lcolumn","xlcolumn","iconSize"],props:{title:String,icon:String,desc:String,rate:String,cardTitle:String,iconSize:{type:String,default:"28"},iconStyle:{type:Object,default:function(){return{}}},iconBackground:String,link:String},methods:{routerLink:function(e){e&&this.$router.push(e)}}},a=r(4),i=r.n(a),c=r(383),l={insert:"head",singleton:!1},d=(i()(c.a,l),c.a.locals,r(2)),u=Object(d.a)(n,o,[],!1,null,"488e2e86",null);t.default=u.exports},5:function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(n[i]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);o&&n[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},557:function(e,t,r){"use strict";var o=r(5),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,':root{--color-primary: 8,116,231 }.epx-module-list{height:100%;box-sizing:border-box}.epx-module-list__inner{width:100%;height:100%;box-sizing:border-box;border-radius:4px}@media screen and (max-width: 992px){.epx-module-list__inner{padding:0}.epx-module-list__item{background:#fff;margin-bottom:10px}.epx-module-list__title{height:46px;border-bottom:1px solid #e3e3e3;padding:0 15px;display:flex;align-items:center}.epx-module-list__title>span{font-size:16px;font-weight:600;padding:0 8px;line-height:16px;position:relative}.epx-module-list__title>span::before{position:absolute;content:"";display:block;width:4px;height:100%;border-radius:2px;background-color:#0874e7}[data-theme=purple] .epx-module-list__title>span::before{background-color:#7569e2}[data-theme=palevioletred] .epx-module-list__title>span::before{background-color:#ce4545}[data-theme=forestgreen] .epx-module-list__title>span::before{background-color:#3d8a50}[data-theme=deepblue] .epx-module-list__title>span::before{background-color:#0f5fbd}[data-theme=orange] .epx-module-list__title>span::before{background-color:#ea6000}[data-theme=skyblue] .epx-module-list__title>span::before{background-color:#1a4586}[data-theme=aurorablue] .epx-module-list__title>span::before{background-color:#383b9e}[data-theme=tiffanyblue] .epx-module-list__title>span::before{background-color:#00aaad}[data-theme=tsinghuapurple] .epx-module-list__title>span::before{background-color:#5f2167}[data-theme=creativeblue] .epx-module-list__title>span::before{background-color:#418cff}[data-theme=njhkht] .epx-module-list__title>span::before{background-color:#1d2088}[data-theme=custom] .epx-module-list__title>span::before{background-color:rgba(var(--color-primary), 1)}.epx-module-list__title>span::before{left:-4px}.epx-module-list__submodule-icon{width:32px;height:32px;border-radius:50%;background-color:#0874e7}[data-theme=purple] .epx-module-list__submodule-icon{background-color:#7569e2}[data-theme=palevioletred] .epx-module-list__submodule-icon{background-color:#ce4545}[data-theme=forestgreen] .epx-module-list__submodule-icon{background-color:#3d8a50}[data-theme=deepblue] .epx-module-list__submodule-icon{background-color:#0f5fbd}[data-theme=orange] .epx-module-list__submodule-icon{background-color:#ea6000}[data-theme=skyblue] .epx-module-list__submodule-icon{background-color:#1a4586}[data-theme=aurorablue] .epx-module-list__submodule-icon{background-color:#383b9e}[data-theme=tiffanyblue] .epx-module-list__submodule-icon{background-color:#00aaad}[data-theme=tsinghuapurple] .epx-module-list__submodule-icon{background-color:#5f2167}[data-theme=creativeblue] .epx-module-list__submodule-icon{background-color:#418cff}[data-theme=njhkht] .epx-module-list__submodule-icon{background-color:#1d2088}[data-theme=custom] .epx-module-list__submodule-icon{background-color:rgba(var(--color-primary), 1)}.epx-module-list__submodule-icon{margin-bottom:6px;text-align:center}.epx-module-list__submodule-icon i{line-height:32px;color:#fff}}',""]),t.a=n},6:function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(24);function n(e,t,r){return(t=Object(o.a)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},865:function(e,t,r){"use strict";r.r(t);r(8);var o=r(0),n=r(7),a=(r(32),r(9),r(22),r(3),r(11),r(18),r(42),r(28),r(25),r(140),r(40),r(41),r(426)),i=r(427),c=r(27),l=r.n(c),d=r(34),u={name:"epx-module-list",mixins:[l.a],components:Object(n.a)(Object(n.a)({},a.default.name,a.default),i.default.name,i.default),level:"child",style:{margin:0},column:4,mcolumn:3,data:function(){return{moduleList:[]}},computed:Object(o.a)(Object(o.a)({},Object(d.mapState)({appMenus:function(e){return e.config.appMenus}})),{},{hasChild:function(){return this.moduleList.some((function(e){return e.children&&e.children.length>0}))},menus:function(){var e=JSON.parse(JSON.stringify(this.moduleList));return this.hasChild&&e.forEach((function(e){e.children&&0!==e.children.length||(e.children=[Object(o.a)({},e)])})),e}}),methods:{getSiblingModuleList:function(e,t){for(var r=0;r<t.length;r++){var o=t[r];if(o.ID===e)return t;if(o.children){var n=this.getSiblingModuleList(e,o.children);if(n)return n}}},getChildModuleList:function(e,t){for(var r=0;r<t.length;r++){var o=t[r];if(o.ID===e)return o.children;if(o.children){var n=this.getChildModuleList(e,o.children);if(n)return n}}},getModuleList:function(){var e=this.$query,t=e.modules,r=e.serviceMenu,o=void 0===r?[]:r,n=e.moduleId;if("sibling"===this.$configs.level){var a=this.getSiblingModuleList(n,this.appMenus)||[];this.moduleList=a.filter((function(e){return e.ID!==n}))}else if(n){var i=this.getChildModuleList(n,this.appMenus)||[];this.moduleList=i}else this.moduleList=t||o},toPage:function(e){this.$createPage({title:e.NAME,component:"module-list-page",openType:e.OPEN_TYPE,pageId:e.MAIN_PAGE,moduleId:e.ID,moduleName:e.NAME})},renderSubModule:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=this.$createElement;return r("van-grid",{attrs:{gutter:10,"column-num":this.$configs.mcolumn,border:!1}},[t.map((function(t){return r("van-grid-item",{key:t.ID,on:{click:e.toPage.bind(e,t)},scopedSlots:{icon:function(){return r("div",{class:"epx-module-list__submodule-icon",style:t.ICON_BG_COLOR?{background:t.ICON_BG_COLOR}:{}},[r("i",{class:[t.FONT_ICON||"el-icon-menu"]})])}},attrs:{text:t.text}})}))])},renderMobileModule:function(){var e=this,t=this.$createElement;return this.hasChild?t("div",{class:"epx-module-list__list"},[this.menus.map((function(r){return t("div",{class:"epx-module-list__item",key:r.ID},[t("p",{class:"epx-module-list__title"},[t("span",[r.text])]),e.renderSubModule(r.children)])}))]):t("div",{class:"epx-module-list__item"},[this.renderSubModule(this.menus)])}},created:function(){this.getModuleList()},render:function(){var e=this,t=arguments[0];return t("div",{class:"epx-module-list",style:this.$isMobile?{margin:0}:{}},[this.$isMobile?this.renderMobileModule():t("div",{class:"epx-module-list__inner"},[t("epx-grid-module",{attrs:{lcolumn:this.$configs.column}},[this.menus.map((function(r){return t("epx-grid-module-item",{key:r.ID,attrs:{title:r.text,icon:r.FONT_ICON,iconBackground:r.ICON_BG_COLOR},nativeOn:{click:e.toPage.bind(e,r)}})}))])])])}},s=r(4),m=r.n(s),p=r(557),f={insert:"head",singleton:!1},b=(m()(p.a,f),p.a.locals,r(2)),h=Object(b.a)(u,void 0,void 0,!1,null,null,null).exports;h.install=function(e){e.component(h.name,h)};t.default=h},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")}});
|
|
1
|
+
module.exports=function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=943)}({0:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(7);function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},1:function(e,t,r){"use strict";function o(e,t,r,o,n,a,i,c){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=r,d._compiled=!0),o&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=l):n&&(l=c?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(e,t){return l.call(t),u(e,t)}}else{var s=d.beforeCreate;d.beforeCreate=s?[].concat(s,l):[l]}return{exports:e,options:d}}r.d(t,"a",(function(){return o}))},14:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},153:function(e,t){e.exports=require("core-js/modules/es.iterator.some.js")},16:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},21:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},23:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(6);function n(e){var t=function(e,t){if("object"!=Object(o.a)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Object(o.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(o.a)(t)?t:t+""}},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},3:function(e,t,r){"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function c(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},o=[],n=0;n<e.length;n++){var a=e[n],l=t.base?a[0]+t.base:a[0],d=r[l]||0,u="".concat(l," ").concat(d);r[l]=d+1;var s=c(u),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==s?(i[s].references++,i[s].updater(m)):i.push({identifier:u,updater:h(m,t),references:1}),o.push(u)}return o}function d(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=r.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,s=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,r,o){var n=r?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=s(t,n);else{var a=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,r){var o=r.css,n=r.media,a=r.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var f=null,b=0;function h(e,t){var r,o,n;if(t.singleton){var a=b++;r=f||(f=d(t)),o=m.bind(null,r,a,!1),n=m.bind(null,r,a,!0)}else r=d(t),o=p.bind(null,r,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<r.length;o++){var n=c(r[o]);i[n].references--}for(var a=l(e,t),d=0;d<r.length;d++){var u=c(r[d]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=a}}}},30:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},32:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},34:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},35:function(e,t){e.exports=require("vuex")},4:function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(n[i]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);o&&n[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},40:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},41:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},43:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},456:function(e,t,r){"use strict";var o=r(4),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,"[data-v-8b8a3c3c]:root{--color-primary: 8,116,231 }.epx-grid[data-v-8b8a3c3c]{display:flex;flex-wrap:wrap}",""]),t.a=n},457:function(e,t,r){"use strict";var o=r(4),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,"[data-v-488e2e86]:root{--color-primary: 8,116,231 }.icon-card[data-v-488e2e86]{margin-bottom:20px;box-sizing:border-box;border:0;background:#fff;display:flex;align-items:center;cursor:pointer}.icon-card[data-v-488e2e86].el-card.is-always-shadow{box-shadow:0 1px 5px 0 rgba(0,0,0,.1)}.icon-card[data-v-488e2e86]>.el-card__header{padding:12px 20px}.icon-card[data-v-488e2e86]>.el-card__body{padding:20px;box-sizing:border-box}.icon-card[data-v-488e2e86] .el-rate__icon{margin-right:0}.card-title[data-v-488e2e86]{font-size:16px;color:#333;line-height:1}.card-container[data-v-488e2e86]{display:flex;align-items:center;color:#0874e7}[data-theme=purple] .card-container[data-v-488e2e86]{color:#7569e2}[data-theme=palevioletred] .card-container[data-v-488e2e86]{color:#ce4545}[data-theme=forestgreen] .card-container[data-v-488e2e86]{color:#3d8a50}[data-theme=deepblue] .card-container[data-v-488e2e86]{color:#0f5fbd}[data-theme=orange] .card-container[data-v-488e2e86]{color:#ea6000}[data-theme=skyblue] .card-container[data-v-488e2e86]{color:#1a4586}[data-theme=aurorablue] .card-container[data-v-488e2e86]{color:#383b9e}[data-theme=tiffanyblue] .card-container[data-v-488e2e86]{color:#00aaad}[data-theme=tsinghuapurple] .card-container[data-v-488e2e86]{color:#5f2167}[data-theme=creativeblue] .card-container[data-v-488e2e86]{color:#418cff}[data-theme=njhkht] .card-container[data-v-488e2e86]{color:#1d2088}[data-theme=custom] .card-container[data-v-488e2e86]{color:rgba(var(--color-primary), 1)}.card-container[data-v-488e2e86]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .card-container[data-v-488e2e86]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .card-container[data-v-488e2e86]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .card-container[data-v-488e2e86]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .card-container[data-v-488e2e86]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .card-container[data-v-488e2e86]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .card-container[data-v-488e2e86]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .card-container[data-v-488e2e86]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .card-container[data-v-488e2e86]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .card-container[data-v-488e2e86]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .card-container[data-v-488e2e86]:hover{color:#67a3ff}[data-theme=njhkht] .card-container[data-v-488e2e86]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .card-container[data-v-488e2e86]:hover{color:rgba(var(--color-primary), 0.8)}.card-container img[data-v-488e2e86]{width:50px}.icon[data-v-488e2e86]{margin-right:12px;font-size:32px}.icon img[data-v-488e2e86]{width:50px}.title[data-v-488e2e86]{font-size:16px;color:#333;white-space:nowrap;line-height:1;margin-bottom:4px}.sub-title[data-v-488e2e86]{font-weight:normal;font-size:14px;color:#333}.desc[data-v-488e2e86]{font-size:12px;line-height:20px;color:#999}.grid-item__icon--bg[data-v-488e2e86]{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background-color:#0874e7}[data-theme=purple] .grid-item__icon--bg[data-v-488e2e86]{background-color:#7569e2}[data-theme=palevioletred] .grid-item__icon--bg[data-v-488e2e86]{background-color:#ce4545}[data-theme=forestgreen] .grid-item__icon--bg[data-v-488e2e86]{background-color:#3d8a50}[data-theme=deepblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#0f5fbd}[data-theme=orange] .grid-item__icon--bg[data-v-488e2e86]{background-color:#ea6000}[data-theme=skyblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#1a4586}[data-theme=aurorablue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#383b9e}[data-theme=tiffanyblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#00aaad}[data-theme=tsinghuapurple] .grid-item__icon--bg[data-v-488e2e86]{background-color:#5f2167}[data-theme=creativeblue] .grid-item__icon--bg[data-v-488e2e86]{background-color:#418cff}[data-theme=njhkht] .grid-item__icon--bg[data-v-488e2e86]{background-color:#1d2088}[data-theme=custom] .grid-item__icon--bg[data-v-488e2e86]{background-color:rgba(var(--color-primary), 1)}.grid-item__icon--bg[data-v-488e2e86]{border-radius:50%;margin-right:10px}.grid-item__icon[data-v-488e2e86]{color:#fff;font-size:28px}@media only screen and (max-width: 992px){.icon-card[data-v-488e2e86]{height:100%;margin-bottom:0px;border-radius:0;background:none}.icon-card[data-v-488e2e86].el-card.is-always-shadow{box-shadow:none}.icon-card[data-v-488e2e86]>.el-card__body{padding:16px 24px;box-sizing:border-box}.card-container[data-v-488e2e86]{display:block;text-align:center}.card-container .icon[data-v-488e2e86]{margin-right:0px;margin-bottom:9px}.card-container .title[data-v-488e2e86]{white-space:pre-wrap;font-size:13px;color:#333;line-height:16px}.el-col[data-v-488e2e86]{padding-left:0 !important;padding-right:0 !important}.icon-card[data-v-488e2e86] .el-card__body{box-sizing:border-box}.card-title[data-v-488e2e86]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.el-card[data-v-488e2e86]{border:none;border-right:1px solid #ebeef5;border-bottom:1px solid #ebeef5}}",""]),t.a=n},493:function(e,t,r){"use strict";r.r(t);var o=function(){return(0,this._self._c)("el-row",{staticClass:"epx-grid",attrs:{gutter:20}},[this._t("default")],2)};o._withStripped=!0;r(34);var n={name:"epx-grid-module",props:{mcolumn:{type:Number,default:function(){return 3}},column:{type:Number,default:function(){return 4}},lcolumn:{type:Number,default:function(){return this.column}},xlcolumn:{type:Number,default:function(){return this.lcolumn}},iconSize:[String,Number]},computed:{iconSizeString:function(){return"number"==typeof this.iconSize?this.iconSize+"px":this.iconSize}},provide:function(){return{column:this.column,mcolumn:this.mcolumn,lcolumn:this.lcolumn,xlcolumn:this.xlcolumn,iconSize:this.iconSizeString}}},a=r(3),i=r.n(a),c=r(456),l={insert:"head",singleton:!1},d=(i()(c.a,l),c.a.locals,r(1)),u=Object(d.a)(n,o,[],!1,null,"8b8a3c3c",null);t.default=u.exports},494:function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e._self._c;return t("el-col",{staticClass:"grid-module-item",attrs:{span:24/e.mcolumn,md:24/e.column,lg:24/e.lcolumn,xl:24/e.xlcolumn}},[t("el-card",{staticClass:"icon-card",attrs:{shadow:"nerver"},nativeOn:{click:function(t){return e.routerLink(e.link)}}},[e.cardTitle?t("div",{attrs:{slot:"header"},slot:"header"},[e._t("header",(function(){return[t("div",{staticClass:"card-title"},[e._v("\n "+e._s(e.cardTitle)+"\n ")])]}))],2):e._e(),t("div",{staticClass:"card-container"},[e._t("icon"),e.$slots.icon?e._e():t("div",{staticClass:"grid-item__icon--bg",style:{background:e.iconBackground}},[t("i",{class:["grid-item__icon",e.icon||"epx-icon-app"],style:{fontSize:e.iconSize+"px"}})]),t("div",{staticClass:"content"},[e._t("title"),e.title&&!e.$slots.title?t("p",{class:"title "+(e.cardTitle?"sub-title":"")},[e._v(e._s(e.title))]):e._e(),e._t("desc"),e.desc&&!e.$slots.desc?t("p",{staticClass:"desc"},[e._v(e._s(e.desc))]):e._e(),e._t("rate"),e.rate&&!e.$slots.rate?t("el-rate",{attrs:{disabled:"","show-score":"","text-color":"#ff9900"},model:{value:e.rate,callback:function(t){e.rate=t},expression:"rate"}}):e._e()],2)],2)])],1)};o._withStripped=!0;r(30);var n={name:"epx-grid-module-item",inject:["column","mcolumn","lcolumn","xlcolumn","iconSize"],props:{title:String,icon:String,desc:String,rate:String,cardTitle:String,iconSize:{type:String,default:"28"},iconStyle:{type:Object,default:function(){return{}}},iconBackground:String,link:String},methods:{routerLink:function(e){e&&this.$router.push(e)}}},a=r(3),i=r.n(a),c=r(457),l={insert:"head",singleton:!1},d=(i()(c.a,l),c.a.locals,r(1)),u=Object(d.a)(n,o,[],!1,null,"488e2e86",null);t.default=u.exports},5:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},6:function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return o}))},657:function(e,t,r){"use strict";var o=r(4),n=r.n(o)()((function(e){return e[1]}));n.push([e.i,':root{--color-primary: 8,116,231 }.epx-module-list{height:100%;box-sizing:border-box}.epx-module-list__inner{width:100%;height:100%;box-sizing:border-box;border-radius:4px}@media screen and (max-width: 992px){.epx-module-list__inner{padding:0}.epx-module-list__item{background:#fff;margin-bottom:10px}.epx-module-list__title{height:46px;border-bottom:1px solid #e3e3e3;padding:0 15px;display:flex;align-items:center}.epx-module-list__title>span{font-size:16px;font-weight:600;padding:0 8px;line-height:16px;position:relative}.epx-module-list__title>span::before{position:absolute;content:"";display:block;width:4px;height:100%;border-radius:2px;background-color:#0874e7}[data-theme=purple] .epx-module-list__title>span::before{background-color:#7569e2}[data-theme=palevioletred] .epx-module-list__title>span::before{background-color:#ce4545}[data-theme=forestgreen] .epx-module-list__title>span::before{background-color:#3d8a50}[data-theme=deepblue] .epx-module-list__title>span::before{background-color:#0f5fbd}[data-theme=orange] .epx-module-list__title>span::before{background-color:#ea6000}[data-theme=skyblue] .epx-module-list__title>span::before{background-color:#1a4586}[data-theme=aurorablue] .epx-module-list__title>span::before{background-color:#383b9e}[data-theme=tiffanyblue] .epx-module-list__title>span::before{background-color:#00aaad}[data-theme=tsinghuapurple] .epx-module-list__title>span::before{background-color:#5f2167}[data-theme=creativeblue] .epx-module-list__title>span::before{background-color:#418cff}[data-theme=njhkht] .epx-module-list__title>span::before{background-color:#1d2088}[data-theme=custom] .epx-module-list__title>span::before{background-color:rgba(var(--color-primary), 1)}.epx-module-list__title>span::before{left:-4px}.epx-module-list__submodule-icon{width:32px;height:32px;border-radius:50%;background-color:#0874e7}[data-theme=purple] .epx-module-list__submodule-icon{background-color:#7569e2}[data-theme=palevioletred] .epx-module-list__submodule-icon{background-color:#ce4545}[data-theme=forestgreen] .epx-module-list__submodule-icon{background-color:#3d8a50}[data-theme=deepblue] .epx-module-list__submodule-icon{background-color:#0f5fbd}[data-theme=orange] .epx-module-list__submodule-icon{background-color:#ea6000}[data-theme=skyblue] .epx-module-list__submodule-icon{background-color:#1a4586}[data-theme=aurorablue] .epx-module-list__submodule-icon{background-color:#383b9e}[data-theme=tiffanyblue] .epx-module-list__submodule-icon{background-color:#00aaad}[data-theme=tsinghuapurple] .epx-module-list__submodule-icon{background-color:#5f2167}[data-theme=creativeblue] .epx-module-list__submodule-icon{background-color:#418cff}[data-theme=njhkht] .epx-module-list__submodule-icon{background-color:#1d2088}[data-theme=custom] .epx-module-list__submodule-icon{background-color:rgba(var(--color-primary), 1)}.epx-module-list__submodule-icon{margin-bottom:6px;text-align:center}.epx-module-list__submodule-icon i{line-height:32px;color:#fff}}',""]),t.a=n},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(26);function n(e,t,r){return(t=Object(o.a)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},943:function(e,t,r){"use strict";r.r(t);r(8);var o=r(0),n=r(7),a=(r(21),r(9),r(23),r(5),r(16),r(14),r(40),r(32),r(25),r(153),r(41),r(43),r(493)),i=r(494),c=r(27),l=r.n(c),d=r(35),u={name:"epx-module-list",mixins:[l.a],components:Object(n.a)(Object(n.a)({},a.default.name,a.default),i.default.name,i.default),level:"child",style:{margin:0},column:4,mcolumn:3,data:function(){return{moduleList:[]}},computed:Object(o.a)(Object(o.a)({},Object(d.mapState)({appMenus:function(e){return e.config.appMenus}})),{},{hasChild:function(){return this.moduleList.some((function(e){return e.children&&e.children.length>0}))},menus:function(){var e=JSON.parse(JSON.stringify(this.moduleList));return this.hasChild&&e.forEach((function(e){e.children&&0!==e.children.length||(e.children=[Object(o.a)({},e)])})),e}}),methods:{getSiblingModuleList:function(e,t){for(var r=0;r<t.length;r++){var o=t[r];if(o.ID===e)return t;if(o.children){var n=this.getSiblingModuleList(e,o.children);if(n)return n}}},getChildModuleList:function(e,t){for(var r=0;r<t.length;r++){var o=t[r];if(o.ID===e)return o.children;if(o.children){var n=this.getChildModuleList(e,o.children);if(n)return n}}},getModuleList:function(){var e=this.$query,t=e.modules,r=e.serviceMenu,o=void 0===r?[]:r,n=e.moduleId;if("sibling"===this.$configs.level){var a=this.getSiblingModuleList(n,this.appMenus)||[];this.moduleList=a.filter((function(e){return e.ID!==n}))}else if(n){var i=this.getChildModuleList(n,this.appMenus)||[];this.moduleList=i}else this.moduleList=t||o},toPage:function(e){this.$createPage({title:e.NAME,component:"module-list-page",openType:e.OPEN_TYPE,pageId:e.MAIN_PAGE,moduleId:e.ID,moduleName:e.NAME})},renderSubModule:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=this.$createElement;return r("van-grid",{attrs:{gutter:10,"column-num":this.$configs.mcolumn,border:!1}},[t.map((function(t){return r("van-grid-item",{key:t.ID,on:{click:e.toPage.bind(e,t)},scopedSlots:{icon:function(){return r("div",{class:"epx-module-list__submodule-icon",style:t.ICON_BG_COLOR?{background:t.ICON_BG_COLOR}:{}},[r("i",{class:[t.FONT_ICON||"el-icon-menu"]})])}},attrs:{text:t.text}})}))])},renderMobileModule:function(){var e=this,t=this.$createElement;return this.hasChild?t("div",{class:"epx-module-list__list"},[this.menus.map((function(r){return t("div",{class:"epx-module-list__item",key:r.ID},[t("p",{class:"epx-module-list__title"},[t("span",[r.text])]),e.renderSubModule(r.children)])}))]):t("div",{class:"epx-module-list__item"},[this.renderSubModule(this.menus)])}},created:function(){this.getModuleList()},render:function(){var e=this,t=arguments[0];return t("div",{class:"epx-module-list",style:this.$isMobile?{margin:0}:{}},[this.$isMobile?this.renderMobileModule():t("div",{class:"epx-module-list__inner"},[t("epx-grid-module",{attrs:{lcolumn:this.$configs.column}},[this.menus.map((function(r){return t("epx-grid-module-item",{key:r.ID,attrs:{title:r.text,icon:r.FONT_ICON,iconBackground:r.ICON_BG_COLOR},nativeOn:{click:e.toPage.bind(e,r)}})}))])])])}},s=r(3),m=r.n(s),p=r(657),f={insert:"head",singleton:!1},b=(m()(p.a,f),p.a.locals,r(1)),h=Object(b.a)(u,void 0,void 0,!1,null,null,null).exports;h.install=function(e){e.component(h.name,h)};t.default=h}});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var
|
|
1
|
+
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=944)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},1:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,c){var s,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=s):a&&(s=c?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},10:function(e,t,n){"use strict";function r(e,t,n,a){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(r=function(e,t,n,a){function i(t,n){r(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(i("next",0),i("throw",1),i("return",2))})(e,t,n,a)}function a(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function c(n,o,a,i){var c=o&&o.prototype instanceof u?o:u,l=Object.create(c.prototype);return r(l,"_invoke",function(n,r,o){var a,i,c,u=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,c=e,d.n=n,s}};function p(n,r){for(i=n,c=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,a=l[t],p=d.p,m=a[2];n>3?(o=m===r)&&(c=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(i=0,d.v=r,d.n=a[1]):p<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,d.n=m,i=0))}if(o||n>1)return s;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,m),i=l,c=m;(t=i<2?e:c)||!f;){a||(i?i<3?(i>1&&(d.n=-1),p(i,c)):d.n=c:d.v=c);try{if(u=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==s)break}catch(t){a=e,i=1,c=t}finally{u=1}}return{value:t,done:f}}}(n,a,i),!0),l}var s={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var d=[][a]?t(t([][a]())):(r(t={},a,(function(){return this})),t),p=f.prototype=u.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=f,r(p,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,a,(function(){return this})),r(p,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:c,m:m}})()}n.d(t,"a",(function(){return o}))},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},18:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},19:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,c){var s,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},21:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},22:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(6);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},29:function(e,t){e.exports=require("core-js/modules/es.array.splice.js")},3:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},30:function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return o}))},31:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},34:function(e,t){e.exports=require("vuex")},35:function(e,t,n){"use strict"},37:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},4:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function c(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],s=t.base?a[0]+t.base:a[0],u=n[s]||0,l="".concat(s," ").concat(u);n[s]=u+1;var f=c(l),d={css:a[1],media:a[2],sourceMap:a[3]};-1!==f?(i[f].references++,i[f].updater(d)):i.push({identifier:l,updater:b(d,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function b(e,t){var n,r,o;if(t.singleton){var a=h++;n=m||(m=u(t)),r=d.bind(null,n,a,!1),o=d.bind(null,n,a,!0)}else n=u(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=s(e,t),u=0;u<n.length;u++){var l=c(n[u]);0===i[l].references&&(i[l].updater(),i.splice(l,1))}n=a}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},41:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},43:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},5:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(16);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,c=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},52:function(e,t){e.exports=require("core-js/modules/es.promise.js")},53:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},558:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,"[data-v-0140f5ce]:root{--color-primary: 8,116,231 }.container[data-v-0140f5ce]{width:100%;height:100%;display:flex;position:absolute;left:0;top:0}.aside[data-v-0140f5ce]{width:240px;flex-shrink:0;background:#fff;box-shadow:1px 1px 5px rgba(21,21,21,.1);z-index:102;position:relative}.main[data-v-0140f5ce]{flex:1;overflow:hidden}.module[data-v-0140f5ce]{height:100%;display:flex;flex-direction:column}.tabs[data-v-0140f5ce]{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.tabs[data-v-0140f5ce]>.el-tabs__header{background:#fff;margin:0;border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:0px 2px 6px 0px rgba(0,0,0,.1);z-index:1}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__nav-wrap::after{display:none}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__nav-scroll{padding:0 20px}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__item{height:50px;line-height:50px}.tabs[data-v-0140f5ce]>.el-tabs__content{flex:1;overflow:hidden}.tabs[data-v-0140f5ce]>.el-tabs__content>.el-tab-pane{height:100%;overflow:auto}.module-inner[data-v-0140f5ce]{height:100%;background:#fff;box-sizing:border-box;padding:0;box-shadow:0 0 8px rgba(117,117,117,.1)}.menu-back[data-v-0140f5ce]{width:100%;height:50px}.menu-back-inner[data-v-0140f5ce]{width:100%;height:50px;cursor:pointer;border-top:1px solid #e3e3e3;display:flex;justify-content:center;align-items:center;position:absolute;bottom:0;font-size:16px;color:#0874e7}[data-theme=purple] .menu-back-inner[data-v-0140f5ce]{color:#7569e2}[data-theme=palevioletred] .menu-back-inner[data-v-0140f5ce]{color:#ce4545}[data-theme=forestgreen] .menu-back-inner[data-v-0140f5ce]{color:#3d8a50}[data-theme=deepblue] .menu-back-inner[data-v-0140f5ce]{color:#0f5fbd}[data-theme=orange] .menu-back-inner[data-v-0140f5ce]{color:#ea6000}[data-theme=skyblue] .menu-back-inner[data-v-0140f5ce]{color:#1a4586}[data-theme=aurorablue] .menu-back-inner[data-v-0140f5ce]{color:#383b9e}[data-theme=tiffanyblue] .menu-back-inner[data-v-0140f5ce]{color:#00aaad}[data-theme=tsinghuapurple] .menu-back-inner[data-v-0140f5ce]{color:#5f2167}[data-theme=creativeblue] .menu-back-inner[data-v-0140f5ce]{color:#418cff}[data-theme=njhkht] .menu-back-inner[data-v-0140f5ce]{color:#1d2088}[data-theme=custom] .menu-back-inner[data-v-0140f5ce]{color:rgba(var(--color-primary), 1)}.menu-back-inner[data-v-0140f5ce]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .menu-back-inner[data-v-0140f5ce]:hover{color:#67a3ff}[data-theme=njhkht] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .menu-back-inner[data-v-0140f5ce]:hover{color:rgba(var(--color-primary), 0.8)}.menu-back-inner>i[data-v-0140f5ce]{margin-right:4px}@media screen and (min-width: 992px){.main[data-v-0140f5ce]{padding:10px;position:relative}.main[data-v-0140f5ce] .dashboard{position:relative;left:-10px;top:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding-bottom:0}.main[data-v-0140f5ce]>.epx-router-view>.epx-page>.epx-base-page{position:relative;left:-10px;top:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding-bottom:0}.module-inner[data-v-0140f5ce]{padding:16px}}",""]),t.a=o},6:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(24);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},866:function(e,t,n){"use strict";n.r(t);n(8);var r=n(1),o=n(0),a=(n(9),n(29),n(3),n(11),n(18),n(28),n(25),n(34)),i={name:"epx-module-tabs-page",extends:n(136).default,layout:"flex",openMenu:"first",style:{margin:0},data:function(){return{module:{},moduleName:"",modules:[],showModuleNav:!0,activeName:""}},computed:Object(o.a)(Object(o.a)({},Object(a.mapState)({showMenu:function(e){return e.config.showMenu}})),{},{firstPage:function(){return this.getModuleFirstPage(this.modules)}}),methods:{getModuleFirstPage:function(e){if(e.length>0){var t=e[0];if(t.MAIN_PAGE)return t.MAIN_PAGE;if(t.children){var n=this.getModuleFirstPage(t.children);if(n)return n}}},getModule:function(){var e=this;this.$http.get({entityId:"FM_MODULE",id:this.moduleId}).then((function(t){if(t){var n=t.data||{},r=e.$util.getCurrentLanguage();if(n.LANGUAGE_PARAM)for(var o in n.LANGUAGE_PARAM){var a=n.LANGUAGE_PARAM[o];a&&(n[o]=a[r]||n[o])}e.module=n,e.moduleName=n.NAME_ALIAS||n.NAME,e.$parent.$emit("setMenuInfo",{module:e.module,menu:e.modules})}})).catch((function(){e.moduleName=e.appConfig.NAME}))},getSubModules:function(e){var t=this;if(e){var n=this.$query.activeMenuId;this.$http.getUserMenuTreeData({moduleId:e,roleId:this.$currentRoleId,mode:this.$isMobile?"move":"pc"}).then((function(e){var o=Object(r.a)(e);t.getShowMenuData(o),t.modules=o,t.activeName=n||o[0].ID,t.$parent.$emit("setMenuInfo",{module:t.module,menu:t.modules})}))}},getShowMenuData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(n,r){"1"===n.HIDDEN_SUB_MENU&&(n.children=[]),"1"===n.HIDDEN_MENU&&t.splice(r,1),n.children&&n.children.length>0&&e.getShowMenuData(n.children)}))},toPage:function(e){"1"===e.OPEN_TYPE?this.$createPage({moduleId:e.ID,component:"module-index-page",pageId:e.MAIN_PAGE,menuTitle:e.text,title:e.text,openType:e.OPEN_TYPE}):"6"===e.OPEN_TYPE?window.open(e.LINK_URL):(this.$refs.router.clearPage(),this.$refs.router.createPage({moduleId:e.ID,component:"module-list-page",pageId:e.MAIN_PAGE,menuTitle:e.text}))},handleClick:function(){}},render:function(){var e=this,t=arguments[0];return t("div",{class:"container"},[t("div",{class:"main"},[t("el-tabs",{class:"tabs",model:{value:e.activeName,callback:function(t){e.activeName=t}}},[this.modules.map((function(e){return t("el-tab-pane",{key:e.ID,attrs:{label:e.text,name:e.ID,lazy:!0}},[t("span",{slot:"label"},[e.FONT_ICON&&t("i",{class:e.FONT_ICON})," ",e.text]),t("epx-page",{attrs:{moduleId:e.ID,title:e.text,pageId:e.MAIN_PAGE}})])}))])])])},created:function(){this.$store.commit("SWITCH_MENU_SHOW",!0);var e=this.$route.query.moduleId,t=this.$query,n=t.moduleId,r=void 0===n?e:n,o=t.serviceMenu,a=t.activeMenuId;o?(this.modules=o,this.module={},this.moduleName=this.appConfig.NAME,this.activeName=a||this.modules[0].ID):(this.moduleId=r,this.getModule(r),this.getSubModules(r))}},c=n(4),s=n.n(c),u=n(558),l={insert:"head",singleton:!1},f=(s()(u.a,l),u.a.locals,n(2)),d=Object(f.a)(i,void 0,void 0,!1,null,"0140f5ce",null).exports;d.install=function(e){e.component(d.name,d)};t.default=d},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},90:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(51),a=n(15),i=n(30),c=n(43),s=n(7),u=(n(35),n(0)),l=n(13),f=(n(14),n(19),n(9),n(8),n(37),n(22),n(3),n(53),n(52),n(107),n(12),n(21),n(17),n(11),n(26),n(18),n(31),n(28),n(25),n(40),n(41),n(27)),d=["xsspan"];function p(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),p.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var a=function(){var n,o=e.value,a=o.configs,i=void 0===a?{}:a,c=o.id,l=t.pageConfig.itemConfigs[c]||{},f=Object(u.a)(Object(u.a)({},l),i);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var d=f.iterator,p=d.data,m=d.name,h=void 0===m?"item":m,b=d.key,v=void 0===b?"ID":b,g=d.index,y=void 0===g?"index":g,x=[];if(Array.isArray(p))x=p;else{var j=/^\$\[(.+)\]$/.exec(p);j&&(x=t.pageParams[j[1]])}x&&Array.isArray(x)&&x.forEach((function(e,t){var n=e[v]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(s.a)(Object(s.a)(Object(s.a)({},h,e),y,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(c.a)(e,d),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,a=e.justify,i=void 0===a?"flex-start":a,c=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":i,"align-items":void 0===c?"top":c}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},a=e.compInfo[t.id];return void 0===r&&a&&(r=a.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,a=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),a)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,a=t.id,i=e.pageConfig[a]||{};if(null!==(n=Object(u.a)(Object(u.a)({},i),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(i.a)(Object(a.a)().m((function t(){var n,r,o,i,c,s,u;return Object(a.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((i=o.n()).done){t.n=8;break}if("request"!==(c=i.value).type){t.n=6;break}if(!c.action&&!c.rule){t.n=5;break}if(e.pageParams[c.code]||e.$set(e.pageParams,c.code,null),"sync"!==c.requestType){t.n=4;break}return t.n=3,e.request(c);case 3:t.n=5;break;case 4:e.request(c);case 5:t.n=7;break;case 6:s="","fixed"===c.type?(s=JSON.parse(c.value),e.$set(e.pageParams,c.code,e.getFormatValue(c,s))):"query"===c.type?(s=e.$util.getQueryValue(c.value||c.code,e.$query||e.$tab),e.$set(e.pageParams,c.code,e.getFormatValue(c,s))):"component"===c.type&&(e.pageParams[c.code]||e.$set(e.pageParams,c.code,null),e.watchCompValue(c));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){p.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),a=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,a)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(i.a)(Object(a.a)().m((function t(){return Object(a.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},b=n(4),v=n.n(b),g=n(95),y={insert:"head",singleton:!1},x=(v()(g.a,y),g.a.locals,n(96)),j={insert:"head",singleton:!1},O=(v()(x.a,j),x.a.locals,n(2)),w=Object(O.a)(h,r,[],!1,null,null,null);t.a=w.exports},95:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},96:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-component{margin:var(--margin)}",""]),t.a=o}});
|
|
3
|
+
var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function c(n,a,o,i){var c=a&&a.prototype instanceof u?a:u,l=Object.create(c.prototype);return r(l,"_invoke",function(n,r,a){var o,i,c,u=0,l=a||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,i=0,c=e,d.n=n,s}};function p(n,r){for(i=n,c=r,t=0;!f&&u&&!a&&t<l.length;t++){var a,o=l[t],p=d.p,m=o[2];n>3?(a=m===r)&&(c=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&p<o[1])?(i=0,d.v=r,d.n=o[1]):p<m&&(a=n<3||o[0]>r||r>m)&&(o[4]=n,o[5]=r,d.n=m,i=0))}if(a||n>1)return s;throw f=!0,r}return function(a,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,m),i=l,c=m;(t=i<2?e:c)||!f;){o||(i?i<3?(i>1&&(d.n=-1),p(i,c)):d.n=c:d.v=c);try{if(u=2,o){if(i||(a="next"),t=o[a]){if(!(t=t.call(o,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(c=TypeError("The iterator does not provide a '"+a+"' method"),i=1);o=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==s)break}catch(t){o=e,i=1,c=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),l}var s={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var d=[][o]?t(t([][o]())):(r(t={},o,(function(){return this})),t),p=f.prototype=u.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=f,r(p,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,o,(function(){return this})),r(p,"toString",(function(){return"[object Generator]"})),(a=function(){return{w:c,m:m}})()}n.d(t,"a",(function(){return a}))},11:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},12:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},14:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},15:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},16:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},17:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(12);function a(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},173:function(e,t,n){"use strict";n.r(t);n(8);var r=n(77);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},18:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(17);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw i}}}}},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12);var a=n(37),o=n(17);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},23:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},24:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var c=e[o](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function c(e){r(i,a,o,c,s,"next",e)}function s(e){r(i,a,o,c,s,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return a}))},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(6);function a(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=Object(r.a)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},29:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},3:function(e,t,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function c(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],a=0;a<e.length;a++){var o=e[a],s=t.base?o[0]+t.base:o[0],u=n[s]||0,l="".concat(s," ").concat(u);n[s]=u+1;var f=c(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(i[f].references++,i[f].updater(d)):i.push({identifier:l,updater:v(d,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=o(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function v(e,t){var n,r,a;if(t.singleton){var o=h++;n=m||(m=u(t)),r=d.bind(null,n,o,!1),a=d.bind(null,n,o,!0)}else n=u(t),r=p.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=c(n[r]);i[a].references--}for(var o=s(e,t),u=0;u<n.length;u++){var l=c(n[u]);0===i[l].references&&(i[l].updater(),i.splice(l,1))}n=o}}}},30:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},32:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},34:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},35:function(e,t){e.exports=require("vuex")},36:function(e,t){e.exports=require("core-js/modules/es.array.splice.js")},37:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},38:function(e,t,n){"use strict"},4:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&a[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},41:function(e,t){e.exports=require("core-js/modules/es.json.parse.js")},43:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},45:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},46:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(53);var a=n(17),o=n(54);function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,c=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return c}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},5:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},50:function(e,t){e.exports=require("core-js/modules/es.promise.js")},53:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},55:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},658:function(e,t,n){"use strict";var r=n(4),a=n.n(r)()((function(e){return e[1]}));a.push([e.i,"[data-v-0140f5ce]:root{--color-primary: 8,116,231 }.container[data-v-0140f5ce]{width:100%;height:100%;display:flex;position:absolute;left:0;top:0}.aside[data-v-0140f5ce]{width:240px;flex-shrink:0;background:#fff;box-shadow:1px 1px 5px rgba(21,21,21,.1);z-index:102;position:relative}.main[data-v-0140f5ce]{flex:1;overflow:hidden}.module[data-v-0140f5ce]{height:100%;display:flex;flex-direction:column}.tabs[data-v-0140f5ce]{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.tabs[data-v-0140f5ce]>.el-tabs__header{background:#fff;margin:0;border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:0px 2px 6px 0px rgba(0,0,0,.1);z-index:1}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__nav-wrap::after{display:none}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__nav-scroll{padding:0 20px}.tabs[data-v-0140f5ce]>.el-tabs__header .el-tabs__item{height:50px;line-height:50px}.tabs[data-v-0140f5ce]>.el-tabs__content{flex:1;overflow:hidden}.tabs[data-v-0140f5ce]>.el-tabs__content>.el-tab-pane{height:100%;overflow:auto}.module-inner[data-v-0140f5ce]{height:100%;background:#fff;box-sizing:border-box;padding:0;box-shadow:0 0 8px rgba(117,117,117,.1)}.menu-back[data-v-0140f5ce]{width:100%;height:50px}.menu-back-inner[data-v-0140f5ce]{width:100%;height:50px;cursor:pointer;border-top:1px solid #e3e3e3;display:flex;justify-content:center;align-items:center;position:absolute;bottom:0;font-size:16px;color:#0874e7}[data-theme=purple] .menu-back-inner[data-v-0140f5ce]{color:#7569e2}[data-theme=palevioletred] .menu-back-inner[data-v-0140f5ce]{color:#ce4545}[data-theme=forestgreen] .menu-back-inner[data-v-0140f5ce]{color:#3d8a50}[data-theme=deepblue] .menu-back-inner[data-v-0140f5ce]{color:#0f5fbd}[data-theme=orange] .menu-back-inner[data-v-0140f5ce]{color:#ea6000}[data-theme=skyblue] .menu-back-inner[data-v-0140f5ce]{color:#1a4586}[data-theme=aurorablue] .menu-back-inner[data-v-0140f5ce]{color:#383b9e}[data-theme=tiffanyblue] .menu-back-inner[data-v-0140f5ce]{color:#00aaad}[data-theme=tsinghuapurple] .menu-back-inner[data-v-0140f5ce]{color:#5f2167}[data-theme=creativeblue] .menu-back-inner[data-v-0140f5ce]{color:#418cff}[data-theme=njhkht] .menu-back-inner[data-v-0140f5ce]{color:#1d2088}[data-theme=custom] .menu-back-inner[data-v-0140f5ce]{color:rgba(var(--color-primary), 1)}.menu-back-inner[data-v-0140f5ce]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .menu-back-inner[data-v-0140f5ce]:hover{color:#67a3ff}[data-theme=njhkht] .menu-back-inner[data-v-0140f5ce]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .menu-back-inner[data-v-0140f5ce]:hover{color:rgba(var(--color-primary), 0.8)}.menu-back-inner>i[data-v-0140f5ce]{margin-right:4px}@media screen and (min-width: 992px){.main[data-v-0140f5ce]{padding:10px;position:relative}.main[data-v-0140f5ce] .dashboard{position:relative;left:-10px;top:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding-bottom:0}.main[data-v-0140f5ce]>.epx-router-view>.epx-page>.epx-base-page{position:relative;left:-10px;top:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding-bottom:0}.module-inner[data-v-0140f5ce]{padding:16px}}",""]),t.a=a},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(26);function a(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var a=n(46),o=n(10),i=n(24),c=n(45),s=n(7),u=(n(38),n(0)),l=n(19),f=(n(13),n(18),n(9),n(8),n(34),n(94),n(23),n(5),n(55),n(50),n(92),n(11),n(20),n(15),n(16),n(30),n(14),n(29),n(32),n(25),n(41),n(43),n(27)),d=["xsspan"];function p(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),p.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var a=m.apply(r,[e]);if(a)return a}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{},loadComponentHandler:null,addPageParamsHandler:null,watchUnwatchers:[],pageProxyInstance:null,pageInstanceRef:null}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],a=Object(l.a)(n);try{var o=function(){var n,a=e.value,o=a.configs,i=void 0===o?{}:o,c=a.id,l=t.pageConfig.itemConfigs[c]||{},f=Object(u.a)(Object(u.a)({},l),i);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var d=f.iterator,p=d.data,m=d.name,h=void 0===m?"item":m,v=d.key,b=void 0===v?"ID":v,g=d.index,y=void 0===g?"index":g,x=[];if(Array.isArray(p))x=p;else{var j=/^\$\[(.+)\]$/.exec(p);j&&(x=t.pageParams[j[1]])}x&&Array.isArray(x)&&x.forEach((function(e,t){var n=e[b]||t;r.push(Object(u.a)(Object(u.a)({},a),{},{iterator:Object(s.a)(Object(s.a)(Object(s.a)({},h,e),y,t),"key",n)}))}))}else r.push(a)};for(a.s();!(e=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(c.a)(e,d),a=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete a.id,delete a.style,delete a.title,a}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,a=void 0===r?"column":r,o=e.justify,i=void 0===o?"flex-start":o,c=e.align;return"flex"===n?{display:"flex","flex-direction":a,"justify-content":i,"align-items":void 0===c?"top":c}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,a={},o=e.compInfo[t.id];return void 0===r&&o&&(r=o.configs.flex),"flex"===n&&r&&(a.flex=1,a.overflow="hidden"),a}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,a=t.id,o=e.pageConfig[a]||{};return Object(u.a)(Object(u.a)({},r),o)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,a=void 0===r?{}:r,o=t.id,i=e.pageConfig[o]||{};if(null!==(n=Object(u.a)(Object(u.a)({},i),a).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage){var e={value:this};this.pageInstanceRef=e;var t={get instance(){return e.value},get $el(){return e.value?e.value.$el:null},get $pageId(){return e.value?e.value.$pageId:""},get $metaId(){return e.value?e.value.$metaId:null},get $query(){return e.value?e.value.$query:{}},get pageParams(){return e.value?e.value.pageParams:{}},get pageConfig(){return e.value?e.value.pageConfig:{}},get $component(){return e.value?e.value.$component:{}},get component(){return e.value?e.value.component:{}},get $configs(){return e.value?e.value.$configs:{}},get $parent(){return e.value?e.value.$parent:{}},get page(){return e.value?e.value.page:null},get routes(){return e.value?e.value.routes:[]},get currentQuery(){return e.value?e.value.currentQuery:{}},get pageEvents(){return e.value?e.value.pageEvents:{}},$refesh:function(){return e.value&&e.value.$refesh&&e.value.$refesh()},dispatch:function(){return e.value&&e.value.dispatch&&e.value.dispatch.apply(e.value,arguments)},$set:function(){return e.value&&e.value.$set&&e.value.$set.apply(e.value,arguments)},$emit:function(){return e.value&&e.value.$emit&&e.value.$emit.apply(e.value,arguments)},$on:function(){return e.value&&e.value.$on&&e.value.$on.apply(e.value,arguments)},$off:function(){return e.value&&e.value.$off&&e.value.$off.apply(e.value,arguments)},get _isDestroyed(){return!e.value}};return this.pageProxyInstance=t,Object.freeze(t),{upPage:t,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}}},methods:{getPageParams:function(){var e=this;return Object(i.a)(Object(o.a)().m((function t(){var n,r,a,i,c,s,u;return Object(o.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,a=Object(l.a)(r),t.p=1,a.s();case 2:if((i=a.n()).done){t.n=8;break}if("request"!==(c=i.value).type){t.n=6;break}if(!c.action&&!c.rule){t.n=5;break}if(e.pageParams[c.code]||e.$set(e.pageParams,c.code,null),"sync"!==c.requestType){t.n=4;break}return t.n=3,e.request(c);case 3:t.n=5;break;case 4:e.request(c);case 5:t.n=7;break;case 6:s="","fixed"===c.type?(s=JSON.parse(c.value),e.$set(e.pageParams,c.code,e.getFormatValue(c,s))):"query"===c.type?(s=e.$util.getQueryValue(c.value||c.code,e.$query||e.$tab),e.$set(e.pageParams,c.code,e.getFormatValue(c,s))):"component"===c.type&&(e.pageParams[c.code]||e.$set(e.pageParams,c.code,null),e.watchCompValue(c));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,a.e(u);case 10:return t.p=10,a.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){p.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),a=m.apply(this,[n]),o=this.$util.getQueryValue(r,a);if(this.$set(this.pageParams,e.code,this.getFormatValue(e,o)),a&&!this.watchComponentMap[e.code]){var i=a.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0});this.watchComponentMap[e.code]=!0,this.watchUnwatchers.push(i)}},loadComponent:function(e){var t=Object(a.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.addPageParamsHandler=function(t){var n=Object(a.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)},this.loadComponentHandler=this.loadComponent.bind(this),this.$on("add-page-params",this.addPageParamsHandler),this.$on("load-component",this.loadComponentHandler)},mounted:function(){var e=this;return Object(i.a)(Object(o.a)().m((function t(){var n;return Object(o.a)().w((function(t){for(;;)switch(t.n){case 0:if(n=e.$refs.container){t.n=1;break}return t.a(2);case 1:n.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 2:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;if(t){t.addEventListener("scroll",this.saveScrollPosition);var n=setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop),clearTimeout(n)}),10)}},deactivated:function(){var e=this.$refs.container;e&&e.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){var e=this,t=this.$refs.container;t&&t.removeEventListener("scroll",this.saveScrollPosition),this.addPageParamsHandler&&this.$off("add-page-params",this.addPageParamsHandler),this.loadComponentHandler&&this.$off("load-component",this.loadComponentHandler),this.addPageParamsHandler=null,this.loadComponentHandler=null,this.watchUnwatchers&&this.watchUnwatchers.length&&(this.watchUnwatchers.forEach((function(e){"function"==typeof e&&e()})),this.watchUnwatchers=[]),this.timer&&Object.keys(this.timer).forEach((function(t){clearTimeout(e.timer[t]),delete e.timer[t]})),this.pageInstanceRef&&(this.pageInstanceRef.value=null,this.pageInstanceRef=null),this.pageProxyInstance&&(this.pageProxyInstance=null),this.pageParams=null,this.model=null,this.compInfo=null,this.watchRequestMap=null,this.watchComponentMap=null}},v=n(3),b=n.n(v),g=n(84),y={insert:"head",singleton:!1},x=(b()(g.a,y),g.a.locals,n(85)),j={insert:"head",singleton:!1},O=(b()(x.a,j),x.a.locals,n(1)),P=Object(O.a)(h,r,[],!1,null,null,null);t.a=P.exports},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},84:function(e,t,n){"use strict";var r=n(4),a=n.n(r)()((function(e){return e[1]}));a.push([e.i,":root{--color-primary: 8,116,231 }.epx-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=a},85:function(e,t,n){"use strict";var r=n(4),a=n.n(r)()((function(e){return e[1]}));a.push([e.i,":root{--color-primary: 8,116,231 }.epx-component{margin:var(--margin)}",""]),t.a=a},9:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},92:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},94:function(e,t){e.exports=require("core-js/modules/es.object.freeze.js")},944:function(e,t,n){"use strict";n.r(t);n(8);var r=n(2),a=n(0),o=(n(9),n(36),n(5),n(16),n(14),n(32),n(25),n(35)),i={name:"epx-module-tabs-page",extends:n(173).default,layout:"flex",openMenu:"first",style:{margin:0},data:function(){return{module:{},moduleName:"",modules:[],showModuleNav:!0,activeName:""}},computed:Object(a.a)(Object(a.a)({},Object(o.mapState)({showMenu:function(e){return e.config.showMenu}})),{},{firstPage:function(){return this.getModuleFirstPage(this.modules)}}),methods:{getModuleFirstPage:function(e){if(e.length>0){var t=e[0];if(t.MAIN_PAGE)return t.MAIN_PAGE;if(t.children){var n=this.getModuleFirstPage(t.children);if(n)return n}}},getModule:function(){var e=this;this.$http.get({entityId:"FM_MODULE",id:this.moduleId}).then((function(t){if(t){var n=t.data||{},r=e.$util.getCurrentLanguage();if(n.LANGUAGE_PARAM)for(var a in n.LANGUAGE_PARAM){var o=n.LANGUAGE_PARAM[a];o&&(n[a]=o[r]||n[a])}e.module=n,e.moduleName=n.NAME_ALIAS||n.NAME,e.$parent.$emit("setMenuInfo",{module:e.module,menu:e.modules})}})).catch((function(){e.moduleName=e.appConfig.NAME}))},getSubModules:function(e){var t=this;if(e){var n=this.$query.activeMenuId;this.$http.getUserMenuTreeData({moduleId:e,roleId:this.$currentRoleId,mode:this.$isMobile?"move":"pc"}).then((function(e){var a=Object(r.a)(e);t.getShowMenuData(a),t.modules=a,t.activeName=n||a[0].ID,t.$parent.$emit("setMenuInfo",{module:t.module,menu:t.modules})}))}},getShowMenuData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(n,r){"1"===n.HIDDEN_SUB_MENU&&(n.children=[]),"1"===n.HIDDEN_MENU&&t.splice(r,1),n.children&&n.children.length>0&&e.getShowMenuData(n.children)}))},toPage:function(e){"1"===e.OPEN_TYPE?this.$createPage({moduleId:e.ID,component:"module-index-page",pageId:e.MAIN_PAGE,menuTitle:e.text,title:e.text,openType:e.OPEN_TYPE}):"6"===e.OPEN_TYPE?window.open(e.LINK_URL):(this.$refs.router.clearPage(),this.$refs.router.createPage({moduleId:e.ID,component:"module-list-page",pageId:e.MAIN_PAGE,menuTitle:e.text}))},handleClick:function(){}},render:function(){var e=this,t=arguments[0];return t("div",{class:"container"},[t("div",{class:"main"},[t("el-tabs",{class:"tabs",model:{value:e.activeName,callback:function(t){e.activeName=t}}},[this.modules.map((function(e){return t("el-tab-pane",{key:e.ID,attrs:{label:e.text,name:e.ID,lazy:!0}},[t("span",{slot:"label"},[e.FONT_ICON&&t("i",{class:e.FONT_ICON})," ",e.text]),t("epx-page",{attrs:{moduleId:e.ID,title:e.text,pageId:e.MAIN_PAGE}})])}))])])])},created:function(){this.$store.commit("SWITCH_MENU_SHOW",!0);var e=this.$route.query.moduleId,t=this.$query,n=t.moduleId,r=void 0===n?e:n,a=t.serviceMenu,o=t.activeMenuId;a?(this.modules=a,this.module={},this.moduleName=this.appConfig.NAME,this.activeName=o||this.modules[0].ID):(this.moduleId=r,this.getModule(r),this.getSubModules(r))}},c=n(3),s=n.n(c),u=n(658),l={insert:"head",singleton:!1},f=(s()(u.a,l),u.a.locals,n(1)),d=Object(f.a)(i,void 0,void 0,!1,null,"0140f5ce",null).exports;d.install=function(e){e.component(d.name,d)};t.default=d}});
|