(function(t){function e(e){for(var o,r,c=e[0],s=e[1],u=e[2],l=0,d=[];l1?o("div",{staticClass:"action action-organization"},[o("header-select")],1):t._e(),o("div",{staticClass:"action"},[o("header-notice")],1),o("div",{staticClass:"action action-avatar"},[o("header-avatar")],1)])],1),o("a-layout",{staticStyle:{"padding-top":"65px"}},[o("a-sider",{attrs:{mode:"inline",breakpoint:"md",collapsible:""},model:{value:t.collapsed,callback:function(e){t.collapsed=e},expression:"collapsed"}},t._l(t.menus,(function(e){return o("a-menu",{key:e.id.toString(),attrs:{theme:t.theme,openKeys:t.openKeys,mode:"inline"},on:{click:function(n){return t.menuClick(n,e)},openChange:t.onOpenChange},model:{value:t.selectedKeys,callback:function(e){t.selectedKeys=e},expression:"selectedKeys"}},[e.children||e.is_inner||"#"==e.node?t._e():o("a-menu-item",{key:e.id,attrs:{disabled:!e.status}},[o("a-icon",{attrs:{type:e.icon}}),o("span",[t._v(t._s(e.title))])],1),e.children&&!e.is_inner?o("a-sub-menu",{key:e.id.toString()},[o("span",{attrs:{slot:"title"},slot:"title"},[o("a-icon",{attrs:{type:e.icon}}),o("span",[t._v(t._s(e.title))])],1),t._l(e.children,(function(e,n){return e.is_inner?t._e():o("a-menu-item",{key:e.id.toString(),attrs:{disabled:!e.status}},[t._v("\n "+t._s(e.title)+"\n ")])}))],2):t._e()],1)})),1),o("a-layout",{staticClass:"main-content",style:t.collapsed?{paddingLeft:"80px"}:{paddingLeft:"256px"}},[o("a-layout-content",[o("transition",{attrs:{name:"router-fade",mode:"out-in"}},[o("a-spin",{attrs:{spinning:t.pageLoading}},[o("router-view")],1)],1)],1)],1)],1)],1),t.config.WS_URI?o("Socket",{ref:"socket"}):t._e()],1),o("v-uploader")],1)},r=[],a=(n("efce"),n("ed8b"),n("bada"),n("cc1d"),n("4634"),n("7cfd"),n("e4e2")),i=n("08c1"),c=n("2209"),s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("a-popover",{attrs:{overlayClassName:"header-notice",trigger:"click",placement:"bottomRight"},model:{value:t.showNotice,callback:function(e){t.showNotice=e},expression:"showNotice"}},[o("template",{slot:"content"},[o("a-spin",{attrs:{spinning:t.loading}},[o("a-tabs",{staticClass:"header-notice-content",attrs:{tabBarGutter:25}},[o("a-tab-pane",{key:"1"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("消息"),t.total&&t.totalSum["message"]?o("span",[t._v("("+t._s(t.totalSum["message"])+")")]):t._e()]),t.total&&t.totalSum["message"]?[o("a-list",[t._l(t.list["message"],(function(e){return[o("a-list-item",{key:e.id},[o("a-list-item-meta",{attrs:{description:e.create_time}},[o("span",{attrs:{slot:"title"},slot:"title"},[o("p",[t._v(t._s(e.title))]),o("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(e.content)}})]),o("a-avatar",{attrs:{slot:"avatar",src:e.avatar},slot:"avatar"})],1)],1)]}))],2),o("div",{staticClass:"footer-action"},[o("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("message")}}},[t._v("清空消息")]),o("a",{staticClass:"item muted",on:{click:function(e){return t.showMore("1")}}},[t._v("查看更多")])])]:[o("div",{staticClass:"notFound"},[o("img",{attrs:{src:n("7e25"),alt:"not found"}}),o("div",[t._v("你已读完所有消息")])])]],2),o("a-tab-pane",{key:"2"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("通知"),t.total&&t.totalSum["notice"]?o("span",[t._v("("+t._s(t.totalSum["notice"])+")")]):t._e()]),t.total&&t.totalSum["notice"]?[o("a-list",[t._l(t.list["notice"],(function(e){return[o("a-list-item",{key:e.id},[o("a-list-item-meta",{attrs:{description:e.create_time}},[o("span",{attrs:{slot:"title"},slot:"title"},[o("p",{domProps:{innerHTML:t._s(e.title)}}),o("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(e.content)}})]),o("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1)]}))],2),o("div",{staticClass:"footer-action"},[o("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("notice")}}},[t._v("清空通知")]),o("a",{staticClass:"item muted",on:{click:function(){t.$router.push("/notify/notice")}}},[t._v("查看更多")])])]:[o("div",{staticClass:"notFound"},[o("img",{attrs:{src:n("5744"),alt:"not found"}}),o("div",[t._v("你已查看所有通知")])])]],2)],1)],1)],1),o("span",[o("a-badge",{attrs:{count:t.total}},[o("a-icon",{staticClass:"action-item",attrs:{type:"bell"}})],1)],1)],2)},u=[],l=n("6bf2"),d=n.n(l),f=n("cd4b"),p=n("97a8"),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={body:e,icon:n.icon||"http://static.vilson.xyz/preview.jpg",showTime:n.showTime||15e3,onclick:n.onclick,onshow:n.onshow,onerror:n.onerror,onclose:n.onclose},r=window.Notification||window.mozNotification||window.webkitNotification;if(console.log(r.permission),r&&"granted"===r.permission){var a=new r(t,o);a.onclick=function(){"function"===typeof o.onclick&&o.onclick(a)},a.onerror=function(){"function"===typeof o.onerror&&o.onerror(a)},a.onshow=function(){"function"===typeof o.onshow&&o.onshow(a),setTimeout((function(){a.close()}),o.showTime)},a.onclose=function(){"function"===typeof o.onclose&&o.onclose(a)}}else{if(!r||"denied"===r.permission)return!1;r.requestPermission((function(e){if(r.permission!==e&&(r.permission=e),"granted"!==e)return!1;var n=new r(t,o);n.onclick=function(){"function"===typeof o.onclick&&o.onclick(n)},n.onerror=function(){"function"===typeof o.onerror&&o.onerror(n)},n.onshow=function(){"function"===typeof o.onshow&&o.onshow(n),setTimeout((function(){n.close()}),o.showTime)},n.onclose=function(){"function"===typeof o.onclose&&o.onclose(n)}}))}},m=n("b199");n("81fe");function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function v(t){for(var e=1;ethis.progressTotal&&(t=this.progressTotal),"正在上传 ".concat(t,"/").concat(this.progressTotal)}}),watch:{code:function(){this.init()}},created:function(){this.init()},mounted:function(){var t=this;this.$nextTick((function(){window.uploader=t.$refs.uploader.uploader,t.$store.dispatch("setUploader",window.uploader),console.log(window.uploader)}))},methods:{init:function(){},closeUploader:function(){this.showUploader=!1,this.uploader.cancel()},filesSubmitted:function(t){this.showUploader=!0,this.showFiles=!0,this.progressTotal+=t.length,console.log("file submitted",t)},fileProgress:function(t,e,n){this.showUploader=!0,this.showFiles=!0,console.log("file progress",arguments)},fileSuccess:function(t,e,n,o){var r=JSON.parse(n);if(!Object(P["a"])(r))return Object(p["b"])({title:r.msg},"notice","error"),!1;t.projectName=r.data.projectName,t.fileUrl=r.data.url,console.log("file success",t),this.completeTotal++},fileError:function(t,e,n,o){this.completeTotal--;var r=JSON.parse(n);e.cancel(),t.projectName=r.data.projectName,console.log("file error",t),Object(p["b"])({title:r.msg},"notice","error")},fileComplete:function(t){console.log("file complete",t)},complete:function(){var t=this;console.log("complete",arguments),this.progressTotal=this.completeTotal=0,Object(p["b"])({title:"关联文件成功"},"notice","success"),setTimeout((function(){t.showFiles=!1}),3e3)},cancelUpload:function(t){console.log(t),this.progressTotal--,this.completeTotal--,t.file.cancel()},filterList:function(t){return t},testSomeThing:function(){console.log(this.uploader.fileList),this.uploader.fileList[0].resume()}}},W=G,q=(n("ac76"),Object(y["a"])(W,$,U,!1,null,null,null)),J=q.exports,X=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},Z=[],Q=n("eaf6"),tt=n("22b6");function et(t,e){return tt["a"].post("index/index/bindClientId",{client_id:t,uid:e})}var nt=n("a078"),ot={data:function(){return{websocket:null}},methods:{threadPoxi:function(){var t={uid:this.$store.state.userInfo.id};if(this.websocket.readyState===this.websocket.OPEN)this.websocketSend(t);else if(this.websocket.readyState===this.websocket.CONNECTING){var e=this;setTimeout((function(){e.websocketSend(t)}),300)}else{this.initWebSocket();var n=this;setTimeout((function(){n.websocketSend(t)}),500)}},initWebSocket:function(){var t=nt["a"].WS_URI;this.websocket=new WebSocket(t),this.websocket.onmessage=this.websocketOnMessage,this.websocket.onclose=this.websocketClose,Q["default"].prototype.$websocket=this.websocket},websocketOnMessage:function(t){var e=JSON.parse(t.data);if("ping"!=e.action&&(console.log(e),this.$store.commit("catchSocketAction",e)),"connect"===e.action&&e.data.client_id&&!this.$store.state.boundClient){Object(R["c"])("client_id",e.data.client_id);var n=Object(R["a"])("userInfo",!0),o=n?n.code:"";o&&(et(e.data.client_id,o),this.$store.dispatch("setBoundClient",!0))}},websocketSend:function(t){console.log("发送消息:"),console.log(t),this.websocket.send(t)},websocketClose:function(t){console.log("connection closed ("+t.code+")")}},created:function(){this.initWebSocket()}},rt=ot,at=Object(y["a"])(rt,X,Z,!1,null,null,null),it=at.exports,ct=n("d368");function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ut(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1],n=t.code,r=t.msg;return 200===n||(e&&Object(o["b"])(r),!1)}),s=function(t){var e=t.url;t.params&&(e+="/"+t.params);var o=t.url;return t.file_path&&(o=t.file_path),{name:t.id,path:e,component:function(t){return Promise.all([n.e("chunk-44e16e3a"),n.e("chunk-2c9b02f2"),n.e("chunk-22f8bc8e"),n.e("user"),n.e("chunk-1015abd2")]).then(function(){var e=[n("4b3b")("./"+o)];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:t.pid,info:t}}},u=function(t,e){var n=new FileReader;n.addEventListener("load",(function(){return e(n.result)})),n.readAsDataURL(t)},l=function(t){return i+"/"+t},d=function(t){return i+"/"+t},f=function(t){var e="";return e+d(t)};function p(){var t=new Date,e=t.getHours();return e<9?"早上好":e<=11?"上午好":e<=13?"中午好":e<20?"下午好":"晚上好"}function h(){var t=Object(a["a"])("tokenList",!0);if(t){var e=t.accessToken,n=t.tokenType;return{Authorization:"".concat(n," ").concat(e)}}return{}}var m=function(t,e){e=e||document,t=t||"*";var n=[];if(document.getElementsByClassName)return document.getElementsByClassName(t);for(var o=document.getElementsByTagName(e),r=new RegExp("(^|\\s)"+t+"(\\s|$)"),a=0;a0&&t.constructor===Function)while(this.i.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}")}catch(s){console&&console.log(s)}}r(c)})(window)},"56d7":function(t,e,n){"use strict";n.r(e);n("96dd"),n("a60a"),n("e783"),n("8b1f");var o=n("eaf6"),r=n("c478"),a=n("02f8"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{height:"100%"},attrs:{id:"app"}},[n("a-locale-provider",{attrs:{locale:t.zh_CN}},[n("transition",{attrs:{name:"router-fades",mode:"out-in"}},[n("router-view")],1)],1)],1)},c=[],s=n("252a"),u=n.n(s),l=(n("35d0"),{name:"app",data:function(){return{zh_CN:u.a}},watch:{},methods:{}}),d=l,f=n("4e82"),p=Object(f["a"])(d,i,c,!1,null,null,null),h=p.exports,m=n("4360"),b=n("a18c"),v=(n("377f"),n("68b1")),g=n.n(v),j=(n("b757"),n("40f5"),n("476a"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.showHeader?n("div",{staticClass:"page-header"},[t.breadCrumbInfo.length>0&&t.breadCrumb?n("div",{staticClass:"breadcrumb"},[n("a-breadcrumb",[n("a-breadcrumb-item",[n("router-link",{attrs:{to:"/home"}},[t._v("首页")])],1),n("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[2].title))]),n("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[1].title))]),n("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[0].title))])],1)],1):t._e(),n("div",{staticClass:"detail"},[n("div",{staticClass:"main"},[n("div",{staticClass:"row"},[""!=t.pageTitle.trim()&&t.showTitle?n("h1",{staticClass:"title"},[t._v(t._s(t.pageTitle))]):t.showTitle?n("h1",{staticClass:"title"},[t._v(t._s(t.defaultPageTitle))]):t._e(),n("div",{staticClass:"action"},[t._t("action")],2)]),n("div",{staticClass:"row"},[this.$slots.content?n("div",{staticClass:"content"},[t._t("content")],2):t._e(),this.$slots.extra?n("div",{staticClass:"extra"},[t._t("extra")],2):t._e()])])])]):n("div",{staticClass:"page-header page-header-none"}),n("div",{staticClass:"page-header page-header-none"}),n("div",{staticClass:"wrapper-main"},[n("div",{staticClass:"wrapper-content",class:{hidden:t.pageLoading}},[n("div",{staticClass:"layout-content"},[this.$slots.contentTitle||this.$slots.contentAction?n("div",{staticClass:"content-title"},[t._t("contentTitle"),n("div",{staticClass:"content-action"},[t._t("contentAction")],2)],2):t._e(),t._t("default")],2)])])])}),y=[],k=(n("efce"),n("4634"),n("ed8b"),n("e4e2")),w=n("09d0"),O=n("08c1"),_=n("68fe"),C=n("2f14"),z=n("debc"),S=n.n(z),T=n("00a1");function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function M(t){for(var e=1;e1)for(var e=0;e1&&void 0!==arguments[1]&&arguments[1];e?this.$router.replace(t):this.$router.push(t)},toHome:function(){var t=Object(_["a"])("currentOrganization",!0),e=$["a"].HOME_PAGE;t&&(e=e+"/"+t.code),this.$router.push(e)}}};n("0b34"),n("cc1d");o["default"].filter("NumberFormat",(function(t){if(!t)return"0";var e=t.toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,");return e})),o["default"].filter("showPreviewUrl",(function(t){var e=t.file_url,n="https://view.officeapps.live.com/op/view.aspx?src=",o=["doc","docx","docm","dotm","dotx","xlsx","xlsb","xls","xlsm","pptx","ppsx","ppt","pps","pptm","potm","ppam","potx","ppsm"],r=t.extension,a=o.findIndex((function(t){return t==r}));return-1!==a&&(e=n+e),e}));var R=n("0e03"),V=n("8242"),K=n.n(V);B.a.locale("zh-cn"),o["default"].use(r["a"]),o["default"].use(m["a"]),o["default"].config.productionTip=!1,o["default"].use(a["a"]),o["default"].component("WrapperContent",D),o["default"].use(R["a"]),o["default"].use(K.a),o["default"].prototype.$message=A["a"],o["default"].prototype.$notification=N["a"],o["default"].prototype.$notice=H["b"],o["default"].prototype.$destroyNotice=H["a"],o["default"].use(g.a),o["default"].prototype.$vuescrollConfig={vuescroll:{mode:"native"},scrollPanel:{scrollingX:!0},bar:{delayTime:500,onlyShowBarOnScroll:!1,background:"#cecece",keepShow:!1}},o["default"].mixin(U),new o["default"]({el:"#app",store:m["a"],router:b["a"],template:"",components:{App:h}})},5744:function(t,e,n){t.exports=n.p+"img/bell.2dec628d.svg"},"68fe":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i}));n("e6d1");var o="ep_",r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!t)return!1;if(t=o+t,"string"!==typeof e&&(e=JSON.stringify(e)),n){var a=new Date;e+=r>0?"&"+(a.getTime()+3600*r*1e3):"&0",e+="&"+a.getTime()}window.localStorage.setItem(t,e)},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!!t&&(t=o+t,e&&"string"==typeof window.localStorage.getItem(t)&&"undefined"!=window.localStorage.getItem(t)?JSON.parse(window.localStorage.getItem(t)):window.localStorage.getItem(t))},i=function(t){if(!t)return!1;t=o+t,window.localStorage.removeItem(t)}},"77d2":function(t,e,n){var o={"./af":"fbac","./af.js":"fbac","./ar":"f96f","./ar-dz":"e63c","./ar-dz.js":"e63c","./ar-kw":"b7bd","./ar-kw.js":"b7bd","./ar-ly":"968f","./ar-ly.js":"968f","./ar-ma":"9f9d","./ar-ma.js":"9f9d","./ar-sa":"aea5","./ar-sa.js":"aea5","./ar-tn":"d44b","./ar-tn.js":"d44b","./ar.js":"f96f","./az":"c7ed","./az.js":"c7ed","./be":"5a28","./be.js":"5a28","./bg":"1251","./bg.js":"1251","./bm":"2809","./bm.js":"2809","./bn":"b4fc","./bn.js":"b4fc","./bo":"5484","./bo.js":"5484","./br":"5adc","./br.js":"5adc","./bs":"ac10","./bs.js":"ac10","./ca":"e381","./ca.js":"e381","./cs":"aef2","./cs.js":"aef2","./cv":"6566","./cv.js":"6566","./cy":"1390","./cy.js":"1390","./da":"1ece","./da.js":"1ece","./de":"5f10","./de-at":"09c4","./de-at.js":"09c4","./de-ch":"89a2","./de-ch.js":"89a2","./de.js":"5f10","./dv":"e662","./dv.js":"e662","./el":"196b","./el.js":"196b","./en-SG":"0a32","./en-SG.js":"0a32","./en-au":"94ed","./en-au.js":"94ed","./en-ca":"2806","./en-ca.js":"2806","./en-gb":"b0dd","./en-gb.js":"b0dd","./en-ie":"7a6e","./en-ie.js":"7a6e","./en-il":"1f0f","./en-il.js":"1f0f","./en-nz":"1606","./en-nz.js":"1606","./eo":"f214","./eo.js":"f214","./es":"7d58","./es-do":"737b","./es-do.js":"737b","./es-us":"a894","./es-us.js":"a894","./es.js":"7d58","./et":"a888","./et.js":"a888","./eu":"1357","./eu.js":"1357","./fa":"0a48","./fa.js":"0a48","./fi":"c2b1","./fi.js":"c2b1","./fo":"52c4","./fo.js":"52c4","./fr":"04e6","./fr-ca":"6ad1","./fr-ca.js":"6ad1","./fr-ch":"b12f","./fr-ch.js":"b12f","./fr.js":"04e6","./fy":"ad13","./fy.js":"ad13","./ga":"369e","./ga.js":"369e","./gd":"22de","./gd.js":"22de","./gl":"f808","./gl.js":"f808","./gom-latn":"50d5","./gom-latn.js":"50d5","./gu":"e67a","./gu.js":"e67a","./he":"037c","./he.js":"037c","./hi":"3d53","./hi.js":"3d53","./hr":"678b","./hr.js":"678b","./hu":"1783","./hu.js":"1783","./hy-am":"2873","./hy-am.js":"2873","./id":"de99","./id.js":"de99","./is":"6aa2","./is.js":"6aa2","./it":"1f93","./it-ch":"2db9","./it-ch.js":"2db9","./it.js":"1f93","./ja":"6bf8","./ja.js":"6bf8","./jv":"6e55","./jv.js":"6e55","./ka":"e65f","./ka.js":"e65f","./kk":"7167","./kk.js":"7167","./km":"4668","./km.js":"4668","./kn":"e3d2","./kn.js":"e3d2","./ko":"b058","./ko.js":"b058","./ku":"017e","./ku.js":"017e","./ky":"b2bd","./ky.js":"b2bd","./lb":"e50c","./lb.js":"e50c","./lo":"ca14","./lo.js":"ca14","./lt":"3e84","./lt.js":"3e84","./lv":"ce1d","./lv.js":"ce1d","./me":"9d38","./me.js":"9d38","./mi":"3e2e","./mi.js":"3e2e","./mk":"d532","./mk.js":"d532","./ml":"db61","./ml.js":"db61","./mn":"7493","./mn.js":"7493","./mr":"52d8","./mr.js":"52d8","./ms":"b559","./ms-my":"7462","./ms-my.js":"7462","./ms.js":"b559","./mt":"c055","./mt.js":"c055","./my":"49e0","./my.js":"49e0","./nb":"eb1c","./nb.js":"eb1c","./ne":"0acb","./ne.js":"0acb","./nl":"7497","./nl-be":"3114","./nl-be.js":"3114","./nl.js":"7497","./nn":"9a9c","./nn.js":"9a9c","./pa-in":"c595","./pa-in.js":"c595","./pl":"801c","./pl.js":"801c","./pt":"5b08","./pt-br":"155f","./pt-br.js":"155f","./pt.js":"5b08","./ro":"05fc","./ro.js":"05fc","./ru":"90b3","./ru.js":"90b3","./sd":"99bf","./sd.js":"99bf","./se":"20d6","./se.js":"20d6","./si":"7c0b","./si.js":"7c0b","./sk":"90fc","./sk.js":"90fc","./sl":"871b","./sl.js":"871b","./sq":"b045","./sq.js":"b045","./sr":"ac81","./sr-cyrl":"a2d0","./sr-cyrl.js":"a2d0","./sr.js":"ac81","./ss":"b093","./ss.js":"b093","./sv":"12e5","./sv.js":"12e5","./sw":"38a0","./sw.js":"38a0","./ta":"a462","./ta.js":"a462","./te":"18cb","./te.js":"18cb","./tet":"0c11","./tet.js":"0c11","./tg":"d707","./tg.js":"d707","./th":"883f","./th.js":"883f","./tl-ph":"6cc0","./tl-ph.js":"6cc0","./tlh":"ab53","./tlh.js":"ab53","./tr":"e523","./tr.js":"e523","./tzl":"b192","./tzl.js":"b192","./tzm":"5604","./tzm-latn":"9f95","./tzm-latn.js":"9f95","./tzm.js":"5604","./ug-cn":"9f4f","./ug-cn.js":"9f4f","./uk":"8bd6","./uk.js":"8bd6","./ur":"9a78","./ur.js":"9a78","./uz":"4d4c","./uz-latn":"da73","./uz-latn.js":"da73","./uz.js":"4d4c","./vi":"b766","./vi.js":"b766","./x-pseudo":"2a69","./x-pseudo.js":"2a69","./yo":"fd2e","./yo.js":"fd2e","./zh-cn":"35d0","./zh-cn.js":"35d0","./zh-hk":"7b45","./zh-hk.js":"7b45","./zh-tw":"fa66","./zh-tw.js":"fa66"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=a,t.exports=r,r.id="77d2"},"7e25":function(t,e,n){t.exports=n.p+"img/laba.e793fb2e.svg"},"81fe":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return s}));n("d479"),n("c041");var o=n("6bf2"),r=n.n(o),a=function(t,e){e||(e=r()());var n=r()(e).diff(r()(t),"hours");if(n<=1)return r()(t).fromNow();r()(e).get("date"),r()(t).get("date");var o=r()(t).format("H:mm"),a=r()(t).format("YYYY-MM-DD"),i=r()().weekday(0).format("YYYY-MM-DD"),c=r()().weekday(6).format("YYYY-MM-DD"),s="";return s=ac?"[下周]dd "+o:"[周]dd "+o,r()(t).calendar(null,{sameDay:"[今天 ]"+r()(t).format("H:mm"),nextDay:"[明天 ]"+o,nextWeek:s,lastDay:"[昨天 ]"+o,lastWeek:s,sameElse:"M月D日 H:mm"})},i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r()(t).format("H:mm");e||(n="");var o=r()(t).format("YYYY-MM-DD"),a=r()().weekday(0).format("YYYY-MM-DD"),i=r()().weekday(6).format("YYYY-MM-DD"),c="";return c=oi?"[下周]dd "+n:"[周]dd "+n,r()(t).calendar(null,{sameDay:"[今天 ]"+r()(t).format("H:mm"),nextDay:"[明天 ]"+n,nextWeek:c,lastDay:"[昨天 ]"+n,lastWeek:c,sameElse:"M月D日 H:mm"})},c=function(t,e){return!e&&t?i(t)+" 开始":t?i(t)+" - "+i(e):i(e)+" 截止"},s=function(t){var e="";void 0==t&&(t=new Date);var n=t.getHours();return n>=0&&n<=4&&(e="深夜了,注意身体,"),n>=4&&n<7&&(e="清晨好, "),n>=7&&n<12&&(e="早安,"),n>=12&&n<=13&&(e="午饭时间到了,"),n>=13&&n<=17&&(e="下午好,"),n>=17&&n<=18&&(e="进入傍晚了,"),n>=18&&n<=20&&(e="吃过晚饭了吗,"),n>=20&&n<=24&&(e="在加班吗?辛苦了,"),e}},"82f8":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return s}));var o=n("22b6");function r(t){return o["a"].post("index/index/install",t)}function a(){return o["a"].post("index/index/checkInstall")}function i(t){return o["a"].post("project/invite_link/_read",{inviteCode:t})}function c(t){return o["a"].post("project/invite_link/save",t)}function s(t){return o["a"].post("index/index/refreshAccessToken",{refreshToken:t})}},8548:function(t,e,n){"use strict";var o=n("ac37"),r=n.n(o);r.a},"97a8":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return i}));var o=n("40d3"),r=n("24a1"),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"message",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"warning",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bottomLeft";i();var s={};if(s.duration=a,"message"===e)switch(n){case"info":return o["a"].info(t,a);case"success":return o["a"].success(t,a);case"error":return o["a"].error(t,a);case"loading":return o["a"].loading(t,a);default:return o["a"].warning(t,a)}else switch(s.message=t.title,s.description=t.msg||"",s.placement=c,n){case"open":return r["a"].open(s);case"info":return r["a"].info(s);case"success":return r["a"].success(s);case"error":return r["a"].error(s);default:return r["a"].warning(s)}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t?"message"===t?o["a"].destroy():r["a"].destroy():(o["a"].destroy(),r["a"].destroy())}},a078:function(t,e,n){"use strict";e["a"]={crossDomain:!1,PROD_URL:"".concat(location.origin,"/index.php"),WS_URI:"",HOME_PAGE:"/home"}},a18c:function(t,e,n){"use strict";n("7cfd"),n("4634");var o=n("eaf6"),r=n("4360"),a=n("c478"),i=n("1e4b"),c=[{name:"task",path:"/project/space/task/:code",component:function(t){return Promise.all([n.e("chunk-44e16e3a"),n.e("chunk-2c9b02f2")]).then(function(){var e=[n("d96e")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:122,info:{show_slider:!1,is_inner:!0}},children:[{name:"taskdetail",path:"detail/:taskCode",component:function(t){return Promise.all([n.e("chunk-44e16e3a"),n.e("chunk-22f8bc8e")]).then(function(){var e=[n("d0e1")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Project",info:{show_slider:!1}}}]},{name:"inviteFromLink",path:"/invite_from_link/:code",component:function(t){return n.e("chunk-8d78036c").then(function(){var e=[n("6e0f")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Common",info:{show_slider:!1}}}],s=n("68fe"),u=n("2f14"),l=n("a078"),d=n("82f8"),f=l["a"].HOME_PAGE,p=Object(s["a"])("currentOrganization",!0);p&&(f=f+"/"+p.code),o["default"].use(a["a"]);var h=[].concat(c),m=Object(s["a"])("menu",!0);m&&m.forEach((function(t){h.push(Object(u["b"])(t)),t.children&&t.children.forEach((function(t){h.push(Object(u["b"])(t)),t.children&&t.children.forEach((function(t){h.push(Object(u["b"])(t))}))}))}));var b=new a["a"]({routes:[{path:"/",name:"index",component:i["default"],children:h},{name:"member",path:"/member",component:function(t){return n.e("chunk-65efb36c").then(function(){var e=[n("27f0")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Login"},children:[{path:"login",name:"login",component:function(){return n.e("user").then(n.bind(null,"067f"))},meta:{model:"Login"}},{path:"register",name:"register",component:function(){return n.e("user").then(n.bind(null,"5287"))},meta:{model:"Login"}},{path:"forgot",name:"forgot",component:function(){return n.e("user").then(n.bind(null,"1c8d"))},meta:{model:"Login"}}]},{name:"install",path:"/install",component:function(t){return n.e("chunk-97de7ce6").then(function(){var e=[n("fef1")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"error"}},{name:"resetEmail",path:"/reset/email",component:function(t){return n.e("chunk-0d42a50c").then(function(){var e=[n("c0d8")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"error"}},{name:"404",path:"/404",component:function(t){return n.e("chunk-1edc8af9").then(function(){var e=[n("2754")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"error"}},{name:"403",path:"/403",component:function(t){return n.e("chunk-198e20c4").then(function(){var e=[n("7fa2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"error"}},{name:"500",path:"/500",component:function(t){return n.e("chunk-d7a59532").then(function(){var e=[n("b3ff")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"error"}}]});b.beforeEach((function(t,e,n){console.log(t);var o=Object(s["a"])("tokenList",!0);if(o){var a=o.refreshToken,i=o.accessTokenExp;i&&Object(u["i"])(i)&&Object(d["e"])(a).then((function(t){o.accessToken=t.data.accessToken,o.accessTokenExp=t.data.accessTokenExp,Object(s["c"])("tokenList",o)}))}return"index"===t.name||"/index"===t.path||"/"===t.path?(n({path:f}),!1):t.name||"Login"===e.meta.model||t.path===f?"Login"===t.meta.model&&r["a"].state.logged?(n({path:f}),!1):r["a"].state.logged||"Login"===t.meta.model||"error"===t.meta.model?void n():(n({name:"login",query:{redirect:t.fullPath}}),!1):(n({path:"/404"}),!1)})),b.afterEach((function(t){}));e["a"]=b},ac37:function(t,e,n){},ac76:function(t,e,n){"use strict";var o=n("c536"),r=n.n(o);r.a},b199:function(t,e,n){"use strict";n.d(e,"m",(function(){return r})),n.d(e,"j",(function(){return a})),n.d(e,"u",(function(){return i})),n.d(e,"A",(function(){return c})),n.d(e,"x",(function(){return s})),n.d(e,"s",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"B",(function(){return d})),n.d(e,"w",(function(){return f})),n.d(e,"l",(function(){return p})),n.d(e,"y",(function(){return h})),n.d(e,"d",(function(){return m})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return v})),n.d(e,"o",(function(){return g})),n.d(e,"z",(function(){return j})),n.d(e,"v",(function(){return y})),n.d(e,"q",(function(){return k})),n.d(e,"r",(function(){return w})),n.d(e,"p",(function(){return O})),n.d(e,"f",(function(){return _})),n.d(e,"e",(function(){return C})),n.d(e,"n",(function(){return z})),n.d(e,"k",(function(){return S})),n.d(e,"a",(function(){return T})),n.d(e,"t",(function(){return E})),n.d(e,"i",(function(){return M})),n.d(e,"g",(function(){return L}));var o=n("22b6");function r(t){return o["a"].post("project/task",t)}function a(t){return o["a"].post("project/task/getListByTaskTag",t)}function i(t){return o["a"].post("project/task/selfList",t)}function c(t){return o["a"].post("project/task/taskSources",t)}function s(t){return o["a"].post("project/task/sort",t)}function u(t){return o["a"].post("project/task/save",t)}function l(t){return o["a"].post("project/task/edit",t)}function d(t){return o["a"].post("project/task/taskToTags",t)}function f(t){return o["a"].post("project/task/setTag",t)}function p(t,e){return o["a"].post("project/task/like",{like:e,taskCode:t})}function h(t,e){return o["a"].post("project/task/star",{star:e,taskCode:t})}function m(t,e,n){return o["a"].post("project/task/createComment",{taskCode:t,comment:e,mentions:n})}function b(t){return o["a"].post("project/task/assignTask",t)}function v(t){return o["a"].post("project/task/batchAssignTask",t)}function g(t){return o["a"].post("project/task/read",{taskCode:t})}function j(t,e){return o["a"].post("project/task/taskDone",{taskCode:t,done:e})}function y(t,e){return o["a"].post("project/task/setPrivate",{taskCode:t,private:e})}function k(t){return o["a"].post("project/task/recycle",{taskCode:t})}function w(t){return o["a"].post("project/task/recycleBatch",t)}function O(t){return o["a"].post("project/task/recovery",{taskCode:t})}function _(t){return o["a"].post("project/task/delete",{taskCode:t})}function C(t){return o["a"].post("project/task/dateTotalForProject",t)}function z(t){return o["a"].post("project/task/taskLog",t)}function S(t){return o["a"].post("project/project/getLogBySelfProject",t)}function T(t){return o["a"].post("project/task/_taskWorkTimeList",t)}function E(t){return o["a"].post("project/task/saveTaskWorkTime",t)}function M(t){return o["a"].post("project/task/editTaskWorkTime",t)}function L(t){return o["a"].post("project/task/delTaskWorkTime",t)}},bae8:function(t,e,n){t.exports=n.p+"img/logo.b83ac094.png"},c24f:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"w",(function(){return l})),n.d(e,"t",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"j",(function(){return p})),n.d(e,"m",(function(){return h})),n.d(e,"u",(function(){return m})),n.d(e,"s",(function(){return b})),n.d(e,"x",(function(){return v})),n.d(e,"o",(function(){return g})),n.d(e,"l",(function(){return j})),n.d(e,"n",(function(){return y})),n.d(e,"v",(function(){return k})),n.d(e,"y",(function(){return w})),n.d(e,"p",(function(){return O})),n.d(e,"r",(function(){return _})),n.d(e,"q",(function(){return C})),n.d(e,"c",(function(){return z})),n.d(e,"b",(function(){return S})),n.d(e,"k",(function(){return T})),n.d(e,"f",(function(){return E})),n.d(e,"d",(function(){return M})),n.d(e,"h",(function(){return L})),n.d(e,"e",(function(){return x})),n.d(e,"i",(function(){return F}));n("63ff"),n("4634");var o=n("953a"),r=n("22b6"),a=n("a18c"),i=n("4360"),c=n("2f14");function s(t){return u.apply(this,arguments)}function u(){return u=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",r["a"].post("project/login",e));case 1:case"end":return t.stop()}}),t)}))),u.apply(this,arguments)}function l(t){return r["a"].post("project/login/register",t)}function d(t){return r["a"].post("project/login/getCaptcha",{mobile:t})}function f(t){return r["a"].post("project/login/_getMailCaptcha",{email:t})}function p(t){return r["a"].post("project/login/_resetPasswordByMail",t)}function h(t){var e=t.code;return i["a"].dispatch("setCurrentOrganization",t),r["a"].post("project/index/changeCurrentOrganization",{organizationCode:e}).then((function(t){if(Object(c["a"])(t))return i["a"].dispatch("SET_MENU",t.data.menuList),i["a"].dispatch("SET_USER",t.data.member),i["a"].dispatch("windowLoading",!0),setTimeout((function(){var e=t.data.menuList;if(e){var n=a["a"].options.routes;e.forEach((function(t){n[0].children.push(Object(c["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(c["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(c["b"])(t))}))}))})),a["a"].addRoutes(n),i["a"].dispatch("windowLoading",!1)}}),500),Promise.resolve(t)}))}function m(t){return r["a"].post("project/account",t)}function b(t){return r["a"].post("project/account/forbid",{accountCode:t,status:0})}function v(t){return r["a"].post("project/account/resume",{accountCode:t,status:1})}function g(t){var e="project/account/add";return t.code&&(e="project/account/edit"),r["a"].post(e,t)}function j(t,e){return r["a"].post("project/account/auth",{id:t,auth:e})}function y(t){return r["a"].post("project/account/del",{accountCode:t})}function k(t){return r["a"].post("project/account/read",{code:t})}function w(t){return r["a"].post("project/account/_syncDetail",t)}function O(t){return r["a"].post("project/account/edit",t)}function _(t){return r["a"].post("project/index/editPersonal",t)}function C(t){return r["a"].post("project/index/editPassword",t)}function z(t){return r["a"].post("project/login/_bindMobile",t)}function S(t){return r["a"].post("project/login/_bindMail",t)}function T(t){return r["a"].post("project/login/_unbindDingtalk",t)}function E(t){return r["a"].post("project/login/_currentMember",t)}function M(t){return r["a"].post("project/login/_checkBindMail",t)}function L(t){return r["a"].post("project/account/_joinByInviteLink",{inviteCode:t})}function x(t){return r["a"].post("project/login/_checkLogin",t)}function F(t){return r["a"].post("project/login/_out",t)}},c536:function(t,e,n){},cd4b:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return u}));var o=n("22b6");function r(t){return o["a"].post("project/notify/_clearAll",t)}function a(t){return o["a"].post("project/notify",t)}function i(){return o["a"].post("project/notify/noReads")}function c(t){return o["a"].post("project/notify/delete",{id:t})}function s(t){return o["a"].post("project/notify/batchDel",{ids:t})}function u(t){return o["a"].post("project/notify/setReadied",{ids:t})}},d368:function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return s}));var o=n("22b6"),r=n("4360");function a(t){return o["a"].post("project/organization",t)}function i(t){return o["a"].post("project/organization/_getOrgList",t).then((function(t){return t.data&&r["a"].dispatch("setOrganizationList",t.data),Promise.resolve(t)}))}function c(t){var e="project/organization/save";return t.organizationCode&&(e="project/organization/edit"),o["a"].post(e,t)}function s(t){return o["a"].post("project/organization/_quitOrganization",t)}}});