(function(e){function t(t){for(var n,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,a=C.a.find((function(e){return t.animate==e.name}));if(void 0==a)return"";var n="";n=void 0==this.direction?a.directions[0]:a.directions.find((function(e){return e==t.direction})),n=void 0==n||"default"===n?"":n,""!=n&&(n=e&&this.reverse?this.reversePosition(n,a.directions):n,n=n[0].toUpperCase()+n.substring(1));var i=e?"Out":"In";return a.name+i+n},reversePosition:function(e,t){if(0==e.length||"x"==e||"y"==e)return e;var a=t.indexOf(e);return a=a%2==1?a-1:a+1,t[a]}}},S=_,O=(a("39be"),Object(m["a"])(S,j,x,!1,null,null,null)),L=O.exports,$={name:"PageView",components:{PageToggleTransition:L,PageLayout:y["a"]},data:function(){return{title:"",desc:"",linkList:[],extraImage:""}},computed:Object(o["a"])({},Object(d["c"])("setting",["multiPage","animate"])),mounted:function(){this.getPageHeaderInfo()},updated:function(){this.getPageHeaderInfo()},methods:{getPageHeaderInfo:function(){this.title=this.$route.name;var e=this.$refs.page;e&&(this.desc=e.desc,this.linkList=e.linkList,this.extraImage=e.extraImage)}}},P=$,M=(a("37a7"),Object(m["a"])(P,v,k,!1,null,"25ed08f4",null)),I=M.exports,E=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)},z=[],D={name:"RouteView",components:{PageToggleTransition:L},computed:Object(o["a"])({},Object(d["c"])("setting",["multiPage","animate"]))},T=D,A=Object(m["a"])(T,E,z,!1,null,"2860d8b4",null),B=A.exports,K=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("global-layout",[a("contextmenu",{attrs:{itemList:e.menuItemList,visible:e.menuVisible},on:{"update:visible":function(t){e.menuVisible=t},select:e.onMenuSelect}}),e.multiPage?a("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 a("a-tab-pane",{key:t.fullPath},[a("span",{attrs:{slot:"tab",pagekey:t.fullPath},slot:"tab"},[e._v(e._s(t.name))])])})),1):e._e(),a("div",{staticClass:"menu-view-content"},[a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)],1)],1)},N=[],H=(a("4de4"),a("fb6a"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout",{class:["global-layout",e.fixedSideBar?"fixed-side-bar":""]},[e.isMobile?a("drawer",{attrs:{openDrawer:e.collapsed},on:{change:e.onDrawerChange}},[a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:!1,collapsible:!1},on:{menuSelect:e.onMenuSelect}})],1):"side"===e.layout?a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:e.collapsed,collapsible:!0}}):e._e(),a("drawer",{attrs:{"open-drawer":e.showSetting,placement:"right"},on:{change:e.onSettingDrawerChange}},[a("div",{staticClass:"setting",attrs:{slot:"handler"},slot:"handler"},[a("a-icon",{attrs:{type:e.showSetting?"close":"setting"}})],1),a("setting")],1),a("a-layout",{staticClass:"global-layout-main beauty-scroll"},[a("global-header",{style:e.headerStyle,attrs:{menuData:e.menuData,collapsed:e.collapsed},on:{toggleCollapse:e.toggleCollapse}}),e.fixedHeader?a("a-layout-header"):e._e(),a("a-layout-content",{staticClass:"global-layout-content"},[a("div",{style:"min-height: "+e.minHeight+"px; position: relative"},[e._t("default")],2)]),a("a-layout-footer",{staticStyle:{padding:"0px"}},[a("global-footer",{attrs:{"link-list":e.footerLinks,copyright:e.copyright}})],1)],1)],1)}),q=[],V=(a("99af"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-layout-header",{class:[e.headerTheme,"global-header"]},[n("div",{class:["global-header-wide",e.layout]},[e.isMobile||"head"===e.layout?n("router-link",{class:["logo",e.isMobile?null:"pc",e.headerTheme],attrs:{to:"/"}},[n("img",{attrs:{width:"32",src:a("4ffd")}}),e.isMobile?e._e():n("h1",[e._v(e._s(e.systemName))])]):e._e(),e.isMobile?n("a-divider",{attrs:{type:"vertical"}}):e._e(),"side"===e.layout?n("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():n("div",{staticClass:"global-header-menu"},[n("i-menu",{staticStyle:{height:"64px","line-height":"64px"},attrs:{i18n:e.menuI18n,theme:e.headerTheme,mode:"horizontal",options:e.menuData},on:{select:e.onSelect}})],1),n("div",{class:["global-header-right",e.headerTheme]},[n("header-search",{staticClass:"header-item"}),n("a-tooltip",{staticClass:"header-item",attrs:{title:"帮助文档",placement:"bottom"}},[n("a",[n("a-icon",{attrs:{type:"question-circle-o"}})],1)]),n("header-notice",{staticClass:"header-item"}),n("header-avatar",{staticClass:"header-item"}),n("a-dropdown",{staticClass:"lang header-item"},[n("div",[n("a-icon",{attrs:{type:"global"}})],1),n("a-menu",{attrs:{slot:"overlay","selected-keys":[e.lang]},on:{click:e.changeLang},slot:"overlay"},[n("a-menu-item",{key:"CN"},[n("span",[e._v("cn")]),e._v(" 简体中文")]),n("a-menu-item",{key:"HK"},[n("span",[e._v("hk")]),e._v(" 繁体中文")]),n("a-menu-item",{key:"US"},[n("span",[e._v("us")]),e._v(" English")])],1)],1)],1)],1)])}),R=[],F=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header-search"},[a("a-icon",{staticClass:"search-icon",attrs:{type:"search"},on:{click:e.enterSearchMode}}),a("a-auto-complete",{ref:"input",class:["search-input",e.searchMode?"enter":"leave"],attrs:{dataSource:e.dataSource,placeholder:"站内搜索"},on:{blur:e.leaveSearchMode}})],1)},W=[],U={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}}},G=U,X=(a("bf50"),Object(m["a"])(G,F,W,!1,null,null,null)),J=X.exports,Y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",{attrs:{trigger:["click"]}},[a("div",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-spin",{attrs:{spinning:e.loading}},[a("a-tabs",{style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[a("a-tab-pane",{key:"1",style:{padding:"0 24px"},attrs:{tab:"通知"}},[a("a-list",[a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你收到了 14 份新周报",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你推荐的 曲妮妮 已通过第三轮面试",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"这种模板可以区分多种通知类型",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png"},slot:"avatar"})],1)],1)],1)],1),a("a-tab-pane",{key:"2",attrs:{tab:"消息"}},[e._v(" 暂无消息 ")]),a("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[e._v(" 暂无待办 ")])],1)],1)],1),a("span",{staticClass:"header-notice",on:{click:e.fetchNotice}},[a("a-badge",{attrs:{count:"12"}},[a("a-icon",{class:["header-notice-icon"],attrs:{type:"bell"}})],1)],1)])},Z=[],Q={name:"HeaderNotice",data:function(){return{loading:!1}},computed:{},methods:{fetchNotice:function(){var e=this;this.loading?this.loading=!1:(this.loadding=!0,setTimeout((function(){e.loadding=!1}),1e3))}}},ee=Q,te=(a("818c"),Object(m["a"])(ee,Y,Z,!1,null,"5e64e67e",null)),ae=te.exports,ne=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",[a("div",{staticClass:"header-avatar",staticStyle:{cursor:"pointer"}},[a("a-avatar",{staticClass:"avatar",attrs:{size:"small",shape:"circle",src:e.user.avatar}}),a("span",{staticClass:"name"},[e._v(e._s(e.user.name))])],1),a("a-menu",{class:["avatar-menu"],attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",[a("a-icon",{attrs:{type:"user"}}),a("span",[e._v("个人中心")])],1),a("a-menu-item",[a("a-icon",{attrs:{type:"setting"}}),a("span",[e._v("设置")])],1),a("a-menu-divider"),a("a-menu-item",[a("router-link",{attrs:{to:"/login"}},[a("a-icon",{attrs:{type:"poweroff"}}),a("span",[e._v("退出登录")])],1)],1)],1)],1)},ie=[],se={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(d["c"])("setting",["weekMode"])),Object(d["c"])("account",["user"]))},oe=se,re=(a("a5d6"),Object(m["a"])(oe,ne,ie,!1,null,null,null)),ce=re.exports,le=(a("4160"),a("b64b"),a("4d63"),a("ac1f"),a("25f0"),a("5319"),a("1276"),a("159b"),a("55f1")),ue=a("0c63"),de=(a("6db9"),le["a"].Item),he=le["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"),a=this.generateI18n(new Object,this.options,"path");this.$i18n.setLocaleMessage("CN",t),this.$i18n.setLocaleMessage("US",a),this.i18n&&Object.keys(this.i18n).forEach((function(t){e.$i18n.mergeLocaleMessage(t,e.i18n[t])}))},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(ue["a"],{props:{type:t}}):null},renderMenuItem:function(e,t){return e(de,{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 a=this,n=[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(a.renderItem(e,t))})),e(he,{key:t.fullPath},n.concat(i))},renderItem:function(e,t){var a=t.meta;if(!a||!a.invisible){var n=!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=Ge,Je=(a("1291"),Object(m["a"])(Xe,Fe,We,!1,null,"25af3dac",null)),Ye=Je.exports,Ze=a("b311"),Qe=a.n(Ze),et=a("9d12"),tt=a.n(et),at=Re["a"].Group,nt=Ye.Group,it=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],st={name:"Setting",i18n:a("d87f"),components:{ImgCheckboxGroup:nt,ImgCheckbox:Ye,ColorCheckboxGroup:at,ColorCheckbox:Re["a"],SettingItem:Ve},data:function(){return{animate:this.$store.state.setting.animate.name,direction:this.$store.state.setting.animate.direction,themeColorIndex:[it.indexOf(this.$store.state.setting.themeColor)],colors:it}},computed:Object(o["a"])({directions:function(){var e=this;return this.animates.find((function(t){return t.name==e.animate})).directions}},Object(d["c"])("setting",["animates","multiPage","weekMode","fixedHeader","fixedSideBar"])),methods:Object(o["a"])({onColorChange:function(e,t){if(t.length>0){var a=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),n=this;tt.a.changeThemeColor(t[0]).then((function(){n.$store.commit("setting/setThemeColor",t[0]),a()}))}},copyCode:function(){var e=new Qe.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.$store.commit("setting/setAnimate",{name:this.animate,direction:this.direction})}},Object(d["b"])("setting",["setTheme","setLayout","setMultiPage","setWeekMode","setFixedSideBar","setFixedHeader"]))},ot=st,rt=(a("7a14"),Object(m["a"])(ot,Te,Ae,!1,null,"b99014ba",null)),ct=rt.exports,lt=window.innerHeight-64-24-122,ut=[],dt={name:"GlobalLayout",components:{Setting:ct,SiderMenu:De,Drawer:$e,GlobalFooter:we,GlobalHeader:be},data:function(){return{minHeight:lt,collapsed:!1,menuData:ut,showSetting:!1}},provide:function(){return{layoutMinHeight:lt,menuI18n:a("08e1").default}},computed:Object(o["a"])(Object(o["a"])({},Object(d["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",a=this.fixedHeader?"transition: width 0.2s":"";return"width: ".concat(e,"; position: ").concat(t,"; ").concat(a)}}),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(){ut=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},ht=dt,ft=(a("dd88"),Object(m["a"])(ht,H,q,!1,null,"1d4f48d6",null)),mt=ft.exports,pt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("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 a("a-menu-item",{key:t.key},[t.icon?a("a-icon",{attrs:{role:"menuitemicon",type:t.icon}}):e._e(),e._v(e._s(t.text)+" ")],1)})),1)},gt=[],bt={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)}}},vt=bt,kt=(a("4635"),Object(m["a"])(vt,pt,gt,!1,null,"73dd8bda",null)),yt=kt.exports,jt={name:"MenuView",components:{PageToggleTransition:L,Contextmenu:yt,GlobalLayout:mt},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(d["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 a=e.getAttribute("pagekey");return a=a||(e.previousElementSibling?e.previousElementSibling.getAttribute("pagekey"):null),a||(e.firstElementChild?this.getPageKey(e.firstElementChild,++t):null)},onMenuSelect:function(e,t){var a=this.getPageKey(t);switch(e){case"1":this.closeLeft(a);break;case"2":this.closeRight(a);break;case"3":this.closeOthers(a);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])}}},xt=jt,wt=(a("9ae1"),Object(m["a"])(xt,K,N,!1,null,"30cfd570",null)),Ct=wt.exports,_t=function(){var e=this,t=this,n=t.$createElement,i=t._self._c||n;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:a("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)},St=[],Ot={name:"Login",components:{GlobalFooter:we},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 a=e.data;if(a.code>=0){var n=a.data.user;t.$router.push("/dashboard/workplace"),t.$store.commit("account/setUser",n),t.$message.success(a.message,3)}else t.error=a.message})))}))}}},Lt=Ot,$t=(a("ecc2"),Object(m["a"])(Lt,_t,St,!1,null,"cdc79f34",null)),Pt=$t.exports;n["a"].use(b["a"]);var Mt=new b["a"]({routes:[{path:"/login",name:"登录页",component:Pt,invisible:!0},{path:"/",name:"首页",component:Ct,redirect:"/login",children:[{path:"dashboard",name:"Dashboard",meta:{icon:"dashboard"},component:B,children:[{path:"workplace",name:"工作台",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-6eea3f10")]).then(a.bind(null,"c85a"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-ad601c76")]).then(a.bind(null,"b5aa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:I,children:[{path:"basic",name:"基础表单",component:function(){return a.e("chunk-2d0f07d6").then(a.bind(null,"9d1f"))}},{path:"step",name:"分步表单",component:function(){return a.e("chunk-5645c984").then(a.bind(null,"d9c3"))}},{path:"advance",name:"高级表单",component:function(){return a.e("chunk-6f3cce7e").then(a.bind(null,"4a3e"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:I,children:[{path:"query",name:"查询表格",component:function(){return a.e("chunk-eca2f662").then(a.bind(null,"499e"))}},{path:"primary",name:"标准列表",component:function(){return a.e("chunk-658f9e99").then(a.bind(null,"71f9"))}},{path:"card",name:"卡片列表",component:function(){return a.e("chunk-2cdd102c").then(a.bind(null,"2c9e"))}},{path:"search",name:"搜索列表",component:function(){return a.e("chunk-3be032c6").then(a.bind(null,"4a1f"))},children:[{path:"article",name:"文章",component:function(){return a.e("chunk-1b4f1803").then(a.bind(null,"ad3a"))}},{path:"application",name:"应用",component:function(){return a.e("chunk-9a7f6dec").then(a.bind(null,"acf8"))}},{path:"project",name:"项目",component:function(){return a.e("chunk-1348d22c").then(a.bind(null,"ad44"))}}]}]},{path:"details",name:"详情页",meta:{icon:"profile"},component:B,children:[{path:"basic",name:"基础详情页",component:function(){return a.e("chunk-c05aee98").then(a.bind(null,"d7b9"))}},{path:"advance",name:"高级详情页",component:function(){return a.e("chunk-60e83aaa").then(a.bind(null,"4090"))}}]},{path:"result",name:"结果页",meta:{icon:"check-circle-o"},component:I,children:[{path:"success",name:"成功",component:function(){return a.e("chunk-55f3d8bb").then(a.bind(null,"46d1"))}},{path:"error",name:"失败",component:function(){return a.e("chunk-bd864942").then(a.bind(null,"2a9a"))}}]},{path:"exception",name:"异常页",meta:{icon:"warning"},component:B,children:[{path:"404",name:"404",component:function(){return a.e("chunk-4af0f3d2").then(a.bind(null,"a42a"))}},{path:"403",name:"403",component:function(){return a.e("chunk-bd47e734").then(a.bind(null,"3f9a"))}},{path:"500",name:"500",component:function(){return a.e("chunk-4fca5620").then(a.bind(null,"5827"))}}]},{path:"components",name:"小组件",meta:{icon:"appstore-o"},component:I,children:[{path:"taskCard",name:"任务卡片",component:function(){return a.e("chunk-e03a0e82").then(a.bind(null,"5f34"))}},{path:"palette",name:"颜色复选框",component:function(){return a.e("chunk-49a07930").then(a.bind(null,"e842"))}}]}]}]}),It=(a("1ccf"),a("f23d")),Et=a("3654"),zt=a("bc3a"),Dt=a.n(zt),Tt=a("96eb"),At=a.n(Tt),Bt=(a("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"]),Kt=["JAVA工程师 | 蚂蚁金服-计算服务事业群-微信平台部","前端工程师 | 蚂蚁金服-计算服务事业群-VUE平台","前端工程师 | 蚂蚁金服-计算服务事业群-REACT平台","产品分析师 | 蚂蚁金服-计算服务事业群-IOS平台部"],Nt=["那是一种内在的东西,他们到达不了,也无法触及的","希望是一个好东西,也许是最好的,好东西是不会消亡的","城镇中有那么多的酒馆,她却偏偏走进了我的酒馆","那时候我只会想自己想要什么,从不想自己拥有什么"],Ht=["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"],qt=["ICZER","JACK","LUIS","DAVID"],Vt=["高逼格设计天团","中二少女团","科学搬砖组","骗你学计算机","程序员日常"],Rt=[{name:"曲丽丽",avatar:Bt[0],groupId:0},{name:"付晓晓",avatar:Bt[1],groupId:0},{name:"林东东",avatar:Bt[2],groupId:1},{name:"周星星",avatar:Bt[3],groupId:2},{name:"朱偏右",avatar:Bt[4],groupId:3},{name:"勒个",avatar:Bt[5],groupId:4}],Ft=Vt.map((function(e,t){return{name:e,avatar:Bt[t]}})),Wt=At.a.Random;Wt.extend({admin:function(){return this.pick(qt)},welcome:function(){return this.pick(["休息一会儿吧","准备吃什么呢","要不要打一把DOTA","我猜你可能累了"])},timefix:function(){var e=new Date,t=e.getHours();return t<9?"早上好":t<=11?"上午好":t<=13?"中午好":t<=20?"下午好":"晚上好"},avatar:function(){return this.pick(Bt)},position:function(){return this.pick(Kt)},saying:function(){return this.pick(Nt)},logo:function(){return this.pick(Ht)}});var Ut=At.a.mock({"list|2-10":[{name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timefix:"@TIMEFIX",position:"@position"}]}).list;At.a.mock("/user/current","get",(function(){return Ut[0]}));var Gt=At.a.mock({"list|6":[{logo:"@LOGO",desc:"@SAYING"}]}).list;At.a.mock("/project","get",(function(){return Gt}));var Xt=At.a.mock({name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timefix:"@TIMEFIX",position:"@POSITION"});At.a.mock("/login","post",(function(e){var t=e.body,a={},n=JSON.parse(t),i=n.name,s=n.password;return"admin"!==i||"888888"!==s?(a.code=-1,a.message="账户名或密码错误(admin/888888)"):(a.code=0,a.message=At.a.mock("@TIMEFIX")+",欢迎回来",a.data={},a.data.user=Xt),a}));var Jt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],Yt=Rt.map((function(e,t){return{user:Object.assign({},e,{group:Vt[e.groupId]}),activity:Jt[t%Jt.length],template:""}})),Zt=[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," 更新至已发布状态")}];Yt.forEach((function(e){e.template=Zt[e.activity.type](e.user,e.activity)})),At.a.mock("/work/activity","get",(function(){return Yt})),At.a.mock("/work/team","get",(function(){return Ft})),At.a.setup({timeout:"300-600"});var Qt=a("16b2"),ea=new Qt["a"]("adminDb"),ta={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,ea.get("currUser").then((function(e){ea.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;ea.put({_id:"currUser",user:t})}))}}},aa=a("f121"),na=a.n(aa),ia={namespaced:!0,state:Object(o["a"])({isMobile:!1,animates:a("3148")},na.a),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}}};n["a"].use(d["a"]);var sa=new d["a"].Store({modules:{account:ta,setting:ia}}),oa=(a("81ca"),a("a925"));n["a"].prototype.$axios=Dt.a,n["a"].config.productionTip=!1,n["a"].use(Et["a"]),n["a"].use(It["a"]),n["a"].use(oa["a"]);var ra=new oa["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new n["a"]({router:Mt,store:sa,i18n:ra,render:function(e){return e(g)},mounted:function(){var e=this,t=new Qt["a"]("adminDb");t.get("currUser").then((function(t){e.$store.commit("account/setUser",t.user)}))}}).$mount("#app")},"59d6":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"theme-color",style:{backgroundColor:e.color},on:{click:e.toggle}},[e.sChecked?a("a-icon",{attrs:{type:"check"}}):e._e()],1)},i=[],s=(a("4de4"),a("4160"),a("c975"),a("a9e3"),a("d3b7"),a("159b"),a("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 a=e[0];t.sChecked=a&&a==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=(a("f1b2"),a("2877")),l=Object(c["a"])(r,n,i,!1,null,"2f0f620e",null);t["a"]=l.exports},"67fe":function(e,t,a){},"6a9b":function(e,t,a){"use strict";var n=a("1048"),i=a.n(n);i.a},"6db9":function(e,t){Object.defineProperty(Object.prototype,"assignProps",{writable:!1,enumerable:!1,configurable:!0,value:function(e,t){for(var a=this,n=0;n