epx-frame 5.0.5 → 5.1.0
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/lib/0.js +1 -1
- package/lib/1.js +1 -1
- package/lib/115.js +1 -1
- package/lib/131.js +2 -2
- package/lib/132.js +1 -1
- package/lib/2.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/add-form-item.js +1 -1
- package/lib/components/add-form.js +2 -2
- package/lib/components/ai-agent-page.js +1 -1
- package/lib/components/ai-chat-page.js +1 -1
- package/lib/components/ai-import-page.js +2 -2
- package/lib/components/ai-import.js +1 -1
- 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 +1 -1
- package/lib/components/card.js +1 -1
- package/lib/components/carousel.js +1 -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 +1 -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 +3 -1
- 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.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 +1 -1
- package/lib/components/list.js +1 -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 +1 -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 +1 -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/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/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/page.js +1 -1
- package/lib/utils/pdf.viewer.js +2 -2
- package/lib/utils/util.js +1 -1
- package/package.json +1 -1
package/lib/components/mine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},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=787)}({0:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(7);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},1:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(9);var o=r(14);function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(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.")}()}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},11:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},125:function(e,t,r){"use strict";r.r(t),t.default=r.p+"media/photo.png"},134:function(e,t){e.exports=require("jsencrypt/bin/jsencrypt.min")},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(9);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,r){"use strict";function n(e,t,r,n,o,i,s,a){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(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(s)},u._ssrRegister=c):o&&(c=a?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 p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(5);function o(e){var t=function(e,t){if("object"!=Object(n.a)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=Object(n.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(n.a)(t)?t:t+""}},24:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},3:function(e,t,r){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=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]}}(),s=[];function a(e){for(var t=-1,r=0;r<s.length;r++)if(s[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var p=a(l),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(s[p].references++,s[p].updater(d)):s.push({identifier:l,updater:g(d,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=p(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function f(e,t,r){var n=r.css,o=r.media,i=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,h=0;function g(e,t){var r,n,o;if(t.singleton){var i=h++;r=m||(m=u(t)),n=d.bind(null,r,i,!1),o=d.bind(null,r,i,!0)}else r=u(t),n=f.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=a(r[n]);s[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=a(r[u]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}r=i}}}},30:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},33:function(e,t){e.exports=require("vuex")},34:function(e,t,r){"use strict"},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,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},5:function(e,t,r){"use strict";function n(e){return(n="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 n}))},512:function(e,t,r){"use strict";var n=r(4),o=r.n(n)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-mine .van-overlay{z-index:200 !important}.epx-mine .van-popup{z-index:201 !important}.epx-mine__card{margin:5px 15px 15px;padding:0 20px;background:#fff;box-shadow:0px 2px 8px 0px rgba(0,0,0,.15);border-radius:6px;display:flex;align-items:center}.epx-mine__user-head{flex-shrink:0;width:80px;height:80px;border-radius:50%;overflow:hidden;margin-right:20px}.epx-mine__user-head>img{width:100%;height:100%}.epx-mine__user-info{flex:1;overflow:hidden;padding:10px 0}.epx-mine__user-name{font-size:18px;margin-bottom:4px}.epx-mine__user-desc{color:#555;line-height:1;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epx-mine__item-icon{color:#0874e7}[data-theme=purple] .epx-mine__item-icon{color:#7569e2}[data-theme=palevioletred] .epx-mine__item-icon{color:#ce4545}[data-theme=forestgreen] .epx-mine__item-icon{color:#3d8a50}[data-theme=deepblue] .epx-mine__item-icon{color:#0f5fbd}[data-theme=orange] .epx-mine__item-icon{color:#ea6000}[data-theme=skyblue] .epx-mine__item-icon{color:#1a4586}[data-theme=aurorablue] .epx-mine__item-icon{color:#383b9e}[data-theme=tiffanyblue] .epx-mine__item-icon{color:#00aaad}[data-theme=tsinghuapurple] .epx-mine__item-icon{color:#5f2167}[data-theme=creativeblue] .epx-mine__item-icon{color:#418cff}[data-theme=njhkht] .epx-mine__item-icon{color:#1d2088}[data-theme=custom] .epx-mine__item-icon{color:rgba(var(--color-primary), 1)}.epx-mine__item-icon:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .epx-mine__item-icon:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .epx-mine__item-icon:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .epx-mine__item-icon:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .epx-mine__item-icon:hover{color:rgb(63,127,202.2)}[data-theme=orange] .epx-mine__item-icon:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .epx-mine__item-icon:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .epx-mine__item-icon:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .epx-mine__item-icon:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .epx-mine__item-icon:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .epx-mine__item-icon:hover{color:#67a3ff}[data-theme=njhkht] .epx-mine__item-icon:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .epx-mine__item-icon:hover{color:rgba(var(--color-primary), 0.8)}.epx-mine__item-icon{font-size:18px;margin-right:4px;line-height:24px}.epx-mine__logout-btn{height:44px;width:100%;background:#fff;text-align:center;line-height:44px;margin-top:10px}.epx-mine__update-password{box-sizing:border-box;height:100%;background:#f3f5fa}.epx-mine__update-password-content{padding:20px}.epx-mine__password-input{margin-bottom:10px}.epx-mine__update-password-btn{width:70%;display:block;margin:0 auto;margin-top:100px}.epx-mine__page-header{height:46px;box-sizing:border-box;background:#fff;display:flex;align-items:center;padding:12px;font-size:16px;border-bottom:1px solid #e3e3e3;margin-bottom:10px}.epx-mine__page-header i{margin-right:8px;font-size:20px}.epx-mine__forget-password-btn{margin-top:-10px}.epx-mine__forget-password-input{display:flex}.epx-mine__get-code{width:140px;text-align:center;height:36px;margin-left:12px}",""]),t.a=o},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(23);function o(e,t,r){return(t=Object(n.a)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},787:function(e,t,r){"use strict";r.r(t);r(8);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-mine",style:e.$component.style},[t("div",{staticClass:"epx-mine__card"},[t("div",{staticClass:"epx-mine__user-head"},[t("img",{attrs:{src:e.userPhoto,alt:""}})]),t("div",{staticClass:"epx-mine__user-info"},[t("p",{staticClass:"epx-mine__user-name"},[e._v(e._s(e.userData.NAME))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("user account"))+":"+e._s(e.userData.ACCOUNT))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("affiliated unit"))+":"+e._s(e.userData["DEPT_ID#"]||e.$t("not available")))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("current role"))+":"+e._s(e.currentRole.NAME))]),e.languageFlag?t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("current language"))+":"+e._s(e.currentLanguage.name))]):e._e()])]),t("van-cell-group",[t("van-cell",{attrs:{title:e.$t("personal data"),"is-link":""},on:{click:e.updatePersonInfo},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-gerenziliao"})]},proxy:!0}])}),t("van-cell",{attrs:{title:e.$t("switch roles"),"is-link":""},on:{click:function(t){e.showPicker=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-jiaoseqiehuan"})]},proxy:!0}])}),e.languageFlag?t("van-cell",{attrs:{title:e.$t("switch language"),"is-link":""},on:{click:function(t){e.showLanguagePicker=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-diqiu"})]},proxy:!0}],null,!1,511396086)}):e._e(),t("van-cell",{attrs:{title:e.$t("change password"),"is-link":""},on:{click:function(t){e.showUpdatePassword=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("van-icon",{staticClass:"epx-mine__item-icon",attrs:{name:"lock"}})]},proxy:!0}])})],1),t("div",{staticClass:"epx-mine__logout-btn",on:{click:e.logout}},[e._v(e._s(e.$t("logout")))]),t("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}},[t("van-picker",{attrs:{"show-toolbar":"",title:e.$t("select role"),columns:e.roleList,"value-key":"NAME"},on:{cancel:function(t){e.showPicker=!1},confirm:e.switchRole}})],1),t("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.showLanguagePicker,callback:function(t){e.showLanguagePicker=t},expression:"showLanguagePicker"}},[t("van-picker",{attrs:{"show-toolbar":"",title:e.$t("switch language"),columns:e.languageList,"value-key":"name"},on:{cancel:function(t){e.showLanguagePicker=!1},confirm:e.switchLanguage}})],1),t("van-popup",{style:{width:"100%",height:"100%"},attrs:{overlay:!1,position:"left"},model:{value:e.showUpdatePassword,callback:function(t){e.showUpdatePassword=t},expression:"showUpdatePassword"}},[t("div",{staticClass:"epx-mine__update-password"},[t("div",{staticClass:"epx-mine__page-header"},[t("i",{staticClass:"el-icon-arrow-left",on:{click:function(t){e.showUpdatePassword=!1}}}),e._v("\n "+e._s(e.$t("change password"))+"\n ")]),t("div",{staticClass:"epx-mine__update-password-content"},[t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter your old password")},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("el-button",{staticClass:"fr epx-mine__forget-password__btn",attrs:{type:"text"},on:{click:function(t){e.showForgetPassword=!0}}},[e._v(e._s(e.$t("forget password"))+"?")]),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter a new password")},model:{value:e.newPassword,callback:function(t){e.newPassword=t},expression:"newPassword"}}),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please confirm the new password")},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),t("el-button",{staticClass:"epx-mine__update-password__btn",attrs:{type:"primary"},on:{click:e.savePassword}},[e._v(e._s(e.$t("confirm")))])],1)])]),t("van-popup",{style:{width:"100%",height:"100%"},attrs:{overlay:!1,position:"left"},model:{value:e.showForgetPassword,callback:function(t){e.showForgetPassword=t},expression:"showForgetPassword"}},[t("div",{staticClass:"epx-mine__update-password"},[t("div",{staticClass:"epx-mine__page-header"},[t("i",{staticClass:"el-icon-arrow-left",on:{click:function(t){e.showForgetPassword=!1}}}),e._v("\n "+e._s(e.$t("reset password"))+"\n ")]),t("div",{staticClass:"epx-mine__update-password-content"},[t("div",{staticClass:"epx-mine__forget-password-input"},[t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"input",placeholder:e.$t("please enter the verification code")},model:{value:e.resetCode,callback:function(t){e.resetCode=t},expression:"resetCode"}}),t("el-button",{class:["epx-mine__get-code",{active:this.resetCodeTime}],attrs:{type:"primary",size:"medium"},on:{click:e.sendCode}},[e._v("\n "+e._s(e.resetCodeTime?e.$t("get code")+e.resetCodeTime+"s":e.$t("get code"))+"\n ")])],1),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter a new password")},model:{value:e.resetPassword,callback:function(t){e.resetPassword=t},expression:"resetPassword"}}),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please confirm the new password")},model:{value:e.resetConfirmPassword,callback:function(t){e.resetConfirmPassword=t},expression:"resetConfirmPassword"}}),t("el-button",{staticClass:"epx-mine__update-password__btn",attrs:{type:"primary"},on:{click:e.resetPasswordFn}},[e._v(e._s(e.$t("confirm")))])],1)])])],1)};n._withStripped=!0;var o=r(1),i=(r(34),r(0)),s=(r(30),r(11),r(10),r(6),r(12),r(17),r(19),r(43),r(28),r(25),r(33)),a=r(24),c=r.n(a),u=r(134),l=r.n(u),p={name:"epx-mine",mixins:[c.a],style:{padding:0,margin:0},data:function(){return{userData:{},roleList:[],showPicker:!1,showLanguagePicker:!1,showUpdatePassword:!1,password:"",newPassword:"",confirmPassword:"",showForgetPassword:!1,publicKey:"",resetCode:"",resetCodeTime:"",resetPassword:"",resetConfirmPassword:""}},computed:Object(i.a)(Object(i.a)({},Object(s.mapState)({decryptKey:function(e){return e.config.decryptKey}})),{},{userPhoto:function(){var e=this.userData.PHOTO;return e?this.$util.getFileUrl(e):r(125)},currentRole:function(){var e=this.$route.params.role;return this.roleList.find((function(t){return t.CODE===e}))||{}},languageFlag:function(){var e=this.clientConfig.LANGUAGE_FLAG;return e},currentLanguage:function(){var e=this.clientConfig,t=e.CODE,r=e.LANGUAGES,n=void 0===r?"":r,o=e["LANGUAGES#"],i=void 0===o?"":o,s=e.LANGUAGE_DEFAULT,a=localStorage.getItem("".concat(t,"-language"))||s,c=[];if(n){var u=n.split(","),l=i.split(",");c=u.map((function(e,t){return{id:e,name:l[t]}}))}return c.find((function(e){return e.id===a}))||{}},languageList:function(){var e=this.clientConfig,t=e.CODE,r=e.LANGUAGES,n=void 0===r?"":r,o=e["LANGUAGES#"],i=void 0===o?"":o,s=e.LANGUAGE_DEFAULT;if(!n)return[];var a=localStorage.getItem("".concat(t,"-language"))||s,c=n.split(","),u=i.split(","),l=c.map((function(e,t){return{id:e,name:u[t]}}));return l.filter((function(e){return e.id!==a}))}}),methods:{$refesh:function(){this.getUser()},getUser:function(){var e=this;this.$http.get({entityId:"FM_USER",id:this.user.id}).then((function(t){e.userData=t.data}))},getServiceRoles:function(){var e=this;this.$http.get({action:"getServiceRoles",entityId:"FM_ROLE",serviceId:this.appConfig.ID,order_fields:"ORDER_NUM,LOG_C_TIME",order_mode:"asc,asc"}).then((function(t){e.roleList=Object(o.a)(t.entitys)}))},switchRole:function(e){var t=e.CODE+("client"===e.TYPE?"-client":""),r=this.$route,n=r.name,o=r.params,s=void 0===o?{}:o,a=r.query,c=void 0===a?{}:a;t!==s.role&&this.$router.replace({name:n,params:Object(i.a)(Object(i.a)({},s),{},{role:t}),query:c}).then((function(){var e=setTimeout((function(){location.reload(),clearTimeout(e)}),10)})),this.showPicker=!1},switchLanguage:function(e){var t=this.clientConfig.CODE;localStorage.setItem("".concat(t,"-language"),e.id),location.reload(),this.showlanguagePicker=!1},updatePersonInfo:function(){var e=this.$configs.personPageId;this.$createPage({metaId:"FM_USER",component:"entity-add-page",pageId:e,pageType:"EDIT",id:this.user.id})},logout:function(){var e=this;this.$http.logout().then((function(){if(e.isModulePage&&!e.closeToLogin){window.close();var t=setTimeout((function(){e.$util.toLogin(),clearTimeout(t)}),100)}else e.$util.toLogin(),e.$message.success(e.$t("logout"));e.appConfig["SYSTEM|LOGOUT_AFTER_REDIRECT"]&&(window.location.href=e.appConfig["SYSTEM|LOGOUT_AFTER_REDIRECT"].replace("${domain}",encodeURIComponent(window.location.origin)))})).catch((function(t){e.$message.error(t.msg||e.$t("exit failure"))}))},savePassword:function(){var e=this;if(this.password)if(this.newPassword)if(this.newPassword===this.confirmPassword){var t=new l.a;t.setPublicKey(this.publicKey),this.$http.update({action:"changePassword",entityId:"FM_USER",old_pw:t.encrypt(this.password),new_pw:t.encrypt(this.newPassword)}).then((function(){e.$message.success(e.$t("Password changed successfully")),e.password="",e.newPassword="",e.confirmPassword="",e.showUpdatePassword=!1})).catch((function(t){e.$message.error(t.message)}))}else this.$message.error(this.$t("two passwords are inconsisten"));else this.$message.error(this.$t("please enter a new password"));else this.$message.error(this.$t("please enter your old password"))},getPublickKey:function(){var e=this;this.decryptKey.rsaKey?this.publicKey=this.decryptKey.rsaKey:this.$store.dispatch("GET_DECRYPT_KEY").then((function(t){e.publicKey=t.rsaKey}))},sendCode:function(){var e=this;this.userInfo.MOBILE?this.resetCodeTime>0?this.$message.error("请1分钟后再次获取验证码"):this.$http.$post({action:"sendCode",entityId:"FM_MESSAGE_SEND",contact:this.userInfo.MOBILE}).then((function(t){e.resetCodeTime=60;var r=setInterval((function(){e.resetCodeTime--,e.resetCodeTime<=0&&(clearInterval(r),e.resetCodeTime=0)}),1e3)})).catch((function(t){e.$message.error(t.message||"处理失败")})):this.$message.error("该用户没有绑定手机号")},resetPasswordFn:function(){var e=this;if(this.userInfo.MOBILE)if(this.resetCode)if(this.resetPassword)if(this.resetPassword===this.resetConfirmPassword){var t=new l.a;t.setPublicKey(this.publicKey),this.$http.$post({action:"restPassword",entityId:"FM_USER",contact:this.userInfo.MOBILE,code:this.resetCode,pw:t.encrypt(this.resetPassword),rePw:t.encrypt(this.resetPassword)}).then((function(t){e.$message.success("重置密码成功"),e.showForgetPassword=!1,e.resetCode="",e.resetCodeTime=0,e.resetPassword="",e.resetPassword=""})).catch((function(t){e.$message.error(t.message||"处理失败")}))}else this.$message.error("两次密码输入不一致");else this.$message.error("请输入密码");else this.$message.error("请输入验证码");else this.$message.error("该用户没有绑定手机号")}},created:function(){this.getUser(),this.getServiceRoles(),this.getPublickKey()}},d=r(3),f=r.n(d),m=r(512),h={insert:"head",singleton:!1},g=(f()(m.a,h),m.a.locals,r(2)),_=Object(g.a)(p,n,[],!1,null,null,null).exports;_.install=function(e){e.component(_.name,_)};t.default=_},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},9:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))}});
|
|
1
|
+
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},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=793)}({0:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(7);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},1:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(9);var o=r(14);function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(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.")}()}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},125:function(e,t,r){"use strict";r.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HDPE093Jzk+V8MtjohzgwcGv1s2I6ZeJ8UHKtcr55+mv5C/lZqojsteqeM2zXV27v1PCNMNEmYEBZt/Q6JNCmK9Q+3W9SiW14cXZJOfGM/uSbW8AdBVyKQH46GdfNrHZmbcJ5G4VSunOg8DtZ4mqx/bfdeuZoGUNHOC+geEHTcbeXLK5thiClJup6+2JfXs7PygWRcZzqd172QJRbo0f/WTk99QP/H4F3GzLZO7JTcE2lo3IVgViSHkUSA4eHPxi06xI/ZlATkqRcpEToSJ7KMFjj3R13XFWtqrSAbYGAlLiY6pBNMkWdjHTIyDOsBi/T/aAhtQi+pNjI3uEKfor4Hr/FGEz2A429J66eAppAKNHKpUSf6/42+LGdnxDfhk2hC0d47qMIAXgvoHjv2Qp86/Uml/ukm8lWhELWDYkW1o2LRLHy2PfPtj62kggYhpYTdCLQoso7hyLGT/125ftC2D4CxQplZwbzGdFY84/xGL8x/fs6ThWLoeyAUZtGZWCis8t1/Qu06F70+Dd5dauy/LBaOcyagpVwHUJkp9o6LcnW1s2L4OOZ4DRQ2V1YlTauWWYu7wkaEJlOo4813M8A0y1u5cqPVTlAeUnFWwO23ul4ckHY+AA/afEzFM6r0LJjL+qdiWrW7+G1a5czqqqEqyafgjXZmbZDP2mLv/ALk5eYv+buiyTbSC0MMRIc7kf8jJA4RooDPmJ2WujUfC7ZAi2+YZ6+m20QHVjbYD932/O0+8CTTKhQlHXgEpXorrN7VCjqyLayrE0nhsFcJFb7+q4hd24dbNrcIElcjfSIC1oaBtQ6UqPrbvKnK4iHR08/pQwzde0VToj2NbmG9iWpkYpYv7nzAT79+lvpNAKggg3jIP7u9pfd6LtCHB6DtXVU7rn3l3bW1j9hnVO+np6f+Hb79iJU+Oe0iiLTEV1FV+23WmOl2MRjQlyuoOLnCsbXAAFmqCtZaCi2sLGQbiSORhTW02TD+lca4a/3L1zm4Oa/l5/9a+vrZq2PyryU6NWbRgiWWpKbskcjHnLOoOL2vK2luDnFYAHeOkWgI01t7yEYEUBtkaJNJ+UjqZQTXVVCfXkvAIP8NIyEEalxo+LAozlJFoqlCUU2rmqgkpeXnWibExrugqHggBjIRhlf63XCqGHCm1XVQG8wFPHQN0ye4FZIdkKApxe5Vcouj7PwuiMCIOnW4sXw2wBwFifG4UlnOhbVh3C4OleR3FvGrvcFAsA5sw8mBtFz38qi2fbAmHwtHm7uRbCLgdgbJtA/eyPuiEWdhx7VEilHGHw9KIfsAOG2WlyAMaeGNHZNiFbDTX3Og8ypS0g1qQxvG6PHICp5vz49Vd632E8V3WYmVXP06uO+RjOA4ytirCbjVeCYcXH+K3qEAZPzzoShhaWmYTzAGMfKiqC1DUsPUuemwAzMVSHqctXVLP0zA8YWnuKZVLOA4xNxjxTCzEBptmoDhcnv1fNsjx+WVjOA0y9IZECGHOoVBaZ4BWFeVv4IrKxtAC2lnyGtz1geV8ppcIcKlVBJS8JOjVkMGXpHIyNPSMYMEFu+tpM4JKDB3hFKmQwTQNsRhNgahKwr8cD38fE4gFekQq0Ey/ktQCmybbtkRI+S1hUtjBBLqgA2mFU6PzqQ59jB2gY2Eyb5io0+yUYZnrMfsQEOdkBNHWeWVlKX2AKbOPYKZ1Kn3RRXSqF5u8w+/Hq9LUlM23WCQ5yKQawjae3waedrBZBQG67fOUHa55WuVN5UKGCX49isZwPIbCN44yD/BdR/g9gJr/7fvEuXfEADrAlgNmiAhj6o8Z75ux567eYFp95wNaKCmzjtFptY8QaAJ70RO9TVHqgPCnmIjKwpcoVjpyphMVpAV5LAAs9pwouTosr1kqsNGhBdyUHKza7KnbAFjk4kgAbBmcNG+tYxx272No1qwKz2fLlNSwWiwVGP1jCopYqWZyOfotONQszGzc1bmCNGzewRCK9J8nO7VvZyBcnpA8fgtftt2xnBjfY2YkL1ujV3FwqWEwkUge2nndtkcjfEynDMKxeqqZNGxcsBKtKJBjWB//jn6c80XSKDJqgjYCF5VifdHbiW2p+nWNRAZp8MA5q1DugCO5su5k1b25YAK4t+ZrVtVLX8mJdMGhmBxTVkOHOtt1s3drV2a+0vAe2aCZpC3A8Hmc7W7ey23a3smU11Y5GhPFl+GPQAK1iAUX3rTffxLZva6ZjDMmE2gY+RVUVPXPwsmU1rP32nWxjvfsDWrCGF/7YzwoEpAUNN+uBGxs2WCWLrktagK2WOXj1qpWs7bYdrnJtfuax/XH+c7f/s/2umzQoWVARyy/O3aQNPg7lYGKiVRG9oW6tVSQnqHguN5Trjwv5XTcywDejyK5bp932S1NUyWLaTDZCuxY5SIZf8+qPnfyuE9CQ+eadN3pyKU40/b4HtuSD2Um/hGSkR65DpcWN73PDz4s/9uJ3S/EGzx03bWHrNcnJwJYA5qEDjArVbvr6ZYFrg+DWH3v1uzb9Qlfrw6Ka/3LSKewAbA3BzVABRlMI/gvXIIKTPy7X75aSNR6Psd27toXexQlsjebG9WP01YU2Z2cXNUnctHFLGdTpXTF/7NfvluKLHIySIawATIGt0dLSMk3O+HQYgqDGrKJHyCo289rHsvxuKbutX7eaNXhox5ei5fUdMAW2VjcMOeMRrwT8xqdj0Nk22t1VVcj3xzL9bikdWrZsoqLaMnOpaNLf2ZimOXN2RDoHB4JbmzexagWbmGWLYfvjIPxuNp/se5QUW5pC2O8yg2m6ZsPZ4Wyhgr5fsXyZNeQXNJ9C9Ev1MReKL+PZpsZ6NnH+Irt6dVoGOXc0MphaOThzZMs5dyn9x9pcYMjPP1V3FOCP8VMZMDmhhUanFIZz9jE8886BVFaSi9GEqKfK1VIL6PywJygErXs2lvMAU/+gEoAbqTtSRldk0EaSTd+aYlRfJ5tsYXpZWM4DvKLKfI9KrsB3NrmBhtiWamhsCB5gYAgsbRvPA9zZ2XmRCf6R/SKIKzoWalwM3AfBWwea6NBBTT7QQBhaWGaYzAOM/1T5eCtI5mvXBKxckMJLoh30QEQ+hjkAN9bXvk8wB7Z9zepVFYAxmSG4wC+lMbzOIQfg1tbWa1SGv3v9tbw7VKx0ndoiT0tnSitXLAuskkm153eAYbYUOQDjBa0FD+R8JHy5qtuf2Yrqcg8brK5dEYg4ghsLzlFaAHDP3rbPqZg+JFuCYIsm2dIGS29VIMU0P5TGLlf2BQDjNXWOv5gbzf8/1f3O/iUOjkIQw6PFMCsIcHeyrZeKkkGZKvqZRCdTDh1oye7RAlbArJBuBQFGRGHwFwolKPeZbKXKlUOHdLJtUQqrogD3JNs/pFrRsCyDyFZKllxh0JFamhFGFlZFFCkKMOLHDPE0ZX+aHOA/SFXKvzihUpD1sQMbYFRKGcdxs96BkT/Sria/LkXEzbul3EVZyD7TtKeX78D5n3r2dvymFB3HqYxVvObZGXb1Z35PIJWiUClNlto763jZmmed1C5ZRCMxzqfl3HjGiVDlvVoLABOns4MhkWMRjUi07xTvGzx+lK7d+F8J4VqAfG//vq72/W7qR445GKpYhBJVj9HnMBmuahXuFgaEhRtwYS1XACPi/rtuPUORn3BLGGkqQa4FYHtgACzcUnYNMAju29v5AVW2/uCWeCWeZAuQ7S0MPJB15YOz6ZEfjpM/7qNrMvt55T5YC1DuHSK/u4+uc144ecrBIAwGCR57hL4M18WEF4EqcRdaALa2bO4RXFDyDDASdXXdcZbF+H2VShesEXBAxZZsbdm8DFZlAQw+mFgdj/Gf0Pi1+iPIylA0iklgW9jYnsRejg5lAwxm9+zpOCYM4+d068kvlCPoEkwzB9vCxn509wUwGGMkg7b6+xXdVkD2g0Ru2jnYtNQoUW704v8816KLkeodOv4AN82/0Gbr6s9eLyZUBJ+jWEbOlQEu1JcGMIh9cmxkz1xK/M3vwARoLclAFSr4XL/FcrbtpAIMwtaZeSnxMQ0iN2UzqtyXtgCaQqgt+6lQFeLg2wfnE4WACSOeRMM8/13lf2ELwFawmWxwwU16DrZVsHq8Bo6/RBx+S/eB8bH5RfFKwGKrbup+bP8dOpCC0CFww/cNDD9IW/i8WfHLefCRv6Xi8wmvfct5VBz/Bg4wJDj62ZdNbHbmbcrJlfFksgfl1n5GQ35eRoUckSwSQQnA4I1ium9o9EkhzFeWbG6mXIuZGPuSbW9YxXMRUGQ+VgawLfTg4FfrZsT0y8T44FLxzQCTWhWvYX6bm2k2tq1kXJUDbAvdPzR8d8rkr1LW7rSfLcorzVvG1NbuZOenYegXGsC2sukeMPE85eYu+9liuFKuHcSKA1k9UuXaJHSAbcH7h0Z7UinzOfLW99rPonnlh7AQrNhaIdU6aQOwrXjvwOidnJnkn9mjBLZ2W6jbcuZe+SXqQ34Xa6sLLeHMjav2n3YA2+qPjY1VT1yYeoiK7scZF/cT4OkDjOwIIV8J0FlsWkNF8VvYNiF/ZX3I4s2z1xbgeQnpZnh4uO7KjPEwM80DVBs9QI+Kn3mTnVD+/Tky2GHsKYatirJ3s5HPSg7FSACcr6o1oCEIaJMdoE7QdlKimXK61H51ypkmfUynifYIdbceod/hIPqK83WT/T+SAOcbYXx8vOb0xGQrzqynzl36sR04HJn6jGhbH7EyfcKqqMVZfkibPu2NT6XPjOKX6ckUxTlPxjiJbfCxUzo2026h/ZbzeUXt//8ByJ7Ze9EGCQYAAAAASUVORK5CYII="},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},134:function(e,t){e.exports=require("jsencrypt/bin/jsencrypt.min")},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(9);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},17:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,r){"use strict";function n(e,t,r,n,o,i,s,a){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(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(s)},u._ssrRegister=c):o&&(c=a?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 p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},20:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(6);function o(e){var t=function(e,t){if("object"!=Object(n.a)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=Object(n.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(n.a)(t)?t:t+""}},25:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},27:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},3:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},30:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},31:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},34:function(e,t){e.exports=require("vuex")},35:function(e,t,r){"use strict"},4:function(e,t,r){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=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]}}(),s=[];function a(e){for(var t=-1,r=0;r<s.length;r++)if(s[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var p=a(l),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(s[p].references++,s[p].updater(d)):s.push({identifier:l,updater:g(d,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=p(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function f(e,t,r){var n=r.css,o=r.media,i=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,h=0;function g(e,t){var r,n,o;if(t.singleton){var i=h++;r=m||(m=u(t)),n=d.bind(null,r,i,!1),o=d.bind(null,r,i,!0)}else r=u(t),n=f.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=a(r[n]);s[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=a(r[u]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}r=i}}}},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},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,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},512:function(e,t,r){"use strict";var n=r(5),o=r.n(n)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-mine .van-overlay{z-index:200 !important}.epx-mine .van-popup{z-index:201 !important}.epx-mine__card{margin:5px 15px 15px;padding:0 20px;background:#fff;box-shadow:0px 2px 8px 0px rgba(0,0,0,.15);border-radius:6px;display:flex;align-items:center}.epx-mine__user-head{flex-shrink:0;width:80px;height:80px;border-radius:50%;overflow:hidden;margin-right:20px}.epx-mine__user-head>img{width:100%;height:100%}.epx-mine__user-info{flex:1;overflow:hidden;padding:10px 0}.epx-mine__user-name{font-size:18px;margin-bottom:4px}.epx-mine__user-desc{color:#555;line-height:1;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epx-mine__item-icon{color:#0874e7}[data-theme=purple] .epx-mine__item-icon{color:#7569e2}[data-theme=palevioletred] .epx-mine__item-icon{color:#ce4545}[data-theme=forestgreen] .epx-mine__item-icon{color:#3d8a50}[data-theme=deepblue] .epx-mine__item-icon{color:#0f5fbd}[data-theme=orange] .epx-mine__item-icon{color:#ea6000}[data-theme=skyblue] .epx-mine__item-icon{color:#1a4586}[data-theme=aurorablue] .epx-mine__item-icon{color:#383b9e}[data-theme=tiffanyblue] .epx-mine__item-icon{color:#00aaad}[data-theme=tsinghuapurple] .epx-mine__item-icon{color:#5f2167}[data-theme=creativeblue] .epx-mine__item-icon{color:#418cff}[data-theme=njhkht] .epx-mine__item-icon{color:#1d2088}[data-theme=custom] .epx-mine__item-icon{color:rgba(var(--color-primary), 1)}.epx-mine__item-icon:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .epx-mine__item-icon:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .epx-mine__item-icon:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .epx-mine__item-icon:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .epx-mine__item-icon:hover{color:rgb(63,127,202.2)}[data-theme=orange] .epx-mine__item-icon:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .epx-mine__item-icon:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .epx-mine__item-icon:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .epx-mine__item-icon:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .epx-mine__item-icon:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .epx-mine__item-icon:hover{color:#67a3ff}[data-theme=njhkht] .epx-mine__item-icon:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .epx-mine__item-icon:hover{color:rgba(var(--color-primary), 0.8)}.epx-mine__item-icon{font-size:18px;margin-right:4px;line-height:24px}.epx-mine__logout-btn{height:44px;width:100%;background:#fff;text-align:center;line-height:44px;margin-top:10px}.epx-mine__update-password{box-sizing:border-box;height:100%;background:#f3f5fa}.epx-mine__update-password-content{padding:20px}.epx-mine__password-input{margin-bottom:10px}.epx-mine__update-password-btn{width:70%;display:block;margin:0 auto;margin-top:100px}.epx-mine__page-header{height:46px;box-sizing:border-box;background:#fff;display:flex;align-items:center;padding:12px;font-size:16px;border-bottom:1px solid #e3e3e3;margin-bottom:10px}.epx-mine__page-header i{margin-right:8px;font-size:20px}.epx-mine__forget-password-btn{margin-top:-10px}.epx-mine__forget-password-input{display:flex}.epx-mine__get-code{width:140px;text-align:center;height:36px;margin-left:12px}",""]),t.a=o},6:function(e,t,r){"use strict";function n(e){return(n="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 n}))},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(23);function o(e,t,r){return(t=Object(n.a)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},793:function(e,t,r){"use strict";r.r(t);r(8);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-mine",style:e.$component.style},[t("div",{staticClass:"epx-mine__card"},[t("div",{staticClass:"epx-mine__user-head"},[t("img",{attrs:{src:e.userPhoto,alt:""}})]),t("div",{staticClass:"epx-mine__user-info"},[t("p",{staticClass:"epx-mine__user-name"},[e._v(e._s(e.userData.NAME))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("user account"))+":"+e._s(e.userData.ACCOUNT))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("affiliated unit"))+":"+e._s(e.userData["DEPT_ID#"]||e.$t("not available")))]),t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("current role"))+":"+e._s(e.currentRole.NAME))]),e.languageFlag?t("p",{staticClass:"epx-mine__user-desc"},[e._v(e._s(e.$t("current language"))+":"+e._s(e.currentLanguage.name))]):e._e()])]),t("van-cell-group",[t("van-cell",{attrs:{title:e.$t("personal data"),"is-link":""},on:{click:e.updatePersonInfo},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-gerenziliao"})]},proxy:!0}])}),t("van-cell",{attrs:{title:e.$t("switch roles"),"is-link":""},on:{click:function(t){e.showPicker=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-jiaoseqiehuan"})]},proxy:!0}])}),e.languageFlag?t("van-cell",{attrs:{title:e.$t("switch language"),"is-link":""},on:{click:function(t){e.showLanguagePicker=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("i",{staticClass:"epx-mine__item-icon epx-icon-diqiu"})]},proxy:!0}],null,!1,511396086)}):e._e(),t("van-cell",{attrs:{title:e.$t("change password"),"is-link":""},on:{click:function(t){e.showUpdatePassword=!0}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("van-icon",{staticClass:"epx-mine__item-icon",attrs:{name:"lock"}})]},proxy:!0}])})],1),t("div",{staticClass:"epx-mine__logout-btn",on:{click:e.logout}},[e._v(e._s(e.$t("logout")))]),t("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}},[t("van-picker",{attrs:{"show-toolbar":"",title:e.$t("select role"),columns:e.roleList,"value-key":"NAME"},on:{cancel:function(t){e.showPicker=!1},confirm:e.switchRole}})],1),t("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.showLanguagePicker,callback:function(t){e.showLanguagePicker=t},expression:"showLanguagePicker"}},[t("van-picker",{attrs:{"show-toolbar":"",title:e.$t("switch language"),columns:e.languageList,"value-key":"name"},on:{cancel:function(t){e.showLanguagePicker=!1},confirm:e.switchLanguage}})],1),t("van-popup",{style:{width:"100%",height:"100%"},attrs:{overlay:!1,position:"left"},model:{value:e.showUpdatePassword,callback:function(t){e.showUpdatePassword=t},expression:"showUpdatePassword"}},[t("div",{staticClass:"epx-mine__update-password"},[t("div",{staticClass:"epx-mine__page-header"},[t("i",{staticClass:"el-icon-arrow-left",on:{click:function(t){e.showUpdatePassword=!1}}}),e._v("\n "+e._s(e.$t("change password"))+"\n ")]),t("div",{staticClass:"epx-mine__update-password-content"},[t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter your old password")},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("el-button",{staticClass:"fr epx-mine__forget-password__btn",attrs:{type:"text"},on:{click:function(t){e.showForgetPassword=!0}}},[e._v(e._s(e.$t("forget password"))+"?")]),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter a new password")},model:{value:e.newPassword,callback:function(t){e.newPassword=t},expression:"newPassword"}}),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please confirm the new password")},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),t("el-button",{staticClass:"epx-mine__update-password__btn",attrs:{type:"primary"},on:{click:e.savePassword}},[e._v(e._s(e.$t("confirm")))])],1)])]),t("van-popup",{style:{width:"100%",height:"100%"},attrs:{overlay:!1,position:"left"},model:{value:e.showForgetPassword,callback:function(t){e.showForgetPassword=t},expression:"showForgetPassword"}},[t("div",{staticClass:"epx-mine__update-password"},[t("div",{staticClass:"epx-mine__page-header"},[t("i",{staticClass:"el-icon-arrow-left",on:{click:function(t){e.showForgetPassword=!1}}}),e._v("\n "+e._s(e.$t("reset password"))+"\n ")]),t("div",{staticClass:"epx-mine__update-password-content"},[t("div",{staticClass:"epx-mine__forget-password-input"},[t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"input",placeholder:e.$t("please enter the verification code")},model:{value:e.resetCode,callback:function(t){e.resetCode=t},expression:"resetCode"}}),t("el-button",{class:["epx-mine__get-code",{active:this.resetCodeTime}],attrs:{type:"primary",size:"medium"},on:{click:e.sendCode}},[e._v("\n "+e._s(e.resetCodeTime?e.$t("get code")+e.resetCodeTime+"s":e.$t("get code"))+"\n ")])],1),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please enter a new password")},model:{value:e.resetPassword,callback:function(t){e.resetPassword=t},expression:"resetPassword"}}),t("el-input",{staticClass:"epx-mine__password-input",attrs:{type:"password",placeholder:e.$t("please confirm the new password")},model:{value:e.resetConfirmPassword,callback:function(t){e.resetConfirmPassword=t},expression:"resetConfirmPassword"}}),t("el-button",{staticClass:"epx-mine__update-password__btn",attrs:{type:"primary"},on:{click:e.resetPasswordFn}},[e._v(e._s(e.$t("confirm")))])],1)])])],1)};n._withStripped=!0;var o=r(1),i=(r(35),r(0)),s=(r(31),r(13),r(10),r(3),r(12),r(20),r(17),r(43),r(30),r(27),r(34)),a=r(25),c=r.n(a),u=r(134),l=r.n(u),p={name:"epx-mine",mixins:[c.a],style:{padding:0,margin:0},data:function(){return{userData:{},roleList:[],showPicker:!1,showLanguagePicker:!1,showUpdatePassword:!1,password:"",newPassword:"",confirmPassword:"",showForgetPassword:!1,publicKey:"",resetCode:"",resetCodeTime:"",resetPassword:"",resetConfirmPassword:""}},computed:Object(i.a)(Object(i.a)({},Object(s.mapState)({decryptKey:function(e){return e.config.decryptKey}})),{},{userPhoto:function(){var e=this.userData.PHOTO;return e?this.$util.getFileUrl(e):r(125)},currentRole:function(){var e=this.$route.params.role;return this.roleList.find((function(t){return t.CODE===e}))||{}},languageFlag:function(){var e=this.clientConfig.LANGUAGE_FLAG;return e},currentLanguage:function(){var e=this.clientConfig,t=e.CODE,r=e.LANGUAGES,n=void 0===r?"":r,o=e["LANGUAGES#"],i=void 0===o?"":o,s=e.LANGUAGE_DEFAULT,a=localStorage.getItem("".concat(t,"-language"))||s,c=[];if(n){var u=n.split(","),l=i.split(",");c=u.map((function(e,t){return{id:e,name:l[t]}}))}return c.find((function(e){return e.id===a}))||{}},languageList:function(){var e=this.clientConfig,t=e.CODE,r=e.LANGUAGES,n=void 0===r?"":r,o=e["LANGUAGES#"],i=void 0===o?"":o,s=e.LANGUAGE_DEFAULT;if(!n)return[];var a=localStorage.getItem("".concat(t,"-language"))||s,c=n.split(","),u=i.split(","),l=c.map((function(e,t){return{id:e,name:u[t]}}));return l.filter((function(e){return e.id!==a}))}}),methods:{$refesh:function(){this.getUser()},getUser:function(){var e=this;this.$http.get({entityId:"FM_USER",id:this.user.id}).then((function(t){e.userData=t.data}))},getServiceRoles:function(){var e=this;this.$http.get({action:"getServiceRoles",entityId:"FM_ROLE",serviceId:this.appConfig.ID,order_fields:"ORDER_NUM,LOG_C_TIME",order_mode:"asc,asc"}).then((function(t){e.roleList=Object(o.a)(t.entitys)}))},switchRole:function(e){var t=e.CODE+("client"===e.TYPE?"-client":""),r=this.$route,n=r.name,o=r.params,s=void 0===o?{}:o,a=r.query,c=void 0===a?{}:a;t!==s.role&&this.$router.replace({name:n,params:Object(i.a)(Object(i.a)({},s),{},{role:t}),query:c}).then((function(){var e=setTimeout((function(){location.reload(),clearTimeout(e)}),10)})),this.showPicker=!1},switchLanguage:function(e){var t=this.clientConfig.CODE;localStorage.setItem("".concat(t,"-language"),e.id),location.reload(),this.showlanguagePicker=!1},updatePersonInfo:function(){var e=this.$configs.personPageId;this.$createPage({metaId:"FM_USER",component:"entity-add-page",pageId:e,pageType:"EDIT",id:this.user.id})},logout:function(){var e=this;this.$http.logout().then((function(){if(e.isModulePage&&!e.closeToLogin){window.close();var t=setTimeout((function(){e.$util.toLogin(),clearTimeout(t)}),100)}else e.$util.toLogin(),e.$message.success(e.$t("logout"));e.appConfig["SYSTEM|LOGOUT_AFTER_REDIRECT"]&&(window.location.href=e.appConfig["SYSTEM|LOGOUT_AFTER_REDIRECT"].replace("${domain}",encodeURIComponent(window.location.origin)))})).catch((function(t){e.$message.error(t.msg||e.$t("exit failure"))}))},savePassword:function(){var e=this;if(this.password)if(this.newPassword)if(this.newPassword===this.confirmPassword){var t=new l.a;t.setPublicKey(this.publicKey),this.$http.update({action:"changePassword",entityId:"FM_USER",old_pw:t.encrypt(this.password),new_pw:t.encrypt(this.newPassword)}).then((function(){e.$message.success(e.$t("Password changed successfully")),e.password="",e.newPassword="",e.confirmPassword="",e.showUpdatePassword=!1})).catch((function(t){e.$message.error(t.message)}))}else this.$message.error(this.$t("two passwords are inconsisten"));else this.$message.error(this.$t("please enter a new password"));else this.$message.error(this.$t("please enter your old password"))},getPublickKey:function(){var e=this;this.decryptKey.rsaKey?this.publicKey=this.decryptKey.rsaKey:this.$store.dispatch("GET_DECRYPT_KEY").then((function(t){e.publicKey=t.rsaKey}))},sendCode:function(){var e=this;this.userInfo.MOBILE?this.resetCodeTime>0?this.$message.error("请1分钟后再次获取验证码"):this.$http.$post({action:"sendCode",entityId:"FM_MESSAGE_SEND",contact:this.userInfo.MOBILE}).then((function(t){e.resetCodeTime=60;var r=setInterval((function(){e.resetCodeTime--,e.resetCodeTime<=0&&(clearInterval(r),e.resetCodeTime=0)}),1e3)})).catch((function(t){e.$message.error(t.message||"处理失败")})):this.$message.error("该用户没有绑定手机号")},resetPasswordFn:function(){var e=this;if(this.userInfo.MOBILE)if(this.resetCode)if(this.resetPassword)if(this.resetPassword===this.resetConfirmPassword){var t=new l.a;t.setPublicKey(this.publicKey),this.$http.$post({action:"restPassword",entityId:"FM_USER",contact:this.userInfo.MOBILE,code:this.resetCode,pw:t.encrypt(this.resetPassword),rePw:t.encrypt(this.resetPassword)}).then((function(t){e.$message.success("重置密码成功"),e.showForgetPassword=!1,e.resetCode="",e.resetCodeTime=0,e.resetPassword="",e.resetPassword=""})).catch((function(t){e.$message.error(t.message||"处理失败")}))}else this.$message.error("两次密码输入不一致");else this.$message.error("请输入密码");else this.$message.error("请输入验证码");else this.$message.error("该用户没有绑定手机号")}},created:function(){this.getUser(),this.getServiceRoles(),this.getPublickKey()}},d=r(4),f=r.n(d),m=r(512),h={insert:"head",singleton:!1},g=(f()(m.a,h),m.a.locals,r(2)),w=Object(g.a)(p,n,[],!1,null,null,null).exports;w.install=function(e){e.component(w.name,w)};t.default=w},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},9:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))}});
|
|
@@ -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=820)}({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";n.d(t,"a",(function(){return a}));var r=n(9);var o=n(14);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(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.")}()}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},107:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},11:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},135:function(e,t,n){"use strict";n.r(t);n(8);var r=n(87);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);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}}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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}}}}},16:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},17:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},19: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:{},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||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,s=e,f.n=n,u}};function p(n,r){for(i=n,s=r,t=0;!d&&c&&!o&&t<l.length;t++){var o,a=l[t],p=f.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]<=p&&((o=n<2&&p<a[1])?(i=0,f.v=r,f.n=a[1]):p<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,f.n=m,i=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===l&&p(l,m),i=l,s=m;(t=i<2?e:s)||!d;){a||(i?i<3?(i>1&&(f.n=-1),p(i,s)):f.n=s:f.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=(d=f.n<0)?s:n.call(r,f))!==u)break}catch(t){a=e,i=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,a,i),!0),l}var u={};function c(){}function l(){}function d(){}t=Object.getPrototypeOf;var f=[][a]?t(t([][a]())):(r(t={},a,(function(){return this})),t),p=d.prototype=c.prototype=Object.create(f);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=d,r(p,"constructor",d),r(d,"constructor",l),l.displayName="GeneratorFunction",r(d,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:s,m:m}})()}n.d(t,"a",(function(){return o}))},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2: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 d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}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")},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5);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+""}},24:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},29:function(e,t){e.exports=require("core-js/modules/es.array.splice.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 d=s(l),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:l,updater:b(f,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,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(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=c(t)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=c(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=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}}}},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},32: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}))},33:function(e,t){e.exports=require("vuex")},34:function(e,t,n){"use strict"},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},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}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41: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}))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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,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(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.")}()}},49:function(e,t){e.exports=require("core-js/modules/es.promise.js")},5: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}))},51:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},513:function(e,t,n){"use strict";var r=n(4),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,"[data-v-db5de3ae]:root{--color-primary: 8,116,231 }.container[data-v-db5de3ae]{width:100%;height:100%;display:flex;position:absolute;left:0;top:0}.aside[data-v-db5de3ae]{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-db5de3ae]{flex:1;overflow:hidden}.module[data-v-db5de3ae]{height:100%;display:flex;flex-direction:column}.module-inner[data-v-db5de3ae]{height:100%;background:#fff;box-sizing:border-box;padding:0;box-shadow:0 0 8px rgba(117,117,117,.1)}.menu-back[data-v-db5de3ae]{width:100%;height:50px}.menu-back-inner[data-v-db5de3ae]{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-db5de3ae]{color:#7569e2}[data-theme=palevioletred] .menu-back-inner[data-v-db5de3ae]{color:#ce4545}[data-theme=forestgreen] .menu-back-inner[data-v-db5de3ae]{color:#3d8a50}[data-theme=deepblue] .menu-back-inner[data-v-db5de3ae]{color:#0f5fbd}[data-theme=orange] .menu-back-inner[data-v-db5de3ae]{color:#ea6000}[data-theme=skyblue] .menu-back-inner[data-v-db5de3ae]{color:#1a4586}[data-theme=aurorablue] .menu-back-inner[data-v-db5de3ae]{color:#383b9e}[data-theme=tiffanyblue] .menu-back-inner[data-v-db5de3ae]{color:#00aaad}[data-theme=tsinghuapurple] .menu-back-inner[data-v-db5de3ae]{color:#5f2167}[data-theme=creativeblue] .menu-back-inner[data-v-db5de3ae]{color:#418cff}[data-theme=njhkht] .menu-back-inner[data-v-db5de3ae]{color:#1d2088}[data-theme=custom] .menu-back-inner[data-v-db5de3ae]{color:rgba(var(--color-primary), 1)}.menu-back-inner[data-v-db5de3ae]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .menu-back-inner[data-v-db5de3ae]:hover{color:#67a3ff}[data-theme=njhkht] .menu-back-inner[data-v-db5de3ae]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .menu-back-inner[data-v-db5de3ae]:hover{color:rgba(var(--color-primary), 0.8)}.menu-back-inner>i[data-v-db5de3ae]{margin-right:4px}@media screen and (min-width: 992px){.main[data-v-db5de3ae]{padding:10px;position:relative}.main[data-v-db5de3ae] .dashboard{position:relative;left:-10px;top:-10px;width:calc(100% + 20px);height:calc(100% + 20px);padding-bottom:0}.main[data-v-db5de3ae]>.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-db5de3ae]{padding:16px}}",""]),t.a=o},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);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")},814:function(e,t,n){"use strict";n.r(t);n(8);var r=n(1),o=n(0),a=(n(29),n(6),n(15),n(19),n(31),n(33)),i={name:"epx-module-index-page",extends:n(135).default,layout:"flex",openMenu:"first",style:{margin:0},data:function(){return{module:{},moduleName:"",modules:[],showModuleNav:!0,modulePageType:"",showModulePage:!1,openMenu:""}},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.module.MAIN_PAGE?e.openMenu=e.pageConfig.openMenu:(e.module.MODULE_PAGE_TYPE&&(e.modulePageType=e.module.MODULE_PAGE_TYPE),e.module.OPEN_MENU&&(e.openMenu=e.module.OPEN_MENU)),e.showModulePage=!0,e.moduleName=n.NAME_ALIAS||n.NAME,e.$parent.$emit("setMenuInfo",{module:e.module,menu:e.modules})}}))},getSubModules:function(e){var t=this;e&&this.$http.getUserMenuTreeData({moduleId:e,roleId:this.$currentRoleId,mode:this.$isMobile?"move":"pc"}).then((function(e){var n=Object(r.a)(e);t.getShowMenuData(n),t.modules=n,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){if("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});else if("6"===e.OPEN_TYPE)window.open(e.LINK_URL);else{var t={moduleId:e.ID,component:"module-list-page",menuTitle:e.text};if(e.MAIN_PAGE)t.pageId=e.MAIN_PAGE;else if("sub"!==e.MODULE_PAGE_TYPE){var n=this.getModuleFirstPage(e.children);t.pageId=n}this.$refs.router.clearPage(),this.$refs.router.createPage(t)}},clearPage:function(){this.$refs.router.clearPage()},renderMenu:function(){var e=this.$createElement,t=this.$configs,n=t.menuComponent,r=void 0===n?"menu":n,o=t.menuFontSize,a=t.menuWidth,i=this.$query,s=i.activeMenuId,u=i.moduleName;return e("epx-component",{class:"aside",attrs:{width:a,name:"manage"===this.$route.name?"manager-menu":r,activeMenuId:s,modules:this.modules,showNav:this.showModuleNav,menuFontSize:o,moduleName:u||this.moduleName,clickItem:this.toPage,back:this.pageConfig.backButton,backRefresh:this.pageConfig.backRefresh,openMenu:this.openMenu},on:{back:this.backPage,updateMenu:this.getSubModules,clearPage:this.clearPage}})}},render:function(){var e=arguments[0],t=this.$configs.pageId,n=void 0===t?"":t,r=this.$query,o=r.activeMenuPageId,a=r.showMenu,i=void 0===a||a;return e("div",{class:"container"},[!this.$isMobile&&i&&this.showMenu&&this.renderMenu(),e("div",{class:"main"},[this.modules&&this.modules.length>0&&this.showModulePage&&e("epx-router-view",{ref:"router",attrs:{hasMenu:!this.$isMobile&&i&&this.showMenu,initRoute:{component:"module-list-page",modules:this.modules,moduleId:"menu"===this.modulePageType?this.modules[0].ID:this.moduleId,pageId:o||("menu"===this.modulePageType?this.firstPage:"page"===this.modulePageType?n:null)}}})])])},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=this.$configs.modulePageType;this.$query.showFirstMenuPage&&(a="menu"),a||this.$isMobile||(a="menu"),this.modulePageType=a,o?(this.openMenu=this.pageConfig.openMenu,this.modules=o,this.module={},this.showModulePage=!0):(this.moduleId=r,this.getModule(r),this.getSubModules(r))}},s=n(3),u=n.n(s),c=n(513),l={insert:"head",singleton:!1},d=(u()(c.a,l),c.a.locals,n(2)),f=Object(d.a)(i,void 0,void 0,!1,null,"db5de3ae",null).exports;f.install=function(e){e.component(f.name,f)};t.default=f},86: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(47),a=n(18),i=n(32),s=n(41),u=n(7),c=(n(34),n(0)),l=n(16),d=(n(11),n(13),n(10),n(8),n(36),n(22),n(6),n(51),n(49),n(108),n(12),n(21),n(17),n(15),n(27),n(19),n(28),n(31),n(25),n(40),n(24)),f=["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(d).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(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]||{},d=Object(c.a)(Object(c.a)({},l),i);if(null!==(n=d.iterator)&&void 0!==n&&n.data){var f=d.iterator,p=f.data,m=f.name,h=void 0===m?"item":m,b=f.key,v=void 0===b?"ID":b,g=f.index,y=void 0===g?"index":g,j=[];if(Array.isArray(p))j=p;else{var x=/^\$\[(.+)\]$/.exec(p);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[v]||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,f),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)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,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(){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(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,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(c.a)(Object(c.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(3),v=n.n(b),g=n(91),y={insert:"head",singleton:!1},j=(v()(g.a,y),g.a.locals,n(92)),x={insert:"head",singleton:!1},P=(v()(j.a,x),j.a.locals,n(2)),O=Object(P.a)(h,r,[],!1,null,null,null);t.a=O.exports},9: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}))},91: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},92: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}});
|
|
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||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,s=e,f.n=n,u}};function p(n,r){for(i=n,s=r,t=0;!d&&c&&!o&&t<l.length;t++){var o,a=l[t],p=f.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]<=p&&((o=n<2&&p<a[1])?(i=0,f.v=r,f.n=a[1]):p<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,f.n=m,i=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===l&&p(l,m),i=l,s=m;(t=i<2?e:s)||!d;){a||(i?i<3?(i>1&&(f.n=-1),p(i,s)):f.n=s:f.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=(d=f.n<0)?s:n.call(r,f))!==u)break}catch(t){a=e,i=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,a,i),!0),l}var u={};function c(){}function l(){}function d(){}t=Object.getPrototypeOf;var f=[][a]?t(t([][a]())):(r(t={},a,(function(){return this})),t),p=d.prototype=c.prototype=Object.create(f);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=d,r(p,"constructor",d),r(d,"constructor",l),l.displayName="GeneratorFunction",r(d,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:s,m:m}})()}n.d(t,"a",(function(){return o}))},2: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 d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},20:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},21:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},22:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},23: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("epx-frame/lib/utils/mixins/component")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},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){e.exports=require("core-js/modules/es.iterator.find.js")},33: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}))},34:function(e,t){e.exports=require("vuex")},35:function(e,t,n){"use strict"},36: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 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 d=s(l),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:l,updater:b(f,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,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(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=c(t)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=c(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=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}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41: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 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}},50:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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,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(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.")}()}},51:function(e,t){e.exports=require("core-js/modules/es.promise.js")},513: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-69bab7dd]:root{--color-primary: 8,116,231 }.container[data-v-69bab7dd]{width:100%;height:100%;display:flex;position:absolute;left:0;top:0}.aside[data-v-69bab7dd]{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-69bab7dd]{flex:1;overflow:hidden}.module[data-v-69bab7dd]{height:100%;display:flex;flex-direction:column}.module-inner[data-v-69bab7dd]{height:100%;background:#fff;box-sizing:border-box;padding:0;box-shadow:0 0 8px rgba(117,117,117,.1)}.menu-back[data-v-69bab7dd]{width:100%;height:50px}.menu-back-inner[data-v-69bab7dd]{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-69bab7dd]{color:#7569e2}[data-theme=palevioletred] .menu-back-inner[data-v-69bab7dd]{color:#ce4545}[data-theme=forestgreen] .menu-back-inner[data-v-69bab7dd]{color:#3d8a50}[data-theme=deepblue] .menu-back-inner[data-v-69bab7dd]{color:#0f5fbd}[data-theme=orange] .menu-back-inner[data-v-69bab7dd]{color:#ea6000}[data-theme=skyblue] .menu-back-inner[data-v-69bab7dd]{color:#1a4586}[data-theme=aurorablue] .menu-back-inner[data-v-69bab7dd]{color:#383b9e}[data-theme=tiffanyblue] .menu-back-inner[data-v-69bab7dd]{color:#00aaad}[data-theme=tsinghuapurple] .menu-back-inner[data-v-69bab7dd]{color:#5f2167}[data-theme=creativeblue] .menu-back-inner[data-v-69bab7dd]{color:#418cff}[data-theme=njhkht] .menu-back-inner[data-v-69bab7dd]{color:#1d2088}[data-theme=custom] .menu-back-inner[data-v-69bab7dd]{color:rgba(var(--color-primary), 1)}.menu-back-inner[data-v-69bab7dd]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .menu-back-inner[data-v-69bab7dd]:hover{color:#67a3ff}[data-theme=njhkht] .menu-back-inner[data-v-69bab7dd]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .menu-back-inner[data-v-69bab7dd]:hover{color:rgba(var(--color-primary), 0.8)}.menu-back-inner>i[data-v-69bab7dd]{margin-right:4px}@media screen and (min-width: 992px){.main[data-v-69bab7dd]{padding:10px;position:relative}.main[data-v-69bab7dd]:has(.epx-dashboard){padding:0}.main[data-v-69bab7dd]>.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-69bab7dd]{padding:16px}}",""]),t.a=o},52: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(23);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")},820:function(e,t,n){"use strict";n.r(t);n(8);var r=n(1),o=n(0),a=(n(29),n(3),n(11),n(17),n(28),n(34)),i={name:"epx-module-index-page",extends:n(135).default,layout:"flex",openMenu:"first",style:{margin:0},data:function(){return{module:{},moduleName:"",modules:[],showModuleNav:!0,modulePageType:"",showModulePage:!1,openMenu:""}},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.module.MAIN_PAGE?e.openMenu=e.pageConfig.openMenu:(e.module.MODULE_PAGE_TYPE&&(e.modulePageType=e.module.MODULE_PAGE_TYPE),e.module.OPEN_MENU&&(e.openMenu=e.module.OPEN_MENU)),e.showModulePage=!0,e.moduleName=n.NAME_ALIAS||n.NAME,e.$parent.$emit("setMenuInfo",{module:e.module,menu:e.modules})}}))},getSubModules:function(e){var t=this;e&&this.$http.getUserMenuTreeData({moduleId:e,roleId:this.$currentRoleId,mode:this.$isMobile?"move":"pc"}).then((function(e){var n=Object(r.a)(e);t.getShowMenuData(n),t.modules=n,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){if("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});else if("6"===e.OPEN_TYPE)window.open(e.LINK_URL);else{var t={moduleId:e.ID,component:"module-list-page",menuTitle:e.text};if(e.MAIN_PAGE)t.pageId=e.MAIN_PAGE;else if("sub"!==e.MODULE_PAGE_TYPE){var n=this.getModuleFirstPage(e.children);t.pageId=n}this.$refs.router.clearPage(),this.$refs.router.createPage(t)}},clearPage:function(){this.$refs.router.clearPage()},renderMenu:function(){var e=this.$createElement,t=this.$configs,n=t.menuComponent,r=void 0===n?"menu":n,o=t.menuFontSize,a=t.menuWidth,i=this.$query,s=i.activeMenuId,u=i.moduleName;return e("epx-component",{class:"aside",attrs:{width:a,name:"manage"===this.$route.name?"manager-menu":r,activeMenuId:s,modules:this.modules,showNav:this.showModuleNav,menuFontSize:o,moduleName:u||this.moduleName,clickItem:this.toPage,back:this.pageConfig.backButton,backRefresh:this.pageConfig.backRefresh,openMenu:this.openMenu},on:{back:this.backPage,updateMenu:this.getSubModules,clearPage:this.clearPage}})}},render:function(){var e=arguments[0],t=this.$configs.pageId,n=void 0===t?"":t,r=this.$query,o=r.activeMenuPageId,a=r.showMenu,i=void 0===a||a;return e("div",{class:"container"},[!this.$isMobile&&i&&this.showMenu&&this.renderMenu(),e("div",{class:"main"},[this.modules&&this.modules.length>0&&this.showModulePage&&e("epx-router-view",{ref:"router",attrs:{hasMenu:!this.$isMobile&&i&&this.showMenu,initRoute:{component:"module-list-page",modules:this.modules,moduleId:"menu"===this.modulePageType?this.modules[0].ID:this.moduleId,pageId:o||("menu"===this.modulePageType?this.firstPage:"page"===this.modulePageType?n:null)}}})])])},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=this.$configs.modulePageType;this.$query.showFirstMenuPage&&(a="menu"),a||this.$isMobile||(a="menu"),this.modulePageType=a,o?(this.openMenu=this.pageConfig.openMenu,this.modules=o,this.module={},this.showModulePage=!0):(this.moduleId=r,this.getModule(r),this.getSubModules(r))}},s=n(4),u=n.n(s),c=n(513),l={insert:"head",singleton:!1},d=(u()(c.a,l),c.a.locals,n(2)),f=Object(d.a)(i,void 0,void 0,!1,null,"69bab7dd",null).exports;f.install=function(e){e.component(f.name,f)};t.default=f},87: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(50),a=n(19),i=n(33),s=n(41),u=n(7),c=(n(35),n(0)),l=n(15),d=(n(13),n(16),n(10),n(8),n(36),n(21),n(3),n(52),n(51),n(107),n(12),n(22),n(20),n(11),n(26),n(17),n(30),n(28),n(27),n(40),n(25)),f=["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(d).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(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]||{},d=Object(c.a)(Object(c.a)({},l),i);if(null!==(n=d.iterator)&&void 0!==n&&n.data){var f=d.iterator,p=f.data,m=f.name,h=void 0===m?"item":m,b=f.key,v=void 0===b?"ID":b,g=f.index,y=void 0===g?"index":g,j=[];if(Array.isArray(p))j=p;else{var x=/^\$\[(.+)\]$/.exec(p);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[v]||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,f),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)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,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(){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(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){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(c.a)(Object(c.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(92),y={insert:"head",singleton:!1},j=(v()(g.a,y),g.a.locals,n(93)),x={insert:"head",singleton:!1},P=(v()(j.a,x),j.a.locals,n(2)),O=Object(P.a)(h,r,[],!1,null,null,null);t.a=O.exports},9: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}))},92: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},93: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}});
|
|
@@ -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=843)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));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 i(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}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},107:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},11:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},135:function(e,t,n){"use strict";n.r(t);n(8);var r=n(87);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);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}}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}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 a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},16:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},17:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},19:function(e,t,n){"use strict";function r(e,t,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(r=function(e,t,n,o){function a(t,n){r(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("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}))},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.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")},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5);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+""}},24:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},28: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},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}}}},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},32: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}))},34:function(e,t,n){"use strict"},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},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 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}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41: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}))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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.")}()}},49:function(e,t){e.exports=require("core-js/modules/es.promise.js")},5: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}))},51:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);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")},835:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-module-list-page",extends:n(135).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},86: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(47),i=n(18),a=n(32),s=n(41),c=n(7),u=(n(34),n(0)),l=n(16),f=(n(11),n(13),n(10),n(8),n(36),n(22),n(6),n(51),n(49),n(108),n(12),n(21),n(17),n(15),n(27),n(19),n(28),n(31),n(25),n(40),n(24)),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,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(3),b=n.n(v),y=n(91),g={insert:"head",singleton:!1},j=(b()(y.a,g),y.a.locals,n(92)),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},9: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}))},91: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},92: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}});
|
|
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}))},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}))},20:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},21:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},22:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},23: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("epx-frame/lib/utils/mixins/component")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},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){e.exports=require("core-js/modules/es.iterator.find.js")},33: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}))},35:function(e,t,n){"use strict"},36: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.stringify.js")},41: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}},50:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);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.")}()}},51:function(e,t){e.exports=require("core-js/modules/es.promise.js")},52: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(23);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")},843:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-module-list-page",extends:n(135).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},87: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(50),i=n(19),a=n(33),s=n(41),c=n(7),u=(n(35),n(0)),l=n(15),f=(n(13),n(16),n(10),n(8),n(36),n(21),n(3),n(52),n(51),n(107),n(12),n(22),n(20),n(11),n(26),n(17),n(30),n(28),n(27),n(40),n(25)),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(92),g={insert:"head",singleton:!1},j=(b()(y.a,g),y.a.locals,n(93)),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},9: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}))},92: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},93: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}});
|
|
@@ -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=815)}({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}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},124:function(e,t){e.exports=require("core-js/modules/es.iterator.some.js")},15:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},19: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")},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(5);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+""}},24:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},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.filter.js")},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},33:function(e,t){e.exports=require("vuex")},354: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},355: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},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},391: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(36);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(354),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},392: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(27);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(355),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},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.json.stringify.js")},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},5: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}))},514: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},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(23);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")},815:function(e,t,r){"use strict";r.r(t);r(8);var o=r(0),n=r(7),a=(r(30),r(10),r(22),r(6),r(15),r(19),r(43),r(31),r(25),r(124),r(40),r(391)),i=r(392),c=r(24),l=r.n(c),d=r(33),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(514),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}});
|
|
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=821)}({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}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},11:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},124:function(e,t){e.exports=require("core-js/modules/es.iterator.some.js")},17: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}))},21:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},23: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("epx-frame/lib/utils/mixins/component")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},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")},31:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},34:function(e,t){e.exports=require("vuex")},353: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},354: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},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},390: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(36);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(353),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},391: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(354),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},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.stringify.js")},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},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}},514: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(23);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")},821:function(e,t,r){"use strict";r.r(t);r(8);var o=r(0),n=r(7),a=(r(31),r(10),r(21),r(3),r(11),r(17),r(43),r(28),r(27),r(124),r(40),r(390)),i=r(391),c=r(25),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(514),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}});
|