(function(e){function t(t){for(var a,i,r=t[0],c=t[1],l=t[2],u=0,d=[];u-1}},reverse:{type:Boolean,default:!0}},computed:{enterAnimate:function(){return this.activeClass(!1)},leaveAnimate:function(){return this.activeClass(!0)}},methods:{activeClass:function(e){var t=this,n=_.a.find((function(e){return t.animate==e.name}));if(void 0==n)return"";var a="";a=void 0==this.direction?n.directions[0]:n.directions.find((function(e){return e==t.direction})),a=void 0==a||"default"===a?"":a,""!=a&&(a=e&&this.reverse?this.reversePosition(a,n.directions):a,a=a[0].toUpperCase()+a.substring(1));var i=e?"Out":"In";return n.name+i+a},reversePosition:function(e,t){if(0==e.length||"x"==e||"y"==e)return e;var n=t.indexOf(e);return n=n%2==1?n-1:n+1,t[n]}}},O=S,L=(n("39be"),Object(p["a"])(O,C,w,!1,null,null,null)),$=L.exports,P={name:"PageView",components:{PageToggleTransition:$,PageLayout:j["a"]},data:function(){return{path:"",desc:"",linkList:[],extraImage:""}},computed:Object(o["a"])({title:function(){var e=this.path.substring(1).replace(new RegExp("/","g"),".")+".name";return this.$t(e)}},Object(h["c"])("setting",["multiPage","animate","routesI18n"])),created:function(){var e=this,t=this.routesI18n;Object.keys(t).forEach((function(n){e.$i18n.mergeLocaleMessage(n,t[n])}))},mounted:function(){this.getPageHeaderInfo()},updated:function(){this.getPageHeaderInfo()},methods:{getPageHeaderInfo:function(){this.path=this.$route.path;var e=this.$refs.page;e&&(this.desc=e.desc,this.linkList=e.linkList,this.extraImage=e.extraImage)}}},M=P,z=(n("784d"),Object(p["a"])(M,k,y,!1,null,"7b67a2ed",null)),E=z.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?n("keep-alive",[n("router-view")],1):n("router-view")],1)},A=[],T={name:"RouteView",components:{PageToggleTransition:$},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate"]))},N=T,D=Object(p["a"])(N,I,A,!1,null,"2860d8b4",null),K=D.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("global-layout",[n("contextmenu",{attrs:{itemList:e.menuItemList,visible:e.menuVisible},on:{"update:visible":function(t){e.menuVisible=t},select:e.onMenuSelect}}),e.multiPage?n("a-tabs",{style:"margin: -16px auto 8px; "+("head"==e.layout?"max-width: 1400px;":""),attrs:{"active-key":e.activePage,"hide-add":!0,type:"editable-card"},on:{change:e.changePage,edit:e.editPage},nativeOn:{contextmenu:function(t){return function(t){return e.onContextmenu(t)}(t)}}},e._l(e.pageList,(function(t){return n("a-tab-pane",{key:t.fullPath},[n("span",{attrs:{slot:"tab",pagekey:t.fullPath},slot:"tab"},[e._v(e._s(t.name))])])})),1):e._e(),n("div",{staticClass:"menu-view-content"},[n("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?n("keep-alive",[n("router-view")],1):n("router-view")],1)],1)],1)},B=[],q=(n("4de4"),n("fb6a"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-layout",{class:["global-layout",e.fixedSideBar?"fixed-side-bar":""]},[e.isMobile?n("drawer",{attrs:{openDrawer:e.collapsed},on:{change:e.onDrawerChange}},[n("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:!1,collapsible:!1},on:{menuSelect:e.onMenuSelect}})],1):"side"===e.layout?n("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:e.collapsed,collapsible:!0}}):e._e(),n("drawer",{attrs:{"open-drawer":e.showSetting,placement:"right"},on:{change:e.onSettingDrawerChange}},[n("div",{staticClass:"setting",attrs:{slot:"handler"},slot:"handler"},[n("a-icon",{attrs:{type:e.showSetting?"close":"setting"}})],1),n("setting")],1),n("a-layout",{staticClass:"global-layout-main beauty-scroll"},[n("global-header",{style:e.headerStyle,attrs:{menuData:e.menuData,collapsed:e.collapsed},on:{toggleCollapse:e.toggleCollapse}}),e.fixedHeader?n("a-layout-header"):e._e(),n("a-layout-content",{staticClass:"global-layout-content"},[n("div",{style:"min-height: "+e.minHeight+"px; position: relative"},[e._t("default")],2)]),n("a-layout-footer",{staticStyle:{padding:"0px"}},[n("global-footer",{attrs:{"link-list":e.footerLinks,copyright:e.copyright}})],1)],1)],1)}),U=[],R=(n("99af"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout-header",{class:[e.headerTheme,"global-header"]},[a("div",{class:["global-header-wide",e.layout]},[e.isMobile||"head"===e.layout?a("router-link",{class:["logo",e.isMobile?null:"pc",e.headerTheme],attrs:{to:"/"}},[a("img",{attrs:{width:"32",src:n("4ffd")}}),e.isMobile?e._e():a("h1",[e._v(e._s(e.systemName))])]):e._e(),e.isMobile?a("a-divider",{attrs:{type:"vertical"}}):e._e(),"side"===e.layout?a("a-icon",{staticClass:"trigger",attrs:{type:e.collapsed?"menu-unfold":"menu-fold"},on:{click:e.toggleCollapse}}):e._e(),"head"!=e.layout||e.isMobile?e._e():a("div",{staticClass:"global-header-menu"},[a("i-menu",{staticStyle:{height:"64px","line-height":"64px"},attrs:{i18n:e.menuI18n,theme:e.headerTheme,mode:"horizontal",options:e.menuData},on:{i18nComplete:e.setRoutesI18n,select:e.onSelect}})],1),a("div",{class:["global-header-right",e.headerTheme]},[a("header-search",{staticClass:"header-item"}),a("a-tooltip",{staticClass:"header-item",attrs:{title:"帮助文档",placement:"bottom"}},[a("a",[a("a-icon",{attrs:{type:"question-circle-o"}})],1)]),a("header-notice",{staticClass:"header-item"}),a("header-avatar",{staticClass:"header-item"}),a("a-dropdown",{staticClass:"lang header-item"},[a("div",[a("a-icon",{attrs:{type:"global"}}),e._v(" "+e._s(e.langAlias)+" ")],1),a("a-menu",{attrs:{slot:"overlay","selected-keys":[e.lang]},on:{click:function(t){return e.setLang(t.key)}},slot:"overlay"},e._l(e.langList,(function(t){return a("a-menu-item",{key:t.key},[e._v(e._s(t.key.toLowerCase()+" "+t.name))])})),1)],1)],1)],1)])}),F=[],V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search"},[n("a-icon",{staticClass:"search-icon",attrs:{type:"search"},on:{click:e.enterSearchMode}}),n("a-auto-complete",{ref:"input",class:["search-input",e.searchMode?"enter":"leave"],attrs:{dataSource:e.dataSource,placeholder:"站内搜索"},on:{blur:e.leaveSearchMode}})],1)},W=[],G={name:"HeaderSearch",data:function(){return{dataSource:["选项一","选项二"],searchMode:!1}},methods:{enterSearchMode:function(){var e=this;this.searchMode=!0,setTimeout((function(){return e.$refs.input.focus()}),300)},leaveSearchMode:function(){this.searchMode=!1}}},J=G,X=(n("bf50"),Object(p["a"])(J,V,W,!1,null,null,null)),Y=X.exports,Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-dropdown",{attrs:{trigger:["click"]},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[n("div",{attrs:{slot:"overlay"},slot:"overlay"},[n("a-spin",{attrs:{spinning:e.loading}},[n("a-tabs",{staticClass:"dropdown-tabs",style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[n("a-tab-pane",{key:"1",attrs:{tab:"通知"}},[n("a-list",{staticClass:"tab-pane"},[n("a-list-item",[n("a-list-item-meta",{attrs:{title:"你收到了 14 份新周报",description:"一年前"}},[n("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1),n("a-list-item",[n("a-list-item-meta",{attrs:{title:"你推荐的 曲妮妮 已通过第三轮面试",description:"一年前"}},[n("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png"},slot:"avatar"})],1)],1),n("a-list-item",[n("a-list-item-meta",{attrs:{title:"这种模板可以区分多种通知类型",description:"一年前"}},[n("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png"},slot:"avatar"})],1)],1)],1)],1),n("a-tab-pane",{key:"2",attrs:{tab:"消息"}},[n("a-list",{staticClass:"tab-pane"})],1),n("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[n("a-list",{staticClass:"tab-pane"})],1)],1)],1)],1),n("span",{staticClass:"header-notice",on:{click:e.fetchNotice}},[n("a-badge",{attrs:{count:"12"}},[n("a-icon",{class:["header-notice-icon"],attrs:{type:"bell"}})],1)],1)])},Q=[],ee={name:"HeaderNotice",data:function(){return{loading:!1,show:!1}},computed:{},methods:{fetchNotice:function(){var e=this;this.loading?this.loading=!1:(this.loadding=!0,setTimeout((function(){e.loadding=!1}),1e3))}}},te=ee,ne=(n("90df"),Object(p["a"])(te,Z,Q,!1,null,"84f76c70",null)),ae=ne.exports,ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-dropdown",[n("div",{staticClass:"header-avatar",staticStyle:{cursor:"pointer"}},[n("a-avatar",{staticClass:"avatar",attrs:{size:"small",shape:"circle",src:e.user.avatar}}),n("span",{staticClass:"name"},[e._v(e._s(e.user.name))])],1),n("a-menu",{class:["avatar-menu"],attrs:{slot:"overlay"},slot:"overlay"},[n("a-menu-item",[n("a-icon",{attrs:{type:"user"}}),n("span",[e._v("个人中心")])],1),n("a-menu-item",[n("a-icon",{attrs:{type:"setting"}}),n("span",[e._v("设置")])],1),n("a-menu-divider"),n("a-menu-item",[n("router-link",{attrs:{to:"/login"}},[n("a-icon",{attrs:{type:"poweroff"}}),n("span",[e._v("退出登录")])],1)],1)],1)],1)},se=[],oe={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["weekMode"])),Object(h["c"])("account",["user"]))},re=oe,ce=(n("a5d6"),Object(p["a"])(re,ie,se,!1,null,null,null)),le=ce.exports,ue=(n("1276"),n("55f1")),de=n("0c63"),he=(n("6db9"),ue["a"].Item),me=ue["a"].SubMenu,fe={name:"IMenu",i18n:{},props:{options:{type:Array,required:!0},theme:{type:String,required:!1,default:"dark"},mode:{type:String,required:!1,default:"inline"},collapsed:{type:Boolean,required:!1,default:!1},i18n:Object},data:function(){return{openKeys:[],selectedKeys:[],cachedOpenKeys:[]}},computed:{rootSubmenuKeys:function(e){var t=[];return e.options.forEach((function(e){t.push(e.path)})),t}},beforeMount:function(){var e=this,t=this.generateI18n(new Object,this.options,"name"),n=this.generateI18n(new Object,this.options,"path");this.$i18n.setLocaleMessage("CN",t),this.$i18n.setLocaleMessage("US",n),this.i18n&&Object.keys(this.i18n).forEach((function(t){e.$i18n.mergeLocaleMessage(t,e.i18n[t])})),this.$emit("i18nComplete",this.$i18n._getMessages())},created:function(){this.updateMenu(),this.formatOptions(this.options,"")},watch:{collapsed:function(e){e?(this.cachedOpenKeys=this.openKeys,this.openKeys=[]):this.openKeys=this.cachedOpenKeys},$route:function(){this.updateMenu()}},methods:{renderIcon:function(e,t){return t&&"none"!=t?e(de["a"],{props:{type:t}}):null},renderMenuItem:function(e,t){return e(he,{key:t.fullPath},[e("a",{attrs:{href:"#"+t.fullPath}},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])])},renderSubMenu:function(e,t){var n=this,a=[e("span",{slot:"title"},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])],i=[];return t.children.forEach((function(t){i.push(n.renderItem(e,t))})),e(me,{key:t.fullPath},a.concat(i))},renderItem:function(e,t){var n=t.meta;if(!n||!n.invisible){var a=!1,i=t.children;if(void 0!=i)for(var s=0;s0?e.defaultValues.indexOf(this.value)>=0:this.sChecked,e.options.push(this))},methods:{toggle:function(){this.sChecked=!this.sChecked}}},Xe=Je,Ye=(n("1291"),Object(p["a"])(Xe,Ve,We,!1,null,"25af3dac",null)),Ze=Ye.exports,Qe=n("b311"),et=n.n(Qe),tt=n("9d12"),nt=n.n(tt),at=Fe["a"].Group,it=Ze.Group,st=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],ot={name:"Setting",i18n:n("d87f"),components:{ImgCheckboxGroup:it,ImgCheckbox:Ze,ColorCheckboxGroup:at,ColorCheckbox:Fe["a"],SettingItem:Re},data:function(){return{animate:this.$store.state.setting.animate.name,direction:this.$store.state.setting.animate.direction,themeColorIndex:[st.indexOf(this.$store.state.setting.themeColor)],colors:st}},computed:Object(o["a"])({directions:function(){var e=this;return this.animates.find((function(t){return t.name==e.animate})).directions}},Object(h["c"])("setting",["animates","multiPage","weekMode","fixedHeader","fixedSideBar"])),methods:Object(o["a"])({onColorChange:function(e,t){if(t.length>0){var n=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),a=this;nt.a.changeThemeColor(t[0]).then((function(){a.setThemeColor(t[0]),n()}))}},copyCode:function(){var e=new et.a("#copyBtn"),t=this;e.on("success",(function(){t.$message.success("复制成功"),e.destroy()}))},setAnimate:function(e,t){void 0==t&&(this.direction=this.directions[0]),this.setAnimate({name:this.animate,direction:this.direction})}},Object(h["b"])("setting",["setTheme","setThemeColor","setLayout","setMultiPage","setWeekMode","setFixedSideBar","setFixedHeader","setAnimate"]))},rt=ot,ct=(n("5f66"),Object(p["a"])(rt,Ne,De,!1,null,"27942bb7",null)),lt=ct.exports,ut=window.innerHeight-64-24-122,dt=[],ht={name:"GlobalLayout",components:{Setting:lt,SiderMenu:Te,Drawer:Pe,GlobalFooter:xe,GlobalHeader:ve},data:function(){return{minHeight:ut,collapsed:!1,menuData:dt,showSetting:!1}},provide:function(){return{layoutMinHeight:ut,menuI18n:n("08e1").default}},computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["isMobile","theme","layout","footerLinks","copyright","fixedHeader","fixedSideBar"])),{},{sideMenuWidth:function(){return this.collapsed?"80px":"256px"},headerStyle:function(){var e=this.fixedHeader&&"side"==this.layout&&!this.isMobile?"calc(100% - ".concat(this.sideMenuWidth,")"):"100%",t=this.fixedHeader?"fixed":"static",n=this.fixedHeader?"transition: width 0.2s":"";return"width: ".concat(e,"; position: ").concat(t,"; ").concat(n)}}),methods:{toggleCollapse:function(){this.collapsed=!this.collapsed},onDrawerChange:function(e){this.collapsed=e},onMenuSelect:function(){this.toggleCollapse()},onSettingDrawerChange:function(e){this.showSetting=e}},beforeCreate:function(){dt=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},mt=ht,ft=(n("dd88"),Object(p["a"])(mt,q,U,!1,null,"1d4f48d6",null)),pt=ft.exports,gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:e.style,attrs:{selectedKeys:e.selectedKeys},on:{click:e.handleClick}},e._l(e.itemList,(function(t){return n("a-menu-item",{key:t.key},[t.icon?n("a-icon",{attrs:{role:"menuitemicon",type:t.icon}}):e._e(),e._v(e._s(t.text)+" ")],1)})),1)},bt=[],vt={name:"Contextmenu",props:{visible:{type:Boolean,required:!1,default:!1},itemList:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{left:0,top:0,target:null,selectedKeys:[]}},computed:{style:function(){return{left:this.left+"px",top:this.top+"px"}}},created:function(){var e=this;window.addEventListener("mousedown",(function(t){return e.closeMenu(t)})),window.addEventListener("contextmenu",(function(t){return e.setPosition(t)}))},methods:{closeMenu:function(e){["menuitemicon","menuitem"].indexOf(e.target.getAttribute("role"))<0&&this.$emit("update:visible",!1)},setPosition:function(e){this.left=e.clientX,this.top=e.clientY,this.target=e.target},handleClick:function(e){var t=e.key;this.$emit("select",t,this.target),this.$emit("update:visible",!1)}}},kt=vt,yt=(n("4635"),Object(p["a"])(kt,gt,bt,!1,null,"73dd8bda",null)),jt=yt.exports,Ct={name:"MenuView",components:{PageToggleTransition:$,Contextmenu:jt,GlobalLayout:pt},data:function(){return{pageList:[],linkList:[],activePage:"",menuVisible:!1,menuItemList:[{key:"1",icon:"arrow-left",text:"关闭左侧"},{key:"2",icon:"arrow-right",text:"关闭右侧"},{key:"3",icon:"close",text:"关闭其它"}]}},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate","layout"])),created:function(){this.pageList.push(this.$route),this.linkList.push(this.$route.fullPath),this.activePage=this.$route.fullPath},watch:{$route:function(e){this.activePage=e.fullPath,this.multiPage?this.linkList.indexOf(e.fullPath)<0&&(this.linkList.push(e.fullPath),this.pageList.push(e)):(this.linkList=[e.fullPath],this.pageList=[e])},activePage:function(){},multiPage:function(e){e||(this.linkList=[this.$route.fullPath],this.pageList=[this.$route])}},methods:{changePage:function(e){this.$router.push(e),this.activePage=e},editPage:function(e,t){this[t](e)},remove:function(e){if(1!==this.pageList.length){this.pageList=this.pageList.filter((function(t){return t.fullPath!==e}));var t=this.linkList.indexOf(e);this.linkList=this.linkList.filter((function(t){return t!==e})),t=t>=this.linkList.length?this.linkList.length-1:t,this.activePage=this.linkList[t]}else this.$message.warning("这是最后一页,不能再关闭了啦")},onContextmenu:function(e){var t=this.getPageKey(e.target);null!==t&&(e.preventDefault(),this.menuVisible=!0)},getPageKey:function(e,t){if(t=t||0,t>2)return null;var n=e.getAttribute("pagekey");return n=n||(e.previousElementSibling?e.previousElementSibling.getAttribute("pagekey"):null),n||(e.firstElementChild?this.getPageKey(e.firstElementChild,++t):null)},onMenuSelect:function(e,t){var n=this.getPageKey(t);switch(e){case"1":this.closeLeft(n);break;case"2":this.closeRight(n);break;case"3":this.closeOthers(n);break;default:break}},closeOthers:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t,t+1),this.pageList=this.pageList.slice(t,t+1),this.activePage=this.linkList[0]},closeLeft:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t),this.pageList=this.pageList.slice(t),this.linkList.indexOf(this.activePage)<0&&(this.activePage=this.linkList[0])},closeRight:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(0,t+1),this.pageList=this.pageList.slice(0,t+1),this.linkList.indexOf(this.activePage<0)&&(this.activePage=this.linkList[this.linkList.length-1])}}},wt=Ct,xt=(n("9ae1"),Object(p["a"])(wt,H,B,!1,null,"30cfd570",null)),_t=xt.exports,St=function(){var e=this,t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"container"},[i("div",{staticClass:"content"},[i("div",{staticClass:"top"},[i("div",{staticClass:"header"},[i("img",{staticClass:"logo",attrs:{alt:"logo",src:n("4ffd")}}),i("span",{staticClass:"title"},[t._v(t._s(t.systemName))])]),i("div",{staticClass:"desc"},[t._v("Ant Design 是西湖区最具影响力的 Web 设计规范")])]),i("div",{staticClass:"login"},[i("a-form",{attrs:{autoFormCreate:function(t){return e.form=t}},on:{submit:t.onSubmit}},[i("a-tabs",{staticStyle:{padding:"0 2px"},attrs:{size:"large",tabBarStyle:{textAlign:"center"}}},[i("a-tab-pane",{key:"1",attrs:{tab:"账户密码登录"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticStyle:{"margin-bottom":"24px"},attrs:{type:"error",closable:!0,message:t.error,showIcon:""}}),i("a-form-item",{attrs:{fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入账户名",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"admin"}},[i("a-icon",{attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-item",{attrs:{fieldDecoratorId:"password",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入密码",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"888888",type:"password"}},[i("a-icon",{attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1),i("a-tab-pane",{key:"2",attrs:{tab:"手机号登录"}},[i("a-form-item",[i("a-input",{attrs:{size:"large",placeholder:"mobile number"}},[i("a-icon",{attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),i("a-form-item",[i("a-row",{staticStyle:{margin:"0 -4px"},attrs:{gutter:8}},[i("a-col",{attrs:{span:16}},[i("a-input",{attrs:{size:"large",placeholder:"captcha"}},[i("a-icon",{attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-col",{staticStyle:{"padding-left":"4px"},attrs:{span:8}},[i("a-button",{staticClass:"captcha-button",staticStyle:{width:"100%"},attrs:{size:"large"}},[t._v("获取验证码")])],1)],1)],1)],1)],1),i("div",[i("a-checkbox",{attrs:{checked:!0}},[t._v("自动登录")]),i("a",{staticStyle:{float:"right"}},[t._v("忘记密码")])],1),i("a-form-item",[i("a-button",{staticStyle:{width:"100%","margin-top":"24px"},attrs:{loading:t.logging,size:"large",htmlType:"submit",type:"primary"}},[t._v("登录")])],1),i("div",[t._v(" 其他登录方式 "),i("a-icon",{staticClass:"icon",attrs:{type:"alipay-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"taobao-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"weibo-circle"}}),i("router-link",{staticStyle:{float:"right"},attrs:{to:"/dashboard/workplace"}},[t._v("注册账户")])],1)],1)],1)]),i("global-footer",{attrs:{"link-list":t.linkList,copyright:t.copyright}})],1)},Ot=[],Lt={name:"Login",components:{GlobalFooter:xe},data:function(){return{logging:!1,error:""}},computed:{systemName:function(){return this.$store.state.setting.systemName},linkList:function(){return this.$store.state.setting.footerLinks},copyright:function(){return this.$store.state.setting.copyright}},methods:{onSubmit:function(e){var t=this;e.preventDefault(),this.form.validateFields((function(e){e||(t.logging=!0,t.$axios.post("/login",{name:t.form.getFieldValue("name"),password:t.form.getFieldValue("password")}).then((function(e){t.logging=!1;var n=e.data;if(n.code>=0){var a=n.data.user;t.$router.push("/dashboard/workplace"),t.$store.commit("account/setUser",a),t.$message.success(n.message,3)}else t.error=n.message})))}))}}},$t=Lt,Pt=(n("ecc2"),Object(p["a"])($t,St,Ot,!1,null,"cdc79f34",null)),Mt=Pt.exports;a["a"].use(v["a"]);var zt=new v["a"]({routes:[{path:"/login",name:"登录页",component:Mt,invisible:!0},{path:"/",name:"首页",component:_t,redirect:"/login",children:[{path:"dashboard",name:"Dashboard",meta:{icon:"dashboard"},component:K,children:[{path:"workplace",name:"工作台",component:function(){return Promise.all([n.e("chunk-2d0d5f54"),n.e("chunk-ec7fb3ae")]).then(n.bind(null,"b87b"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([n.e("chunk-2d0d5f54"),n.e("chunk-9762f532")]).then(n.bind(null,"ccfa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:E,children:[{path:"basic",name:"基础表单",component:function(){return n.e("chunk-1ca14a27").then(n.bind(null,"6b9b"))}},{path:"step",name:"分步表单",component:function(){return n.e("chunk-e951f8d0").then(n.bind(null,"f8b4"))}},{path:"advance",name:"高级表单",component:function(){return n.e("chunk-7870c935").then(n.bind(null,"ae40d"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:E,children:[{path:"query",name:"查询表格",component:function(){return n.e("chunk-621f03fb").then(n.bind(null,"499e"))}},{path:"primary",name:"标准列表",component:function(){return n.e("chunk-700afcb8").then(n.bind(null,"71f9"))}},{path:"card",name:"卡片列表",component:function(){return n.e("chunk-50cd7af0").then(n.bind(null,"2c9e"))}},{path:"search",name:"搜索列表",component:function(){return n.e("chunk-124bd2ba").then(n.bind(null,"4a1f"))},children:[{path:"article",name:"文章",component:function(){return n.e("chunk-692d7471").then(n.bind(null,"ad3a"))}},{path:"application",name:"应用",component:function(){return n.e("chunk-01cc3bba").then(n.bind(null,"acf8"))}},{path:"project",name:"项目",component:function(){return n.e("chunk-db33661e").then(n.bind(null,"ad44"))}}]}]},{path:"details",name:"详情页",meta:{icon:"profile"},component:K,children:[{path:"basic",name:"基础详情页",component:function(){return n.e("chunk-358e3496").then(n.bind(null,"d7b9"))}},{path:"advance",name:"高级详情页",component:function(){return n.e("chunk-0e9e2ef0").then(n.bind(null,"4090"))}}]},{path:"result",name:"结果页",meta:{icon:"check-circle-o"},component:E,children:[{path:"success",name:"成功",component:function(){return n.e("chunk-19e27a4d").then(n.bind(null,"46d1"))}},{path:"error",name:"失败",component:function(){return n.e("chunk-7f562a38").then(n.bind(null,"2a9a"))}}]},{path:"exception",name:"异常页",meta:{icon:"warning"},component:K,children:[{path:"404",name:"404",component:function(){return n.e("chunk-348e74b1").then(n.bind(null,"a42a"))}},{path:"403",name:"403",component:function(){return n.e("chunk-6e9ce4d2").then(n.bind(null,"3f9a"))}},{path:"500",name:"500",component:function(){return n.e("chunk-aa48923e").then(n.bind(null,"5827"))}}]},{path:"components",name:"小组件",meta:{icon:"appstore-o"},component:E,children:[{path:"taskCard",name:"任务卡片",component:function(){return n.e("chunk-4836f8db").then(n.bind(null,"5f34"))}},{path:"palette",name:"颜色复选框",component:function(){return n.e("chunk-84f73964").then(n.bind(null,"e842"))}}]}]}]}),Et=(n("1ccf"),n("f23d")),It=n("3654"),At=n("bc3a"),Tt=n.n(At),Nt=n("96eb"),Dt=n.n(Nt),Kt=(n("d81d"),["https://gw.alipayobjects.com/zos/rmsportal/cnrhVkzwxjPwAaCfPbdc.png","https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png","https://gw.alipayobjects.com/zos/rmsportal/gaOngJwsRYRaVAuXXcmB.png","https://gw.alipayobjects.com/zos/rmsportal/WhxKECPNujWoWEFNdnJE.png","https://gw.alipayobjects.com/zos/rmsportal/ubnKSIfAJTxIgXOKlciN.png","https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png"]),Ht=[{CN:"Java工程师 | 蚂蚁金服-计算服务事业群-微信平台部",HK:"Java工程師 | 螞蟻金服-計算服務事業群-微信平台部",US:"Java engineer | Ant financial - Computing services business group - WeChat platform division"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-VUE平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-VUE平台",US:"Front-end engineer | Ant Financial - Computing services business group - VUE platform"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-REACT平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-REACT平台",US:"Front-end engineer | Ant Financial - Computing services business group - REACT platform"},{CN:"产品分析师 | 蚂蚁金服-计算服务事业群-IOS平台部",HK:"產品分析師 | 螞蟻金服-計算服務事業群-IOS平台部",US:"Product analyst | Ant Financial - Computing services business group - IOS platform division"}],Bt=["那是一种内在的东西,他们到达不了,也无法触及的","希望是一个好东西,也许是最好的,好东西是不会消亡的","城镇中有那么多的酒馆,她却偏偏走进了我的酒馆","那时候我只会想自己想要什么,从不想自己拥有什么"],qt=["https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png","https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png","https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png","https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png","https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"],Ut=["ICZER","JACK","LUIS","DAVID"],Rt=["高逼格设计天团","中二少女团","科学搬砖组","骗你学计算机","程序员日常"],Ft=[{name:"曲丽丽",avatar:Kt[0],groupId:0},{name:"付晓晓",avatar:Kt[1],groupId:0},{name:"林东东",avatar:Kt[2],groupId:1},{name:"周星星",avatar:Kt[3],groupId:2},{name:"朱偏右",avatar:Kt[4],groupId:3},{name:"勒个",avatar:Kt[5],groupId:4}],Vt=Rt.map((function(e,t){return{name:e,avatar:Kt[t]}})),Wt=Dt.a.Random,Gt=[{CN:"早上好",HK:"早晨啊",US:"Good morning"},{CN:"上午好",HK:"上午好",US:"Good morning"},{CN:"中午好",HK:"中午好",US:"Good afternoon"},{CN:"晚上好",HK:"晚上好",US:"Good evening"}],Jt=[{CN:"休息一会儿吧",HK:"休息一會兒吧",US:"you may need a break"},{CN:"准备吃什么呢",HK:"準備吃什麼呢",US:"what are you going to eat"},{CN:"要不要打一把 DOTA",HK:"要不要打一把 DOTA",US:"how about a game of DOTA"},{CN:"我猜你可能累了",HK:"我猜你可能累了",US:"i guess you might be tired"}];Wt.extend({admin:function(){return this.pick(Ut)},welcome:function(){return this.pick(Jt)},timeFix:function(){var e=new Date,t=e.getHours();return t<9?Gt[0]:t<=11?Gt[1]:t<=13?Gt[2]:t<=20?Gt[3]:Gt[4]},avatar:function(){return this.pick(Kt)},position:function(){return this.pick(Ht)},saying:function(){return this.pick(Bt)},logo:function(){return this.pick(qt)}});var Xt=Dt.a.mock({"list|2-10":[{name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@position"}]}).list;Dt.a.mock("/user/current","get",(function(){return Xt[0]}));var Yt=Dt.a.mock({"list|6":[{logo:"@LOGO",desc:"@SAYING"}]}).list;Dt.a.mock("/project","get",(function(){return Yt}));var Zt=Dt.a.mock({name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@POSITION"});Dt.a.mock("/login","post",(function(e){var t=e.body,n={},a=JSON.parse(t),i=a.name,s=a.password;return"admin"!==i||"888888"!==s?(n.code=-1,n.message="账户名或密码错误(admin/888888)"):(n.code=0,n.message=Dt.a.mock("@TIMEFIX").CN+",欢迎回来",n.data={},n.data.user=Zt),n}));var Qt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],en=Ft.map((function(e,t){return{user:Object.assign({},e,{group:Rt[e.groupId]}),activity:Qt[t%Qt.length],template:""}})),tn=[function(e,t){return"".concat(e.name," 在 ").concat(e.group," 新建项目 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 在 ").concat(e.group," 发布了 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 将 ").concat(t.event," 更新至已发布状态")}];en.forEach((function(e){e.template=tn[e.activity.type](e.user,e.activity)})),Dt.a.mock("/work/activity","get",(function(){return en})),Dt.a.mock("/work/team","get",(function(){return Vt})),Dt.a.setup({timeout:"300-600"});var nn=n("16b2"),an=new nn["a"]("adminDb"),sn={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,an.get("currUser").then((function(e){an.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;an.put({_id:"currUser",user:t})}))}}},on=n("f121"),rn=n.n(on),cn={namespaced:!0,state:Object(o["a"])(Object(o["a"])({isMobile:!1,animates:n("3148")},rn.a),{},{routesI18n:{}}),mutations:{setDevice:function(e,t){e.isMobile=t},setTheme:function(e,t){e.theme=t},setLayout:function(e,t){e.layout=t},setMultiPage:function(e,t){e.multiPage=t},setAnimate:function(e,t){e.animate=t},setThemeColor:function(e,t){e.themeColor=t},setWeekMode:function(e,t){e.weekMode=t},setFixedHeader:function(e,t){e.fixedHeader=t},setFixedSideBar:function(e,t){e.fixedSideBar=t},setLang:function(e,t){e.lang=t},setRoutesI18n:function(e,t){e.routesI18n=t}}};a["a"].use(h["a"]);var ln=new h["a"].Store({modules:{account:sn,setting:cn}}),un=(n("81ca"),n("a925")),dn={STATEMENTS:"s",PHRASAL:"p"},hn={install:function(e){e.mixin({methods:{$ta:function(e,t){var n=t||dn.STATEMENTS,a=e.split("|"),i=this,s=this.$i18n.locale,o="",r="US"==s?" ":"";return a.forEach((function(e){o+=i.$t(e)+r})),a.length>0&&n==dn.STATEMENTS&&"US"==s&&(o=o.charAt(0).toUpperCase()+o.toLowerCase().substring(1)),o}}})}},mn=hn,fn={install:function(e){e.use(mn)}},pn=fn;a["a"].prototype.$axios=Tt.a,a["a"].config.productionTip=!1,a["a"].use(It["a"]),a["a"].use(Et["a"]),a["a"].use(un["a"]),a["a"].use(pn);var gn=new un["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new a["a"]({router:zt,store:ln,i18n:gn,render:function(e){return e(b)},mounted:function(){var e=this,t=new nn["a"]("adminDb");t.get("currUser").then((function(t){e.$store.commit("account/setUser",t.user)}))}}).$mount("#app")},"59d6":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"theme-color",style:{backgroundColor:e.color},on:{click:e.toggle}},[e.sChecked?n("a-icon",{attrs:{type:"check"}}):e._e()],1)},i=[],s=(n("4de4"),n("4160"),n("c975"),n("a9e3"),n("d3b7"),n("159b"),n("ddb0"),{name:"ColorCheckboxGroup",props:{defaultValues:{type:Array,required:!1,default:function(){return[]}},multiple:{type:Boolean,required:!1,default:!1}},data:function(){return{values:[],options:[]}},computed:{colors:function(){var e=[];return this.options.forEach((function(t){t.sChecked&&e.push(t.color)})),e}},provide:function(){return{groupContext:this}},watch:{values:function(){this.$emit("change",this.values,this.colors)},defaultValues:function(e){this.multiple?this.options.forEach((function(t){t.sChecked=e.indexOf(t.value)>-1})):this.options.forEach((function(t){var n=e[0];t.sChecked=n&&n==t.value}))}},methods:{handleChange:function(e){e.checked?this.multiple?this.values.push(e.value):this.options.forEach((function(t){t.value!=e.value&&(t.sChecked=!1)})):this.values=this.values.filter((function(t){return t!==e.value}))}},render:function(e){var t=e("div",{attrs:{style:"clear: both"}});return e("div",{},[this.$slots.default,t])}}),o={name:"ColorCheckbox",Group:s,props:{color:{type:String,required:!0},value:{type:[String,Number],required:!0},checked:{type:Boolean,required:!1,default:!1}},data:function(){return{sChecked:this.initChecked()}},computed:{},inject:["groupContext"],watch:{sChecked:function(){var e={value:this.value,color:this.color,checked:this.sChecked};this.$emit("change",e);var t=this.groupContext;t&&t.handleChange(e)}},created:function(){var e=this.groupContext;e&&e.options.push(this)},methods:{toggle:function(){this.sChecked=!this.sChecked},initChecked:function(){var e=this.groupContext;return e?e.multiple?e.defaultValues.indexOf(this.value)>-1:e.defaultValues[0]==this.value:this.check}}},r=o,c=(n("f1b2"),n("0c7c")),l=Object(c["a"])(r,a,i,!1,null,"2f0f620e",null);t["a"]=l.exports},"5b37":function(e,t,n){},"5f66":function(e,t,n){"use strict";var a=n("9a38"),i=n.n(a);i.a},"6db9":function(e,t){Object.defineProperty(Object.prototype,"assignProps",{writable:!1,enumerable:!1,configurable:!0,value:function(e,t){for(var n=this,a=0;a .ant-steps-icon":case".ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon":return":not(.ant-steps-item-process)"+e;case".ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover":case".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal > .ant-menu-submenu-selected,.ant-menu-horizontal > .ant-menu-submenu:hover":return".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover";case".ant-menu-horizontal > .ant-menu-item-selected > a":case".ant-menu-horizontal>.ant-menu-item-selected>a":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item-selected > a";case".ant-menu-horizontal > .ant-menu-item > a:hover":case".ant-menu-horizontal>.ant-menu-item>a:hover":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item > a:hover";default:return e}}}},a14d:function(e,t,n){"use strict";var a=n("5b37"),i=n.n(a);i.a},a5d6:function(e,t,n){"use strict";var a=n("19d0"),i=n.n(a);i.a},ae26:function(e,t,n){},be7f:function(e,t,n){"use strict";var a=n("fb6c"),i=n.n(a);i.a},bf50:function(e,t,n){"use strict";var a=n("4b1d"),i=n.n(a);i.a},c3a0:function(e,t,n){},d1a0:function(e,t,n){"use strict";var a=n("c3a0"),i=n.n(a);i.a},d87f:function(e,t){e.exports={messages:{CN:{theme:{title:"整体风格设置",light:"亮色菜单风格",dark:"暗色菜单风格",color:"主题色"},navigate:{title:"导航设置",side:"侧边导航",head:"顶部导航",content:{title:"内容区域宽度",fluid:"流式",fixed:"定宽"},fixedHeader:"固定Header",fixedSideBar:"固定侧边栏"},other:{title:"其他设置",weekMode:"色弱模式",multiPages:"多页签模式"},animate:{title:"页面切换动画",effect:"动画效果",direction:"动画方向"},copy:"拷贝配置"},HK:{theme:{title:"整體風格設置",light:"亮色菜單風格",dark:"暗色菜單風格",color:"主題色"},navigate:{title:"導航設置",side:"側邊導航",head:"頂部導航",content:{title:"內容區域寬度",fluid:"流式",fixed:"定寬"},fixedHeader:"固定Header",fixedSideBar:"固定側邊欄"},other:{title:"其他設置",weekMode:"色弱模式",multiPages:"多頁簽模式"},animate:{title:"頁面切換動畫",effect:"動畫效果",direction:"動畫方向"},copy:"拷貝配置"},US:{theme:{title:"Page Style Setting",light:"Light Style",dark:"Dark Style",color:"Theme Color"},navigate:{title:"Navigation Mode",side:"Side Menu Layout",head:"Top Menu Layout",content:{title:"Content Width",fluid:"Fluid",fixed:"Fixed"},fixedHeader:"Fixed Header",fixedSideBar:"Fixed SideBar"},other:{title:"Other Setting",weekMode:"Week Mode",multiPages:"Multi Pages"},animate:{title:"Page Toggle Animation",effect:"Effect",direction:"Direction"},copy:"Copy Setting"}}}},dcef:function(e,t,n){},dd88:function(e,t,n){"use strict";var a=n("ae26"),i=n.n(a);i.a},ecc2:function(e,t,n){"use strict";var a=n("9b6c"),i=n.n(a);i.a},edd3:function(e,t,n){},f121:function(e,t){e.exports={lang:"CN",themeColor:"#1890ff",theme:"dark",layout:"side",fixedHeader:!1,fixedSideBar:!0,weekMode:!1,multiPage:!1,systemName:"Vue Antd Admin",copyright:"2018 ICZER 工作室出品",animate:{name:"bounce",direction:"left"},footerLinks:[{link:"https://pro.ant.design",name:"Pro首页"},{link:"https://github.com/iczer/vue-antd-admin",icon:"github"},{link:"https://ant.design",name:"Ant Design"}]}},f1b2:function(e,t,n){"use strict";var a=n("f8f9"),i=n.n(a);i.a},f8f9:function(e,t,n){},fb6c:function(e,t,n){},fd63:function(e,t,n){},ffda:function(e,t,n){}});