/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/zc-web-component@1.3.2/dist/index.umd.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var __vite_style__=document.createElement("style");__vite_style__.innerHTML='html,body{margin:0;padding:0;min-width:100%;min-height:100%}.cc-flex-row{display:flex;flex-direction:row}.cc-flex-row-center{display:flex;flex-direction:row;justify-content:center;align-items:center}.cc-flex-col-center{display:flex;flex-direction:column;justify-content:center;align-items:center}.ui-toast[data-v-2bf19a6e]{position:fixed;top:60px;z-index:1000000;width:100%;display:flex;justify-content:center}.ui-toast .ui-toast-success[data-v-2bf19a6e],.ui-toast .ui-toast-info[data-v-2bf19a6e],.ui-toast .ui-toast-warning[data-v-2bf19a6e],.ui-toast .ui-toast-error[data-v-2bf19a6e]{display:flex;align-items:center;height:44px;min-width:200px;padding:0 20px;border-radius:6px}.ui-toast .success-icon[data-v-2bf19a6e],.ui-toast .info-icon[data-v-2bf19a6e],.ui-toast .warn-icon[data-v-2bf19a6e],.ui-toast .error-icon[data-v-2bf19a6e]{margin-right:16px}.ui-toast .ui-toast-success[data-v-2bf19a6e]{background-color:#f0f9eb;color:#67c23a}.ui-toast .ui-toast-info[data-v-2bf19a6e]{background-color:#f4f4f5;color:#909399}.ui-toast .ui-toast-warning[data-v-2bf19a6e]{background-color:#fdf6ec;color:#e6a23c}.ui-toast .ui-toast-error[data-v-2bf19a6e]{background-color:#fef0f0;color:#f56c6c}.cc-split .split-span{margin:0 3px}.cc-info-item{padding:0 5px}.cc-recently-visited{position:relative}.cc-recently-visited .visited-title{cursor:pointer}.cc-recently-visited .list{display:flex;flex-direction:column;position:absolute;z-index:1;top:40px;left:0;min-width:80px;max-width:300px;padding:10px;border:1px solid #ccc;background-color:#014098}.cc-recently-visited .list .list-item{font-size:14px;color:#fff;white-space:nowrap}.cc-recently-visited .list .list-item:not(:last-child){padding-bottom:16px}.cc-breadcrumb{display:inline-block;padding:4px 10px;border-radius:15px;background-color:#012c6a;font-size:12px;line-height:1em}.cc-breadcrumb .add-path:not(:last-child):after{content:"/";padding:0 6px}.cc-menu{position:fixed;z-index:99;top:60px;bottom:0;left:0;width:100%;overflow:hidden;border:1px solid #cccccc;background-color:#0003;color:#333}.cc-menu .cc-menu-loading{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#999;font-size:16px}.cc-menu .cc-menu-loading i{margin-right:8px;font-size:18px}.cc-menu .cc-menu-box{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;flex-wrap:nowrap;position:absolute;top:0;left:0;height:100%;width:80%;background-color:#fff}.cc-menu .cc-menu-module{flex-grow:0;flex-shrink:0;width:180px;height:100%;display:flex;flex-direction:column;box-shadow:1px 0 2px #ccc;overflow-y:auto}.cc-menu .cc-menu-module .title{padding:10px;font-weight:700}.cc-menu .cc-menu-module .cc-menu-first-level{overflow-y:auto}.cc-menu .cc-menu-module .cc-menu-first-level .first-level-item{display:flex;align-items:center;padding:8px 10px;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s}.cc-menu .cc-menu-module .cc-menu-first-level .first-level-item .square-icon{flex-shrink:0;width:8px;height:8px;margin-right:8px;border:1.5px solid #014098;transform:rotate(-45deg)}.cc-menu .cc-menu-module .cc-menu-first-level .first-level-item:hover{background-color:#01409814}.cc-menu .cc-menu-module .cc-menu-first-level .first-level-item.active{background-color:#0140981f;color:#014098;font-weight:600}.cc-menu .cc-menu-module .cc-menu-first-level .first-level-item.active .square-icon{background-color:#014098}.cc-menu .cc-menu-module .cc-menu-favorites{border-top:1px solid #eeeeee}.cc-menu .cc-menu-module .cc-menu-favorites .favorite-item{display:flex;justify-content:space-between;align-items:center;padding:6px 10px 6px 26px;font-size:13px;color:#555;transition:background-color .2s}.cc-menu .cc-menu-module .cc-menu-favorites .favorite-item i{cursor:pointer;font-size:13px}.cc-menu .cc-menu-module .cc-menu-favorites .favorite-item:hover{background-color:#cccccc4d}.cc-menu .cc-menu-content{flex-grow:1;flex-shrink:1;min-width:0;height:100%;padding:24px 30px;box-sizing:border-box;overflow:auto}.cc-menu .cc-menu-content .cc-menu-search{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;padding:0 10px;height:30px;border-bottom:1px solid rgba(102,102,102,.2)}.cc-menu .cc-menu-content .cc-menu-search .cc-search-icon{align-self:center;font-size:18px;color:#ccc}.cc-menu .cc-menu-content .cc-menu-search input{width:100%;padding-left:8px;border:transparent;outline:none}.cc-menu .cc-menu-content .cc-menu-search input::-webkit-input-placeholder{color:#ccc;font-size:12px}.cc-menu .cc-menu-list .items-menus{column-width:200px;column-gap:0;box-sizing:border-box}.cc-menu .cc-menu-list .items-menus .child-menu{break-inside:avoid;padding:16px 0 8px}.cc-menu .cc-menu-list .items-menus .child-menu .next-menu{display:flex;justify-content:space-between;align-items:center}.cc-menu .cc-menu-list .items-menus .child-menu .next-menu i{padding-right:14px;font-size:14px}.cc-menu .cc-menu-list .items-menus .child-menu .sub-menu{padding:8px 0;font-size:16px;font-weight:800;color:#014098}.cc-menu .cc-menu-list .items-menus .final-menu-item{display:flex;justify-content:space-between;align-items:center}.cc-menu .cc-menu-list .items-menus .final-menu-item i{padding-right:14px;font-size:13px}.cc-menu .cc-menu-list .items-menus .final-menu-item .final-menu{padding:6px 0;font-size:14px;color:#555;font-weight:500}.cc-menu .cc-menu-list .items-menus .final-menu-item .has-child{font-size:14px;color:#000;font-weight:600}.cc-menu .cc-menu-list .search-result-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0}.cc-menu .cc-menu-list .search-result-item i{padding-right:14px;font-size:13px}.cc-menu .cc-menu-list .search-result-item .final-menu{padding:6px 0;font-size:13px;color:#555;font-weight:500}.cc-menu .cc-menu-list .search-result-item .search-path{color:#999;font-size:12px;font-weight:400}.cc-menu .cc-menu-list .search-result-item .search-label{color:#333;font-weight:600}.cc-menu .star-color{color:#ff6a00}.cc-menu .star-o-color{color:#ffcb95}.ui-header{position:relative;top:0;width:100%;height:60px;background-color:#014098;display:flex;justify-content:space-between;align-items:stretch}.ui-header .startup-bar{display:flex;justify-content:flex-start;align-items:stretch}.ui-header .startup-bar .logo-bar{width:60px;padding:13px 5px 0 0;text-align:center;color:#fff;background-color:#fff3;cursor:pointer}.ui-header .startup-bar .menu-bar{padding:0 15px;line-height:60px;color:#fff}.ui-header .search-bar{height:60px;display:flex;align-items:center}.ui-header .search-bar>input{width:260px;height:24px;line-height:24px;border:0;border-radius:3px}.ui-header .cc-info-bar{display:flex;align-items:center;padding:0 15px;color:#fff}.ui-header .cc-info-bar .cc-info-item{display:flex;align-items:center}.ui-header .cc-info-bar .cc-info-item a{color:#fff;text-decoration:none}.ui-header .cc-info-bar .cc-info-item .avater{margin-right:5px;border:1px solid #ffffff;width:36px;height:36px;border-radius:40px}.ui-header .zc-flex-row{display:flex}.ui-header .zc-flex-col{display:flex;flex-direction:column}.ui-header .zc-flex-col-sb{display:flex;flex-direction:column;justify-content:space-between}.ui-header .pup-pop-login{position:fixed;z-index:99999;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5)}.ui-header .pup-pop-login .login-box{width:450px;height:450px;margin:calc((100vh - 450px)/2) auto;padding:20px;box-sizing:border-box;border-radius:10px;background-color:#fff}.ui-header .pup-pop-login .login-box .top-box{display:flex;justify-content:space-between;align-items:center}.ui-header .pup-pop-login .login-box .top-box-left{width:8rem;font-size:18px;font-weight:700;color:#014098;text-align:center;border-left:4px solid #014098;border-radius:2px}.ui-header .pup-pop-login .login-box .top-box-right{font-size:16px;font-weight:400;color:#ff1b1b}.ui-header .pup-pop-login .login-box .form-box{display:flex}.ui-header .pup-pop-login .login-box .form-box input{outline:none}.ui-header .pup-pop-login .login-box .form-box input::placeholder{font-size:16px;color:#aaa}.ui-header .pup-pop-login .login-box .account-box,.ui-header .pup-pop-login .login-box .pwd-box{position:relative}.ui-header .pup-pop-login .login-box .account-box .custom-icon,.ui-header .pup-pop-login .login-box .pwd-box .custom-icon{position:absolute;z-index:9;top:10px;left:10px;width:26px;height:30px}.ui-header .pup-pop-login .login-box .account,.ui-header .pup-pop-login .login-box .password{height:50px;width:100%;font-size:16px;padding-left:3rem;box-sizing:border-box;border:1px solid #E4E6EA;border-radius:3px;background:#FAFAFA}.ui-header .pup-pop-login .login-box .account{margin-bottom:20px}.ui-header .pup-pop-login .login-box .operate{padding-bottom:20px;font-size:16px;font-weight:400}.ui-header .pup-pop-login .login-box .login-btn,.ui-header .pup-pop-login .login-box .cancel-btn{height:50px;line-height:50px;text-align:center;border-radius:3px}.ui-header .pup-pop-login .login-box .login-btn{color:#fff;background:#014098}.ui-header .pup-pop-login .login-box .cancel-btn{margin-top:20px;color:#014098;background:#EAF0F7}.help-line{border:1px solid red;box-sizing:border-box}.cc-tree-menu-item{font-size:14px}.cc-tree-menu-item .item{cursor:pointer}.cc-tree-menu-item .item .sub-item{display:flex;height:40px;line-height:40px}.cc-tree-menu-item .item .sub-item:hover{background-color:#01409814}.cc-tree-menu-item .item .item-left{display:flex;flex:1;align-items:center}.cc-tree-menu-item .item .item-right{width:10px;padding-right:16px}.cc-tree-menu-item .item .item-right .icon-down,.cc-tree-menu-item .item .item-right .icon-up{border-radius:3px;color:#9a9b9c}.cc-tree-menu-item .menu-icon{padding-right:10px}.cc-tree-menu-item .item-active{color:#fff;background:linear-gradient(-90deg,#0255C9 0%,#014098 100%)}.cc-tree-menu[data-v-5b13b476]{font-size:14px}.cc-tree-menu .menu[data-v-5b13b476]{padding:6px 0;background-color:#fff}.cc-tree-menu .menu-icon[data-v-5b13b476]{padding-right:10px}.ui-sidebar[data-v-13bfcfac]{width:240px;position:absolute;top:60px;left:0;bottom:0;box-shadow:5px 0 5px #0002;background-color:#fff;overflow-y:auto}.ui-sidebar .ui-sidebar-action[data-v-13bfcfac]{position:fixed;z-index:1;top:50%;left:240px}.ui-sidebar .ui-sidebar-action i[data-v-13bfcfac]{font-size:16px;color:#969696}[data-v-13bfcfac]::-webkit-scrollbar{width:9px;height:9px;background:#fff}[data-v-13bfcfac]::-webkit-scrollbar-track{background:#f1f1f1}[data-v-13bfcfac]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ui-tags-nav{display:flex;position:fixed;top:60px;width:calc(100% - 240px)}.ui-tags-nav .ui-tags{display:flex;overflow-x:scroll;width:100%}.ui-tags-nav .ui-tags-nav-items{display:flex;justify-content:space-around;align-items:center;height:40px;margin:4px 0;padding:0 10px;flex-shrink:0;font-size:14px;line-height:40px;text-align:center;border-radius:4px;border:1px solid rgba(153,153,153,.2);cursor:pointer}.ui-tags-nav .ui-tags-nav-items:not(:first-child){margin-left:10px}.ui-tags-nav .ui-tags-nav-items .item{padding:0;text-decoration:none;color:#000}.ui-tags-nav .ui-tags-nav-items .ui-tags-icon{margin-left:12px;display:flex;justify-content:center;align-items:center;position:relative;width:16px;height:16px;border-radius:16px}.ui-tags-nav .ui-tags-nav-items .ui-tags-icon .ui-tags-icon-item{display:inline-block;position:absolute;font-size:16px;color:#fff}.ui-tags-nav .tags-active{color:#1f3cc2;background:#ebeef5}.ui-tags-nav .tags-active .item{padding:0;text-decoration:none;color:#1f3cc2}.ui-tags-nav .ui-tags::-webkit-scrollbar{height:4px}.ui-tags-nav .ui-tags::-webkit-scrollbar-thumb{background:#014098}.cc-tree-item{font-size:14px}.cc-tree-item>.title{display:flex;justify-content:space-between;padding:4px}.cc-tree-item>.title:hover{background-color:#e0e3fa}.cc-tree-item.lv-1>.title{padding:8px;font-size:14px}.cc-tree-item.lv-1>.title:hover{background-color:transparent}.cc-tree-item .menu-icon{padding-right:10px}.cc-tree a{color:#666;text-decoration:none}.cc-modal{display:flex;flex-direction:column;justify-content:center;align-items:center;position:fixed;top:60px;left:0;width:100vw;height:100vh;background:rgba(0,0,0,.5)}.cc-modal .cc-modal-box{background:white}.cc-modal .cc-modal-box .cc-modal-title{height:40px;text-align:center;font-size:18px}.cc-modal .cc-modal-box .cc-modale-container{width:100%}.wx-oa-flow .wx-oa-body{background-color:#ebeef5;border:1px solid #000}.wx-oa-flow .wx-oa-body .box{margin-top:10px;margin-left:10px;margin-right:20px;overflow-y:auto;height:95%;width:98%}.wx-oa-flow .wx-oa-body .box::-webkit-scrollbar{width:2px}.wx-oa-flow .wx-oa-body .box::-webkit-scrollbar-track{background-color:#fff}.wx-oa-flow .wx-oa-body .box::-webkit-scrollbar-thumb{box-shadow:inset 0 0 6px #1890ff}.wx-oa-flow .wx-oa-body .putOnRecord{position:relative;padding:0 20px 20px;margin:14px 20px 30px;background:#fafafa}.wx-oa-flow .wx-oa-body .putOnRecord .arrow{display:inline-block;left:-20px;top:0;position:absolute;border:10px solid #fafafa;border-left:10px solid #ebeef5;border-bottom:10px solid #ebeef5}.wx-oa-flow .wx-oa-body .putOnRecord .putOnRecord_p{display:flex;justify-content:space-between}.wx-oa-flow .wx-oa-body .putOnRecord .putOnRecord_p>p{padding:0;line-height:40px;height:40px}.wx-oa-flow .wx-oa-body .putOnRecord .putOnRecord_p>p:last-child{font-family:"\\5170\\4ead\\9ed1\\7b80",var(--monospace);color:#333}.wx-oa-flow .wx-oa-body .putOnRecord .putOnRecordLA{background:#fff;border:1px solid #e1e5e8;border-radius:2px}.wx-oa-flow .wx-oa-body .putOnRecord .putOnRecordLA .ant-col{padding-left:16px;font-size:8px;color:#333;height:auto!important;border-right:1px solid #dfe6ec}\n',document.head.appendChild(__vite_style__),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("pinia"),require("vue")):"function"==typeof define&&define.amd?define(["exports","pinia","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ZcWebComponent={},e.pinia,e.vue)}(this,(function(e,t,o){"use strict";const n=t.defineStore("user",{state:()=>({user:{},config:{},menuPath:[],menuList:[],systemList:[],menuDrawer:"",tagId:"",tagsList:[],menuId:"",recentlyVisitedList:[]}),actions:{setUser(e){this.user=e,He.set("-wc-user-info",e)},getUser(){if(null!=this.user)return this.user;const e=He.get("-wc-user-info");return e?(this.user=e,this.user):null},logout(){He.clear(),this.user=null},setConfig(e){this.config=e},getConfig(){if(null!=this.config)return this.config;const e=He.getComponentConfig();return e?(this.config=e,this.config):void 0},changeCurrentMenuPath(e){this.menuPath=e,He.set("-wc-menu-breadcrumb",e)},getBreadcrumb(){if(null!=this.menuPath)return this.menuPath;const e=He.get("-wc-menu-breadcrumb");return e?(this.menuPath=e,this.menuPath):null},setMenuList(e){this.menuList=e,He.set("-wc-menu-list",e)},setSysList(e){this.systemList=e,He.set("-wc-system-list",e)},setSystolic(e){this.menuDrawer=e},setTagId(e){this.tagId=e},setTagsList(e){this.tagsList=e},saveMenuId(e){this.menuId=e}}});function i(e){return e=JSON.stringify(e),!!/^\{[\s\S]*\}$/.test(e)}function r(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e}}function a(e){return"[object Function]"==={}.toString.call(e)}function s(e){return"[object Array]"===Object.prototype.toString.call(e)}var c=function(e){var t="_Is_Incognit";try{e||(e=window.localStorage),e.setItem(t,"yes"),e.removeItem(t)}catch(n){var o={_data:{},setItem:function(e,t){return o._data[e]=String(t)},getItem:function(e){return o._data.hasOwnProperty(e)?o._data[e]:void 0},removeItem:function(e){return delete o._data[e]},clear:function(){return o._data={}}};e=o}finally{"yes"===e.getItem(t)&&e.removeItem(t)}return e}();function l(){if(!(this instanceof l))return new l}l.prototype={set:function(e,t){if(e&&!i(e))c.setItem(e,function(e){return void 0===e||"function"==typeof e?e+"":JSON.stringify(e)}(t));else if(i(e))for(var o in e)this.set(o,e[o]);return this},get:function(e){if(void 0===e){var t={};return this.forEach((function(e,o){return t[e]=o})),t}if("?"===e.charAt(0))return this.has(e.substr(1));var o=arguments;if(o.length>1){for(var n={},i=0,a=o.length;i<a;i++){var s=r(c.getItem(o[i]));this.has(o[i])&&(n[o[i]]=s)}return n}return r(c.getItem(e))},clear:function(){return c.clear(),this},remove:function(e){var t=this.get(e);return c.removeItem(e),t},has:function(e){return{}.hasOwnProperty.call(this.get(),e)},keys:function(){var e=[];return this.forEach((function(t){e.push(t)})),e},forEach:function(e){for(var t=0,o=c.length;t<o;t++){var n=c.key(t);e(n,this.get(n))}return this},search:function(e){for(var t=this.keys(),o={},n=0,i=t.length;n<i;n++)t[n].indexOf(e)>-1&&(o[t[n]]=this.get(t[n]));return o},len:function(){return c.length}};var u=null;function d(e,t){var o=arguments,n=null;if(u||(u=l()),0===o.length)return u.get();if(1===o.length){if("string"==typeof e)return u.get(e);if(i(e))return u.set(e)}if(2===o.length&&"string"==typeof e){if(!t)return u.remove(e);if(t&&"string"==typeof t)return u.set(e,t);t&&a(t)&&(n=null,n=t(e,u.get(e)),d.set(e,n))}if(2===o.length&&s(e)&&a(t))for(var r=0,c=e.length;r<c;r++)n=t(e[r],u.get(e[r])),d.set(e[r],n);return d}for(var p in l.prototype)d[p]=l.prototype[p];var m={exports:{}},f=function(e,t){return function(){for(var o=new Array(arguments.length),n=0;n<o.length;n++)o[n]=arguments[n];return e.apply(t,o)}},h=f,g=Object.prototype.toString;function v(e){return Array.isArray(e)}function b(e){return void 0===e}function y(e){return"[object ArrayBuffer]"===g.call(e)}function x(e){return null!==e&&"object"==typeof e}function k(e){if("[object Object]"!==g.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function w(e){return"[object Function]"===g.call(e)}function C(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),v(e))for(var o=0,n=e.length;o<n;o++)t.call(null,e[o],o,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var E={isArray:v,isArrayBuffer:y,isBuffer:function(e){return null!==e&&!b(e)&&null!==e.constructor&&!b(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===g.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&y(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:x,isPlainObject:k,isUndefined:b,isDate:function(e){return"[object Date]"===g.call(e)},isFile:function(e){return"[object File]"===g.call(e)},isBlob:function(e){return"[object Blob]"===g.call(e)},isFunction:w,isStream:function(e){return x(e)&&w(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===g.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:C,merge:function e(){var t={};function o(o,n){k(t[n])&&k(o)?t[n]=e(t[n],o):k(o)?t[n]=e({},o):v(o)?t[n]=o.slice():t[n]=o}for(var n=0,i=arguments.length;n<i;n++)C(arguments[n],o);return t},extend:function(e,t,o){return C(t,(function(t,n){e[n]=o&&"function"==typeof t?h(t,o):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},N=E;function B(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var A=function(e,t,o){if(!t)return e;var n;if(o)n=o(t);else if(N.isURLSearchParams(t))n=t.toString();else{var i=[];N.forEach(t,(function(e,t){null!=e&&(N.isArray(e)?t+="[]":e=[e],N.forEach(e,(function(e){N.isDate(e)?e=e.toISOString():N.isObject(e)&&(e=JSON.stringify(e)),i.push(B(t)+"="+B(e))})))})),n=i.join("&")}if(n){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e},V=E;function S(){this.handlers=[]}S.prototype.use=function(e,t,o){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1},S.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},S.prototype.forEach=function(e){V.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var L=S,M=E,I=function(e,t,o,n,i){return e.config=t,o&&(e.code=o),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},O={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},R=I,T=function(e,t,o,n,i){var r=new Error(e);return R(r,t,o,n,i)},D=T,z=E,j=z.isStandardBrowserEnv()?{write:function(e,t,o,n,i,r){var a=[];a.push(e+"="+encodeURIComponent(t)),z.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),z.isString(n)&&a.push("path="+n),z.isString(i)&&a.push("domain="+i),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},U=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},F=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},P=E,_=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],q=E,G=q.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function n(e){var n=e;return t&&(o.setAttribute("href",n),n=o.href),o.setAttribute("href",n),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return e=n(window.location.href),function(t){var o=q.isString(t)?n(t):t;return o.protocol===e.protocol&&o.host===e.host}}():function(){return!0};function J(e){this.message=e}J.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},J.prototype.__CANCEL__=!0;var W=J,Y=E,H=function(e,t,o){var n=o.config.validateStatus;o.status&&n&&!n(o.status)?t(D("Request failed with status code "+o.status,o.config,null,o.request,o)):e(o)},K=j,$=A,X=function(e,t){return e&&!U(t)?F(e,t):t},Z=function(e){var t,o,n,i={};return e?(P.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=P.trim(e.substr(0,n)).toLowerCase(),o=P.trim(e.substr(n+1)),t){if(i[t]&&_.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([o]):i[t]?i[t]+", "+o:o}})),i):i},Q=G,ee=T,te=O,oe=W,ne=function(e){return new Promise((function(t,o){var n,i=e.data,r=e.headers,a=e.responseType;function s(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}Y.isFormData(i)&&delete r["Content-Type"];var c=new XMLHttpRequest;if(e.auth){var l=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.Authorization="Basic "+btoa(l+":"+u)}var d=X(e.baseURL,e.url);function p(){if(c){var n="getAllResponseHeaders"in c?Z(c.getAllResponseHeaders()):null,i={data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c};H((function(e){t(e),s()}),(function(e){o(e),s()}),i),c=null}}if(c.open(e.method.toUpperCase(),$(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(p)},c.onabort=function(){c&&(o(ee("Request aborted",e,"ECONNABORTED",c)),c=null)},c.onerror=function(){o(ee("Network Error",e,null,c)),c=null},c.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||te;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),o(ee(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},Y.isStandardBrowserEnv()){var m=(e.withCredentials||Q(d))&&e.xsrfCookieName?K.read(e.xsrfCookieName):void 0;m&&(r[e.xsrfHeaderName]=m)}"setRequestHeader"in c&&Y.forEach(r,(function(e,t){void 0===i&&"content-type"===t.toLowerCase()?delete r[t]:c.setRequestHeader(t,e)})),Y.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(n=function(e){c&&(o(!e||e&&e.type?new oe("canceled"):e),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n))),i||(i=null),c.send(i)}))},ie=E,re=function(e,t){M.forEach(e,(function(o,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=o,delete e[n])}))},ae=I,se={"Content-Type":"application/x-www-form-urlencoded"};function ce(e,t){!ie.isUndefined(e)&&ie.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var le,ue={transitional:O,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(le=ne),le),transformRequest:[function(e,t){return re(t,"Accept"),re(t,"Content-Type"),ie.isFormData(e)||ie.isArrayBuffer(e)||ie.isBuffer(e)||ie.isStream(e)||ie.isFile(e)||ie.isBlob(e)?e:ie.isArrayBufferView(e)?e.buffer:ie.isURLSearchParams(e)?(ce(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ie.isObject(e)||t&&"application/json"===t["Content-Type"]?(ce(t,"application/json"),function(e,t,o){if(ie.isString(e))try{return(t||JSON.parse)(e),ie.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(o||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||ue.transitional,o=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!o&&"json"===this.responseType;if(i||n&&ie.isString(e)&&e.length)try{return JSON.parse(e)}catch(r){if(i){if("SyntaxError"===r.name)throw ae(r,this,"E_JSON_PARSE");throw r}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ie.forEach(["delete","get","head"],(function(e){ue.headers[e]={}})),ie.forEach(["post","put","patch"],(function(e){ue.headers[e]=ie.merge(se)}));var de=ue,pe=E,me=de,fe=function(e){return!(!e||!e.__CANCEL__)},he=E,ge=function(e,t,o){var n=this||me;return pe.forEach(o,(function(o){e=o.call(n,e,t)})),e},ve=fe,be=de,ye=W;function xe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ye("canceled")}var ke=E,we=function(e,t){t=t||{};var o={};function n(e,t){return ke.isPlainObject(e)&&ke.isPlainObject(t)?ke.merge(e,t):ke.isPlainObject(t)?ke.merge({},t):ke.isArray(t)?t.slice():t}function i(o){return ke.isUndefined(t[o])?ke.isUndefined(e[o])?void 0:n(void 0,e[o]):n(e[o],t[o])}function r(e){if(!ke.isUndefined(t[e]))return n(void 0,t[e])}function a(o){return ke.isUndefined(t[o])?ke.isUndefined(e[o])?void 0:n(void 0,e[o]):n(void 0,t[o])}function s(o){return o in t?n(e[o],t[o]):o in e?n(void 0,e[o]):void 0}var c={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s};return ke.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,n=t(e);ke.isUndefined(n)&&t!==s||(o[e]=n)})),o},Ce="0.26.1",Ee=Ce,Ne={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Ne[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));var Be={};Ne.transitional=function(e,t,o){function n(e,t){return"[Axios v"+Ee+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return function(o,i,r){if(!1===e)throw new Error(n(i," has been removed"+(t?" in "+t:"")));return t&&!Be[i]&&(Be[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(o,i,r)}};var Ae=E,Ve=A,Se=L,Le=function(e){return xe(e),e.headers=e.headers||{},e.data=ge.call(e,e.data,e.headers,e.transformRequest),e.headers=he.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),he.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||be.adapter)(e).then((function(t){return xe(e),t.data=ge.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return ve(t)||(xe(e),t&&t.response&&(t.response.data=ge.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Me=we,Ie={assertOptions:function(e,t,o){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var r=n[i],a=t[r];if(a){var s=e[r],c=void 0===s||a(s,r,e);if(!0!==c)throw new TypeError("option "+r+" must be "+c)}else if(!0!==o)throw Error("Unknown option "+r)}},validators:Ne},Oe=Ie.validators;function Re(e){this.defaults=e,this.interceptors={request:new Se,response:new Se}}Re.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Me(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var o=t.transitional;void 0!==o&&Ie.assertOptions(o,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!i){var s=[Le,void 0];for(Array.prototype.unshift.apply(s,n),s=s.concat(a),r=Promise.resolve(t);s.length;)r=r.then(s.shift(),s.shift());return r}for(var c=t;n.length;){var l=n.shift(),u=n.shift();try{c=l(c)}catch(d){u(d);break}}try{r=Le(c)}catch(d){return Promise.reject(d)}for(;a.length;)r=r.then(a.shift(),a.shift());return r},Re.prototype.getUri=function(e){return e=Me(this.defaults,e),Ve(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Ae.forEach(["delete","get","head","options"],(function(e){Re.prototype[e]=function(t,o){return this.request(Me(o||{},{method:e,url:t,data:(o||{}).data}))}})),Ae.forEach(["post","put","patch"],(function(e){Re.prototype[e]=function(t,o,n){return this.request(Me(n||{},{method:e,url:t,data:o}))}}));var Te=Re,De=W;function ze(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var o=this;this.promise.then((function(e){if(o._listeners){var t,n=o._listeners.length;for(t=0;t<n;t++)o._listeners[t](e);o._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){o.subscribe(e),t=e})).then(e);return n.cancel=function(){o.unsubscribe(t)},n},e((function(e){o.reason||(o.reason=new De(e),t(o.reason))}))}ze.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},ze.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},ze.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},ze.source=function(){var e;return{token:new ze((function(t){e=t})),cancel:e}};var je=ze,Ue=E,Fe=E,Pe=f,_e=Te,qe=we;var Ge=function e(t){var o=new _e(t),n=Pe(_e.prototype.request,o);return Fe.extend(n,_e.prototype,o),Fe.extend(n,o),n.create=function(o){return e(qe(t,o))},n}(de);Ge.Axios=_e,Ge.Cancel=W,Ge.CancelToken=je,Ge.isCancel=fe,Ge.VERSION=Ce,Ge.all=function(e){return Promise.all(e)},Ge.spread=function(e){return function(t){return e.apply(null,t)}},Ge.isAxiosError=function(e){return Ue.isObject(e)&&!0===e.isAxiosError},m.exports=Ge,m.exports.default=Ge;const Je=m.exports.create({timeout:1e4,headers:{"Content-Type":"application/json;charset=utf-8"}});Je.interceptors.request.use((e=>{if(!e.baseURL){const t=He.getComponentConfig()||{};e.baseURL=t.baseUrl}return e}));const We=class{static set(e,t){d.set(e,t)}static get(e){return d.get(e)}static setComponentConfig(e){n().setConfig(e),this.set(this.COMPONENT_CONFIG_NAME,e)}static getComponentConfig(){return this.get(this.COMPONENT_CONFIG_NAME)}static clear(){d.clear()}static remove(e){d.remove(e)}static keys(){return d.keys()}static login(e){document.cookie="token="+We.query("token")}static query(e){const t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),o=window.location.search.substr(1).match(t);return null!=o?decodeURIComponent(o[2]):null}static getCookie(e){const t=e+"=",o=document.cookie.split(";");for(const n of o){const e=n.trim();if(0===e.indexOf(t))return e.substring(t.length,e.length)}return""}static clearCookie(...e){document.cookie.split(";").forEach((t=>{const o=t.split("=")[0];for(let n=e.length;n++;)o===e[n]&&(document.cookie=o+"=;path=/;expires="+new Date(0).toUTCString())}))}static clearCookies(){document.cookie.split(";").forEach((e=>document.cookie=e.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date(0).toUTCString()};path=/`)))}static loginCoverOldApi(){const e=We.get("token");e?(console.log("token exit"),document.cookie="token="+e+"; path=/",null!=document.cookie&&0!==document.cookie.length&&-1!==document.cookie.indexOf("token=")||Je.post("/sys/platform/check-login-platform",{token:e}),localStorage.setItem("token",e)):(console.log("Cache token no exit"),this.set("logined",0))}static loginCover(e=null){const t=We.query("code");We.getComponentConfig().verifyCode?t?Je.post("/sys/platform/check-code-platform",{code:t}).then((t=>{if(1===t.data.code){const o=t.data.data.token;document.cookie="token=;path=/;expires="+new Date(0).toUTCString(),localStorage.removeItem("token"),this.set("logined",1),document.cookie="token="+o+"; path=/",localStorage.setItem("token",o),e&&e()}else console.log("Code invalid"),this.tokenVerify(e)})):(console.log("Code null"),this.tokenVerify(e)):(console.log("使用旧版TOKEN验证模式"),e&&e(),this.loginCoverOldApi())}static tokenVerify(e){if(!localStorage.getItem("token"))return console.log("Token 缓存不存在！"),this.set("logined",0),void(e&&e());Je.post("/sys/platform/heartbeat").then((t=>{1===t.data.code?(this.set("logined",1),console.log("Token valid"),e&&e()):(this.set("logined",0),e&&e())})).catch((t=>{console.error("Token verify error: "+t),this.set("logined",0),e&&e()}))}static async getTokenCode(){let e="";return await Je.get("/sys/platform/get-code").then((t=>{1===t.data.code&&(e=t.data.data)})),e}};let Ye=We;Ye.COMPONENT_CONFIG_NAME="-wc-component-config";var He=Ye;var Ke="1.3.2",$e=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o};const Xe={key:0,class:"ui-toast"},Ze={key:0,class:"ui-toast-success"},Qe={class:"success-tips"},et={key:1,class:"ui-toast-info"},tt={class:"info-tips"},ot={key:2,class:"ui-toast-warning"},nt={class:"warn-tips"},it={key:3,class:"ui-toast-error"},rt={class:"error-tips"},at=o.defineComponent({name:"ui-toast"});var st=$e(o.defineComponent({...at,setup(e,{expose:t}){const n=o.ref(!1),i=o.ref(""),r=o.ref("");o.watch(n,((e,t)=>{e&&setTimeout((()=>{n.value=!1}),2e3)}));return t({message:o.reactive({success(e){i.value=e,r.value="success",n.value=!0},info(e){i.value=e,r.value="info",n.value=!0},warn(e){i.value=e,r.value="warn",n.value=!0},error(e){i.value=e,r.value="error",n.value=!0}})}),(e,t)=>n.value?(o.openBlock(),o.createElementBlock("div",Xe,["success"===r.value?(o.openBlock(),o.createElementBlock("div",Ze,[t[0]||(t[0]=o.createElementVNode("div",{class:"success-icon"},[o.createElementVNode("i",{class:"fa fa-chevron-circle-down","aria-hidden":"true"})],-1)),o.createElementVNode("div",Qe,o.toDisplayString(i.value),1)])):o.createCommentVNode("",!0),"info"===r.value?(o.openBlock(),o.createElementBlock("div",et,[t[1]||(t[1]=o.createElementVNode("div",{class:"info-icon"},[o.createElementVNode("i",{class:"fa fa-info-circle","aria-hidden":"true"})],-1)),o.createElementVNode("div",tt,o.toDisplayString(i.value),1)])):o.createCommentVNode("",!0),"warn"===r.value?(o.openBlock(),o.createElementBlock("div",ot,[t[2]||(t[2]=o.createElementVNode("div",{class:"warn-icon"},[o.createElementVNode("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"})],-1)),o.createElementVNode("div",nt,o.toDisplayString(i.value),1)])):o.createCommentVNode("",!0),"error"===r.value?(o.openBlock(),o.createElementBlock("div",it,[t[3]||(t[3]=o.createElementVNode("div",{class:"error-icon"},[o.createElementVNode("i",{class:"fa fa-times-circle","aria-hidden":"true"})],-1)),o.createElementVNode("div",rt,o.toDisplayString(i.value),1)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}}),[["__scopeId","data-v-2bf19a6e"]]);const ct=o.defineComponent({name:"cc-info-bar"}),lt={class:"cc-info-bar"};var ut=$e(ct,[["render",function(e,t,n,i,r,a){return o.openBlock(),o.createElementBlock("div",lt,[o.renderSlot(e.$slots,"default")])}]]);const dt=o.defineComponent({name:"cc-split"}),pt={class:"cc-split split-span"};var mt=$e(dt,[["render",function(e,t,n,i,r,a){return o.openBlock(),o.createElementBlock("span",pt,"|")}]]);const ft=o.defineComponent({name:"cc-info-item"}),ht={class:"cc-info-item"};var gt=$e(ft,[["render",function(e,t,n,i,r,a){return o.openBlock(),o.createElementBlock("span",ht,[o.renderSlot(e.$slots,"default")])}]]);class vt{constructor(){this.method="GET",this.baseUrl="",this.url="",this.data={},this.headers={common:{"X-Request-By":"XMLHttpRequest","Content-Type":"application/json;charset=utf8"},get:{},post:{},put:{},delete:{}}}}var bt=new class{getToken(){return He.get("token")}toJSON(e){try{return JSON.parse(e)}catch(t){return e}}getConfig(){return Object.assign({},new vt,He.getComponentConfig())}combine(e,t){if(t.startsWith("http")||t.startsWith("//"))return t;if(e&&e.length>0){let o=e+("/"===e.charAt(e.length-1)?"":"/");return o+="/"===t.charAt(0)?t.substring(1):t,o}return t}custombaseUrl(){return""}request(e,t,o){const n=new XMLHttpRequest;e=this.combine(this.getConfig().baseUrl,e);const i=this.getToken();n.open(t,e,!0);const r={"Content-Type":"application/json;charset=utf8",token:i};for(const a in r)n.setRequestHeader(a,r[a]);return n.send(JSON.stringify(o)),new Promise(((e,t)=>{n.onreadystatechange=()=>{if(4===n.readyState)if(200===n.status){const o=this.toJSON(n.responseText);-999900===o.code?(He.set("logined",0),t(n)):e(o)}else t(n)}}))}};var yt=new class{ajax(e,t,o){return bt.request(e,t,o||{})}get(e,t){return this.ajax(e,"GET",t||{})}post(e,t){return this.ajax(e,"POST",t||{})}put(e,t){return this.ajax(e,"PUT",t||{})}delete(e,t){return this.ajax(e,"DELETE",t||{})}};var xt=new class{getMenuList(e){return yt.post("/sys/platform/permission/getlist/platformCode",e)}getRecordList(e){return yt.get("/sys/permissionRecord/getByUserId")}getCollectList(e){return yt.get("/sys/permissionCollect/getByUserId")}getSysMenuList(e){return yt.get("/sys/platform/permission/getlist")}collectOper(e){return yt.post("/sys/permissionCollect/save",e)}recordOper(e){return yt.post("/sys/permissionRecord/save",e)}getUserInfo(e){return yt.get("/sys/user/getuserinfo")}logOut(e){return yt.post("/sys/user/logout",e)}loginPlate(e){return yt.post("/sys/platform/login-platform",e)}};const kt={class:"cc-recently-visited"},wt={key:0,class:"fa fa-angle-down fa-lg"},Ct={key:1,class:"fa fa-angle-up fa-lg"},Et=["onClick"],Nt=o.defineComponent({name:"cc-recently-visited",setup(e){const t=n(),i=o.reactive({showList:!1,sysMenuList:[],subList:[]});o.computed((()=>t.recentlyVisitedList));const r=o.computed((()=>i.subList.filter((function(e){return e.isRecord})))),a=()=>{s(),i.showList=!i.showList},s=async()=>{let e=await u();null!==e[0]&&1===e[0].code&&(e=e[0].data);let t=await d();null!==t[0]&&1===t[0].code&&(t=t[0].data),p(e,t)},c=()=>{i.showList=!1},l=(e,t,o)=>{if(!e)return[];for(const n of e){if(t.push(n),o.push(n),n&&n.children){const e=l(n.children,t,o);if(e.length)return e}t.pop()}return[]},u=e=>xt.getRecordList({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]})),d=e=>xt.getSysMenuList({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]})),p=(e,t)=>{i.sysMenuList=t,i.subList=[];const o=[];l(i.sysMenuList,[],o),o.forEach((e=>{i.subList.push(e)})),i.subList.forEach((t=>{e.forEach((e=>{t.id==e.subPermissionId&&(t.isRecord=!0)})),!0!==t.isRecord&&(t.isRecord=!1);let o=[];l(i.sysMenuList,[],o),o.forEach((e=>{if(e.subsystemId===t.subsystemId&&1==e.levels){let o={original:e.route,url:t.route,route:t.route,resource:window.location.host};t.routeRealTemplate=o}}))}))};return o.onMounted((()=>{s()})),(e,t)=>(o.openBlock(),o.createElementBlock("div",kt,[o.createElementVNode("a",{class:"visited-title",onClick:a},[t[0]||(t[0]=o.createElementVNode("span",null,"最近访问",-1)),i.showList?(o.openBlock(),o.createElementBlock("i",Ct)):(o.openBlock(),o.createElementBlock("i",wt))]),i.showList?(o.openBlock(),o.createElementBlock("div",{key:0,class:"list",onMouseleave:c},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,((e,t)=>(o.openBlock(),o.createElementBlock("div",{style:{cursor:"pointer"},class:"list-item",key:t,onClick:t=>(async e=>{if(!e)return;let t=await He.getTokenCode(),o=He.getComponentConfig().verifyCode,n="",i=e.routeRealTemplate;o?n=`${i.original||"/"}?url=${i.route}&code=${t}&resource=${i.resource}#${i.route}`:(console.log("兼容Token模式跳转最近访问"),n=`${i.original||"/"}?url=${i.route}&token=${He.get("token")}&code=${t}&resource=${i.resource}#${i.route}`),location.assign(n)})(e)},o.toDisplayString(e.label),9,Et)))),128))],32)):o.createCommentVNode("",!0)]))}});const Bt=o.defineComponent({name:"cc-breadcrumb",setup:()=>({store:n()}),data:()=>({breadcrumbList:[]}),computed:{menuPath(){return this.store.menuPath}},watch:{menuPath(e,t){He.set("custom-menu",e),this.breadcrumbList=He.get("custom-menu")}},created(){this.breadcrumbList=He.get("custom-menu")},methods:{breadcrumbNav(e){1!==e.type&&(2===e.type?(3==this.breadcrumbList.length&&this.breadcrumbList.splice(2,1),this.store.changeCurrentMenuPath(this.breadcrumbList),this.$router.push(`${e.route}`)):3===e.type&&this.$router.push(`${e.route}`))}}}),At={class:"cc-breadcrumb"},Vt=["onClick"];var St=$e(Bt,[["render",function(e,t,n,i,r,a){return o.openBlock(),o.createElementBlock("div",At,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.breadcrumbList,((t,n)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(e.breadcrumbList.length?"add-path":""),key:n,onClick:o=>e.breadcrumbNav(t)},o.toDisplayString(t.label),11,Vt)))),128))])}]]);const Lt=o.defineComponent({name:"cc-menu",props:{show:{type:Boolean,default:!1}},data:()=>({searchName:"",searchResultList:[],activeFirstLevelIndex:0,sysItemId:"",sysMenuList:[],subList:[],collectForm:{permissionId:null,permissionName:"",subPermissionId:null,subPermissionName:"",subPermissionUrl:"",collectStatus:null},collectFormClear:[],keyboardEvent:{},dataLoaded:!1}),created:function(){this.collectFormClear=JSON.parse(JSON.stringify(this.collectForm)),document.onkeydown=e=>{this.keyboardEvent=e}},computed:{firstLevelMenus:function(){return this.sysMenuList.filter((function(e){return e.isValue}))},activeFirstLevelMenu:function(){const e=this.firstLevelMenus;return this.activeFirstLevelIndex>=0&&this.activeFirstLevelIndex<e.length?e[this.activeFirstLevelIndex]:null},activeMenuChildren:function(){const e=this.activeFirstLevelMenu;return e&&e.children||[]},collectList:function(){return this.subList.filter((function(e){return e.isColl}))}},watch:{searchName(e,t){e.trim()||(this.searchResultList=[])},show(e){e&&!this.dataLoaded&&this.loadMenuData()}},methods:{async loadMenuData(){if(this.dataLoaded)return;let e=await this.getRecordList({});null!==e[0]&&1===e[0].code&&(e=e[0].data);let t=await this.getCollectList({});null!==t[0]&&1===t[0].code&&(t=t[0].data);let o=await this.getSysMenuList({});null!==o[0]&&1===o[0].code&&(o=o[0].data),this.comparator(e,t,o),this.dataLoaded=!0},findNode(e,t,o){if(!e)return[];for(const n of e){if(t.push(n),o.push(n),n&&n.children){const e=this.findNode(n.children,t,o);if(e.length)return e}t.pop()}return[]},getRecordList:e=>xt.getRecordList({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]})),getCollectList:e=>xt.getCollectList({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]})),getSysMenuList:e=>xt.getSysMenuList({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]})),search(){if(this.searchName.trim()){let e=[...this.sysMenuList];this.searchResultList=this.localFilterData(e,this.searchName)}else this.searchResultList=[]},localFilterData(e,t,o=["label"]){if(""===t)return e;const n=t.split(" ");let i=[];const r=(e,t)=>(e.forEach((e=>{const a=[...t,e.label],s=(e=>{let t=!1,i=0;return n.forEach((n=>{const r=new RegExp(n);o.forEach((o=>{r.test(e[o])&&(i++,t=!0)}))})),t?{...e,rank:i}:void 0})(e);s&&(s.fullPath=a,i.push(s)),e.children instanceof Array&&e.children.length>0&&(i=r(e.children,a))})),i);return r(e,[]).sort(((e,t)=>t.rank-e.rank))},addSys(e){this.sysItemId=e},cancelSys(){this.sysItemId=""},selectFirstLevel(e){this.activeFirstLevelIndex=e},close(){this.$emit("close",!1)},async collect(e){this.collectForm=JSON.parse(JSON.stringify(this.collectFormClear)),this.collectForm.collectStatus=e.isColl,this.collectForm.permissionId=e.subsystemId,this.collectForm.permissionName=e.subsystemName,this.collectForm.subPermissionId=e.id,this.collectForm.subPermissionName=e.label,this.collectForm.subPermissionUrl=e.route;let t=await xt.collectOper(this.collectForm).then((function(e){return[e,null]})).catch((function(e){return[null,e]}));null!=t[0]&&1===t[0].code&&(e.isColl=!e.isColl),this.collectForm=JSON.parse(JSON.stringify(this.collectFormClear))},async recordAdd(e){if(!1===e.isRecord){this.collectForm=JSON.parse(JSON.stringify(this.collectFormClear)),this.collectForm.collectStatus=e.isColl,this.collectForm.permissionId=e.subsystemId,this.collectForm.permissionName=e.subsystemName,this.collectForm.subPermissionId=e.id,this.collectForm.subPermissionName=e.label,this.collectForm.subPermissionUrl=e.route;let t=await xt.recordOper(this.collectForm).then((function(e){return[e,null]})).catch((function(e){return[null,e]}));null!=t[0]&&1===t[0].code&&(e.isRecord=!e.isRecord),this.collectForm=JSON.parse(JSON.stringify(this.collectFormClear))}},comparator(e,t,o){this.sysMenuList=[...o],this.subList=[];const n=[];this.findNode(this.sysMenuList,[],n),n.forEach((e=>{this.subList.push(e)})),this.subList.forEach((o=>{t.forEach((e=>{o.id==e.subPermissionId&&(o.isColl=!0)})),e.forEach((e=>{o.id==e.subPermissionId&&(o.isRecord=!0)})),!0!==o.isRecord&&(o.isRecord=!1),!0!==o.isColl&&(o.isColl=!1);let n=[];this.findNode(this.sysMenuList,[],n);let i=o;for(;null!=i.pid&&(i=n.find((e=>e.id===i.pid)),null!=i););if(null!=i){let e={original:i.route,url:o.route,route:o.route,resource:window.location.host};o.routeRealTemplate=e}}))},openMenuRoute:async function(e){if(!e)return;let t=await He.getTokenCode(),o=`${e.original}?url=${e.route}&code=${t}&resource=${e.resource}#${e.route}`;this.keyboardEvent&&17===this.keyboardEvent.keyCode?window.open(o):location.assign(o),this.keyboardEvent={}},openMenuRouteAndRecord:function(e){(null==e?void 0:e.route)&&(this.openMenuRoute(e.routeRealTemplate),this.recordAdd(e))}}}),Mt={class:"cc-menu-box"},It={key:0,class:"cc-menu-loading"},Ot={key:1,class:"cc-menu-module"},Rt={class:"cc-menu-first-level"},Tt=["onClick"],Dt={class:"cc-menu-favorites"},zt=["onClick"],jt=["onClick"],Ut={key:2,class:"cc-menu-content"},Ft={class:"cc-menu-search"},Pt={key:0,class:"cc-menu-list"},_t={key:0,class:"items-menus"},qt=["onMouseenter"],Gt={class:"next-menu"},Jt=["onClick"],Wt=["onClick"],Yt=["onClick"],Ht={key:0},Kt=["onMouseenter"],$t=["onClick"],Xt=["onClick"],Zt=["onClick"],Qt={key:1},eo=["onMouseenter"],to=["onClick"],oo=["onClick"],no=["onClick"],io={key:1,class:"cc-menu-list cc-menu-search-results"},ro=["onClick"],ao={key:0,class:"search-path"},so={class:"search-label"},co=["onClick"],lo=["onClick"];var uo=$e(Lt,[["render",function(e,t,n,i,r,a){return e.show?(o.openBlock(),o.createElementBlock("div",{key:0,class:"cc-menu",onClick:t[5]||(t[5]=o.withModifiers(((...t)=>e.close&&e.close(...t)),["self"]))},[o.createElementVNode("div",Mt,[e.dataLoaded?(o.openBlock(),o.createElementBlock("div",Ot,[o.createElementVNode("div",Rt,[t[8]||(t[8]=o.createElementVNode("div",{class:"title"},"选择子系统",-1)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.firstLevelMenus,((n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["first-level-item",{active:e.activeFirstLevelIndex===i}]),key:i,onClick:t=>e.selectFirstLevel(i)},[t[7]||(t[7]=o.createElementVNode("div",{class:"square-icon"},null,-1)),o.createElementVNode("span",null,o.toDisplayString(n.label),1)],10,Tt)))),128))]),o.createElementVNode("div",Dt,[t[9]||(t[9]=o.createElementVNode("div",{class:"title"},"收藏",-1)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.collectList,((t,n)=>(o.openBlock(),o.createElementBlock("div",{class:"favorite-item",key:n},[o.createElementVNode("span",{style:{cursor:"pointer"},onClick:o=>e.openMenuRoute(t.routeRealTemplate)},o.toDisplayString(t.label),9,zt),o.createElementVNode("i",{class:"fa-solid fa-star star-color",onClick:o.withModifiers((o=>e.collect(t)),["stop"])},null,8,jt)])))),128))])])):(o.openBlock(),o.createElementBlock("div",It,[...t[6]||(t[6]=[o.createElementVNode("i",{class:"fa fa-spinner fa-spin"},null,-1),o.createElementVNode("span",null,"菜单数据加载中 ...",-1)])])),e.dataLoaded?(o.openBlock(),o.createElementBlock("div",Ut,[o.createElementVNode("div",Ft,[t[10]||(t[10]=o.createElementVNode("i",{class:"fa fa-search cc-search-icon"},null,-1)),o.withDirectives(o.createElementVNode("input",{type:"text",placeholder:"搜索功能菜单，请输入关键字","onUpdate:modelValue":t[0]||(t[0]=t=>e.searchName=t),onInput:t[1]||(t[1]=(...t)=>e.search&&e.search(...t))},null,544),[[o.vModelText,e.searchName]])]),e.searchName.trim()?(o.openBlock(),o.createElementBlock("div",io,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.searchResultList,((t,n)=>(o.openBlock(),o.createElementBlock("div",{class:"search-result-item",key:n},[o.createElementVNode("div",{style:{cursor:"pointer"},class:"final-menu",onClick:o=>e.openMenuRouteAndRecord(t)},[t.fullPath&&t.fullPath.length>1?(o.openBlock(),o.createElementBlock("span",ao,o.toDisplayString(t.fullPath.slice(0,-1).join(" / "))+" / ",1)):o.createCommentVNode("",!0),o.createElementVNode("span",so,o.toDisplayString(t.label),1)],8,ro),t.isColl&&t.route?(o.openBlock(),o.createElementBlock("i",{key:0,onClick:o.withModifiers((o=>e.collect(t)),["stop"]),class:"fa-solid fa-star star-color"},null,8,co)):!t.isColl&&t.id===e.sysItemId&&t.route?(o.openBlock(),o.createElementBlock("i",{key:1,onClick:o.withModifiers((o=>e.collect(t)),["stop"]),class:"fa-regular fa-star star-o-color"},null,8,lo)):o.createCommentVNode("",!0)])))),128))])):(o.openBlock(),o.createElementBlock("div",Pt,[e.activeMenuChildren.length?(o.openBlock(),o.createElementBlock("div",_t,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.activeMenuChildren,((n,i)=>{var r,a,s,c;return o.openBlock(),o.createElementBlock(o.Fragment,{key:i},[n.isValue?(o.openBlock(),o.createElementBlock("div",{key:0,class:"child-menu",onMouseenter:t=>e.addSys(n.id),onMouseleave:t[4]||(t[4]=(...t)=>e.cancelSys&&e.cancelSys(...t))},[o.createElementVNode("div",Gt,[o.createElementVNode("div",{style:o.normalizeStyle({cursor:n.route&&!(null==(r=n.children)?void 0:r.length)?"pointer":"default"}),class:o.normalizeClass(n.route&&!(null==(a=n.children)?void 0:a.length)?"final-menu":"sub-menu"),onClick:t=>e.openMenuRouteAndRecord(n)},o.toDisplayString(n.label),15,Jt),n.isColl&&n.route&&!(null==(s=n.children)?void 0:s.length)?(o.openBlock(),o.createElementBlock("i",{key:0,onClick:t=>e.collect(n),class:"fa-solid fa-star star-color"},null,8,Wt)):n.isColl||n.id!==e.sysItemId||!n.route||(null==(c=n.children)?void 0:c.length)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("i",{key:1,onClick:t=>e.collect(n),class:"fa-regular fa-star star-o-color"},null,8,Yt))]),n.children?(o.openBlock(),o.createElementBlock("div",Ht,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.children,((n,i)=>{var r,a,s,c;return o.openBlock(),o.createElementBlock("div",{key:i},[n.isValue?(o.openBlock(),o.createElementBlock("div",{key:0,class:"final-menu-item",onMouseenter:t=>e.addSys(n.id),onMouseleave:t[2]||(t[2]=(...t)=>e.cancelSys&&e.cancelSys(...t))},[o.createElementVNode("div",{style:o.normalizeStyle({cursor:n.route&&!(null==(r=n.children)?void 0:r.length)?"pointer":"default"}),class:o.normalizeClass(["final-menu",n.route&&!(null==(a=n.children)?void 0:a.length)?"":"has-child"]),onClick:o.withModifiers((t=>e.openMenuRouteAndRecord(n)),["self"])},o.toDisplayString(n.label),15,$t),n.isColl&&n.route&&!(null==(s=n.children)?void 0:s.length)?(o.openBlock(),o.createElementBlock("i",{key:0,onClick:o.withModifiers((t=>e.collect(n)),["stop"]),class:"fa-solid fa-star star-color"},null,8,Xt)):n.isColl||n.id!==e.sysItemId||!n.route||(null==(c=n.children)?void 0:c.length)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("i",{key:1,onClick:o.withModifiers((t=>e.collect(n)),["stop"]),class:"fa-regular fa-star star-o-color"},null,8,Zt))],40,Kt)):o.createCommentVNode("",!0),n.children&&n.isValue?(o.openBlock(),o.createElementBlock("div",Qt,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.children,((n,i)=>{var r,a,s;return o.openBlock(),o.createElementBlock("div",{key:i},[n.isValue?(o.openBlock(),o.createElementBlock("div",{key:0,class:"final-menu-item",onMouseenter:t=>e.addSys(n.id),onMouseleave:t[3]||(t[3]=(...t)=>e.cancelSys&&e.cancelSys(...t))},[o.createElementVNode("div",{style:o.normalizeStyle({cursor:n.route&&!(null==(r=n.children)?void 0:r.length)?"pointer":"default"}),class:"final-menu",onClick:o.withModifiers((t=>e.openMenuRouteAndRecord(n)),["self"])},o.toDisplayString(n.label),13,to),n.isColl&&n.route&&!(null==(a=n.children)?void 0:a.length)?(o.openBlock(),o.createElementBlock("i",{key:0,onClick:o.withModifiers((t=>e.collect(n)),["stop"]),class:"fa-solid fa-star star-color"},null,8,oo)):n.isColl||n.id!==e.sysItemId||!n.route||(null==(s=n.children)?void 0:s.length)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("i",{key:1,onClick:o.withModifiers((t=>e.collect(n)),["stop"]),class:"fa-regular fa-star star-o-color"},null,8,no))],40,eo)):o.createCommentVNode("",!0)])})),128))])):o.createCommentVNode("",!0)])})),128))])):o.createCommentVNode("",!0)],40,qt)):o.createCommentVNode("",!0)],64)})),128))])):o.createCommentVNode("",!0)]))])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0)}]]);
/*!
   * vue-router v4.6.4
   * (c) 2025 Eduardo San Martin Morote
   * @license MIT
   */
let po=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});po.MATCHER_NOT_FOUND,po.NAVIGATION_GUARD_REDIRECT,po.NAVIGATION_ABORTED,po.NAVIGATION_CANCELLED,po.NAVIGATION_DUPLICATED;const mo=Symbol(""),fo=Symbol("");function ho(){return o.inject(mo)}(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({}).Static;const go={class:"ui-header"},vo={class:"startup-bar"},bo={class:"popup-menu"},yo={key:0,class:"menu-bar"},xo={key:0,class:"search-bar"},ko=["src"],wo={key:1,class:"pup-pop-login"},Co={class:"login-box zc-flex-col-sb"},Eo={class:"form-box zc-flex-col"},No={class:"account-box"},Bo={class:"pwd-box"},Ao=o.defineComponent({name:"ui-header",props:{data:Array,hasSearch:{type:Boolean,default:!1},hasBreadcrumb:{type:Boolean,default:!0}},emits:["on-search"],setup(e,{emit:t}){const i=n(),r=ho(),a=o.ref(),s=o.ref();He.get("token")?a.value=He.get("logined"):a.value=0;const c=o.reactive({account:"",pwd:""}),l=()=>{let e={account:c.account,password:c.pwd,type:0};xt.loginPlate(e).then((e=>{let t=e.data;if(1===e.code){localStorage.setItem("userInfo",JSON.stringify(t)),localStorage.setItem("token",t.token),document.cookie="token="+t.token+"; path=/",He.set("logined",1);let o=location.href.split("#")[1];s.value.message.success(e.msg),setTimeout((()=>{r.push(o)})),location.reload()}else s.value.message.error(e.msg),console.log(e.msg)})).catch((e=>{s.value.message.error(e.msg),console.log(e)}))},u=()=>{location.href=He.getComponentConfig().loginUrl},d=t,p=o.reactive({showMenu:!1,mainMenus:[],keyword:"",userName:"",avater:""});He.getComponentConfig(),o.computed((()=>i.menuPath));const m=o.computed((()=>p.avater&&"null"!==p.avater?p.avater:"https://wx.zcun.com/service/dfs/5,010b15e8cd198c")),f=()=>{a.value=0},h=()=>{const e=Object.assign({},He.getComponentConfig());if(!e.loginUrl)throw"请配置退出路径";xt.logOut({}).then((t=>{if(1!==t.code)throw"退出失败";document.cookie="",He.clearCookies(),e.clear(),setTimeout((()=>{window.location.replace(e.loginUrl)}),1500)})).catch((t=>{throw setTimeout((()=>{window.location.replace(e.loginUrl)}),1500),t}))},g=e=>{13===e.keyCode&&d("on-search",p.keyword)},v=()=>{p.showMenu=!p.showMenu},b=()=>{p.showMenu=!p.showMenu};return o.onMounted((async function(){let e=await xt.getUserInfo({}).then((function(e){return[e,null]})).catch((function(e){return[null,e]}));null!==e[0]&&1===e[0].code&&(p.userName=e[0].data.userName,e[0].data.avatar&&"null"!==e[0].data.avatar&&(p.avater=window.location.protocol+"//"+window.location.host+"/"+e[0].data.avatar))})),(t,n)=>{const i=uo,r=St,d=Nt,y=gt,x=mt,k=ut,w=st;return o.openBlock(),o.createElementBlock("div",go,[o.createElementVNode("div",vo,[o.createElementVNode("div",{class:"logo-bar",onClick:v},[o.createElementVNode("i",{class:o.normalizeClass(["fa",p.showMenu?"fa-times fa-2x":"fa-bars fa-2x"])},null,2)]),o.createElementVNode("div",bo,[o.createVNode(i,{show:p.showMenu,onClose:b},null,8,["show"])]),e.hasBreadcrumb?(o.openBlock(),o.createElementBlock("div",yo,[o.createVNode(r)])):o.createCommentVNode("",!0)]),e.hasSearch?(o.openBlock(),o.createElementBlock("div",xo,[o.withDirectives(o.createElementVNode("input",{type:"search","onUpdate:modelValue":n[0]||(n[0]=e=>p.keyword=e),placeholder:"请输入搜索关键字",onKeypress:g},null,544),[[o.vModelText,p.keyword]])])):o.createCommentVNode("",!0),o.createVNode(k,null,{default:o.withCtx((()=>[o.renderSlot(t.$slots,"default"),o.createVNode(y,null,{default:o.withCtx((()=>[o.createVNode(d)])),_:1}),o.createVNode(x),o.createVNode(y,null,{default:o.withCtx((()=>[o.createElementVNode("img",{class:"avater",src:m.value},null,8,ko),o.createTextVNode(" "+o.toDisplayString(p.userName),1)])),_:1}),o.createVNode(x),o.createVNode(y,null,{default:o.withCtx((()=>[o.createElementVNode("a",{href:"javascript:void(0)",onClick:f},"登录")])),_:1}),o.createVNode(x),o.createVNode(y,null,{default:o.withCtx((()=>[o.createElementVNode("a",{href:"javascript:void(0)",onClick:h},"退出")])),_:1})])),_:3}),a.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",wo,[o.createElementVNode("div",Co,[n[5]||(n[5]=o.createElementVNode("div",{class:"top-box"},[o.createElementVNode("div",{class:"top-box-left"},"账号登录"),o.createElementVNode("div",{class:"top-box-right"},"授权已过期，请重新登录")],-1)),o.createElementVNode("div",Eo,[o.createElementVNode("div",No,[o.withDirectives(o.createElementVNode("input",{type:"text","onUpdate:modelValue":n[1]||(n[1]=e=>c.account=e),class:"account",placeholder:"请输入账号"},null,512),[[o.vModelText,c.account]]),n[3]||(n[3]=o.createElementVNode("img",{class:"custom-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAZBJREFUWEftlr1LxEAQxd+YwGGlgpbinyBY+1FcoSBY2IqIIMymSXvNgaBW2h0k7B4IiteLxaGNiB+9hbWllRZqI4HzRgIGDrnIrhiuydaP9355mR2WMOBDf8mPomjS9/0DAMsAOiLSFpFaEARPrn7OAHEcj3medw9g6kfYY5IkM2EYvrtAOANoretEtJsTUmPm/UIBjDFnAFb6hYjIqVJqtWiAIwAbOQCHSqmtQgGazeaiiFz0CREAVWa+KhQgNTfG7ACoA8hmqCsi20qpPZfwVOs8hFmA1noawBIRpV9+zswPruHOAI1GY6JSqfi/BSVJ0gnD8NkWxroBrXWLiNYsjVvMvG6jtQYwxnwCGLIxFZGuUsqz0boApP/a+jCzlbeV6HvyS4CygbKBgTfwCmDEchG8MfOojdZlD6Tvv3S9VgGM55i/ALgEcMLM7X8FyMyMMbcAZnPM75h5ziY401g3UAKUDZQN9DxGr4lovt9VE5EbpdRCoddQa70JICKi4d4gEfkgooCZjwsFcDG30X4BV0C4IVK7H5gAAAAASUVORK5CYII=",alt:""},null,-1))]),o.createElementVNode("div",Bo,[o.withDirectives(o.createElementVNode("input",{type:"password","onUpdate:modelValue":n[2]||(n[2]=e=>c.pwd=e),class:"password",placeholder:"请输入密码",onKeyup:o.withKeys(l,["enter"])},null,544),[[o.vModelText,c.pwd]]),n[4]||(n[4]=o.createElementVNode("img",{class:"custom-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAuJJREFUWEftlkloFEEUhv9XzSBqXBIVzUlF8CaiguJyUAhBMDdxEMSDkumqTnAXjzJ6UxPBMKS7WuLAHBQy4EEM4sIYUMGLC4LiyRU0oDMkXgzjTD9pSaAzZnYzuVjH6tf//71X9aqKMMuDZtkf/wHqroBt25uFEG3MvArAOBG9B3BHSvm2kuWtGcBxnPVEpAFsmcaImXmIiLqllJ9KgdQE4DjObiK6CWBumSy/EVG7aZovi8VVDeC67lpmfgagqZISA/hiGMa6zs7OzHTxVQNorW8D2FMg9hzAPQCLAOwDsDT4nYiumKZ5vG6AWCy2MhQKvQMgJsWYuUcpdQYA+3OxWGxJKBS6D2BDIOZHS0vLsnA4nC2EqKoCtm0fFEIkAiIfm5ub14TD4XxQ2Lbt7UKIx8G5fD6/taur62ldAFprP9MLAZGklDJcKBqNRkVra6ufrRGowl6llL9xp4yqKqC1PgrgSkD0iVJqR6FoPB5fkc1mvxbMd0gph+oCcF13PzPfCIh4QoidkUjkUVDYcZw+IjoSnPM8b7VlWR/qAnAcxyWiSIHIGICoEOKu53kLAUgAh4IxzPxCKbWxri7QWvttdBmo/gJj5mnX3weqaA/UYw4gLqU8XOzQKgugtT4BoLdS2ICRfx9cHRkZ6Y5Go7maABzHOUlEPUXM3zDzZyJaDsC/CRdPmIwDGCaiXtM0HxQznpwvWgGt9SkAl4plzsztSin/xPszEonE/Ewm0zQ6OpoulXFFXeC67mlmvliq7J7n7bIsa7hchuW+/1UB27Y7hBC3ipjnPc9rAzCWSqVeJZPJKUdwObOK2lBrfa2wjwMn30+l1LxajCrehK7rnmXmcwU/vPY87zyA75ZlpWYUYGBgYEEul3sIYFPA6LqU8sC/NC7ZBf39/c2GYfgPj20TgX1SymMNA/CNBgcHjXQ67b925xiG4b9yfzUUYCbMKuqCRhmXPQkbBVL2MpppkFkH+A1/ZgUwKjHqZAAAAABJRU5ErkJggg==",alt:""},null,-1))])]),o.createElementVNode("div",{class:"operate"},[o.createElementVNode("div",{class:"login-btn",onClick:l},"登录"),o.createElementVNode("div",{class:"cancel-btn",onClick:u},"取消")])])])),o.createVNode(w,{ref_key:"toastRef",ref:s},null,512)])}}});const Vo=o.defineComponent({name:"cc-tree-menu-item",props:{menu:{type:Object,default:{}}},setup:()=>({store:n()}),data:()=>({list:[],localMenu:[],curRoutePath:"",urlRoute:""}),computed:{midId(){return this.store.menuId},getMenuList(){return this.store.menuList},getList(){return this.store.tagsList},drawer(){return this.store.menuDrawer},hasTurnOnLevel(){return this.getConfig().hasOnLevel}},created(){He.get("custom-menu")||this.setBreadcrumb()},mounted(){this.curRoutePath=this.$route.path,this.localMenu=He.get("custom-menu"),this.localMenu&&this.localMenu.forEach((e=>{e.route===this.curRoutePath&&this.store.saveMenuId(e.id)})),this.urlRoute=He.query("url")||"",this.menu.children&&this.menu.children.length?this.menu.children.forEach((e=>{e.route===this.urlRoute&&this.menuTap(e.id,e)})):this.menu.route===this.urlRoute&&this.menuTap(this.menu.id,this.menu)},methods:{childNodeMenu(e){this.hasTurnOnLevel&&(e.checked=!e.checked)},menuTap(e,t){let o=window.event;if(1!==t.type&&t.route)if(o.ctrlKey){let e=location.href.split("#")[0]+"#"+t.route;window.open(e)}else{this.store.saveMenuId(e),this.$router.push(`${t.route}`);let o=this.findNode(this.getMenuList,(e=>e.id===t.id),[]);if(this.store.changeCurrentMenuPath(o),He.set("custom-menu",o),!this.getConfig().hasTagsView)return;this.getSideMenu(t)}},setBreadcrumb(){let e=this.getMenuList[0],t=[];t=[{id:e.id,label:e.label,route:e.route,type:e.type}],this.store.changeCurrentMenuPath(t)},findNode(e,t,o){if(!e)return[];for(const n of e){let e={id:n.id,label:n.label,route:n.route,type:n.type};if(o.push(e),t(n))return o;if(n.children){const e=this.findNode(n.children,t,o);if(e.length)return e}o.pop()}return[]},getConfig:()=>Object.assign({},He.getComponentConfig()),jsonUnique(e,t){let o=new Map;for(let n of e)o.has(n[t])||o.set(n[t],n);return e=[...o.values()]},getSideMenu(e){this.list=this.getList;let t=[];t.push(e),this.list=this.list.concat(t),this.list=this.jsonUnique(this.list,"id"),this.store.setTagsList(this.list),this.store.setTagId(e.id)}}}),So={class:"cc-tree-menu-item"},Lo=["onClick"],Mo={key:0},Io={key:0,class:"item-right"},Oo={key:0,class:"fa fa-angle-up icon-up"},Ro={key:1,class:"fa fa-angle-down icon-down"};var To=$e(Vo,[["render",function(e,t,n,i,r,a){const s=o.resolveComponent("cc-tree-menu-item",!0);return o.openBlock(),o.createElementBlock("div",So,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.menu.children,((t,n)=>(o.openBlock(),o.createElementBlock("div",{class:"item",key:n},[t.isValue?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["sub-item",t.type>2&&e.midId===t.id?"item-active":""]),onClick:o=>t.route?e.menuTap(t.id,t):e.childNodeMenu(t)},[o.createElementVNode("div",{class:"item-left",style:o.normalizeStyle({justifyContent:e.drawer?"":"center"})},[e.drawer?(o.openBlock(),o.createElementBlock("span",Mo,o.toDisplayString("  ".repeat(6===t.type?t.type-3:t.type-1)),1)):o.createCommentVNode("",!0),o.createElementVNode("i",{class:o.normalizeClass([`${t.icon}`,"menu-icon"])},null,2),e.drawer?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle({fontWeight:t.type<=2?"bold":"normal"})},o.toDisplayString(t.label),5)):o.createCommentVNode("",!0)],4),e.drawer&&e.hasTurnOnLevel&&t.type<=3&&t.children&&t.children.length>0?(o.openBlock(),o.createElementBlock("div",Io,[t.checked?(o.openBlock(),o.createElementBlock("i",Oo)):(o.openBlock(),o.createElementBlock("i",Ro))])):o.createCommentVNode("",!0)],10,Lo)):o.createCommentVNode("",!0),e.hasTurnOnLevel?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t.children&&t.isValue&&t.checked?(o.openBlock(),o.createBlock(s,{key:0,menu:t},null,8,["menu"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.children&&t.isValue?(o.openBlock(),o.createBlock(s,{key:0,menu:t},null,8,["menu"])):o.createCommentVNode("",!0)],64))])))),128))])}]]);const Do=o.defineComponent({name:"cc-tree-menu",props:{menu:{type:Array,default:[]}},computed:{menus(){return this.menu}}}),zo={class:"cc-tree-menu"},jo={key:0},Uo={style:{"font-weight":"bold"}};var Fo=$e(Do,[["render",function(e,t,n,i,r,a){const s=To;return o.openBlock(),o.createElementBlock("div",zo,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.menus,((e,t)=>(o.openBlock(),o.createElementBlock("div",{class:"menu",key:t},[e.isValue?(o.openBlock(),o.createElementBlock("div",jo,[o.createElementVNode("i",{class:o.normalizeClass([`${e.icon}`,"menu-icon"])},null,2),o.createElementVNode("span",Uo,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),e.children&&e.isValue?(o.openBlock(),o.createBlock(s,{key:1,menu:e},null,8,["menu"])):o.createCommentVNode("",!0)])))),128))])}],["__scopeId","data-v-5b13b476"]]);const Po=o.defineComponent({name:"ui-sidebar",props:{hasSidebar:{type:Boolean,default:!0},hasSidebarIcon:{type:Boolean,default:!1}},setup:()=>({store:n()}),data:()=>({subMenus:[],sildebarMenu:[],isExpand:!0,urlRoute:""}),mounted(){this.store.setSystolic(!0),this.getSildebarMenu(),this.urlRoute=He.query("url")||""},methods:{getConfig:()=>Object.assign({},He.getComponentConfig()),findNode(e,t,o){if(!e)return[];for(const n of e){let e={...n};if(o.push(e),t(n))return o;if(n.children){const e=this.findNode(n.children,t,o);if(e.length)return e}o.pop()}return[]},addCheckField(e){e.checked=e.type<=(this.getConfig().openLevel||3);let t=[];if(3===e.type||6===e.type){let o=this.findNode(this.sildebarMenu,(e=>e.route===this.urlRoute),[]);o&&o.length&&o.forEach((e=>{t.push(e.id)})),t.includes(e.id)&&(e.checked=!0)}this.$emit("update-router",this.sildebarMenu),this.store.setMenuList(this.sildebarMenu),e.children&&e.children.length>0&&e.children.forEach((e=>{this.addCheckField(e)}))},getSildebarMenu(){xt.getMenuList({code:this.getConfig().platformCode}).then((e=>{if(1!==e.code)throw e.msg;this.sildebarMenu=e.data,this.sildebarMenu&&this.sildebarMenu.length&&(this.getConfig().hasOnLevel&&this.sildebarMenu.forEach((e=>{this.addCheckField(e)})),this.$emit("update-router",this.sildebarMenu),this.store.setMenuList(this.sildebarMenu))}))},leftAction(){this.isExpand=!this.isExpand,this.store.setSystolic(this.isExpand)}}}),_o={key:0,class:"fa fa-angle-double-left","aria-hidden":"true"},qo={key:1,class:"fa fa-angle-double-right","aria-hidden":"true"};var Go=$e(Po,[["render",function(e,t,n,i,r,a){const s=Fo;return e.hasSidebar?(o.openBlock(),o.createElementBlock("div",{key:0,class:"ui-sidebar",style:o.normalizeStyle({width:e.isExpand?"240px":"80px"})},[o.createVNode(s,{menu:e.sildebarMenu},null,8,["menu"]),e.hasSidebarIcon?(o.openBlock(),o.createElementBlock("div",{key:0,class:"ui-sidebar-action",onClick:t[0]||(t[0]=(...t)=>e.leftAction&&e.leftAction(...t)),style:o.normalizeStyle({left:e.isExpand?"240px":"80px"})},[e.isExpand?(o.openBlock(),o.createElementBlock("i",_o)):(o.openBlock(),o.createElementBlock("i",qo))],4)):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)}],["__scopeId","data-v-13bfcfac"]]);const Jo=o.defineComponent({name:"ui-tags-nav",setup(){const e=n(),t=ho();o.inject(fo);const i=o.computed((()=>e.menuDrawer)),r=o.computed((()=>e.menuList)),a=o.ref(""),s=o.ref([]),c=o.ref(!1),l=o.ref(""),u=(t,o)=>{if(a.value=t.id,e.setTagId(t.id),e.saveMenuId(t.id),1!==t.type){let o=d(r.value,(e=>e.id===t.id),[]);e.changeCurrentMenuPath(o),He.set("custom-menu",o)}},d=(e,t,o)=>{if(!e)return[];for(const n of e){let e={id:n.id,label:n.label,route:n.route,type:n.type};if(o.push(e),t(n))return o;if(n.children){const e=d(n.children,t,o);if(e.length)return e}o.pop()}return[]},p=o.computed((()=>e.tagsList)),m=o.computed((()=>e.tagId));o.watch(m,((t,o)=>{e.setTagId(t),a.value=t})),o.watch(p,((t,o)=>{e.setTagsList(t),s.value=t})),o.watch(a,((e,t)=>{a.value=e})),o.onMounted((()=>{}));return{store:e,tagWight:i,tagId:a,tagsList:s,tabsClick:u,delTabs:(o,n)=>{s.value.splice(n,1),e.setTagsList(s.value);let i=n-1<0?0:n-1;const r=s.value[i];u(r),t.push(r.route)},hasCloseIcon:c,showIcon:e=>{c.value=!0,l.value=e},hidIcon:e=>{c.value=!1,l.value=e},iconId:l}}}),Wo={class:"ui-tags"},Yo=["onMouseover","onMouseleave","onClick"],Ho=["onClick"];var Ko=$e(Jo,[["render",function(e,t,n,i,r,a){const s=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:"ui-tags-nav",style:o.normalizeStyle({width:e.tagWight?"calc(100% - 240px)":"calc(100% - 40px)",left:e.tagWight?"240px":"40px"})},[o.createElementVNode("div",Wo,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tagsList,((n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["ui-tags-nav-items",e.tagId==n.id?"tags-active":""]),onMouseover:t=>e.showIcon(n.id),onMouseleave:t=>e.hidIcon(n.id),onClick:t=>e.tabsClick(n,i)},[o.createVNode(s,{class:"item",to:n.route?n.route:""},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(n.label),1)])),_:2},1032,["to"]),e.hasCloseIcon&&e.tagsList.length>1&&n.id===e.iconId?(o.openBlock(),o.createElementBlock("div",{key:0,class:"ui-tags-icon",onClick:o.withModifiers((t=>e.delTabs(n,i)),["stop"])},[...t[0]||(t[0]=[o.createElementVNode("img",{style:{width:"16px",height:"16px"},src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAk1JREFUWEfNlz9oFEEUxr9vSiEGUUuJWgiijWhho5W1omIigvYKad8eaKlw864UtLeQxBhBayttLIw2BsHCv6WREEXLfTLn7rH3Z3fnzjty0x335n2/nXlv5hsicnjvZ5xzZ8xswcwOkdwDYHc2/YeZbZD8QHI5TdPnSZL8iknNuiDv/WGSiwAuA9hVF5/9vwlgyczuJknyvmpOJYD3/rZzbtHMdkYKd4WR/JmmaYC4VTa/FEBVXwA4NYrwgDkvReT0oFwDAVT1O4Cwx+McGyKytzdhH4CqfgKwf5zKhVyfReRAMXcXgKo+AnBpQuJ52hURmc9/dABCwZG8OWHxdnozu5MXZhsgtJpz7tWo1T4sdNYdJ0OLtgFU9R6A6zWJ1gAcjxSLib0vIjfYbDZnnXNfAMxWJF8XkaOqGuoj1EnVmBeRFVV9B+BIReBWmqZz9N5fJfkg4svyxFUQMTEdKTO7RlV9DOBiBEAIqRIYSjzTWw0r8IbksUiAMohRxEM3vA0r8BXAviEAeiGQ7XlMffTKfAsAvwHsGBKgA5F10SjiYeqfqQDY3i2YhiJcArAQWQPjbsNltlqt82b2JAIgptViYjpSJC+Ec2CGZDiKq/zemoicGPIofl1zd2ya2dwwl9F6zdleXMSY2H+X0VRcxxnE9hmSfO3G7ITL6rrLIQ8ypZNwxDlMnzMus+WTcMZ9jjhQVT1MxumQu5xwcW+m92mWUxYep1dqfGPxw7YAPPzvx2kxYzCvJM+SPGdmB0ue5x/N7KmZPWs0GgGidvwFKwha8W6Cjv4AAAAASUVORK5CYII="},null,-1)])],8,Ho)):o.createCommentVNode("",!0)],42,Yo)))),256))])],4)}]]);const $o=o.defineComponent({name:"cc-tree-item",props:{data:Object},setup:()=>({store:n()}),data:()=>({isExpand:!0,list:[]}),computed:{getMenuList(){return this.store.menuList},drawer(){return this.store.menuDrawer},getList(){return this.store.tagsList}},created(){He.get("custom-menu")||this.setBreadcrumb()},methods:{setBreadcrumb(){let e,t=this.getMenuList[0];e=[{label:t.label,route:t.route,type:t.type}],this.store.changeCurrentMenuPath(e)},findNode(e,t,o){if(!e)return[];for(const n of e){let e={label:n.label,route:n.route,type:n.type};if(o.push(e),t(n))return o;if(n.children){const e=this.findNode(n.children,t,o);if(e.length)return e}o.pop()}return[]},expandMenu(e){1===e.type&&(this.isExpand=!this.isExpand)},getConfig:()=>Object.assign({},He.getComponentConfig()),setMenu(e){if(1!==e.type){let t=this.findNode(this.getMenuList,(t=>t.id===e.id),[]);if(this.store.changeCurrentMenuPath(t),He.set("custom-menu",t),e.route){if(!this.getConfig().hasTagsView)return;this.getSideMenu(e)}}},jsonUnique(e,t){let o=new Map;for(let n of e)o.has(n[t])||o.set(n[t],n);return e=[...o.values()]},getSideMenu(e){this.list=this.getList;let t=[];t.push(e),this.list=this.list.concat(t),this.list=this.jsonUnique(this.list,"id"),this.store.setTagsList(this.list),this.store.setTagId(e.id)}}}),Xo={key:0},Zo={key:0};var Qo=$e($o,[["render",function(e,t,n,i,r,a){const s=o.resolveComponent("router-link"),c=o.resolveComponent("cc-tree-item",!0);return o.openBlock(),o.createElementBlock("div",null,[null!=e.data?(o.openBlock(),o.createElementBlock("div",Xo,[o.createElementVNode("div",{class:o.normalizeClass("cc-tree-item lv-"+e.data.type)},[o.createElementVNode("div",{class:"title",onClick:t[1]||(t[1]=t=>e.expandMenu(e.data))},[o.createElementVNode("span",null,[o.createTextVNode(o.toDisplayString("　".repeat(e.data.type-1))+" ",1),o.createVNode(s,{onClick:t[0]||(t[0]=t=>e.setMenu(e.data)),to:e.data.route&&e.data.type>2?`${e.data.route}`:""},{default:o.withCtx((()=>[o.createElementVNode("i",{class:o.normalizeClass([`${e.data.icon}`,"menu-icon"])},null,2),e.drawer?(o.openBlock(),o.createElementBlock("span",{key:0,style:o.normalizeStyle({fontWeight:3===e.data.type?"normal":"bold"})},o.toDisplayString(e.data.label),5)):o.createCommentVNode("",!0)])),_:1},8,["to"])]),1===e.data.type&&e.data.children.length>0&&e.drawer?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(["fa",e.isExpand?"fa-angle-up":"fa-angle-down"])},null,2)):o.createCommentVNode("",!0)]),e.isExpand?(o.openBlock(),o.createElementBlock("div",Zo,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.data.children,(e=>(o.openBlock(),o.createElementBlock("div",{class:"item",key:e.id},[o.createVNode(c,{data:e},null,8,["data"])])))),128))])):o.createCommentVNode("",!0)],2)])):o.createCommentVNode("",!0)])}]]);const en=o.defineComponent({name:"cc-tree",props:{data:Array}}),tn={class:"cc-tree"};var on=$e(en,[["render",function(e,t,n,i,r,a){const s=Qo;return o.openBlock(),o.createElementBlock("div",tn,[e.data&&e.data.length>0?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.data,((e,t)=>(o.openBlock(),o.createBlock(s,{class:"item",key:t,data:e},null,8,["data"])))),128)):o.createCommentVNode("",!0)])}]]);const nn=o.defineComponent({name:"cc-sidebar-menu",props:{data:{type:Array,default:[]}}}),rn={class:"cc-sidebar-menu"},an={class:"sidebar"};var sn=$e(nn,[["render",function(e,t,n,i,r,a){const s=on;return o.openBlock(),o.createElementBlock("div",rn,[o.createElementVNode("div",an,[o.createVNode(s,{data:e.data},null,8,["data"])])])}]]);const cn=o.defineComponent({name:"cc-modal",props:{show:{type:Boolean,default:!1},size:{type:Array,default:["80%","80vh"]}},data:()=>({}),mounted(){},watch:{},methods:{}}),ln={class:"cc-modal"},un={class:"cc-modal-title"};var dn=$e(cn,[["render",function(e,t,n,i,r,a){return o.withDirectives((o.openBlock(),o.createElementBlock("div",ln,[o.createElementVNode("div",{class:"cc-modal-box",style:o.normalizeStyle({width:`${e.size[0]}`,height:`${e.size[1]}`})},[o.createElementVNode("div",un,[o.renderSlot(e.$slots,"default")]),o.createElementVNode("div",{class:"cc-modale-container",style:o.normalizeStyle({height:`calc(${e.size[1]} - 40px)`})},null,4)],4)],512)),[[o.vShow,e.show]])}]]);var pn=new class{getFlowData(e,t){return Je.get("/ims/employee/wxOA/web/flow",{params:{spNo:e,spStatus:t}})}};const mn=o.defineComponent({name:"wx-oa-flow",props:{spNo:{type:String,default:""},spStatus:{type:String,default:""},height:{type:String,default:"100%"},hiddenHeader:{type:Boolean,default:!1}},data(){return{visible:!1,oaNodeData:this.defaultData()}},computed:{},watch:{spNo(e,t){this.init()}},mounted(){},created(){this.init()},methods:{init(){this.oaNodeData=this.defaultData(),this.spNo&&(this.visible=!1,this.changeHeight(),this.initOaFlowData(this.spNo,this.spStatus))},defaultData:()=>({active:0,applyTime:"",size:0,spStatus:"",nodeList:[{prop:"other",title:"无审批记录",spStatusName:"",approverattr:"",nodeData:[{name:"",spStatus:"",speech:"",date:""}]}],verify:{code:1,msg:"未处理",data:null}}),initOaFlowData(e,t){pn.getFlowData(e,t).then((e=>{1===e.data.code?(this.oaNodeData=e.data.data,this.visible=!0,console.log(this.oaNodeData.nodeList)):console.error("获取流程图失败："+e.data.msg)}))},changeHeight(){let e=document.getElementById("wx-oa-body");e&&e.setAttribute("style","height:"+this.height)}}}),fn={class:"wx-oa-flow"},hn={class:"wx-oa-header"},gn={class:"wx-oa-body",id:"wx-oa-body"},vn={class:"putOnRecord"},bn={key:0},yn={class:"putOnRecord_p"},xn={key:1},kn={class:"putOnRecord_p"},wn={key:0,class:"putOnRecordLA"};var Cn=$e(mn,[["render",function(e,t,n,i,r,a){const s=o.resolveComponent("a-col"),c=o.resolveComponent("a-row"),l=o.resolveComponent("a-step"),u=o.resolveComponent("a-steps");return o.openBlock(),o.createElementBlock("div",fn,[o.withDirectives(o.createElementVNode("div",hn,[o.renderSlot(e.$slots,"header",{},(()=>[t[0]||(t[0]=o.createElementVNode("span",null,"企业微信审批详情",-1))]))],512),[[o.vShow,e.visible||!e.hiddenHeader]]),o.renderSlot(e.$slots,"body",{},(()=>[o.withDirectives(o.createElementVNode("div",gn,[o.createVNode(u,{direction:"vertical",current:e.oaNodeData.active,class:"box"},{default:o.withCtx((()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.oaNodeData.nodeList,((e,n)=>(o.openBlock(),o.createBlock(l,{key:"nodeList-"+n},{description:o.withCtx((({text:n})=>[o.createElementVNode("div",null,[o.createElementVNode("div",vn,[t[4]||(t[4]=o.createElementVNode("div",{class:"arrow"},null,-1)),o.createElementVNode("div",null,["other"===e.prop?(o.openBlock(),o.createElementBlock("div",bn,[o.createElementVNode("div",yn,[o.createElementVNode("p",null,o.toDisplayString(e.title),1)])])):(o.openBlock(),o.createElementBlock("div",xn,[o.createElementVNode("div",kn,[o.createElementVNode("p",null,o.toDisplayString(e.title+"  "+e.spStatusName),1),o.createElementVNode("p",null,o.toDisplayString(e.approverattr),1)]),e.nodeData?(o.openBlock(),o.createElementBlock("div",wn,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.nodeData,((n,i)=>(o.openBlock(),o.createBlock(c,{style:{"border-top":"1px solid #dfe6ec"},key:e.title+"_"+i},{default:o.withCtx((()=>[o.createVNode(s,{span:2},{default:o.withCtx((()=>[...t[1]||(t[1]=[o.createTextVNode("姓名",-1)])])),_:1}),o.createVNode(s,{span:4},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(n.name),1)])),_:2},1024),o.createVNode(s,{span:3},{default:o.withCtx((()=>[...t[2]||(t[2]=[o.createTextVNode("审批时间",-1)])])),_:1}),o.createVNode(s,{span:5},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(n.date),1)])),_:2},1024),o.createVNode(s,{span:3},{default:o.withCtx((()=>[...t[3]||(t[3]=[o.createTextVNode("审批备注",-1)])])),_:1}),o.createVNode(s,{span:7},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(n.speech),1)])),_:2},1024)])),_:2},1024)))),128))])):o.createCommentVNode("",!0)]))])])])])),_:2},1024)))),128))])),_:1},8,["current"])],512),[[o.vShow,e.visible]])]))])}]]);const En=Ke,Nn=[Ao,Go,Ko,sn,uo,on,Qo,Fo,To,St,Nt,dn,ut,gt,mt,Cn,st],Bn=e=>{Nn.map((t=>{e.component(t.name,t)}))};"undefined"!=typeof window&&window.Vue&&Bn(window.Vue);var An={version:En,install:Bn,ConfigManager:He};e.CcBreadcrumb=St,e.CcInfoBar=ut,e.CcInfoItem=gt,e.CcMenu=uo,e.CcModal=dn,e.CcRecentlyVisited=Nt,e.CcSidebarMenu=sn,e.CcSplit=mt,e.CcTree=on,e.CcTreeItem=Qo,e.CcTreeMenu=Fo,e.CcTreeMenuItem=To,e.ConfigManager=He,e.UiHeader=Ao,e.UiSidebar=Go,e.UiTagsNav=Ko,e.UiToast=st,e.WxOaFlow=Cn,e.default=An,e.install=Bn,e.version=En,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
