From 4ba376b40a7a732fc828de4fcceb4d3e5e8e8386 Mon Sep 17 00:00:00 2001
From: iczer <1126263215@qq.com>
Date: Thu, 25 Jun 2020 11:41:51 +0800
Subject: [PATCH] Updates
---
index.html | 2 +-
static/js/{app.cbe97131.js => app.a290a273.js} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename static/js/{app.cbe97131.js => app.a290a273.js} (84%)
diff --git a/index.html b/index.html
index 77c4652..2d393d7 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-
vue-antd-admin
\ No newline at end of file
+vue-antd-admin
\ No newline at end of file
diff --git a/static/js/app.cbe97131.js b/static/js/app.a290a273.js
similarity index 84%
rename from static/js/app.cbe97131.js
rename to static/js/app.a290a273.js
index 63a900f..45264e2 100644
--- a/static/js/app.cbe97131.js
+++ b/static/js/app.a290a273.js
@@ -1 +1 @@
-(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=_.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]}}},O=S,L=(a("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(a){e.$i18n.mergeLocaleMessage(a,t[a])}))},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=(a("784d"),Object(p["a"])(M,k,y,!1,null,"7b67a2ed",null)),E=z.exports,I=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)},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,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)},B=[],q=(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)}),U=[],R=(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:{i18nComplete:e.setRoutesI18n,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"}}),e._v(" "+e._s(e.langAlias)+" ")],1),n("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 n("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,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=[],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=(a("bf50"),Object(p["a"])(J,V,W,!1,null,null,null)),Y=X.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",{attrs:{trigger:["click"]},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-spin",{attrs:{spinning:e.loading}},[a("a-tabs",{staticClass:"dropdown-tabs",style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[a("a-tab-pane",{key:"1",attrs:{tab:"通知"}},[a("a-list",{staticClass:"tab-pane"},[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:"消息"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])]),a("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[a("div",{staticClass:"tab-pane"},[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)])},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,ae=(a("1535"),Object(p["a"])(te,Z,Q,!1,null,"61275666",null)),ne=ae.exports,ie=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)},se=[],oe={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["weekMode"])),Object(h["c"])("account",["user"]))},re=oe,ce=(a("a5d6"),Object(p["a"])(re,ie,se,!1,null,null,null)),le=ce.exports,ue=(a("1276"),a("55f1")),de=a("0c63"),he=(a("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"),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])})),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 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(me,{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=Je,Ye=(a("1291"),Object(p["a"])(Xe,Ve,We,!1,null,"25af3dac",null)),Ze=Ye.exports,Qe=a("b311"),et=a.n(Qe),tt=a("9d12"),at=a.n(tt),nt=Fe["a"].Group,it=Ze.Group,st=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],ot={name:"Setting",i18n:a("d87f"),components:{ImgCheckboxGroup:it,ImgCheckbox:Ze,ColorCheckboxGroup:nt,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 a=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),n=this;at.a.changeThemeColor(t[0]).then((function(){n.setThemeColor(t[0]),a()}))}},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=(a("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:a("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",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(){dt=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},mt=ht,ft=(a("dd88"),Object(p["a"])(mt,q,U,!1,null,"1d4f48d6",null)),pt=ft.exports,gt=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)},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=(a("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 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])}}},wt=Ct,xt=(a("9ae1"),Object(p["a"])(wt,H,B,!1,null,"30cfd570",null)),_t=xt.exports,St=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)},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 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})))}))}}},$t=Lt,Pt=(a("ecc2"),Object(p["a"])($t,St,Ot,!1,null,"cdc79f34",null)),Mt=Pt.exports;n["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([a.e("chunk-2d0d5f54"),a.e("chunk-0325d932")]).then(a.bind(null,"b87b"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-da61332e")]).then(a.bind(null,"ccfa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:E,children:[{path:"basic",name:"基础表单",component:function(){return a.e("chunk-1ca14a27").then(a.bind(null,"6b9b"))}},{path:"step",name:"分步表单",component:function(){return a.e("chunk-a95e2efe").then(a.bind(null,"f8b4"))}},{path:"advance",name:"高级表单",component:function(){return a.e("chunk-05b90a64").then(a.bind(null,"ae40d"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:E,children:[{path:"query",name:"查询表格",component:function(){return a.e("chunk-1edce97a").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:K,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:E,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:K,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:E,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"))}}]}]}]}),Et=(a("1ccf"),a("f23d")),It=a("3654"),At=a("bc3a"),Tt=a.n(At),Nt=a("96eb"),Dt=a.n(Nt),Kt=(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"]),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,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=Dt.a.mock("@TIMEFIX")+",欢迎回来",a.data={},a.data.user=Zt),a}));var Qt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],ea=Ft.map((function(e,t){return{user:Object.assign({},e,{group:Rt[e.groupId]}),activity:Qt[t%Qt.length],template:""}})),ta=[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," 更新至已发布状态")}];ea.forEach((function(e){e.template=ta[e.activity.type](e.user,e.activity)})),Dt.a.mock("/work/activity","get",(function(){return ea})),Dt.a.mock("/work/team","get",(function(){return Vt})),Dt.a.setup({timeout:"300-600"});var aa=a("16b2"),na=new aa["a"]("adminDb"),ia={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,na.get("currUser").then((function(e){na.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;na.put({_id:"currUser",user:t})}))}}},sa=a("f121"),oa=a.n(sa),ra={namespaced:!0,state:Object(o["a"])(Object(o["a"])({isMobile:!1,animates:a("3148")},oa.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}}};n["a"].use(h["a"]);var ca=new h["a"].Store({modules:{account:ia,setting:ra}}),la=(a("81ca"),a("a925")),ua={STATEMENTS:"s",PHRASAL:"p"},da={install:function(e){e.mixin({methods:{$ta:function(e,t){var a=t||ua.STATEMENTS,n=e.split("|"),i=this,s=this.$i18n.locale,o="",r="US"==s?" ":"";return n.forEach((function(e){o+=i.$t(e)+r})),n.length>0&&a==ua.STATEMENTS&&"US"==s&&(o=o.charAt(0).toUpperCase()+o.toLowerCase().substring(1)),o}}})}},ha=da,ma={install:function(e){e.use(ha)}},fa=ma;n["a"].prototype.$axios=Tt.a,n["a"].config.productionTip=!1,n["a"].use(It["a"]),n["a"].use(Et["a"]),n["a"].use(la["a"]),n["a"].use(fa);var pa=new la["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new n["a"]({router:zt,store:ca,i18n:pa,render:function(e){return e(b)},mounted:function(){var e=this,t=new aa["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},"5f66":function(e,t,a){"use strict";var n=a("0da9"),i=a.n(n);i.a},"67fe":function(e,t,a){},"6a08":function(e,t,a){},"6c82":function(e,t,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 .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}}}},a08b:function(e,t,a){},a14d:function(e,t,a){"use strict";var n=a("8140"),i=a.n(n);i.a},a5d6:function(e,t,a){"use strict";var n=a("67fe"),i=a.n(n);i.a},bd03:function(e,t,a){},be7f:function(e,t,a){"use strict";var n=a("80b0"),i=a.n(n);i.a},bf50:function(e,t,a){"use strict";var n=a("3693"),i=a.n(n);i.a},d1a0:function(e,t,a){"use strict";var n=a("1742"),i=a.n(n);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"}}}},dba6:function(e,t,a){},dd88:function(e,t,a){"use strict";var n=a("9d05"),i=a.n(n);i.a},ecc2:function(e,t,a){"use strict";var n=a("2082"),i=a.n(n);i.a},ee40:function(e,t,a){},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,a){"use strict";var n=a("86ab"),i=a.n(n);i.a}});
\ No newline at end of file
+(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=_.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]}}},O=S,L=(a("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(a){e.$i18n.mergeLocaleMessage(a,t[a])}))},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=(a("784d"),Object(p["a"])(M,k,y,!1,null,"7b67a2ed",null)),E=z.exports,I=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)},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,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)},B=[],q=(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)}),U=[],R=(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:{i18nComplete:e.setRoutesI18n,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"}}),e._v(" "+e._s(e.langAlias)+" ")],1),n("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 n("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,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=[],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=(a("bf50"),Object(p["a"])(J,V,W,!1,null,null,null)),Y=X.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",{attrs:{trigger:["click"]},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-spin",{attrs:{spinning:e.loading}},[a("a-tabs",{staticClass:"dropdown-tabs",style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[a("a-tab-pane",{key:"1",attrs:{tab:"通知"}},[a("a-list",{staticClass:"tab-pane"},[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:"消息"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])]),a("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[a("div",{staticClass:"tab-pane"},[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)])},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,ae=(a("1535"),Object(p["a"])(te,Z,Q,!1,null,"61275666",null)),ne=ae.exports,ie=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)},se=[],oe={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["weekMode"])),Object(h["c"])("account",["user"]))},re=oe,ce=(a("a5d6"),Object(p["a"])(re,ie,se,!1,null,null,null)),le=ce.exports,ue=(a("1276"),a("55f1")),de=a("0c63"),he=(a("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"),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])})),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 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(me,{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=Je,Ye=(a("1291"),Object(p["a"])(Xe,Ve,We,!1,null,"25af3dac",null)),Ze=Ye.exports,Qe=a("b311"),et=a.n(Qe),tt=a("9d12"),at=a.n(tt),nt=Fe["a"].Group,it=Ze.Group,st=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],ot={name:"Setting",i18n:a("d87f"),components:{ImgCheckboxGroup:it,ImgCheckbox:Ze,ColorCheckboxGroup:nt,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 a=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),n=this;at.a.changeThemeColor(t[0]).then((function(){n.setThemeColor(t[0]),a()}))}},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=(a("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:a("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",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(){dt=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},mt=ht,ft=(a("dd88"),Object(p["a"])(mt,q,U,!1,null,"1d4f48d6",null)),pt=ft.exports,gt=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)},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=(a("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 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])}}},wt=Ct,xt=(a("9ae1"),Object(p["a"])(wt,H,B,!1,null,"30cfd570",null)),_t=xt.exports,St=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)},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 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})))}))}}},$t=Lt,Pt=(a("ecc2"),Object(p["a"])($t,St,Ot,!1,null,"cdc79f34",null)),Mt=Pt.exports;n["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([a.e("chunk-2d0d5f54"),a.e("chunk-0325d932")]).then(a.bind(null,"b87b"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-da61332e")]).then(a.bind(null,"ccfa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:E,children:[{path:"basic",name:"基础表单",component:function(){return a.e("chunk-1ca14a27").then(a.bind(null,"6b9b"))}},{path:"step",name:"分步表单",component:function(){return a.e("chunk-a95e2efe").then(a.bind(null,"f8b4"))}},{path:"advance",name:"高级表单",component:function(){return a.e("chunk-05b90a64").then(a.bind(null,"ae40d"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:E,children:[{path:"query",name:"查询表格",component:function(){return a.e("chunk-1edce97a").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:K,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:E,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:K,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:E,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"))}}]}]}]}),Et=(a("1ccf"),a("f23d")),It=a("3654"),At=a("bc3a"),Tt=a.n(At),Nt=a("96eb"),Dt=a.n(Nt),Kt=(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"]),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,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=Dt.a.mock("@TIMEFIX").CN+",欢迎回来",a.data={},a.data.user=Zt),a}));var Qt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],ea=Ft.map((function(e,t){return{user:Object.assign({},e,{group:Rt[e.groupId]}),activity:Qt[t%Qt.length],template:""}})),ta=[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," 更新至已发布状态")}];ea.forEach((function(e){e.template=ta[e.activity.type](e.user,e.activity)})),Dt.a.mock("/work/activity","get",(function(){return ea})),Dt.a.mock("/work/team","get",(function(){return Vt})),Dt.a.setup({timeout:"300-600"});var aa=a("16b2"),na=new aa["a"]("adminDb"),ia={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,na.get("currUser").then((function(e){na.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;na.put({_id:"currUser",user:t})}))}}},sa=a("f121"),oa=a.n(sa),ra={namespaced:!0,state:Object(o["a"])(Object(o["a"])({isMobile:!1,animates:a("3148")},oa.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}}};n["a"].use(h["a"]);var ca=new h["a"].Store({modules:{account:ia,setting:ra}}),la=(a("81ca"),a("a925")),ua={STATEMENTS:"s",PHRASAL:"p"},da={install:function(e){e.mixin({methods:{$ta:function(e,t){var a=t||ua.STATEMENTS,n=e.split("|"),i=this,s=this.$i18n.locale,o="",r="US"==s?" ":"";return n.forEach((function(e){o+=i.$t(e)+r})),n.length>0&&a==ua.STATEMENTS&&"US"==s&&(o=o.charAt(0).toUpperCase()+o.toLowerCase().substring(1)),o}}})}},ha=da,ma={install:function(e){e.use(ha)}},fa=ma;n["a"].prototype.$axios=Tt.a,n["a"].config.productionTip=!1,n["a"].use(It["a"]),n["a"].use(Et["a"]),n["a"].use(la["a"]),n["a"].use(fa);var pa=new la["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new n["a"]({router:zt,store:ca,i18n:pa,render:function(e){return e(b)},mounted:function(){var e=this,t=new aa["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},"5f66":function(e,t,a){"use strict";var n=a("0da9"),i=a.n(n);i.a},"67fe":function(e,t,a){},"6a08":function(e,t,a){},"6c82":function(e,t,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 .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}}}},a08b:function(e,t,a){},a14d:function(e,t,a){"use strict";var n=a("8140"),i=a.n(n);i.a},a5d6:function(e,t,a){"use strict";var n=a("67fe"),i=a.n(n);i.a},bd03:function(e,t,a){},be7f:function(e,t,a){"use strict";var n=a("80b0"),i=a.n(n);i.a},bf50:function(e,t,a){"use strict";var n=a("3693"),i=a.n(n);i.a},d1a0:function(e,t,a){"use strict";var n=a("1742"),i=a.n(n);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"}}}},dba6:function(e,t,a){},dd88:function(e,t,a){"use strict";var n=a("9d05"),i=a.n(n);i.a},ecc2:function(e,t,a){"use strict";var n=a("2082"),i=a.n(n);i.a},ee40:function(e,t,a){},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,a){"use strict";var n=a("86ab"),i=a.n(n);i.a}});
\ No newline at end of file