(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0630ba26"],{"028b":function(e,t,s){"use strict";s("0a70")},"06c2":function(e,t,s){"use strict";s("8c0c")},"097d":function(e,t,s){"use strict";s("ec3f")},"0985":function(e,t,s){},"0a70":function(e,t,s){},"10fb":function(e,t,s){e.exports=s.p+"static/img/logo.66bee2dc.gif"},"11e3":function(e,t,s){"use strict";s("a971")},"15d1":function(e,t,s){"use strict";s("865b")},3027:function(e,t,s){"use strict";s("7270")},"42c7":function(e,t,s){"use strict";s("8021")},"48b1":function(e,t,s){},"4c1f":function(e,t,s){"use strict";var i=s("1b69");t.a={list:(e,t)=>Object(i.a)("admin/versionlist",e,"post",t)}},"51d7":function(e,t,s){},"583c":function(e,t,s){"use strict";s("e60c")},"653b":function(e,t,s){"use strict";s("a947")},"6cae":function(e,t,s){"use strict";s("8caa")},7270:function(e,t,s){},7600:function(e,t,s){"use strict";s("ea09")},8021:function(e,t,s){},"865b":function(e,t,s){},"8c0c":function(e,t,s){},"8caa":function(e,t,s){},"93bf":function(e,t,s){ /*! * screenfull * v4.2.0 - 2019-04-01 * (c) Sindre Sorhus; MIT License */ !function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},s=e.exports,i="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,a=function(){for(var e,s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,a=s.length,n={};ie.meta&&e.meta.title),t=e.filter(e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb);t[0]&&t[0].path?this.active=this.mainList.findIndex(e=>e.path===t[0].path):this.active=-1}}},u=(s("d361"),Object(n.a)(h,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"mainMenu"},e._l(e.mainList,(function(t,i){return s("router-link",{key:"mainMenu"+i,class:{activeLink:e.active===i},attrs:{to:t.child}},[e._v(e._s(t.meta.title))])})),1)}),[],!1,null,"0ee40714",null).exports),a={data(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size(){return this.$store.getters.size}},methods:{handleSetSize(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView(){this.$store.dispatch("tagsView/delAllCachedViews",this.$route);const{fullPath:e}=this.$route;this.$nextTick(()=>{this.$router.replace({path:"/redirect"+e})})}}},h=Object(n.a)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[s("div",[s("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return s("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)}),[],!1,null,null,null).exports,s("4c1f")),f=(a=s("9f53"),s("5f87"));u={components:{mainMenu:u,Hamburger:d,Screenfull:r,SizeSelect:h},computed:{...Object(o.b)(["sidebar","avatar","device"])},mixins:[a.a],data(){return{showModel:!1,loading:!1,isShow:!0,statsTime:0,endTime:0,checked:!1,lastNotice:null,parmValue:{type:"",page:1,size:15},activeMsg:null}},mounted(){this.openNotice(1)},methods:{async openNotice(e){Object(f.d)()&&0this.statsTime&&e{var e=this.getThemeCluster(v.replace("#",""));e=this.updateStyle(this[i],e,n);let t=document.getElementById(a);t||(t=document.createElement("style"),t.setAttribute("id",a),document.head.appendChild(t)),t.innerText=e});c();const o=[].slice.call(document.querySelectorAll("style")).filter(e=>(e=e.innerText,new RegExp(t,"i").test(e)&&!/Chalk Variables/.test(e)));o.forEach(e=>{var{innerText:t}=e;"string"==typeof t&&(e.innerText=this.updateStyle(t,l,n))}),this.$emit("change",e),r.close()}}},methods:{updateStyle(e,t,s){let i=e;return t.forEach((e,t)=>{i=i.replace(new RegExp(e,"ig"),s[t])}),i},getCSSString(e,t){return new Promise(s=>{const i=new XMLHttpRequest;i.onreadystatechange=()=>{4===i.readyState&&200===i.status&&(this[t]=i.responseText.replace(/@font-face{[^}]+}/,""),s())},i.open("GET",e),i.send()})},getThemeCluster(e){const t=[e];for(let s=0;s<=9;s++)t.push(((e,t)=>{let s=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16);return 0===t?[s,i,a].join(","):(s+=Math.round(t*(255-s)),i+=Math.round(t*(255-i)),a+=Math.round(t*(255-a)),s=s.toString(16),i=i.toString(16),a=a.toString(16),`#${s}${i}${a}`)})(e,Number((s/10).toFixed(2))));return t.push(((e,t)=>{let s=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16);return s=Math.round((1-t)*s),i=Math.round((1-t)*i),a=Math.round((1-t)*a),s=s.toString(16),i=i.toString(16),a=a.toString(16),`#${s}${i}${a}`})(e,.1)),t}}},s("06c2"),h={components:{ThemePicker:Object(n.a)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})}),[],!1,null,null,null).exports},data(){return{}},computed:{fixedHeader:{get(){return this.$store.state.settings.fixedHeader},set(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get(){return this.$store.state.settings.tagsView},set(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get(){return this.$store.state.settings.sidebarLogo},set(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})}}},s("653b"),a=Object(n.a)(h,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"drawer-container"},[t("div",[t("h3",{staticClass:"drawer-title"},[e._v("页面样式设置")]),t("div",{staticClass:"drawer-item"},[t("span",[e._v("主题颜色")]),t("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1),t("div",{staticClass:"drawer-item"},[t("span",[e._v("页面标签")]),t("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),t("div",{staticClass:"drawer-item"},[t("span",[e._v("固定头部")]),t("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),t("div",{staticClass:"drawer-item"},[t("span",[e._v("侧边栏图标")]),t("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1)])])}),[],!1,null,"7dd2664b",null).exports,u={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data(){return{title:"采销平台订单系统",logo:s("10fb")}}},s("3027"),r=Object(n.a)(u,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[t("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?t("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/welcome/dashboard"}},[t("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title))])]):t("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/welcome/dashboard"}},[t("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title))])])],1)],1)}),[],!1,null,"76ab538b",null).exports,h=s("cf1e");var b=s.n(h),w=(u={components:{Logo:r},data(){return{active:-1,menuList:[]}},computed:{...Object(o.b)(["navList","sidebar"]),activeMenu(){const{path:e}=this.$route;let t=e.split("/");return this.menuList.findIndex(e=>e.path===t[t.length-1])+""},showLogo(){return!0},variables(){return b.a},isCollapse(){return!1}},watch:{$route(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created(){this.getBreadcrumb()},methods:{getBreadcrumb(){var e=this.$route.matched.filter(e=>e.meta&&e.meta.title);let t=-1;if(1e.path===s)}t!==this.active&&(this.menuList=this.navList[t].children,this.active=t)}}},h=Object(n.a)(u,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:{"has-logo":e.showLogo}},[e.showLogo?s("logo",{attrs:{collapse:e.isCollapse}}):e._e(),s("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e.menuList&&0t===e),s=n[t-1],t=(t=n[t+1]).$el.offsetLeft+t.$el.offsetWidth+4,s=s.$el.offsetLeft-4,t>a.scrollLeft+i?a.scrollLeft=t-i:s{var i;e.meta&&e.meta.affix&&(i=w.a.resolve(t,e.path),s.push({fullPath:i,path:i,name:e.name,meta:{...e.meta}})),!e.children||1<=(e=this.filterAffixTags(e.children,e.path)).length&&(s=[...s,...e])}),s},initTags(){for(const e of this.affixTags=this.filterAffixTags(this.routes))e.name&&this.$store.dispatch("tagsView/addVisitedView",e)},addTags(){var{name:e}=this.$route;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag(){const e=this.$refs.tag;this.$nextTick(()=>{for(const t of e)if(t.to.path===this.$route.path){this.$refs.scrollPane.moveToTarget(t),t.to.fullPath!==this.$route.fullPath&&this.$store.dispatch("tagsView/updateVisitedView",this.$route);break}})},refreshSelectedTag(e){this.$store.dispatch("tagsView/delCachedView",e).then(()=>{const{fullPath:t}=e;this.$nextTick(()=>{this.$router.replace({path:"/redirect"+t})})})},closeSelectedTag(e){this.$store.dispatch("tagsView/delView",e).then(({visitedViews:t})=>{this.isActive(e)&&this.toLastView(t,e)})},closeOthersTags(){window.vm.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then(()=>{this.moveToCurrentTag()})},closeAllTags(e){this.$store.dispatch("tagsView/delAllViews").then(({visitedViews:t})=>{this.affixTags.some(t=>t.path===e.path)||this.toLastView(t,e)})},toLastView(e,t){e=e.slice(-1)[0],e?window.vm.$router.push(e.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):window.vm.$router.push("/welcome/dashboard")},openMenu(e,t){var s=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth-105;s=t.clientX-s+15;this.left=ie.app.sidebar,device:e=>e.app.device,showSettings:e=>e.settings.showSettings,needTagsView:e=>e.settings.tagsView,fixedHeader:e=>e.settings.fixedHeader}),classObj(){return{hideSidebar:!1,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:!1}}},methods:{handleClickOutside(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},s("7600"),o=Object(n.a)(o,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"app-wrapper",class:e.classObj},[t("sidebar",{staticClass:"sidebar-container"}),t("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[t("div",{class:{"fixed-header":e.fixedHeader}},[t("navbar"),e.needTagsView?t("tags-view"):e._e()],1),t("app-main")],1)],1)}),[],!1,null,"08575d37",null),t.default=o.exports},cf1e:function(e,t,s){e.exports={menuText:"azure",menuActiveText:"#076c87",subMenuActiveText:"#076c87",menuBg:"#63cbe7",menuHover:"#63cbe7",subMenuBg:"#7ad3eb",subMenuHover:"#7ad3eb",sideBarWidth:"200px"}},cfaa:function(e,t,s){"use strict";s("0985")},d361:function(e,t,s){"use strict";s("51d7")},e4a6:function(e,t,s){},e60c:function(e,t,s){},ea09:function(e,t,s){},ec3f:function(e,t,s){},fab5:function(e,t,s){"use strict";s("48b1")}}]);