epx-frame 5.0.6 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/lib/0.js +1 -1
  2. package/lib/1.js +1 -1
  3. package/lib/115.js +1 -1
  4. package/lib/2.js +1 -1
  5. package/lib/components/Link.js +1 -1
  6. package/lib/components/add-form-item.js +1 -1
  7. package/lib/components/add-form.js +2 -2
  8. package/lib/components/ai-agent-page.js +1 -1
  9. package/lib/components/ai-chat-page.js +1 -1
  10. package/lib/components/ai-import-page.js +2 -2
  11. package/lib/components/ai-import.js +1 -1
  12. package/lib/components/alert.js +1 -1
  13. package/lib/components/app-index.js +1 -1
  14. package/lib/components/app-nav.js +2 -2
  15. package/lib/components/app-tabs.js +1 -1
  16. package/lib/components/apply-form.js +1 -1
  17. package/lib/components/approval-index-page.js +2 -2
  18. package/lib/components/approval-index.js +2 -2
  19. package/lib/components/base-page.js +2 -2
  20. package/lib/components/button.js +1 -1
  21. package/lib/components/card-form-item.js +1 -1
  22. package/lib/components/card.js +1 -1
  23. package/lib/components/carousel.js +1 -1
  24. package/lib/components/category-list.js +1 -1
  25. package/lib/components/chart.js +2 -2
  26. package/lib/components/check-history.js +2 -2
  27. package/lib/components/collapse.js +1 -1
  28. package/lib/components/color-picker.js +1 -1
  29. package/lib/components/component.js +1 -1
  30. package/lib/components/config-page.js +2 -2
  31. package/lib/components/contacts.js +1 -1
  32. package/lib/components/dashboard.js +3 -1
  33. package/lib/components/div.js +1 -1
  34. package/lib/components/dropdown.js +2 -2
  35. package/lib/components/edit-entity-list.js +1 -1
  36. package/lib/components/entity-add-page.js +2 -2
  37. package/lib/components/entity-apply-page.js +2 -2
  38. package/lib/components/entity-card-list.js +1 -1
  39. package/lib/components/entity-list-find-page.js +2 -2
  40. package/lib/components/entity-list-find.js +2 -2
  41. package/lib/components/entity-list-page.js +2 -2
  42. package/lib/components/entity-list.js +2 -2
  43. package/lib/components/entity-no-submit-sub-list.js +1 -1
  44. package/lib/components/entity-sub-grid.js +2 -2
  45. package/lib/components/entity-sub-list.js +2 -2
  46. package/lib/components/entity-tree-find-page.js +2 -2
  47. package/lib/components/entity-tree-find.js +2 -2
  48. package/lib/components/export-file.js +1 -1
  49. package/lib/components/export.js +2 -2
  50. package/lib/components/flow-num.js +1 -1
  51. package/lib/components/footer.js +1 -1
  52. package/lib/components/form-field.js +1 -1
  53. package/lib/components/form-item.js +2 -2
  54. package/lib/components/form.js +2 -2
  55. package/lib/components/formula.js +1 -1
  56. package/lib/components/gauge.js +1 -1
  57. package/lib/components/grid.js +1 -1
  58. package/lib/components/header.js +1 -1
  59. package/lib/components/html.js +1 -1
  60. package/lib/components/icon.js +1 -1
  61. package/lib/components/iframe.js +1 -1
  62. package/lib/components/image.js +1 -1
  63. package/lib/components/import-file.js +1 -1
  64. package/lib/components/import.js +2 -2
  65. package/lib/components/layout.js +1 -1
  66. package/lib/components/list.js +1 -1
  67. package/lib/components/load-page.js +1 -1
  68. package/lib/components/m-entity-add-page.js +2 -2
  69. package/lib/components/m-entity-dept-find.js +1 -1
  70. package/lib/components/m-entity-list-find.js +1 -1
  71. package/lib/components/m-entity-list.js +1 -1
  72. package/lib/components/m-entity-no-submit-sub-list.js +2 -2
  73. package/lib/components/m-entity-tree-find.js +1 -1
  74. package/lib/components/m-entity-user-find.js +1 -1
  75. package/lib/components/menu-index.js +1 -1
  76. package/lib/components/menu.js +1 -1
  77. package/lib/components/mine.js +1 -1
  78. package/lib/components/module-index-page.js +2 -2
  79. package/lib/components/module-list-page.js +2 -2
  80. package/lib/components/module-list.js +1 -1
  81. package/lib/components/module-tabs-page.js +2 -2
  82. package/lib/components/nav-add-form.js +1 -1
  83. package/lib/components/num.js +1 -1
  84. package/lib/components/org-chart.js +1 -1
  85. package/lib/components/page-help.js +1 -1
  86. package/lib/components/page-tabs.js +1 -1
  87. package/lib/components/page.js +2 -2
  88. package/lib/components/pagination.js +1 -1
  89. package/lib/components/progress-chart.js +1 -1
  90. package/lib/components/progress.js +1 -1
  91. package/lib/components/report-chart.js +2 -2
  92. package/lib/components/report-html.js +2 -2
  93. package/lib/components/report-preview.js +2 -2
  94. package/lib/components/report.js +2 -2
  95. package/lib/components/router-view.js +1 -1
  96. package/lib/components/scope.js +2 -2
  97. package/lib/components/search-bar.js +1 -1
  98. package/lib/components/search-list.js +1 -1
  99. package/lib/components/search.js +2 -2
  100. package/lib/components/step-item.js +1 -1
  101. package/lib/components/step.js +1 -1
  102. package/lib/components/tab-bar.js +1 -1
  103. package/lib/components/tab-tags.js +1 -1
  104. package/lib/components/tabs.js +1 -1
  105. package/lib/components/tag.js +1 -1
  106. package/lib/components/task-list-page.js +2 -2
  107. package/lib/components/task-list.js +2 -2
  108. package/lib/components/template.js +2 -2
  109. package/lib/components/text-editor.js +1 -1
  110. package/lib/components/text.js +1 -1
  111. package/lib/components/title.js +1 -1
  112. package/lib/components/video.js +1 -1
  113. package/lib/components/visual-config-page.js +2 -2
  114. package/lib/epx-frame.common.js +2 -2
  115. package/lib/http.js +2 -2
  116. package/lib/router.js +2 -2
  117. package/lib/store.js +2 -2
  118. package/lib/utils/Config.js +1 -1
  119. package/lib/utils/axios.js +2 -2
  120. package/lib/utils/chartTheme.js +1 -1
  121. package/lib/utils/fieldFactory.js +2 -2
  122. package/lib/utils/formula.js +1 -1
  123. package/lib/utils/index.js +2 -2
  124. package/lib/utils/loadComponent.js +1 -1
  125. package/lib/utils/loadLibrary.js +1 -1
  126. package/lib/utils/meta.js +1 -1
  127. package/lib/utils/mixins/component.js +2 -2
  128. package/lib/utils/mixins/global.js +2 -2
  129. package/lib/utils/mixins/index.js +2 -2
  130. package/lib/utils/page.js +1 -1
  131. package/lib/utils/pdf.viewer.js +2 -2
  132. package/lib/utils/util.js +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=776)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,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),o&&(c._scopeId="data-v-"+o),a?(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__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(e,t){return u.call(t),f(e,t)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5);function i(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 i=n.call(e,t||"default");if("object"!=Object(r.a)(i))return i;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")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},3:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),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 u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,f="".concat(u," ").concat(c);n[u]=c+1;var l=s(f),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(a[l].references++,a[l].updater(d)):a.push({identifier:f,updater:v(d,t),references:1}),r.push(f)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(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 f,l=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=l(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,i;if(t.singleton){var o=m++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=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 i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());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 i=s(n[r]);a[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var f=s(n[c]);0===a[f].references&&(a[f].updater(),a.splice(f,1))}n=o}}}},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 i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},419:function(e,t,n){"use strict";var r=n(4),i=n.n(r)()((function(e){return e[1]}));i.push([e.i,":root{--color-primary: 8,116,231 }.epx-app-tabs{width:100%;height:100%;box-sizing:border-box;overflow:hidden;position:relative}@media only screen and (max-width: 992px){.epx-app-tabs{padding:0}}",""]),t.a=i},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}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23);function i(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}},776:function(e,t,n){"use strict";n.r(t);n(8);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-app-tabs"},e._l(e.$tabs,(function(n,r){return t("epx-router-view",{directives:[{name:"show",rawName:"v-show",value:n.active,expression:"tab.active"}],key:n.key,ref:"routerView",refInFor:!0,attrs:{"init-route":n,tab:n},on:{change:([t])=>e.routerChange(n.key,r,t),"delete-tab":function(t){return e.deleteTab(n)}}})})),1)};r._withStripped=!0;var i=n(0),o=(n(12),n(17),n(27),n(24)),a={name:"epx-app-tabs",componentName:"appService",mixins:[n.n(o).a],props:{navType:String,firstPage:String,firstPageMetaId:String,firstPageId:String,showFirstMenuPage:Boolean,showMenu:Boolean,menu:{type:Array,default:function(){return[]}}},methods:{createIndexTabs:function(){var e=this.$route,t=e.query,n=e.params,r=void 0===n?{}:n,o={};if(r.pageId||r.flag)o=Object(i.a)({key:"default-index",component:"module-index-page"},r);else if(this.menu){var a=this.menu[0]||{};o={key:this.showFirstMenuPage?"default-"+a.ID:"default-index",component:"module-index-page",flag:this.firstPage,moduleId:a.ID,pageId:t.pageId||this.firstPageId||(this.showFirstMenuPage&&"1"===this.navType||"2"===this.navType?a.MAIN_PAGE:""),serviceMenu:this.showFirstMenuPage&&"1"===this.navType?a.children:this.menu,showFirstMenuPage:this.showFirstMenuPage&&"1"!==this.navType,showMenu:this.showMenu}}else o={key:"default-index",component:"module-index-page",flag:this.firstPage,pageId:t.pageId||this.firstPageId||""};this.firstPageMetaId&&(o.metaId=this.firstPageMetaId),this.$store.commit("CREATE_TAB",o)},routerChange:function(e,t,n){this.$store.commit("SET_TAB_QUERY",{key:e,query:{routes:n}}),0===n.length&&(this.$tabs.length>1?this.$store.commit("DESTORY_TAB",e):window.history.go(-1))},deleteTab:function(e){this.$store.commit("DESTORY_TAB",e.key)}},mounted:function(){if(0===this.$tabs.length)"manage"===this.$route.name&&"0"!==this.navType||this.createIndexTabs(),"manage"===this.$route.name&&"0"!==this.navType&&this.menu.length>0&&this.createIndexTabs();else{var e=this.$route,t=e.path,n=e.query,r=e.params,o=void 0===r?{}:r;if(n.pageId){var a=Object(i.a)({},n);if(delete a.pageId,this.$refs.routerView)this.$refs.routerView[0].routes.push({pageId:n.pageId});this.$router.replace({path:t,query:a})}else if(o.pageId||o.flag){if(this.$refs.routerView)this.$refs.routerView[0].routes=[Object(i.a)({pageId:o.pageId},o)]}}}},s=n(3),u=n.n(s),c=n(419),f={insert:"head",singleton:!1},l=(u()(c.a,f),c.a.locals,n(2)),d=Object(l.a)(a,r,[],!1,null,null,null).exports;d.install=function(e){e.component(d.name,d)};t.default=d},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")}});
1
+ module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=782)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,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),o&&(c._scopeId="data-v-"+o),a?(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__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(e,t){return u.call(t),f(e,t)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,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")},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(6);function i(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 i=n.call(e,t||"default");if("object"!=Object(r.a)(i))return i;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")},4:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),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 u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,f="".concat(u," ").concat(c);n[u]=c+1;var l=s(f),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(a[l].references++,a[l].updater(d)):a.push({identifier:f,updater:v(d,t),references:1}),r.push(f)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(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 f,l=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=l(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,i;if(t.singleton){var o=m++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=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 i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());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 i=s(n[r]);a[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var f=s(n[c]);0===a[f].references&&(a[f].updater(),a.splice(f,1))}n=o}}}},418:function(e,t,n){"use strict";var r=n(5),i=n.n(r)()((function(e){return e[1]}));i.push([e.i,":root{--color-primary: 8,116,231 }.epx-app-tabs{width:100%;height:100%;box-sizing:border-box;overflow:hidden;position:relative}@media only screen and (max-width: 992px){.epx-app-tabs{padding:0}}",""]),t.a=i},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 i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},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 i}));var r=n(23);function i(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}},782:function(e,t,n){"use strict";n.r(t);n(8);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-app-tabs"},e._l(e.$tabs,(function(n,r){return t("epx-router-view",{directives:[{name:"show",rawName:"v-show",value:n.active,expression:"tab.active"}],key:n.key,ref:"routerView",refInFor:!0,attrs:{"init-route":n,tab:n},on:{change:([t])=>e.routerChange(n.key,r,t),"delete-tab":function(t){return e.deleteTab(n)}}})})),1)};r._withStripped=!0;var i=n(0),o=(n(12),n(20),n(26),n(25)),a={name:"epx-app-tabs",componentName:"appService",mixins:[n.n(o).a],props:{navType:String,firstPage:String,firstPageMetaId:String,firstPageId:String,showFirstMenuPage:Boolean,showMenu:Boolean,menu:{type:Array,default:function(){return[]}}},methods:{createIndexTabs:function(){var e=this.$route,t=e.query,n=e.params,r=void 0===n?{}:n,o={};if(r.pageId||r.flag)o=Object(i.a)({key:"default-index",component:"module-index-page"},r);else if(this.menu){var a=this.menu[0]||{};o={key:this.showFirstMenuPage?"default-"+a.ID:"default-index",component:"module-index-page",flag:this.firstPage,moduleId:a.ID,pageId:t.pageId||this.firstPageId||(this.showFirstMenuPage&&"1"===this.navType||"2"===this.navType?a.MAIN_PAGE:""),serviceMenu:this.showFirstMenuPage&&"1"===this.navType?a.children:this.menu,showFirstMenuPage:this.showFirstMenuPage&&"1"!==this.navType,showMenu:this.showMenu}}else o={key:"default-index",component:"module-index-page",flag:this.firstPage,pageId:t.pageId||this.firstPageId||""};this.firstPageMetaId&&(o.metaId=this.firstPageMetaId),this.$store.commit("CREATE_TAB",o)},routerChange:function(e,t,n){this.$store.commit("SET_TAB_QUERY",{key:e,query:{routes:n}}),0===n.length&&(this.$tabs.length>1?this.$store.commit("DESTORY_TAB",e):window.history.go(-1))},deleteTab:function(e){this.$store.commit("DESTORY_TAB",e.key)}},mounted:function(){if(0===this.$tabs.length)"manage"===this.$route.name&&"0"!==this.navType||this.createIndexTabs(),"manage"===this.$route.name&&"0"!==this.navType&&this.menu.length>0&&this.createIndexTabs();else{var e=this.$route,t=e.path,n=e.query,r=e.params,o=void 0===r?{}:r;if(n.pageId){var a=Object(i.a)({},n);if(delete a.pageId,this.$refs.routerView)this.$refs.routerView[0].routes.push({pageId:n.pageId});this.$router.replace({path:t,query:a})}else if(o.pageId||o.flag){if(this.$refs.routerView)this.$refs.routerView[0].routes=[Object(i.a)({pageId:o.pageId},o)]}}}},s=n(4),u=n.n(s),c=n(418),f={insert:"head",singleton:!1},l=(u()(c.a,f),c.a.locals,n(2)),d=Object(l.a)(a,r,[],!1,null,null,null).exports;d.install=function(e){e.component(d.name,d)};t.default=d},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")}});
@@ -1 +1 @@
1
- module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=827)}({0:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(7);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},2:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u,s){var c,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=c):o&&(c=s?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(a.functional){a._injectStyles=c;var f=a.render;a.render=function(t,e){return c.call(e),f(t,e)}}else{var l=a.beforeCreate;a.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},23:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(5);function o(t){var e=function(t,e){if("object"!=Object(r.a)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Object(r.a)(e)?e:e+""}},231:function(t,e){t.exports=require("epx-frame/lib/components/add-form")},49:function(t,e){t.exports=require("core-js/modules/es.promise.js")},5:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},6:function(t,e){t.exports=require("core-js/modules/es.object.to-string.js")},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(23);function o(t,e,n){return(e=Object(r.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},827:function(t,e,n){"use strict";n.r(e);var r=n(0),o=(n(6),n(49),n(231)),i={name:"epx-apply-form",extends:n.n(o).a,operates:[{text:"申请",ui:"primary",handler:"applyEntity",option:'pageType==="ADD"'},{text:"返回",cls:"btn_hollow",handler:"backPage"}],methods:{getProcessIdByEntity:function(){return this.$http.list({entityId:"ACT_RE_MODEL","scope.ENTITY":this.$metaId}).then((function(t){if(t.entitys&&t.entitys.length>0)return Promise.resolve(t.entitys[0].ID)}))},getFormConfigs:function(){var t=this,e=this.$configs.processId,n=this.upPage.$query.processId,o=void 0===n?e:n,i={entityId:"ACT_RE_MODEL"};o?i.id=o:(i["scope.ENTITY"]=this.$metaId,i.action="find"),this.$http.get(i).then((function(e){if(e.data){var n={};if(e.data.STATUS_FIELD)n[t.$meta.getAttriNameById(e.data.STATUS_FIELD)]={state:"HIDDEN"};if(e.data.USER_FIELD)n[t.$meta.getAttriNameById(e.data.USER_FIELD)]={state:"HIDDEN"};t.formConfigs=Object(r.a)(Object(r.a)({},t.formConfigs),{},{fieldConfigs:n})}}))}},mounted:function(){this.getFormConfigs()}},u=n(2),s=Object(u.a)(i,void 0,void 0,!1,null,null,null).exports;e.default=s}});
1
+ module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=835)}({0:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(7);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},2:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u,s){var c,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=c):o&&(c=s?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(a.functional){a._injectStyles=c;var f=a.render;a.render=function(t,e){return c.call(e),f(t,e)}}else{var l=a.beforeCreate;a.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},200:function(t,e){t.exports=require("epx-frame/lib/components/add-form")},23:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6);function o(t){var e=function(t,e){if("object"!=Object(r.a)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Object(r.a)(e)?e:e+""}},3:function(t,e){t.exports=require("core-js/modules/es.object.to-string.js")},51:function(t,e){t.exports=require("core-js/modules/es.promise.js")},6:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(23);function o(t,e,n){return(e=Object(r.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},835:function(t,e,n){"use strict";n.r(e);var r=n(0),o=(n(3),n(51),n(200)),i={name:"epx-apply-form",extends:n.n(o).a,operates:[{text:"申请",ui:"primary",handler:"applyEntity",option:'pageType==="ADD"'},{text:"返回",cls:"btn_hollow",handler:"backPage"}],methods:{getProcessIdByEntity:function(){return this.$http.list({entityId:"ACT_RE_MODEL","scope.ENTITY":this.$metaId}).then((function(t){if(t.entitys&&t.entitys.length>0)return Promise.resolve(t.entitys[0].ID)}))},getFormConfigs:function(){var t=this,e=this.$configs.processId,n=this.upPage.$query.processId,o=void 0===n?e:n,i={entityId:"ACT_RE_MODEL"};o?i.id=o:(i["scope.ENTITY"]=this.$metaId,i.action="find"),this.$http.get(i).then((function(e){if(e.data){var n={};if(e.data.STATUS_FIELD)n[t.$meta.getAttriNameById(e.data.STATUS_FIELD)]={state:"HIDDEN"};if(e.data.USER_FIELD)n[t.$meta.getAttriNameById(e.data.USER_FIELD)]={state:"HIDDEN"};t.formConfigs=Object(r.a)(Object(r.a)({},t.formConfigs),{},{fieldConfigs:n})}}))}},mounted:function(){this.getFormConfigs()}},u=n(2),s=Object(u.a)(i,void 0,void 0,!1,null,null,null).exports;e.default=s}});
@@ -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=828)}({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")},108:function(e,t){e.exports=require("core-js/modules/es.promise.finally.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")},13:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},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){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},16: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}}}}},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},18: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(){
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=836)}({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")},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")},828:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-approval-index-page",extends:n(86).a,searchComponent:"",items:[{title:"审批首页",id:"approval-index",contentType:"approval-index"}],itemConfigs:{}},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")},42: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")},836:function(e,t,n){"use strict";n.r(t);n(8);var r={name:"epx-approval-index-page",extends:n(87).a,searchComponent:"",items:[{title:"审批首页",id:"approval-index",contentType:"approval-index"}],itemConfigs:{}},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(42),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,3 +1,3 @@
1
- module.exports=function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/dist/",a(a.s=777)}({0:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(7);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},18:function(e,t,a){"use strict";function r(e,t,a,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(r=function(e,t,a,n){function i(t,a){r(e,t,(function(e){return this._invoke(t,a,e)}))}t?o?o(e,t,{value:a,enumerable:!n,configurable:!n,writable:!n}):e[t]=a:(i("next",0),i("throw",1),i("return",2))})(e,t,a,n)}function n(){
1
+ module.exports=function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/dist/",a(a.s=783)}({0:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r=a(7);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},17:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},18:function(e,t){e.exports=require("core-js/modules/es.array.concat.js")},19:function(e,t,a){"use strict";function r(e,t,a,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(r=function(e,t,a,n){function o(t,a){r(e,t,(function(e){return this._invoke(t,a,e)}))}t?i?i(e,t,{value:a,enumerable:!n,configurable:!n,writable:!n}):e[t]=a:(o("next",0),o("throw",1),o("return",2))})(e,t,a,n)}function n(){
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,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.toStringTag||"@@toStringTag";function p(a,n,o,i){var p=n&&n.prototype instanceof l?n:l,c=Object.create(p.prototype);return r(c,"_invoke",function(a,r,n){var o,i,p,l=0,c=n||[],d=!1,u={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,a){return o=t,i=0,p=e,u.n=a,s}};function f(a,r){for(i=a,p=r,t=0;!d&&l&&!n&&t<c.length;t++){var n,o=c[t],f=u.p,_=o[2];a>3?(n=_===r)&&(p=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=f&&((n=a<2&&f<o[1])?(i=0,u.v=r,u.n=o[1]):f<_&&(n=a<3||o[0]>r||r>_)&&(o[4]=a,o[5]=r,u.n=_,i=0))}if(n||a>1)return s;throw d=!0,r}return function(n,c,_){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&f(c,_),i=c,p=_;(t=i<2?e:p)||!d;){o||(i?i<3?(i>1&&(u.n=-1),f(i,p)):u.n=p:u.v=p);try{if(l=2,o){if(i||(n="next"),t=o[n]){if(!(t=t.call(o,p)))throw TypeError("iterator result is not an object");if(!t.done)return t;p=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(p=TypeError("The iterator does not provide a '"+n+"' method"),i=1);o=e}else if((t=(d=u.n<0)?p:a.call(r,u))!==s)break}catch(t){o=e,i=1,p=t}finally{l=1}}return{value:t,done:d}}}(a,o,i),!0),c}var s={};function l(){}function c(){}function d(){}t=Object.getPrototypeOf;var u=[][o]?t(t([][o]())):(r(t={},o,(function(){return this})),t),f=d.prototype=l.prototype=Object.create(u);function _(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=d,r(f,"constructor",d),r(d,"constructor",c),c.displayName="GeneratorFunction",r(d,i,"GeneratorFunction"),r(f),r(f,i,"Generator"),r(f,o,(function(){return this})),r(f,"toString",(function(){return"[object Generator]"})),(n=function(){return{w:p,m:_}})()}a.d(t,"a",(function(){return n}))},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,a){"use strict";function r(e,t,a,r,n,o,i,p){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=s):n&&(s=p?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),s)if(l.functional){l._injectStyles=s;var c=l.render;l.render=function(e,t){return s.call(t),c(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:l}}a.d(t,"a",(function(){return r}))},20:function(e,t){e.exports=require("core-js/modules/es.array.concat.js")},23:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(5);function n(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Object(r.a)(n))return n;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")},250:function(e,t,a){"use strict";a.r(t),t.default=a.p+"media/app.png"},3:function(e,t,a){"use strict";var r,n=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),i=[];function p(e){for(var t=-1,a=0;a<i.length;a++)if(i[a].identifier===e){t=a;break}return t}function s(e,t){for(var a={},r=[],n=0;n<e.length;n++){var o=e[n],s=t.base?o[0]+t.base:o[0],l=a[s]||0,c="".concat(s," ").concat(l);a[s]=l+1;var d=p(c),u={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(i[d].references++,i[d].updater(u)):i.push({identifier:c,updater:v(u,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var n=a.nc;n&&(r.nonce=n)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=o(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function u(e,t,a,r){var n=a?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,n);else{var o=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function f(e,t,a){var r=a.css,n=a.media,o=a.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var _=null,x=0;function v(e,t){var a,r,n;if(t.singleton){var o=x++;a=_||(_=l(t)),r=u.bind(null,a,o,!1),n=u.bind(null,a,o,!0)}else a=l(t),r=f.bind(null,a,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};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 n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var a=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<a.length;r++){var n=p(a[r]);i[n].references--}for(var o=s(e,t),l=0;l<a.length;l++){var c=p(a[l]);0===i[c].references&&(i[c].updater(),i.splice(c,1))}a=o}}}},32:function(e,t,a){"use strict";function r(e,t,a,r,n,o,i){try{var p=e[o](i),s=p.value}catch(e){return void a(e)}p.done?t(s):Promise.resolve(s).then(r,n)}function n(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var i=e.apply(t,a);function p(e){r(i,n,o,p,s,"next",e)}function s(e){r(i,n,o,p,s,"throw",e)}p(void 0)}))}}a.d(t,"a",(function(){return n}))},34:function(e,t,a){"use strict"},4:function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=e(t);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,r){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(n[i]=!0)}for(var p=0;p<e.length;p++){var s=[].concat(e[p]);r&&n[s[0]]||(a&&(s[2]?s[2]="".concat(a," and ").concat(s[2]):s[2]=a),t.push(s))}},t}},420:function(e,t,a){"use strict";var r=a(4),n=a.n(r)()((function(e){return e[1]}));n.push([e.i,":root{--color-primary: 8,116,231 }.epx-approval-index{padding:0 10px}.epx-approval-index__card{background:#fff;border-radius:4px;margin:20px 0}.epx-approval-index__card-header{height:58px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8e8e8}.epx-approval-index__card-title{font-size:16px;color:#121212;line-height:20px}.epx-approval-index__card-title i{color:#0874e7}[data-theme=purple] .epx-approval-index__card-title i{color:#7569e2}[data-theme=palevioletred] .epx-approval-index__card-title i{color:#ce4545}[data-theme=forestgreen] .epx-approval-index__card-title i{color:#3d8a50}[data-theme=deepblue] .epx-approval-index__card-title i{color:#0f5fbd}[data-theme=orange] .epx-approval-index__card-title i{color:#ea6000}[data-theme=skyblue] .epx-approval-index__card-title i{color:#1a4586}[data-theme=aurorablue] .epx-approval-index__card-title i{color:#383b9e}[data-theme=tiffanyblue] .epx-approval-index__card-title i{color:#00aaad}[data-theme=tsinghuapurple] .epx-approval-index__card-title i{color:#5f2167}[data-theme=creativeblue] .epx-approval-index__card-title i{color:#418cff}[data-theme=njhkht] .epx-approval-index__card-title i{color:#1d2088}[data-theme=custom] .epx-approval-index__card-title i{color:rgba(var(--color-primary), 1)}.epx-approval-index__card-title i:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .epx-approval-index__card-title i:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .epx-approval-index__card-title i:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .epx-approval-index__card-title i:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .epx-approval-index__card-title i:hover{color:rgb(63,127,202.2)}[data-theme=orange] .epx-approval-index__card-title i:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .epx-approval-index__card-title i:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .epx-approval-index__card-title i:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .epx-approval-index__card-title i:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .epx-approval-index__card-title i:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .epx-approval-index__card-title i:hover{color:#67a3ff}[data-theme=njhkht] .epx-approval-index__card-title i:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .epx-approval-index__card-title i:hover{color:rgba(var(--color-primary), 0.8)}.epx-approval-index__card-title i{font-size:20px;margin-right:4px}.epx-approval-index__card-operate{height:36px;padding:10px 20px}.epx-approval-index__app{padding:30px 40px;display:flex}.epx-approval-index__app-logo>img{width:56px;height:56px;margin-right:20px}.epx-approval-index__app-name{font-size:18px;color:#121212;font-weight:600;margin-bottom:6px}.epx-approval-index__app-desc{font-size:14px;color:#444;line-height:22px}.epx-approval-index__app-desc>span{padding-right:40px}.epx-approval-index__task-list{background:#fff;padding:0 20px}.epx-approval-index__task-item{border-bottom:1px solid #e3e3e3;padding:20px;cursor:pointer;display:flex;align-items:center;position:relative}.epx-approval-index__task-item:hover{background-color:rgba(8,116,231,.15)}[data-theme=purple] .epx-approval-index__task-item:hover{background-color:rgba(117,105,226,.15)}[data-theme=palevioletred] .epx-approval-index__task-item:hover{background-color:rgba(206,69,69,.15)}[data-theme=forestgreen] .epx-approval-index__task-item:hover{background-color:rgba(61,138,80,.15)}[data-theme=deepblue] .epx-approval-index__task-item:hover{background-color:rgba(15,95,189,.15)}[data-theme=orange] .epx-approval-index__task-item:hover{background-color:rgba(234,96,0,.15)}[data-theme=skyblue] .epx-approval-index__task-item:hover{background-color:rgba(26,69,134,.15)}[data-theme=aurorablue] .epx-approval-index__task-item:hover{background-color:rgba(56,59,158,.15)}[data-theme=tiffanyblue] .epx-approval-index__task-item:hover{background-color:rgba(0,170,173,.15)}[data-theme=tsinghuapurple] .epx-approval-index__task-item:hover{background-color:rgba(95,33,103,.15)}[data-theme=creativeblue] .epx-approval-index__task-item:hover{background-color:rgba(65,140,255,.15)}[data-theme=njhkht] .epx-approval-index__task-item:hover{background-color:rgba(29,32,136,.15)}[data-theme=custom] .epx-approval-index__task-item:hover{background-color:rgba(var(--color-primary), 0.15)}.epx-approval-index__task-title{font-size:16px;font-weight:600;overflow:hidden;margin-right:10px}.epx-approval-index__task-subtitle{display:flex}.epx-approval-index__task-name{color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epx-approval-index__task-status{flex-shrink:0;font-size:14px;font-weight:500}.epx-approval-index__task-tag{margin-left:6px}.epx-approval-index__task-date{font-size:14px;color:#999;flex-shrink:0}.epx-approval-index__task-extra{color:#999;flex-shrink:0}.epx-approval-index__task-content{flex:1;overflow:hidden;display:flex;flex-direction:column;justify-content:center;color:#666;line-height:28px;min-height:60px}.epx-approval-index__task-desc{margin-top:10px}.epx-approval-index__null-data>i{font-size:100px}.epx-approval-index__null-data{text-align:center}.epx-approval-index__task-more{height:58px;line-height:58px;text-align:center;cursor:pointer;color:#444}.epx-approval-index__tab-body{padding:0 20px 20px}.epx-approval-index__file-item{height:60px;background:#f8f8f8;border-radius:4px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:0 20px}.epx-approval-index__file-name{color:#444}.epx-approval-index__file-name i{font-size:18px;margin-right:4px}.epx-approval-index__file-download i{font-size:18px;position:relative;top:1px}@media screen and (max-width: 992px){.epx-approval-index__card{margin:10px 0}.epx-approval-index__app{padding:20px}}",""]),t.a=n},49:function(e,t){e.exports=require("core-js/modules/es.promise.js")},5:function(e,t,a){"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)}a.d(t,"a",(function(){return r}))},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(23);function n(e,t,a){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},777:function(e,t,a){"use strict";a.r(t);a(8);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-approval-index",style:e.$component.style},[t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-body"},[t("div",{staticClass:"epx-approval-index__app"},[t("div",{staticClass:"epx-approval-index__app-logo"},[t("img",{attrs:{src:e.appConfig.IMAGE?e.$util.getFileUrl(e.appConfig.IMAGE):a(250)}})]),t("div",{staticClass:"epx-approval-index__app-info"},[t("div",{staticClass:"epx-approval-index__app-name"},[t("span",[e._v(e._s(e.appConfig.NAME))])]),t("div",{staticClass:"epx-approval-index__app-desc"},[t("span",{staticClass:"epx-approval-index__app-desc-item"},[e._v("应用类型:"+e._s(e.appConfig["TYPE#"]))]),t("span",{staticClass:"epx-approval-index__app-desc-item"},[e._v("服务类型:"+e._s(e.appConfig["SORT#"]))])])])])])]),t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-header"},[e._m(0),t("el-button",{staticClass:"epx-approval-index__card-operate",attrs:{type:"primary"},on:{click:e.openApplyPage}},[e._v("发起申请")])],1),t("div",{staticClass:"epx-approval-index__card-body"},[t("div",{staticClass:"epx-approval-index__task"},[e.applyList?0===e.applyList.length?t("div",{staticClass:"epx-approval-index__null-data"},[t("i",{staticClass:"epx-icon-color-kong"})]):t("ul",{staticClass:"epx-approval-index__task-list"},e._l(e.applyList,(function(a){return t("li",{key:a.ID,staticClass:"epx-approval-index__task-item",on:{click:function(t){return e.goCheckPage({},a)}}},[t("div",{staticClass:"epx-approval-index__task-content"},[t("span",{staticClass:"epx-approval-index__task-title"},[t("span",{staticClass:"epx-approval-index__task-subtitle"},[t("font",{staticClass:"epx-approval-index__task-name",attrs:{title:e.getTitle(a)}},[e._v(e._s(e.getTitle(a)))]),e.$isMobile?e._e():t("font",{staticClass:"epx-approval-index__task-status"},[e._v("("+e._s(a["NAME#"]||a.TASK_NAME)+")")]),a["INST_STATUS#"]?t("el-tag",{staticClass:"tepx-approval-index__task-tag",attrs:{size:"small",type:"end"===a.INST_STATUS||"repeal"===a.INST_STATUS?"success":"progress"===a.INST_STATUS?"warning":"danger"}},[e._v("\n "+e._s(a["INST_STATUS#"])+"\n ")]):e._e()],1)]),a.BUSINESS_FIELDS&&a.BUSINESS_FIELDS.length>0?t("div",{staticClass:"epx-approval-index__task-desc"},e._l(a.BUSINESS_FIELDS,(function(a){return t("p",{key:a.name},[e._v(e._s(a.name)+": "+e._s(a.converValue))])})),0):e._e()]),t("div",{staticClass:"epx-approval-index__task-extra"},[t("span",{staticClass:"epx-approval-index__task-date"},[e._v(e._s(a.CREATE_TIME||a.START_TIME))])])])})),0):t("div"),t("div",{staticClass:"epx-approval-index__task-more",on:{click:e.viewMore}},[e._v("查看更多")])])])]),t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-body"},[t("el-tabs",{attrs:{type:"card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"服务说明",name:"info"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[t("div",{staticClass:"epx-approval-index__app-note",domProps:{innerHTML:e._s(e.appConfig.NOTE)}})])]),t("el-tab-pane",{attrs:{lazy:"",label:"流程图",name:"chart"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[e.appConfig.PROCESS?t("epx-process-chart",{attrs:{processId:e.appConfig.PROCESS}}):e._e()],1)]),t("el-tab-pane",{attrs:{label:"材料下载",name:"files"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[0===e.fileList.length?t("div",{staticClass:"epx-approval-index__null-data"},[t("i",{staticClass:"epx-icon-color-kong"})]):t("ul",e._l(e.fileList,(function(a){return t("li",{key:a.id,staticClass:"epx-approval-index__file-item"},[t("p",{staticClass:"epx-approval-index__file-name"},[t("i",{staticClass:"el-icon-s-order"}),t("span",[e._v(e._s(a.name))])]),t("a",{staticClass:"epx-approval-index__file-download",attrs:{target:"__blank",href:a.url}},[t("i",{staticClass:"el-icon-download"}),e._v("\n 下载\n ")])])})),0)])])],1)],1)])])};r._withStripped=!0;var n=a(18),o=a(32),i=a(0),p=(a(34),a(20),a(10),a(6),a(49),a(19),a(25),a(24)),s={name:"epx-approval-index",mixins:[a.n(p).a],style:{"max-width":"1200px",margin:"0 auto"},data:function(){return{activeName:"info",processInfo:{},applyList:null}},computed:{currentLanguage:function(){var e=this.clientConfig,t=e.CODE,a=e.LANGUAGE_DEFAULT,r=this.userInfo.LANGUAGE,n=localStorage.getItem("".concat(t,"-language"))||r||a;return n},getTitle:function(){var e=this;return function(t){if(t.APPLY_NAME)return t.APPLY_NAME;var a=t["APPLY_USER_ID#"]||t["V|APPLY_USER_ID#"];return"".concat(a?a+(e.currentLanguage&&"010"!==e.currentLanguage?" ":"的"):"").concat(t["DEF|NAME#"])}},fileList:function(){var e=this,t=this.appConfig,a=t.FILES,r=void 0===a?"":a,n=t["FILES#"],o=void 0===n?"":n,i=r?r.split(","):[],p=o?o.split(","):[];return i.map((function(t,a){return{id:t,name:p[a],url:e.$util.getFileUrl(t)}}))}},methods:{$refesh:function(){this.getApplyList()},getApplyList:function(){var e=this,t={action:"getApplylist",entityId:"ACT_HI_PROCINST",type:"apply",processId:this.appConfig.PROCESS,processInstStatus:"progress",columnFieldNames:"DELETE_REASON,END_TIME,DEF|NAME#,START_USER_ID#,V|APPLY_USER_ID#,PROC_DEF_ID#,BUSINESS_KEY#,START_TIME,INST_STATUS#,TASK_NAME#",order_field:"CREATE_TIME",order_mode:"desc"};this.$http.list(Object(i.a)({},t)).then((function(t){e.applyList=t.entitys}))},getProcessInfo:function(){var e=this,t=this.appConfig.PROCESS;this.$http.get({entityId:"ACT_RE_MODEL",id:t}).then((function(t){t.data&&(e.processInfo=t.data)}))},getEntityId:function(e){var t=this;return new Promise((function(a){t.$http.get({entityId:"ACT_RE_PROCDEF",link:"model",id:e["EXECUTION|PROC_DEF_ID"]||e.PROC_DEF_ID}).then((function(e){var t=null;e&&e.data&&(t=e.data["MODEL|ENTITY"]),a(t)})).catch((function(){a(null)}))}))},goCheckPage:function(e,t){var a=this;return Object(o.a)(Object(n.a)().m((function e(){var r,o,p;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:if(t){e.n=3;break}if(!(a.selection.length>1)){e.n=1;break}return a.$message.error("请不要选择多个记录"),e.a(2);case 1:if(0!==a.selection.length){e.n=2;break}return a.$message.error("请选择一个记录"),e.a(2);case 2:t=a.selection[0];case 3:r=t["APPLY_USER_ID#"]||t["V|APPLY_USER_ID#"],o="".concat(r?r+(a.currentLanguage&&"010"!==a.currentLanguage?" ":"的"):"").concat(t["DEF|NAME#"]).concat(t["NAME#"]||t.TASK_NAME?"("+(t["NAME#"]||t.TASK_NAME)+")":""),p=a.processInfo.ENTITY,a.$http.get({action:"getApplyViewPage",entityId:"ACT_RU_EXECUTION",taskId:t.ID}).then((function(e){var r=a.pageConfig.checkPageId;r?a.$createPage({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:o,flag:r,pageType:"DETAIL",component:"entity-check-page",taskType:"apply"}):a.$createPage(Object(i.a)({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:o,taskId:t.ID,pageId:e.page,pageType:"DETAIL",component:"entity-check-page",taskType:"apply"},a.$formatParams(e.pageParams||{},t)))})).catch((function(){a.$createPage({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:o,pageType:"DETAIL",component:"entity-check-page"})}));case 4:return e.a(2)}}),e)})))()},openApplyPage:function(){var e=this,t=this.appConfig.PROCESS,a=this.processInfo,r=a.ENTITY,n=a.KEY;this.$http.get({action:"getApplyStartPage",entityId:"ACT_RU_EXECUTION",id:t}).then((function(a){e.$createPage({metaId:r,pageId:a.page,fieldConfigs:a.fieldConfigs||{},processId:t,processCode:n,component:"entity-apply-page"})})).catch((function(t){e.$message.error(t.message)}))},viewMore:function(){var e=this.appConfig.PROCESS;this.$createPage({title:"申请列表",entityId:this.$metaId,component:"task-list-page",taskType:"apply",processId:e})}},created:function(){this.getApplyList(),this.getProcessInfo()}},l=a(3),c=a.n(l),d=a(420),u={insert:"head",singleton:!1},f=(c()(d.a,u),d.a.locals,a(2)),_=Object(f.a)(s,r,[function(){var e=this._self._c;return e("span",{staticClass:"epx-approval-index__card-title"},[e("i",{staticClass:"epx-icon-apply"}),this._v("\n 审批中流程\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")}});
3
+ var e,t,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.toStringTag||"@@toStringTag";function p(a,n,i,o){var p=n&&n.prototype instanceof s?n:s,l=Object.create(p.prototype);return r(l,"_invoke",function(a,r,n){var i,o,p,s=0,l=n||[],d=!1,u={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,a){return i=t,o=0,p=e,u.n=a,c}};function f(a,r){for(o=a,p=r,t=0;!d&&s&&!n&&t<l.length;t++){var n,i=l[t],f=u.p,v=i[2];a>3?(n=v===r)&&(p=i[(o=i[4])?5:(o=3,3)],i[4]=i[5]=e):i[0]<=f&&((n=a<2&&f<i[1])?(o=0,u.v=r,u.n=i[1]):f<v&&(n=a<3||i[0]>r||r>v)&&(i[4]=a,i[5]=r,u.n=v,o=0))}if(n||a>1)return c;throw d=!0,r}return function(n,l,v){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,v),o=l,p=v;(t=o<2?e:p)||!d;){i||(o?o<3?(o>1&&(u.n=-1),f(o,p)):u.n=p:u.v=p);try{if(s=2,i){if(o||(n="next"),t=i[n]){if(!(t=t.call(i,p)))throw TypeError("iterator result is not an object");if(!t.done)return t;p=t.value,o<2&&(o=0)}else 1===o&&(t=i.return)&&t.call(i),o<2&&(p=TypeError("The iterator does not provide a '"+n+"' method"),o=1);i=e}else if((t=(d=u.n<0)?p:a.call(r,u))!==c)break}catch(t){i=e,o=1,p=t}finally{s=1}}return{value:t,done:d}}}(a,i,o),!0),l}var c={};function s(){}function l(){}function d(){}t=Object.getPrototypeOf;var u=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),f=d.prototype=s.prototype=Object.create(u);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=d,r(f,"constructor",d),r(d,"constructor",l),l.displayName="GeneratorFunction",r(d,o,"GeneratorFunction"),r(f),r(f,o,"Generator"),r(f,i,(function(){return this})),r(f,"toString",(function(){return"[object Generator]"})),(n=function(){return{w:p,m:v}})()}a.d(t,"a",(function(){return n}))},2:function(e,t,a){"use strict";function r(e,t,a,r,n,i,o,p){var c,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=a,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),o?(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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},s._ssrRegister=c):n&&(c=p?function(){n.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(s.functional){s._injectStyles=c;var l=s.render;s.render=function(e,t){return c.call(t),l(e,t)}}else{var d=s.beforeCreate;s.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:s}}a.d(t,"a",(function(){return r}))},23:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(6);function n(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Object(r.a)(n))return n;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+""}},249:function(e,t,a){"use strict";a.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAITUExURUxpcVTB/z+o/Duj+D2k+Dmh9zuk+EOu/zuk+P///z6m+iKG8VPA/1TB/zSa9T6o+SOH8VO//juk+CKG8COG8COH8CSI8SOI8SOI8Uaw+0aw+kaw+kWv+kex+0Ot+k66/UCp+T2l+EKr+Tee9kGq+Uiy+zWc9j6n+Eq1/Dig9kmz+zqi90Ot+Tyk+P///zuj9z+o+T2m+Dmh90+8/SWK8U25/DOa9SeL70y3/DGY9Nzt/yaL8iuM6N/v/zSb9USu+tbr/yiK69jr/+Hw/yuL5iyM5CmM71G9/ku2/CqL50u2+zmh9y2M4CiL7lO//imM7SyM5iSI8eLw/y2L3jad9i+W9DKN2CyL4SuN6iuL5Em0+9rs/y2N5TKZ9dXq/yeL8efz/y+N4i2L4CqM6S+M3SOH8d3u/+73/y6U9C+N4DCN2y+L2imM6y6L3Uu1/Or0/+nz/zGM2CqN6yuN6OTx/zSP2P3+/zCL2PD4/9Tp/zCN3vP5/yqN7SmL6VK+/uz1/+Xy//v9/ymK6PX6/y6N4/b7/y2T8yeM8vj8/zaR2ZvJ8Eyb3lTA/6LN8iyK4KnR8yuR8nHC+8rj+0qa3kqb4jWW56fZ/G2/+mG1+Vqk5VOh32e6+jKW75LE8On0/1mj4k+e3i6R7Ful56PW/Fqk4zid8J7T+7LV86ja/EOY5DuV3qna/Knb/X246o/P+2Go6XCv5g96cZ8AAAAbdFJOUwB9FtZS7qgLgAEjgPCwv/Pz1nKq6NPZpXKUM215RrYAAA3/SURBVHjatdqLV5VlFsfxV5CL5qWcbmulTWYqiA62xjQMDSHxBkKoSYHITQxECQ9lkCgZ4ZhGDEpNDR3HTJ2caWb+xPnuvd/nec6J4yuuFXvONGu1WvNZv72f/T6e8xZl19JFy5c/s+zSpX2X9u37s9Uf37D/vPHmm28e3E+VlHxAbdq0ftP6NevXr1nzErV69eq3qc2bX35586tar732yisr81cUrloaPbLyFj1z+PDhS9Q+4fjASaHBvYF38OC5EgqOwlsTe2/jCbd5Mx4aHLV169aNGzfmF+fl5IoWLTt8A+4wnFTIp2UBiXeOdAKuXw/o4hGQcIDKaXnw9ddXFhfN9RYvu0E8DRg8CWf58PYT8JwERDRPSkCNR0Cp7HziUWsLFv+GW7Loxg1Ax4V8ceEh7j8onHkG+vFZQMeJuBURTb21a8uLl2S1czkcJf0Ukfn5eILSTQIe3F9yruSDEuEANd6al1ariKfxTDRuo5ZyW9aWbyksysinHpV1PBF9OkTy+QNqHiAanPNeRtPjGeZH4VHl5YUho/YzNNQ09ZRUDo3jUmIapfEAReODZvEo4SjhNmo+OKqs2J+XG4fnDBDOPEo8WwiLp/v3kg4wrJ87L5R6cTsFxNuypaysvGxxPMBlwl1SD8w478n6Ier4pCxgGJ/jwviY3ysbNZ9qcUPLysoOFRRZQ/0+6PzCQrh914B49DNrfnhufiJSfh9sfgTcAginXtkhbWoe+y4B92X3M3Pf6acMEE091dasds8XW4fNIR9c7ElZPLxDh0oL8iTgYQXdPvh82lHy7Scf+x630+cjXQxqPjgRs/IBWj4KD1Aj8vxULtNDg7N47Luue4l7Xls3+cTnhfOpxb7DSaH5AZZrQPNKS/O5H2488nlmoJ1PmZ9/frr5ZT+wHRj2nXjKuY5CLqWj+nwJ8bCcBucWEM8CUsxPyj8/w/zMMy6002nUulXRcuL9PvcfnvXTzS94iGh46wqj5b/3/UdpPpsfHiUcEdeVrlsRPbMA999aEwH9edGIgPnRsgW5//A0nQQM/aQKooW5//AyF552mnj0aLRQ9x+ciyci3RRv3dFowe4/OFuI0FACbogW8P5DKzPNxRNwIe8/SEBtKKR6G6KFvP/wfELybcADXMj7j3R83PzE2x0t6P2XOcAN6u2OFvb+y8gHuFvAhb3/dAHR4MzbHi3w/Qfo52dg8v333V+z67uM+nuov2XUq6VBA7MFhEPDOxEl3n//+dOc+uSTz//y5RdffPbZp6cvX76cbm8fG2qq2dXTs7OlpapteHi4bfoh+w4YPEpBvO3bo8T7799zvc/xvlTv9OWBdHpMvV07d7ZUV+MBtl2fCfdf8IwjYcL9B5iQj4ADkm8o9qra2oRrq7o5OOPvP8cBUgom3n//emQ+aWjaedrPKuIhVlVdHxyc8f0U0eIxv+0nTgAm3H8BDB4B3fzS7WNjTTU1PT0EjPNVtVW13BwcvHAvFl07N5BO8lVURIn33z/neln9ZIC7xKuudvmqqxV87x5ceIBqQOJVkDDx/gMMHPOTfMFrt/PZY/2UgApev0D17VYQTzjLB0jCxPsvE8SzA8P88NI6P0DmV00/8ZhfdUtLy80LUiNHj7r5UWjqnQBMuv8MDB4cnstHP/E4oD5fFd5OQKle8yjbB/VImHj/fZvpMb+QjwHiuYVwXjUeoNWMjc+2wXmASfcfYPBsAU8Hr8bytTkPDq8nBs+cmXUe5bxjUeL9BzhnfoDMTz1A8hlIPM0HqBofRF1A3T/RFEy4/wD9AQ2ez0c/W1w/KTwNqKBwIsYBg1cRJd1/DtR8YeH1gPoHNqDOz7idPbs0oVV3hdt3Gop27NixKOH+A/T9hDNvgAOa6bkHmssHiBR7Z3tPWDxNaGDi9z9A94Cxfpo3ZvOjoX7/xIPDk4ROPHt2XDlrJwWY+P0PEM9fEGHhzQv7EPLV1NwMHHVHPDVjMPH7H6B4gH7h7YDyf235VKwmIBzFZgI6zsS4n1YfRknf/wzECwsvHhdEOC+6gBZQuZomQO9RR2bhKAcmfv/71ucLXpNf+OHshbd8TQ407cjZyU5EzotyHwImff9TMGN+7gHa4y4kjQdHqdfUNDQmYHfsIR6ZrDuG6MHE7393bSGyH6B42RcEZRz5hoaGALG6zZs80jnZ2eo0ARO//90lX5hfmvPpHtg2v7DwdkAFHLsexkfVdXZOTqa8OBElfv+7ywOGhQ/nxc3PFh7P9s+dFxo6NnZL41nAziOdAh4XEW0CMPH7393wgCGfeT3Bq2Ih8ADJp/EA22/5eLSzDvA4dUfjUVHS9z/A7D8xhQca6fCqbH5w0k/zAN1xEW3y+PFJwPfvwCmY8P0PEE49PZ8hnwWknxYwbqh6gM7rBAQTjpqaEHIqSvz+B3j61x98/cPV9UfUD9+0t6cV1IZS5DMP0RImfv+7/9mnD66F+vjax1LvSQ1SFwa5iQbdo7rvzNnuh+3p9C3VaGgdHBqeViXi1ESU+P3v/qenhx96zrQMjwKMub5uDudP7emBW/RTOfH2wlm9807X1BQtTfj+B8gDZvjBgwffxPV1juJv+3rQlB64fOtIHeNTDxDKgQfOT00BJv3+ed8/0GriBQwPmHAByv7JAjK/dPoyoJxP80I+vAMHLgIm/P4JyAH1D+we8RSc+8A2r518gHX0s07jeU+5K1euACb+/nn/8sBH9gDNlQ/QP0DH2sfS6Y/IB9ir7aScxgcPcPRKbZT4++eP0s/ghRs+5AsNJd+AgL9wOvW8EDDEwwPcsydK/P1z01dff+Xrx7i+9jfSMH83u/jnf9V1wPPtJJ95e0ZH+6Pk3z/vhYVgI2whbuPpE3vXtGzDmW4e1SP8t5vR6TbUCUdlze8A/dwjCR/z+ydb6NfPPEA4aaiC3VKYI5xNPMrWz3MHxBNudBQPMPn3z9LfLjwJ/QCn2fYR87q7NZ47niFepY+350q/gI/7/XMms5twFy7cjvPtAjSrm3hovboOCrrTWRnigVECJv/+WX5NPE9SAtrCT4s1MiJmLx6czc954XzijfYb+NjfP++F5zUef/nZLUTTNJ5ltG52WDtFVJN2SsEBEhGyPnr8758P4USUfvIXwHgBAfEo0mk+jTcOh/dOI+MTrRKNdHhUPQkf+/tnqeXT6whv8GfrJws/rflGzgL2Arp8/uGpFcaHV0/Cx//+OWMexf/29d3GqxFvSMARwtkAAcfJRzzNJwErD1g+EpoHOI/fP8uuife/aavhYfcAHRurjv8QNf2LDpBumvc+/cTjAxdr/fUGzuf3z3uScLraL7w01D0/P9IH6I8d5NvbGj9fKhsbdX5do1LGiabgvN7/zXBgvgqe/Ql0SLx29Qb+655m0k63DeRzouN27Ijm9f6vVBbih9taP1PfW/30/U9Wv4xT5u1tbJTzWUlLpZsUXEN9g3E7tkXze/9HxD4pHtay6/GnrpdiejY+vFY5Lo0pHV9XFx4mHKbl2wY4z/d/vcadwVOSwhJP9mH8+Hirgo3vN1ba6eyygP60wElAwPm9/7snHvn6wGTdQdkFinyAuu58Gi0fH/VE5BO8kyej+b7/m5GAFJxun5bfPvJxRmMOsGsOB4hHwvm+/1s3IvH6RuI6Yl5vxzjtHLfxka8yJe1kgHCQjM8dFzi8k4Dzff83C+i8Xh9Qj6fFY36pFBrx8Cxef73PB/jWNhLO//1fx4gG7PZgh3mtcJDSTgnIcQEDxGtoMNDy0VDA+b//241k+YLH6WzV+cn4AJkeNarxGgBdPjQ8BZ/g/d+M40I/bRswU8xP21kJZ/mYYOZxwTNw/u//NnSI5/rZ0RF7cI0pySctrRxthsOjnerBndyx7S3yab0bPcn7v1k8iabgOCAW+WR8elysnxaPp5lqtn0ENO/daOWTvP+b0XzqKddKvMa9Kc0H2NVMPjw4Pz0CnrwKGAd8Osp/kvd/FW581k7yEU89uBSeBJQDg9fgvbdcOwn4fLTiid7/zao3rh4gRTultJ3nwSgZn+snHhXAFVHh3Psv4f3fiXFZB/pp22DHxbgUogPRKPPC/KhTL0Srctx/Ce//ZmV6eALyAVMvlWpulm04f554lGj1HM+TV6+iWYl36sVoaY77L+n93x1A7aeQoZ/NYvXzAazFq0WEI1/g8E4tjaL8HPdfwvu/ilY4K0DHNTef75KADXjC7aiVbu6QeEEEfC6KouJc99+j3/9VzLp8xHMNbbb5NfRfvGj9lHVHpDLyUU8B5q3Mdf896v0flYKT8hz7cL6/q5/xGQeo4wv7wOeU1NN5kUTMef/lfv8nn1ntZspVMw1lIWR8Fxkf+1dbi3fVn0+KeC4gVVSQ8/7L+f5P6w4g22DF+EST0wmIBue8t0I/1Xu2KNJaXJ7z/sv9/o86loKzdjan8OimrQOl2weHljU/rcXm0dSc91/O938KTrh1ICCW7MPFhou14hEvXj/nIeJZQ10tKcx5/+V4/4cmdSfORzwJCAmIRsHtgAvjgzPxD0siX0WFue4/71He05rQgOppO8UjH55eDjn6iScDDBmLc/77Lzne/2l9eMdAMDsvYPV8ak/qtmvAkM/6aflCLS7Icf+5gMGrMHCi2bwuRLad+dXbNgimoJXL96w/L6GKigty/fsv2e///PuOKTg84/S0mIeWdf/Zvj9FO3NUXnF+1v1noFv4EE9q4iIeZRwdpTibZOOTDT73VF70yFq6qnBFfkG4/2z90KgQT38t53wqiFhr59OwjPk9/fyKF15cmi38Hx8SMcF+hYweAAAAAElFTkSuQmCC"},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")},33:function(e,t,a){"use strict";function r(e,t,a,r,n,i,o){try{var p=e[i](o),c=p.value}catch(e){return void a(e)}p.done?t(c):Promise.resolve(c).then(r,n)}function n(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var o=e.apply(t,a);function p(e){r(o,n,i,p,c,"next",e)}function c(e){r(o,n,i,p,c,"throw",e)}p(void 0)}))}}a.d(t,"a",(function(){return n}))},35:function(e,t,a){"use strict"},4:function(e,t,a){"use strict";var r,n=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 a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),o=[];function p(e){for(var t=-1,a=0;a<o.length;a++)if(o[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},r=[],n=0;n<e.length;n++){var i=e[n],c=t.base?i[0]+t.base:i[0],s=a[c]||0,l="".concat(c," ").concat(s);a[c]=s+1;var d=p(l),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(o[d].references++,o[d].updater(u)):o.push({identifier:l,updater:_(u,t),references:1}),r.push(l)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var n=a.nc;n&&(r.nonce=n)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var l,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function u(e,t,a,r){var n=a?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,n);else{var i=document.createTextNode(n),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function f(e,t,a){var r=a.css,n=a.media,i=a.sourceMap;if(n?e.setAttribute("media",n):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 v=null,x=0;function _(e,t){var a,r,n;if(t.singleton){var i=x++;a=v||(v=s(t)),r=u.bind(null,a,i,!1),n=u.bind(null,a,i,!0)}else a=s(t),r=f.bind(null,a,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};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 n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<a.length;r++){var n=p(a[r]);o[n].references--}for(var i=c(e,t),s=0;s<a.length;s++){var l=p(a[s]);0===o[l].references&&(o[l].updater(),o.splice(l,1))}a=i}}}},419:function(e,t,a){"use strict";var r=a(5),n=a.n(r)()((function(e){return e[1]}));n.push([e.i,":root{--color-primary: 8,116,231 }.epx-approval-index{padding:0 10px}.epx-approval-index__card{background:#fff;border-radius:4px;margin:20px 0}.epx-approval-index__card-header{height:58px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8e8e8}.epx-approval-index__card-title{font-size:16px;color:#121212;line-height:20px}.epx-approval-index__card-title i{color:#0874e7}[data-theme=purple] .epx-approval-index__card-title i{color:#7569e2}[data-theme=palevioletred] .epx-approval-index__card-title i{color:#ce4545}[data-theme=forestgreen] .epx-approval-index__card-title i{color:#3d8a50}[data-theme=deepblue] .epx-approval-index__card-title i{color:#0f5fbd}[data-theme=orange] .epx-approval-index__card-title i{color:#ea6000}[data-theme=skyblue] .epx-approval-index__card-title i{color:#1a4586}[data-theme=aurorablue] .epx-approval-index__card-title i{color:#383b9e}[data-theme=tiffanyblue] .epx-approval-index__card-title i{color:#00aaad}[data-theme=tsinghuapurple] .epx-approval-index__card-title i{color:#5f2167}[data-theme=creativeblue] .epx-approval-index__card-title i{color:#418cff}[data-theme=njhkht] .epx-approval-index__card-title i{color:#1d2088}[data-theme=custom] .epx-approval-index__card-title i{color:rgba(var(--color-primary), 1)}.epx-approval-index__card-title i:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .epx-approval-index__card-title i:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .epx-approval-index__card-title i:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .epx-approval-index__card-title i:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .epx-approval-index__card-title i:hover{color:rgb(63,127,202.2)}[data-theme=orange] .epx-approval-index__card-title i:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .epx-approval-index__card-title i:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .epx-approval-index__card-title i:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .epx-approval-index__card-title i:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .epx-approval-index__card-title i:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .epx-approval-index__card-title i:hover{color:#67a3ff}[data-theme=njhkht] .epx-approval-index__card-title i:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .epx-approval-index__card-title i:hover{color:rgba(var(--color-primary), 0.8)}.epx-approval-index__card-title i{font-size:20px;margin-right:4px}.epx-approval-index__card-operate{height:36px;padding:10px 20px}.epx-approval-index__app{padding:30px 40px;display:flex}.epx-approval-index__app-logo>img{width:56px;height:56px;margin-right:20px}.epx-approval-index__app-name{font-size:18px;color:#121212;font-weight:600;margin-bottom:6px}.epx-approval-index__app-desc{font-size:14px;color:#444;line-height:22px}.epx-approval-index__app-desc>span{padding-right:40px}.epx-approval-index__task-list{background:#fff;padding:0 20px}.epx-approval-index__task-item{border-bottom:1px solid #e3e3e3;padding:20px;cursor:pointer;display:flex;align-items:center;position:relative}.epx-approval-index__task-item:hover{background-color:rgba(8,116,231,.15)}[data-theme=purple] .epx-approval-index__task-item:hover{background-color:rgba(117,105,226,.15)}[data-theme=palevioletred] .epx-approval-index__task-item:hover{background-color:rgba(206,69,69,.15)}[data-theme=forestgreen] .epx-approval-index__task-item:hover{background-color:rgba(61,138,80,.15)}[data-theme=deepblue] .epx-approval-index__task-item:hover{background-color:rgba(15,95,189,.15)}[data-theme=orange] .epx-approval-index__task-item:hover{background-color:rgba(234,96,0,.15)}[data-theme=skyblue] .epx-approval-index__task-item:hover{background-color:rgba(26,69,134,.15)}[data-theme=aurorablue] .epx-approval-index__task-item:hover{background-color:rgba(56,59,158,.15)}[data-theme=tiffanyblue] .epx-approval-index__task-item:hover{background-color:rgba(0,170,173,.15)}[data-theme=tsinghuapurple] .epx-approval-index__task-item:hover{background-color:rgba(95,33,103,.15)}[data-theme=creativeblue] .epx-approval-index__task-item:hover{background-color:rgba(65,140,255,.15)}[data-theme=njhkht] .epx-approval-index__task-item:hover{background-color:rgba(29,32,136,.15)}[data-theme=custom] .epx-approval-index__task-item:hover{background-color:rgba(var(--color-primary), 0.15)}.epx-approval-index__task-title{font-size:16px;font-weight:600;overflow:hidden;margin-right:10px}.epx-approval-index__task-subtitle{display:flex}.epx-approval-index__task-name{color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epx-approval-index__task-status{flex-shrink:0;font-size:14px;font-weight:500}.epx-approval-index__task-tag{margin-left:6px}.epx-approval-index__task-date{font-size:14px;color:#999;flex-shrink:0}.epx-approval-index__task-extra{color:#999;flex-shrink:0}.epx-approval-index__task-content{flex:1;overflow:hidden;display:flex;flex-direction:column;justify-content:center;color:#666;line-height:28px;min-height:60px}.epx-approval-index__task-desc{margin-top:10px}.epx-approval-index__null-data>i{font-size:100px}.epx-approval-index__null-data{text-align:center}.epx-approval-index__task-more{height:58px;line-height:58px;text-align:center;cursor:pointer;color:#444}.epx-approval-index__tab-body{padding:0 20px 20px}.epx-approval-index__file-item{height:60px;background:#f8f8f8;border-radius:4px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:0 20px}.epx-approval-index__file-name{color:#444}.epx-approval-index__file-name i{font-size:18px;margin-right:4px}.epx-approval-index__file-download i{font-size:18px;position:relative;top:1px}@media screen and (max-width: 992px){.epx-approval-index__card{margin:10px 0}.epx-approval-index__app{padding:20px}}",""]),t.a=n},5:function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=e(t);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,r){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(r)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(n[o]=!0)}for(var p=0;p<e.length;p++){var c=[].concat(e[p]);r&&n[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},51:function(e,t){e.exports=require("core-js/modules/es.promise.js")},6:function(e,t,a){"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)}a.d(t,"a",(function(){return r}))},7:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(23);function n(e,t,a){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},783:function(e,t,a){"use strict";a.r(t);a(8);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"epx-approval-index",style:e.$component.style},[t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-body"},[t("div",{staticClass:"epx-approval-index__app"},[t("div",{staticClass:"epx-approval-index__app-logo"},[t("img",{attrs:{src:e.appConfig.IMAGE?e.$util.getFileUrl(e.appConfig.IMAGE):a(249)}})]),t("div",{staticClass:"epx-approval-index__app-info"},[t("div",{staticClass:"epx-approval-index__app-name"},[t("span",[e._v(e._s(e.appConfig.NAME))])]),t("div",{staticClass:"epx-approval-index__app-desc"},[t("span",{staticClass:"epx-approval-index__app-desc-item"},[e._v("应用类型:"+e._s(e.appConfig["TYPE#"]))]),t("span",{staticClass:"epx-approval-index__app-desc-item"},[e._v("服务类型:"+e._s(e.appConfig["SORT#"]))])])])])])]),t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-header"},[e._m(0),t("el-button",{staticClass:"epx-approval-index__card-operate",attrs:{type:"primary"},on:{click:e.openApplyPage}},[e._v("发起申请")])],1),t("div",{staticClass:"epx-approval-index__card-body"},[t("div",{staticClass:"epx-approval-index__task"},[e.applyList?0===e.applyList.length?t("div",{staticClass:"epx-approval-index__null-data"},[t("i",{staticClass:"epx-icon-color-kong"})]):t("ul",{staticClass:"epx-approval-index__task-list"},e._l(e.applyList,(function(a){return t("li",{key:a.ID,staticClass:"epx-approval-index__task-item",on:{click:function(t){return e.goCheckPage({},a)}}},[t("div",{staticClass:"epx-approval-index__task-content"},[t("span",{staticClass:"epx-approval-index__task-title"},[t("span",{staticClass:"epx-approval-index__task-subtitle"},[t("font",{staticClass:"epx-approval-index__task-name",attrs:{title:e.getTitle(a)}},[e._v(e._s(e.getTitle(a)))]),e.$isMobile?e._e():t("font",{staticClass:"epx-approval-index__task-status"},[e._v("("+e._s(a["NAME#"]||a.TASK_NAME)+")")]),a["INST_STATUS#"]?t("el-tag",{staticClass:"tepx-approval-index__task-tag",attrs:{size:"small",type:"end"===a.INST_STATUS||"repeal"===a.INST_STATUS?"success":"progress"===a.INST_STATUS?"warning":"danger"}},[e._v("\n "+e._s(a["INST_STATUS#"])+"\n ")]):e._e()],1)]),a.BUSINESS_FIELDS&&a.BUSINESS_FIELDS.length>0?t("div",{staticClass:"epx-approval-index__task-desc"},e._l(a.BUSINESS_FIELDS,(function(a){return t("p",{key:a.name},[e._v(e._s(a.name)+": "+e._s(a.converValue))])})),0):e._e()]),t("div",{staticClass:"epx-approval-index__task-extra"},[t("span",{staticClass:"epx-approval-index__task-date"},[e._v(e._s(a.CREATE_TIME||a.START_TIME))])])])})),0):t("div"),t("div",{staticClass:"epx-approval-index__task-more",on:{click:e.viewMore}},[e._v("查看更多")])])])]),t("div",{staticClass:"epx-approval-index__card"},[t("div",{staticClass:"epx-approval-index__card-body"},[t("el-tabs",{attrs:{type:"card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"服务说明",name:"info"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[t("div",{staticClass:"epx-approval-index__app-note",domProps:{innerHTML:e._s(e.appConfig.NOTE)}})])]),t("el-tab-pane",{attrs:{lazy:"",label:"流程图",name:"chart"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[e.appConfig.PROCESS?t("epx-process-chart",{attrs:{processId:e.appConfig.PROCESS}}):e._e()],1)]),t("el-tab-pane",{attrs:{label:"材料下载",name:"files"}},[t("div",{staticClass:"epx-approval-index__tab-body"},[0===e.fileList.length?t("div",{staticClass:"epx-approval-index__null-data"},[t("i",{staticClass:"epx-icon-color-kong"})]):t("ul",e._l(e.fileList,(function(a){return t("li",{key:a.id,staticClass:"epx-approval-index__file-item"},[t("p",{staticClass:"epx-approval-index__file-name"},[t("i",{staticClass:"el-icon-s-order"}),t("span",[e._v(e._s(a.name))])]),t("a",{staticClass:"epx-approval-index__file-download",attrs:{target:"__blank",href:a.url}},[t("i",{staticClass:"el-icon-download"}),e._v("\n 下载\n ")])])})),0)])])],1)],1)])])};r._withStripped=!0;var n=a(19),i=a(33),o=a(0),p=(a(35),a(18),a(10),a(3),a(51),a(17),a(27),a(25)),c={name:"epx-approval-index",mixins:[a.n(p).a],style:{"max-width":"1200px",margin:"0 auto"},data:function(){return{activeName:"info",processInfo:{},applyList:null}},computed:{currentLanguage:function(){var e=this.clientConfig,t=e.CODE,a=e.LANGUAGE_DEFAULT,r=this.userInfo.LANGUAGE,n=localStorage.getItem("".concat(t,"-language"))||r||a;return n},getTitle:function(){var e=this;return function(t){if(t.APPLY_NAME)return t.APPLY_NAME;var a=t["APPLY_USER_ID#"]||t["V|APPLY_USER_ID#"];return"".concat(a?a+(e.currentLanguage&&"010"!==e.currentLanguage?" ":"的"):"").concat(t["DEF|NAME#"])}},fileList:function(){var e=this,t=this.appConfig,a=t.FILES,r=void 0===a?"":a,n=t["FILES#"],i=void 0===n?"":n,o=r?r.split(","):[],p=i?i.split(","):[];return o.map((function(t,a){return{id:t,name:p[a],url:e.$util.getFileUrl(t)}}))}},methods:{$refesh:function(){this.getApplyList()},getApplyList:function(){var e=this,t={action:"getApplylist",entityId:"ACT_HI_PROCINST",type:"apply",processId:this.appConfig.PROCESS,processInstStatus:"progress",columnFieldNames:"DELETE_REASON,END_TIME,DEF|NAME#,START_USER_ID#,V|APPLY_USER_ID#,PROC_DEF_ID#,BUSINESS_KEY#,START_TIME,INST_STATUS#,TASK_NAME#",order_field:"CREATE_TIME",order_mode:"desc"};this.$http.list(Object(o.a)({},t)).then((function(t){e.applyList=t.entitys}))},getProcessInfo:function(){var e=this,t=this.appConfig.PROCESS;this.$http.get({entityId:"ACT_RE_MODEL",id:t}).then((function(t){t.data&&(e.processInfo=t.data)}))},getEntityId:function(e){var t=this;return new Promise((function(a){t.$http.get({entityId:"ACT_RE_PROCDEF",link:"model",id:e["EXECUTION|PROC_DEF_ID"]||e.PROC_DEF_ID}).then((function(e){var t=null;e&&e.data&&(t=e.data["MODEL|ENTITY"]),a(t)})).catch((function(){a(null)}))}))},goCheckPage:function(e,t){var a=this;return Object(i.a)(Object(n.a)().m((function e(){var r,i,p;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:if(t){e.n=3;break}if(!(a.selection.length>1)){e.n=1;break}return a.$message.error("请不要选择多个记录"),e.a(2);case 1:if(0!==a.selection.length){e.n=2;break}return a.$message.error("请选择一个记录"),e.a(2);case 2:t=a.selection[0];case 3:r=t["APPLY_USER_ID#"]||t["V|APPLY_USER_ID#"],i="".concat(r?r+(a.currentLanguage&&"010"!==a.currentLanguage?" ":"的"):"").concat(t["DEF|NAME#"]).concat(t["NAME#"]||t.TASK_NAME?"("+(t["NAME#"]||t.TASK_NAME)+")":""),p=a.processInfo.ENTITY,a.$http.get({action:"getApplyViewPage",entityId:"ACT_RU_EXECUTION",taskId:t.ID}).then((function(e){var r=a.pageConfig.checkPageId;r?a.$createPage({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:i,flag:r,pageType:"DETAIL",component:"entity-check-page",taskType:"apply"}):a.$createPage(Object(o.a)({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:i,taskId:t.ID,pageId:e.page,pageType:"DETAIL",component:"entity-check-page",taskType:"apply"},a.$formatParams(e.pageParams||{},t)))})).catch((function(){a.$createPage({metaId:p,id:t["EXECUTION|BUSINESS_KEY"]||t.BUSINESS_KEY,title:i,pageType:"DETAIL",component:"entity-check-page"})}));case 4:return e.a(2)}}),e)})))()},openApplyPage:function(){var e=this,t=this.appConfig.PROCESS,a=this.processInfo,r=a.ENTITY,n=a.KEY;this.$http.get({action:"getApplyStartPage",entityId:"ACT_RU_EXECUTION",id:t}).then((function(a){e.$createPage({metaId:r,pageId:a.page,fieldConfigs:a.fieldConfigs||{},processId:t,processCode:n,component:"entity-apply-page"})})).catch((function(t){e.$message.error(t.message)}))},viewMore:function(){var e=this.appConfig.PROCESS;this.$createPage({title:"申请列表",entityId:this.$metaId,component:"task-list-page",taskType:"apply",processId:e})}},created:function(){this.getApplyList(),this.getProcessInfo()}},s=a(4),l=a.n(s),d=a(419),u={insert:"head",singleton:!1},f=(l()(d.a,u),d.a.locals,a(2)),v=Object(f.a)(c,r,[function(){var e=this._self._c;return e("span",{staticClass:"epx-approval-index__card-title"},[e("i",{staticClass:"epx-icon-apply"}),this._v("\n 审批中流程\n ")])}],!1,null,null,null).exports;v.install=function(e){e.component(v.name,v)};t.default=v},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")}});
@@ -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=135)}([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}},,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}))},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:b(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 b(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}}}},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}},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}))},function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},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}},function(e,t){e.exports=require("core-js/modules/es.function.name.js")},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}))},function(e,t){e.exports=require("core-js/modules/es.array.map.js")},function(e,t){e.exports=require("core-js/modules/es.array.find.js")},function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},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}}},function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},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}}}}},function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},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(){
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=135)}([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}},,function(e,t,r){"use strict";function n(e,t,r,n,o,i,a,s){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),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}}r.d(t,"a",(function(){return n}))},function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},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]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[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 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:b(p,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 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,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.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,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 b(e,t){var r,n,o;if(t.singleton){var i=h++;r=m||(m=u(t)),n=p.bind(null,r,i,!1),o=p.bind(null,r,i,!0)}else r=u(t),n=d.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=s(r[n]);a[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=s(r[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}r=i}}}},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 a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},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}))},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}},function(e,t){e.exports=require("core-js/modules/es.function.name.js")},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}))},function(e,t){e.exports=require("core-js/modules/es.array.map.js")},function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},function(e,t){e.exports=require("core-js/modules/es.array.find.js")},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}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(14);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Object(n.a)(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw a}}}}},function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},,function(e,t,r){"use strict";function n(e,t,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(n=function(e,t,r,o){function a(t,r){n(e,t,(function(e){return this._invoke(t,r,e)}))}t?i?i(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(a("next",0),a("throw",1),a("return",2))})(e,t,r,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}))},function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},,function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},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+""}},function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},,function(e,t){e.exports=require("core-js/modules/es.array.push.js")},function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},,,function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},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}))},,function(e,t,n){"use strict"},,function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},,,,function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},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}))},,,,,,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.")}()}},,function(e,t){e.exports=require("core-js/modules/es.promise.js")},,function(e,t){e.exports=require("core-js/modules/es.object.values.js")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,b=p.key,v=void 0===b?"ID":b,y=p.index,g=void 0===y?"index":y,j=[];if(Array.isArray(d))j=d;else{var O=/^\$\[(.+)\]$/.exec(d);O&&(j=t.pageParams[O[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[v]||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)}},b=n(3),v=n.n(b),y=n(91),g={insert:"head",singleton:!1},j=(v()(y.a,g),y.a.locals,n(92)),O={insert:"head",singleton:!1},x=(v()(j.a,O),j.a.locals,n(2)),P=Object(x.a)(h,r,[],!1,null,null,null);t.a=P.exports},,,,,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},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},,,,,,,,,,,,,,,,function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(8);var r=n(86);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a}]);
3
+ var e,t,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.toStringTag||"@@toStringTag";function s(r,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return n(l,"_invoke",function(r,n,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,r){return i=t,a=0,s=e,p.n=r,c}};function d(r,n){for(a=r,s=n,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];r>3?(o=m===n)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(a=0,p.v=n,p.n=i[1]):d<m&&(o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,p.n=m,a=0))}if(o||r>1)return c;throw f=!0,n}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:r.call(n,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(r,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(n(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,n(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,n(d,"constructor",f),n(f,"constructor",l),l.displayName="GeneratorFunction",n(f,a,"GeneratorFunction"),n(d),n(d,a,"Generator"),n(d,i,(function(){return this})),n(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}r.d(t,"a",(function(){return o}))},function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},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+""}},,function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},function(e,t){e.exports=require("core-js/modules/es.array.push.js")},function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},,function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},,,function(e,t,r){"use strict";function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}r.d(t,"a",(function(){return o}))},,function(e,t,r){"use strict"},function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},,,,function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},,function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,"a",(function(){return n}))},,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(14);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(n.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.")}()}},function(e,t){e.exports=require("core-js/modules/es.promise.js")},function(e,t){e.exports=require("core-js/modules/es.object.values.js")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=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(r){return t("el-col",e._b({key:r.id+(r.iterator&&r.iterator.key?"-"+r.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":r.contentType.includes("header")}],style:e.componentStyle(r)},"el-col",e.colAttribute(r),!1),[t("epx-component",e._b({ref:"component_"+r.id,refInFor:!0,staticClass:"epx-component",attrs:{name:r.contentType,"is-component":"","content-type":r.contentType,_component:r,"comp-id":e.getComponentId(r),"comp-title":r.title,items:r.items,"comp-flex":r.flex,"comp-style":r.style,"comp-configs":r.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};n._withStripped=!0;var o=r(50),i=r(19),a=r(33),s=r(42),c=r(7),u=(r(35),r(0)),l=r(15),f=(r(13),r(16),r(10),r(8),r(36),r(21),r(3),r(52),r(51),r(107),r(12),r(22),r(20),r(11),r(26),r(17),r(30),r(28),r(27),r(40),r(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,r=Object(l.a)(this.$children);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(n.compId===e)return n;if(n.$children){var o=m.apply(n,[e]);if(o)return o}}}catch(e){r.e(e)}finally{r.f()}}var h={name:"epx-base-page",mixins:[r.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,r=this.$component.items,n=[],o=Object(l.a)(r);try{var i=function(){var r,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!==(r=f.iterator)&&void 0!==r&&r.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,b=p.key,v=void 0===b?"ID":b,y=p.index,g=void 0===y?"index":y,j=[];if(Array.isArray(d))j=d;else{var O=/^\$\[(.+)\]$/.exec(d);O&&(j=t.pageParams[O[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var r=e[v]||t;n.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",r)}))}))}else n.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return n},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,r=void 0===t?24:t,n=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},n),{},{xs:{span:r}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,r=void 0===t?"grid":t,n=e.direction,o=void 0===n?"column":n,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===r?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var r=e.$configs.layout,n=t.flex,o={},i=e.compInfo[t.id];return void 0===n&&i&&(n=i.configs.flex),"flex"===r&&n&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var r=t.configs,n=void 0===r?{}:r,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},n),i)}},isComponentIterator:function(){var e=this;return function(t){var r,n=t.configs,o=void 0===n?{}:n,i=t.id,a=e.pageConfig[i]||{};if(null!==(r=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==r&&r.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var r={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(r.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(r=Object(u.a)(Object(u.a)({},r),e.$formatParams(t.requestParams))),{config:t,params:r}}))}},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 r,n,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:r=e.pageConfig.variableSets,n=void 0===r?[]:r,o=Object(l.a)(n),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,r=e.value.split(".")[0],n=e.value.replace(r+".",""),o=m.apply(this,[r]),i=this.$util.getQueryValue(n,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(n,(function(r){t.$set(t.pageParams,e.code,t.getFormatValue(e,r))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var r=this.pageConfig.variableSets,n=(void 0===r?[]:r).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));n&&(this.watchComponentMap[n.code]=!1,this.watchCompValue(n))},delayRequest:function(e,t){var r=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){r.request(e,t),clearTimeout(r.timer[e.code])}),400)},request:function(e,t){var r=this,n={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?n=t:(e.scopeParams&&e.scopeParams.length>0&&(n.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(n=Object(u.a)(Object(u.a)({},n),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},n),this.$http.$post(n).then((function(t){var n=t;return e.value&&(n=r.$util.getQueryValue(e.value,t)),r.$set(r.pageParams,e.code,r.getFormatValue(e,n)),n})).finally((function(){r.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 r=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,r)}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 r=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),r)})),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)}},b=r(4),v=r.n(b),y=r(92),g={insert:"head",singleton:!1},j=(v()(y.a,g),y.a.locals,r(93)),O={insert:"head",singleton:!1},x=(v()(j.a,O),j.a.locals,r(2)),P=Object(x.a)(h,n,[],!1,null,null,null);t.a=P.exports},,,,,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-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},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-component{margin:var(--margin)}",""]),t.a=o},,,,,,,,,,,,,,function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);r(8);var n=r(87);n.a.install=function(e){e.component(n.a.name,n.a)},t.default=n.a}]);