diff --git a/css/chunk-dce5b356.f4ca5819.css b/css/chunk-2b587d1f.f4ca5819.css similarity index 100% rename from css/chunk-dce5b356.f4ca5819.css rename to css/chunk-2b587d1f.f4ca5819.css diff --git a/css/chunk-1e7688a9.457cdbd8.css b/css/chunk-4689b1fb.457cdbd8.css similarity index 100% rename from css/chunk-1e7688a9.457cdbd8.css rename to css/chunk-4689b1fb.457cdbd8.css diff --git a/css/chunk-423c43a8.e0fd0bd8.css b/css/chunk-4cc38fae.e0fd0bd8.css similarity index 100% rename from css/chunk-423c43a8.e0fd0bd8.css rename to css/chunk-4cc38fae.e0fd0bd8.css diff --git a/index.html b/index.html index 751554b..d7987c1 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -工单系统
\ No newline at end of file +工单系统
\ No newline at end of file diff --git a/js/app.c66cf790.js b/js/app.5828c386.js similarity index 95% rename from js/app.c66cf790.js rename to js/app.5828c386.js index e55c360..9375022 100644 --- a/js/app.c66cf790.js +++ b/js/app.5828c386.js @@ -1 +1 @@ -(function(t){function e(e){for(var o,a,i=e[0],s=e[1],u=e[2],l=0,d=[];l1?e("div",{staticClass:"action action-organization"},[e("header-select")],1):t._e(),e("div",{staticClass:"action"},[e("header-notice")],1),e("div",{staticClass:"action action-avatar"},[e("header-avatar")],1)])],1),e("a-layout",{staticStyle:{"padding-top":"65px"}},[e("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(n){return e("a-menu",{key:n.id.toString(),attrs:{theme:t.theme,openKeys:t.openKeys,mode:"inline"},on:{click:function(e){return t.menuClick(e,n)},openChange:t.onOpenChange},model:{value:t.selectedKeys,callback:function(e){t.selectedKeys=e},expression:"selectedKeys"}},[n.children||n.is_inner||"#"==n.node?t._e():e("a-menu-item",{key:n.id,attrs:{disabled:!n.status}},[e("a-icon",{attrs:{type:n.icon}}),e("span",[t._v(t._s(n.title))])],1),n.children&&!n.is_inner?e("a-sub-menu",{key:n.id.toString()},[e("span",{attrs:{slot:"title"},slot:"title"},[e("a-icon",{attrs:{type:n.icon}}),e("span",[t._v(t._s(n.title))])],1),t._l(n.children,(function(n,o){return n.is_inner?t._e():e("a-menu-item",{key:n.id.toString(),attrs:{disabled:!n.status}},[t._v("\n "+t._s(n.title)+"\n ")])}))],2):t._e()],1)})),1),e("a-layout",{staticClass:"main-content",style:t.collapsed?{paddingLeft:"80px"}:{paddingLeft:"256px"}},[e("a-layout-content",[e("transition",{attrs:{name:"router-fade",mode:"out-in"}},[e("a-spin",{attrs:{spinning:t.pageLoading}},[e("router-view")],1)],1)],1)],1)],1)],1),t.config.WS_URI?e("Socket",{ref:"socket"}):t._e()],1),e("v-uploader")],1)},a=[],r=(n("8e6e"),n("456d"),n("7514"),n("ac6a"),n("7f7f"),n("ade3")),c=n("2f62"),i=n("98c5"),s=function(){var t=this,e=t._self._c;return e("a-popover",{attrs:{overlayClassName:"header-notice",trigger:"click",placement:"bottomRight"},model:{value:t.showNotice,callback:function(e){t.showNotice=e},expression:"showNotice"}},[e("template",{slot:"content"},[e("a-spin",{attrs:{spinning:t.loading}},[e("a-tabs",{staticClass:"header-notice-content",attrs:{tabBarGutter:25}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("消息"),t.total&&t.totalSum["message"]?e("span",[t._v("("+t._s(t.totalSum["message"])+")")]):t._e()]),t.total&&t.totalSum["message"]?[e("a-list",[t._l(t.list["message"],(function(n){return[e("a-list-item",{key:n.id,on:{click:function(e){return t.messageAction(n)}}},[e("a-list-item-meta",{attrs:{description:n.create_time}},[e("span",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(n.title))]),e("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(n.content)}})]),e("a-avatar",{attrs:{slot:"avatar",src:n.avatar},slot:"avatar"})],1)],1)]}))],2),e("div",{staticClass:"footer-action"},[e("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("message")}}},[t._v("清空消息")]),e("a",{staticClass:"item muted",on:{click:function(e){return t.showMore("1")}}},[t._v("查看更多")])])]:[e("div",{staticClass:"notFound"},[e("img",{attrs:{src:n("7e25"),alt:"not found"}}),e("div",[t._v("你已读完所有消息")])])]],2),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("通知"),t.total&&t.totalSum["notice"]?e("span",[t._v("("+t._s(t.totalSum["notice"])+")")]):t._e()]),t.total&&t.totalSum["notice"]?[e("a-list",[t._l(t.list["notice"],(function(n){return[e("a-list-item",{key:n.id},[e("a-list-item-meta",{attrs:{description:n.create_time}},[e("span",{attrs:{slot:"title"},slot:"title"},[e("p",{domProps:{innerHTML:t._s(n.title)}}),e("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(n.content)}})]),e("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1)]}))],2),e("div",{staticClass:"footer-action"},[e("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("notice")}}},[t._v("清空通知")]),e("a",{staticClass:"item muted",on:{click:function(){t.$router.push("/notify/notice")}}},[t._v("查看更多")])])]:[e("div",{staticClass:"notFound"},[e("img",{attrs:{src:n("5744"),alt:"not found"}}),e("div",[t._v("你已查看所有通知")])])]],2)],1)],1)],1),e("span",[e("a-badge",{attrs:{count:t.total}},[e("a-icon",{staticClass:"action-item",attrs:{type:"bell"}})],1)],1)],2)},u=[],l=n("c1df"),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},a=window.Notification||window.mozNotification||window.webkitNotification;if(console.log(a.permission),a&&"granted"===a.permission){var r=new a(t,o);r.onclick=function(){"function"===typeof o.onclick&&o.onclick(r)},r.onerror=function(){"function"===typeof o.onerror&&o.onerror(r)},r.onshow=function(){"function"===typeof o.onshow&&o.onshow(r),setTimeout((function(){r.close()}),o.showTime)},r.onclose=function(){"function"===typeof o.onclose&&o.onclose(r)}}else{if(!a||"denied"===a.permission)return!1;a.requestPermission((function(e){if(a.permission!==e&&(a.permission=e),"granted"!==e)return!1;var n=new a(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()},fileAdded:function(t,e,n){var o=!1,a="",r=1024*this.singleMaxSize*1024;e.forEach((function(t,e){if(t.size>r)return o=!0,a=t.file.name,!1})),t.ignored=o,o&&this.$info({title:"文件超过最大限制",content:"上传文件「".concat(a,"」过大,请选择").concat(this.singleMaxSize,"MB以内的文件")})},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 a=JSON.parse(n);if(!Object(P["a"])(a))return Object(p["b"])({title:a.msg},"notice","error"),!1;t.projectName=a.data.projectName,t.fileUrl=a.data.url,t.code=a.data.code||"",console.log("file success",t),this.completeTotal++},fileError:function(t,e,n,o){this.completeTotal--;var a=JSON.parse(n);e.cancel(),t.projectName=a.data.projectName,console.log("file error",t),Object(p["b"])({title:a.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("c3fe"),Object(y["a"])(W,U,$,!1,null,null,null)),J=q.exports,X=function(){var t=this,e=t._self._c;return e("div")},Z=[],Q=n("a026"),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(V["c"])("client_id",e.data.client_id);var n=Object(V["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()}},at=ot,rt=Object(y["a"])(at,X,Z,!1,null,null,null),ct=rt.exports,it=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,a=t.msg;return 200===n||(e&&Object(o["b"])(a),!1)},c=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-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-6ce5f9f4"),n.e("chunk-1e7688a9")]).then(function(){var e=[n("4b3b")("./"+o)];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:t.pid,info:t}}},i=function(t,e){var n=new FileReader;n.addEventListener("load",(function(){return e(n.result)})),n.readAsDataURL(t)},s=function(t){return"https://work.lihaink.cn/"+t},u=function(t){return"https://work.lihaink.cn/"+t},l=function(t){var e="";return e+u(t)};function d(){var t=new Date,e=t.getHours();return e<9?"早上好":e<=11?"上午好":e<=13?"中午好":e<20?"下午好":"晚上好"}function f(){var t=Object(a["a"])("tokenList",!0);if(t){var e=t.accessToken,n=t.tokenType;return{Authorization:"".concat(n," ").concat(e)}}return{}}var p=function(t,e){e=e||document,t=t||"*";var n=[];if(document.getElementsByClassName)return document.getElementsByClassName(t);for(var o=document.getElementsByTagName(e),a=new RegExp("(^|\\s)"+t+"(\\s|$)"),r=0;r0&&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)}}a(i)})(window)},"56d7":function(t,e,n){"use strict";n.r(e);n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d");var o=n("a026"),a=n("8c4f"),r=n("f23d"),c=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{height:"100%"},attrs:{id:"app"}},[e("a-config-provider",{attrs:{getPopupContainer:t.getPopupContainer,locale:t.zh_CN}},[e("transition",{attrs:{name:"router-fades",mode:"out-in"}},[e("router-view")],1)],1)],1)},i=[],s=n("677e"),u=n.n(s),l=(n("5c3a"),{name:"app",data:function(){return{zh_CN:u.a}},watch:{},methods:{getPopupContainer:function(t,e){return e?e.getDialogWrap():document.body}}}),d=l,f=n("2877"),p=Object(f["a"])(d,c,i,!1,null,null,null),h=p.exports,m=n("4360"),b=n("a18c"),v=(n("202f"),n("77a0")),g=n.n(v),j=(n("aaf0"),n("40f5"),n("476a"),function(){var t=this,e=t._self._c;return e("div",[t.showHeader?e("div",{staticClass:"page-header"},[t.breadCrumbInfo.length>0&&t.breadCrumb?e("div",{staticClass:"breadcrumb"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/home"}},[t._v("首页")])],1),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[2].title))]),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[1].title))]),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[0].title))])],1)],1):t._e(),e("div",{staticClass:"detail"},[e("div",{staticClass:"main"},[e("div",{staticClass:"row"},[""!=t.pageTitle.trim()&&t.showTitle?e("h1",{staticClass:"title"},[t._v(t._s(t.pageTitle))]):t.showTitle?e("h1",{staticClass:"title"},[t._v(t._s(t.defaultPageTitle))]):t._e(),e("div",{staticClass:"action"},[t._t("action")],2)]),e("div",{staticClass:"row"},[this.$slots.content?e("div",{staticClass:"content"},[t._t("content")],2):t._e(),this.$slots.extra?e("div",{staticClass:"extra"},[t._t("extra")],2):t._e()])])])]):e("div",{staticClass:"page-header page-header-none"}),e("div",{staticClass:"page-header page-header-none"}),e("div",{staticClass:"wrapper-main"},[e("div",{staticClass:"wrapper-content",class:{hidden:t.pageLoading}},[e("div",{staticClass:"layout-content"},[this.$slots.contentTitle||this.$slots.contentAction?e("div",{staticClass:"content-title"},[t._t("contentTitle"),e("div",{staticClass:"content-action"},[t._t("contentAction")],2)],2):t._e(),t._t("default")],2)])])])}),y=[],k=(n("8e6e"),n("456d"),n("ade3")),w=n("53ca"),O=n("2f62"),_=n("68fe"),C=n("2f14"),z=n("1157"),S=n.n(z),E=n("2fc4");function T(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=U["a"].HOME_PAGE;console.log(U["a"].HOME_PAGE),t&&(e=e+"/"+t.code),this.$router.push(e)}}};n("20d6"),n("6b54");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"],a=t.extension,r=o.findIndex((function(t){return t==a}));return-1!==r&&(e=n+e),e}));var V=n("af88"),R=n("ef55"),K=n.n(R);B.a.locale("zh-cn"),o["default"].use(a["a"]),o["default"].use(m["a"]),o["default"].directive("disable-click",{inserted:function(t,e){e.value=!!e.value,console.log("binding",e),e.value&&(t.addEventListener("click",(function(t){e.value&&(t.preventDefault(),t.stopPropagation())})),t.querySelectorAll("*").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation()}))})))},update:function(t,e){e.value=!!e.value,console.log("binding",e),e.value&&(t.addEventListener("click",(function(t){e.value&&(t.preventDefault(),t.stopPropagation())})),t.querySelectorAll("*").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation()}))})))}}),window._AMapSecurityConfig={securityJsCode:"e8b6cb44e8e431d68052c8e10db99264"},o["default"].config.productionTip=!1,o["default"].use(r["a"]),o["default"].component("WrapperContent",D),o["default"].use(V["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($),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 a})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));n("28a5");var o="ep_",a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=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 r=new Date;e+=a>0?"&"+(r.getTime()+3600*a*1e3):"&0",e+="&"+r.getTime()}window.localStorage.setItem(t,e)},r=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))},c=function(t){if(!t)return!1;t=o+t,window.localStorage.removeItem(t)}},7978:function(t,e,n){"use strict";n("33c9")},"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 r})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return s}));n("3b2b"),n("a481");var o=n("c1df"),a=n.n(o),r=function(t,e){e||(e=a()());var n=a()(e).diff(a()(t),"hours");if(n<=1)return a()(t).fromNow();a()(e).get("date"),a()(t).get("date");var o=a()(t).format("H:mm"),r=a()(t).format("YYYY-MM-DD"),c=a()().weekday(0).format("YYYY-MM-DD"),i=a()().weekday(6).format("YYYY-MM-DD"),s="";return s=ri?"[下周]dd "+o:"[周]dd "+o,a()(t).calendar(null,{sameDay:"[今天 ]"+a()(t).format("H:mm"),nextDay:"[明天 ]"+o,nextWeek:s,lastDay:"[昨天 ]"+o,lastWeek:s,sameElse:"M月D日 H:mm"})},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a()(t).format("H:mm");e||(n="");var o=a()(t).format("YYYY-MM-DD"),r=a()().weekday(0).format("YYYY-MM-DD"),c=a()().weekday(6).format("YYYY-MM-DD"),i="";return i=oc?"[下周]dd "+n:"[周]dd "+n,a()(t).calendar(null,{sameDay:"[今天 ]"+a()(t).format("H:mm"),nextDay:"[明天 ]"+n,nextWeek:i,lastDay:"[昨天 ]"+n,lastWeek:i,sameElse:"M月D日 H:mm"})},i=function(t,e){return!e&&t?c(t)+" 开始":t?c(t)+" - "+c(e):c(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 a})),n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"e",(function(){return s}));var o=n("22b6");function a(t){return o["a"].post("index/index/install",t)}function r(){return o["a"].post("index/index/checkInstall")}function c(t){return o["a"].post("project/invite_link/_read",{inviteCode:t})}function i(t){return o["a"].post("project/invite_link/save",t)}function s(t){return o["a"].post("index/index/refreshAccessToken",{refreshToken:t})}},"88ae":function(t,e,n){},"97a8":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}));var o=n("f64c"),a=n("56cd"),r=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",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bottomLeft";c();var s={};if(s.duration=r,"message"===e)switch(n){case"info":return o["a"].info(t,r);case"success":return o["a"].success(t,r);case"error":return o["a"].error(t,r);case"loading":return o["a"].loading(t,r);default:return o["a"].warning(t,r)}else switch(s.message=t.title,s.description=t.msg||"",s.placement=i,n){case"open":return a["a"].open(s);case"info":return a["a"].info(s);case"success":return a["a"].success(s);case"error":return a["a"].error(s);default:return a["a"].warning(s)}},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t?"message"===t?o["a"].destroy():a["a"].destroy():(o["a"].destroy(),a["a"].destroy())}},a078:function(t,e,n){"use strict";e["a"]={crossDomain:"false",PROD_URL:"https://work.lihaink.cn",WS_URI:"wss://work.lihaink.cn",HOME_PAGE:"/home"}},a18c:function(t,e,n){"use strict";n("7f7f"),n("ac6a");var o=n("a026"),a=n("4360"),r=n("8c4f"),c=n("1e4b"),i=[{name:"task",path:"/project/space/task/:code",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-d24496b2")]).then(function(){var e=[n("d96ec")];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-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-6ce5f9f4"),n.e("chunk-423c43a8")]).then(function(){var e=[n("d0e1")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Project",info:{show_slider:!1}}},{name:"taskadd",path:"add/:taskCode",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-6ce5f9f4"),n.e("chunk-4e998ab0")]).then(function(){var e=[n("f561")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Project",info:{show_slider:!1}}}]},{name:"copy",path:"/project/space/copy/:code",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-dce5b356")]).then(function(){var e=[n("9bef")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:122,info:{show_slider:!1,is_inner:!0}},children:[{name:"taskdetailcopy",path:"detail/:taskCode",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-6ce5f9f4"),n.e("chunk-423c43a8")]).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-607d3148").then(function(){var e=[n("6e0f")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Common",info:{show_slider:!1}}},{name:"calendar",path:"/calendar",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-afcfa35e")]).then(function(){var e=[n("37a7")];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(r["a"]);var h=[].concat(i),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 r["a"]({routes:[{path:"/",name:"index",component:c["default"],children:h},{name:"member",path:"/member",component:function(t){return n.e("chunk-e3d6f510").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-4794d8ce").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-0c259edb").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-ddf84650").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-6560417d").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-06548746").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 r=o.refreshToken,c=o.accessTokenExp;c&&Object(u["i"])(c)&&Object(d["e"])(r).then((function(t){o.accessToken=t.data.accessToken,o.accessTokenExp=t.data.accessTokenExp,Object(s["c"])("tokenList",o)})).catch((function(){return a["a"].state.logged=!1,a["a"].state.userInfo=null,!1}))}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&&a["a"].state.logged?(n({path:f}),!1):a["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},b199:function(t,e,n){"use strict";n.d(e,"m",(function(){return a})),n.d(e,"j",(function(){return r})),n.d(e,"u",(function(){return c})),n.d(e,"A",(function(){return i})),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 E})),n.d(e,"t",(function(){return T})),n.d(e,"i",(function(){return M})),n.d(e,"g",(function(){return L}));var o=n("22b6");function a(t){return o["a"].post("project/task",t)}function r(t){return o["a"].post("project/task/getListByTaskTag",t)}function c(t){return o["a"].post("project/task/selfList",t)}function i(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){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return o["a"].post("project/task/createComment",{taskCode:t,comment:e,mentions:n,type:a})}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 E(t){return o["a"].post("project/task/_taskWorkTimeList",t)}function T(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,"y",(function(){return l})),n.d(e,"u",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"n",(function(){return h})),n.d(e,"b",(function(){return m})),n.d(e,"w",(function(){return b})),n.d(e,"t",(function(){return v})),n.d(e,"z",(function(){return g})),n.d(e,"v",(function(){return j})),n.d(e,"p",(function(){return y})),n.d(e,"m",(function(){return k})),n.d(e,"o",(function(){return w})),n.d(e,"x",(function(){return O})),n.d(e,"A",(function(){return _})),n.d(e,"q",(function(){return C})),n.d(e,"s",(function(){return z})),n.d(e,"r",(function(){return S})),n.d(e,"d",(function(){return E})),n.d(e,"c",(function(){return T})),n.d(e,"l",(function(){return M})),n.d(e,"g",(function(){return L})),n.d(e,"e",(function(){return x})),n.d(e,"i",(function(){return F})),n.d(e,"f",(function(){return P})),n.d(e,"j",(function(){return D}));n("96cf"),n("ac6a");var o=n("1da1"),a=n("22b6"),r=n("a18c"),c=n("4360"),i=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",a["a"].post("project/login",e));case 1:case"end":return t.stop()}}),t)}))),u.apply(this,arguments)}function l(t){return a["a"].post("project/login/register",t)}function d(t){return a["a"].post("project/login/getCaptcha",{mobile:t})}function f(t){return a["a"].post("project/login/_getMailCaptcha",{email:t})}function p(t){return a["a"].post("project/login/_resetPasswordByMail",t)}function h(t){var e=t.code;return c["a"].dispatch("setCurrentOrganization",t),a["a"].post("project/index/changeCurrentOrganization",{organizationCode:e}).then((function(t){if(Object(i["a"])(t))return c["a"].dispatch("SET_MENU",t.data.menuList),c["a"].dispatch("SET_USER",t.data.member),c["a"].dispatch("windowLoading",!0),setTimeout((function(){var e=t.data.menuList;if(e){var n=r["a"].options.routes;e.forEach((function(t){n[0].children.push(Object(i["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(i["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(i["b"])(t))}))}))})),r["a"].addRoutes(n),c["a"].dispatch("windowLoading",!1)}}),500),Promise.resolve(t)}))}function m(t){return a["a"].post("project/account/_allList",t)}function b(t){return a["a"].post("project/account",t)}function v(t){return a["a"].post("project/account/forbid",{accountCode:t,status:0})}function g(t){return a["a"].post("project/account/resume",{accountCode:t,status:1})}function j(t){return a["a"].post("project/account/set_liaison_man",t)}function y(t){var e="project/account/add";return t.code&&(e="project/account/edit"),a["a"].post(e,t)}function k(t,e){return a["a"].post("project/account/auth",{id:t,auth:e})}function w(t){return a["a"].post("project/account/del",{accountCode:t})}function O(t){return a["a"].post("project/account/read",{code:t})}function _(t){return a["a"].post("project/account/_syncDetail",t)}function C(t){return a["a"].post("project/account/edit",t)}function z(t){return a["a"].post("project/index/editPersonal",t)}function S(t){return a["a"].post("project/index/editPassword",t)}function E(t){return a["a"].post("project/login/_bindMobile",t)}function T(t){return a["a"].post("project/login/_bindMail",t)}function M(t){return a["a"].post("project/login/_unbindDingtalk",t)}function L(t){return a["a"].post("project/login/_currentMember",t)}function x(t){return a["a"].post("project/login/_checkBindMail",t)}function F(t){return a["a"].post("project/account/_joinByInviteLink",{inviteCode:t})}function P(t){return a["a"].post("project/login/_checkLogin",t)}function D(t){return a["a"].post("project/login/_out",t)}},c3fe:function(t,e,n){"use strict";n("88ae")},cd4b:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return u}));var o=n("22b6");function a(t){return o["a"].post("project/notify/_clearAll",t)}function r(t){return o["a"].post("project/notify",t)}function c(){return o["a"].post("project/notify/noReads")}function i(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})}},d037:function(t,e,n){},d368:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s}));var o=n("22b6"),a=n("4360");function r(t){return o["a"].post("project/organization",t)}function c(t){return o["a"].post("project/organization/_getOrgList",t).then((function(t){return t.data&&a["a"].dispatch("setOrganizationList",t.data),Promise.resolve(t)}))}function i(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)}}}); \ No newline at end of file +(function(t){function e(e){for(var o,a,i=e[0],s=e[1],u=e[2],l=0,f=[];l1?e("div",{staticClass:"action action-organization"},[e("header-select")],1):t._e(),e("div",{staticClass:"action"},[e("header-notice")],1),e("div",{staticClass:"action action-avatar"},[e("header-avatar")],1)])],1),e("a-layout",{staticStyle:{"padding-top":"65px"}},[e("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(n){return e("a-menu",{key:n.id.toString(),attrs:{theme:t.theme,openKeys:t.openKeys,mode:"inline"},on:{click:function(e){return t.menuClick(e,n)},openChange:t.onOpenChange},model:{value:t.selectedKeys,callback:function(e){t.selectedKeys=e},expression:"selectedKeys"}},[n.children||n.is_inner||"#"==n.node?t._e():e("a-menu-item",{key:n.id,attrs:{disabled:!n.status}},[e("a-icon",{attrs:{type:n.icon}}),e("span",[t._v(t._s(n.title))])],1),n.children&&!n.is_inner?e("a-sub-menu",{key:n.id.toString()},[e("span",{attrs:{slot:"title"},slot:"title"},[e("a-icon",{attrs:{type:n.icon}}),e("span",[t._v(t._s(n.title))])],1),t._l(n.children,(function(n,o){return n.is_inner?t._e():e("a-menu-item",{key:n.id.toString(),attrs:{disabled:!n.status}},[t._v("\n "+t._s(n.title)+"\n ")])}))],2):t._e()],1)})),1),e("a-layout",{staticClass:"main-content",style:t.collapsed?{paddingLeft:"80px"}:{paddingLeft:"256px"}},[e("a-layout-content",[e("transition",{attrs:{name:"router-fade",mode:"out-in"}},[e("a-spin",{attrs:{spinning:t.pageLoading}},[e("router-view")],1)],1)],1)],1)],1)],1),t.config.WS_URI?e("Socket",{ref:"socket"}):t._e()],1),e("v-uploader")],1)},a=[],r=(n("8e6e"),n("456d"),n("7514"),n("ac6a"),n("7f7f"),n("ade3")),c=n("2f62"),i=n("98c5"),s=function(){var t=this,e=t._self._c;return e("a-popover",{attrs:{overlayClassName:"header-notice",trigger:"click",placement:"bottomRight"},model:{value:t.showNotice,callback:function(e){t.showNotice=e},expression:"showNotice"}},[e("template",{slot:"content"},[e("a-spin",{attrs:{spinning:t.loading}},[e("a-tabs",{staticClass:"header-notice-content",attrs:{tabBarGutter:25}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("消息"),t.total&&t.totalSum["message"]?e("span",[t._v("("+t._s(t.totalSum["message"])+")")]):t._e()]),t.total&&t.totalSum["message"]?[e("a-list",[t._l(t.list["message"],(function(n){return[e("a-list-item",{key:n.id,on:{click:function(e){return t.messageAction(n)}}},[e("a-list-item-meta",{attrs:{description:n.create_time}},[e("span",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(n.title))]),e("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(n.content)}})]),e("a-avatar",{attrs:{slot:"avatar",src:n.avatar},slot:"avatar"})],1)],1)]}))],2),e("div",{staticClass:"footer-action"},[e("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("message")}}},[t._v("清空消息")]),e("a",{staticClass:"item muted",on:{click:function(e){return t.showMore("1")}}},[t._v("查看更多")])])]:[e("div",{staticClass:"notFound"},[e("img",{attrs:{src:n("7e25"),alt:"not found"}}),e("div",[t._v("你已读完所有消息")])])]],2),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[t._v("通知"),t.total&&t.totalSum["notice"]?e("span",[t._v("("+t._s(t.totalSum["notice"])+")")]):t._e()]),t.total&&t.totalSum["notice"]?[e("a-list",[t._l(t.list["notice"],(function(n){return[e("a-list-item",{key:n.id},[e("a-list-item-meta",{attrs:{description:n.create_time}},[e("span",{attrs:{slot:"title"},slot:"title"},[e("p",{domProps:{innerHTML:t._s(n.title)}}),e("p",{staticClass:"ant-list-item-meta-description",domProps:{innerHTML:t._s(n.content)}})]),e("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1)]}))],2),e("div",{staticClass:"footer-action"},[e("a",{staticClass:"item muted",on:{click:function(e){return t.setRead("notice")}}},[t._v("清空通知")]),e("a",{staticClass:"item muted",on:{click:function(){t.$router.push("/notify/notice")}}},[t._v("查看更多")])])]:[e("div",{staticClass:"notFound"},[e("img",{attrs:{src:n("5744"),alt:"not found"}}),e("div",[t._v("你已查看所有通知")])])]],2)],1)],1)],1),e("span",[e("a-badge",{attrs:{count:t.total}},[e("a-icon",{staticClass:"action-item",attrs:{type:"bell"}})],1)],1)],2)},u=[],l=n("c1df"),f=n.n(l),d=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},a=window.Notification||window.mozNotification||window.webkitNotification;if(console.log(a.permission),a&&"granted"===a.permission){var r=new a(t,o);r.onclick=function(){"function"===typeof o.onclick&&o.onclick(r)},r.onerror=function(){"function"===typeof o.onerror&&o.onerror(r)},r.onshow=function(){"function"===typeof o.onshow&&o.onshow(r),setTimeout((function(){r.close()}),o.showTime)},r.onclose=function(){"function"===typeof o.onclose&&o.onclose(r)}}else{if(!a||"denied"===a.permission)return!1;a.requestPermission((function(e){if(a.permission!==e&&(a.permission=e),"granted"!==e)return!1;var n=new a(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()},fileAdded:function(t,e,n){var o=!1,a="",r=1024*this.singleMaxSize*1024;e.forEach((function(t,e){if(t.size>r)return o=!0,a=t.file.name,!1})),t.ignored=o,o&&this.$info({title:"文件超过最大限制",content:"上传文件「".concat(a,"」过大,请选择").concat(this.singleMaxSize,"MB以内的文件")})},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 a=JSON.parse(n);if(!Object(P["a"])(a))return Object(p["b"])({title:a.msg},"notice","error"),!1;t.projectName=a.data.projectName,t.fileUrl=a.data.url,t.code=a.data.code||"",console.log("file success",t),this.completeTotal++},fileError:function(t,e,n,o){this.completeTotal--;var a=JSON.parse(n);e.cancel(),t.projectName=a.data.projectName,console.log("file error",t),Object(p["b"])({title:a.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("c3fe"),Object(y["a"])(W,U,$,!1,null,null,null)),J=q.exports,X=function(){var t=this,e=t._self._c;return e("div")},Z=[],Q=n("a026"),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(V["c"])("client_id",e.data.client_id);var n=Object(V["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()}},at=ot,rt=Object(y["a"])(at,X,Z,!1,null,null,null),ct=rt.exports,it=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,a=t.msg;return 200===n||(e&&Object(o["b"])(a),!1)},c=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-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-6ce5f9f4"),n.e("chunk-4689b1fb")]).then(function(){var e=[n("4b3b")("./"+o)];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:t.pid,info:t}}},i=function(t,e){var n=new FileReader;n.addEventListener("load",(function(){return e(n.result)})),n.readAsDataURL(t)},s=function(t){return"https://work.lihaink.cn/"+t},u=function(t){return"https://work.lihaink.cn/"+t},l=function(t){var e="";return e+u(t)};function f(){var t=new Date,e=t.getHours();return e<9?"早上好":e<=11?"上午好":e<=13?"中午好":e<20?"下午好":"晚上好"}function d(){var t=Object(a["a"])("tokenList",!0);if(t){var e=t.accessToken,n=t.tokenType;return{Authorization:"".concat(n," ").concat(e)}}return{}}var p=function(t,e){e=e||document,t=t||"*";var n=[];if(document.getElementsByClassName)return document.getElementsByClassName(t);for(var o=document.getElementsByTagName(e),a=new RegExp("(^|\\s)"+t+"(\\s|$)"),r=0;r0&&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)}}a(i)})(window)},"56d7":function(t,e,n){"use strict";n.r(e);n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d");var o=n("a026"),a=n("8c4f"),r=n("f23d"),c=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{height:"100%"},attrs:{id:"app"}},[e("a-config-provider",{attrs:{getPopupContainer:t.getPopupContainer,locale:t.zh_CN}},[e("transition",{attrs:{name:"router-fades",mode:"out-in"}},[e("router-view")],1)],1)],1)},i=[],s=n("677e"),u=n.n(s),l=(n("5c3a"),{name:"app",data:function(){return{zh_CN:u.a}},watch:{},methods:{getPopupContainer:function(t,e){return e?e.getDialogWrap():document.body}}}),f=l,d=n("2877"),p=Object(d["a"])(f,c,i,!1,null,null,null),h=p.exports,m=n("4360"),b=n("a18c"),v=(n("202f"),n("77a0")),g=n.n(v),j=(n("aaf0"),n("40f5"),n("476a"),function(){var t=this,e=t._self._c;return e("div",[t.showHeader?e("div",{staticClass:"page-header"},[t.breadCrumbInfo.length>0&&t.breadCrumb?e("div",{staticClass:"breadcrumb"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/home"}},[t._v("首页")])],1),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[2].title))]),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[1].title))]),e("a-breadcrumb-item",[t._v(t._s(t.breadCrumbInfo[0].title))])],1)],1):t._e(),e("div",{staticClass:"detail"},[e("div",{staticClass:"main"},[e("div",{staticClass:"row"},[""!=t.pageTitle.trim()&&t.showTitle?e("h1",{staticClass:"title"},[t._v(t._s(t.pageTitle))]):t.showTitle?e("h1",{staticClass:"title"},[t._v(t._s(t.defaultPageTitle))]):t._e(),e("div",{staticClass:"action"},[t._t("action")],2)]),e("div",{staticClass:"row"},[this.$slots.content?e("div",{staticClass:"content"},[t._t("content")],2):t._e(),this.$slots.extra?e("div",{staticClass:"extra"},[t._t("extra")],2):t._e()])])])]):e("div",{staticClass:"page-header page-header-none"}),e("div",{staticClass:"page-header page-header-none"}),e("div",{staticClass:"wrapper-main"},[e("div",{staticClass:"wrapper-content",class:{hidden:t.pageLoading}},[e("div",{staticClass:"layout-content"},[this.$slots.contentTitle||this.$slots.contentAction?e("div",{staticClass:"content-title"},[t._t("contentTitle"),e("div",{staticClass:"content-action"},[t._t("contentAction")],2)],2):t._e(),t._t("default")],2)])])])}),y=[],k=(n("8e6e"),n("456d"),n("ade3")),w=n("53ca"),O=n("2f62"),_=n("68fe"),C=n("2f14"),z=n("1157"),S=n.n(z),E=n("2fc4");function T(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=U["a"].HOME_PAGE;console.log(U["a"].HOME_PAGE),t&&(e=e+"/"+t.code),this.$router.push(e)}}};n("20d6"),n("6b54");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"],a=t.extension,r=o.findIndex((function(t){return t==a}));return-1!==r&&(e=n+e),e}));var V=n("af88"),R=n("ef55"),K=n.n(R);B.a.locale("zh-cn"),o["default"].use(a["a"]),o["default"].use(m["a"]),o["default"].directive("disable-click",{inserted:function(t,e){e.value=!!e.value,console.log("binding",e),e.value&&(t.addEventListener("click",(function(t){e.value&&(t.preventDefault(),t.stopPropagation())})),t.querySelectorAll("*").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation()}))})))},update:function(t,e){e.value=!!e.value,console.log("binding",e),e.value&&(t.addEventListener("click",(function(t){e.value&&(t.preventDefault(),t.stopPropagation())})),t.querySelectorAll("*").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation()}))})))}}),window._AMapSecurityConfig={securityJsCode:"e8b6cb44e8e431d68052c8e10db99264"},o["default"].config.productionTip=!1,o["default"].use(r["a"]),o["default"].component("WrapperContent",D),o["default"].use(V["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($),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 a})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));n("28a5");var o="ep_",a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=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 r=new Date;e+=a>0?"&"+(r.getTime()+3600*a*1e3):"&0",e+="&"+r.getTime()}window.localStorage.setItem(t,e)},r=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))},c=function(t){if(!t)return!1;t=o+t,window.localStorage.removeItem(t)}},7978:function(t,e,n){"use strict";n("33c9")},"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 r})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return s}));n("3b2b"),n("a481");var o=n("c1df"),a=n.n(o),r=function(t,e){e||(e=a()());var n=a()(e).diff(a()(t),"hours");if(n<=1)return a()(t).fromNow();a()(e).get("date"),a()(t).get("date");var o=a()(t).format("H:mm"),r=a()(t).format("YYYY-MM-DD"),c=a()().weekday(0).format("YYYY-MM-DD"),i=a()().weekday(6).format("YYYY-MM-DD"),s="";return s=ri?"[下周]dd "+o:"[周]dd "+o,a()(t).calendar(null,{sameDay:"[今天 ]"+a()(t).format("H:mm"),nextDay:"[明天 ]"+o,nextWeek:s,lastDay:"[昨天 ]"+o,lastWeek:s,sameElse:"M月D日 H:mm"})},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a()(t).format("H:mm");e||(n="");var o=a()(t).format("YYYY-MM-DD"),r=a()().weekday(0).format("YYYY-MM-DD"),c=a()().weekday(6).format("YYYY-MM-DD"),i="";return i=oc?"[下周]dd "+n:"[周]dd "+n,a()(t).calendar(null,{sameDay:"[今天 ]"+a()(t).format("H:mm"),nextDay:"[明天 ]"+n,nextWeek:i,lastDay:"[昨天 ]"+n,lastWeek:i,sameElse:"M月D日 H:mm"})},i=function(t,e){return!e&&t?c(t)+" 开始":t?c(t)+" - "+c(e):c(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 a})),n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"e",(function(){return s}));var o=n("22b6");function a(t){return o["a"].post("index/index/install",t)}function r(){return o["a"].post("index/index/checkInstall")}function c(t){return o["a"].post("project/invite_link/_read",{inviteCode:t})}function i(t){return o["a"].post("project/invite_link/save",t)}function s(t){return o["a"].post("index/index/refreshAccessToken",{refreshToken:t})}},"88ae":function(t,e,n){},"97a8":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}));var o=n("f64c"),a=n("56cd"),r=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",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bottomLeft";c();var s={};if(s.duration=r,"message"===e)switch(n){case"info":return o["a"].info(t,r);case"success":return o["a"].success(t,r);case"error":return o["a"].error(t,r);case"loading":return o["a"].loading(t,r);default:return o["a"].warning(t,r)}else switch(s.message=t.title,s.description=t.msg||"",s.placement=i,n){case"open":return a["a"].open(s);case"info":return a["a"].info(s);case"success":return a["a"].success(s);case"error":return a["a"].error(s);default:return a["a"].warning(s)}},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t?"message"===t?o["a"].destroy():a["a"].destroy():(o["a"].destroy(),a["a"].destroy())}},a078:function(t,e,n){"use strict";e["a"]={crossDomain:"false",PROD_URL:"https://work.lihaink.cn",WS_URI:"wss://work.lihaink.cn",HOME_PAGE:"/home"}},a18c:function(t,e,n){"use strict";n("7f7f"),n("ac6a");var o=n("a026"),a=n("4360"),r=n("8c4f"),c=n("1e4b"),i=[{name:"task",path:"/project/space/task/:code",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-d24496b2")]).then(function(){var e=[n("d96ec")];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-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-6ce5f9f4"),n.e("chunk-4cc38fae")]).then(function(){var e=[n("d0e1")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Project",info:{show_slider:!1}}},{name:"taskadd",path:"add/:taskCode",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-6ce5f9f4"),n.e("chunk-4e998ab0")]).then(function(){var e=[n("f561")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Project",info:{show_slider:!1}}}]},{name:"copy",path:"/project/space/copy/:code",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-987c9f28"),n.e("chunk-2b587d1f")]).then(function(){var e=[n("9bef")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:122,info:{show_slider:!1,is_inner:!0}},children:[{name:"taskdetailcopy",path:"detail/:taskCode",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-5b5186fe"),n.e("chunk-6ce5f9f4"),n.e("chunk-4cc38fae")]).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-607d3148").then(function(){var e=[n("6e0f")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{model:"Common",info:{show_slider:!1}}},{name:"calendar",path:"/calendar",component:function(t){return Promise.all([n.e("chunk-3a86c7e2"),n.e("chunk-afcfa35e")]).then(function(){var e=[n("37a7")];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"),f=n("82f8"),d=l["a"].HOME_PAGE,p=Object(s["a"])("currentOrganization",!0);p&&(d=d+"/"+p.code),o["default"].use(r["a"]);var h=[].concat(i),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 r["a"]({routes:[{path:"/",name:"index",component:c["default"],children:h},{name:"member",path:"/member",component:function(t){return n.e("chunk-e3d6f510").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-4794d8ce").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-0c259edb").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-ddf84650").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-6560417d").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-06548746").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 r=o.refreshToken,c=o.accessTokenExp;c&&Object(u["i"])(c)&&Object(f["e"])(r).then((function(t){o.accessToken=t.data.accessToken,o.accessTokenExp=t.data.accessTokenExp,Object(s["c"])("tokenList",o)})).catch((function(){return a["a"].state.logged=!1,a["a"].state.userInfo=null,!1}))}return"index"===t.name||"/index"===t.path||"/"===t.path?(n({path:d}),!1):t.name||"Login"===e.meta.model||t.path===d?"Login"===t.meta.model&&a["a"].state.logged?(n({path:d}),!1):a["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},b199:function(t,e,n){"use strict";n.d(e,"m",(function(){return a})),n.d(e,"j",(function(){return r})),n.d(e,"u",(function(){return c})),n.d(e,"A",(function(){return i})),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 f})),n.d(e,"w",(function(){return d})),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 E})),n.d(e,"t",(function(){return T})),n.d(e,"i",(function(){return M})),n.d(e,"g",(function(){return L}));var o=n("22b6");function a(t){return o["a"].post("project/task",t)}function r(t){return o["a"].post("project/task/getListByTaskTag",t)}function c(t){return o["a"].post("project/task/selfList",t)}function i(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 f(t){return o["a"].post("project/task/taskToTags",t)}function d(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){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return o["a"].post("project/task/createComment",{taskCode:t,comment:e,mentions:n,type:a})}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 E(t){return o["a"].post("project/task/_taskWorkTimeList",t)}function T(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,"y",(function(){return l})),n.d(e,"u",(function(){return f})),n.d(e,"h",(function(){return d})),n.d(e,"k",(function(){return p})),n.d(e,"n",(function(){return h})),n.d(e,"b",(function(){return m})),n.d(e,"w",(function(){return b})),n.d(e,"t",(function(){return v})),n.d(e,"z",(function(){return g})),n.d(e,"v",(function(){return j})),n.d(e,"p",(function(){return y})),n.d(e,"m",(function(){return k})),n.d(e,"o",(function(){return w})),n.d(e,"x",(function(){return O})),n.d(e,"A",(function(){return _})),n.d(e,"q",(function(){return C})),n.d(e,"s",(function(){return z})),n.d(e,"r",(function(){return S})),n.d(e,"d",(function(){return E})),n.d(e,"c",(function(){return T})),n.d(e,"l",(function(){return M})),n.d(e,"g",(function(){return L})),n.d(e,"e",(function(){return x})),n.d(e,"i",(function(){return F})),n.d(e,"f",(function(){return P})),n.d(e,"j",(function(){return D}));n("96cf"),n("ac6a");var o=n("1da1"),a=n("22b6"),r=n("a18c"),c=n("4360"),i=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",a["a"].post("project/login",e));case 1:case"end":return t.stop()}}),t)}))),u.apply(this,arguments)}function l(t){return a["a"].post("project/login/register",t)}function f(t){return a["a"].post("project/login/getCaptcha",{mobile:t})}function d(t){return a["a"].post("project/login/_getMailCaptcha",{email:t})}function p(t){return a["a"].post("project/login/_resetPasswordByMail",t)}function h(t){var e=t.code;return c["a"].dispatch("setCurrentOrganization",t),a["a"].post("project/index/changeCurrentOrganization",{organizationCode:e}).then((function(t){if(Object(i["a"])(t))return c["a"].dispatch("SET_MENU",t.data.menuList),c["a"].dispatch("SET_USER",t.data.member),c["a"].dispatch("windowLoading",!0),setTimeout((function(){var e=t.data.menuList;if(e){var n=r["a"].options.routes;e.forEach((function(t){n[0].children.push(Object(i["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(i["b"])(t)),t.children&&t.children.forEach((function(t){n[0].children.push(Object(i["b"])(t))}))}))})),r["a"].addRoutes(n),c["a"].dispatch("windowLoading",!1)}}),500),Promise.resolve(t)}))}function m(t){return a["a"].post("project/account/_allList",t)}function b(t){return a["a"].post("project/account",t)}function v(t){return a["a"].post("project/account/forbid",{accountCode:t,status:0})}function g(t){return a["a"].post("project/account/resume",{accountCode:t,status:1})}function j(t){return a["a"].post("project/account/set_liaison_man",t)}function y(t){var e="project/account/add";return t.code&&(e="project/account/edit"),a["a"].post(e,t)}function k(t,e){return a["a"].post("project/account/auth",{id:t,auth:e})}function w(t){return a["a"].post("project/account/del",{accountCode:t})}function O(t){return a["a"].post("project/account/read",{code:t})}function _(t){return a["a"].post("project/account/_syncDetail",t)}function C(t){return a["a"].post("project/account/edit",t)}function z(t){return a["a"].post("project/index/editPersonal",t)}function S(t){return a["a"].post("project/index/editPassword",t)}function E(t){return a["a"].post("project/login/_bindMobile",t)}function T(t){return a["a"].post("project/login/_bindMail",t)}function M(t){return a["a"].post("project/login/_unbindDingtalk",t)}function L(t){return a["a"].post("project/login/_currentMember",t)}function x(t){return a["a"].post("project/login/_checkBindMail",t)}function F(t){return a["a"].post("project/account/_joinByInviteLink",{inviteCode:t})}function P(t){return a["a"].post("project/login/_checkLogin",t)}function D(t){return a["a"].post("project/login/_out",t)}},c3fe:function(t,e,n){"use strict";n("88ae")},cd4b:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return u}));var o=n("22b6");function a(t){return o["a"].post("project/notify/_clearAll",t)}function r(t){return o["a"].post("project/notify",t)}function c(){return o["a"].post("project/notify/noReads")}function i(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})}},d037:function(t,e,n){},d368:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s}));var o=n("22b6"),a=n("4360");function r(t){return o["a"].post("project/organization",t)}function c(t){return o["a"].post("project/organization/_getOrgList",t).then((function(t){return t.data&&a["a"].dispatch("setOrganizationList",t.data),Promise.resolve(t)}))}function i(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)}}}); \ No newline at end of file diff --git a/js/chunk-1e7688a9.040b4a0a.js b/js/chunk-1e7688a9.040b4a0a.js deleted file mode 100644 index 37af52b..0000000 --- a/js/chunk-1e7688a9.040b4a0a.js +++ /dev/null @@ -1,8 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e7688a9","chunk-423c43a8","user","chunk-6560417d","chunk-ddf84650","chunk-06548746","chunk-4794d8ce","chunk-e3d6f510","chunk-dce5b356","chunk-d24496b2","chunk-0c259edb"],{"007d":function(t,e,i){var a=i("3eba");i("cb8f"),i("a96b"),i("42f6"),a.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),a.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"009f":function(t,e,i){"use strict";i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"task-detail",attrs:{id:"task-detail"}},[e("a-spin",{staticClass:"task-detail-spin",attrs:{spinning:t.loading}},[e("div",{staticClass:"task-header",class:{disabled:t.task.deleted}},[t.task.deleted?e("span",{staticClass:"head-title muted"},[e("a-icon",{attrs:{type:"delete"}}),t._v(" \n "),e("span",[t._v("任务已在回收站中,不可修改")])],1):e("span",{staticClass:"head-title"},[t.task.parentTask?e("span",[e("span",{staticClass:"muted"},[t._v("属于任务:")]),e("a-breadcrumb",{staticClass:"breadcrumb text-default",attrs:{separator:">"}},t._l(t.task.parentTasks,(function(i){return e("a-breadcrumb-item",{key:i.code},[e("a",{staticClass:"text-default",on:{click:function(e){return t.init(i.code)}}},[t._v(t._s(i.name))])])})),1)],1):e("span",[t._v(t._s(t.task.projectName)+" · "+t._s(t.task.stageName))])]),e("span",{staticClass:"header-action text-right"},[t.task.deleted?[e("a",{staticClass:"action-item muted",on:{click:t.recoveryTask}},[e("a-icon",{attrs:{type:"undo"}}),e("span",[t._v("恢复内容")])],1),e("a",{staticClass:"action-item muted",on:{click:t.deleteTask}},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("彻底删除")])],1)]:[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("复制任务链接")])]),e("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:t.taskLink,expression:"taskLink"}],staticClass:"action-item muted",on:{success:t.copyLink}},[e("a-icon",{attrs:{type:"link"}})],1)],2)],e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("关闭面板")])]),e("a",{staticClass:"action-item muted",on:{click:t.detailClose}},[e("a-icon",{attrs:{type:"close"}})],1)],2)],2)]),e("div",{staticClass:"task-wrap"},[e("div",{staticClass:"task-content"},[e("div",{staticClass:"content-left"},[e("vue-scroll",{attrs:{ops:t.scrollOps}},[e("div",{staticClass:"task-title",class:{disabled:t.task.deleted},style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:t.showEditName,expression:"showEditName"}],ref:"inputTitle",attrs:{size:"large"},on:{blur:t.doName},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),t.task.deleted?e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text"},[t._v("\n "+t._s(t.task.name)+"\n ")]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击即可编辑")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text",on:{click:t.editTitle}},[t._v("\n "+t._s(t.task.name)+"\n ")])],2)],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list",class:{disabled:t.task.deleted}},[e("div",{staticClass:"component-mount pink-bg",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"file-text"}}),e("span",{staticClass:"field-name"},[t._v("工作内容")])],1),e("div",{staticClass:"field-right width-block"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showTaskDescriptionEdit,expression:"!showTaskDescriptionEdit"}],class:{"task-description":t.userInfo.code==t.task.create_by},on:{click:t.showTaskDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.task.description,expression:"task.description"}],staticClass:"description-txt img-preview-content",domProps:{innerHTML:t._s(t.task.description)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.description,expression:"!task.description"}]},[t._v("添加工作内容")])]),t.hasMoreDesc?e("div",{staticClass:"m-t-sm"},[e("a",{directives:[{name:"show",rawName:"v-show",value:!t.showMoreDesc,expression:"!showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!0)}}},[t._v("显示更多")]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showMoreDesc,expression:"showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!1)}}},[t._v("收起工作内容")])]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showTaskDescriptionEdit,expression:"showTaskDescriptionEdit"}]},[e("editor",{ref:"vueWangeditor",attrs:{id:"editor",uploadImgServer:t.editorConfig.uploadImgServer,uploadImgHeaders:t.editorConfig.uploadImgHeaders,menus:t.editorConfig.menus}}),e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.showTaskDescriptionEdit=!1,t.initContent(!1)}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"},on:{click:t.doContent}},[t._v("保存\n ")])],1)],1)])])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"calendar"}}),e("span",{staticClass:"field-name"},[t._v("完成期限")])],1),e("div",{staticClass:"field-right field-date"},[t.task.openBeginTime?[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showBeginTime,callback:function(e){t.showBeginTime=e},expression:"showBeginTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format))]:[t._v("设置开始完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置开始完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format)+"\n ")]:[t._v("设置开始完成期限\n ")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showBeginTime},on:{ok:function(e){return t.doBeginTime(!0)}},model:{value:t.task.begin_time,callback:function(e){t.$set(t.task,"begin_time",e)},expression:"task.begin_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doBeginTime(!1)}}},[t._v("清除")])])],2)],1)],1),e("span",{staticClass:"m-l-sm m-r-sm"},[t._v("-")])]:t._e(),e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showEndTime,callback:function(e){t.showEndTime=e},expression:"showEndTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置截止完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showEndTime},on:{ok:function(e){return t.doEndTime(!0)}},model:{value:t.task.end_time,callback:function(e){t.$set(t.task,"end_time",e)},expression:"task.end_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doEndTime(!1)}}},[t._v("清除")])])],2)],1)],1)],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"check-square"}}),e("span",{staticClass:"field-name"},[t._v("完成状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{class:{disabled:t.task.hasUnDone},attrs:{trigger:["click"],disabled:!!t.task.deleted||!!t.task.hasUnDone}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[t.task.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("span",[t.task.done?e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]):t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}]},[t._v("未完成")])],1)],2),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:function(e){return t.taskDone(t.task.code,!t.task.done)}},slot:"overlay"},[e("a-menu-item",{key:"done"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.done,expression:"task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"undone"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"grey"}},[t._v("未完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"deployment-unit"}}),e("span",{staticClass:"field-name"},[t._v("执行状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[t._v(t._s(t.task.statusText))]),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.taskStatusChange},slot:"overlay"},t._l(t.taskStatusList,(function(i,a){return e("a-menu-item",{key:i.id},[e("div",{staticClass:"menu-item-content"},[e("span",{attrs:{color:"green"}},[t._v(t._s(i.name))]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.status==i.id,expression:"task.status == status.id"}],staticClass:"check muted",attrs:{type:"check"}})],1)])})),1)],1)],1)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.task.liasion_info&&t.userInfo.code==t.task.liasion_info.code?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("执行者")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted,placement:"bottomCenter"},model:{value:t.visibleTaskMemberMenu,callback:function(e){t.visibleTaskMemberMenu=e},expression:"visibleTaskMemberMenu"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置执行者")])]),e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.visibleTaskMemberMenu?e("task-member-menu",{attrs:{projectCode:t.projectCodeCurrent,taskCode:t.code},on:{close:function(e){return t.init(!1)},inviteProjectMember:function(e){t.showInviteMember=!0,t.visibleTaskMemberMenu=!1}}}):t._e()],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("抄送人")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap","pointer-events":"none"}},[t._l(t.task.copied_info,(function(i){return e("div",{key:i.code,on:{click:function(e){return t.spliceCopied(t.index)}}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))])],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"apartment"}}),e("span",{staticClass:"field-name"},[t._v("处理部门")])],1),e("div",{staticClass:"field-right"},[t.task.liasion_info?e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s(t.task.department_info.name)+" ")]),e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s("/")+" ")]),e("a-avatar",{attrs:{src:t.task.liasion_info.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.liasion_info.name))])],1):t._e()])])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"gateway"}}),e("span",{staticClass:"field-name"},[t._v("工作流转")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap"}},[t._l(t.task.exchange_info,(function(i,a){return e("div",{key:a,staticStyle:{"pointer-events":"none"}},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:i.show,callback:function(e){t.$set(i,"show",e)},expression:"exc.show"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("更换人员")])]),e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))]),a!=t.task.exchange_info.length-1?e("a-icon",{staticStyle:{"margin-right":"10px"},attrs:{type:"double-right"}}):t._e()],1)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[i.show?e("task-member-menu",{attrs:{taskCode:t.code,projectCode:t.projectCodeCurrent,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,i.show=!1},close:t.changeExchangeShow}}):t._e()],1)],1)],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"bulb"}}),e("span",{staticClass:"field-name"},[t._v("优先级")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[e("a-tag",{attrs:{color:t.priColor(t.task.pri)}},[t._v(t._s(t.task.priText))])],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.doPri},slot:"overlay"},[e("a-menu-item",{key:0},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(0)}},[t._v("普通")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==t.task.pri,expression:"task.pri == 0"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:1},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(1)}},[t._v("紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==t.task.pri,expression:"task.pri == 1"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:2},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(2)}},[t._v("非常紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==t.task.pri,expression:"task.pri == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"paper-clip"}}),e("span",{staticClass:"field-name"},[t._v("关联文件")])],1),e("div",{staticClass:"field-right width-block"})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.userInfo.code==t.task.create_by||t.userInfo.code==t.task.assign_to&&2==t.task.status,expression:"userInfo.code==task.create_by||(userInfo.code==task.assign_to&&task.status==2)"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"task-child"},[e("a",{staticClass:"add-handler",attrs:{id:"d-upload-file"}},[e("a-icon",{staticStyle:{"margin-right":"6px"},attrs:{type:"plus"}}),t._v("\n 上传文件\n ")],1)])])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskSourceList.length>0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:i.sourceDetail.file_url},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:i.sourceDetail.file_url}},[t._v(t._s(i.title))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(i.sourceDetail.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{directives:[{name:"clipboard",rawName:"v-clipboard",value:i.sourceDetail.file_url,expression:"item.sourceDetail.file_url"}],staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:function(e){return t.doSource(e,i)}},slot:"overlay"},[e("a-menu-item",{key:"copy"},[e("a-icon",{attrs:{type:"link"}}),e("span",[t._v("复制链接")])],1),e("a-menu-item",{key:"unlink"},[e("a-icon",{attrs:{type:"disconnect"}}),e("span",[t._v("取消关联")])],1)],1)],1)],1)],1)})),1)],1)])])])])])])],1),e("div",{staticClass:"content-right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v("\n 参与者 · "+t._s(t.taskMemberList.length)+"\n ")]),e("div",{staticClass:"member-list"},t._l(t.taskMemberList,(function(i){return e("a-tooltip",{key:i.code,attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.name)+" "),i.is_owner?e("span",[t._v(" · 创建者")]):t._e()])]),e("a-avatar",{staticClass:"member-item",attrs:{icon:"user",size:"small",src:i.avatar},on:{click:function(e){return t.routerLink("/members/profile/"+i.membar_account_code+"?key=3")}}})],2)})),1)]),e("div",{staticClass:"log-wrap"},[e("div",{staticClass:"header"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"text-default"},[t._v("\n 所有动态\n "),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},slot:"overlay",model:{value:t.taskLogType,callback:function(e){t.taskLogType=e},expression:"taskLogType"}},[e("a-menu-item",{key:"all"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("所有动态")])])]),e("a-menu-item",{key:"comment"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅审核")])])]),e("a-menu-item",{key:"log"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅动态")])])])],1)],1)],1),e("vue-scroll",[e("div",{staticClass:"log-list muted"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.checkShowMoreLog,expression:"checkShowMoreLog"}],staticClass:"show-more muted",on:{click:t.getMoreTaskLog}},[e("a-icon",{attrs:{type:"ellipsis"}}),t._v("\n 显示较早的 "+t._s(t.taskLogTotal-t.taskLogList.length)+" 条数据\n ")],1),t._l(t.taskLogList,(function(i){return e("div",{key:i.code,class:{"log-comment":i.is_comment,"list-item":!i.is_comment,"log-pass":"pass"==i.type,"log-reject":"reject"==i.type,"log-add":"add"==i.type}},[i.is_comment?t._e():[e("a-icon",{staticClass:"log-item",attrs:{type:i.icon}}),e("div",{staticClass:"log-item log-txt"},[e("div",[t._v(t._s(i.member.name)+" "),e("span",{domProps:{innerHTML:t._s(i.remark)}})]),i.content?e("div",{staticClass:"log-content img-preview-content",domProps:{innerHTML:t._s(i.content)}}):t._e()])],i.is_comment?e("div",[e("div",{staticClass:"log-txt text-default",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,src:i.member.avatar}}),e("div",[t._v(t._s(i.member.name))]),"add"==i.type?e("div",{staticClass:"log-add-tips"},[t._v("提交")]):t._e(),"pass"==i.type?e("div",{staticClass:"log-pass-tips"},[t._v("通过")]):t._e(),"reject"==i.type?e("div",{staticClass:"log-reject-tips"},[t._v("驳回")]):t._e()],1),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.create_time))])]),e("span",{staticClass:"muted"},[t._v(t._s(t._f("formatLogTime")(i.create_time)))])],2)],1),e("div",{staticClass:"log-txt text-default",staticStyle:{padding:"0 0 0 30px"}},[e("div",{staticClass:"m-t-xs",domProps:{innerHTML:t._s(t.checkLink(i.content))}})])]):t._e(),i.is_comment?t._e():e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.create_time))])]),e("span",[t._v(t._s(t._f("formatLogTime")(i.create_time)))])],2)],2)}))],2)])],1),e("div",{staticClass:"footer",attrs:{id:"footer"}},[t.userInfo.code==t.task.create_by&&4==t.task.status||t.userInfo.code==t.task.assign_to&&2==t.task.status?e("a-popover",{attrs:{trigger:"click",placement:"top",visible:t.showMentions,arrowPointAtCenter:"",getPopupContainer:t.getPopup}},[e("template",{slot:"content"},[e("div",{staticClass:"mentions-content",staticStyle:{width:"200px"}},t._l(t.taskMemberList,(function(i){return e("div",{key:i.id,staticClass:"mentions-wrapper",on:{click:function(e){return t.selectMentionMember(i)}}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:28}}),e("span",{staticClass:"muted name m-l-xs"},[t._v(t._s(i.name))])],1)})),0)]),e("a-textarea",{ref:"commentText",staticStyle:{"margin-right":"15px"},attrs:{rows:1,placeholder:"@提及任务成员,Ctrl+Enter发送"},on:{focus:function(e){t.commenting=!0},blur:function(e){t.commenting=!1}},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],2):t._e(),t.userInfo.code==t.task.create_by&&4==t.task.status?[e("a-button",{staticClass:"middle-btn",attrs:{type:"danger"},on:{click:function(e){return t.createComment(2)}}},[t._v("驳回")]),e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-left":"15px"},attrs:{type:"primary"},on:{click:function(e){return t.createComment(1)}}},[t._v("通过")])]:t._e(),t.userInfo.code==t.task.assign_to&&2==t.task.status?[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:function(e){return t.createComment(3)}}},[t._v("提交")])]:t._e()],2)])])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCodeCurrent},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[],r=(i("8e6e"),i("456d"),i("a481"),i("4917"),i("ac6a"),i("7514"),i("6b54"),i("20d6"),i("ade3")),o=(i("c5f6"),i("2f62")),s=i("1157"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("a897"),h=i("b199"),p=i("8870"),m=i("d8bc"),v=i("f66c"),g=i("4540"),b=i("e8d3"),_=i("d3a1"),y=i("68fe"),k=i("2f14"),x=i("97a8"),w=i("81fe"),C=i("261e"),S=i("7dc6");function M(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function T(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.taskCode==this.code&&this.init(null,!1)}},uploader:{handler:function(t,e){var i=this;console.log(t),console.log(t.fileList);var a=t.fileList,n=a.findIndex((function(t){return t.projectName==i.task.projectName}));-1!==n&&(this.taskSources(),this.getTaskLog())},deep:!0}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(1),("@"==a.key||"Digit2"==a.code&&"Process"==a.key&&a.shiftKey)&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("d-upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(w["c"])(t)}},methods:{getDepartment:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this;getDepartment().then((function(e){t.departmentList=e.data.list}))})),departmentDropClick:function(t){var e=this,i=this.departmentList.find((function(e){return e.code==t.key}));this.department=i,getliasonMan({searchType:4,type:1,departmentCode:i.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(x["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_info.find((function(e){return e.code==t.code}));e?Object(x["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_info.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_info.splice(t,1)},changeExchange:function(t){this.task.exchange_info.push(T({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,i=this.task.exchange_info.findIndex((function(t){return 1==t.show}));if(-1!=i){this.task.exchange_info[i].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchange_info));t?a[i]=T({f_key:(new Date).getTime(),show:!1},t):a.splice(i,1),this.$nextTick((function(){e.task.exchange_info=a}))}},init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.code=t),e&&(this.loading=!0),this.clearMemberMenu(),this.getTask(),this.getChildTasks(),this.getTaskMembers(),this.getTaskWorkTimeList()},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskMemberMenu=!1,this.visibleProjectMemberMenu=!1},getTask:function(){var t=this;this.$store.commit("viewRefresh"),this.clearMemberMenu(),Object(h["o"])(this.code).then((function(e){try{t.getTaskLog(),t.taskSources(),t.taskName=e.data.name,t.task=e.data,t.projectCodeCurrent=e.data.project_code,t.task.end_time?(t.task.setEndTime=!0,t.task.end_time=d()(t.task.end_time)):(t.task.setEndTime=!1,t.task.end_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.end_time_format=Object(w["b"])(t.task.end_time,!0),t.task.begin_time?(t.task.setBeginTime=!0,t.task.begin_time=d()(t.task.begin_time)):(t.task.setBeginTime=!1,t.task.begin_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.begin_time_format=Object(w["b"])(t.task.begin_time,!0),t.initContent(t.task.description),t.task.executor&&!t.childExecutor&&(t.childExecutor=t.task.executor),t.loading=!1,t.$store.dispatch("setTempData",{projectCode:t.projectCodeCurrent,taskCode:t.code,projectName:e.data.projectName})}catch(i){console.error(i)}}))},getTaskLog:function(){var t=this;Object(h["n"])({taskCode:this.code,all:this.showMoreTaskLog,pageSize:5,comment:"comment"==this.taskLogType[0]?1:0}).then((function(e){t.taskLogList=e.data.list,t.taskLogTotal=e.data.total,e.data.total>5&&(t.hasMoreTaskLog=!0),t.$nextTick((function(){c()(".img-preview-content").find("img").click((function(t){window.open(c()(t.target).attr("src"))}))}))}))},taskSources:function(){var t=this;Object(h["A"])({taskCode:this.code}).then((function(e){t.taskSourceList=e.data}))},getMoreTaskLog:function(){this.showMoreTaskLog=1,this.hideShowMore=!0,this.getTaskLog()},getTaskWorkTimeList:function(){var t=this;Object(h["a"])({taskCode:this.code}).then((function(e){t.workTimeList=e.data;var i=0;e.data&&(e.data.forEach((function(t){i+=Number(t.num)})),t.workTimeTotal=i)}))},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(m["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doTask:function(t){var e=this,i=this,a=t.key;switch(a){case"recycle":this.$confirm({title:"移到回收站",content:"您确定要把该任务移到回收站吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["q"])(i.code).then((function(t){var e=Object(k["a"])(t);if(!e)return!1;i.task.deleted=1,i.getTaskLog()})),Promise.resolve()}});break;case"star":return this.task.stared?this.task.stared=0:this.task.stared=1,Object(h["y"])(i.code,this.task.stared),!0;case"open":var n=window.location.href;-1!==n.indexOf("?")?n+="&full-screen":n+="?full-screen",window.open(n);break;case"private":return Object(h["v"])(i.code,Number(!this.task.private)).then((function(t){var i=Object(k["a"])(t);if(!i)return!1;e.task.private=Number(!e.task.private)})),!0}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},doSource:function(t,e){var i=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(p["a"])(e.code).then((function(t){var e=Object(k["a"])(t);if(!e)return!1;i.taskSources(),i.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(x["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该任务吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(h["p"])(t.code).then((function(e){var i=Object(k["a"])(e);if(!i)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(x["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开任务页面"},"notice","success",5)},like:function(t){t=Number(t),Object(h["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},taskDone:function(t,e,i){var a=this,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"self";e=e?1:0,Object(h["z"])(t,e).then((function(t){var r=Object(k["a"])(t);if(!r)return!1;a.getTaskLog(),"self"==n?a.task.done=e:a.childTaskList[i].done=e,a.getTask(),a.getChildTasks()}))},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var i="";t?(i=d()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=d()(this.task.begin_time).format("MM月DD日 HH:mm")):i="",this.editTask({begin_time:i})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var i="";t?(i=d()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=d()(this.task.end_time).format("MM月DD日 HH:mm")):i="",this.editTask({end_time:i})},doPri:function(t){this.editTask({pri:t.key})},doName:function(){if(this.showEditName=!1,!this.task.name.trim()||this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},taskStatusChange:function(t){this.task.status=t.key,this.editTask({status:t.key})},editTask:function(t){var e=this;t.taskCode=this.code,Object(h["h"])(t).then((function(t){var i=Object(k["a"])(t);if(!i)return!1;e.getTask()}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description)},initContent:function(t){var e=this;try{t?this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))}catch(i){}},doContent:function(){var t=this,e=this.$refs.vueWangeditor.getHtml(),i={taskCode:this.code,description:e};Object(h["h"])(i).then((function(){t.task.description=e,t.showTaskDescriptionEdit=!1,t.$nextTick((function(){t.checkShowMoreDesc(!1,!0)})),t.getTaskLog()}))},createComment:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.comment.trim();if(!i)return!1;i+=" ";var a=/(@[^@]+) /g,n=i.match(a);n&&n.forEach((function(e){var i=e.substring(1,e.length-1);-1===t.mentionsList.findIndex((function(t){return t==i}))&&t.mentionsList.push(i)})),Object(h["d"])(this.code,this.comment,JSON.stringify(this.mentionsList),e).then((function(){t.comment="",t.mentionsList=[],t.getTaskLog()}))},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=c()(".description-txt");if(e||(t?(this.showMoreDesc=!0,i.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,i.css("max-height",(function(){return"300px"})))),e){var a=i.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},createTask:function(){var t=this,e={pcode:this.code,name:this.childTaskName};this.childExecutor&&(e.assign_to=this.childExecutor.code),Object(h["s"])(e).then((function(e){var i=Object(k["a"])(e);if(!i)return!1;t.childTaskName="",t.getChildTasks(),t.getTaskLog()}))},getChildTasks:function(){var t=this;Object(h["m"])({pcode:this.code,pageSize:100,deleted:0}).then((function(e){var i=[];e.data.list.forEach((function(t){t.visibleChildTaskMemberMenu=!1,i.push(t)})),t.childTaskList=i}))},taskTagChange:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e?this.task.tags.splice(e,1):this.task.tags.push({tag_code:t.code,tag:t})},taskTagUpdate:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&(this.task.tags[e].tag=t)},taskTagDelete:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&this.task.tags.splice(e,1)},removeTag:function(t,e){var i=this;Object(h["w"])({taskCode:this.task.code,tagCode:t.code}).then((function(){i.task.tags.splice(e,1)}))},doPlainWorkTime:function(){var t=this;this.plainWorkTime.modalStatus=!0,this.$nextTick((function(){t.plainWorkTime.form.setFieldsValue({work_time:t.task.work_time})}))},doWorkTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;this.workTimeDo.modalStatus=!0,t?(this.workTimeDo.info=t,this.$nextTick((function(){e.workTimeDo.form.setFieldsValue({num:t.num,begin_time:d()(t.begin_time),content:t.content})}))):(this.workTimeDo.form.resetFields(),this.workTimeDo.info=null)},deleteWorkTime:function(t,e){var i=this;this.$confirm({title:"删除工时记录",content:"确定要删除工时记录吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["g"])({code:t.code}).then((function(a){Object(k["a"])(a)&&(i.workTimeList.splice(e,1),i.workTimeTotal-=t.num)})),Promise.resolve()}})},workTimePlainHandleSubmit:function(){var t=this;this.plainWorkTime.form.validateFields((function(e,i){e||(t.editTask({work_time:i.work_time}),t.plainWorkTime.modalStatus=!1)}))},workTimeHandleSubmit:function(){var t=this;this.workTimeDo.form.validateFields((function(e,i){if(!e){t.workTimeDo.confirmLoading=!0;var a={beginTime:i.begin_time.format("YYYY-MM-DD HH:mm"),num:i.num,content:i.content,taskCode:t.code};t.workTimeDo.info?(a.code=t.workTimeDo.info.code,Object(h["i"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(k["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))):Object(h["t"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(k["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))}}))},checkLink:function(t){var e=/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|&|-)+)/g;return e.exec(t)?(t=t.replace(e,"$1$2"),t):t},updateChildExecutor:function(t){this.visibleChildTaskMemberMenu=!1,this.childExecutor=t},getPopup:function(){return document.getElementById("footer")},getTaskMemberPopup:function(){return document.getElementById("task-detail")},departmentMemberDetail:function(t){var e=this;Object(S["a"])({code:t,organization:this.$store.state.currentOrganization.code}).then((function(t){e.departmentMemberInfo=t.data}))},selectMentionMember:function(t){var e=this;this.showMentions=!1,this.comment+=t.name+" ",this.$nextTick((function(){e.$refs.commentText.focus()}))},changeModalHeight:function(){var t=this.width,e=c()(window).width()-100,i=c()(window).height()-150,a=c()(window).height()-315;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(c()(".task-detail-modal").css("width",c()(window).width()),c()(".task-detail").css("width",c()(window).width()),c()(".ant-modal").css("top",0),i+=85,a+=85,c()(".content-left").css("height",i+"px"),c()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),c()(".task-detail").css("width",e),c()(".content-left").css("height",i+"px"),c()(".log-wrap").css("height",a+"px"))}}},D=j,A=(i("1463"),i("2877")),N=Object(A["a"])(D,a,n,!1,null,null,null);e["a"]=N.exports},"00d8":function(t,e){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,a=0;i>>5]|=t[i]<<24-a%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],a=0,n=0;a>>6-2*n);return i}};t.exports=i})()},"0156":function(t,e,i){var a=i("6d8b");function n(t,e,i){i=i||{};var n=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],c=r.position,l=s?"onZero":c,d=r.dim,u=n.getRect(),f=[u.x,u.x+u.width,u.y,u.y+u.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,m="x"===d?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));m[h.onZero]=Math.max(Math.min(v,m[1]),m[0])}o.position=["y"===d?m[h[l]]:f[0],"x"===d?m[h[l]]:f[3]],o.rotation=Math.PI/2*("x"===d?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[c],o.labelOffset=s?m[h[c]]-m[h.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),a.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var b=e.get("axisLabel.rotate");return o.labelRotate="top"===l?-b:b,o.z2=1,o}e.layout=n},"01ed":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("2306");i("5aa9"),i("af24"),a.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:n.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),a.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"0226":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.disable$=void 0;var r=i("c6b3"),o="ui.pullToRefresh.disable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.disable$=a,e.default=a},"026a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.faceManager$=void 0;var r=i("c6b3"),o="biz.ATMBle.faceManager";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.7"},n[r.ENV_ENUM.android]={vs:"5.0.7"},n)),e.faceManager$=a,e.default=a},"02de":function(t,e,i){"use strict";i("b8af")},"0352":function(t,e,i){var a=i("6cb7"),n=i("b12f"),r=i("0f99"),o=r.detectSourceFormat,s=i("93d0"),c=s.SERIES_LAYOUT_BY_COLUMN;a.extend({type:"dataset",defaultOption:{seriesLayoutBy:c,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),n.extend({type:"dataset"})},"035f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.nfcStop$=void 0;var r=i("c6b3"),o="device.nfc.nfcStop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.9"},n[r.ENV_ENUM.android]={vs:"4.3.9"},n)),e.nfcStop$=a,e.default=a},"03b1":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getPhoneInfo$=void 0;var r=i("c6b3"),o="device.base.getPhoneInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0"},n[r.ENV_ENUM.android]={vs:"3.5.0"},n)),e.getPhoneInfo$=a,e.default=a},"044b":function(t,e){function i(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function a(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&i(t.slice(0,0))} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -t.exports=function(t){return null!=t&&(i(t)||a(t)||!!t._isBuffer)}},"0498":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.previewVideo$=void 0;var r=i("c6b3"),o="biz.util.previewVideo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7"},n[r.ENV_ENUM.android]={vs:"4.3.7"},n[r.ENV_ENUM.pc]={vs:"4.6.33"},n)),e.previewVideo$=a,e.default=a},"04f6":function(t,e){var i=32,a=7;function n(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function r(t,e,i,a){var n=e+1;if(n===i)return 1;if(a(t[n++],t[e])<0){while(n=0)n++;return n-e}function o(t,e,i){i--;while(e>>1,n(o,t[r])<0?c=r:s=r+1;var l=a-s;switch(l){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(l>0)t[s+l]=t[s+l-1],l--}t[s]=o}}function c(t,e,i,a,n,r){var o=0,s=0,c=1;if(r(t,e[i+n])>0){s=a-n;while(c0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}else{s=n+1;while(cs&&(c=s);var l=o;o=n-c,c=n-l}o++;while(o>>1);r(t,e[i+d])>0?o=d+1:c=d}return c}function l(t,e,i,a,n,r){var o=0,s=0,c=1;if(r(t,e[i+n])<0){s=n+1;while(cs&&(c=s);var l=o;o=n-c,c=n-l}else{s=a-n;while(c=0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}o++;while(o>>1);r(t,e[i+d])<0?c=d:o=d+1}return c}function d(t,e){var i,n,r=a,o=0,s=0;o=t.length;var d=[];function u(t,e){i[s]=t,n[s]=e,s+=1}function f(){while(s>1){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]n[t+1])break;p(t)}}function h(){while(s>1){var t=s-2;t>0&&n[t-1]=a||v>=a);if(g)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),1===n){for(u=0;u=0;u--)t[v+u]=t[m+u];if(0===n){y=!0;break}}if(t[p--]=d[h--],1===--s){y=!0;break}if(_=s-c(t[f],d,0,s,s-1,e),0!==_){for(p-=_,h-=_,s-=_,v=p+1,m=h+1,u=0;u<_;u++)t[v+u]=d[m+u];if(s<=1){y=!0;break}}if(t[p--]=t[f--],0===--n){y=!0;break}g--}while(b>=a||_>=a);if(y)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===s){for(p-=n,f-=n,v=p+1,m=f+1,u=n-1;u>=0;u--)t[v+u]=t[m+u];t[p]=d[h]}else{if(0===s)throw new Error;for(m=p-(s-1),u=0;u=0;u--)t[v+u]=t[m+u];t[p]=d[h]}else for(m=p-(s-1),u=0;uf&&(h=f),s(t,a,a+h,a+l,e),l=h}u.pushRun(a,l),u.mergeRuns(),c-=l,a+=l}while(0!==c);u.forceMergeRuns()}}t.exports=u},"058c":function(t,e,i){},"06442":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.inquiry$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.inquiry";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.android]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.pc]={vs:"4.5.3",paramsDeal:o.genBizStoreParamsDealFn},n)),e.inquiry$=a,e.default=a},"0645":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseMobileContacts$=void 0;var r=i("c6b3"),o="biz.contact.chooseMobileContacts";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.1"},n[r.ENV_ENUM.android]={vs:"3.1"},n)),e.chooseMobileContacts$=a,e.default=a},"0655":function(t,e,i){var a=i("8728"),n=1e-8;function r(t,e){return Math.abs(t-e).5?e:t}function f(t,e,i,a,n){var r=t.length;if(1===n)for(var o=0;on;if(r)t.length=n;else for(var o=a;o=0;i--)if(P[i]<=e)break;i=Math.min(i,k-2)}else{for(i=U;ie)break;i=Math.min(i-1,k-2)}U=i,B=e;var a=P[i+1]-P[i];if(0!==a)if($=(e-P[i])/a,y)if(R=I[i],V=I[0===i?i:i-1],z=I[i>k-2?k-1:i+1],F=I[i>k-3?k-1:i+2],C)m(V,R,z,F,$,$*$,$*$*$,l(t,s),T);else{if(S)n=m(V,R,z,F,$,$*$,$*$*$,H,1),n=b(H);else{if(M)return u(R,z,$);n=v(V,R,z,F,$,$*$,$*$*$)}g(t,s,n)}else if(C)f(I[i],I[i+1],$,l(t,s),T);else{var n;if(S)f(I[i],I[i+1],$,H,1),n=b(H);else{if(M)return u(I[i],I[i+1],$);n=d(I[i],I[i+1],$)}g(t,s,n)}},Y=new a({target:t._target,life:x,loop:t._loop,delay:t._delay,onframe:W,ondestroy:i});return e&&"spline"!==e&&(Y.easing=e),Y}}}var k=function(t,e,i,a){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||c,this._setter=a||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};k.prototype={when:function(t,e){var i=this._tracks;for(var a in e)if(e.hasOwnProperty(a)){if(!i[a]){i[a]=[];var n=this._getter(this._target,a);if(null==n)continue;0!==t&&i[a].push({time:0,value:g(n)})}i[a].push({time:t,value:e[a]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t1&&a&&a.length>1){var s=r(a)/r(n);!isFinite(s)&&(s=1),e.pinchScale=s;var c=o(a);return e.pinchX=c[0],e.pinchY=c[1],{type:"pinch",target:t[0].target,event:e}}}}},c=n;t.exports=c},"0bba":function(t,e,i){},"0bbb":function(t,e,i){"use strict";function a(t){return t="00"+t,t.substring(t.length-2,t.length)}var n=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var a,n=0,r=e.length;no||t<-o}var c=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=c.prototype;l.transform=null,l.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var d=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),n=this.transform;if(i||e){n=n||a.create(),i?this.getLocalTransform(n):r(n),e&&(i?a.mul(n,t.transform,n):a.copy(n,t.transform)),this.transform=n;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(d);var s=d[0]<0?-1:1,c=d[1]<0?-1:1,l=((d[0]-s)*o+s)/d[0]||0,u=((d[1]-c)*o+c)/d[1]||0;n[0]*=l,n[1]*=l,n[2]*=u,n[3]*=u}this.invTransform=this.invTransform||a.create(),a.invert(this.invTransform,n)}else n&&r(n)},l.getLocalTransform=function(t){return c.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var u=[],f=a.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],a=this.position,n=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),a[0]=t[4],a[1]=t[5],n[0]=e,n[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(a.mul(u,t.invTransform,e),e=u);var i=this.origin;i&&(i[0]||i[1])&&(f[4]=i[0],f[5]=i[1],a.mul(u,e,f),u[4]-=i[0],u[5]-=i[1],e=u),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var i=[t,e],a=this.invTransform;return a&&n.applyTransform(i,i,a),i},l.transformCoordToGlobal=function(t,e){var i=[t,e],a=this.transform;return a&&n.applyTransform(i,i,a),i},c.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,n=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),a.scale(e,e,n),o&&a.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var h=c;t.exports=h},"0da8":function(t,e,i){var a=i("19eb"),n=i("9850"),r=i("6d8b"),o=i("5e76");function s(t){a.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,a=i.image;i.bind(t,this,e);var n=this._image=o.createOrUpdateImage(a,this._image,this,this.onload);if(n&&o.isImageReady(n)){var r=i.x||0,s=i.y||0,c=i.width,l=i.height,d=n.width/n.height;if(null==c&&null!=l?c=l*d:null==l&&null!=c?l=c/d:null==c&&null==l&&(c=n.width,l=n.height),this.setTransform(t),i.sWidth&&i.sHeight){var u=i.sx||0,f=i.sy||0;t.drawImage(n,u,f,i.sWidth,i.sHeight,r,s,c,l)}else if(i.sx&&i.sy){u=i.sx,f=i.sy;var h=c-u,p=l-f;t.drawImage(n,u,f,h,p,r,s,c,l)}else t.drawImage(n,r,s,c,l);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new n(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,a);var c=s;t.exports=c},"0e36":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"account-setting-base"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{staticClass:"setting-content"},[e("account-setting"),e("div",{staticClass:"layout-item right"},[e("div",{staticClass:"setting-info-title"},[e("span",[t._v("基本设置")])]),e("div",{staticClass:"setting-info"},[e("div",{staticClass:"setting-info-content"},[e("a-form",{attrs:{layout:"vertical",form:t.form,hideRequiredMark:""},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",{attrs:{label:"昵称"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入您的邮箱"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入您的邮箱' }]}\n ]"}]})],1),e("a-form-item",{attrs:{label:"简介"}},[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"个人简介",rows:4}})],1),e("a-form-item",[e("a-button",{attrs:{type:"primary",htmlType:"submit",loading:t.loading}},[t._v("更新基本信息")])],1)],1)],1),e("div",{staticClass:"setting-info-avatar"},[e("span",[t._v("头像")]),e("a-avatar",{staticClass:"avatar",attrs:{size:150,src:t.userInfo.avatar}},[t._v(t._s(t.userInfo.name))]),e("a-upload",{staticClass:"avatar-uploader",attrs:{name:"avatar",showUploadList:!1,data:{code:t.userInfo.code},headers:t.headers,action:t.uploadAction,beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[e("a-button",{staticClass:"upload",attrs:{icon:"upload"}},[t._v("更换头像")])],1)],1)])])],1)])],1)},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("2f62"),s=i("8eb6"),c=i("2f14"),l=i("c24f"),d=(i("68fe"),i("97a8"));function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function f(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";return a["a"].post("project/node",{module:t})}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return a["a"].post("project/node/allList",{module:t,node:e})}function o(t){return a["a"].post("project/node/save",{list:t})}function s(){return a["a"].post("project/node/clear")}},"0f99":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("e0d3")),r=n.makeInner,o=n.getDataItemValue,s=i("6d8b"),c=s.createHashMap,l=s.each,d=s.map,u=s.isArray,f=s.isString,h=s.isObject,p=s.isTypedArray,m=s.isArrayLike,v=s.extend,g=(s.assert,i("ec6f")),b=i("93d0"),_=b.SOURCE_FORMAT_ORIGINAL,y=b.SOURCE_FORMAT_ARRAY_ROWS,k=b.SOURCE_FORMAT_OBJECT_ROWS,x=b.SOURCE_FORMAT_KEYED_COLUMNS,w=b.SOURCE_FORMAT_UNKNOWN,C=b.SOURCE_FORMAT_TYPED_ARRAY,S=b.SERIES_LAYOUT_BY_ROW,M={Must:1,Might:2,Not:3},T=r();function P(t){var e=t.option.source,i=w;if(p(e))i=C;else if(u(e)){0===e.length&&(i=y);for(var a=0,n=e.length;at&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=n},"17d6":function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),c=a.each;function l(t,e,i){if(!n.node){var a=e.getZr();s(a).records||(s(a).records={}),d(a,e);var r=s(a).records[t]||(s(a).records[t]={});r.handler=i}}function d(t,e){function i(i,a){t.on(i,(function(i){var n=p(e);c(s(t).records,(function(t){t&&a(t,i,n.dispatchAction)})),u(n.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,i("click",a.curry(h,"click")),i("mousemove",a.curry(h,"mousemove")),i("globalout",f))}function u(t,e){var i,a=t.showTip.length,n=t.hideTip.length;a?i=t.showTip[a-1]:n&&(i=t.hideTip[n-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function f(t,e,i){t.handler("leave",null,i)}function h(t,e,i,a){e.handler(t,i,a)}function p(t){var e={showTip:[],hideTip:[]},i=function(a){var n=e[a.type];n?n.push(a):(a.dispatchAction=i,t.dispatchAction(a))};return{dispatchAction:i,pendings:e}}function m(t,e){if(!n.node){var i=e.getZr(),a=(s(i).records||{})[t];a&&(s(i).records[t]=null)}}e.register=l,e.unregister=m},1860:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openAuth$=void 0;var r=i("c6b3"),o="biz.alipay.openAuth";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.8"},n[r.ENV_ENUM.android]={vs:"5.1.8"},n)),e.openAuth$=a,e.default=a},"18c0":function(t,e,i){var a=i("6d8b"),n=i("e0d8"),r=i("8e43"),o=n.prototype,s=n.extend({type:"ordinal",init:function(t,e){t&&!a.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:a.noop,niceExtent:a.noop});s.create=function(){return new s};var c=s;t.exports=c},"18cc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.detectFace$=void 0;var r=i("c6b3"),o="biz.ATMBle.detectFace";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.18"},n[r.ENV_ENUM.android]={vs:"5.1.18"},n)),e.detectFace$=a,e.default=a},"18ef":function(t,e,i){},1915:function(t,e,i){"use strict";function a(t){var e,i=JSON.stringify(t).length;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/send-message?params=").concat(encodeURIComponent(JSON.stringify({body:t,bodyLengthList:[i]}))),target:"float",title:"提示",wnId:"sendMessageToGroup",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToGroup=void 0,i("c526");var n=i("5575");e.sendMessageToGroup=a},1980:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.goBack$=void 0;var r=i("c6b3"),o="biz.navigation.goBack";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.goBack$=a,e.default=a},"19eb":function(t,e,i){var a=i("6d8b"),n=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new n(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect();return a.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new n(t,this),this.dirty(!1),this},calculateTextPosition:null},a.inherits(s,r),a.mixin(s,o);var c=s;t.exports=c},"19ed":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-template-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-tabs",{attrs:{animated:!1},model:{value:t.viewType,callback:function(e){t.viewType=e},expression:"viewType"}},[e("a-tab-pane",{key:"0",attrs:{tab:"自定义模板"}}),e("a-tab-pane",{key:"1",attrs:{tab:"公共模板"}}),e("a-button",{attrs:{slot:"tabBarExtraContent",type:"primary",icon:"plus"},on:{click:function(e){return t.doAction(null,"new")}},slot:"tabBarExtraContent"},[t._v("制作项目模板\n ")])],1),e("a-list",{staticClass:"default-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"stages")}},slot:"actions"},[e("a-tooltip",{attrs:{title:"任务列表"}},[e("a-icon",{attrs:{type:"bars"}})],1)],1),i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"edit")}},slot:"actions"},[e("a-tooltip",{attrs:{title:"编辑"}},[e("a-icon",{attrs:{type:"edit"}})],1)],1),i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"删除"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[i.task_stages.length?e("div",{staticClass:"info-item task"},[e("a-breadcrumb",{attrs:{separator:">"}},t._l(i.task_stages,(function(i){return e("a-breadcrumb-item",{key:i.name},[t._v(t._s(i.name)+"\n ")])})),1)],1):t._e()])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多模板")])],1):t._e()])],1),e("a-modal",{staticClass:"project-template-modal",attrs:{width:360,title:t.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("div",{staticClass:"cover-item"},[t.cover?[e("img",{staticClass:"avatar",attrs:{src:t.cover}})]:t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.cover,expression:"!cover"}],staticClass:"no-avatar"}),e("a-upload",{staticClass:"cover-uploader",attrs:{name:"cover",showUploadList:!1,headers:t.headers,action:t.uploadAction,beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[e("a-button",{staticClass:"upload",attrs:{icon:"upload"}},[t._v("上传封面")]),e("span",{staticClass:"upload-tips muted"},[t._v("最佳图片比例为300*150")])],1)],2),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入模板名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入模板名称' }]}\n ]"}],attrs:{placeholder:"模板名称(必填)"}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"模板说明",rows:2}})],1),e("a-form-item",[e("div",{staticClass:"action-btn"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("保存模板\n ")])],1)])],1)],1)],1)},n=[],r=i("6649"),o=i("2f14"),s=i("1b80"),c=i("a078"),l={components:{},mixins:[s["a"]],data:function(){return{viewType:"0",dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,currentTemplate:{},cover:c["a"].PROD_URL+"/static/image/default/cover.png",newData:{id:0},form:this.$form.createForm(this),searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑模板"},uploadLoading:!1,uploadAction:Object(o["c"])("project/project_template/uploadCover")}},computed:{headers:function(){return Object(o["d"])()}},watch:{$route:function(){this.init()},viewType:function(){this.init()}},created:function(){this.init()},methods:{init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.showLoadingMore=!1),e.loading=!0,e.requestData.viewType=e.viewType,Object(r["c"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},doAction:function(t,e,i){this.currentTemplate=t;var a=this;if(a.newData={code:""},"edit"==e||"new"==e)setTimeout((function(){a.form&&a.form.resetFields()}),0),a.actionInfo.modalStatus=!0,a.actionInfo.modalTitle="自定义模板","edit"==e&&setTimeout((function(){a.actionInfo.modalTitle="编辑模板",a.form.setFieldsValue({name:t.name,description:t.description}),a.cover=t.cover,a.newData=t}),0);else if("del"==e)this.$confirm({title:"确定删除模板?",content:"删除模板「".concat(this.currentTemplate.name,"」后已从该模板创建的项目不受影响"),okText:"删除模板",okType:"danger",cancelText:"再想想",onOk:function(){return Object(r["a"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}});else if("stages"==e){var n=this.$router.resolve({path:"/project/template/taskstages/"+t.code+"?name="+t.name}),o=n.href;window.open(o,"_blank")}},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();e.cover=this.cover,t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),Object(r["b"])(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(o["a"])(e)&&(t.form.resetFields(),t.newData={code:""},t.actionInfo.modalStatus=!1,t.init())}))},handleChange:function(t){var e=this;"uploading"!==t.file.status?"done"===t.file.status&&Object(o["e"])(t.file.originFileObj,(function(i){e.cover=t.file.response.data.url,e.uploadLoading=!1})):this.uploadLoading=!0},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("图片不能超过2MB!"),e}}},d=l,u=(i("9a60"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"1a3c":function(t,e,i){"use strict";i("38fdf")},"1a9f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.coolAppSdk=void 0;var a=i("44bb");e.coolAppSdk=a},"1c8c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setDeviceProperties$=void 0;var r=i("c6b3"),o="biz.iot.setDeviceProperties";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.42"},n[r.ENV_ENUM.android]={vs:"4.6.42"},n)),e.setDeviceProperties$=a,e.default=a},"1c8d":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main user-layout-forgot"},[t.sended?[t._m(1),e("a-form",{ref:"formRegister",attrs:{form:t.form,id:"formRegister"}},[e("a-form-item",[e("a-input",{attrs:{size:"large",type:"text",placeholder:"邮箱",value:t.email,disabled:""}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-popover",{attrs:{placement:"rightTop",trigger:"click",visible:t.state.passwordLevelChecked}},[e("template",{slot:"content"},[e("div",{style:{width:"240px"}},[e("div",{class:["user-register",t.passwordLevelClass]},[t._v("强度:"),e("span",[t._v(t._s(t.passwordLevelName))])]),e("a-progress",{attrs:{percent:t.state.percent,showInfo:!1,strokeColor:t.passwordLevelColor}}),e("div",{staticStyle:{"margin-top":"10px"}},[e("span",[t._v("请至少输入 6 个字符。请不要使用容易被猜到的密码。")])])],1)]),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordLevel}],validateTrigger:["change","blur"]}],expression:"['password',{rules: [{ required: true, message: '至少6位密码,区分大小写' },{ validator: this.handlePasswordLevel }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"密码须至少6位,且区分大小写"},on:{click:t.handlePasswordInputClick}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],2),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password2",{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordCheck}],validateTrigger:["change","blur"]}],expression:"['password2',{rules: [{ required: true, message: '至少6位密码,区分大小写' },{ validator: this.handlePasswordCheck }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"再次确认您的密码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"check-circle"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["captcha",{rules:[{required:!0,message:"请输入验证码"}],validateTrigger:["blur"]}],expression:"['captcha',{rules: [{ required: true, message: '请输入验证码' }], validateTrigger: ['blur']}]"}],attrs:{size:"large",type:"text",placeholder:"验证码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-button",{staticClass:"register-button",attrs:{block:"",size:"large",type:"primary",htmlType:"submit",loading:t.registerBtn,disabled:t.registerBtn},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[t._v("提交\n ")])],1)],1)]:[t._m(0),e("a-form",{ref:"formForgot",attrs:{form:t.formCaptcha,id:"formForgot"}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["email",{rules:[{required:!0,type:"email",message:"请输入邮箱地址"}],validateTrigger:["change","blur"]}],expression:"['email',{rules: [{ required: true, type: 'email', message: '请输入邮箱地址' }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"text",placeholder:"注册邮箱地址"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-button",{staticClass:"forgot-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:t.forgotBtn,disabled:t.forgotBtn},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleSubmitCaptcha.apply(null,arguments)}}},[t._v("获取验证码\n ")]),e("router-link",{staticClass:"login",attrs:{to:{name:"login"}}},[t._v("使用其他账户登录")])],1)],1)]],2)},n=[function(){var t=this,e=t._self._c;return e("h3",[e("span",[t._v("通过邮箱重置")])])},function(){var t=this,e=t._self._c;return e("h3",[e("span",[t._v("重置密码")])])}],r=i("6821f"),o=i.n(r),s=i("c24f"),c=i("2f14"),l=i("97a8"),d={0:"低",1:"低",2:"中",3:"强"},u={0:"error",1:"error",2:"warning",3:"success"},f={0:"#ff0000",1:"#ff0000",2:"#ff7e05",3:"#52c41a"},h={name:"Forgot",components:{},data:function(){return{form:this.$form.createForm(this),formCaptcha:this.$form.createForm(this),email:"",sended:!1,forgotBtn:!1,state:{time:60,smsSendBtn:!1,passwordLevel:0,passwordLevelChecked:!1,percent:10,progressColor:"#FF0000"},registerBtn:!1}},computed:{passwordLevelClass:function(){return u[this.state.passwordLevel]},passwordLevelName:function(){return d[this.state.passwordLevel]},passwordLevelColor:function(){return f[this.state.passwordLevel]}},methods:{handleSubmitCaptcha:function(){var t=this;this.formCaptcha.validateFields((function(e,i){if(!e){t.forgotBtn=!0;var a=t.formCaptcha.getFieldsValue();t.email=a.email,Object(s["h"])(t.email).then((function(e){if(t.sended=!0,t.forgotBtn=!1,t.$message.destroy(),!Object(c["a"])(e))return!1;var i="验证码获取成功";e.data&&(i+=",您的验证码为:"+e.data),Object(l["b"])({title:"提示",msg:i},"notification","success",8)}))}}))},handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){if(!e){t.hidePasswordLevelChecked=!1,t.registerBtn=!0;var a=t.form.getFieldsValue();a.email=t.email,a.password=o()(a.password),a.password2=o()(a.password2),Object(s["k"])(a).then((function(e){if(t.registerBtn=!1,!Object(c["a"])(e))return!1;Object(l["b"])({title:"提示",msg:"重置密码成功,请登录"},"notification","success"),t.$router.push({name:"login"})}))}}))},handlePasswordInputClick:function(){this.state.passwordLevelChecked=!0},hidePasswordLevelChecked:function(){this.state.passwordLevelChecked=!1},handlePasswordLevel:function(t,e,i){var a=0;/[0-9]/.test(e)&&a++,/[a-zA-Z]/.test(e)&&a++,/[^0-9a-zA-Z_]/.test(e)&&a++,this.state.passwordLevel=a,this.state.percent=30*a,a>=2?(a>=3&&(this.state.percent=100),i()):(0===a&&(this.state.percent=10),i(new Error("密码强度不够")))},handlePasswordCheck:function(t,e,i){var a=this.form.getFieldValue("password");void 0===e&&i(new Error("请输入密码")),e&&a&&e.trim()!==a.trim()&&i(new Error("两次密码不一致")),i()}},watch:{}},p=h,m=(i("7797"),i("1a3c"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"1cbc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.saveImage$=void 0;var r=i("c6b3"),o="biz.util.saveImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.1"},n[r.ENV_ENUM.android]={vs:"4.1"},n)),e.saveImage$=a,e.default=a},"1d16":function(t,e,i){"use strict";i("2ab7")},"1d72":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"datav-index"},[e("div",{staticStyle:{width:"100vw"},attrs:{id:"container"}}),e("div",{staticClass:"btn-box"},[e("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:t._u([{key:"overlay",fn:function(){return[e("a-menu",{staticStyle:{width:"160px"},on:{click:t.handleMenuClick}},t._l(t.member_list,(function(i,a){return e("a-menu-item",{key:a},[e("div",{staticClass:"menu-item-d"},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))])],1)])})),1)]},proxy:!0}])},[e("a-button",{staticStyle:{"min-width":"100px"}},[e("div",{staticClass:"menu-item-d"},[e("a-avatar",{attrs:{src:t.now_user.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.now_user.name))])],1)])],1),e("a-date-picker",{attrs:{format:"MM月DD日",allowClear:!1},on:{change:t.changeTime},model:{value:t.now_date,callback:function(e){t.now_date=e},expression:"now_date"}})],1)])},n=[],r=(i("28a5"),i("ac6a"),i("6b54"),i("f576"),i("2ef0"),i("862d3")),o=i.n(r),s=i("22b6");function c(t){return s["a"].post("project/project/positioning_list",{department_code:t})}function l(t){return s["a"].post("project/project/positioning_member",t)}var d=i("c24f"),u=i("97a8"),f={name:"datav",data:function(){return{map:null,Amap:null,visibleTaskCopied:!1,now_date:"",now_user:{member_code:"",avatar:"",name:"全部"},member_list:[],markers:[],polyline:null}},created:function(){this.now_date="",this.getMembers()},mounted:function(){this.initMap()},methods:{getMembers:function(){var t=this;Object(d["w"])().then((function(e){t.member_list=e.data.list}))},formatDate:function(t){var e=t.getFullYear(),i=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0");return"".concat(e,"-").concat(i,"-").concat(a)},initMap:function(){var t=this;o.a.load({key:"4f8f55618010007147aab96fc72bb408",version:"2.0",plugins:["AMap.Geocoder"],Loca:{version:"2.0.0"}}).then((function(e){t.map=new e.Map("container",{viewMode:"3D",zoom:15,center:[105.433211,28.913861],mapStyle:"amap://styles/darkblue"}),t.initMaker()})).catch((function(t){console.log(t)}))},handleMenuClick:function(t){this.now_user=this.member_list[t.key],this.initList()},changeTime:function(t){console.log(this.now_date),this.initList()},initMaker:function(){var t=this;c().then((function(e){e.data.forEach((function(e){if(e.positioning){var i=new AMap.Marker({position:e.positioning.split(","),map:t.map,content:'\n
\n \n
\n
').concat(e.name,"
\n
更新时间:").concat(e.date,"
\n
停留时间:").concat(e.date,"
\n
\n
\n "),offset:new AMap.Pixel(-20,-20)});t.markers.push(i)}}))}))},initList:function(){var t=this;this.now_user.member_code&&this.now_date&&(this.map.remove(this.markers),this.polyline&&this.polyline.setMap(null),l({code:this.now_user.member_code,date:this.formatDate(new Date(this.now_date||Date.now()))}).then((function(e){var i=e.data.map((function(t){return t.split(",")}))||[];if(0==i.length)return Object(u["b"])({title:"该成员当日无轨迹信息"},"error",3e3);t.polyline=new AMap.Polyline({path:i,strokeColor:"#52c41a",strokeWeight:5,strokeOpacity:1,strokeStyle:"solid",zIndex:50}),t.polyline.setMap(t.map)})).catch((function(t){return console.log(t),Object(u["b"])({title:"该成员当日无轨迹信息"},"error",3e3)})))}}},h=f,p=(i("d495"),i("2877")),m=Object(p["a"])(h,a,n,!1,null,null,null);e["default"]=m.exports},"1e0e":function(t,e,i){"use strict";i("5e24")},"1e48":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.alert$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.alert",c=(0,o.genDefaultParamsDealFn)({title:"",buttonName:"确定"});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.alert$=a,e.default=a},"1e49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.call$=void 0;var r=i("c6b3"),o="biz.telephone.call";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.call$=a,e.default=a},"1ee2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="device.geolocation.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.7"},n[r.ENV_ENUM.android]={vs:"3.4.7"},n)),e.stop$=a,e.default=a},"1f29":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setColors$=void 0;var r=i("c6b3"),o="ui.progressBar.setColors";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.setColors$=a,e.default=a},"1f44":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.actionSheet$=void 0;var r=i("c6b3"),o="device.notification.actionSheet";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.actionSheet$=a,e.default=a},"1fab":function(t,e){var i=Array.prototype.slice,a=function(t){this._$handlers={},this._$eventProcessor=t};function n(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function r(t,e,i,a,r,o){var s=t._$handlers;if("function"===typeof i&&(r=a,a=i,i=null),!a||!e)return t;i=n(t,i),s[e]||(s[e]=[]);for(var c=0;c3&&(n=i.call(n,1));for(var o=e.length,s=0;s4&&(n=i.call(n,1,n.length-1));for(var o=n[n.length-1],s=e.length,c=0;c0){var e=t.date[0].format("YYYY-MM-DD"),i=t.date[1].format("YYYY-MM-DD");t.date=e+"~"+i}Object.assign(this.requestData,t),this.init()}}},d=l,u=i("2877"),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},2094:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getUserExclusiveInfo$=void 0;var r=i("c6b3"),o="biz.realm.getUserExclusiveInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.14"},n[r.ENV_ENUM.android]={vs:"6.0.14"},n[r.ENV_ENUM.pc]={vs:"6.0.17"},n)),e.getUserExclusiveInfo$=a,e.default=a},"20c8":function(t,e,i){var a=i("4a3f"),n=i("401b"),r=i("e263"),o=i("9850"),s=i("2cf4"),c=s.devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},d=[],u=[],f=[],h=[],p=Math.min,m=Math.max,v=Math.cos,g=Math.sin,b=Math.sqrt,_=Math.abs,y="undefined"!==typeof Float32Array,k=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};k.prototype={constructor:k,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,i){i=i||0,this._ux=_(i/c/t)||0,this._uy=_(i/c/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=_(t-this._xi)>this._ux||_(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,a,n,r){return this.addData(l.C,t,e,i,a,n,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,a,n,r):this._ctx.bezierCurveTo(t,e,i,a,n,r)),this._xi=n,this._yi=r,this},quadraticCurveTo:function(t,e,i,a){return this.addData(l.Q,t,e,i,a),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,a):this._ctx.quadraticCurveTo(t,e,i,a)),this._xi=i,this._yi=a,this},arc:function(t,e,i,a,n,r){return this.addData(l.A,t,e,i,i,a,n-a,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,a,n,r),this._xi=v(n)*i+t,this._yi=g(n)*i+e,this},arcTo:function(t,e,i,a,n){return this._ctx&&this._ctx.arcTo(t,e,i,a,n),this},rect:function(t,e,i,a){return this._ctx&&this._ctx.rect(t,e,i,a),this.addData(l.R,t,e,i,a),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&h<=t||d<0&&h>=t||0===d&&(u>0&&v<=e||u<0&&v>=e))a=this._dashIdx,i=o[a],h+=d*i,v+=u*i,this._dashIdx=(a+1)%g,d>0&&hc||u>0&&vl||s[a%2?"moveTo":"lineTo"](d>=0?p(h,t):m(h,t),u>=0?p(v,e):m(v,e));d=h-t,u=v-e,this._dashOffset=-b(d*d+u*u)},_dashedBezierTo:function(t,e,i,n,r,o){var s,c,l,d,u,f=this._dashSum,h=this._dashOffset,p=this._lineDash,m=this._ctx,v=this._xi,g=this._yi,_=a.cubicAt,y=0,k=this._dashIdx,x=p.length,w=0;for(h<0&&(h=f+h),h%=f,s=0;s<1;s+=.1)c=_(v,t,i,r,s+.1)-_(v,t,i,r,s),l=_(g,e,n,o,s+.1)-_(g,e,n,o,s),y+=b(c*c+l*l);for(;kh)break;s=(w-h)/y;while(s<=1)d=_(v,t,i,r,s),u=_(g,e,n,o,s),k%2?m.moveTo(d,u):m.lineTo(d,u),s+=p[k]/y,k=(k+1)%x;k%2!==0&&m.lineTo(r,o),c=r-d,l=o-u,this._dashOffset=-b(c*c+l*l)},_dashedQuadraticTo:function(t,e,i,a){var n=i,r=a;i=(i+2*t)/3,a=(a+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,a,n,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,y&&(this.data=new Float32Array(t)))},getBoundingRect:function(){d[0]=d[1]=f[0]=f[1]=Number.MAX_VALUE,u[0]=u[1]=h[0]=h[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,a=0,s=0,c=0;cc||_(o-n)>d||f===u-1)&&(t.lineTo(r,o),a=r,n=o);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),a=s[f-2],n=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),a=s[f-2],n=s[f-1];break;case l.A:var p=s[f++],m=s[f++],b=s[f++],y=s[f++],k=s[f++],x=s[f++],w=s[f++],C=s[f++],S=b>y?b:y,M=b>y?1:b/y,T=b>y?y/b:1,P=Math.abs(b-y)>.001,I=k+x;P?(t.translate(p,m),t.rotate(w),t.scale(M,T),t.arc(0,0,S,k,I,1-C),t.scale(1/M,1/T),t.rotate(-w),t.translate(-p,-m)):t.arc(p,m,S,k,I,1-C),1===f&&(e=v(k)*b+p,i=g(k)*y+m),a=v(I)*b+p,n=g(I)*y+m;break;case l.R:e=a=s[f],i=n=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),a=e,n=i}}}},k.CMD=l;var x=k;t.exports=x},"216a":function(t,e,i){var a=i("6d8b"),n=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),c=s.prototype,l=Math.ceil,d=Math.floor,u=1e3,f=60*u,h=60*f,p=24*h,m=function(t,e,i,a){while(i>>1;t[n][1]i&&(s=i);var c=g.length,u=m(g,s,0,c),f=g[Math.min(u,c-1)],h=f[1];if("year"===f[0]){var p=r/h,v=n.nice(p/t,!0);h*=v}var b=this.getSetting("useUTC")?0:60*new Date(+a[0]||+a[1]).getTimezoneOffset()*1e3,_=[Math.round(l((a[0]-b)/h)*h+b),Math.round(d((a[1]-b)/h)*h+b)];o.fixExtent(_,a),this._stepLvl=f,this._interval=h,this._niceExtent=_},parse:function(t){return+n.parseDate(t)}});a.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return c[t].call(this,this.parse(e))}}));var g=[["hh:mm:ss",u],["hh:mm:ss",5*u],["hh:mm:ss",10*u],["hh:mm:ss",15*u],["hh:mm:ss",30*u],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",5*f],["hh:mm\nMM-dd",10*f],["hh:mm\nMM-dd",15*f],["hh:mm\nMM-dd",30*f],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",2*h],["hh:mm\nMM-dd",6*h],["hh:mm\nMM-dd",12*h],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var b=v;t.exports=b},"217b":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"21d0":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.collectSticker$=void 0;var r=i("c6b3"),o="biz.chat.collectSticker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.25"},n[r.ENV_ENUM.android]={vs:"4.6.25"},n)),e.collectSticker$=a,e.default=a},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:n(navigator.userAgent);var a=i;function n(t){var e={},i={},a=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return a&&(i.firefox=!0,i.version=a[1]),n&&(i.ie=!0,i.version=n[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=a},2306:function(t,e,i){var a=i("6d8b"),n=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),c=i("cbe5"),l=i("0cde"),d=i("0da8");e.Image=d;var u=i("e1fc");e.Group=u;var f=i("76a5");e.Text=f;var h=i("d9fc");e.Circle=h;var p=i("4aa2");e.Sector=p;var m=i("4573");e.Ring=m;var v=i("87b1");e.Polygon=v;var g=i("d498");e.Polyline=g;var b=i("c7a2");e.Rect=b;var _=i("cb11");e.Line=_;var y=i("ac0f");e.BezierCurve=y;var k=i("8d32");e.Arc=k;var x=i("d4c6");e.CompoundPath=x;var w=i("48a9");e.LinearGradient=w;var C=i("dded");e.RadialGradient=C;var S=i("9850");e.BoundingRect=S;var M=i("392f");e.IncrementalDisplayable=M;var T=i("9cf9"),P=Math.max,I=Math.min,O={},E=1,j={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},D="emphasis",A="normal",N=1,L={},$={};function V(t){return c.extend(t)}function R(t,e){return n.extendFromString(t,e)}function z(t,e){$[t]=e}function F(t){if($.hasOwnProperty(t))return $[t]}function U(t,e,i,a){var r=n.createFromString(t,e);return i&&("center"===a&&(i=H(i,r.getBoundingRect())),Y(r,i)),r}function B(t,e,i){var a=new d({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var n={width:t.width,height:t.height};a.setStyle(H(e,n))}}});return a}function H(t,e){var i,a=e.width/e.height,n=t.height*a;n<=t.width?i=t.height:(n=t.width,i=n/a);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-n/2,y:o-i/2,width:n,height:i}}var W=n.mergePath;function Y(t,e){if(t.applyTransform){var i=t.getBoundingRect(),a=i.calculateTransform(e);t.applyTransform(a)}}function q(t){return T.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function G(t){return T.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var K=T.subPixelOptimize;function X(t){return null!=t&&"none"!==t}var J=a.createHashMap(),Z=0;function Q(t){if("string"!==typeof t)return t;var e=J.get(t);return e||(e=r.lift(t,-.1),Z<1e4&&(J.set(t,e),Z++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var a=t.style;for(var n in e)null!=e[n]&&(i[n]=a[n]);i.fill=a.fill,i.stroke=a.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,a=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=a?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var n=t,r=t.style;a&&(n=i.addHover(t),r=n.style),Ct(r),a||tt(n),r.extendFrom(e),it(r,e,"fill"),it(r,e,"stroke"),wt(r),a||(t.dirty(!1),t.z2+=E)}}}function it(t,e,i){!X(e[i])&&X(t[i])&&(t[i]=Q(t[i]))}function at(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,a=t.__cachedNormalStl;a&&(Ct(i),t.setStyle(a),wt(i));var n=t.__cachedNormalZ2;null!=n&&t.z2-n===E&&(t.z2=n)}}function nt(t,e,i){var a,n=A,r=A;t.__highlighted&&(n=D,a=!0),e(t,i),t.__highlighted&&(r=D,a=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),a&&t.__highDownOnUpdate&&t.__highDownOnUpdate(n,r)}function rt(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,at(t),et(t))}function ot(t){!dt(this,t)&&!this.__highByOuter&&nt(this,et)}function st(t){!dt(this,t)&&!this.__highByOuter&&nt(this,at)}function ct(t){this.__highByOuter|=1<<(t||0),nt(this,et)}function lt(t){!(this.__highByOuter&=~(1<<(t||0)))&&nt(this,at)}function dt(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ut(t,e){ft(t,!0),nt(t,rt,e)}function ft(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var a=i?"off":"on";t[a]("mouseover",ot)[a]("mouseout",st),t[a]("emphasis",ct)[a]("normal",lt),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ht(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=L[t];return null==e&&N<=32&&(e=L[t]=N++),e}function mt(t,e,i,n,r,o,s){r=r||O;var c,l=r.labelFetcher,d=r.labelDataIndex,u=r.labelDimIndex,f=r.labelProp,h=i.getShallow("show"),p=n.getShallow("show");(h||p)&&(l&&(c=l.getFormattedLabel(d,"normal",null,u,f)),null==c&&(c=a.isFunction(r.defaultText)?r.defaultText(d,r):r.defaultText));var m=h?c:null,v=p?a.retrieve2(l?l.getFormattedLabel(d,"emphasis",null,u,f):null,c):null;null==m&&null==v||(gt(t,i,o,r),gt(e,n,s,r,!0)),t.text=m,e.text=v}function vt(t,e,i){var n=t.style;e&&(Ct(n),t.setStyle(e),wt(n)),n=t.__hoverStl,i&&n&&(Ct(n),a.extend(n,i),wt(n))}function gt(t,e,i,n,r){return _t(t,e,n,r),i&&a.extend(t,i),t}function bt(t,e,i){var a,n={isRectText:!0};!1===i?a=!0:n.autoColor=i,_t(t,e,n,a)}function _t(t,e,i,n){if(i=i||O,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(e,n):(r=e.getShallow("position")||(n?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=a.retrieve2(e.getShallow("distance"),n?null:5)}var s,c=e.ecModel,l=c&&c.option.textStyle,d=yt(e);if(d)for(var u in s={},d)if(d.hasOwnProperty(u)){var f=e.getModel(["rich",u]);kt(s[u]={},f,l,i,n)}return t.rich=s,kt(t,e,l,i,n,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function yt(t){var e;while(t&&t!==t.ecModel){var i=(t.option||O).rich;if(i)for(var a in e=e||{},i)i.hasOwnProperty(a)&&(e[a]=1);t=t.parentModel}return e}function kt(t,e,i,n,r,o){i=!r&&i||O,t.textFill=xt(e.getShallow("color"),n)||i.color,t.textStroke=xt(e.getShallow("textBorderColor"),n)||i.textBorderColor,t.textStrokeWidth=a.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=n,wt(t)),null==t.textFill&&(t.textFill=n.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&n.disableBox||(t.textBackgroundColor=xt(e.getShallow("backgroundColor"),n),t.textPadding=e.getShallow("padding"),t.textBorderColor=xt(e.getShallow("borderColor"),n),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function xt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function wt(t){var e,i=t.textPosition,a=t.insideRollbackOpt;if(a&&null==t.textFill){var n=a.autoColor,r=a.isRectText,o=a.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),c=!s&&null!=n;(s||c)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=n,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),c&&(t.textFill=n)}t.insideRollback=e}function Ct(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function St(t,e){var i=e&&e.getModel("textStyle");return a.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Mt(t,e,i,a,n,r){"function"===typeof n&&(r=n,n=null);var o=a&&a.isAnimationEnabled();if(o){var s=t?"Update":"",c=a.getShallow("animationDuration"+s),l=a.getShallow("animationEasing"+s),d=a.getShallow("animationDelay"+s);"function"===typeof d&&(d=d(n,a.getAnimationDelayParams?a.getAnimationDelayParams(e,n):null)),"function"===typeof c&&(c=c(n)),c>0?e.animateTo(i,c,d||0,l,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function Tt(t,e,i,a,n){Mt(!0,t,e,i,a,n)}function Pt(t,e,i,a,n){Mt(!1,t,e,i,a,n)}function It(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Ot(t,e,i){return e&&!a.isArrayLike(e)&&(e=l.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Et(t,e,i){var a=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),n=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-a:"right"===t?a:0,"top"===t?-n:"bottom"===t?n:0];return r=Ot(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function jt(t,e,i,n){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var a=c(t);t.attr(c(e)),Tt(t,a,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function c(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=a.extend({},t.shape)),e}}function Dt(t,e){return a.map(t,(function(t){var i=t[0];i=P(i,e.x),i=I(i,e.x+e.width);var a=t[1];return a=P(a,e.y),a=I(a,e.y+e.height),[i,a]}))}function At(t,e){var i=P(t.x,e.x),a=I(t.x+t.width,e.x+e.width),n=P(t.y,e.y),r=I(t.y+t.height,e.y+e.height);if(a>=i&&r>=n)return{x:i,y:n,width:a-i,height:r-n}}function Nt(t,e,i){e=a.extend({rectHover:!0},e);var n=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(n.image=t.slice(8),a.defaults(n,i),new d(e)):U(t.replace("path://",""),e,i,"center")}function Lt(t,e,i,a,n){for(var r=0,o=n[n.length-1];r1)return!1;var v=Vt(h,p,d,u)/f;return!(v<0||v>1)}function Vt(t,e,i,a){return t*a-i*e}function Rt(t){return t<=1e-6&&t>=-1e-6}z("circle",h),z("sector",p),z("ring",m),z("polygon",v),z("polyline",g),z("rect",b),z("line",_),z("bezierCurve",y),z("arc",k),e.Z2_EMPHASIS_LIFT=E,e.CACHED_LABEL_STYLE_PROPERTIES=j,e.extendShape=V,e.extendPath=R,e.registerShape=z,e.getShapeClass=F,e.makePath=U,e.makeImage=B,e.mergePath=W,e.resizePath=Y,e.subPixelOptimizeLine=q,e.subPixelOptimizeRect=G,e.subPixelOptimize=K,e.setElementHoverStyle=rt,e.setHoverStyle=ut,e.setAsHighDownDispatcher=ft,e.isHighDownDispatcher=ht,e.getHighlightDigit=pt,e.setLabelStyle=mt,e.modifyLabelStyle=vt,e.setTextStyle=gt,e.setText=bt,e.getFont=St,e.updateProps=Tt,e.initProps=Pt,e.getTransform=It,e.applyTransform=Ot,e.transformDirection=Et,e.groupTransition=jt,e.clipPointsByRect=Dt,e.clipRectByRect=At,e.createIcon=Nt,e.linePolygonIntersect=Lt,e.lineLineIntersect=$t},"230ef":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.open$=void 0;var r=i("c6b3"),o="biz.util.open";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.7.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.open$=a,e.default=a},"233e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.addShortCut$=void 0;var r=i("c6b3"),o="biz.shortCut.addShortCut";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.7.32"},n)),e.addShortCut$=a,e.default=a},"234e":function(t,e,i){},"254a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.encrypt$=void 0;var r=i("c6b3"),o="biz.util.encrypt";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.9.1"},n[r.ENV_ENUM.android]={vs:"2.9.1"},n)),e.encrypt$=a,e.default=a},2683:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getPayUrl$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.getPayUrl";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.android]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.pc]={vs:"4.5.3",paramsDeal:o.genBizStoreParamsDealFn},n)),e.getPayUrl$=a,e.default=a},"26c8":function(t,e,i){"use strict";i("ae15")},"26e1":function(t,e,i){var a=i("6d8b"),n=i("e0d3"),r=a.each,o=a.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function c(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=s.length;i=0||n&&a.indexOf(n,s)<0)){var c=e.getShallow(s);null!=c&&(r[t[o][0]]=c)}}return r}}t.exports=n},"28e7":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.pause$=void 0;var r=i("c6b3"),o="device.audio.pause";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.pause$=a,e.default=a},"297c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.bindMeetingRoom$=void 0;var r=i("c6b3"),o="biz.iot.bindMeetingRoom";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.bindMeetingRoom$=a,e.default=a},2983:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isMobile=void 0;var a=i("8c4c"),n=(0,a.getENV)(),r=function(){return n.platform===a.ENV_ENUM.android},o=function(){return n.platform===a.ENV_ENUM.ios};e.isMobile=o()||r()},"29a8":function(t,e){var i={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.exports=i},"2ab7":function(t,e,i){},"2adc":function(t,e,i){"use strict";function a(t){var e;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/add-members?params=").concat(encodeURIComponent(JSON.stringify(t))),target:"float",title:"提示",wnId:"addMembers",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.addMembers=void 0,i("c526");var n=i("5575");e.addMembers=a},"2b17":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=(n.isTypedArray,n.extend),o=(n.assert,n.each),s=n.isObject,c=i("e0d3"),l=c.getDataItemValue,d=c.isDataItemOption,u=i("3842"),f=u.parseDate,h=i("ec6f"),p=i("93d0"),m=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,g=p.SOURCE_FORMAT_ORIGINAL,b=p.SOURCE_FORMAT_OBJECT_ROWS;function _(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,a=t.sourceFormat;a===m&&(this._offset=0,this._dimSize=e,this._data=i);var n=k[a===v?a+"_"+t.seriesLayoutBy:a];r(this,n)}var y=_.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var k={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:C},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,a=0;a0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var a="radial"===e.type?l:c,n=a(t,e,i),r=e.colorStops,o=0;ou&&(f=f.slice(0,u)),o?f+s:s+f}},"2f45":function(t,e,i){var a=i("6d8b"),n=a.each,r=a.createHashMap,o=(a.assert,i("4e08")),s=(o.__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));function c(t){var e={},i=e.encode={},a=r(),o=[],c=[],d=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};n(t.dimensions,(function(e){var n=t.getDimensionInfo(e),r=n.coordDim;if(r){var f=n.coordDimIndex;l(i,r)[f]=e,n.isExtraCoord||(a.set(r,1),u(n.type)&&(o[0]=e),l(d.encode,r)[f]=n.index),n.defaultTooltip&&c.push(e)}s.each((function(t,e){var a=l(i,e),r=n.otherDims[e];null!=r&&!1!==r&&(a[r]=n.name)}))}));var f=[],h={};a.each((function(t,e){var a=i[e];h[e]=a[0],f=f.concat(a)})),e.dataDimsOnCoord=f,e.encodeFirstDimNotExtra=h;var p=i.label;p&&p.length&&(o=p.slice());var m=i.tooltip;return m&&m.length?c=m.slice():c.length||(c=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=c,e}function l(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function d(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function u(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=c,e.getDimensionTypeByAxis=d},"2f7e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.preview$=void 0;var r=i("c6b3"),o="biz.cspace.preview";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.7.0"},n[r.ENV_ENUM.android]={vs:"2.7.0"},n)),e.preview$=a,e.default=a},"2f98":function(t,e,i){},"2faf":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.create$=void 0;var r=i("c6b3"),o="biz.ding.create";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.1",resultDeal:function(t){return""===t?t={dingCreateResult:!1}:"object"==typeof t&&(t.dingCreateResult=!!t.dingCreateResult),t}},n[r.ENV_ENUM.android]={vs:"3.5.1"},n[r.ENV_ENUM.pc]={vs:"4.5.9"},n)),e.create$=a,e.default=a},3014:function(t,e,i){var a=i("4f85"),n=i("3301"),r=a.extend({type:"series.__base_bar__",getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),a=this.getData(),n=a.getLayout("offset"),r=a.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return i[o]+=n+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=r},3041:function(t,e,i){var a=i("e1fc"),n=i("0da8"),r=i("76a5"),o=i("d9fc"),s=i("c7a2"),c=i("ae69"),l=i("cb11"),d=i("cbe5"),u=i("87b1"),f=i("d498"),h=i("48a9"),p=i("2b61"),m=i("1687"),v=i("342d"),g=v.createFromString,b=i("6d8b"),_=b.isString,y=b.extend,k=b.defaults,x=b.trim,w=b.each,C=/[\s,]+/;function S(t){if(_(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function M(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}M.prototype.parse=function(t,e){e=e||{};var i=S(t);if(!i)throw new Error("Illegal svg");var n=new a;this._root=n;var r=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),c=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(c)&&(c=null),D(i,n,null,!0);var l,d,u=i.firstChild;while(u)this._parseNode(u,n),u=u.nextSibling;if(r){var f=x(r).split(C);f.length>=4&&(l={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(l&&null!=o&&null!=c&&(d=z(l,o,c),!e.ignoreViewBox)){var h=n;n=new a,n.add(h),h.scale=d.scale.slice(),h.position=d.position.slice()}return e.ignoreRootClip||null==o||null==c||n.setClipPath(new s({shape:{x:0,y:0,width:o,height:c}})),{root:n,width:o,height:c,viewBoxRect:l,viewBoxTransform:d}},M.prototype._parseNode=function(t,e){var i,a=t.nodeName.toLowerCase();if("defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine){var n=P[a];if(n){var r=n.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{n=T[a];n&&(i=n.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},M.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(a)}var n=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(e,n),D(t,n,this._defs);var o=n.style.fontSize;o&&o<9&&(n.style.fontSize=9,n.scale=n.scale||[1,1],n.scale[0]*=o/9,n.scale[1]*=o/9);var s=n.getBoundingRect();return this._textX+=s.width,e.add(n),n};var T={g:function(t,e){var i=new a;return O(e,i),D(t,i,this._defs),i},rect:function(t,e){var i=new s;return O(e,i),D(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return O(e,i),D(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new l;return O(e,i),D(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new c;return O(e,i),D(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=E(i));var a=new u({shape:{points:i||[]}});return O(e,a),D(t,a,this._defs),a},polyline:function(t,e){var i=new d;O(e,i),D(t,i,this._defs);var a=t.getAttribute("points");a&&(a=E(a));var n=new f({shape:{points:a||[]}});return n},image:function(t,e){var i=new n;return O(e,i),D(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,n=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(n)+parseFloat(o);var s=new a;return O(e,s),D(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new a;return O(e,s),D(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",a=g(i);return O(e,a),D(t,a,this._defs),a}},P={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),a=parseInt(t.getAttribute("x2")||10,10),n=parseInt(t.getAttribute("y2")||0,10),r=new h(e,i,a,n);return I(t,r),r},radialgradient:function(t){}};function I(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var a=i.getAttribute("offset");a=a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var n=i.getAttribute("stop-color")||"#000000";e.addColorStop(a,n)}i=i.nextSibling}}function O(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function E(t){for(var e=x(t).split(C),i=[],a=0;a0;r-=2){var o=n[r],s=n[r-1];switch(a=a||m.create(),s){case"translate":o=x(o).split(C),m.translate(a,a,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=x(o).split(C),m.scale(a,a,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=x(o).split(C),m.rotate(a,a,parseFloat(o[0]));break;case"skew":o=x(o).split(C),console.warn("Skew transform is not supported yet");break;case"matrix":o=x(o).split(C);a[0]=parseFloat(o[0]),a[1]=parseFloat(o[1]),a[2]=parseFloat(o[2]),a[3]=parseFloat(o[3]),a[4]=parseFloat(o[4]),a[5]=parseFloat(o[5]);break}}e.setLocalTransform(a)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(t){var e=t.getAttribute("style"),i={};if(!e)return i;var a,n={};V.lastIndex=0;while(null!=(a=V.exec(e)))n[a[1]]=a[2];for(var r in j)j.hasOwnProperty(r)&&null!=n[r]&&(i[j[r]]=n[r]);return i}function z(t,e,i){var a=e/t.width,n=i/t.height,r=Math.min(a,n),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function F(t,e){var i=new M;return i.parse(t,e)}e.parseXML=S,e.makeViewBoxTransform=z,e.parseSVG=F},"30a3":function(t,e,i){var a=i("6d8b"),n=i("607d"),r=n.Dispatcher,o=i("98b7"),s=i("06ad"),c=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};c.prototype={constructor:c,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i1&&(d*=o(y),h*=o(y));var k=(n===r?-1:1)*o((d*d*(h*h)-d*d*(_*_)-h*h*(b*b))/(d*d*(_*_)+h*h*(b*b)))||0,x=k*d*_/h,w=k*-h*b/d,C=(t+i)/2+c(g)*x-s(g)*w,S=(e+a)/2+s(g)*x+c(g)*w,M=f([1,0],[(b-x)/d,(_-w)/h]),T=[(b-x)/d,(_-w)/h],P=[(-1*b-x)/d,(-1*_-w)/h],I=f(T,P);u(T,P)<=-1&&(I=l),u(T,P)>=1&&(I=0),0===r&&I>0&&(I-=2*l),1===r&&I<0&&(I+=2*l),v.addData(m,C,S,d,h,M,I,g,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,m=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new n;for(var e,i=0,a=0,r=i,o=a,s=new n,c=n.CMD,l=t.match(p),d=0;d0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n="getnode";return"save"===i&&(n="save"),a["a"].post("project/auth/apply",{action:n,id:t,nodes:e})}function s(t,e){return a["a"].post("project/auth/forbid",{id:t,status:e})}function c(t,e){return a["a"].post("project/auth/resume",{id:t,status:e})}function l(t,e){return a["a"].post("project/auth/setDefault",{id:t,is_default:e})}function d(t){return a["a"].post("project/auth/del",{id:t})}},"37a7":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("calendar")},n=[],r=(i("386d"),i("2ef0")),o=i.n(r),s=i("1b80"),c=(i("7f7f"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"calendar-index",attrs:{id:"calendar-index"}},[e("div",{staticClass:"layout-item left"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"search-content"},[e("a-input",{ref:"keywordInput",attrs:{size:"large",placeholder:"搜索"},on:{pressEnter:t.search},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}},[e("a-icon",{staticClass:"muted",attrs:{slot:"prefix",type:"search"},slot:"prefix"}),t.keyword?e("a-icon",{staticClass:"muted",attrs:{slot:"suffix",type:"close-circle"},on:{click:t.emitEmpty},slot:"suffix"}):t._e()],1)],1),e("div",{staticClass:"content-item muted"},[t._v("成员")]),e("div",{staticClass:"members"},[e("a-checkbox-group",{model:{value:t.memberCodes,callback:function(e){t.memberCodes=e},expression:"memberCodes"}},[e("a-list",{staticClass:"publish-task-list",attrs:{itemLayout:"horizontal",dataSource:t.memberList},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(i.name)+"\n ")]),e("div",{staticStyle:{display:"flex","align-items":"center"},attrs:{slot:"avatar"},slot:"avatar"},[e("a-checkbox",{staticClass:"m-r-sm",attrs:{value:i.memberCode}}),e("a-avatar",{attrs:{src:i.avatar,alt:""}},[t._v(t._s(i.name))])],1)])],1)}}])})],1)],1)])]),e("div",{staticClass:"layout-item right"},[e("div",{staticClass:"calendar-content"},[e("a-calendar",{on:{panelChange:t.onPanelChange},scopedSlots:t._u([{key:"dateCellRender",fn:function(i){return e("ul",{staticClass:"events"},[e("li",{staticClass:"add-item",on:{click:function(e){return e.stopPropagation(),t.rowClick(null,"add",i)}}},[t._v("添加日程")]),t._l(t.list[i.format("YYYY-MM-DD")],(function(a,n){return[n<=3?e("a-popover",{key:a.id,attrs:{className:"calendar-pop",visible:a.visible,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[a.created_by!==t.currentMemberCode?[1==a.myStatus?e("span",{staticClass:"m-l-xs muted text-success"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已接受")],1):t._e(),2==a.myStatus?e("span",{staticClass:"m-l-xs muted text-error"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已拒绝")],1):t._e(),a.waitConfirm?[e("a",{staticClass:"m-l-xs muted",on:{click:function(e){return t.confirmJoinEvents(a,1)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle"}}),t._v("接受")],1),e("a",{staticClass:"m-l muted",on:{click:function(e){return t.confirmJoinEvents(a,2)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"minus-circle"}}),t._v("拒绝")],1)]:t._e()]:[t._v("\n 我组织的\n ")]],2),e("div",{attrs:{slot:"extra"},slot:"extra"},[a.created_by==t.currentMemberCode?[e("a-tooltip",{attrs:{title:"编辑日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(a,"edit")}}},[e("a-icon",{attrs:{type:"edit"}})],1)]),e("a-tooltip",{attrs:{title:"取消日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(a,"del")}}},[e("a-icon",{attrs:{type:"delete"}})],1)])]:t._e(),e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){a.visible=!1}}})],1)])],2),e("div",{staticClass:"calendar-content"},[e("div",[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"profile"}}),t._v(t._s(a.title))],1),e("div",{staticStyle:{display:"flex","line-height":"30px","align-items":"center"}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"clock-circle"}}),e("div",[t._v(t._s(t.moment(a.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v("   -   ")]),e("div",[t._v(t._s(t.moment(a.end_time).format("YYYY年MM月DD日 HH:mm")))])],1),a.position?e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(a.position))],1):t._e(),a.description?[e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"flag"}}),t._v(t._s(a.description))],1)]:t._e(),e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"team"}}),t._l(a.memberList,(function(i){return[e("a-tooltip",{key:i.id,attrs:{title:"".concat(i.memberInfo.name," ").concat(i.is_owner?" · 组织者":i.status?1==i.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-tag",[t._v("\n "+t._s(i.memberInfo.name)+"\n ")])],1)]}))],2)],2)])],1),e("li",[n<=2?e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPop(a)}}},[t._v(t._s(a.title))]):t._e(),3==n?e("a-popover",{key:a.id,staticClass:"calendar-pop",attrs:{visible:a.visibleMore,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.format("YYYY-MM-DD")))]),e("div",{attrs:{slot:"extra"},slot:"extra"},[e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){a.visibleMore=!1,a.visibleInner=!1}}})],1)])],1),e("ul",{staticClass:"events"},[t._l(t.list[i.format("YYYY-MM-DD")],(function(i,r){return[n<=3?e("a-popover",{key:i.id,staticClass:"calendar-pop",attrs:{placement:"left",visible:i.visibleInner,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[a.created_by!==t.currentMemberCode?[1==i.myStatus?e("span",{staticClass:"m-l-xs muted text-success"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已接受")],1):t._e(),2==i.myStatus?e("span",{staticClass:"m-l-xs muted text-error"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已拒绝")],1):t._e(),i.waitConfirm?[e("a",{staticClass:"m-l-xs muted",on:{click:function(e){return t.confirmJoinEvents(i,1)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle"}}),t._v("接受")],1),e("a",{staticClass:"m-l muted",on:{click:function(e){return t.confirmJoinEvents(i,2)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"minus-circle"}}),t._v("拒绝")],1)]:t._e()]:[t._v("\n 我组织的\n ")]],2),e("div",{attrs:{slot:"extra"},slot:"extra"},[i.created_by==t.currentMemberCode?[e("a-tooltip",{attrs:{title:"编辑日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(i,"edit")}}},[e("a-icon",{attrs:{type:"edit"}})],1)]),e("a-tooltip",{attrs:{title:"取消日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(i,"del")}}},[e("a-icon",{attrs:{type:"delete"}})],1)])]:t._e(),e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){i.visibleInner=!1}}})],1)])],2),e("div",{staticClass:"calendar-content"},[e("div",[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"profile"}}),t._v(t._s(i.title))],1),e("div",{staticStyle:{display:"flex","line-height":"30px","align-items":"center"}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"clock-circle"}}),e("div",[t._v(t._s(t.moment(i.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v("   -   ")]),e("div",[t._v(t._s(t.moment(i.end_time).format("YYYY年MM月DD日 HH:mm")))])],1),i.position?e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(i.position))],1):t._e(),i.description?[e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"flag"}}),t._v(t._s(i.description))],1)]:t._e(),e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"team"}}),t._l(i.memberList,(function(i){return[e("a-tooltip",{key:i.id,attrs:{title:"".concat(i.memberInfo.name," ").concat(i.is_owner?" · 组织者":i.status?1==i.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-tag",[t._v("\n "+t._s(i.memberInfo.name)+"\n ")])],1)]}))],2)],2)])],1),e("li",[e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPopInner(i)}}},[t._v(t._s(i.title))])])]):t._e()]}))],2)])],1),3===n?e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPopMore(a)}}},[t._v("还有"+t._s(t.list[i.format("YYYY-MM-DD")].length-3)+"项...")]):t._e()]):t._e()],1)]):t._e()]}))],2)}},{key:"headerRender",fn:function(i){var a=i.value,n=(i.type,i.onChange);i.onTypeChange;return[e("div",{staticClass:"calendar-header"},[e("a-button",{staticClass:"m-r",attrs:{type:"dashed"},on:{click:function(e){return t.changeMonth(0,n)}}},[t._v("今天")]),e("a-button",{staticClass:"m-r",attrs:{shape:"circle"},on:{click:function(e){return t.changeMonth(-1,n)}}},[e("a-icon",{attrs:{type:"left"}})],1),e("span",{staticClass:"m-r",staticStyle:{"font-size":"16px"}},[t._v(t._s(a.format("YYYY年MM月")))]),e("a-button",{attrs:{shape:"circle"},on:{click:function(e){return t.changeMonth(1,n)}}},[e("a-icon",{attrs:{type:"right"}})],1),e("a-button",{staticClass:"m-l",attrs:{type:"primary"},on:{click:function(e){return t.rowClick(null,"add")}}},[t._v("添加日程")])],1)]}}]),model:{value:t.calendarValue,callback:function(e){t.calendarValue=e},expression:"calendarValue"}})],1)]),t.eventsModal?e("events",{attrs:{visible:t.eventsModal,code:t.eventsCode,date:t.eventsDate,"project-code":t.code},on:{"update:visible":function(e){t.eventsModal=e},confirm:t.eventsConfirm}}):t._e()],1)}),l=[],d=(i("8e6e"),i("456d"),i("96cf"),i("1da1")),u=(i("ac6a"),i("7514"),i("ade3")),f=i("1157"),h=i.n(f),p=i("c1df"),m=i.n(p),v=i("b39f"),g=i("2f62"),b=i("c24f"),_=i("2f14"),y=function(){var t=this,e=t._self._c;return e("a-modal",{attrs:{wrapClassName:"events",dialogClass:"vertical-modal",destroyOnClose:"",maskClosable:!1,title:t.actionInfo.modalTitle,confirmLoading:t.submitting},on:{ok:t.handleSubmit},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("a-spin",{attrs:{spinning:t.loading}},[e("a-form-model",{ref:"ruleForm",staticClass:"m-b",attrs:{model:t.formData,rules:t.rules},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"标题",prop:"title"}},[e("a-input",{model:{value:t.formData.title,callback:function(e){t.$set(t.formData,"title",e)},expression:"formData.title"}})],1)],1),e("a-col",{attrs:{span:24}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"开始时间",prop:"begin_time"}},[e("a-date-picker",{staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择开始时间"},model:{value:t.formData.begin_time,callback:function(e){t.$set(t.formData,"begin_time",e)},expression:"formData.begin_time"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"结束时间",prop:"end_time"}},[e("a-date-picker",{staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择结束时间"},model:{value:t.formData.end_time,callback:function(e){t.$set(t.formData,"end_time",e)},expression:"formData.end_time"}})],1)],1)],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"所属项目",prop:"memberList"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{allowClear:"",showSearch:"",disabled:!!t.formData.id,autoClearSearchValue:""},on:{change:t.projectChange},model:{value:t.formData.project_code,callback:function(e){t.$set(t.formData,"project_code",e)},expression:"formData.project_code"}},[t._l(t.projectList,(function(i){return[e("a-select-option",{key:i.code,attrs:{value:i.code}},[t._v("\n "+t._s(i.name)+"\n ")])]}))],2)],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"日程地点",prop:"position"}},[e("a-input",{model:{value:t.formData.position,callback:function(e){t.$set(t.formData,"position",e)},expression:"formData.position"}})],1)],1),e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"选择成员",prop:"memberList"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{allowClear:"",showSearch:"",autoClearSearchValue:"",maxTagCount:4,optionLabelProp:"label",mode:"multiple"},model:{value:t.formData.member_list,callback:function(e){t.$set(t.formData,"member_list",e)},expression:"formData.member_list"}},[t._l(t.projectMemberList,(function(i){return[e("a-select-option",{key:i.code,attrs:{disabled:!t.canRemove(i.code),value:i.code,label:i.name}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,icon:"user",src:i.avatar}}),t._v("\n "+t._s(i.name)+"\n ")],1)]}))],2)],1)],1),e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"备注",prop:"description"}},[e("a-textarea",{attrs:{rows:4,placeholder:"填写备注,不超过250字"},model:{value:t.formData.description,callback:function(e){t.$set(t.formData,"description",e)},expression:"formData.description"}})],1)],1)],1)],1)],1)],1)},k=[],x=i("24d2"),w=i("9f5d");function C(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function S(t){for(var e=1;e2&&void 0!==r[2]?r[2]:null,a=this,a.formData.id=0,"add"==i||"edit"==i||"new"==i?(a.formData={id:0,title:void 0,description:void 0,begin_time:null,end_time:null,all_day:!1,project_code:a.$route.params.code,position:void 0,member_list:[a.currentMemberCode]},a.actionInfo.modalTitle="新增日程","edit"==i&&(a.actionInfo.modalTitle="编辑日程",a.formData.id=e.id,n=[],e.memberList.forEach((function(t){n.push(t.member_code)})),e.member_list=n,a.formData=S({},e)),a.actionInfo.modalStatus=!0,a.$nextTick((function(){a.$refs.ruleForm.clearValidate()}))):"del"==i&&a.$confirm({title:"确定要删除?",content:"关联的相关信息将会同时被删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){Object(v["b"])({eventsCode:e.code}).then((function(t){Object(_["a"])(t,!0)&&a.init(!0)}))}});case 4:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),canRemove:function(t){if(console.log(this.formData.memberList),this.formData.memberList){var e=this.formData.memberList.find((function(e){return e.member_code==t}));return!e||!e.is_owner}return t!==this.currentMemberCode}}},T=M,P=i("2877"),I=Object(P["a"])(T,y,k,!1,null,null,null),O=I.exports;function E(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function j(t){for(var e=1;e5},versionTaskSchedule:function(){return!!this.versionTaskList.length&&this.versionTaskDoneNum/this.versionTaskList.length*100},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.changeModalHeight(),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment()}},filters:{formatLogTime:function(t){return Object(d["c"])(t)}},methods:{init:function(){this.loading=!0,this.getVersion(),this.getVersionTask()},detailClose:function(){this.$emit("close",this.version)},getVersion:function(){var t=this;y({versionCode:this.code}).then((function(e){t.getVersionLog(),t.version=e.data,t.versionName=e.data.name,t.version.start_time?(t.version.setStartTime=!0,t.version.start_time=o()(t.version.start_time)):(t.version.setStartTime=!1,t.version.start_time=o()(o()().format("YYYY-MM-DD")+" 18:00")),t.version.start_time_format=Object(d["b"])(t.version.start_time,!0),t.version.plan_publish_time?(t.version.setPlanPublishTime=!0,t.version.plan_publish_time=o()(t.version.plan_publish_time)):(t.version.setPlanPublishTime=!1,t.version.plan_publish_time=o()(o()().format("YYYY-MM-DD")+" 18:00")),t.version.plan_publish_time_format=Object(d["b"])(t.version.plan_publish_time,!0),t.loading=!1}))},getVersionTask:function(){var t=this;b({versionCode:this.code}).then((function(e){t.versionTaskList=e.data}))},getVersionLog:function(){var t=this;_({versionCode:this.code,all:this.showMoreVersionLog,pageSize:5}).then((function(e){t.versionLog=e.data.list,t.versionLogTotal=e.data.total,e.data.total>5&&(t.hasMoreVersionLog=!0)}))},getMoreVersionLog:function(){this.showMoreVersionLog=1,this.hideShowMore=!0,this.getVersionLog()},getTaskStages:function(){var t=this;if(this.disableEdit)return!1;this.publishTask.modalStatus=!0,this.publishTask.loading=!0,Object(A["d"])({projectCode:this.version.projectCode,pageSize:30}).then((function(e){t.publishTask.taskStages=e.data.list,t.publishTask.taskStages&&t.publishTask.taskStages.forEach((function(t){Object(A["h"])({stageCode:t.code}).then((function(e){t.tasksLoading=!1,t.tasks=e.data}))})),t.changeModalHeight(),t.publishTask.loading=!1}))},showTaskDetail:function(t){this.showTaskDetailModal=!0,this.taskCode=t.code},taskDetailClose:function(){this.init(),this.showTaskDetailModal=!1,this.taskCode=""},doVersion:function(t){var e=this,i=t.key;switch(i){case"delete":this.$confirm({title:"删除版本",content:"删除版本后,发布内容的版本字段将被清空,是否确定删除?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return M({versionCode:e.code}).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.detailClose()})),Promise.resolve()}});break}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return M(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},changeVersionStatus:function(t){var e=this,i=this;if(t.key==this.version.code||3==this.version.status)return!1;3==t.key?this.$confirm({title:"发布提示",content:"请确认当前版本发布内容已全部完成后再发布。",okText:"确认发布",okType:"primary",onOk:function(){return i.publishVersion.status=t.key,i.publishVersion.modalStatus=!0,i.$nextTick((function(){i.publishVersionForm.setFieldsValue({publishTime:o()()})})),Promise.resolve()}}):S({versionCode:this.version.code,status:t.key}).then((function(t){e.getVersion()}))},handleSubmitPublishVersion:function(){var t=this,e=this;e.publishVersionForm.validateFields((function(i){if(!i){var a=e.publishVersionForm.getFieldsValue();a.publishTime=o()(a.publishTime).format("YYYY-MM-DD HH:mm"),S({versionCode:t.code,status:t.publishVersion.status,publishTime:a.publishTime}).then((function(t){e.publishVersion.modalStatus=!1,e.getVersion()}))}}))},doStartTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.version.setStartTime=t,this.showStartTime=e;var i="";t?(i=o()(this.version.start_time).format("YYYY-MM-DD HH:mm"),this.version.start_time_format=o()(this.version.start_time).format("MM月DD日 HH:mm")):i="",this.editVersion({start_time:i})},doPlanPublishTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.version.setPlanPublishTime=t,this.showPlanPublishTime=e;var i="";t?(i=o()(this.version.plan_publish_time).format("YYYY-MM-DD HH:mm"),this.version.plan_publish_time_format=o()(this.version.plan_publish_time).format("MM月DD日 HH:mm")):i="",this.editVersion({plan_publish_time:i})},doName:function(){if(this.showEditName=!1,!this.version.name.trim()||this.version.name==this.versionName)return this.version.name=this.versionName,!1;this.editVersion({name:this.version.name})},editVersion:function(t){var e=this;t.versionCode=this.code,x(t).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.getVersion()}))},showVersionDesc:function(){if(this.disableEdit)return!1;this.showVersionDescriptionEdit=!0},doContent:function(){var t=this.version.description;this.editVersion({description:t}),this.showVersionDescriptionEdit=!1},addVersionTask:function(){var t=this;w({taskCodeList:JSON.stringify(this.publishTask.selectTaskList),versionCode:this.code}).then((function(e){Object(N["b"])({title:"成功添加 ".concat(e.data.successTotal," 项发布内容到版本")},"notice","success"),t.publishTask.modalStatus=!1,t.publishTask.selectTaskList=[],t.init()}))},removeVersionTask:function(t){var e=this;this.$confirm({title:"移除发布内容",content:"确定移除这个发布内容?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return C({taskCode:t.code}).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.init()})),Promise.resolve()}})},changeModalHeight:function(){var t=this.width,e=j()(window).width()-100,i=j()(window).height()-150,a=j()(window).height()-200,n=j()(window).height()-255;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(j()(".task-detail-modal").css("width",j()(window).width()),j()(".version-detail").css("width",j()(window).width()),j()(".ant-modal").css("top",0),i+=85,a+=85,j()(".content-left").css("height",i+"px"),j()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),j()(".version-detail").css("width",e),j()(".content-left").css("height",i+"px"),j()(".log-wrap").css("height",a+"px"),j()(".publish-task").css("height",n+"px"))}}},R=V,z=(i("6a5b"),i("2877")),F=Object(z["a"])(R,T,P,!1,null,null,null),U=F.exports,B=i("f8c7"),H={name:"project-space-features",components:{versionDetail:U,projectSelect:B["a"]},mixins:[u["a"]],data:function(){return{code:this.$route.params.code,project:{task_board_theme:"simple"},loading:!0,form:this.$form.createForm(this),projectVersionForm:this.$form.createForm(this),publishVersionForm:this.$form.createForm(this),projectFeaturesList:[],currentProjectFeatures:null,currentProjectVersion:null,versionTotal:1,versionList:{normal:[],published:[]},showPublished:!1,projectFeatures:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑版本库",info:null},projectVersion:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑版本",info:null},publishVersion:{modalStatus:!1,confirmLoading:!1,info:null,status:-1},versionDetail:{modalStatus:!1,code:""}}},created:function(){this.getProject(),this.init()},methods:{init:function(){this.getProjectFeaturesList()},getProject:function(){var t=this;this.loading=!0,Object(s["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data}))},getProjectFeaturesList:function(){var t=this;h({projectCode:this.code}).then((function(e){t.projectFeaturesList=e.data,e.data.length&&!t.currentProjectFeature&&(t.currentProjectFeatures=e.data[0],t.getProjectVersionList())}))},getProjectVersionList:function(){var t=this;t.loading=!0,g({projectFeaturesCode:this.currentProjectFeatures.code}).then((function(e){var i=0,a=[],n=[];e.data.forEach((function(t){i++,3==t.status?n.push(t):a.push(t)})),t.versionTotal=i,t.versionList.normal=a,t.versionList.published=n,t.loading=!1}))},createFeatures:function(){var t=this;t.projectFeatures.modalStatus=!0,t.projectFeatures.info=null,t.projectFeatures.modalTitle="创建版本库"},editFeatures:function(t){var e=this;e.projectFeatures.modalStatus=!0,e.projectFeatures.modalTitle="编辑版本库",e.projectFeatures.info=t,this.$nextTick((function(){e.form.setFieldsValue({name:t.name,description:t.description})}))},deleteFeatures:function(t){var e=this;this.$confirm({title:"删除版本库",content:"若将『".concat(t["name"],"』 删除,所有与版本库相关的信息将会被彻底删除,删除后不可恢复。"),okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return v({featuresCode:t.code}).then((function(i){var a=Object(l["a"])(i);if(!a)return!1;e.currentProjectFeatures.code==t.code&&(e.currentProjectFeatures=null),e.init()})),Promise.resolve()}})},createVersion:function(){var t=this;t.projectVersion.modalStatus=!0,t.projectVersion.info=null,t.projectVersion.modalTitle="创建版本"},changeVersionStatus:function(t,e,i,a){var n=this,r=this;if(t.key==i.code)return!1;3==t.key?this.$confirm({title:"发布提示",content:"请确认当前版本发布内容已全部完成后再发布。",okText:"确认发布",okType:"primary",onOk:function(){return r.publishVersion.info=i,r.publishVersion.status=t.key,r.publishVersion.modalStatus=!0,r.$nextTick((function(){r.publishVersionForm.setFieldsValue({publishTime:o()()})})),Promise.resolve()}}):S({versionCode:i.code,status:t.key}).then((function(t){n.getProjectVersionList()}))},showVersionDetail:function(t){this.versionDetail.modalStatus=!0,this.versionDetail.code=t},versionDetailClose:function(){this.versionDetail.modalStatus=!1,this.versionDetail.code="",this.getProjectVersionList()},handleSubmitPublishVersion:function(){var t=this,e=this;e.publishVersionForm.validateFields((function(i){if(!i){var a=e.publishVersionForm.getFieldsValue();a.publishTime=o()(a.publishTime).format("YYYY-MM-DD HH:mm"),S({versionCode:t.publishVersion.info.code,status:t.publishVersion.status,publishTime:a.publishTime}).then((function(t){e.publishVersion.modalStatus=!1,e.getProjectVersionList()}))}}))},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this,e=this;e.projectFeatures.confirmLoading=!0;var i=e.form.getFieldsValue();i.projectCode=this.code,e.projectFeatures.info?(i.featuresCode=e.projectFeatures.info.code,m(i).then((function(i){e.projectFeatures.confirmLoading=!1,Object(l["a"])(i)&&(e.form.resetFields(),t.getProjectFeaturesList(),e.projectFeatures.modalStatus=!1)}))):p(i).then((function(t){e.projectFeatures.confirmLoading=!1,Object(l["a"])(t)&&(e.form.resetFields(),e.projectFeatures.modalStatus=!1,e.init())}))},handleSubmitProjectVersion:function(){var t=this;t.projectVersionForm.validateFields((function(e){e||t.handleOkProjectVersion()}))},handleOkProjectVersion:function(){var t=this;t.projectVersion.confirmLoading=!0;var e=t.projectVersionForm.getFieldsValue();e.featuresCode=this.currentProjectFeatures.code,e.startTime=o()(e.startTime).format("YYYY-MM-DD HH:mm"),e.planPublishTime=o()(e.planPublishTime).format("YYYY-MM-DD HH:mm"),k(e).then((function(e){t.projectVersion.confirmLoading=!1,Object(l["a"])(e)&&(t.projectVersionForm.resetFields(),t.projectVersion.modalStatus=!1,t.getProjectVersionList())}))},changeProjectFeatures:function(t){this.currentProjectFeatures=this.projectFeaturesList.find((function(e){return e.code==t.key})),this.getProjectVersionList()},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(c["a"])(this.project.code,e).then((function(e){Object(l["a"])(e)&&(t.project.collected=!t.project.collected)}))},formatTime:function(t){return Object(d["c"])(t)}}},W=H,Y=(i("88e5"),Object(z["a"])(W,a,n,!1,null,null,null));e["default"]=Y.exports},3842:function(t,e,i){var a=i("6d8b"),n=1e-4;function r(t){return t.replace(/^\s+|\s+$/g,"")}function o(t,e,i,a){var n=e[1]-e[0],r=i[1]-i[0];if(0===n)return 0===r?i[0]:(i[0]+i[1])/2;if(a)if(n>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/n*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function c(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function d(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function u(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var a=+e.slice(i+1);return a<0?-a:0}var n=e.indexOf(".");return n<0?0:e.length-1-n}function f(t,e){var i=Math.log,a=Math.LN10,n=Math.floor(i(t[1]-t[0])/a),r=Math.round(i(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+r,0),20);return isFinite(o)?o:20}function h(t,e,i){if(!t[e])return 0;var n=a.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return 0;var r=Math.pow(10,i),o=a.map(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),s=100*r,c=a.map(o,(function(t){return Math.floor(t)})),l=a.reduce(c,(function(t,e){return t+e}),0),d=a.map(o,(function(t,e){return t-c[e]}));while(lu&&(u=d[h],f=h);++c[f],d[f]=0,++l}return c[e]/r}var p=9007199254740991;function m(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-n&&t=10&&e++,e}function k(t,e){var i,a=y(t),n=Math.pow(10,a),r=t/n;return i=e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10,t=i*n,a>=-20?+t.toFixed(a<0?-a:0):t}function x(t,e){var i=(t.length-1)*e+1,a=Math.floor(i),n=+t[a-1],r=i-a;return r?n+r*(t[a]-n):n}function w(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,a=0;a=0}e.linearMap=o,e.parsePercent=s,e.round=c,e.asc=l,e.getPrecision=d,e.getPrecisionSafe=u,e.getPixelPrecision=f,e.getPercentWithPrecision=h,e.MAX_SAFE_INTEGER=p,e.remRadian=m,e.isRadianAroundZero=v,e.parseDate=b,e.quantity=_,e.quantityExponent=y,e.nice=k,e.quantile=x,e.reformIntervals=w,e.isNumeric=C},"387a":function(t,e,i){},3885:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-overview",class:t.project.task_board_theme},[e("div",{staticClass:"project-navigation"},[e("div",{staticClass:"project-nav-header"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/home"}},[e("a-icon",{attrs:{type:"home"}}),t._v("\n 首页\n ")],1)],1),e("a-breadcrumb-item",[e("project-select",{staticClass:"nav-title",staticStyle:{display:"inline-block"},attrs:{code:t.code}}),e("span",{staticClass:"actions"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:t.project.collected?"取消收藏":"加入收藏"},on:{click:t.collectProject}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.project.collected,expression:"!project.collected"}],staticStyle:{color:"grey"},attrs:{type:"star",theme:"filled"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.project.collected,expression:"project.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1),0===t.project.private?e("span",{staticClass:"label label-normal"},[e("a-icon",{attrs:{type:"global"}}),t._v(" 公开")],1):t._e()],1)],1)],1),e("section",{staticClass:"nav-body"},[e("ul",{staticClass:"nav-wrapper nav nav-underscore pull-left"},[e("li",[e("a",{staticClass:"app",attrs:{"data-app":"tasks"},on:{click:function(e){return t.$router.push("/project/space/task/"+t.code)}}},[t._v("任务")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"works"},on:{click:function(e){return t.$router.push("/project/space/files/"+t.code)}}},[t._v("\n 文件")])]),e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/overview/"+t.code)}}},[t._v("\n 概览")])]),e("li",[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/copy/"+t.code)}}},[t._v("\n 抄送")])])])])]),e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{staticClass:"overview-item m-b"},[e("div",{staticClass:"content-item"},[e("h3",{staticClass:"m-sm m-b text-center"},[t._v("任务燃尽图")]),e("a-spin",{attrs:{spinning:t.burnoutMap.loading}},[t.burnoutMap.loading?t._e():e("ve-line",{attrs:{data:t.burnoutMap.chartData,settings:t.burnoutMap.chartSettings,extend:t.burnoutMap.chartExtend,series:t.burnoutMap.series,"legend-visible":!1,height:"200px"}})],1)],1)]),e("div",{staticClass:"overview-item"},[e("div",{staticClass:"content-left"},[e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"title"},[t._v("\n 项目信息\n "),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("添加信息")])]),e("a",{staticClass:"pull-right muted",on:{click:function(e){return t.createInfo()}}},[e("a-icon",{attrs:{type:"plus-circle"}})],1)],2)],1),e("div",{staticClass:"list-content"},[e("a-list",t._l(t.projectInfoList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.description?i.description:"暂无描述"))])]),e("span",[t._v(t._s(i.name)+" ")])],2)],1),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(i.value)+"\n ")])]),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.editInfo(i)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"编辑"}},[e("a-icon",{attrs:{type:"edit"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.delInfo(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"删除"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1)],1)})),1)],1)]),e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"title"},[t._v("\n 项目动态\n ")]),e("div",{staticClass:"list-content"},[e("a-list",[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多动态")])],1):t._e(),t._l(t.activities,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.member_avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.member_name)+" ")]),0==i.is_comment?e("span",[e("span",{domProps:{innerHTML:t._s(i.remark)}})]):t._e(),t._v(" \n "),1==i.is_comment?[t._v("发布了审核流程\n "),e("p",{staticClass:"comment-text"},[t._v(t._s(i.content))])]:t._e(),e("span",{staticClass:"right-item muted"},[t._v(" "+t._s(t.formatTime(i.create_time))+"\n ")])],2),e("div",{attrs:{slot:"description"},slot:"description"},["task"==i.action_type?[e("router-link",{staticClass:"muted",attrs:{to:"/project/space/task/".concat(i.project_code,"/detail/").concat(i.source_code)}},[t._v("\n "+t._s(i.sourceInfo.name)+"\n ")])]:t._e(),"project"==i.action_type?[e("span",{domProps:{innerHTML:t._s(i.content)}})]:t._e()],2)],1)],1)}))],2)],1)])]),e("div",{staticClass:"content-right"},[e("div",{staticClass:"content-item"},[e("div",{staticClass:"list-content"},[e("div",{staticClass:"default-list"},[e("a-list",t._l([t.project],(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.cover},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.name))])]),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(i.owner_name)+" 创建于\n "+t._s(t.moment(i.create_time).format("YYYY年MM月DD日"))+"\n ")])],1)],1)})),1)],1)]),e("p",{},[t._v(t._s(t.project.description))]),e("div",{staticClass:"project-date m-b-lg m-t-lg"},[e("div",{staticClass:"muted m-b-xs"},[e("a-tag",{attrs:{color:"green"}},[t._v("项目周期")])],1),e("a-range-picker",{attrs:{format:"YYYY年MM月DD日"},on:{change:t.ondateChange},model:{value:t.projectDate,callback:function(e){t.projectDate=e},expression:"projectDate"}})],1),e("div",{staticClass:"project-stats m-b-lg"},[e("div",{staticClass:"muted m-b-xs"},[e("a-tag",{attrs:{color:"green"}},[t._v("项目统计")])],1),e("div",{staticClass:"stats-content"},t._l(t.projectStats,(function(i,a){return e("div",{key:a,staticClass:"stats-item"},[e("div",{staticClass:"stats-title muted"},[t._v(t._s(i.title))]),e("div",{staticClass:"stats-number"},[t._v(t._s(i.number))]),e("a-tooltip",{attrs:{placement:"right",mouseEnterDelay:.3,title:"".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeColor:"#1890ff",strokeWidth:3,showInfo:!1,percent:i.schedule}})],1)],1)})),0)]),e("div",[e("div",{staticClass:"muted"},[e("a-tag",{attrs:{color:"green"}},[t._v("新增任务趋势")])],1),e("ve-line",{attrs:{data:t.chartData,settings:t.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"200px"}})],1)])])])]),e("a-modal",{staticClass:"project-info",attrs:{width:400,title:t.infoModal.modalTitle,confirmLoading:t.infoModal.loading},on:{ok:t.handleSubmit},model:{value:t.infoModal.modalStatus,callback:function(e){t.$set(t.infoModal,"modalStatus",e)},expression:"infoModal.modalStatus"}},[e("a-form",{attrs:{form:t.infoModal.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入名称' }]}\n ]"}],attrs:{placeholder:"名称"}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["value"],expression:"['value']"}],attrs:{placeholder:"内容",rows:2}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"描述",rows:2}})],1),e("a-form-item")],1)],1)],1)},n=[],r=(i("ac6a"),i("c1df")),o=i.n(r),s=i("c3da"),c=i.n(s),l=i("24d2"),d=i("22b6");function u(t){return d["a"].post("project/project_info",t)}function f(t){var e="project/project_info/save";return t.infoCode&&(e="project/project_info/edit"),d["a"].post(e,t)}function h(t){return d["a"].post("project/project_info/delete",t)}var p=i("4200"),m=i("2f14"),v=i("b199"),g=i("81fe"),b=i("1b80"),_=i("f8c7"),y={name:"project-space-overview",components:{VeLine:c.a,projectSelect:_["a"]},mixins:[b["a"]],data:function(){return{code:this.$route.params.code,loading:!0,project:{task_board_theme:"simple"},projectDate:[],activities:[],projectInfoList:[],showLoadingMore:!1,loadingMore:!1,infoModal:{form:this.$form.createForm(this),newData:{code:""},loading:!1,modalStatus:!1,modalTitle:"项目信息"},burnoutMap:{loading:!0,chartData:{columns:["日期","实际剩余任务","理想剩余任务"],rows:[]},series:[{type:"line",name:"实际剩余任务",smooth:!1,color:"#1890ff",data:[]},{type:"line",name:"理想剩余任务",color:"#52C41A",smooth:!1,lineStyle:{type:"dashed"},data:[]}],chartSettings:{},chartExtend:{grid:{left:"5",right:"20",top:"10",bottom:"0"},xAxis:{show:!0,splitLine:{show:!1}},yAxis:{show:!0,splitLine:{show:!0,lineStyle:{type:"dashed",color:["#e4e4e4"]}}},tooltip:{backgroundColor:"#fff",textStyle:{color:"#333"},borderWidth:1,borderColor:"#e8e8e8"},axisPointer:{lineStyle:{width:0}}}},chartData:{columns:["日期","任务"],rows:[]},chartSettings:{area:!0,itemStyle:{color:"#1890ff"},areaStyle:{color:"#e6f7ff"}},chartExtend:{grid:{left:"-20",right:"0",top:"10",bottom:"0"},xAxis:{show:!1},yAxis:{show:!1},tooltip:{backgroundColor:"#fff",textStyle:{color:"#333"},borderWidth:1,borderColor:"#e8e8e8"},axisPointer:{lineStyle:{width:0}}},projectStats:[{title:"未完成",key:"unDone",number:0,schedule:0},{title:"已完成",key:"done",number:0,schedule:0},{title:"已逾期",key:"overdue",number:0,schedule:0},{title:"待认领",key:"toBeAssign",number:0,schedule:0},{title:"今日到期",key:"expireToday",number:0,schedule:0},{title:"逾期完成",key:"doneOverdue",number:0,schedule:0}]}},created:function(){this.getProject(),this.init()},methods:{moment:o.a,init:function(){this.getProjectInfoList(),this.getProjectLog(),this.overviewForProject(),this.getProjectStats(),this.getProjectReport()},getProject:function(){var t=this;this.loading=!0,Object(l["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data,t.project.begin_time&&(t.projectDate=[o()(t.project.begin_time),o()(t.project.end_time)])}))},getProjectReport:function(){var t=this;Object(l["a"])({projectCode:this.code}).then((function(e){var i=[];e.data.date.forEach((function(t){i.push({"日期":t})})),t.burnoutMap.loading=!1,t.burnoutMap.chartData.rows=i,t.burnoutMap.series[0].data=e.data.undoneTask,t.burnoutMap.series[1].data=e.data.baseLineList}))},getProjectLog:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(e.pagination.page=1,e.pagination.pageSize=20,e.showLoadingMore=!1),this.requestData.projectCode=this.code,Object(v["k"])(this.requestData).then((function(i){var a=[];i.data.list.forEach((function(t){a.push(t)})),t&&(e.activities=[]),e.activities=e.activities.concat(a),e.pagination.total=i.data.total,e.showLoadingMore=e.pagination.total>e.activities.length,e.loading=!1,e.loadingMore=!1}))},getProjectInfoList:function(){var t=this;u({projectCode:t.code}).then((function(e){t.projectInfoList=e.data}))},getProjectStats:function(){var t=this;Object(l["b"])({projectCode:this.code}).then((function(e){var i=e.data,a=i["total"];t.projectStats.forEach((function(t,e){t.number=i[t.key],a&&(t.schedule=parseInt(t.number/a*100))}))}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getProjectLog(!1)},overviewForProject:function(){var t=this;Object(v["e"])({projectCode:this.code}).then((function(e){var i=[];e.data.forEach((function(t){i.push({"日期":o()(t.date).format("M月D日"),"任务":t.total})})),t.chartData.rows=i}))},createInfo:function(){var t=this;t.infoModal.newData={code:""},setTimeout((function(){t.infoModal.form&&t.infoModal.form.resetFields()}),0),t.infoModal.modalStatus=!0,t.infoModal.modalTitle="添加字段"},editInfo:function(t){var e=this;e.infoModal.newData=t,e.infoModal.modalStatus=!0,setTimeout((function(){e.infoModal.modalTitle="编辑字段",e.infoModal.form.setFieldsValue({name:t.name,value:t.value,description:t.description})}),0)},delInfo:function(t,e){var i=this;i.$confirm({title:"确定删除当前字段吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return h({infoCode:t.code}).then((function(){i.projectInfoList.splice(e,1)})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.infoModal.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.infoModal.loading=!0;var e=t.infoModal.form.getFieldsValue();t.infoModal.newData.code?e.infoCode=t.infoModal.newData.code:Object.assign(e,t.infoModal.newData),e.projectCode=t.code,console.log(e),f(e).then((function(e){t.infoModal.loading=!1,Object(m["a"])(e)&&(t.infoModal.form.resetFields(),t.infoModal.newData={code:0},t.infoModal.modalStatus=!1,t.getProjectInfoList())}))},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(p["a"])(this.project.code,e).then((function(e){Object(m["a"])(e)&&(t.project.collected=!t.project.collected)}))},ondateChange:function(t){console.log(t);var e=this.project;Object(l["e"])({projectCode:e.code,begin_time:t.length?t[0].format("YYYY-MM-DD"):"",end_time:t.length?t[1].format("YYYY-MM-DD"):""})},formatTime:function(t){return Object(g["c"])(t)}}},k=y,x=(i("b929"),i("2877")),w=Object(x["a"])(k,a,n,!1,null,null,null);e["default"]=w.exports},"38a2":function(t,e,i){var a=i("2b17"),n=a.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,c=i("e0d3"),l=c.getTooltipRenderMode,d=/\{@(.+?)\}/g,u={getDataParams:function(t,e){var i=this.getData(e),a=this.getRawValue(t,e),n=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),c=i.getItemVisual(t,"color"),d=i.getItemVisual(t,"borderColor"),u=this.ecModel.getComponent("tooltip"),f=u&&u.get("renderMode"),h=l(f),p=this.mainType,m="series"===p,v=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:m?this.subType:null,seriesIndex:this.seriesIndex,seriesId:m?this.id:null,seriesName:m?this.name:null,name:r,dataIndex:n,data:s,dataType:e,value:a,color:c,borderColor:d,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:o({color:c,renderMode:h}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,a,r){e=e||"normal";var o=this.getData(i),c=o.getItemModel(t),l=this.getDataParams(t,i);null!=a&&l.value instanceof Array&&(l.value=l.value[a]);var u=c.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof u)return l.status=e,l.dimensionIndex=a,u(l);if("string"===typeof u){var f=s(u,l);return f.replace(d,(function(e,i){var a=i.length;return"["===i.charAt(0)&&"]"===i.charAt(a-1)&&(i=+i.slice(1,a-1)),n(o,t,i)}))}},getRawValue:function(t,e){return n(this.getData(e),t)},formatTooltip:function(){}};t.exports=u},"38fdf":function(t,e,i){},3901:function(t,e,i){var a=i("282b"),n=a([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=n(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),a=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[a,a]:[i,i])}};t.exports=r},"392f":function(t,e,i){var a=i("6d8b"),n=a.inherits,r=i("19eb"),o=i("9850");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0){var e=t.date[0].format("YYYY-MM-DD"),i=t.date[1].format("YYYY-MM-DD");t.date=e+"~"+i}Object.assign(this.requestData,t),this.init()}}},d=l,u=i("2877"),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"3af1":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-archive-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource,locale:{emptyText:""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recoveryArchive",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"移至回收站"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("router-link",{attrs:{slot:"title",to:"/project/space/task/"+i.code},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("移动日期")]),e("span",[t._v(t._s(t.moment(i.archive_time).format("YYYY-MM-DD")))])])])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1)],1)},n=[],r=i("24d2"),o=(i("2f14"),i("1b80")),s=i("c1df"),c=i.n(s),l={mixins:[o["a"]],data:function(){return{dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectId:0,newData:{id:0}}},created:function(){this.init()},methods:{moment:c.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=1e3,this.showLoadingMore=!1),this.requestData.archive=1,this.requestData.type="other",e.loading=!0,Object(r["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectId=t.id,this.showInviteMember=!0},doAction:function(t,e,i){this.currentProject=t;var a=this;a.newData={id:0},"recoveryArchive"==e?this.$confirm({title:"取消归档项目?",content:"取消归档「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"取消归档",okType:"primary",cancelText:"再想想",onOk:function(){return Object(r["j"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}}):"del"==e&&this.$confirm({title:"确定放入回收站?",content:"一旦将项目「".concat(this.currentProject.name,"」放入回收站,所有与项目有关的信息将会被放入回收站"),okText:"放入回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(r["k"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})}}},d=l,u=(i("6105"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"3b97":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.closePreviewImage$=void 0;var r=i("c6b3"),o="biz.util.closePreviewImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.19"},n[r.ENV_ENUM.android]={vs:"6.0.17"},n)),e.closePreviewImage$=a,e.default=a},"3bba":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getWatermarkInfo$=void 0;var r=i("c6b3"),o="biz.watermarkCamera.getWatermarkInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.25"},n[r.ENV_ENUM.android]={vs:"6.5.25"},n)),e.getWatermarkInfo$=a,e.default=a},"3bea":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-list-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-tabs",{attrs:{animated:!1},on:{change:t.selectChange},model:{value:t.selectBy,callback:function(e){t.selectBy=e},expression:"selectBy"}},[e("a-tab-pane",{key:"my",attrs:{tab:"全部项目"}}),e("a-tab-pane",{key:"collect",attrs:{tab:"我的收藏"}}),e("a-tab-pane",{key:"archive",attrs:{tab:"已归档"}}),e("a-tab-pane",{key:"deleted",attrs:{tab:"回收站"}}),e("a-button",{attrs:{slot:"tabBarExtraContent",type:"primary",icon:"plus"},on:{click:function(e){return t.doAction(null,"new")}},slot:"tabBarExtraContent"},[t._v("创建新项目")])],1),e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("a-list-item-meta",{attrs:{description:i.description}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("router-link",{attrs:{to:"/project/space/task/"+i.code}},[t._v(t._s(i.name))]),e("a-tag",{directives:[{name:"show",rawName:"v-show",value:!i.private,expression:"!item.private"}],staticClass:"m-l",attrs:{color:"green"}},[t._v("公开")])],1),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"ant-list-item-content"},[e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("创建日期")]),e("span",[t._v(t._s(t.moment(i.create_time).format("YYYY-MM-DD")))])]),e("div",{staticClass:"info-item"},[e("span",[t._v("创建人")]),e("span",[t._v(t._s(i.owner_name))])]),e("div",{staticClass:"info-item schedule"},[e("span",[t._v("进度")]),e("a-progress",{attrs:{strokeWidth:5,percent:i.schedule}})],1)])]),"my"===t.selectBy||"collect"===t.selectBy?[e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.inviteProjectMember(i)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"添加成员"}},[e("a-icon",{attrs:{type:"user-add"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"edit",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"项目设置"}},[e("a-icon",{attrs:{type:"setting"}})],1)],1),e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:i.collected?"取消收藏":"加入收藏"},on:{click:function(e){return t.doAction(i,"collect",a)}}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!i.collected,expression:"!item.collected"}],attrs:{type:"star"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.collected,expression:"item.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1)]:t._e(),"archive"===t.selectBy?[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recoveryArchive",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1)]:t._e(),"archive"===t.selectBy||"my"===t.selectBy||"collect"===t.selectBy?[e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"移至回收站"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1)]:t._e(),"deleted"===t.selectBy?[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recovery",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1)]:t._e()],2)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1),e("a-modal",{attrs:{destroyOnClose:"",width:360,title:t.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入项目名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入项目名称' }]}\n ]"}],attrs:{placeholder:"项目名称(必填)"}})],1),e("a-form-item",[e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["templateCode"],expression:"[\n 'templateCode',\n ]"}],attrs:{placeholder:"项目模板"}},[e("a-select-option",{key:0},[t._v("\n 空白项目\n ")]),t._l(t.templateList,(function(i){return e("a-select-option",{key:i.code},[t._v("\n "+t._s(i.name)+"\n ")])}))],2)],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"项目简介",rows:2}})],1),e("a-form-item",[e("div",{staticClass:"action-btn"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("完成并创建\n ")])],1)])],1)],1),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.currentProjectCode},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1,t.init(!0)}}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.currentProjectCode},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[],r=(i("386d"),i("d3a1")),o=i("58bf"),s=i("24d2"),c=i("2f14"),l=i("1b80"),d=i("c1df"),u=i.n(d),f=i("4200"),h=i("6649"),p={components:{inviteProjectMember:r["a"],projectConfig:o["a"]},mixins:[l["a"]],data:function(){return{selectBy:this.$route.params.type||"my",dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectCode:0,currentProjectIndex:0,newData:{code:""},form:this.$form.createForm(this),searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑项目"},projectModal:{modalStatus:!1,modalTitle:"项目设置"},templateList:[]}},watch:{$route:function(){this.selectBy=this.$route.params.type||"my",this.init()}},created:function(){this.init(),this.projectTemplates()},methods:{moment:u.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=100,this.showLoadingMore=!1),this.requestData.selectBy=this.selectBy,e.loading=!0,Object(s["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},projectTemplates:function(){var t=this;Object(h["c"])({pageSize:100,viewType:-1}).then((function(e){t.templateList=e.data.list}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectCode=t.code,this.showInviteMember=!0},doAction:function(t,e,i){var a=this;this.currentProject=t,this.currentProjectIndex=i;var n=this;if(n.newData={id:0},"new"==e)setTimeout((function(){n.form&&n.form.resetFields()}),0),n.actionInfo.modalStatus=!0,n.actionInfo.modalTitle="创建项目";else if("edit"==e)n.currentProjectCode=t.code,n.projectModal.modalStatus=!0;else if("del"==e)this.$confirm({title:"确定放入回收站?",content:"一旦将项目「".concat(this.currentProject.name,"」放入回收站,所有与项目有关的信息将会被放入回收站"),okText:"放入回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(s["k"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}});else if("collect"==e){var r=t.collected?"cancel":"collect";Object(f["a"])(t.code,r).then((function(){n.$set(n.dataSource[i],"collected",!t.collected),"collect"==a.requestData.type&&n.dataSource.splice(i,1)}))}else"recoveryArchive"==e?this.$confirm({title:"取消归档项目?",content:"取消归档「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"取消归档",okType:"primary",cancelText:"再想想",onOk:function(){return Object(s["j"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}}):"recovery"==e&&this.$confirm({title:"确定恢复项目?",content:"恢复「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"恢复项目",okType:"primary",cancelText:"再想想",onOk:function(){return Object(s["i"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}})},updateProject:function(t){this.dataSource[this.currentProjectIndex]=JSON.parse(JSON.stringify(t))},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();t.newData.code?e.projectCode=t.newData.code:Object.assign(e,t.newData),Object(s["e"])(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(c["a"])(e)&&(t.form.resetFields(),t.newData={id:0},t.actionInfo.modalStatus=!1,t.init())}))},handleSearchSubmit:function(){var t=this;t.searchForm.validateFields((function(e){e||t.search()}))},search:function(){var t=this.searchForm.getFieldsValue();Object.assign(this.requestData,t),this.init()},selectChange:function(){this.init()}}},m=p,v=(i("b729"),i("2877")),g=Object(v["a"])(m,a,n,!1,null,null,null);e["default"]=g.exports},"3c97":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-auth-apply"},[e("wrapper-content",[e("div",{attrs:{slot:"page-action"},slot:"page-action"}),e("div",{staticStyle:{padding:"12px"}},[e("Button",{on:{click:t.back}},[t._v("返回")]),e("Button",{style:{marginLeft:"4px"},attrs:{type:"primary"},on:{click:t.saveAuth}},[t._v("保存")])],1),t.nodeList.length?e("Tree",{attrs:{checkable:"",defaultExpandAll:t.defaultExpandAll,autoExpandParent:t.autoExpandParent,treeNodes:t.nodeList},model:{value:t.checkedList,callback:function(e){t.checkedList=e},expression:"checkedList"}}):t._e()],1)],1)},n=[],r=i("5efb"),o=i("d865"),s=i("3786"),c=(i("2f14"),i("68fe"),{components:{Button:r["a"],Tree:o["a"]},data:function(){return{nodeList:[],checkedList:[],defaultExpandAll:!0,autoExpandParent:!0}},created:function(){this.init()},methods:{init:function(){var t=this;Object(s["a"])(t.$route.params.id).then((function(e){t.nodeList=e.data.list,t.checkedList=e.data.checkedList}))},saveAuth:function(){var t=this;Object(s["a"])(t.$route.params.id,JSON.stringify(t.checkedList),"save")},back:function(){this.$router.push("/system/account/auth")}}}),l=c,d=(i("26c8"),i("2877")),u=Object(d["a"])(l,a,n,!1,null,null,null);e["default"]=u.exports},"3df3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestAuthInfo$=void 0;var r=i("c6b3"),o="biz.auth.requestAuthInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.19"},n[r.ENV_ENUM.android]={vs:"5.1.19"},n)),e.requestAuthInfo$=a,e.default=a},"3e5a":function(t,e){Object.keys||(Object.keys=function(t){if(t!==Object(t))throw new TypeError("Object.keys called on a non-object");var e,i=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.push(e);return i})},"3eba":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("697e7")),r=i("6d8b"),o=i("41ef"),s=i("22d1"),c=i("04f6"),l=i("1fab"),d=i("7e63"),u=i("843e"),f=i("2039"),h=i("ca98"),p=i("fb05"),m=i("d15d"),v=i("6cb7"),g=i("4f85"),b=i("b12f"),_=i("e887"),y=i("2306"),k=i("e0d3"),x=i("88b3"),w=x.throttle,C=i("fd63"),S=i("b809"),M=i("998c"),T=i("69ff"),P=i("c533"),I=i("f219");i("0352");var O=i("ec34"),E=r.assert,j=r.each,D=r.isFunction,A=r.isObject,N=v.parseClassType,L="4.9.0",$={zrender:"4.3.2"},V=1,R=1e3,z=800,F=900,U=5e3,B=1e3,H=1100,W=2e3,Y=3e3,q=3500,G=4e3,K=5e3,X={PROCESSOR:{FILTER:R,SERIES_FILTER:z,STATISTIC:U},VISUAL:{LAYOUT:B,PROGRESSIVE_LAYOUT:H,GLOBAL:W,CHART:Y,POST_CHART_LAYOUT:q,COMPONENT:G,BRUSH:K}},J="__flagInMainProcess",Z="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(i,a,n){e||!this._disposed?(i=i&&i.toLowerCase(),l.prototype[t].call(this,i,a,n)):yt(this.id)}}function et(){l.call(this)}function it(t,e,i){i=i||{},"string"===typeof e&&(e=jt[e]),this.id,this.group,this._dom=t;var a="canvas",o=this._zr=n.init(t,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=w(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new f;var s=this._api=Ct(this);function d(t,e){return t.__prio-e.__prio}c(Et,d),c(Pt,d),this._scheduler=new T(this,s,Pt,Et),l.call(this,this._ecEventProcessor=new St),this._messageCenter=new et,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),ft(o,this),r.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),r.mixin(et,l);var at=it.prototype;function nt(t,e,i){if(this._disposed)yt(this.id);else{var a,n=this._model,r=this._coordSysMgr.getCoordinateSystems();e=k.parseFinder(n,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},at.getDom=function(){return this._dom},at.getZr=function(){return this._zr},at.setOption=function(t,e,i){if(this._disposed)yt(this.id);else{var a;if(A(e)&&(i=e.lazyUpdate,a=e.silent,e=e.notMerge),this[J]=!0,!this._model||e){var n=new h(this._api),r=this._theme,o=this._model=new d;o.scheduler=this._scheduler,o.init(null,null,r,n)}this._model.setOption(t,It),i?(this[Z]={silent:a},this[J]=!1):(ot(this),rt.update.call(this),this._zr.flush(),this[Z]=!1,this[J]=!1,dt.call(this,a),ut.call(this,a))}},at.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},at.getModel=function(){return this._model},at.getOption=function(){return this._model&&this._model.getOption()},at.getWidth=function(){return this._zr.getWidth()},at.getHeight=function(){return this._zr.getHeight()},at.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},at.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},at.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},at.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,a=[],n=this;j(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=n._componentsMap[t.__viewId];e.group.ignore||(a.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return j(a,(function(t){t.group.ignore=!1})),r}yt(this.id)},at.getConnectedDataURL=function(t){if(this._disposed)yt(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,a=Math.min,o=Math.max,c=1/0;if(Nt[i]){var l=c,d=c,u=-c,f=-c,h=[],p=t&&t.pixelRatio||1;r.each(At,(function(n,s){if(n.group===i){var c=e?n.getZr().painter.getSvgDom().innerHTML:n.getRenderedCanvas(r.clone(t)),p=n.getDom().getBoundingClientRect();l=a(p.left,l),d=a(p.top,d),u=o(p.right,u),f=o(p.bottom,f),h.push({dom:c,left:p.left,top:p.top})}})),l*=p,d*=p,u*=p,f*=p;var m=u-l,v=f-d,g=r.createCanvas(),b=n.init(g,{renderer:e?"svg":"canvas"});if(b.resize({width:m,height:v}),e){var _="";return j(h,(function(t){var e=t.left-l,i=t.top-d;_+=''+t.dom+""})),b.painter.getSvgRoot().innerHTML=_,t.connectedBackgroundColor&&b.painter.setBackgroundColor(t.connectedBackgroundColor),b.refreshImmediately(),b.painter.toDataURL()}return t.connectedBackgroundColor&&b.add(new y.Rect({shape:{x:0,y:0,width:m,height:v},style:{fill:t.connectedBackgroundColor}})),j(h,(function(t){var e=new y.Image({style:{x:t.left*p-l,y:t.top*p-d,image:t.dom}});b.add(e)})),b.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},at.convertToPixel=r.curry(nt,"convertToPixel"),at.convertFromPixel=r.curry(nt,"convertFromPixel"),at.containPixel=function(t,e){if(!this._disposed){var i,a=this._model;return t=k.parseFinder(a,t),r.each(t,(function(t,a){a.indexOf("Models")>=0&&r.each(t,(function(t){var n=t.coordinateSystem;if(n&&n.containPoint)i|=!!n.containPoint(e);else if("seriesModels"===a){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i}yt(this.id)},at.getVisual=function(t,e){var i=this._model;t=k.parseFinder(i,t,{defaultMainType:"series"});var a=t.seriesModel,n=a.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=r?n.getItemVisual(r,e):n.getVisual(e)},at.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},at.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var rt={prepareAndUpdate:function(t){ot(this),rt.update.call(this,t)},update:function(t){var e=this._model,i=this._api,a=this._zr,n=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),n.create(e,i),r.performDataProcessorTasks(e,t),ct(this,e),n.update(e,i),pt(e),r.performVisualTasks(e,t),mt(this,e,i,t);var c=e.get("backgroundColor")||"transparent";if(s.canvasSupported)a.setBackgroundColor(c);else{var l=o.parse(c);c=o.stringify(l,"rgb"),0===l[3]&&(c="transparent")}bt(e,i)}},updateTransform:function(t){var e=this._model,i=this,a=this._api;if(e){var n=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var c=s.updateTransform(o,e,a,t);c&&c.update&&n.push(s)}else n.push(s)}));var o=r.createHashMap();e.eachSeries((function(n){var r=i._chartsMap[n.__viewId];if(r.updateTransform){var s=r.updateTransform(n,e,a,t);s&&s.update&&o.set(n.uid,1)}else o.set(n.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),gt(i,e,a,t,o),bt(e,this._api)}},updateView:function(t){var e=this._model;e&&(_.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),mt(this,this._model,this._api,t),bt(e,this._api))},updateVisual:function(t){rt.update.call(this,t)},updateLayout:function(t){rt.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ht(t,"component",e,i),ht(t,"chart",e,i),i.plan()}function st(t,e,i,a,n){var o=t._model;if(a){var s={};s[a+"Id"]=i[a+"Id"],s[a+"Index"]=i[a+"Index"],s[a+"Name"]=i[a+"Name"];var c={mainType:a,query:s};n&&(c.subType=n);var l=i.excludeSeriesId;null!=l&&(l=r.createHashMap(k.normalizeToArray(l))),o&&o.eachComponent(c,(function(e){l&&null!=l.get(e.id)||d(t["series"===a?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else j(t._componentsViews.concat(t._chartsViews),d);function d(a){a&&a.__alive&&a[e]&&a[e](a.__model,o,t._api,i)}}function ct(t,e){var i=t._chartsMap,a=t._scheduler;e.eachSeries((function(t){a.updateStreamModes(t,i[t.__viewId])}))}function lt(t,e){var i=t.type,a=t.escapeConnect,n=Mt[i],o=n.actionInfo,s=(o.update||"update").split(":"),c=s.pop();s=null!=s[0]&&N(s[0]),this[J]=!0;var l=[t],d=!1;t.batch&&(d=!0,l=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var u,f=[],h="highlight"===i||"downplay"===i;j(l,(function(t){u=n.action(t,this._model,this._api),u=u||r.extend({},t),u.type=o.event||u.type,f.push(u),h?st(this,c,t,"series"):s&&st(this,c,t,s.main,s.sub)}),this),"none"===c||h||s||(this[Z]?(ot(this),rt.update.call(this,t),this[Z]=!1):rt[c].call(this,t)),u=d?{type:o.event||i,escapeConnect:a,batch:f}:f[0],this[J]=!1,!e&&this._messageCenter.trigger(u.type,u)}function dt(t){var e=this._pendingActions;while(e.length){var i=e.shift();lt.call(this,i,t)}}function ut(t){!t&&this.trigger("updated")}function ft(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[Z]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ht(t,e,i,a){for(var n="component"===e,r=n?t._componentsViews:t._chartsViews,o=n?t._componentsMap:t._chartsMap,s=t._zr,c=t._api,l=0;le.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function xt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function wt(t,e){var i=t.get("z"),a=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=a&&(t.zlevel=a))}))}function Ct(t){var e=t._coordSysMgr;return r.extend(new u(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function St(){this.eventInfo}at._initEvents=function(){j(_t,(function(t){var e=function(e){var i,a=this.getModel(),n=e.target,o="globalout"===t;if(o)i={};else if(n&&null!=n.dataIndex){var s=n.dataModel||a.getSeriesByIndex(n.seriesIndex);i=s&&s.getDataParams(n.dataIndex,n.dataType,n)||{}}else n&&n.eventData&&(i=r.extend({},n.eventData));if(i){var c=i.componentType,l=i.componentIndex;"markLine"!==c&&"markPoint"!==c&&"markArea"!==c||(c="series",l=i.seriesIndex);var d=c&&null!=l&&a.getComponent(c,l),u=d&&this["series"===d.mainType?"_chartsMap":"_componentsMap"][d.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:n,packedEvent:i,model:d,view:u},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),j(Tt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},at.isDisposed=function(){return this._disposed},at.clear=function(){this._disposed?yt(this.id):this.setOption({series:[]},!0)},at.dispose=function(){if(this._disposed)yt(this.id);else{this._disposed=!0,k.setAttribute(this.getDom(),Vt,"");var t=this._api,e=this._model;j(this._componentsViews,(function(i){i.dispose(e,t)})),j(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete At[this.id]}},r.mixin(it,l),St.prototype={constructor:St,normalizeQuery:function(t){var e={},i={},a={};if(r.isString(t)){var n=N(t);e.mainType=n.main||null,e.subType=n.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,n){for(var r=!1,c=0;c0&&d===n.length-l.length){var u=n.slice(0,d);"data"!==u&&(e.mainType=u,e[l.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(n)&&(i[n]=t,r=!0),r||(a[n]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:a}},filter:function(t,e,i){var a=this.eventInfo;if(!a)return!0;var n=a.targetEl,r=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var c=e.cptQuery,l=e.dataQuery;return d(c,o,"mainType")&&d(c,o,"subType")&&d(c,o,"index","componentIndex")&&d(c,o,"name")&&d(c,o,"id")&&d(l,r,"name")&&d(l,r,"dataIndex")&&d(l,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,n,r));function d(t,e,i,a){return null==t[i]||e[a||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var Mt={},Tt={},Pt=[],It=[],Ot=[],Et=[],jt={},Dt={},At={},Nt={},Lt=new Date-0,$t=new Date-0,Vt="_echarts_instance_";function Rt(t){var e=0,i=1,a=2,n="__connectUpdateStatus";function r(t,e){for(var i=0;i255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function c(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function d(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function f(t,e,i,a,n){return t[0]=e,t[1]=i,t[2]=a,t[3]=n,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new a(20),m=null;function v(t,e){m&&h(m,e),m=p.put(t,m||e.slice())}function g(t,e){if(t){e=e||[];var i=p.get(t);if(i)return h(e,i);t+="";var a=t.replace(/ /g,"").toLowerCase();if(a in n)return h(e,n[a]),v(t,e),e;if("#"!==a.charAt(0)){var r=a.indexOf("("),o=a.indexOf(")");if(-1!==r&&o+1===a.length){var s=a.substr(0,r),d=a.substr(r+1,o-(r+1)).split(","),u=1;switch(s){case"rgba":if(4!==d.length)return void f(e,0,0,0,1);u=l(d.pop());case"rgb":return 3!==d.length?void f(e,0,0,0,1):(f(e,c(d[0]),c(d[1]),c(d[2]),u),v(t,e),e);case"hsla":return 4!==d.length?void f(e,0,0,0,1):(d[3]=l(d[3]),b(d,e),v(t,e),e);case"hsl":return 3!==d.length?void f(e,0,0,0,1):(b(d,e),v(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===a.length){var m=parseInt(a.substr(1),16);return m>=0&&m<=4095?(f(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,1),v(t,e),e):void f(e,0,0,0,1)}if(7===a.length){m=parseInt(a.substr(1),16);return m>=0&&m<=16777215?(f(e,(16711680&m)>>16,(65280&m)>>8,255&m,1),v(t,e),e):void f(e,0,0,0,1)}}}}function b(t,e){var i=(parseFloat(t[0])%360+360)%360/360,a=l(t[1]),n=l(t[2]),o=n<=.5?n*(a+1):n+a-n*a,s=2*n-o;return e=e||[],f(e,r(255*d(s,o,i+1/3)),r(255*d(s,o,i)),r(255*d(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t){if(t){var e,i,a=t[0]/255,n=t[1]/255,r=t[2]/255,o=Math.min(a,n,r),s=Math.max(a,n,r),c=s-o,l=(s+o)/2;if(0===c)e=0,i=0;else{i=l<.5?c/(s+o):c/(2-s-o);var d=((s-a)/6+c/2)/c,u=((s-n)/6+c/2)/c,f=((s-r)/6+c/2)/c;a===s?e=f-u:n===s?e=1/3+d-f:r===s&&(e=2/3+u-d),e<0&&(e+=1),e>1&&(e-=1)}var h=[360*e,i,l];return null!=t[3]&&h.push(t[3]),h}}function y(t,e){var i=g(t);if(i){for(var a=0;a<3;a++)i[a]=e<0?i[a]*(1-e)|0:(255-i[a])*e+i[a]|0,i[a]>255?i[a]=255:t[a]<0&&(i[a]=0);return P(i,4===i.length?"rgba":"rgb")}}function k(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var a=t*(e.length-1),n=Math.floor(a),o=Math.ceil(a),c=e[n],l=e[o],d=a-n;return i[0]=r(u(c[0],l[0],d)),i[1]=r(u(c[1],l[1],d)),i[2]=r(u(c[2],l[2],d)),i[3]=s(u(c[3],l[3],d)),i}}var w=x;function C(t,e,i){if(e&&e.length&&t>=0&&t<=1){var a=t*(e.length-1),n=Math.floor(a),o=Math.ceil(a),c=g(e[n]),l=g(e[o]),d=a-n,f=P([r(u(c[0],l[0],d)),r(u(c[1],l[1],d)),r(u(c[2],l[2],d)),s(u(c[3],l[3],d))],"rgba");return i?{color:f,leftIndex:n,rightIndex:o,value:a}:f}}var S=C;function M(t,e,i,a){if(t=g(t),t)return t=_(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=l(i)),null!=a&&(t[2]=l(a)),P(b(t),"rgba")}function T(t,e){if(t=g(t),t&&null!=e)return t[3]=s(e),P(t,"rgba")}function P(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=y,e.toHex=k,e.fastLerp=x,e.fastMapToColor=w,e.lerp=C,e.mapToColor=S,e.modifyHSL=M,e.modifyAlpha=T,e.stringify=P},4281:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.confirm$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.confirm",c=(0,o.genDefaultParamsDealFn)({title:"",buttonLabels:["确定","取消"]});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.confirm$=a,e.default=a},"42b4":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=this,i=e._self._c;return i("div",{staticClass:"account-index"},[i("wrapper-content",[i("div",{staticClass:"action"}),i("a-table",{attrs:{columns:e.columns,dataSource:e.dataSource,loading:e.loading,rowKey:"id",pagination:e.pagination},on:{change:e.pageChange},scopedSlots:e._u([{key:"avatar",fn:function(t,e,a){return[i("a-avatar",{attrs:{src:e.avatar}})]}},{key:"status",fn:function(t,a,n){return[a.status?i("span",{staticClass:"success-color"},[e._v("使用中")]):i("span",[e._v("已禁用")])]}},{key:"action",fn:function(t,a,n){return[a.is_owner?e._e():[i("a",{on:{click:function(t){return e.rowClick(a,"edit")}}},[e._v("编辑")]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.auth(a)}}},[e._v("授权")]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"status")}}},[a.status?i("span",[e._v("禁用")]):i("span",[e._v("启用")])]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"del")}}},[e._v("删除")])]]}}])})],1),i("a-modal",{attrs:{width:800,title:e.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.actionInfo.modalStatus,callback:function(t){e.$set(e.actionInfo,"modalStatus",t)},expression:"actionInfo.modalStatus"}},[i("a-form",{attrs:{autoFormCreate:function(e){t.form=e}},on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"姓名",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入姓名"}]}}},[i("a-input",{attrs:{placeholder:"姓名"}})],1),i("a-form-item",{attrs:{label:"手机",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"mobile"}},[i("a-input",{attrs:{placeholder:"手机号码"}})],1),i("a-form-item",{attrs:{label:"邮箱",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"email"}},[i("a-input",{attrs:{placeholder:"邮箱地址"}})],1),i("a-form-item",{attrs:{label:"描述",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"description",help:"可选,设置账号的备注信息"}},[i("a-text-area",{attrs:{placeholder:"账号描述"}})],1),i("a-form-item",{attrs:{wrapperCol:{span:21,offset:3}}},[i("div",{staticClass:"action-btn"},[i("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",loading:e.actionInfo.confirmLoading}},[e._v("保存\n ")]),i("a-button",{staticClass:"middle-btn",on:{click:function(t){e.actionInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)])],1)],1),i("a-modal",{attrs:{width:800,title:"用户授权",bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.authInfo.modalStatus,callback:function(t){e.$set(e.authInfo,"modalStatus",t)},expression:"authInfo.modalStatus"}},[e.currentUser?i("div",{staticStyle:{margin:"0 0 24px 0"}},[i("div",{staticStyle:{"margin-bottom":"24px"}},[i("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:e.currentUser.authorize,callback:function(t){e.$set(e.currentUser,"authorize",t)},expression:"currentUser.authorize"}},e._l(e.authList,(function(t){return i("a-radio-button",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1),i("div",{staticClass:"action-btn"},[i("a-button",{staticClass:"middle-btn",attrs:{type:"primary",loading:e.authInfo.confirmLoading},on:{click:e.authApply}},[e._v("保存\n ")]),i("a-button",{staticClass:"middle-btn",on:{click:function(t){e.authInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)]):e._e()])],1)},n=[],r=(i("c5f6"),i("7f7f"),i("ac6a"),i("b558")),o=i("c24f"),s=i("2f14"),c=i("1b80"),l=r["a"].TextArea,d=[{title:"头像",dataIndex:"avatar",width:"30%",scopedSlots:{customRender:"avatar"}},{title:"姓名",dataIndex:"name",width:"15%"},{title:"手机",dataIndex:"mobile",width:"15%"},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"操作",scopedSlots:{customRender:"action"}}],u={components:{ATextArea:l},mixins:[c["a"]],data:function(){return{columns:d,dataSource:[],loading:!0,authList:[],newData:{id:0},form:{},currentUser:null,authInfo:{modalStatus:!1,confirmLoading:!1},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑账号",okText:"保存",cancelText:"放弃"}}},created:function(){this.init()},methods:{init:function(){var t=this;t.loading=!0,Object(o["w"])(t.requestData).then((function(e){t.dataSource=e.data.list,t.pagination.total=e.data.total,t.authList=[],e.data.authList.forEach((function(e){var i={label:e.title,value:e.id};t.authList.push(i)})),t.loading=!1}))},rowClick:function(t,e){var i=this;if(i.newData={id:0},"add"==e||"edit"==e||"new"==e)setTimeout((function(){i.form&&i.form.resetFields()}),0),i.actionInfo.modalStatus=!0,i.actionInfo.modalTitle="添加账号","edit"==e&&setTimeout((function(){i.actionInfo.modalTitle="编辑账号",i.form.setFieldsValue({name:t.name,mobile:t.mobile,email:t.email,description:t.description}),i.newData=t}),0);else if("status"==e){var a=t.status;a?Object(o["t"])(t.code).then((function(e){Object(s["a"])(e)&&(t.status=Number(!a))})):Object(o["z"])(t.code).then((function(e){Object(s["a"])(e)&&(t.status=Number(!a))}))}else"del"==e&&this.$confirm({title:"确定要删除此账号?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"放弃",onOk:function(){return Object(o["o"])(t.code).then((function(){i.init()})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.form.validateFields((function(e,i){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),Object(o["p"])(e).then((function(i){t.actionInfo.confirmLoading=!1,Object(s["a"])(i)&&(t.newData.code?(t.newData.email=e.email,t.newData.name=e.name,t.newData.mobile=e.mobile,t.newData.description=e.description):t.dataSource.push(i.data),t.form.resetFields(),t.newData={id:0},t.actionInfo.modalStatus=!1)}))},auth:function(t,e){var i=this;i.authInfo.modalStatus=!0,i.currentUser=t,i.currentUser.index=e},authApply:function(){var t=this;t.authInfo.confirmLoading=!0,Object(o["m"])(t.currentUser.id,t.currentUser.authorize).then((function(e){Object(s["a"])(e)&&(t.dataSource[t.currentUser.index]=t.currentUser,t.authInfo.modalStatus=!1,t.authInfo.confirmLoading=!1)}))}}},f=u,h=(i("9d72"),i("2877")),p=Object(h["a"])(f,a,n,!1,null,null,null);e["default"]=p.exports},"42e5":function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var a=i;t.exports=a},"42f6":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("22d1"),o=i("07d7"),s=i("82f9"),c=i("eda2"),l=i("3842"),d=i("2306"),u=i("133d"),f=i("f934"),h=i("4319"),p=i("17d6"),m=i("697e"),v=i("ff2e"),g=i("e0d3"),b=g.getTooltipRenderMode,_=n.bind,y=n.each,k=l.parsePercent,x=new d.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=a.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,a=t.getComponent("tooltip"),n=a.get("renderMode");this._renderMode=b(n),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,_((function(t,i,a){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,a):"leave"===t&&this._hide(a))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&a.manuallyShowTip(t,e,i,{x:a._lastX,y:a._lastY})}))}},manuallyShowTip:function(t,e,i,a){if(a.from!==this.uid&&!r.node){var n=S(a,i);this._ticket="";var o=a.dataByCoordSys;if(a.tooltip&&null!=a.x&&null!=a.y){var s=x;s.position=[a.x,a.y],s.update(),s.tooltip=a.tooltip,this._tryShow({offsetX:a.x,offsetY:a.y,target:s},n)}else if(o)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:a.dataByCoordSys,tooltipOption:a.tooltipOption},n);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,a))return;var c=u(a,e),l=c.point[0],d=c.point[1];null!=l&&null!=d&&this._tryShow({offsetX:l,offsetY:d,position:a.position,target:c.el},n)}else null!=a.x&&null!=a.y&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},n))}},manuallyHideTip:function(t,e,i,a){var n=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&n.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,a.from!==this.uid&&this._hide(S(a,i))},_manuallyAxisShowTip:function(t,e,i,a){var n=a.seriesIndex,r=a.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=n&&null!=r&&null!=o){var s=e.getSeriesByIndex(n);if(s){var c=s.getData();t=C([c.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:n,dataIndex:r,position:a.position}),!0}}},_tryShow:function(t,e){var i=t.target,a=this._tooltipModel;if(a){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=n.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,a=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],l=C([e.tooltipOption,a]),d=this._renderMode,u=this._newLine,f={};y(t,(function(t){y(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value,r=[];if(e&&null!=a){var l=v.getValueLabel(a,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);n.each(t.seriesDataIndices,(function(o){var c=i.getSeriesByIndex(o.seriesIndex),u=o.dataIndexInside,h=c&&c.getDataParams(u);if(h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=m.getAxisRawValue(e.axis,a),h.axisValueLabel=l,h){s.push(h);var p,v=c.formatTooltip(u,!0,null,d);if(n.isObject(v)){p=v.html;var g=v.markers;n.merge(f,g)}else p=v;r.push(p)}}));var h=l;"html"!==d?o.push(r.join(u)):o.push((h?c.encodeHTML(h)+u:"")+r.join(u))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var h=e.position;this._showOrMove(l,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(l,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(l,o,s,Math.random(),r[0],r[1],h,void 0,f)}))},_showSeriesItemTooltip:function(t,e,i){var a=this._ecModel,r=e.seriesIndex,o=a.getSeriesByIndex(r),s=e.dataModel||o,c=e.dataIndex,l=e.dataType,d=s.getData(l),u=C([d.getItemModel(c),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),f=u.get("trigger");if(null==f||"item"===f){var h,p,m=s.getDataParams(c,l),v=s.formatTooltip(c,!1,l,this._renderMode);n.isObject(v)?(h=v.html,p=v.markers):(h=v,p=null);var g="item_"+s.name+"_"+c;this._showOrMove(u,(function(){this._showTooltipContent(u,h,m,g,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var a=e.tooltip;if("string"===typeof a){var n=a;a={content:n,formatter:n}}var r=new h(a,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,a,n,r,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var d=this._tooltipContent,u=t.get("formatter");o=o||t.get("position");var f=e;if(u&&"string"===typeof u)f=c.formatTpl(u,i,!0);else if("function"===typeof u){var h=_((function(e,a){e===this._ticket&&(d.setContent(a,l,t),this._updatePosition(t,o,n,r,d,i,s))}),this);this._ticket=a,f=u(i,a,h)}d.setContent(f,l,t),d.show(t),this._updatePosition(t,o,n,r,d,i,s)}},_updatePosition:function(t,e,i,a,r,o,s){var c=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var d=r.getSize(),u=t.get("align"),h=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,a],o,r.el,p,{viewSize:[c,l],contentSize:d.slice()})),n.isArray(e))i=k(e[0],c),a=k(e[1],l);else if(n.isObject(e)){e.width=d[0],e.height=d[1];var m=f.getLayoutRect(e,{width:c,height:l});i=m.x,a=m.y,u=null,h=null}else if("string"===typeof e&&s){var v=P(e,p,d);i=v[0],a=v[1]}else{v=M(i,a,r,c,l,u?null:20,h?null:20);i=v[0],a=v[1]}if(u&&(i-=I(u)?d[0]/2:"right"===u?d[0]:0),h&&(a-=I(h)?d[1]/2:"bottom"===h?d[1]:0),t.get("confine")){v=T(i,a,r,c,l);i=v[0],a=v[1]}r.moveTo(i,a)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&y(e,(function(e,a){var n=e.dataByAxis||{},r=t[a]||{},o=r.dataByAxis||[];i&=n.length===o.length,i&&y(n,(function(t,e){var a=o[e]||{},n=t.seriesDataIndices||[],r=a.seriesDataIndices||[];i&=t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&n.length===r.length,i&&y(n,(function(t,e){var a=r[e];i&=t.seriesIndex===a.seriesIndex&&t.dataIndex===a.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function C(t){var e=t.pop();while(t.length){var i=t.pop();i&&(h.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new h(i,e,e.ecModel))}return e}function S(t,e){return t.dispatchAction||n.bind(e.dispatchAction,e)}function M(t,e,i,a,n,r,o){var s=i.getOuterSize(),c=s.width,l=s.height;return null!=r&&(t+c+r>a?t-=c+r:t+=r),null!=o&&(e+l+o>n?e-=l+o:e+=o),[t,e]}function T(t,e,i,a,n){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,a)-o,e=Math.min(e+s,n)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function P(t,e,i){var a=i[0],n=i[1],r=5,o=0,s=0,c=e.width,l=e.height;switch(t){case"inside":o=e.x+c/2-a/2,s=e.y+l/2-n/2;break;case"top":o=e.x+c/2-a/2,s=e.y-n-r;break;case"bottom":o=e.x+c/2-a/2,s=e.y+l+r;break;case"left":o=e.x-a-r,s=e.y+l/2-n/2;break;case"right":o=e.x+c+r,s=e.y+l/2-n/2}return[o,s]}function I(t){return"center"===t||"middle"===t}t.exports=w},4319:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e0d3"),o=r.makeInner,s=i("625e"),c=s.enableClassExtend,l=s.enableClassCheck,d=i("3901"),u=i("9bdb"),f=i("fe21"),h=i("551f"),p=a.mixin,m=o();function v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function g(t,e,i){for(var a=0;a0&&void 0!==arguments[0])||arguments[0],i=this;e&&(this.pagination.page=1,this.pagination.pageSize=50,this.showLoadingMore=!1),i.requestData.projectCode=this.code,i.requestData.deleted=0,Object(f["e"])(i.requestData).then((function(a){e&&(t.eventList=[]),a.data.list.forEach((function(t){t.editing=!1})),i.eventList=i.eventList.concat(a.data.list),i.pagination.total=a.data.total,i.showLoadingMore=i.pagination.total>i.eventList.length,i.loading=!1,i.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(d["a"])(this.project.code,e).then((function(e){Object(u["a"])(e)&&(t.project.collected=!t.project.collected)}))},handleSubmit:function(){var t=this;t.$refs.ruleForm.validate((function(e){if(!e)return console.log("error submit!!"),!1;t.handleOk()}))},handleOk:function(){var t=this;t.submitting=!0;var e=g({},t.formData);console.log(e),e.member_list=JSON.stringify(e.member_list),e.begin_time=c()(e.begin_time).format("YYYY-MM-DD HH:mm:ss"),e.end_time=c()(e.end_time).format("YYYY-MM-DD HH:mm:ss"),Object(f["c"])(e).then((function(e){t.submitting=!1,Object(u["a"])(e,!0)&&(t.init(!0),t.actionInfo.modalStatus=!1)}))},rowClick:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(e,i){var a,n,r=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:r.length>2&&void 0!==r[2]?r[2]:null,a=this,a.formData.id=0,"add"==i||"edit"==i||"new"==i?(a.formData={id:0,title:void 0,description:void 0,begin_time:null,end_time:null,all_day:!1,project_code:a.$route.params.code,position:void 0,member_list:[a.currentMemberCode]},a.actionInfo.modalTitle="新增日程","edit"==i&&(a.actionInfo.modalTitle="编辑日程",a.formData.id=e.id,n=[],e.memberList.forEach((function(t){n.push(t.member_code)})),e.member_list=n,a.formData=g({},e)),a.actionInfo.modalStatus=!0,a.$nextTick((function(){a.$refs.ruleForm.clearValidate()}))):"del"==i&&a.$confirm({title:"确定要删除?",content:"关联的相关信息将会同时被删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){Object(f["b"])({eventsCode:e.code}).then((function(t){Object(u["a"])(t,!0)&&a.init(!0)}))}});case 4:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),canRemove:function(t){if(console.log(this.formData.memberList),this.formData.memberList){var e=this.formData.memberList.find((function(e){return e.member_code==t}));return!e||!e.is_owner}return t!=this.currentMemberCode}}},_=b,y=(i("523e"),i("2877")),k=Object(y["a"])(_,a,n,!1,null,null,null);e["default"]=k.exports},4650:function(t,e,i){var a=i("3eba"),n=i("6d8b");function r(t,e,i){var a,r={},o="toggleSelected"===t;return i.eachComponent("legend",(function(i){o&&null!=a?i[a?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),a=i.isSelected(e.name));var s=i.getData();n.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var a=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&a:r[e]=a}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}a.registerAction("legendToggleSelect","legendselectchanged",n.curry(r,"toggleSelected")),a.registerAction("legendAllSelect","legendselectall",n.curry(r,"allSelect")),a.registerAction("legendInverseSelect","legendinverseselect",n.curry(r,"inverseSelect")),a.registerAction("legendSelect","legendselected",n.curry(r,"select")),a.registerAction("legendUnSelect","legendunselected",n.curry(r,"unSelect"))},"46f8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FRAMEWORK=e.PLATFORM=e.RUNTIME=void 0,e.RUNTIME={WEB:"Web",WEEX:"Weex",UNKNOWN:"Unknown"},e.PLATFORM={MAC:"Mac",WINDOWS:"Windows",IOS:"iOS",ANDROID:"Android",IPAD:"iPad",BROWSER:"Browser",UNKNOWN:"Unknown"},e.FRAMEWORK={VUE:"Vue",RAX:"Rax",UNKNOWN:"Unknown"}},"477c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setRight$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setRight",c=(0,o.genDefaultParamsDealFn)({watch:!0,show:!0,control:!1,showIcon:!0,text:""});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.setRight$=a,e.default=a},"47be":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.datetimepicker$=void 0;var r=i("c6b3"),o="biz.util.datetimepicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.datetimepicker$=a,e.default=a},"47fe":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("9670"),o=i("eee2"),s=i("bd74"),c=i("6158"),l=i("5772"),d=i("dd66"),u=i("e8f7");a.ddSdk.setPlatform({platform:n.ENV_ENUM.ios,bridgeInit:function(){var t=(0,n.getENV)();return t.appType===r.APP_TYPE.MINI_APP?Promise.resolve(o.default):t.appType===r.APP_TYPE.WEBVIEW_IN_MINIAPP?Promise.resolve(s.default):t.appType===r.APP_TYPE.WEEX?(0,l.iosWeexBridge)():(0,c.h5IosBridgeInit)().then((function(){return c.default}))},authMethod:"runtime.permission.requestJsApis",event:{on:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.on)(t,e);break;case r.APP_TYPE.WEEX:(0,u.on)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}},off:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.off)(t,e);break;case r.APP_TYPE.WEEX:(0,u.off)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}}}})},"481b3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="device.audio.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.stop$=a,e.default=a},"48a9":function(t,e,i){var a=i("6d8b"),n=i("42e5"),r=function(t,e,i,a,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==a?0:a,this.type="linear",this.global=o||!1,n.call(this,r)};r.prototype={constructor:r},a.inherits(r,n);var o=r;t.exports=o},"48ac":function(t,e,i){var a=i("3eba"),n=a.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),r=n;t.exports=r},"48c7":function(t,e,i){var a=i("6d8b"),n=i("6cb7"),r=i("9e47"),o=i("2023"),s=n.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function c(t,e){return e.type||(e.data?"category":"value")}a.merge(s.prototype,o);var l={offset:0};r("x",s,c,l),r("y",s,c,l);var d=s;t.exports=d},4917:function(t,e,i){"use strict";var a=i("cb7c"),n=i("9def"),r=i("0390"),o=i("5f1b");i("214f")("match",1,(function(t,e,i,s){return[function(i){var a=t(this),n=void 0==i?void 0:i[e];return void 0!==n?n.call(i,a):new RegExp(i)[e](String(a))},function(t){var e=s(i,t,this);if(e.done)return e.value;var c=a(t),l=String(this);if(!c.global)return o(c,l);var d=c.unicode;c.lastIndex=0;var u,f=[],h=0;while(null!==(u=o(c,l))){var p=String(u[0]);f[h]=p,""===p&&(c.lastIndex=r(l,n(c.lastIndex),d)),h++}return 0===h?null:f}]}))},4938:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setData$=void 0;var r=i("c6b3"),o="biz.clipboardData.setData";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.0"},n[r.ENV_ENUM.android]={vs:"2.7.0"},n[r.ENV_ENUM.pc]={vs:"4.6.1"},n)),e.setData$=a,e.default=a},4942:function(t,e,i){var a=i("2cf4"),n=a.debugMode,r=function(){};1===n&&(r=console.error);var o=r;t.exports=o},"4a21":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.downloadFile$=void 0;var r=i("c6b3"),o="biz.util.downloadFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.downloadFile$=a,e.default=a},"4a3f":function(t,e,i){var a=i("401b"),n=a.create,r=a.distSquare,o=Math.pow,s=Math.sqrt,c=1e-8,l=1e-4,d=s(3),u=1/3,f=n(),h=n(),p=n();function m(t){return t>-c&&tc||t<-c}function g(t,e,i,a,n){var r=1-n;return r*r*(r*t+3*n*e)+n*n*(n*a+3*r*i)}function b(t,e,i,a,n){var r=1-n;return 3*(((e-t)*r+2*(i-e)*n)*r+(a-i)*n*n)}function _(t,e,i,a,n,r){var c=a+3*(e-i)-t,l=3*(i-2*e+t),f=3*(e-t),h=t-n,p=l*l-3*c*f,v=l*f-9*c*h,g=f*f-3*l*h,b=0;if(m(p)&&m(v))if(m(l))r[0]=0;else{var _=-f/l;_>=0&&_<=1&&(r[b++]=_)}else{var y=v*v-4*p*g;if(m(y)){var k=v/p,x=(_=-l/c+k,-k/2);_>=0&&_<=1&&(r[b++]=_),x>=0&&x<=1&&(r[b++]=x)}else if(y>0){var w=s(y),C=p*l+1.5*c*(-v+w),S=p*l+1.5*c*(-v-w);C=C<0?-o(-C,u):o(C,u),S=S<0?-o(-S,u):o(S,u);_=(-l-(C+S))/(3*c);_>=0&&_<=1&&(r[b++]=_)}else{var M=(2*p*l-3*c*v)/(2*s(p*p*p)),T=Math.acos(M)/3,P=s(p),I=Math.cos(T),O=(_=(-l-2*P*I)/(3*c),x=(-l+P*(I+d*Math.sin(T)))/(3*c),(-l+P*(I-d*Math.sin(T)))/(3*c));_>=0&&_<=1&&(r[b++]=_),x>=0&&x<=1&&(r[b++]=x),O>=0&&O<=1&&(r[b++]=O)}}return b}function y(t,e,i,a,n){var r=6*i-12*e+6*t,o=9*e+3*a-3*t-9*i,c=3*e-3*t,l=0;if(m(o)){if(v(r)){var d=-c/r;d>=0&&d<=1&&(n[l++]=d)}}else{var u=r*r-4*o*c;if(m(u))n[0]=-r/(2*o);else if(u>0){var f=s(u),h=(d=(-r+f)/(2*o),(-r-f)/(2*o));d>=0&&d<=1&&(n[l++]=d),h>=0&&h<=1&&(n[l++]=h)}}return l}function k(t,e,i,a,n,r){var o=(e-t)*n+t,s=(i-e)*n+e,c=(a-i)*n+i,l=(s-o)*n+o,d=(c-s)*n+s,u=(d-l)*n+l;r[0]=t,r[1]=o,r[2]=l,r[3]=u,r[4]=u,r[5]=d,r[6]=c,r[7]=a}function x(t,e,i,a,n,o,c,d,u,m,v){var b,_,y,k,x,w=.005,C=1/0;f[0]=u,f[1]=m;for(var S=0;S<1;S+=.05)h[0]=g(t,i,n,c,S),h[1]=g(e,a,o,d,S),k=r(f,h),k=0&&k=0&&d<=1&&(n[l++]=d)}}else{var u=o*o-4*r*c;if(m(u)){d=-o/(2*r);d>=0&&d<=1&&(n[l++]=d)}else if(u>0){var f=s(u),h=(d=(-o+f)/(2*r),(-o-f)/(2*r));d>=0&&d<=1&&(n[l++]=d),h>=0&&h<=1&&(n[l++]=h)}}return l}function M(t,e,i){var a=t+i-2*e;return 0===a?.5:(t-e)/a}function T(t,e,i,a,n){var r=(e-t)*a+t,o=(i-e)*a+e,s=(o-r)*a+r;n[0]=t,n[1]=r,n[2]=s,n[3]=s,n[4]=o,n[5]=i}function P(t,e,i,a,n,o,c,d,u){var m,v=.005,g=1/0;f[0]=c,f[1]=d;for(var b=0;b<1;b+=.05){h[0]=w(t,i,n,b),h[1]=w(e,a,o,b);var _=r(f,h);_=0&&_e?(t.apply(r,o),n=s):i&&(clearTimeout(a),a=setTimeout((function(){t.apply(r,o)}),i))}}function r(t,e,i){if(e){var a=t,n=e.split(".");n.forEach((function(t,e){e===n.length-1?a[t]=i:(a[t]||(a[t]={}),a=a[t])}))}}function o(t,e,i){if(!e)return t;var a=e.split("."),n=t;return a.some((function(t,e){if(void 0===n[t])return n=i,!0;n=n[t]})),n}function s(t){try{return JSON.parse(window.localStorage.getItem(t))}catch(e){}}function c(t,e){try{window.localStorage.setItem(t,JSON.stringify(e))}catch(i){}}i.r(e),i.d(e,"debounce",(function(){return a})),i.d(e,"throttle",(function(){return n})),i.d(e,"set",(function(){return r})),i.d(e,"get",(function(){return o})),i.d(e,"getStore",(function(){return s})),i.d(e,"setStore",(function(){return c})),i.d(e,"clone",(function(){return _})),i.d(e,"cloneDeep",(function(){return y})),i.d(e,"getType",(function(){return d})),i.d(e,"getTypeof",(function(){return u})),i.d(e,"isObject",(function(){return f})),i.d(e,"isArray",(function(){return h})),i.d(e,"isFunction",(function(){return p})),i.d(e,"isString",(function(){return m})),i.d(e,"isBoolean",(function(){return v})),i.d(e,"isEmptyObj",(function(){return g})),i.d(e,"isNumber",(function(){return b})),i.d(e,"kebabToCamel",(function(){return k})),i.d(e,"camelToKebab",(function(){return x})),i.d(e,"unique",(function(){return w})),i.d(e,"getLinearValue",(function(){return C})),i.d(e,"getFnAndObjValue",(function(){return S})),i.d(e,"arrDelItem",(function(){return M})),i.d(e,"arrDelArrItem",(function(){return T})),i.d(e,"getArrMin",(function(){return P})),i.d(e,"getArrMax",(function(){return I})),i.d(e,"toArray",(function(){return O})),i.d(e,"noop",(function(){return E})),i.d(e,"extend",(function(){return D})),i.d(e,"isEqual",(function(){return A})),i.d(e,"hasOwn",(function(){return j}));var l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function d(t){return Object.prototype.toString.call(t)}function u(t){return"undefined"===typeof t?"undefined":l(t)}function f(t){return"[object Object]"===d(t)}function h(t){return"[object Array]"===d(t)}function p(t){return"[object Function]"===d(t)}function m(t){return"[object String]"===d(t)}function v(t){return"[object Boolean]"===d(t)}function g(t){return f(t)&&!Object.keys(t).length}function b(t){return"[object Number]"===d(t)}function _(t){return f(t)?Object.assign({},t):h(t)?t.slice():void 0}function y(t){return JSON.parse(JSON.stringify(t))}function k(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))}function x(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function w(t){var e=[];return t.forEach((function(t){~e.indexOf(t)||e.push(t)})),e}function C(t,e,i,a,n){var r=(a-e)/(i-t),o=e-t*r;return null==n?{k:r,b:o}:n*r+o}function S(t,e){return p(t)?t(e):f(t)&&null!=t[e]?t[e]:e}function M(t,e){return t.filter((function(t){return e!==t}))}var T=function(t,e){return t.filter((function(t){return!~e.indexOf(t)}))};function P(t){return Math.min.apply(null,t)}function I(t){return Math.max.apply(null,t)}function O(t){return Array.prototype.slice.call(t)}function E(){}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var D=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.showLoadingMore=!1),e.loading=!0,e.requestData.code=e.$route.params.code,o(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},doAction:function(t,e,i){this.currentTemplate=t;var a=this;a.newData={code:""},"edit"==e||"new"==e?(setTimeout((function(){a.form&&a.form.resetFields()}),0),a.actionInfo.modalStatus=!0,a.actionInfo.modalTitle="添加任务","edit"==e&&setTimeout((function(){a.actionInfo.modalTitle="编辑任务",a.form.setFieldsValue({name:t.name,sort:t.sort}),a.cover=t.cover,a.newData=t}),0)):"del"==e&&this.$confirm({title:"确定删除任务?",content:"删除任务「".concat(this.currentTemplate.name,"」后已以该任务创建的项目不受影响"),okText:"删除任务",okType:"danger",cancelText:"再想想",onOk:function(){return c(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();e.template_code=this.$route.params.code,t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),s(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(l["a"])(e)&&(t.form.resetFields(),t.newData={code:""},t.actionInfo.modalStatus=!1,t.init())}))},handleChange:function(t){var e=this;"uploading"!==t.file.status?"done"===t.file.status&&Object(l["e"])(t.file.originFileObj,(function(i){e.cover=t.file.response.data.url,e.uploadLoading=!1})):this.uploadLoading=!0},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("图片不能超过2MB!"),e}}},f=u,h=i("2877"),p=Object(h["a"])(f,a,n,!1,null,null,null);e["default"]=p.exports},"4d16":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i("9f99"),i("7dc1"),i("3e5a")},"4d49":function(t,e,i){"use strict";i("ea1a")},"4d9c":function(t,e,i){"use strict";i("8d18")},"4ddd":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getCloudCallList$=void 0;var r=i("c6b3"),o="biz.conference.getCloudCallList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.0"},n[r.ENV_ENUM.android]={vs:"6.0.0"},n[r.ENV_ENUM.pc]={vs:"6.0.9"},n)),e.getCloudCallList$=a,e.default=a},"4e08":function(t,e,i){(function(t){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof t&&(i=t.__DEV__),"undefined"===typeof i&&(i=!0);var a=i;e.__DEV__=a}).call(this,i("c8ba"))},"4e83":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5PcBridgeInit=void 0;var a=function(){return Promise.resolve(i("98e9"))};e.h5PcBridgeInit=a;var n=function(t,e){return new Promise((function(a,n){return i("98e9").invokeAPI(t,e).result.then((function(t){return"function"==typeof e.onSuccess&&e.onSuccess.call(null,t),a(t)}),(function(t){return"function"==typeof e.onFail&&e.onFail.call(null,t),n(t)}))}))};e.default=n},"4eeb":function(t,e,i){"use strict";function a(t,e,i){var a="Web"===i.platform,r="iOS"===i.platform,o="android"===i.platform,s=o||r,c=function(){return a?window.navigator.userAgent.toLowerCase():""}(),l=function(){var t={};if(a){var e=window.name;try{var i=JSON.parse(e);t.containerId=i.containerId,t.version=i.hostVersion,t.language=i.language||"*"}catch(t){}}return t}(),d=function(){return s?"DingTalk"===i.appName||"com.alibaba.android.rimet"===i.appName:c.indexOf("dingtalk")>-1||!!l.containerId}(),u=function(){if(a){if(l.version)return l.version;var t=c.match(/aliapp\(\w+\/([a-zA-Z0-9.-]+)\)/);return null===t&&(t=c.match(/dingtalk\/([a-zA-Z0-9.-]+)/)),t&&t[1]||"Unknown"}return i.appVersion}(),f=!!l.containerId,h=/iphone|ipod|ios/.test(c),p=/ipad/.test(c),m=c.indexOf("android")>-1,v=c.indexOf("mac")>-1&&f,g=c.indexOf("win")>-1&&f,b=!v&&!g&&f,_=f,y="";return y=d?h||r?n.PLATFORM.IOS:m||o?n.PLATFORM.ANDROID:p?n.PLATFORM.IPAD:v?n.PLATFORM.MAC:g?n.PLATFORM.WINDOWS:b?n.PLATFORM.BROWSER:n.PLATFORM.UNKNOWN:n.PLATFORM.UNKNOWN,{isDingTalk:d,isWebiOS:h,isWebAndroid:m,isWeexiOS:r,isWeexAndroid:o,isDingTalkPCMac:v,isDingTalkPCWeb:b,isDingTalkPCWindows:g,isDingTalkPC:_,runtime:t,framework:e,platform:y,version:u,isWeex:s}}Object.defineProperty(e,"__esModule",{value:!0});var n=i("46f8");e.default=a},"4f85":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("22d1"),o=i("eda2"),s=o.formatTime,c=o.encodeHTML,l=o.addCommas,d=o.getTooltipMarker,u=i("e0d3"),f=i("6cb7"),h=i("e47b"),p=i("38a2"),m=i("f934"),v=m.getLayoutParams,g=m.mergeLayoutParam,b=i("f47d"),_=b.createTask,y=i("0f99"),k=y.prepareSource,x=y.getSource,w=i("2b17"),C=w.retrieveRawValue,S=u.makeInner(),M=f.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,i,a){this.seriesIndex=this.componentIndex,this.dataTask=_({count:I,reset:O}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),k(this);var n=this.getInitialData(t,i);j(n,this),this.dataTask.context.data=n,S(this).dataBeforeProcessed=n,T(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,a=i?v(t):{},r=this.subType;f.hasClass(r)&&(r+="Series"),n.merge(t,e.getTheme().get(this.subType)),n.merge(t,this.getDefaultOption()),u.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&g(t,a,i)},mergeOption:function(t,e){t=n.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&g(this.option,t,i),k(this);var a=this.getInitialData(t,e);j(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,S(this).dataBeforeProcessed=a,T(this)},fillDataTextStyle:function(t){if(t&&!n.isTypedArray(t))for(var e=["show"],i=0;i":"\n",f="richText"===a,h={},p=0;function m(i){var o=n.reduce(i,(function(t,e,i){var a=g.getDimensionInfo(i);return t|(a&&!1!==a.tooltip&&null!=a.displayName)}),0),u=[];function m(t,i){var n=g.getDimensionInfo(i);if(n&&!1!==n.otherDims.tooltip){var m=n.type,v="sub"+r.seriesIndex+"at"+p,b=d({color:x,type:"subItem",renderMode:a,markerId:v}),_="string"===typeof b?b:b.content,y=(o?_+c(n.displayName||"-")+": ":"")+c("ordinal"===m?t+"":"time"===m?e?"":s("yyyy/MM/dd hh:mm:ss",t):l(t));y&&u.push(y),f&&(h[v]=x,++p)}}b.length?n.each(b,(function(e){m(C(g,t,e),e)})):n.each(i,m);var v=o?f?"\n":"
":"",_=v+u.join(v||", ");return{renderMode:a,content:_,style:h}}function v(t){return{renderMode:a,content:c(l(t)),style:h}}var g=this.getData(),b=g.mapDimension("defaultedTooltip",!0),_=b.length,y=this.getRawValue(t),k=n.isArray(y),x=g.getItemVisual(t,"color");n.isObject(x)&&x.colorStops&&(x=(x.colorStops[0]||{}).color),x=x||"transparent";var w=_>1||k&&!_?m(y):v(_?C(g,t,b[0]):k?y[0]:y),S=w.content,M=r.seriesIndex+"at"+p,T=d({color:x,type:"item",renderMode:a,markerId:M});h[M]=x,++p;var P=g.getName(t),I=this.name;u.isNameSpecified(this)||(I=""),I=I?c(I)+(e?": ":o):"";var O="string"===typeof T?T:T.content,E=e?O+I+S:I+O+(P?c(P)+": "+S:S);return{html:E,markers:h}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var a=this.ecModel,n=h.getColorFromPalette.call(this,t,e,i);return n||(n=a.getColorFromPalette(t,e,i)),n},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(t){var e=t.name;u.isNameSpecified(t)||(t.name=P(t)||e)}function P(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),a=[];return n.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&a.push(i.displayName)})),a.join(" ")}function I(t){return t.model.getRawData().count()}function O(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),E}function E(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function j(t,e){n.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,n.curry(D,e))}))}function D(t){var e=A(t);e&&e.setOutputEnd(this.count())}function A(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var a=i.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(t.uid))}return a}}n.mixin(M,p),n.mixin(M,h);var N=M;t.exports=N},"4fa2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.fetchData$=void 0;var r=i("c6b3"),o="biz.intent.fetchData";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.6"},n[r.ENV_ENUM.android]={vs:"2.7.6"},n)),e.fetchData$=a,e.default=a},"4fac":function(t,e,i){var a=i("620b"),n=i("9c2c");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=n(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var c=r.length,l=0;l<(i?c:c-1);l++){var d=s[2*l],u=s[2*l+1],f=r[(l+1)%c];t.bezierCurveTo(d[0],d[1],u[0],u[1],f[0],f[1])}}else{"spline"===o&&(r=a(r,i)),t.moveTo(r[0][0],r[0][1]);l=1;for(var h=r.length;l=2?(a>=3&&(this.state.percent=100),i()):(0===a&&(this.state.percent=10),i(new Error("密码强度不够")))},handlePasswordCheck:function(t,e,i){var a=this.form.getFieldValue("password");void 0===e&&i(new Error("请输入密码")),e&&a&&e.trim()!==a.trim()&&i(new Error("两次密码不一致")),i()},handlePhoneCheck:function(t,e,i){i()},handlePasswordInputClick:function(){this.state.passwordLevelChecked=!0},handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){if(!e){t.registerBtn=!0;var a=t.form.getFieldsValue();a.password=o()(a.password),a.password2=o()(a.password2),Object(s["y"])(a).then((function(e){if(t.registerBtn=!1,!Object(c["a"])(e))return!1;Object(l["b"])({title:"提示",msg:"注册成功,请登陆"},"notification","success"),t.$router.push({name:"login"})}))}}))},getCaptcha:function(t){var e=this;t.preventDefault();var i=this;this.form.validateFields(["mobile"],{force:!0},(function(t,a){if(!t){e.state.smsSendBtn=!0;var n=window.setInterval((function(){i.state.time--<=0&&(i.state.time=60,i.state.smsSendBtn=!1,window.clearInterval(n))}),1e3),r=e.$message.loading("验证码发送中..",0);Object(s["u"])(a.mobile).then((function(t){if(e.$message.destroy(),!Object(c["a"])(t))return!1;var i="验证码获取成功";t.data&&(i+=",您的验证码为:"+t.data),e.$notification["success"]({message:"提示",description:i,duration:8,placement:"bottomLeft"})})).catch((function(t){setTimeout(r,1),clearInterval(n),e.state.time=60,e.state.smsSendBtn=!1,e.requestFailed(t)}))}}))},requestFailed:function(t){this.$notification["error"]({message:"错误",description:((t.response||{}).data||{}).message||"请求出现错误,请稍后再试",duration:4}),this.registerBtn=!1}},watch:{"state.passwordLevel":function(t){}}},p=h,m=(i("ba6e"),i("ca30"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"52f5":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.get$=void 0;var r=i("c6b3"),o="biz.user.get";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.get$=a,e.default=a},"53cb":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createCloudCall$=void 0;var r=i("c6b3"),o="biz.conference.createCloudCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.0"},n[r.ENV_ENUM.android]={vs:"6.0.0"},n[r.ENV_ENUM.pc]={vs:"6.0.9"},n)),e.createCloudCall$=a,e.default=a},"54b9":function(t,e,i){},"54f9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.showPreloader$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.showPreloader",c=(0,o.genDefaultParamsDealFn)({text:"加载中...",showIcon:!0});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.showPreloader$=a,e.default=a},"551f":function(t,e,i){var a=i("282b"),n=a([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var i=n(this,t,e),a=this.getBorderLineDash();return a&&(i.lineDash=a),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},5575:function(t,e,i){"use strict";var a=i("ea60");i("8e36"),i("47fe"),t.exports=a},"562e":function(t,e,i){var a=i("6d8b");function n(t){null!=t&&a.extend(this,t),this.otherDims={}}var r=n;t.exports=r},5693:function(t,e){function i(t,e){var i,a,n,r,o,s=e.x,c=e.y,l=e.width,d=e.height,u=e.r;l<0&&(s+=l,l=-l),d<0&&(c+=d,d=-d),"number"===typeof u?i=a=n=r=u:u instanceof Array?1===u.length?i=a=n=r=u[0]:2===u.length?(i=n=u[0],a=r=u[1]):3===u.length?(i=u[0],a=r=u[1],n=u[2]):(i=u[0],a=u[1],n=u[2],r=u[3]):i=a=n=r=0,i+a>l&&(o=i+a,i*=l/o,a*=l/o),n+r>l&&(o=n+r,n*=l/o,r*=l/o),a+n>d&&(o=a+n,a*=d/o,n*=d/o),i+r>d&&(o=i+r,i*=d/o,r*=d/o),t.moveTo(s+i,c),t.lineTo(s+l-a,c),0!==a&&t.arc(s+l-a,c+a,a,-Math.PI/2,0),t.lineTo(s+l,c+d-n),0!==n&&t.arc(s+l-n,c+d-n,n,0,Math.PI/2),t.lineTo(s+r,c+d),0!==r&&t.arc(s+r,c+d-r,r,Math.PI/2,Math.PI),t.lineTo(s,c+i),0!==i&&t.arc(s+i,c+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},5772:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.androidWeexBridge=e.iosWeexBridge=e.requireModule=void 0;var a=1,n="0",r=function(t){return"undefined"!=typeof __weex_require__?__weex_require__("@weex-module/".concat(t)):"undefined"!=typeof weex?weex.requireModule(t):void 0};e.requireModule=r;var o=function(){return Promise.resolve((function(t,i){return new Promise((function(a,r){var o=(0,e.requireModule)("nuvajs-exec"),s=t.split("."),c=s.pop(),l=s.join(".");o.exec({plugin:l,action:c,args:i},(function(t){t&&t.errorCode===n?("function"==typeof i.onSuccess&&i.onSuccess(t.result),a(t.result)):("function"==typeof i.onFail&&i.onFail(t.result),r(t.result))}))}))}))};e.iosWeexBridge=o;var s=function(){return Promise.resolve((function(t,i){return new Promise((function(n,r){var o=(0,e.requireModule)("nuvajs-exec"),s=t.split("."),c=s.pop(),l=s.join(".");o.exec({plugin:l,action:c,args:i},(function(t){var e={};try{if(t&&t.__message__)if("object"==typeof t.__message__)e=t.__message__;else try{e=JSON.parse(t.__message__)}catch(i){"string"==typeof t.__message__&&(e=t.__message__)}}catch(t){}t&&parseInt(t.__status__+"",10)===a?("function"==typeof i.onSuccess&&i.onSuccess(e),n(e)):("function"==typeof i.onFail&&i.onFail(e),r(e))}))}))}))};e.androidWeexBridge=s},"585f":function(t,e,i){"use strict";function a(t){return"function"==typeof t}function n(t,e){function i(t){return parseInt(t,10)||0}for(var a=t.split(".").map(i),n=e.split(".").map(i),r=0;rn[r])return!0}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=e.APP_TYPE=e.ENV_ENUM_SUB=e.ENV_ENUM=e.ERROR_CODE=e.compareVersion=e.isFunction=void 0,e.isFunction=a,e.compareVersion=n,function(t){t.cancel="-1",t.not_exist="1",t.no_permission="7",t.jsapi_internal_error="22"}(e.ERROR_CODE||(e.ERROR_CODE={})),function(t){t.pc="pc",t.android="android",t.ios="ios",t.notInDingTalk="notInDingTalk"}(e.ENV_ENUM||(e.ENV_ENUM={})),function(t){t.mac="mac",t.win="win",t.noSub="noSub"}(e.ENV_ENUM_SUB||(e.ENV_ENUM_SUB={})),function(t){t.WEB="WEB",t.MINI_APP="MINI_APP",t.WEEX="WEEX",t.WEBVIEW_IN_MINIAPP="WEBVIEW_IN_MINIAPP",t.WEEX_WIDGET="WEEX_WIDGET"}(e.APP_TYPE||(e.APP_TYPE={})),function(t){t[t.INFO=1]="INFO",t[t.WARNING=2]="WARNING",t[t.ERROR=3]="ERROR"}(e.LogLevel||(e.LogLevel={}))},"58df":function(t,e,i){var a=i("6d8b"),n=i("2306");function r(t,e,i,r){var o=i.axis;if(!o.scale.isBlank()){var s=i.getModel("splitArea"),c=s.getModel("areaStyle"),l=c.get("color"),d=r.coordinateSystem.getRect(),u=o.getTicksCoords({tickModel:s,clamp:!0});if(u.length){var f=l.length,h=t.__splitAreaColors,p=a.createHashMap(),m=0;if(h)for(var v=0;vt.length)&&(e=t.length);for(var i=0,a=new Array(e);i1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[i.joined?[e("a-icon",{attrs:{type:"user"}}),e("span",[t._v(" 已加入")])]:e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.invite(i)}}},[t._v("添加")])],2),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-modal",{staticClass:"invite-link",attrs:{width:600,title:t.linkInfo.modalTitle,footer:null},model:{value:t.linkInfo.modalStatus,callback:function(e){t.$set(t.linkInfo,"modalStatus",e)},expression:"linkInfo.modalStatus"}},[e("div",{staticClass:"header"},[e("p",[t._v("链接有效日期:"+t._s(t.linkInfo.overTime))]),e("a-input-search",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.linkInfo.link,expression:"linkInfo.link",arg:"copy"}],attrs:{size:"large",enterButton:"复制链接"},model:{value:t.linkInfo.link,callback:function(e){t.$set(t.linkInfo,"link",e)},expression:"linkInfo.link"}})],1)])],1)}),p=[],m=(i("28a5"),i("c5f6"),i("c1df")),v=i.n(m),g=i("7dc6"),b=i("2f14"),_=i("82f8"),y={name:"inviteDepartmentMember",props:{value:{type:Boolean,default:function(){return!1}},departmentCode:{type:[String,Number],default:function(){return""}}},data:function(){return{form:this.$form.createForm(this),actionInfo:{modalStatus:this.value,confirmLoading:!1,modalTitle:this.departmentCode?"添加成员至部门":"添加成员至组织"},linkInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"邀请成员",link:"",overTime:""},keyword:"",searching:!1,list:[]}},watch:{value:function(t){this.actionInfo.modalStatus=t},keyword:function(){this.search()}},created:function(){var t=this;this.departmentCode&&(this.searching=!0,Object(g["d"])(this.keyword,this.departmentCode).then((function(e){t.searching=!1,t.list=e.data})))},methods:{invite:function(t){var e=this;Object(g["b"])(t.accountCode,this.departmentCode).then((function(i){var a=Object(b["a"])(i);a&&(t.joined=!0,e.$emit("update",t))}))},createInviteLink:function(){var t=this;this.linkInfo.link?this.linkInfo.modalStatus=!0:Object(_["b"])({inviteType:"organization",sourceCode:this.$store.state.currentOrganization.code}).then((function(e){var i=Object(b["a"])(e);i&&(t.linkInfo.modalStatus=!0,t.linkInfo.link=window.location.href.split("#")[0]+"#/invite_from_link/"+e.data.code,t.linkInfo.overTime=v()(e.data.over_time).format("YYYY年M月D日 HH:mm"))}))},search:f.a.debounce((function(){var t=this;if(this.keyword||(this.list=[]),this.keyword.length<=1)return!1;this.searching=!0,Object(g["d"])(this.keyword,this.departmentCode).then((function(e){t.searching=!1,t.list=e.data}))}),500),cancel:function(){this.actionInfo.modalStatus=!1,this.$emit("input",this.actionInfo.modalStatus)}}},k=y,x=(i("5fa2"),i("2877")),w=Object(x["a"])(k,h,p,!1,null,null,null),C=w.exports,S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"create-department member-menu"},[e("div",{staticClass:"header"},[t._v("\n "+t._s(t.actionType)+t._s(t.actionTitle)+"\n ")]),e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"".concat(t.actionTitle,"名称")},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("a-icon",{staticClass:"muted",attrs:{slot:"prefix",type:"bulb"},slot:"prefix"})],1),t.parentDepartmentCode?e("div",{staticClass:"info"},[e("span",{staticClass:"muted"},[t._v("隶属于:"+t._s(t.parentDepartment.name))])]):t._e()],1),e("div",{staticClass:"actions"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",size:"large",block:"",loading:t.loading,disabled:t.disabled||t.loading},on:{click:t.doAction,pressEnter:t.doAction}},[t._v(t._s(t.actionType)+"\n ")])],1)])},M=[],T=i("0e8f"),P=i("97a8"),I={name:"createDepartment",props:{departmentCode:{type:[String,Boolean],default:function(){return""}},parentDepartmentCode:{type:[String,Boolean],default:function(){return""}}},data:function(){return{name:"",loading:!1,department:{},parentDepartment:{}}},computed:{actionType:function(){return this.departmentCode?"编辑":"创建"},actionTitle:function(){return this.parentDepartmentCode?"子部门":"部门"},disabled:function(){return!this.name.trim()}},created:function(){this.init()},methods:{init:function(){var t=this;this.departmentCode&&Object(T["d"])(this.departmentCode).then((function(e){t.department=e.data,t.name=e.data.name})),this.parentDepartmentCode&&Object(T["d"])(this.parentDepartmentCode).then((function(e){t.parentDepartment=e.data}))},doAction:function(){var t=this;if(this.name=this.name.trim(),!this.name)return!1;var e={departmentCode:this.departmentCode,parentDepartmentCode:this.parentDepartmentCode,name:this.name};this.loading=!0,Object(T["b"])(e).then((function(e){if(t.loading=!1,!Object(b["a"])(e))return!1;Object(P["b"])({title:"".concat(t.actionType,"部门成功")},"notice","success"),t.$emit("update",e.data),t.departmentCode&&t.$emit("edit",t.name)}))}}},O=I,E=(i("c84e"),Object(x["a"])(O,S,M,!1,null,null,null)),j=E.exports,D=i("c24f"),A=i("1b80"),N=i("68fe"),L={name:"members",components:{inviteDepartmentMember:C,createDepartment:j},mixins:[A["a"]],data:function(){return{keyword:"",selectedKeys:["0"],menus:[{icon:"team",title:"所有成员"},{icon:"usergroup-add",title:"新加入的成员"},{icon:"user",title:"未分配部门的成员"},{icon:"stop",title:"停用的成员"}],currentMenu:{},currentDepartmentCode:"",currentTreeNode:"",treeData:[],departmentLoading:!1,loading:!1,members:[],showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,showCreateDepartment:!1,showEditDepartment:!1,showCreateChildDepartment:!1,downLoadUrl:Object(b["h"])("project/department_member/_downloadTemplate"),uploadLoading:!1,uploadAction:Object(b["c"])("project/department_member/uploadFile")}},computed:{actionTitle:function(){return this.currentDepartmentCode?"部门":"组织"},headers:function(){var t=Object(b["d"])(),e=Object(N["a"])("currentOrganization",!0);return e&&(t.organizationCode=e.code),t}},watch:{keyword:function(){this.search()}},created:function(){this.currentMenu=this.menus[0],this.getMembers({key:0}),this.getDepartment()},methods:{getDepartment:function(){var t=this;this.departmentLoading=!0,Object(T["c"])({page:1,pageSize:100}).then((function(e){var i=[];e.data.list&&e.data.list.forEach((function(t){i.push({key:t.code,title:t.name,isLeaf:!t.hasNext,scopedSlots:{icon:"custom"}})})),t.treeData=i,t.departmentLoading=!1}))},getMembers:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this;void 0!=e&&(this.currentDepartmentCode="",this.currentMenu=this.menus[e],this.selectedKeys=[e.toString()],this.requestData.searchType=e),a.loading=!0,i&&(this.pagination.page=1),Object(D["w"])(this.requestData).then((function(t){a.members=i?t.data.list:a.members.concat(t.data.list),a.pagination.total=t.data.total,a.showLoadingMore=a.pagination.total>a.members.length,a.loading=!1,a.loadingMore=!1}))},search:f.a.debounce((function(){if(this.keyword||(this.list=[]),this.keyword.length<=1)return!1;this.requestData.keyword=this.keyword,this.getMembers()}),500),onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getMembers({},!1)},onSelect:function(t,e){this.selectedKeys=[],this.currentMenu=e.node.dataRef,this.currentDepartmentCode=e.node.dataRef.key,this.currentTreeNode=e.node;var i=this;this.requestData.searchType=4,this.requestData.departmentCode=e.node.dataRef.key,i.loading=!0,Object(D["w"])(this.requestData).then((function(t){i.members=t.data.list,i.pagination.total=t.data.total,i.showLoadingMore=i.pagination.total>i.members.length,i.loading=!1,i.loadingMore=!1}))},onLoadData:function(t){var e=this;return new Promise((function(i){Object(T["c"])({page:1,pageSize:100,pcode:t.dataRef.key}).then((function(a){var n=[];a.data.list.length&&a.data.list.forEach((function(t){n.push({key:t.code,title:t.name,isLeaf:!t.hasNext,scopedSlots:{icon:"custom"}})})),t.dataRef.isLeaf=!n.length>0,t.dataRef.children=n,e.treeData=d(e.treeData),i()}))}))},createDepartmentSuccess:function(t){var e=d(this.treeData);e.push({key:t.code,title:t.name,isLeaf:!0,scopedSlots:{icon:"custom"}}),this.treeData=[],this.treeData=e,this.showCreateDepartment=!1},createChildDepartmentSuccess:function(){this.onLoadData(this.currentTreeNode),this.showCreateChildDepartment=!1},editDepartmentSuccess:function(t){this.currentTreeNode.dataRef.title=t,this.showEditDepartment=!1},deleteDepartment:function(){var t=this;this.$confirm({title:"您确定要删除当前部门吗?",content:"删除部门会同时删除其子部门,部门中的成员不会被移出组织。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(T["a"])(t.currentDepartmentCode).then((function(e){Object(b["a"])(e)&&(t.currentTreeNode.$parent.dataRef?(t.onLoadData(t.currentTreeNode.$parent),t.onSelect(null,{node:t.currentTreeNode.$parent})):(t.getMembers({key:0}),t.getDepartment()),Object(P["b"])({title:"删除成功"},"notice","success"))})),Promise.resolve()}})},forbidAccount:function(t,e){var i=this;this.$confirm({title:"您确定要停用当前帐号吗?",content:"被停用的帐号将无法访问该".concat(this.actionTitle,",但帐号信息仍保留,方便工作交接和管理。支持帐号恢复"),okText:"停用",okType:"danger",cancelText:"再想想",onOk:function(){return Object(D["t"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"已成功停用账号"},"notice","success"))})),Promise.resolve()}})},setLiasionMan:function(t,e){var i=this;this.$confirm({title:"您确定要".concat(0==e?"":"取消","设置").concat(t.name,"为").concat(t.departments,"的联络员吗?"),content:"",okText:"确认",okType:"primary",cancelText:"再想想",onOk:function(){return Object(D["v"])({member_code:t.member_code,type:0==e?1:0}).then((function(a){Object(b["a"])(a)&&(Object(P["b"])({title:0==e?"设置联络员成功":"取消联络员成功"},"notice","success"),i.members.forEach((function(i){i.member_code==t.member_code&&(i.is_liaison_man=0==e?1:0)})))})),Promise.resolve()}})},resumeAccount:function(t,e){var i=this;this.$confirm({title:"您确定要启用账号吗?",content:"被启用的帐号将重新加入该".concat(this.actionTitle),okText:"启用",okType:"primary",cancelText:"再想想",onOk:function(){return Object(D["z"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"已成功启用账号"},"notice","success"))})),Promise.resolve()}})},deleteAccount:function(t,e){var i=this;this.$confirm({title:"确认从".concat(this.actionTitle,"中移除成员吗?"),content:"移除后该账号在".concat(this.actionTitle,"内的相关信息将会被清除"),okText:"移除",okType:"danger",cancelText:"再想想",onOk:function(){return i.currentDepartmentCode?Object(g["c"])(t.code,i.currentDepartmentCode).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})):Object(D["o"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})),Promise.resolve()}})},emitEmpty:function(){this.$refs.keywordInput.focus(),this.keyword="",this.requestData.keyword="",this.getMembers()},handleChange:function(t){if("uploading"===t.file.status)return Object(P["b"])("正在导入,请稍后...","message","loading",0),void(this.uploadLoading=!0);if("done"===t.file.status&&(console.log(t),this.uploadLoading=!1,Object(b["a"])(t.file.response,!0))){t.file.response.data;Object(P["b"])("导入成功","message","success"),this.getMembers()}},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("文件不能超过2MB!"),e}}},$=L,V=(i("449a"),Object(x["a"])($,a,n,!1,null,null,null));e["default"]=V.exports},"5f66":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.replace$=void 0;var r=i("c6b3"),o="biz.navigation.replace";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.6"},n[r.ENV_ENUM.android]={vs:"3.4.6"},n)),e.replace$=a,e.default=a},"5f9e":function(t,e,i){"use strict";function a(t){return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/resource-picker/".concat(r.isMobile?"mob":"index",".html?scene=addCoolAppToGroup¶ms=").concat(encodeURIComponent(JSON.stringify(t))),target:r.isMobile?"":"float",title:"选择群添加应用",wnId:"addCoolAppToGroup",panelHeight:"percent90"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.installCoolAppToGroup=void 0,i("c526");var n=i("5575"),r=i("2983");e.installCoolAppToGroup=a},"5fa2":function(t,e,i){"use strict";i("9bf0")},"5ffd":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.complexPicker$=void 0;var r=i("c6b3"),o="biz.contact.complexPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.3.5"},n)),e.complexPicker$=a,e.default=a},6023:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.saveFile$=void 0;var r=i("c6b3"),o="biz.cspace.saveFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.6"},n[r.ENV_ENUM.android]={vs:"2.7.6"},n)),e.saveFile$=a,e.default=a},"607d":function(t,e,i){var a=i("1fab");e.Dispatcher=a;var n=i("22d1"),r=i("65ed"),o=r.isCanvasEl,s=r.transformCoordWithViewport,c="undefined"!==typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=[];function u(t,e,i,a){return i=i||{},a||!n.canvasSupported?f(t,e,i):n.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):f(t,e,i),i}function f(t,e,i){if(n.domSupported&&t.getBoundingClientRect){var a=e.clientX,r=e.clientY;if(o(t)){var c=t.getBoundingClientRect();return i.zrX=a-c.left,void(i.zrY=r-c.top)}if(s(d,t,a,r))return i.zrX=d[0],void(i.zrY=d[1])}i.zrX=i.zrY=0}function h(t){return t||window.event}function p(t,e,i){if(e=h(e),null!=e.zrX)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var r="touchend"!==a?e.targetTouches[0]:e.changedTouches[0];r&&u(t,r,e,i)}else u(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&l.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function m(t,e,i,a){c?t.addEventListener(e,i,a):t.attachEvent("on"+e,i)}function v(t,e,i,a){c?t.removeEventListener(e,i,a):t.detachEvent("on"+e,i)}var g=c?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function b(t){return 2===t.which||3===t.which}function _(t){return t.which>1}e.clientToLocal=u,e.getNativeEvent=h,e.normalizeEvent=p,e.addEventListener=m,e.removeEventListener=v,e.stop=g,e.isMiddleOrRightButtonOnMouseUpDown=b,e.notLeftMouse=_},6105:function(t,e,i){"use strict";i("b87d")},6158:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5IosBridgeInit=void 0;var a,n=function(){return a||(a=new Promise((function(t,e){if("undefined"!=typeof WebViewJavascriptBridge){try{WebViewJavascriptBridge.init((function(t,e){}))}catch(t){return e()}return t({})}document.addEventListener("WebViewJavascriptBridgeReady",(function(){if("undefined"==typeof WebViewJavascriptBridge)return e();try{WebViewJavascriptBridge.init((function(t,e){}))}catch(t){return e()}return t({})}),!1)}))),a};e.h5IosBridgeInit=n;var r=function(t,i){return a||(a=(0,e.h5IosBridgeInit)()),a.then((function(){var e=Object.assign({},i);return new Promise((function(i,a){if(!0===e.watch){var n=e.onSuccess;delete e.onSuccess,"undefined"!=typeof WebViewJavascriptBridge&&WebViewJavascriptBridge.registerHandler(t,(function(t,e){"function"==typeof n&&n.call(null,t),e&&e({errorCode:"0",errorMessage:"success"})}))}void 0!==window.WebViewJavascriptBridge&&window.WebViewJavascriptBridge.callHandler(t,Object.assign({},e),(function(t){var n=t||{};"0"===n.errorCode?("function"==typeof e.onSuccess&&e.onSuccess.call(null,n.result),i(n.result)):("-1"===n.errorCode&&"function"==typeof e.onCancel?e.onCancel.call(null,n,n.errorCode):"function"==typeof e.onFail&&e.onFail.call(null,n,n.errorCode),a(n))}))}))}))};e.default=r},6179:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("4319"),o=i("80f0"),s=i("ec6f"),c=i("2b17"),l=c.defaultDimValueGetters,d=c.DefaultDataProvider,u=i("2f45"),f=u.summarizeDimensions,h=i("562e"),p=n.isObject,m="undefined",v=-1,g="e\0\0",b={float:typeof Float64Array===m?Array:Float64Array,int:typeof Int32Array===m?Array:Int32Array,ordinal:Array,number:Array,time:Array},_=typeof Uint32Array===m?Array:Uint32Array,y=typeof Int32Array===m?Array:Int32Array,k=typeof Uint16Array===m?Array:Uint16Array;function x(t){return t._rawCount>65535?_:k}function w(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],S=["_extent","_approximateExtent","_rawExtent"];function M(t,e){n.each(C.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,n.each(S,(function(i){t[i]=n.clone(e[i])})),t._calculationInfo=n.extend(e._calculationInfo)}var T=function(t,e){t=t||["x","y"];for(var i={},a=[],r={},o=0;o=0?this._indices[t]:-1}function A(t,e){var i=t._idList[e];return null==i&&(i=E(t,t._idDimIdx,e)),null==i&&(i=g+e),i}function N(t){return n.isArray(t)||(t=[t]),t}function L(t,e){var i=t.dimensions,a=new T(n.map(i,t.getDimensionInfo,t),t.hostModel);M(a,t);for(var r=a._storage={},o=t._storage,s=0;s=0?(r[c]=$(o[c]),a._rawExtent[c]=V(),a._extent[c]=null):r[c]=o[c])}return a}function $(t){for(var e=new Array(t.length),i=0;i_[1]&&(_[1]=b)}e&&(this._nameList[h]=e[p])}this._rawCount=this._count=c,this._extent={},O(this)},P._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,a=this._chunkSize,n=this._rawData,r=this._storage,o=this.dimensions,s=o.length,c=this._dimensionInfos,l=this._nameList,d=this._idList,u=this._rawExtent,f=this._nameRepeatCount={},h=this._chunkCount,p=0;pC[1]&&(C[1]=w)}if(!n.pure){var S=l[b];if(g&&null==S)if(null!=g.name)l[b]=S=g.name;else if(null!=i){var M=o[i],T=r[M][_];if(T){S=T[y];var P=c[M].ordinalMeta;P&&P.categories.length&&(S=P.categories[S])}}var E=null==g?null:g.id;null==E&&null!=S&&(f[S]=f[S]||0,E=S,f[S]>0&&(E+="__ec__"+f[S]),f[S]++),null!=E&&(d[b]=E)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent={},O(this)}},P.count=function(){return this._count},P.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){n=new e(i);for(var a=0;a=0&&e=0&&es&&(s=l)}return a=[o,s],this._extent[t]=a,a},P.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},P.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},P.getCalculationInfo=function(t){return this._calculationInfo[t]},P.setCalculationInfo=function(t,e){p(t)?n.extend(this._calculationInfo,t):this._calculationInfo[t]=e},P.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var a=0,n=this.count();a=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return r;n=r-1}}return-1},P.indicesOfNearest=function(t,e,i){var a=this._storage,n=a[t],r=[];if(!n)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,c=0,l=0,d=this.count();l=0&&s<0)&&(o=f,s=u,c=0),u===s&&(r[c++]=l))}return r.length=c,r},P.getRawIndex=j,P.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=l&&b<=d||isNaN(b))&&(o[s++]=f),f++}u=!0}else if(2===a){h=this._storage[c];var _=this._storage[e[1]],y=t[e[1]][0],k=t[e[1]][1];for(p=0;p=l&&b<=d||isNaN(b))&&(C>=y&&C<=k||isNaN(C))&&(o[s++]=f),f++}}u=!0}}if(!u)if(1===a)for(g=0;g=l&&b<=d||isNaN(b))&&(o[s++]=S)}else for(g=0;gt[T][1])&&(M=!1)}M&&(o[s++]=this.getRawIndex(g))}return sx[1]&&(x[1]=k)}}}return r},P.downSample=function(t,e,i,a){for(var n=L(this,[t]),r=n._storage,o=[],s=Math.floor(1/e),c=r[t],l=this.count(),d=this._chunkSize,u=n._rawExtent[t],f=new(x(this))(l),h=0,p=0;pl-p&&(s=l-p,o.length=s);for(var m=0;mu[1]&&(u[1]=_),f[h++]=y}return n._count=h,n._indices=f,n.getRawIndex=D,n},P.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},P.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},P.getVisual=function(t){var e=this._visual;return e&&e[t]},P.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},P.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},P.getLayout=function(t){return this._layout[t]},P.getItemLayout=function(t){return this._itemLayouts[t]},P.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?n.extend(this._itemLayouts[t]||{},e):e},P.clearItemLayouts=function(){this._itemLayouts.length=0},P.getItemVisual=function(t,e,i){var a=this._itemVisuals[t],n=a&&a[e];return null!=n||i?n:this.getVisual(e)},P.setItemVisual=function(t,e,i){var a=this._itemVisuals[t]||{},n=this.hasItemVisual;if(this._itemVisuals[t]=a,p(e))for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r],n[r]=!0);else a[e]=i,n[e]=!0},P.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var R=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};P.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(R,e)),this._graphicEls[t]=e},P.getItemGraphicEl=function(t){return this._graphicEls[t]},P.eachItemGraphicEl=function(t,e){n.each(this._graphicEls,(function(i,a){i&&t&&t.call(e,i,a)}))},P.cloneShallow=function(t){if(!t){var e=n.map(this.dimensions,this.getDimensionInfo,this);t=new T(e,this.hostModel)}if(t._storage=this._storage,M(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?D:j,t},P.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(n.slice(arguments)))})},P.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],P.CHANGABLE_METHODS=["filterSelf","selectRange"];var z=T;t.exports=z},"620b":function(t,e,i){var a=i("401b"),n=a.distance;function r(t,e,i,a,n,r,o){var s=.5*(i-t),c=.5*(a-e);return(2*(e-i)+s+c)*o+(-3*(e-i)-2*s-c)*r+s*n+e}function o(t,e){for(var i=t.length,a=[],o=0,s=1;si-2?i-1:h+1],u=t[h>i-3?i-1:h+2]);var v=p*p,g=p*v;a.push([r(l[0],m[0],d[0],u[0],p,v,g),r(l[1],m[1],d[1],u[1],p,v,g)])}return a}t.exports=o},"620f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startRealtimeTracing$=void 0;var r=i("c6b3"),o="biz.realm.startRealtimeTracing";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.13"},n)),e.startRealtimeTracing$=a,e.default=a},"625e":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function c(t){n.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function l(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return n.extend(i.prototype,t),i.extend=this.extend,i.superCall=f,i.superApply=h,n.inherits(i,this),i.superClass=e,i}}var d=0;function u(t){var e=["__\0is_clz",d++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function f(t,e){var i=n.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function h(t,e,i){return this.superClass.prototype[e].apply(t,i)}function p(t,e){e=e||{};var i={};function a(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(c(e),e=s(e),e.sub){if(e.sub!==o){var n=a(e);n[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,a){var n=i[t];if(n&&n[o]&&(n=e?n[e]:null),a&&!n)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return n},t.getClassesByMainType=function(t){t=s(t);var e=[],a=i[t.main];return a&&a[o]?n.each(a,(function(t,i){i!==o&&e.push(t)})):e.push(a),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return n.each(i,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var i=r.call(this,e);return t.registerClass(i,e.type)})}return t}function m(t,e){}e.parseClassType=s,e.enableClassExtend=l,e.enableClassCheck=u,e.enableClassManagement=p,e.setReadOnly=m},"62e49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.externalEditForm$=void 0;var r=i("c6b3"),o="biz.contact.externalEditForm";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.0"},n[r.ENV_ENUM.android]={vs:"3.0"},n)),e.externalEditForm$=a,e.default=a},"63da":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openApp$=void 0;var r=i("c6b3"),o="biz.microApp.openApp";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.6"},n[r.ENV_ENUM.android]={vs:"4.5.6"},n)),e.openApp$=a,e.default=a},6413:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseConversationByCorpId$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.chat.chooseConversationByCorpId",c=(0,o.genDefaultParamsDealFn)({max:50});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.6.0",paramsDeal:c},n[r.ENV_ENUM.pc]={vs:"4.7.11",paramsDeal:c},n)),e.chooseConversationByCorpId$=a,e.default=a},"6428c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.makeMiniCourse$=void 0;var r=i("c6b3"),o="biz.edu.makeMiniCourse";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.makeMiniCourse$=a,e.default=a},"64f9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.nfcRead$=void 0;var r=i("c6b3"),o="device.nfc.nfcRead";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.11.0"},n[r.ENV_ENUM.android]={vs:"2.11.0"},n)),e.nfcRead$=a,e.default=a},6521:function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var n=i("4cbb"),r=a(i("3eba"));i("007d"),i("d28f");var o=a(i("7e03")),s=i("89d6"),c={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-component-loading"},[i("div",{staticClass:"loader"},[i("div",{staticClass:"loading-spinner"},[i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])])},staticRenderFns:[]},l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-data-empty"},[t._v(" 暂无数据 ")])},staticRenderFns:[]},d=Object.assign||function(t){for(var e=1;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[c]+":0",n[l]+":0",a[1-c]+":auto",n[1-l]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function u(t,e,i){for(var a=i?"invTrans":"trans",n=e[a],o=e.srcCoords,s=!0,c=[],l=[],d=0;d<4;d++){var u=t[d].getBoundingClientRect(),f=2*d,h=u.left,p=u.top;c.push(h,p),s=s&&o&&h===o[f]&&p===o[f+1],l.push(t[d].offsetLeft,t[d].offsetTop)}return s&&n?n:(e.srcCoords=c,e[a]=i?r(l,c):r(c,l))}function f(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=c,e.transformCoordWithViewport=l,e.isCanvasEl=f},"662f":function(t,e,i){"use strict";i("a1f3")},6632:function(t,e,i){},6649:function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o}));var a=i("22b6");function n(t){return a["a"].post("project/project_template",t)}function r(t){var e="project/project_template/save";return t.code&&(e="project/project_template/edit"),a["a"].post(e,t)}function o(t){return a["a"].post("project/project_template/delete",{code:t})}},6679:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3eba")),r=i("cd33"),o=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,a){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,a,!0)},updateAxisPointer:function(t,e,i,a,n){s(this,t,e,i,a,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){c(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,a,n,s){var l=o.getAxisPointerClass(t.axisPointerClass);if(l){var d=r.getAxisPointerModel(e);d?(t._axisPointer||(t._axisPointer=new l)).render(e,d,a,s):c(t,a)}}function c(t,e,i){var a=t._axisPointer;a&&a.dispose(e,i),t._axisPointer=null}var l=[];o.registerAxisPointerClass=function(t,e){l[t]=e},o.getAxisPointerClass=function(t){return t&&l[t]};var d=o;t.exports=d},6765:function(t,e,i){},"676f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getMiniCourseDraftList$=void 0;var r=i("c6b3"),o="biz.edu.getMiniCourseDraftList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.getMiniCourseDraftList$=a,e.default=a},"678b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.scan$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.util.scan",c=(0,o.genDefaultParamsDealFn)({type:"qrCode"});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.scan$=a,e.default=a},"67cc":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3eba")),r=i("6d8b"),o=i("2306"),s=i("e7aa"),c=s.setLabel,l=i("4319"),d=i("b5c7"),u=i("cbe5"),f=i("e1fc"),h=i("88b3"),p=h.throttle,m=i("b0af"),v=m.createClipPath,g=i("c2be"),b=["itemStyle","barBorderWidth"],_=[0,0];function y(t,e){var i=t.getArea&&t.getArea();if("cartesian2d"===t.type){var a=t.getBaseAxis();if("category"!==a.type||!a.onBand){var n=e.getLayout("bandWidth");a.isHorizontal()?(i.x-=n,i.width+=2*n):(i.y-=n,i.height+=2*n)}}return i}r.extend(l.prototype,d);var k=n.extendChartView({type:"bar",render:function(t,e,i){this._updateDrawMode(t);var a=t.get("coordinateSystem");return"cartesian2d"!==a&&"polar"!==a||(this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i)),this.group},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,a){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var a,n=this.group,r=t.getData(),s=this._data,c=t.coordinateSystem,l=c.getBaseAxis();"cartesian2d"===c.type?a=l.isHorizontal():"polar"===c.type&&(a="angle"===l.dim);var d=t.isAnimationEnabled()?t:null,u=t.get("clip",!0),h=y(c,r);n.removeClipPath();var p=t.get("roundCap",!0),m=t.get("showBackground",!0),v=t.getModel("backgroundStyle"),g=v.get("barBorderRadius")||0,b=[],_=this._backgroundEls||[],k=function(t){var e=P[c.type](r,t),i=R(c,a,e);return i.useStyle(v.getBarItemStyle()),"cartesian2d"===c.type&&i.setShape("r",g),b[t]=i,i};r.diff(s).add((function(e){var i=r.getItemModel(e),o=P[c.type](r,e,i);if(m&&k(e),r.hasValue(e)){if(u){var s=C[c.type](h,o);if(s)return void n.remove(l)}var l=S[c.type](e,o,a,d,!1,p);r.setItemGraphicEl(e,l),n.add(l),O(l,r,e,i,o,t,a,"polar"===c.type)}})).update((function(e,i){var l=r.getItemModel(e),f=P[c.type](r,e,l);if(m){var y;0===_.length?y=k(i):(y=_[i],y.useStyle(v.getBarItemStyle()),"cartesian2d"===c.type&&y.setShape("r",g),b[e]=y);var x=P[c.type](r,e),w=V(a,x,c);o.updateProps(y,{shape:w},d,e)}var M=s.getItemGraphicEl(i);if(r.hasValue(e)){if(u){var T=C[c.type](h,f);if(T)return void n.remove(M)}M?o.updateProps(M,{shape:f},d,e):M=S[c.type](e,f,a,d,!0,p),r.setItemGraphicEl(e,M),n.add(M),O(M,r,e,l,f,t,a,"polar"===c.type)}else n.remove(M)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===c.type?e&&M(t,d,e):e&&T(t,d,e)})).execute();var x=this._backgroundGroup||(this._backgroundGroup=new f);x.removeAll();for(var w=0;w0?1:-1,o=a.height>0?1:-1;return{x:a.x+r*n/2,y:a.y+o*n/2,width:a.width-r*n,height:a.height-o*n}},polar:function(t,e,i){var a=t.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle}}};function I(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function O(t,e,i,a,n,s,l,d){var u=e.getItemVisual(i,"color"),f=e.getItemVisual(i,"opacity"),h=e.getVisual("borderColor"),p=a.getModel("itemStyle"),m=a.getModel("emphasis.itemStyle").getBarItemStyle();d||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:I(n)?"none":h,fill:I(n)?"none":u,opacity:f},p.getBarItemStyle()));var v=a.getShallow("cursor");v&&t.attr("cursor",v);var g=l?n.height>0?"bottom":"top":n.width>0?"left":"right";d||c(t.style,m,a,u,s,i,g),I(n)&&(m.fill=m.stroke="none"),o.setHoverStyle(t,m)}function E(t,e){var i=t.get(b)||0,a=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),n=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,a,n)}var j=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,a=this.__startPoint,n=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function N(t,e,i){var a=t.__baseDimIdx,n=1-a,r=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),c=t.__startPoint[n];_[0]=e,_[1]=i;for(var l=_[a],d=_[1-a],u=l-s,f=l+s,h=0,p=r.length/2;h=u&&v<=f&&(c<=g?d>=c&&d<=g:d>=g&&d<=c))return o[h]}return-1}function L(t,e,i){var a=i.getVisual("borderColor")||i.getVisual("color"),n=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function $(t,e,i){var a=e.get("borderColor")||e.get("color"),n=e.getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function V(t,e,i){var a,n="polar"===i.type;return a=n?i.getArea():i.grid.getRect(),n?{cx:a.cx,cy:a.cy,r0:t?a.r0:e.r0,r:t?a.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:a.x,y:t?a.y:e.y,width:t?e.width:a.width,height:t?a.height:e.height}}function R(t,e,i){var a="polar"===t.type?o.Sector:o.Rect;return new a({shape:V(e,i,t),silent:!0,z2:0})}t.exports=k},"6821f":function(t,e,i){(function(){var e=i("00d8"),a=i("9a63").utf8,n=i("044b"),r=i("9a63").bin,o=function(t,i){t.constructor==String?t=i&&"binary"===i.encoding?r.stringToBytes(t):a.stringToBytes(t):n(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var s=e.bytesToWords(t),c=8*t.length,l=1732584193,d=-271733879,u=-1732584194,f=271733878,h=0;h>>24)|4278255360&(s[h]<<24|s[h]>>>8);s[c>>>5]|=128<>>9<<4)]=c;var p=o._ff,m=o._gg,v=o._hh,g=o._ii;for(h=0;h>>0,d=d+_>>>0,u=u+y>>>0,f=f+k>>>0}return e.endian([l,d,u,f])};o._ff=function(t,e,i,a,n,r,o){var s=t+(e&i|~e&a)+(n>>>0)+o;return(s<>>32-r)+e},o._gg=function(t,e,i,a,n,r,o){var s=t+(e&a|i&~a)+(n>>>0)+o;return(s<>>32-r)+e},o._hh=function(t,e,i,a,n,r,o){var s=t+(e^i^a)+(n>>>0)+o;return(s<>>32-r)+e},o._ii=function(t,e,i,a,n,r,o){var s=t+(i^(e|~a))+(n>>>0)+o;return(s<>>32-r)+e},o._blocksize=16,o._digestsize=16,t.exports=function(t,i){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var a=e.wordsToBytes(o(t,i));return i&&i.asBytes?a:i&&i.asString?r.bytesToString(a):e.bytesToHex(a)}})()},"68ab":function(t,e,i){var a=i("4a3f"),n=a.quadraticProjectPoint;function r(t,e,i,a,r,o,s,c,l){if(0===s)return!1;var d=s;if(l>e+d&&l>a+d&&l>o+d||lt+d&&c>i+d&&c>r+d||c0&&void 0!==arguments[0])||arguments[0],i=this;e&&(this.pagination.page=1,this.pagination.pageSize=50,this.showLoadingMore=!1),i.requestData.projectCode=this.code,i.requestData.deleted=0,Object(u["c"])(i.requestData).then((function(a){e&&(t.files=[]),a.data.list.forEach((function(t){t.editing=!1})),i.files=i.files.concat(a.data.list),i.pagination.total=a.data.total,i.showLoadingMore=i.pagination.total>i.files.length,i.loading=!1,i.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getFiles(!1)},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(c["a"])(this.project.code,e).then((function(e){Object(l["a"])(e)&&(t.project.collected=!t.project.collected)}))},editFile:function(t,e){var i=this;this.files.forEach((function(t){t.editing=!1})),this.files[e].editing=!0,this.$nextTick((function(){i.$refs["inputTitle".concat(e)][0].focus()})),this.currentFileIndex=e},onCellChange:function(t){var e=this.files[this.currentFileIndex];this.files.forEach((function(t){t.editing=!1}));var i="".concat(t.title,".").concat(t.extension);i!=e.fullName&&Object(u["b"])({title:e.title,fileCode:e.code}).then((function(a){var n=Object(l["a"])(a);if(!n)return!1;e.title=t.title,e.fullName=i,Object(h["b"])({title:"重命名成功"},"notice","success")}))},doFile:function(t,e){var i=this,a=t.key;switch(a){case"delete":this.$confirm({title:"移到回收站",content:"您确定要把该文件移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(u["e"])(e).then((function(t){var e=Object(l["a"])(t);if(!e)return!1;i.getFiles()})),Object(h["b"])({title:"成功移到回收站",msg:"可在 菜单-查看回收站-文件 中查看"},"notice","success",5),Promise.resolve()}});break;case"copy":return Object(h["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},formatTime:function(t){return Object(d["c"])(t)},formatSize:function(t){var e="KB";return t/=1024,t>=1024&&(t/=1024,e="MB"),"".concat(t.toFixed(2)," ").concat(e)}}},b=g,_=(i("4d9c"),i("2877")),y=Object(_["a"])(b,a,n,!1,null,null,null);e["default"]=y.exports},"697e":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("18c0"),o=i("89e3"),s=i("e0d8"),c=i("3842"),l=i("9d57"),d=l.prepareLayoutBarSeries,u=l.makeColumnLayout,f=l.retrieveColumnLayout,h=i("9850");function p(t,e){var i,a,r,o=t.type,s=e.getMin(),l=e.getMax(),f=t.getExtent();"ordinal"===o?i=e.getCategories().length:(a=e.get("boundaryGap"),n.isArray(a)||(a=[a||0,a||0]),"boolean"===typeof a[0]&&(a=[0,0]),a[0]=c.parsePercent(a[0],1),a[1]=c.parsePercent(a[1],1),r=f[1]-f[0]||Math.abs(f[0])),"dataMin"===s?s=f[0]:"function"===typeof s&&(s=s({min:f[0],max:f[1]})),"dataMax"===l?l=f[1]:"function"===typeof l&&(l=l({min:f[0],max:f[1]}));var h=null!=s,p=null!=l;null==s&&(s="ordinal"===o?i?0:NaN:f[0]-a[0]*r),null==l&&(l="ordinal"===o?i?i-1:NaN:f[1]+a[1]*r),(null==s||!isFinite(s))&&(s=NaN),(null==l||!isFinite(l))&&(l=NaN),t.setBlank(n.eqNaN(s)||n.eqNaN(l)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&l>0&&!h&&(s=0),s<0&&l<0&&!p&&(l=0));var v=e.ecModel;if(v&&"time"===o){var g,b=d("bar",v);if(n.each(b,(function(t){g|=t.getBaseAxis()===e.axis})),g){var _=u(b),y=m(s,l,e,_);s=y.min,l=y.max}}return{extent:[s,l],fixMin:h,fixMax:p}}function m(t,e,i,a){var r=i.axis.getExtent(),o=r[1]-r[0],s=f(a,i.axis);if(void 0===s)return{min:t,max:e};var c=1/0;n.each(s,(function(t){c=Math.min(t.offset,c)}));var l=-1/0;n.each(s,(function(t){l=Math.max(t.offset+t.width,l)})),c=Math.abs(c),l=Math.abs(l);var d=c+l,u=e-t,h=1-(c+l)/o,p=u/h-u;return e+=p*(l/d),t-=p*(c/d),{min:t,max:e}}function v(t,e){var i=p(t,e),a=i.extent,n=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(a[0],a[1]),t.niceExtent({splitNumber:n,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function g(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function b(t){var e=t.scale.getExtent(),i=e[0],a=e[1];return!(i>0&&a>0||i<0&&a<0)}function _(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(a,n){return null!=i&&(n=a-i),e(y(t,a),n)}:function(e){return t.scale.getLabel(e)}}function y(t,e){return"category"===t.type?t.scale.getLabel(e):e}function k(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var a,n,r="category"===t.type,o=i.getExtent();r?n=i.count():(a=i.getTicks(),n=a.length);var s,c=t.getLabelModel(),l=_(t),d=1;n>40&&(d=Math.ceil(n/40));for(var u=0;ui.blockIndex,r=n?i.step:null,o=a&&a.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},b.getPipeline=function(t){return this._pipelineMap.get(t)},b.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),a=t.getData(),n=a.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},b.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var a=t.getProgressive(),n=t.uid;i.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:a&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),j(e,t,t.dataTask)}))},b.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;n(this._allHandlers,(function(a){var n=t.get(a.uid)||t.set(a.uid,[]);a.reset&&k(this,a,n,e,i),a.overallReset&&x(this,a,n,e,i)}),this)},b.prepareView=function(t,e,i,a){var n=t.renderTask,r=n.context;r.model=e,r.ecModel=i,r.api=a,n.__block=!t.incrementalPrepareRender,j(this,e,n)},b.performDataProcessorTasks=function(t,e){_(this,this._dataProcessorHandlers,t,e,{block:!0})},b.performVisualTasks=function(t,e,i){_(this,this._visualHandlers,t,e,i)},b.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},b.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var y=b.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function k(t,e,i,a,n){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,c=e.getTargetSeries;function l(i){var o=i.uid,s=r.get(o)||r.set(o,d({plan:T,reset:P,count:E}));s.context={model:i,ecModel:a,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},j(t,i,s)}e.createOnAllSeries?a.eachRawSeries(l):o?a.eachRawSeriesByType(o,l):c&&c(a,n).each(l);var u=t._pipelineMap;r.each((function(t,e){u.get(e)||(t.dispose(),r.removeKey(e))}))}function x(t,e,i,a,r){var o=i.overallTask=i.overallTask||d({reset:w});o.context={ecModel:a,api:r,overallReset:e.overallReset,scheduler:t};var c=o.agentStubMap=o.agentStubMap||s(),l=e.seriesType,u=e.getTargetSeries,f=!0,h=e.modifyOutputEnd;function p(e){var i=e.uid,a=c.get(i);a||(a=c.set(i,d({reset:C,onDirty:M})),o.dirty()),a.context={model:e,overallProgress:f,modifyOutputEnd:h},a.agent=o,a.__block=f,j(t,e,a)}l?a.eachRawSeriesByType(l,p):u?u(a,r).each(p):(f=!1,n(a.getSeries(),p));var m=t._pipelineMap;c.each((function(t,e){m.get(e)||(t.dispose(),o.dirty(),c.removeKey(e))}))}function w(t){t.overallReset(t.ecModel,t.api,t.payload)}function C(t,e){return t.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function M(){this.agent&&this.agent.dirty()}function T(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function P(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,(function(t,e){return O(e)})):I}var I=O(0);function O(t){return function(e,i){var a=i.data,n=i.resetDefines[t];if(n&&n.dataEach)for(var r=e.start;r=0;o--)r=a.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function m(t){var e=[];return a.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=a.map(e,(function(t){return c(t).main})),"dataset"!==t&&a.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,m),a.mixin(p,f);var v=p;t.exports=v},"6cd9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.newMsgNotificationStatus$=void 0;var r=i("c6b3"),o="biz.edu.newMsgNotificationStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.20"},n[r.ENV_ENUM.android]={vs:"6.3.20"},n)),e.newMsgNotificationStatus$=a,e.default=a},"6d8b":function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},a={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},n=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,c=r.slice,l=r.map,d=r.reduce,u={};function f(t,e){"createCanvas"===t&&(b=null),u[t]=e}function h(t){if(null==t||"object"!==typeof t)return t;var e=t,r=n.call(t);if("[object Array]"===r){if(!K(t)){e=[];for(var o=0,s=t.length;o3&&void 0!==arguments[3]?arguments[3]:"-";if(isNaN(t))return a;if(!e)return t;if(r.isFunction(e))return e(t,n);i=isNaN(i)?0:++i;var o=".["+new Array(i).join(0)+"]",s=e;switch(e){case"KMB":s=i?"0,0"+o+"a":"0,0a";break;case"normal":s=i?"0,0"+o:"0,0";break;case"percent":s=i?"0,0"+o+"%":"0,0.[00]%";break}return n(t,s)},s=function(t){var e={};return Object.keys(t).forEach((function(i){t[i].forEach((function(t){e[t]=i}))})),e},c=function(t){return new Promise((function(e,i){var a=new XMLHttpRequest;a.open("GET",t),a.send(null),a.onload=function(){e(JSON.parse(a.responseText))},a.onerror=function(){i(JSON.parse(a.responseText))}}))},l={},d=function(t){var e=t.position,i=t.positionJsonLink,a=t.beforeRegisterMapOnce,n=t.mapURLProfix,r=i||""+n+e+".json";return l[r]||(l[r]=c(r).then((function(t){return a&&(t=a(t)),t}))),l[r]},u=null,f=null,h=function(t,e){return u||(u=new Promise((function(i,a){var n="bmap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://api.map.baidu.com/api?v="+(e||"2.0"),"ak="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),u},p=function(t,e){return f||(f=new Promise((function(i,a){var n="amap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://webapi.amap.com/maps?v="+(e||"1.4.3"),"key="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),f};function m(t,e,i){void 0!==t[e]?t[e].push(i):t[e]=[i]}e.getFormated=o,e.getStackMap=s,e.$get=c,e.getMapJSON=d,e.getBmap=h,e.getAmap=p,e.setArrayValue=m},"703a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.launchApp$=void 0;var r=i("c6b3"),o="device.launcher.launchApp";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.launchApp$=a,e.default=a},7091:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="media.voiceRecorder.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.12"},n[r.ENV_ENUM.android]={vs:"5.1.12"},n[r.ENV_ENUM.pc]={vs:"5.1.12"},n)),e.stop$=a,e.default=a},"71ad":function(t,e,i){var a=i("6d8b"),n={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=a.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},n),r.valueAxis=a.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},n),r.timeAxis=a.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=a.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},7297:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestOperateAuthCode$=void 0;var r=i("c6b3"),o="runtime.permission.requestOperateAuthCode",s=function(t){return Object.assign(t,{url:location.href.split("#")[0]})};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.3.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"3.3.0"},n[r.ENV_ENUM.android]={vs:"3.3.0"},n)),e.requestOperateAuthCode$=a,e.default=a},"73cf":function(t,e,i){"use strict";i("6765")},"73d7":function(t,e,i){"use strict";i("7557")},"74cb":function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a))},elasticOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/a)+1)},elasticInOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},a=i;t.exports=a},"752d":function(t,e,i){"use strict";i("3312")},7556:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getItem$=void 0;var r=i("c6b3"),o="util.domainStorage.getItem";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.6.29"},n)),e.getItem$=a,e.default=a},7557:function(t,e,i){},"75b8":function(t,e,i){},7673:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chosen$=void 0;var r=i("c6b3"),o="biz.util.chosen";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.chosen$=a,e.default=a},"76a5":function(t,e,i){var a=i("19eb"),n=i("6d8b"),r=i("e86a"),o=i("a73c"),s=i("82eb"),c=s.ContextCachedBy,l=function(t){a.call(this,t)};l.prototype={constructor:l,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var a=i.text;null!=a&&(a+=""),o.needDrawText(a,i)?(this.setTransform(t),o.renderText(this,t,a,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=c.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var a=t.textStrokeWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect}},n.inherits(l,a);var d=l;t.exports=d},7759:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.compressVideo$=void 0;var r=i("c6b3"),o="biz.media.compressVideo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.37"},n[r.ENV_ENUM.android]={vs:"4.6.37"},n)),e.compressVideo$=a,e.default=a},7797:function(t,e,i){"use strict";i("d0c5")},"78d2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.close$=void 0;var r=i("c6b3"),o="ui.nav.close";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.close$=a,e.default=a},7919:function(t,e,i){var a=i("f934"),n=a.getLayoutRect,r=a.box,o=a.positionElement,s=i("eda2"),c=i("2306");function l(t,e,i){var a=e.getBoxLayoutParams(),s=e.get("padding"),c={width:i.getWidth(),height:i.getHeight()},l=n(a,c,s);r(e.get("orient"),t,e.get("itemGap"),l.width,l.height),o(t,a,c,s)}function d(t,e){var i=s.normalizeCssArray(e.get("padding")),a=e.getItemStyle(["color","opacity"]);a.fill=e.get("backgroundColor");t=new c.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1});return t}e.layout=l,e.makeBackground=d},"7abe":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home-index"},[e("div",{staticClass:"page-header"},[t.userInfo?e("div",{staticClass:"header-content"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"avatar"},[e("a-avatar",{attrs:{size:64,src:t.userInfo.avatar}},[t._v(t._s(t.userInfo.name))])],1),e("div",{staticClass:"user-info"},[e("div",{staticClass:"title"},[t._v(t._s(t.helloTime)+t._s(t.userInfo.name)+",祝你开心每一天!")]),t.userInfo.position?e("div",{staticClass:"team muted"},[t._v(t._s(t.userInfo.position)+"\n "),t.userInfo.department?[t._v(" | "+t._s(t.userInfo.department))]:t._e()],2):t._e()])]),e("div",{staticClass:"right-content"},[e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 团队人数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.accounts.total))])])]),e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 项目总数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.projectTotal))])])])])]):t._e()]),e("div",{staticClass:"page-wrapper"},[e("a-row",{staticClass:"page-wrapper-content",attrs:{gutter:24}},[e("a-col",{staticClass:"project-list-content",attrs:{xl:16,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"project-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.loading,bordered:!1,title:"进行中的项目","body-style":{padding:0}}},[e("router-link",{attrs:{slot:"extra",to:"/project/list/my"},slot:"extra"},[t._v("全部项目")]),e("div",{staticStyle:{display:"flex","flex-direction":"row","flex-wrap":"wrap","justify-content":"start"}},[t._l(t.projectList,(function(i,a){return e("a-card-grid",{key:a,staticClass:"project-card-grid"},[e("a-card",{attrs:{bordered:!1,"body-style":{padding:0}},on:{click:function(e){return t.routerLink("/project/space/task/"+i.code)}}},[e("img",{attrs:{slot:"cover",alt:"example",src:i.cover},slot:"cover"}),e("a-card-meta",[e("div",{staticClass:"card-title",attrs:{slot:"title"},slot:"title"},[e("router-link",{attrs:{to:"/project/space/task/"+i.code}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.collected,expression:"item.collected"}],staticStyle:{color:"#ffaf38","margin-right":"6px"},attrs:{type:"star",theme:"filled"}}),t._v(t._s(i.name)+"\n ")],1)],1),e("div",{staticClass:"card-description",attrs:{slot:"description"},slot:"description"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:i.description}},[e("span",{staticClass:"description-text"},[i.description?e("span",[t._v(t._s(i.description))]):e("span",[t._v("暂无介绍")])])]),e("a-tooltip",{attrs:{placement:"right",mouseEnterDelay:.3,title:"当前进度:".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeWidth:2,showInfo:!1,percent:i.schedule}})],1)],1)]),e("div",{staticClass:"project-item"},[e("a",{attrs:{href:"/#/"}},[t._v(t._s(i.owner_name))]),e("span",{staticClass:"datetime"},[t._v(t._s(t.formatTime(i.create_time)))])])],1)],1)})),t.projectList.length?t._e():e("p",{staticClass:"muted text-center m-t-md m-b-md"},[t._v("暂无项目")])],2)],1),e("a-card",{staticClass:"activities-list",attrs:{loading:t.loading,title:"动态",bordered:!1}},[e("a-list",t._l(t.activities,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.member_avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.member_name))]),0==i.is_comment?e("span",[e("span",{domProps:{innerHTML:t._s(i.remark)}})]):t._e(),t._v(" \n "),1==i.is_comment?[t._v("发布了审核流程\n "),e("p",{staticClass:"comment-text"},[t._v(t._s(i.content))])]:t._e(),e("router-link",{staticClass:"right-item",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code,"/detail/").concat(i.source_code)}},[t._v("「 "+t._s(i.task_name)+" 」\n ")])],2),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(t.formatTime(i.create_time))+" -\n "),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code)}},[t._v("\n "+t._s(i.project_name)+"\n ")])],1)],1)],1)})),1)],1)],1),e("a-col",{staticStyle:{padding:"0 12px",flex:"1"},attrs:{xl:8,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"tasks-list",staticStyle:{"margin-bottom":"24px"},attrs:{bordered:!1}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"flex ant-row-flex-space-between ant-row-flex-middle"},[e("span",[t._v("我的任务 · "+t._s(t.task.total))]),e("a-select",{attrs:{defaultActiveFirstOption:!1},on:{select:t.taskSelectChange},model:{value:t.task.done,callback:function(e){t.$set(t.task,"done",e)},expression:"task.done"}},[e("a-select-option",{key:0},[t._v("未完成")]),e("a-select-option",{key:1},[t._v("已完成")])],1)],1)]),e("a-tabs",{attrs:{defaultActiveKey:"1",animated:!1},on:{change:t.taskTabChange}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"bars"}}),t._v("我执行的")],1)]),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"team"}}),t._v("我参与的")],1)]),e("a-tab-pane",{key:"3"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"rocket"}}),t._v("我创建的")],1)])],1),e("a-list",{attrs:{loading:t.task.loading}},t._l(t.task.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[e("a",{staticClass:"task-title-wrap"},[e("a-tooltip",{attrs:{title:"优先级"}},[e("a-tag",{attrs:{color:t.priColor(i.pri)}},[t._v(t._s(i.priText))])],1),e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[i.pcode?[i.parentDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("父任务已完成,无法重做子任务")]):i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]:[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]],2)],2),e("a-tooltip",{attrs:{title:i.name}},[e("span",{on:{click:function(e){t.showTaskDetail=!0,t.taskCode=i.code}}},[t._v(t._s(i.name))])])],1),e("div",[i.end_time?e("a-tooltip",{attrs:{title:"任务开始 - 截止时间"}},[e("span",{staticClass:"label m-r-sm",class:t.showTimeLabel(i.end_time)},[t._v(t._s(t.showTaskTime(i.begin_time,i.end_time)))])]):t._e(),i.pcode?e("a-tooltip",{attrs:{title:"子任务"}},[e("a-icon",{staticClass:"m-r-sm muted",attrs:{type:"cluster"}})],1):t._e(),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/"+i.projectInfo.code}},[e("a-tooltip",{attrs:{title:"所属项目"}},[t._v(t._s(i.projectInfo.name))])],1)],1)])])])],1)})),1),e("a-pagination",{staticClass:"pull-right m-b",attrs:{size:"small",defaultPageSize:t.task.pageSize,total:t.task.total},on:{change:t.onLoadMoreTask},model:{value:t.task.page,callback:function(e){t.$set(t.task,"page",e)},expression:"task.page"}})],1),e("a-card",{staticClass:"events-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.events.loading,title:"日程 · ".concat(t.events.eventList.length),bordered:!1}},[e("router-link",{attrs:{slot:"extra",to:"/calendar"},slot:"extra"},[t._v("日程日历")]),e("div",{staticClass:"list-content"},[e("a-list",{attrs:{loading:t.events.loading}},[t._l(t.events.eventList,(function(i,a){return e("a-list-item",{key:a,staticClass:"list-item"},[e("a-list-item-meta",[e("div",{staticStyle:{display:"flex","line-height":"20px"},attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"info-item"},[e("div",{staticClass:"text-center text-grey"},[e("div",[t._v(t._s(t.moment(i.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v(" ~")]),e("div",[t._v(t._s(t.moment(i.end_time).format("YYYY年MM月DD日 HH:mm")))])])]),e("div",{staticClass:"info-item"},[e("div",{staticClass:"line-item",staticStyle:{"font-size":"18px","margin-bottom":"20px"}},[e("span",[t._v(" "+t._s(i.title))])]),e("div",{staticClass:"line-item text-grey"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(i.position))],1),i.description?[e("div",{staticClass:"line-item text-grey"},[t._v(t._s(i.description))])]:t._e(),e("div",{staticClass:"line-item"},[t._v("参与者 · "+t._s(i.memberList.length))]),e("div",{staticClass:"line-item"},[t._l(i.memberList,(function(t){return[e("a-tooltip",{key:t.id,attrs:{title:"".concat(t.memberInfo.name," ").concat(t.is_owner?" · 组织者":t.status?1==t.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,icon:"user",src:t.memberInfo.avatar}})],1)]}))],2),i.projectName?[e("div",{staticClass:"line-item m-t text-grey",on:{click:function(e){return t.routerLink("/project/space/events/"+i.project_code)}}},[e("a-tag",{staticStyle:{cursor:"pointer"},attrs:{color:"#52c41a"}},[t._v(t._s(i.projectName))])],1)]:t._e()],2),e("div",{staticClass:"actions",staticStyle:{position:"absolute",right:"0"}},[i.waitConfirm?[e("a-tooltip",{attrs:{title:"接受"}},[e("a",{staticClass:"m-l-xs muted"},[e("a-icon",{attrs:{type:"check"},on:{click:function(e){return t.confirmJoinEvents(i,1)}}})],1)]),e("a-tooltip",{attrs:{title:"拒绝"}},[e("a",{staticClass:"m-l muted"},[e("a-icon",{attrs:{type:"close"},on:{click:function(e){return t.confirmJoinEvents(i,2)}}})],1)])]:t._e()],2)])]),e("div",{staticClass:"other-info muted"})],1)})),t.events.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.events.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMoreEvents}},[t._v("查看更多日程")])],1):t._e()],2)],1)],1),e("a-card",{attrs:{loading:t.loading,title:"团队 · "+t.accounts.total,bordered:!1}},[e("div",{staticClass:"members"},[e("a-row",t._l(t.accounts.list,(function(i,a){return e("a-col",{key:a,attrs:{span:8}},[e("a",{staticStyle:{display:"flex","align-items":"center"},on:{click:function(e){return t.routerLink("/members/profile/"+i.membar_account_code+"?key=3")}}},[e("a-avatar",{attrs:{size:"small",src:i.avatar}}),e("span",{staticClass:"member"},[t._v(t._s(i.name))])],1)])})),1)],1),e("a-pagination",{directives:[{name:"show",rawName:"v-show",value:t.accounts.total>t.accounts.pageSize,expression:"accounts.total > accounts.pageSize"}],staticClass:"pull-right m-b",attrs:{defaultPageSize:t.accounts.pageSize,size:"small",total:t.accounts.total},on:{change:t.onLoadMoreAccounts},model:{value:t.accounts.page,callback:function(e){t.$set(t.accounts,"page",e)},expression:"accounts.page"}})],1)],1)],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{destroyOnClose:"",width:"min-content",closable:!1,visible:t.showTaskDetail,title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.taskCode},on:{close:t.detailClose}})],1)],1)},n=[],r=(i("8e6e"),i("456d"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("c1df"),c=i.n(s),l=i("009f"),d=i("1157"),u=i.n(d);function f(t,e){void 0===e&&(e="f");var i="https://v1.hitokoto.cn/?c="+e+"&encode=json";u.a.get({url:i,success:function(e){t(e)}})}var h=i("81fe"),p=i("24d2"),m=i("c24f"),v=i("1b80"),g=i("b199"),b=(i("d96ec"),i("b39f")),_=i("2f14");function y(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function k(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.projectList=[],this.pagination.page=1,this.pagination.pageSize=9),this.getProjectList(e),this.getTasks(),this.getTaskLog(),this.getAccountList(),this.getEvents()},getProjectList:function(t){var e=this;t&&(this.loading=!0),Object(p["l"])(this.requestData).then((function(t){e.projectList=t.data.list,e.projectTotal=t.data.total,e.loading=!1}))},getTaskLog:function(){var t=this;Object(g["k"])().then((function(e){t.activities=e.data}))},getAccountList:function(){var t=this;this.accounts.loading=!0,Object(m["w"])({page:this.accounts.page,pageSize:this.accounts.pageSize}).then((function(e){t.accounts.loading=!1,t.accounts.list=e.data.list,t.accounts.total=e.data.total}))},getEvents:function(){var t=this;Object(b["f"])({page:this.events.page,pageSize:this.events.pageSize,deleted:0}).then((function(e){t.events.eventList=t.events.eventList.concat(e.data.list),t.events.total=e.data.total,t.events.showLoadingMore=t.events.total>t.events.eventList.length,t.events.loading=!1,t.events.loadingMore=!1}))},getYiYan:function(){var t=this;f((function(e){t.yiyan=e}),"d")},getTasks:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.task.page=1),this.task.loading=!0,Object(g["u"])({page:this.task.page,pageSize:this.task.pageSize,taskType:this.task.taskType,type:this.task.done}).then((function(e){t.task.loading=!1,t.task.list=e.data.list,t.task.total=e.data.total}))},taskTabChange:function(t){console.log(t),this.task.taskType=t,this.task.loadingMore=!0,this.getTasks()},taskSelectChange:function(t){this.task.done=t,this.task.loadingMore=!0,this.getTasks()},onLoadMoreTask:function(t,e){this.task.loadingMore=!0,this.task.page=t,this.getTasks(!1)},onLoadMoreAccounts:function(t,e){this.accounts.loadingMore=!0,this.accounts.page=t,this.getAccountList()},detailClose:function(){this.taskCode="",this.showTaskDetail=!1,this.getTasks(!1)},taskDone:function(t,e){var i=this;e=e?1:0,Object(g["z"])(t,e).then((function(t){var e=Object(_["a"])(t);if(!e)return!1;i.getTasks(!1)}))},onLoadMoreEvents:function(t,e){this.events.loadingMore=!0,this.events.page++,this.getEvents()},confirmJoinEvents:function(t,e){var i=this;Object(b["a"])({eventsCode:t.code,status:e}).then((function(a){Object(_["a"])(a)&&(t.waitConfirm=0,t.memberList.forEach((function(t){t.member_code==i.$store.state.userInfo.code&&(t.status=e)})))}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},formatTime:function(t){return Object(h["c"])(t)},showTaskTime:function(t,e){return Object(h["a"])(t,e)},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=c()(c()(t).format("YYYY-MM-DD")).diff(c()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e}}},w=x,C=(i("1e0e"),i("2877")),S=Object(C["a"])(w,a,n,!1,null,null,null);e["default"]=S.exports},"7b40":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setTitle$=void 0;var r=i("c6b3"),o="biz.navigation.setTitle";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.setTitle$=a,e.default=a},"7ba0":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getDeviceProperties$=void 0;var r=i("c6b3"),o="biz.iot.getDeviceProperties";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.42"},n[r.ENV_ENUM.android]={vs:"4.6.42"},n)),e.getDeviceProperties$=a,e.default=a},"7bb5":function(t,e,i){"use strict";i("18ef")},"7c06":function(t,e,i){},"7d6d":function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function a(t,e,a){return i.hasOwnProperty(e)?a*t.dpr:a}t.exports=a},"7d79":function(t,e,i){"use strict";function a(t){var e,i=JSON.stringify(t).length;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/send-message-to-single-chat?params=").concat(encodeURIComponent(JSON.stringify({body:t,bodyLengthList:[i]}))),target:"float",title:"提示",wnId:"sendMessageToSingleChat",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToSingleChat=void 0,i("c526");var n=i("5575");e.sendMessageToSingleChat=a},"7dc1":function(t,e){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),a=1;ae-o){var l=new RegExp("\\.?0{1,"+(a-(e-o))+"}$");c=c.replace(l,"")}return c}function u(t,e,i,n){var l=Math.abs(e),u=!1,f=!1,h="",p="",m=!1,v=void 0,g=void 0;i=i||"",e=e||0,~i.indexOf("(")?(u=!0,i=i.replace(/[(|)]/g,"")):(~i.indexOf("+")||~i.indexOf("-"))&&(g=~i.indexOf("+")?i.indexOf("+"):e<0?i.indexOf("-"):-1,i=i.replace(/[+|-]/g,"")),~i.indexOf("a")&&(v=i.match(/a(k|m|b|t)?/),v=!!v&&v[1],~i.indexOf(" a")&&(h=" "),i=i.replace(new RegExp(h+"a[kmbt]?"),""),l>=r&&!v||"t"===v?(h+=t.abbrLabel.tr,e/=r):l=o&&!v||"b"===v?(h+=t.abbrLabel.bi,e/=o):l=s&&!v||"m"===v?(h+=t.abbrLabel.mi,e/=s):(l=c&&!v||"k"===v)&&(h+=t.abbrLabel.th,e/=c)),~i.indexOf("[.]")&&(f=!0,i=i.replace("[.]","."));var b=e.toString().split(".")[0],_=i.split(".")[1],y=i.indexOf(","),k=(i.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(_?(~_.indexOf("[")?(_=_.replace("]",""),_=_.split("["),p=d(e,_[0].length+_[1].length,n,_[1].length)):p=d(e,_.length,n),b=p.split(".")[0],p=~p.indexOf(".")?"."+p.split(".")[1]:"",f&&0===+p.slice(1)&&(p="")):b=d(e,0,n),h&&!v&&+b>=1e3&&h!==a.trillion&&(b=""+ +b/1e3,h=a.million),~b.indexOf("-")&&(b=b.slice(1),m=!0),b.length0;x--)b="0"+b;y>-1&&(b=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")),i.indexOf(".")||(b="");var w=b+p+(h||"");return u?w=(u&&m?"(":"")+w+(u&&m?")":""):g>=0?w=0===g?(m?"-":"+")+w:w+(m?"-":"+"):m&&(w="-"+w),w}function f(t,e){Object.keys(e).forEach((function(i){t[i]=e[i]}))}var h={regexp:/%/,format:function(t,e,i,a){var n=~e.indexOf(" %")?" ":"",r=void 0;return a.options.scalePercentBy100&&(t*=100),e=e.replace(/\s?%/,""),r=a._numberToFormat(t,e,i),~r.indexOf(")")?(r=r.split(""),r.splice(-1,0,n+"%"),r=r.join("")):r=r+n+"%",r}},p={},m={};function v(t,e,i){e=e||p.defaultFormat,i=i||Math.round;var a=void 0,n=void 0;if(0===t&&null!==p.zeroFormat)a=p.zeroFormat;else if(null===t&&null!==p.nullFormat)a=p.nullFormat;else{for(var r in m)if(m[r]&&e.match(m[r].regexp)){n=m[r].format;break}n=n||u.bind(null,p),a=n(t,e,i,g)}return a}function g(t,e,i){var a=void 0;return a=0===t||"undefined"===typeof t?0:null===t||l(t)?null:"string"===typeof t?p.zeroFormat&&t===p.zeroFormat?0:p.nullFormat&&t===p.nullFormat||!t.replace(/[^0-9]+/g,"").length?null:+t:+t||null,v(a,e,i)}f(p,n),g.options=p,g._numberToFormat=u.bind(null,p),g.register=function(t,e){m[t]=e},g.unregister=function(t){m[t]=null},g.setOptions=function(t){f(p,t)},g.reset=function(){f(p,n)},g.register("percentage",h),e["default"]=g},"7e63":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.each,o=n.filter,s=n.map,c=n.isArray,l=n.indexOf,d=n.isObject,u=n.isString,f=n.createHashMap,h=n.assert,p=n.clone,m=n.merge,v=n.extend,g=n.mixin,b=i("e0d3"),_=i("4319"),y=i("6cb7"),k=i("8971"),x=i("e47b"),w=i("0f99"),C=w.resetSourceDefaulter,S="\0_ec_inner",M=_.extend({init:function(t,e,i,a){i=i||{},this.option=null,this._theme=new _(i),this._optionManager=a},setOption:function(t,e){h(!(S in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var a=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(a)):I.call(this,a),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var n=i.getTimelineOption(this);n&&(this.mergeOption(n),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&r(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,a=[];function n(a,n){var o=b.normalizeToArray(t[a]),s=b.mappingToExists(i.get(a),o);b.makeIdAndName(s),r(s,(function(t,e){var i=t.option;d(i)&&(t.keyInfo.mainType=a,t.keyInfo.subType=E(a,i,t.exist))}));var c=O(i,n);e[a]=[],i.set(a,[]),r(s,(function(t,n){var r=t.exist,o=t.option;if(h(d(o)||r,"Empty component definition"),o){var s=y.getClass(a,t.keyInfo.subType,!0);if(r&&r.constructor===s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=v({dependentModels:c,componentIndex:n},t.keyInfo);r=new s(o,this,this,l),v(r,l),r.init(o,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(a)[n]=r,e[a][n]=r.option}),this),"series"===a&&j(this,i.get("series"))}C(this),r(t,(function(t,i){null!=t&&(y.hasClass(i)?i&&a.push(i):e[i]=null==e[i]?p(t):m(e[i],t,!0))})),y.topologicalTravel(a,y.getAllClassMainTypes(),n,this),this._seriesIndicesMap=f(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return r(t,(function(e,i){if(y.hasClass(i)){e=b.normalizeToArray(e);for(var a=e.length-1;a>=0;a--)b.isIdInner(e[a])&&e.splice(a,1);t[i]=e}})),delete t[S],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,a=t.index,n=t.id,r=t.name,d=this._componentsMap.get(e);if(!d||!d.length)return[];if(null!=a)c(a)||(a=[a]),i=o(s(a,(function(t){return d[t]})),(function(t){return!!t}));else if(null!=n){var u=c(n);i=o(d,(function(t){return u&&l(n,t.id)>=0||!u&&t.id===n}))}else if(null!=r){var f=c(r);i=o(d,(function(t){return f&&l(r,t.name)>=0||!f&&t.name===r}))}else i=d.slice();return D(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,a=r(e),n=a?this.queryComponents(a):this._componentsMap.get(i);return s(D(n,t));function r(t){var e=i+"Index",a=i+"Id",n=i+"Name";return!t||null==t[e]&&null==t[a]&&null==t[n]?null:{mainType:i,index:t[e],id:t[a],name:t[n]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var a=this._componentsMap;if("function"===typeof t)i=e,e=t,a.each((function(t,a){r(t,(function(t,n){e.call(i,a,t,n)}))}));else if(u(t))r(a.get(t),e,i);else if(d(t)){var n=this.findComponents(t);r(n,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){A(this),r(this._seriesIndices,(function(i){var a=this._componentsMap.get("series")[i];t.call(e,a,i)}),this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){A(this),r(this._seriesIndices,(function(a){var n=this._componentsMap.get("series")[a];n.subType===t&&e.call(i,n,a)}),this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return A(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){A(this);var i=o(this._componentsMap.get("series"),t,e);j(this,i)},restoreData:function(t){var e=this._componentsMap;j(this,e.get("series"));var i=[];e.each((function(t,e){i.push(e)})),y.topologicalTravel(i,y.getAllClassMainTypes(),(function(i,a){r(e.get(i),(function(e){("series"!==i||!T(e,t))&&e.restoreData()}))}))}});function T(t,e){if(e){var i=e.seiresIndex,a=e.seriesId,n=e.seriesName;return null!=i&&t.componentIndex!==i||null!=a&&t.id!==a||null!=n&&t.name!==n}}function P(t,e){var i=t.color&&!t.colorLayer;r(e,(function(e,a){"colorLayer"===a&&i||y.hasClass(a)||("object"===typeof e?t[a]=t[a]?m(t[a],e,!1):p(e):null==t[a]&&(t[a]=e))}))}function I(t){t=t,this.option={},this.option[S]=1,this._componentsMap=f({series:[]}),this._seriesIndices,this._seriesIndicesMap,P(t,this._theme.option),m(t,k,!1),this.mergeOption(t)}function O(t,e){c(e)||(e=e?[e]:[]);var i={};return r(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function E(t,e,i){var a=e.type?e.type:i?i.subType:y.determineSubType(t,e);return a}function j(t,e){t._seriesIndicesMap=f(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function D(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function A(t){}g(M,x);var N=M;t.exports=N},"7edc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.queryMeetingRoomList$=void 0;var r=i("c6b3"),o="biz.iot.queryMeetingRoomList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.queryMeetingRoomList$=a,e.default=a},"7f96":function(t,e,i){var a=i("6d8b"),n=a.isFunction;function r(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,a,r){var o=t.getData(),s=t.get("symbol"),c=t.get("symbolSize"),l=t.get("symbolKeepAspect"),d=t.get("symbolRotate"),u=n(s),f=n(c),h=n(d),p=u||f||h,m=!u&&s?s:e,v=f?null:c;if(o.setVisual({legendSymbol:i||m,symbol:m,symbolSize:v,symbolKeepAspect:l,symbolRotate:d}),!a.isSeriesFiltered(t))return{dataEach:o.hasItemOption||p?g:null};function g(e,i){if(p){var a=t.getRawValue(i),n=t.getDataParams(i);u&&e.setItemVisual(i,"symbol",s(a,n)),f&&e.setItemVisual(i,"symbolSize",c(a,n)),h&&e.setItemVisual(i,"symbolRotate",d(a,n))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0),m=r.getShallow("symbolRotate",!0),v=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=l&&e.setItemVisual(i,"symbolSize",l),null!=m&&e.setItemVisual(i,"symbolRotate",m),null!=v&&e.setItemVisual(i,"symbolKeepAspect",v)}}}}}t.exports=r},"7fa2":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-403"},[e("ErrorPage",{attrs:{code:"403",desc:"抱歉,你无权访问该页面"}},[e("img",{attrs:{slot:"img",src:i("b0ad"),alt:""},slot:"img"})])],1)},n=[],r=i("8685"),o={components:{ErrorPage:r["a"]}},s=o,c=i("2877"),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},"7fa3":function(t,e,i){},8052:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.pickConversation$=void 0;var r=i("c6b3"),o="biz.chat.pickConversation";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.2"},n[r.ENV_ENUM.android]={vs:"2.4.2"},n[r.ENV_ENUM.pc]={vs:"4.7.9"},n)),e.pickConversation$=a,e.default=a},"80f0":function(t,e){function i(t){return t}function a(t,e,a,n,r){this._old=t,this._new=e,this._oldKeyGetter=a||i,this._newKeyGetter=n||i,this.context=r}function n(t,e,i,a,n){for(var r=0;r=0){var d=o.indexOf(c),u=o.substr(l+s.length,d-l-s.length);u.indexOf("sub")>-1?a["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:a["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},o=o.substr(d+1),l=o.indexOf("{marker")}var f=i.getModel("textStyle"),h=f.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*h/2)),this.el=new n({style:r.setTextStyle({},f,{rich:a,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var m=this;this.el.on("mouseover",(function(){m._enterable&&(clearTimeout(m._hideTimeout),m._show=!0),m._inContent=!0})),this.el.on("mouseout",(function(){m._enterable&&m._show&&m.hideLater(m._hideDelay),m._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(a.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var c=s;t.exports=c},"832b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.enable$=void 0;var r=i("c6b3"),o=i("f162"),s="ui.pullToRefresh.enable";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:o.addWatchParamsDeal},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:o.addWatchParamsDeal},n)),e.enable$=a,e.default=a},"838f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.datepicker$=void 0;var r=i("c6b3"),o="biz.util.datepicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.datepicker$=a,e.default=a},8437:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkPermission$=void 0;var r=i("c6b3"),o="device.geolocation.checkPermission";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.5.0"},n)),e.checkPermission$=a,e.default=a},"843e":function(t,e,i){var a=i("6d8b"),n=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){a.each(n,(function(e){this[e]=a.bind(t[e],t)}),this)}var o=r;t.exports=o},"84ce":function(t,e,i){var a=i("6d8b"),n=a.each,r=a.map,o=i("3842"),s=o.linearMap,c=o.getPixelPrecision,l=o.round,d=i("e073"),u=d.createAxisTicks,f=d.createAxisLabels,h=d.calculateCategoryInterval,p=[0,1],m=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var i=t[1]-t[0],a=e,n=i/a/2;t[0]+=n,t[1]-=n}function g(t,e,i,a){var r=e.length;if(t.onBand&&!i&&r){var o,s,c=t.getExtent();if(1===r)e[0].coord=c[0],o=e[1]={coord:c[0]};else{var d=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/d;n(e,(function(t){t.coord-=u/2}));var f=t.scale.getExtent();s=1+f[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*s},e.push(o)}var h=c[0]>c[1];p(e[0].coord,c[0])&&(a?e[0].coord=c[0]:e.shift()),a&&p(c[0],e[0].coord)&&e.unshift({coord:c[0]}),p(c[1],o.coord)&&(a?o.coord=c[1]:e.pop()),a&&p(o.coord,c[1])&&e.push({coord:c[1]})}function p(t,e){return t=l(t),e=l(e),h?t>e:t=i&&t<=a},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return c(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&(i=i.slice(),v(i,a.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&(i=i.slice(),v(i,a.count()));var n=s(t,i,p,e);return this.scale.scale(n)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=u(this,e),a=i.ticks,n=r(a,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return g(this,n,o,t.clamp),n},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),a=r(i,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return a},getViewLabels:function(){return f(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return h(this)}};var b=m;t.exports=b},"84d5":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("4319"),o=i("e0d3"),s=o.isNameSpecified,c=i("29a8"),l=c.legend.selector,d={all:{type:"all",title:n.clone(l.all)},inverse:{type:"inverse",title:n.clone(l.inverse)}},u=a.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),n.isArray(e)&&n.each(e,(function(t,i){n.isString(t)&&(t={type:t}),e[i]=n.merge(t,d[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),f=u;t.exports=f},"84ec":function(t,e){var i=Math.log(2);function a(t,e,n,r,o,s){var c=r+"-"+o,l=t.length;if(s.hasOwnProperty(c))return s[c];if(1===e){var d=Math.round(Math.log((1<e&&r>a||rn?o:0}t.exports=i},"87b1":function(t,e,i){var a=i("cbe5"),n=i("4fac"),r=a.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){n.buildPath(t,e,!0)}});t.exports=r},"87c3":function(t,e,i){var a=i("6d8b"),n=a.map,r=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function c(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,a=t.pipelineContext,r=a.large;if(i){var o=n(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),c=o.length,l=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=l),s(e,o[1])&&(o[1]=l),c&&{progress:d}}function d(t,e){for(var a=t.end-t.start,n=r&&new Float32Array(a*c),s=t.start,l=0,d=[],u=[];s=0?u():d=setTimeout(u,-n),c=a};return f.clear=function(){d&&(clearTimeout(d),d=null)},f.debounceNextCall=function(t){s=t},f}function o(t,e,o,s){var c=t[e];if(c){var l=c[i]||c,d=c[n],u=c[a];if(u!==o||d!==s){if(null==o||!s)return t[e]=l;c=t[e]=r(l,o,"debounce"===s),c[i]=l,c[n]=s,c[a]=o}return c}}function s(t,e){var a=t[e];a&&a[i]&&(t[e]=a[i])}e.throttle=r,e.createOrUpdate=o,e.clear=s},"88e5":function(t,e,i){"use strict";i("8e77")},8918:function(t,e,i){var a=i("6d8b"),n=i("625e"),r=n.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function c(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=r(t),e[t.main]=i},t.determineSubType=function(i,a){var n=a.type;if(!n){var o=r(i).main;t.hasSubTypes(i)&&e[o]&&(n=e[o](a))}return n},t}function l(t,e){function i(t){var i={},o=[];return a.each(t,(function(s){var c=n(i,s),l=c.originalDeps=e(s),d=r(l,t);c.entryCount=d.length,0===c.entryCount&&o.push(s),a.each(d,(function(t){a.indexOf(c.predecessor,t)<0&&c.predecessor.push(t);var e=n(i,t);a.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:i,noEntryList:o}}function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return a.each(t,(function(t){a.indexOf(e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,n,r){if(t.length){var o=i(e),s=o.graph,c=o.noEntryList,l={};a.each(t,(function(t){l[t]=!0}));while(c.length){var d=c.pop(),u=s[d],f=!!l[d];f&&(n.call(r,d,u.originalDeps.slice()),delete l[d]),a.each(u.successor,f?p:h)}a.each(l,(function(){throw new Error("Circle dependency may exists")}))}function h(t){s[t].entryCount--,0===s[t].entryCount&&c.push(t)}function p(t){l[t]=!0,h(t)}}}e.getUID=s,e.enableSubTypeDefaulter=c,e.enableTopologicalTravel=l},8929:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openLocalFile$=void 0;var r=i("c6b3"),o="biz.util.openLocalFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.openLocalFile$=a,e.default=a},8971:function(t,e){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var a={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=a},"897a":function(t,e,i){var a=i("22d1"),n=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(t){return a.browser.ie&&a.browser.version>=11?function(){var e,i=this.__clipPaths,a=this.style;if(i)for(var r=0;r'].join("")},c=["initOptions","loading","dataEmpty","judgeWidth","widthChangeDelay"],l=["grid","dataZoom","visualMap","toolbox","title","legend","xAxis","yAxis","radar","tooltip","axisPointer","brush","geo","timeline","graphic","series","backgroundColor","textStyle"];e.DEFAULT_THEME=a,e.DEFAULT_COLORS=n,e.HEAT_MAP_COLOR=r,e.HEAT_BMAP_COLOR=o,e.itemPoint=s,e.STATIC_PROPS=c,e.ECHARTS_SETTINGS=l},"89e3":function(t,e,i){var a=i("3842"),n=i("eda2"),r=i("e0d8"),o=i("944e"),s=a.round,c=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),c.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,a=this._niceExtent,n=this._intervalPrecision,r=[];if(!e)return r;var o=1e4;i[0]o)return[]}var l=r.length?r[r.length-1]:a[1];return i[1]>l&&(t?r.push(s(l+e,n)):r.push(i[1])),r},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;rn[0]&&f0)a*=10;var o=[r.round(f(e[0]/a)*a),r.round(u(e[1]/a)*a)];this._interval=a,this._niceExtent=o}},niceExtent:function(t){c.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return d(t,l(e))}a.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),m.create=function(){return new m};var g=m;t.exports=g},"8c3c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.finishMiniCourseByRecordId$=void 0;var r=i("c6b3"),o="biz.edu.finishMiniCourseByRecordId";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.finishMiniCourseByRecordId$=a,e.default=a},"8c4c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getENV=e.getUA=e.ENV_ENUM_SUB=e.APP_TYPE=e.ENV_ENUM=void 0;var a=i("9670"),n=i("9670");Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return n.ENV_ENUM}}),Object.defineProperty(e,"APP_TYPE",{enumerable:!0,get:function(){return n.APP_TYPE}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return n.ENV_ENUM_SUB}});var r,o=i("08e8"),s=function(){try{if("undefined"!=typeof window&&void 0!==window.top)return window.top.__dingtalk_jsapi_top_platfrom_config__}catch(t){return}};!function(t){t.singlePage="singlePage",t.miniApp="miniApp",t.miniWidget="miniWidget"}(r||(r={}));var c=function(){var t="";try{"undefined"!=typeof navigator&&(t=navigator&&(navigator.userAgent||navigator.swuserAgent)||"")}catch(e){t=""}return t};e.getUA=c;var l=function(){var t=(0,e.getUA)(),i=/iPhone|iPad|iPod|iOS/i.test(t),n=/Android/i.test(t),c=(/Nebula/i.test(t),/DingTalk/i.test(t)),l=/dd-web/i.test(t),d="object"==typeof nuva,u="object"==typeof dd&&"function"==typeof dd.dtBridge,f=u&&i||d&&i,h=c||o.default.isDingTalk,p=i&&h||o.default.isWeexiOS||f,m=n&&h||o.default.isWeexAndroid,v=u,g=l,b=a.APP_TYPE.WEB;if(g)b=a.APP_TYPE.WEBVIEW_IN_MINIAPP;else if(v)b=a.APP_TYPE.MINI_APP;else if(o.default.isWeexiOS||o.default.isWeexAndroid)try{var _=weex.config.ddWeexEnv;b=_===r.miniWidget?a.APP_TYPE.WEEX_WIDGET:a.APP_TYPE.WEEX}catch(t){b=a.APP_TYPE.WEEX}var y,k,x="*",w=t.match(/AliApp\(\w+\/([a-zA-Z0-9.-]+)\)/);null===w&&(w=t.match(/DingTalk\/([a-zA-Z0-9.-]+)/)),w&&w[1]&&(k=w[1]);var C="";"undefined"!=typeof name&&(C=name);var S=s();try{S&&"undefined"!=typeof window&&void 0!==window.top&&window.top!==window&&(C=top.name)}catch(t){}if(C)try{var M=JSON.parse(C);M.hostVersion&&(k=M.hostVersion),x=M.language||navigator.language||"*",y=M.containerId}catch(t){}var T=!!y;T&&!k&&(w=t.match(/DingTalk\(([a-zA-Z0-9\.-]+)\)/))&&w[1]&&(k=w[1]);var P,I=a.ENV_ENUM_SUB.noSub;return(P=p?a.ENV_ENUM.ios:m?a.ENV_ENUM.android:T?a.ENV_ENUM.pc:S&&S.platform?S.platform:a.ENV_ENUM.notInDingTalk)===a.ENV_ENUM.pc&&(I=t.indexOf("Macintosh; Intel Mac OS")>-1?a.ENV_ENUM_SUB.mac:a.ENV_ENUM_SUB.win),{platform:P,platformSub:I,version:k,appType:b,language:x}};e.getENV=l},"8d18":function(t,e,i){},"8d32":function(t,e,i){var a=i("cbe5"),n=a.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,a=e.cy,n=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,c=Math.cos(r),l=Math.sin(r);t.moveTo(c*n+i,l*n+a),t.arc(i,a,n,r,o,!s)}});t.exports=n},"8d49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.fetch$=void 0;var r=i("c6b3"),o="runtime.message.fetch";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.fetch$=a,e.default=a},"8e36":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("9670"),o=i("eee2"),s=i("bd74"),c=i("a1ae"),l=i("5772"),d=i("dd66"),u=i("e8f7");a.ddSdk.setPlatform({platform:n.ENV_ENUM.android,bridgeInit:function(){var t=(0,n.getENV)();return t.appType===r.APP_TYPE.MINI_APP?Promise.resolve(o.default):t.appType===r.APP_TYPE.WEBVIEW_IN_MINIAPP?Promise.resolve(s.default):t.appType===r.APP_TYPE.WEEX?(0,l.androidWeexBridge)():(0,c.h5AndroidbridgeInit)().then((function(){return c.default}))},authMethod:"runtime.permission.requestJsApis",event:{on:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.on)(t,e);break;case r.APP_TYPE.WEEX:(0,u.on)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}},off:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.off)(t,e);break;case r.APP_TYPE.WEEX:(0,u.off)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}}}})},"8e43":function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.isObject,o=a.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,a=i&&o(i,d);return new s({categories:a,needCollect:!a,deduplication:!1!==e.dedplication})};var c=s.prototype;function l(t){return t._map||(t._map=n(t.categories))}function d(t){return r(t)&&null!=t.value?t.value:t+""}c.getOrdinal=function(t){return l(this).get(t)},c.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=l(this);return e=a.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e};var u=s;t.exports=u},"8e4d":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.bind$=void 0;var r=i("c6b3"),o="biz.iot.bind";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.bind$=a,e.default=a},"8e67":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setItem$=void 0;var r=i("c6b3"),o="util.domainStorage.setItem";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.6.9"},n)),e.setItem$=a,e.default=a},"8e77":function(t,e,i){},"8eb6":function(t,e,i){"use strict";i("ac6a");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"account-setting"},[e("div",{staticClass:"layout-item left"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"search-type"},[e("a-menu",{attrs:{mode:"inline",selectedKeys:t.keys},on:{click:t.menuClick}},[e("a-menu-item",{key:"base"},[e("span",[t._v("基本设置")])]),e("a-menu-item",{key:"security"},[e("span",[t._v("安全设置")])])],1)],1)])])])},n=[],r={name:"accountSetting",props:{keys:{type:Array,default:function(){return["base"]}}},methods:{menuClick:function(t){var e=t.key,i="";switch(e){case"base":i="/account/setting/base";break;case"security":i="/account/setting/security"}this.$router.push(i)}}},o=r,s=(i("b59f"),i("2877")),c=Object(s["a"])(o,a,n,!1,null,null,null);e["a"]=c.exports},"8ebb":function(t,e,i){"use strict";function a(t){var e;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/create-group?params=").concat(encodeURIComponent(JSON.stringify(t))),target:"float",title:"提示",wnId:"createGroup",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.createGroup=void 0,i("c526");var n=i("5575");e.createGroup=a},"8ed2":function(t,e,i){i("48c7");var a=i("6cb7"),n=a.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=n},"903c":function(t,e){function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;ir&&(d=s.interval=r);var u=s.intervalPrecision=o(d),f=s.niceTickExtent=[n(Math.ceil(t[0]/d)*d,u),n(Math.floor(t[1]/d)*d,u)];return c(f,t),s}function o(t){return a.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function c(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=c},"94b1":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("9d57"),o=r.layout,s=r.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,n.curry(o,"bar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),a.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94b9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setIcon$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setIcon",c=(0,o.genDefaultParamsDealFn)({watch:!0,showIcon:!0,iconIndex:1});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.setIcon$=a,e.default=a},9504:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.quickCallList$=void 0;var r=i("c6b3"),o="biz.telephone.quickCallList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.5.6"},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n)),e.quickCallList$=a,e.default=a},9593:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startDocSign$=void 0;var r=i("c6b3"),o="biz.util.startDocSign";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.6.33"},n)),e.startDocSign$=a,e.default=a},9670:function(t,e,i){"use strict";function a(t,e){var i=t&&t.vs;return"object"==typeof i&&(i=i[e.platformSub]),i}Object.defineProperty(e,"__esModule",{value:!0}),e.Sdk=e.LogLevel=e.APP_TYPE=e.isFunction=e.compareVersion=e.ENV_ENUM_SUB=e.ENV_ENUM=void 0;var n=i("585f");Object.defineProperty(e,"APP_TYPE",{enumerable:!0,get:function(){return n.APP_TYPE}}),Object.defineProperty(e,"LogLevel",{enumerable:!0,get:function(){return n.LogLevel}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return n.isFunction}}),Object.defineProperty(e,"compareVersion",{enumerable:!0,get:function(){return n.compareVersion}}),Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return n.ENV_ENUM}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return n.ENV_ENUM_SUB}});var r=function(){function t(t,e){var i=this;this.configJsApiList=[],this.hadConfig=!1,this.p={},this.config$=new Promise((function(t,e){i.p.reject=e,i.p.resolve=t})),this.logQueue=[],this.devConfig={debug:!1},this.platformConfigMap={},this.invokeAPIConfigMapByMethod={},this.isBridgeDrity=!0,this.getExportSdk=function(){return i.exportSdk},this.setAPI=function(t,e){i.invokeAPIConfigMapByMethod[t]=e},this.setPlatform=function(t){i.isBridgeDrity=!0,i.platformConfigMap[t.platform]=t,t.platform===i.env.platform&&t.bridgeInit().catch((function(t){i.customLog(n.LogLevel.WARNING,["auto bridgeInit error",t||""])}))},this.getPlatformConfigMap=function(){return i.platformConfigMap},this.deleteApiConfig=function(t,e){var a=i.invokeAPIConfigMapByMethod[t];a&&delete a[e]},this.invokeAPI=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!0),i.customLog(n.LogLevel.INFO,['==> "'.concat(t,'" params: '),e]);var o=+new Date,s=o+"_"+Math.floor(1e3*Math.random());if(i.devConfig.onBeforeInvokeAPI)try{i.devConfig.onBeforeInvokeAPI({invokeId:s,method:t,params:e,startTime:o})}catch(t){i.customLog(n.LogLevel.ERROR,["call Hook:onBeforeInvokeAPI failed, reason:",t])}return!1===i.devConfig.isAuthApi&&(r=!1),i.bridgeInitFn().then((function(c){var l=i.invokeAPIConfigMapByMethod[t],d=i.devConfig.forceEnableDealApiFnMap&&i.devConfig.forceEnableDealApiFnMap[t]&&!0===i.devConfig.forceEnableDealApiFnMap[t](e),u=!d&&(!0===i.devConfig.isDisableDeal||i.devConfig.disbaleDealApiWhiteList&&-1!==i.devConfig.disbaleDealApiWhiteList.indexOf(t));if(l||!r){var f;if(l&&(f=l[i.env.platform]),f||!r){var h={};h=!u&&f&&f.paramsDeal&&(0,n.isFunction)(f.paramsDeal)?f.paramsDeal(e):Object.assign({},e);var p=function(t){return!u&&f&&f.resultDeal&&(0,n.isFunction)(f.resultDeal)?f.resultDeal(t):t};if((0,n.isFunction)(h.onSuccess)){var m=h.onSuccess;h.onSuccess=function(t){m(p(t))}}return c(t,h).then(p,(function(e){var o=i.hadConfig&&void 0===i.isReady&&-1!==i.configJsApiList.indexOf(t),s="object"==typeof e&&"string"==typeof e.errorCode&&e.errorCode===n.ERROR_CODE.no_permission,l="object"==typeof e&&"string"==typeof e.errorCode&&e.errorCode===n.ERROR_CODE.cancel,d=a(f,i.env),u=d&&i.env.version&&(0,n.compareVersion)(i.env.version,d),m=(i.env.platform===n.ENV_ENUM.ios||i.env.platform===n.ENV_ENUM.android)&&o&&s,v=i.env.platform===n.ENV_ENUM.pc&&o&&(u&&!l&&r||s);return m||v?i.config$.then((function(){return c(t,h).then(p)})):Promise.reject(e)})).then((function(a){if(i.devConfig.onAfterInvokeAPI)try{i.devConfig.onAfterInvokeAPI({invokeId:s,method:t,params:e,payload:a,isSuccess:!0,startTime:o,duration:+new Date-o})}catch(t){i.customLog(n.LogLevel.ERROR,["call Hook:onAfterInvokeAPI failed, reason:",t])}return i.customLog(n.LogLevel.INFO,['<== "'.concat(t,'" success result: '),a]),a}),(function(a){if(i.devConfig.onAfterInvokeAPI)try{i.devConfig.onAfterInvokeAPI({invokeId:s,method:t,params:e,payload:a,startTime:o,duration:+new Date-o,isSuccess:!1})}catch(a){i.customLog(n.LogLevel.ERROR,["call Hook:onAfterInvokeAPI failed, reason:",a])}return i.customLog(n.LogLevel.WARNING,['<== "'.concat(t,'" fail result: '),a]),Promise.reject(a)}))}var v='"'.concat(t,'" do not support the current platform (').concat(i.env.platform,")");return i.customLog(n.LogLevel.ERROR,[v]),Promise.reject({errorCode:n.ERROR_CODE.jsapi_internal_error,errorMessage:v})}v="This API method is not configured for the platform (".concat(i.env.platform,")");return i.customLog(n.LogLevel.ERROR,[v]),Promise.reject({errorCode:n.ERROR_CODE.jsapi_internal_error,errorMessage:v})}))},this.isLogQueueTimeout=!1,this.customLog=function(t,e){var a={level:t,text:e,time:new Date};!0===i.devConfig.debug?i.customLogInstance(a):i.isLogQueueTimeout||(i.logQueueTimer||(i.logQueueTimer=setTimeout((function(){i.isLogQueueTimeout=!0,i.logQueue=[]}),1e4)),i.logQueue.push(a),i.logQueue.length>10&&(i.logQueue=i.logQueue.slice(i.logQueue.length-10)))},this.clearLogQueue=function(){i.logQueue.forEach((function(t){i.customLogInstance(t)})),i.logQueue=[]},this.customLogInstance=e,this.env=t,this.bridgeInitFn=function(){if(i.bridgeInitFnPromise&&!i.isBridgeDrity)return i.bridgeInitFnPromise;i.isBridgeDrity=!1;var e=i.platformConfigMap[t.platform];if(e)i.bridgeInitFnPromise=e.bridgeInit().catch((function(t){return i.customLog(n.LogLevel.ERROR,["\b\b\b\b\bJsBridge initialization fails, jsapi will not work"]),Promise.reject(t)}));else{var a="Do not support the current environment:".concat(t.platform);i.customLog(n.LogLevel.WARNING,[a]),i.bridgeInitFnPromise=Promise.reject(new Error(a))}return i.bridgeInitFnPromise};var r=function(t){void 0===t&&(t={}),i.devConfig=Object.assign(i.devConfig,t),!0===t.debug&&i.clearLogQueue(),t.extraPlatform&&i.setPlatform(t.extraPlatform)};this.exportSdk={config:function(e){void 0===e&&(e={});var a=!0;Object.keys(e).forEach((function(t){-1===["debug","usePromise"].indexOf(t)&&(a=!1)})),a?(i.customLog(n.LogLevel.WARNING,["This is a deprecated feature, recommend use dd.devConfig"]),r(e)):i.hadConfig?i.customLog(n.LogLevel.WARNING,["Config has been executed"]):(e.jsApiList&&(i.configJsApiList=e.jsApiList),i.hadConfig=!0,i.bridgeInitFn().then((function(a){var n=i.platformConfigMap[t.platform],r=e;n.authParamsDeal&&(r=n.authParamsDeal(r)),a(n.authMethod,r).then((function(t){i.isReady=!0,i.p.resolve(t)})).catch((function(t){i.isReady=!1,i.p.reject(t)}))}),(function(t){i.customLog(n.LogLevel.ERROR,['\b\b\b\b\bJsBridge initialization failed and "dd.config" failed to call']),i.p.reject(t)})))},devConfig:r,ready:function(t){!1===i.hadConfig?(i.customLog(n.LogLevel.WARNING,["You don 't use a dd.config, so you don't need to wrap dd.ready, recommend remove dd.ready"]),i.bridgeInitFn().then((function(){t()}))):i.config$.then((function(e){t()}))},error:function(t){i.config$.catch((function(e){t(e)}))},on:function(e,a){i.bridgeInitFn().then((function(){i.platformConfigMap[t.platform].event.on(e,a)}))},off:function(e,a){i.bridgeInitFn().then((function(){i.platformConfigMap[t.platform].event.off(e,a)}))},env:t,checkJsApi:function(e){void 0===e&&(e={});var r={};return e.jsApiList&&e.jsApiList.forEach((function(e){var o=i.invokeAPIConfigMapByMethod[e];if(o){var s=o[t.platform],c=a(s,t);c&&t.version&&(0,n.compareVersion)(t.version,c)&&(r[e]=!0)}r[e]||(r[e]=!1)})),Promise.resolve(r)},_invoke:function(t,e){return void 0===e&&(e={}),i.invokeAPI(t,e,!1)}}}return t}();e.Sdk=r},9680:function(t,e){function i(t,e,i,a,n,r,o){if(0===n)return!1;var s=n,c=0,l=t;if(o>e+s&&o>a+s||ot+s&&r>i+s||r0;(r>>>=1)&&(e+=e))1&r&&(i+=e);return i}},9850:function(t,e,i){var a=i("401b"),n=i("1687"),r=a.applyTransform,o=Math.min,s=Math.max;function c(t,e,i,a){i<0&&(t+=i,i=-i),a<0&&(e+=a,a=-a),this.x=t,this.y=e,this.width=i,this.height=a}c.prototype={constructor:c,union:function(t){var e=o(t.x,this.x),i=o(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],a=[];return function(n){if(n){t[0]=i[0]=this.x,t[1]=a[1]=this.y,e[0]=a[0]=this.x+this.width,e[1]=i[1]=this.y+this.height,r(t,t,n),r(e,e,n),r(i,i,n),r(a,a,n),this.x=o(t[0],e[0],i[0],a[0]),this.y=o(t[1],e[1],i[1],a[1]);var c=s(t[0],e[0],i[0],a[0]),l=s(t[1],e[1],i[1],a[1]);this.width=c-this.x,this.height=l-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,a=t.height/e.height,r=n.create();return n.translate(r,r,[-e.x,-e.y]),n.scale(r,r,[i,a]),n.translate(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof c||(t=c.create(t));var e=this,i=e.x,a=e.x+e.width,n=e.y,r=e.y+e.height,o=t.x,s=t.x+t.width,l=t.y,d=t.y+t.height;return!(a=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new c(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},c.create=function(t){return new c(t.x,t.y,t.width,t.height)};var l=c;t.exports=l},"98b7":function(t,e){var i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i},"98e9":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){return function(t){function e(a){if(i[a])return i[a].exports;var n=i[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,a){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=721)}({199:function(t,e,i){"use strict";var a=i(201);t.exports=a},201:function(t,e,i){"use strict";var a=i(203),n=i(204),r=i(202),o=i(205),s=new r,c=!1,l="",d=null,u={},f=/{.*}/;try{var h=window.name.match(f);if(h&&h[0])u=JSON.parse(h[0])}catch(t){u={}}u.hostOrigin&&".dingtalk.com"===u.hostOrigin.split(":")[1].slice(0-".dingtalk.com".length)&&u.containerId&&(c=!0,l=u.hostOrigin,d=u.containerId);var p={},m=new Promise((function(t,e){p._resolve=t,p._reject=e})),v={},g=null;window.top!==window?(g=window.top,p._resolve()):"object"==typeof dingtalk&&"object"==typeof dingtalk.platform&&"function"==typeof dingtalk.platform.invokeAPI&&(g=window,p._resolve()),v[o.SYS_INIT]=function(t){g=t.frameWindow,p._resolve(),t.respond({})},window.addEventListener("message",(function(t){var e=t.data,i=t.origin;if(i===l)if("response"===e.type&&e.msgId){var a=e.msgId,r=s.getMsyById(a);r&&r.methodName!==o.SYS_EVENT&&r.receiveResponse(e.body,!e.success)}else if("event"===e.type&&e.msgId){a=e.msgId,r=s.getMsyById(a);r&&r.receiveEvent(e.eventName,e.body)}else if("request"===e.type&&e.msgId){r=new n(t.source,i,e);v[r.methodName]&&v[r.methodName](r)}})),e.invokeAPI=function(t,e){var i=new a(d,t,e);return c&&m.then((function(){g&&g.postMessage(i.getPayload(),l),s.addPending(i)})),i};var b=null;e.addEventListener=function(t,i){b||(b=e.invokeAPI(o.SYS_EVENT,{})),b.addEventListener(t,i)},e.removeEventListener=function(t,e){b&&b.removeEventListener(t,e)}},202:function(t,e,i){"use strict";var a=function(){this.pendingMsgs={}};a.prototype.addPending=function(t){this.pendingMsgs[t.id]=t;var e=function(){delete this.pendingMsgs[t.id],t.removeEventListener("_finish",e)}.bind(this);t.addEventListener("_finish",e)},a.prototype.getMsyById=function(t){return this.pendingMsgs[t]},t.exports=a},203:function(t,e,i){"use strict";var a=i(716),n=i(715),r=0,o=Math.floor(1e3*Math.random()),s=function(){return 1e3*(1e3*o+Math.floor(1e3*Math.random()))+ ++r%1e3},c={code:408,reason:"timeout"},l={TIMEOUT:"_timeout",FINISH:"_finish"},d={timeout:-1},u=function(t,e,i,a){this.id=s(),this.methodName=e,this.containerId=t,this.option=n({},d,a);i=i||{};this._p={},this.result=new Promise(function(t,e){this._p._resolve=t,this._p._reject=e}.bind(this)),this.callbacks={},this.plainMsg=this._handleMsg(i),this._eventsHandle={},this._timeoutTimer=null,this._initTimeout(),this.isFinish=!1};u.prototype._initTimeout=function(){this._clearTimeout(),this.option.timeout>0&&(this._timeoutTimer=setTimeout(function(){this.receiveEvent(l.TIMEOUT),this.receiveResponse(c,!0)}.bind(this),this.option.timeout))},u.prototype._clearTimeout=function(){clearTimeout(this._timeoutTimer)},u.prototype._handleMsg=function(t){var e={};return Object.keys(t).forEach(function(i){var n=t[i];"function"==typeof n&&"on"===i.slice(0,2)?this.callbacks[i]=n:e[i]=a(n)}.bind(this)),e},u.prototype.getPayload=function(){return{msgId:this.id,containerId:this.containerId,methodName:this.methodName,body:this.plainMsg,type:"request"}},u.prototype.receiveEvent=function(t,e){if(this.isFinish&&t!==l.FINISH)return!1;t!==l.FINISH&&t!==l.TIMEOUT&&this._initTimeout(),Array.isArray(this._eventsHandle[t])&&this._eventsHandle[t].forEach((function(t){try{t(e)}catch(t){console.error(e)}}));var i="on"+t.charAt(0).toUpperCase()+t.slice(1);return this.callbacks[i]&&this.callbacks[i](e),!0},u.prototype.addEventListener=function(t,e){if(!t||"function"!=typeof e)throw"eventName is null or handle is not a function, addEventListener fail";Array.isArray(this._eventsHandle[t])||(this._eventsHandle[t]=[]),this._eventsHandle[t].push(e)},u.prototype.removeEventListener=function(t,e){if(!t||!e)throw"eventName is null or handle is null, invoke removeEventListener fail";if(Array.isArray(this._eventsHandle[t])){var i=this._eventsHandle[t].indexOf(e);-1!==i&&this._eventsHandle[t].splice(i,1)}},u.prototype.receiveResponse=function(t,e){if(!0===this.isFinish)return!1;this._clearTimeout();e=!!e;return e?this._p._reject(t):this._p._resolve(t),setTimeout(function(){this.receiveEvent(l.FINISH)}.bind(this),0),this.isFinish=!0,!0},t.exports=u},204:function(t,e,i){"use strict";var a=function(t,e,i){if(this._msgId=i.msgId,this.frameWindow=t,this.methodName=i.methodName,this.clientOrigin=e,this.containerId=i.containerId,this.params=i.body,!this._msgId)throw"msgId not exist";if(!this.frameWindow)throw"frameWindow not exist";if(!this.methodName)throw"methodName not exits";if(!this.clientOrigin)throw"clientOrigin not exist";this.hasResponded=!1};a.prototype.respond=function(t,e){e=!!e;if(!0!==this.hasResponded){var i={type:"response",success:!e,body:t,msgId:this._msgId};this.frameWindow.postMessage(i,this.clientOrigin),this.hasResponded=!0}},a.prototype.emit=function(t,e){var i={type:"event",eventName:t,body:e,msgId:this._msgId};this.frameWindow.postMessage(i,this.clientOrigin)},t.exports=a},205:function(t,e,i){"use strict";t.exports={SYS_EVENT:"SYS_openAPIContainerInitEvent",SYS_INIT:"SYS_openAPIContainerInit"}},4:function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},714:function(t,e,i){(function(t,i){function a(t,e){return t.set(e[0],e[1]),t}function n(t,e){return t.add(e),t}function r(t,e){for(var i=-1,a=t.length;++i-1}function C(t,e){var i=this.__data__,a=V(i,t);return a<0?i.push([t,e]):i[a][1]=e,this}function S(t){var e=-1,i=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=It}function xt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function wt(t){return!!t&&"object"==typeof t}function Ct(t){return!!xt(t)&&(yt(t)||d(t)?be:ee).test(mt(t))}function St(t){return"string"==typeof t||!Ue(t)&&wt(t)&&ge.call(t)==zt}function Mt(t){var e=pt(t);if(!e&&!bt(t))return H(t);var i=ut(t),a=!!i,n=i||[],r=n.length;for(var o in t)!B(t,o)||a&&("length"==o||ft(o,r))||e&&"constructor"==o||n.push(o);return n}var Tt=200,Pt="__lodash_hash_undefined__",It=9007199254740991,Ot="[object Arguments]",Et="[object Boolean]",jt="[object Date]",Dt="[object Function]",At="[object GeneratorFunction]",Nt="[object Map]",Lt="[object Number]",$t="[object Object]",Vt="[object RegExp]",Rt="[object Set]",zt="[object String]",Ft="[object Symbol]",Ut="[object ArrayBuffer]",Bt="[object DataView]",Ht="[object Float32Array]",Wt="[object Float64Array]",Yt="[object Int8Array]",qt="[object Int16Array]",Gt="[object Int32Array]",Kt="[object Uint8Array]",Xt="[object Uint8ClampedArray]",Jt="[object Uint16Array]",Zt="[object Uint32Array]",Qt=/[\\^$.*+?()[\]{}|]/g,te=/\w*$/,ee=/^\[object .+?Constructor\]$/,ie=/^(?:0|[1-9]\d*)$/,ae={};ae[Ot]=ae["[object Array]"]=ae[Ut]=ae[Bt]=ae[Et]=ae[jt]=ae[Ht]=ae[Wt]=ae[Yt]=ae[qt]=ae[Gt]=ae[Nt]=ae[Lt]=ae[$t]=ae[Vt]=ae[Rt]=ae[zt]=ae[Ft]=ae[Kt]=ae[Xt]=ae[Jt]=ae[Zt]=!0,ae["[object Error]"]=ae[Dt]=ae["[object WeakMap]"]=!1;var ne={function:!0,object:!0},re=ne[typeof e]&&e&&!e.nodeType?e:void 0,oe=ne[typeof t]&&t&&!t.nodeType?t:void 0,se=oe&&oe.exports===re?re:void 0,ce=l(re&&oe&&"object"==typeof i&&i),le=l(ne[typeof self]&&self),de=l(ne[typeof window]&&window),ue=l(ne[typeof this]&&this),fe=ce||de!==(ue&&ue.window)&&de||le||ue||Function("return this")(),he=Array.prototype,pe=Object.prototype,me=Function.prototype.toString,ve=pe.hasOwnProperty,ge=pe.toString,be=RegExp("^"+me.call(ve).replace(Qt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_e=se?fe.Buffer:void 0,ye=fe.Symbol,ke=fe.Uint8Array,xe=Object.getOwnPropertySymbols,we=Object.create,Ce=pe.propertyIsEnumerable,Se=he.splice,Me=Object.getPrototypeOf,Te=Object.keys,Pe=nt(fe,"DataView"),Ie=nt(fe,"Map"),Oe=nt(fe,"Promise"),Ee=nt(fe,"Set"),je=nt(fe,"WeakMap"),De=nt(Object,"create"),Ae=mt(Pe),Ne=mt(Ie),Le=mt(Oe),$e=mt(Ee),Ve=mt(je),Re=ye?ye.prototype:void 0,ze=Re?Re.valueOf:void 0;h.prototype.clear=p,h.prototype.delete=m,h.prototype.get=v,h.prototype.has=g,h.prototype.set=b,_.prototype.clear=y,_.prototype.delete=k,_.prototype.get=x,_.prototype.has=w,_.prototype.set=C,S.prototype.clear=M,S.prototype.delete=T,S.prototype.get=P,S.prototype.has=I,S.prototype.set=O,E.prototype.clear=j,E.prototype.delete=D,E.prototype.get=A,E.prototype.has=N,E.prototype.set=L;var Fe=function(t){return function(t){return null==t?void 0:t.length}}();xe||(ot=function(){return[]}),(Pe&&st(new Pe(new ArrayBuffer(1)))!=Bt||Ie&&st(new Ie)!=Nt||Oe&&"[object Promise]"!=st(Oe.resolve())||Ee&&st(new Ee)!=Rt||je&&"[object WeakMap]"!=st(new je))&&(st=function(t){var e=ge.call(t),i=e==$t?t.constructor:void 0,a=i?mt(i):void 0;if(a)switch(a){case Ae:return Bt;case Ne:return Nt;case Le:return"[object Promise]";case $e:return Rt;case Ve:return"[object WeakMap]"}return e});var Ue=Array.isArray,Be=_e?function(t){return t instanceof _e}:function(t){return function(){return!1}}();t.exports=z}).call(e,i(719)(t),i(4))},715:function(t,e,i){function a(t,e,i){var a=t[e];y.call(t,e)&&c(a,i)&&(void 0!==i||e in t)||(t[e]=i)}function n(t,e,i,n){i||(i={});for(var r=-1,o=e.length;++r-1&&t%1==0&&t-1&&t%1==0&&t<=m}function f(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var h=i(717),p=i(718),m=9007199254740991,v="[object Function]",g="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,_=Object.prototype,y=_.hasOwnProperty,k=_.toString,x=_.propertyIsEnumerable,w=!x.call({valueOf:1},"valueOf"),C=function(t){return function(t){return null==t?void 0:t.length}}(),S=function(t){return p((function(e,i){var a=-1,n=i.length,r=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(r=t.length>3&&"function"==typeof r?(n--,r):void 0,s&&o(i[0],i[1],s)&&(r=n<3?void 0:r,n=1),e=Object(e);++a-1&&t%1==0&&t-1&&t%1==0&&t<=m}function f(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function h(t){return!!t&&"object"==typeof t}function p(t){return c(t)?a(t):n(t)}var m=9007199254740991,v="[object Arguments]",g="[object Function]",b="[object GeneratorFunction]",_=/^(?:0|[1-9]\d*)$/,y=Object.prototype,k=y.hasOwnProperty,x=y.toString,w=y.propertyIsEnumerable,C=function(t,e){return function(i){return t(e(i))}}(Object.keys,Object),S=Array.isArray;t.exports=p},718:function(t,e){function i(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function a(t,e){return e=w(void 0===e?t.length-1:e,0),function(){for(var a=arguments,n=-1,r=w(a.length-e,0),o=Array(r);++n0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(i.tasks.length))]):t._e()]),e("div",{staticClass:"stage-menu-toggler popover"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v("编辑任务列表")])]),e("a",{staticClass:"menu-toggler-title",attrs:{href:"javascript:void(0)"}},[e("a-icon",{staticStyle:{"font-size":"18px"},attrs:{type:"ellipsis"}})],1)],2),e("a-menu",{attrs:{slot:"overlay",selectable:!1},on:{click:t.doStage},slot:"overlay"},[e("a-menu-item",{key:"setExecutor_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"user"}}),t._v("\n 设置本列所有任务执行者\n ")],1),e("a-menu-item",{key:"recycleBatch_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"delete"}}),t._v("\n 本列所有任务移到回收站\n ")],1)],1)],1)],1)]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":i.showTaskCard}},[e("vue-scroll",{ref:a+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:i.code,"task-type-index":a}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:i.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.unDoneTasks,(function(i,n){return[!i.done&&i.canRead?e("div",{key:i.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(i.pri),attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:a>0?"top":"right"}},[e("template",{slot:"title"},[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[i.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(i.status),fontSize:"12px"}},[t._v(t._s(i.statusText))]):t._e(),i.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(i.end_time)},[e("span",{attrs:{title:i.end_time}},[t._v("\n "+t._s(t.showTaskTime(i.begin_time,i.end_time))+"\n ")])]):t._e(),i.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),i.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),i.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),i.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(i.childCount[1])+"/"+t._s(i.childCount[0]))])],1):t._e(),t._l(i.tags,(function(i){return e("span",{key:i.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(i.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(i.tag.name)+"\n ")],1)})),i.execute_state>0?e("span",{class:"icon-wrapper text text-"+i.task_execute.color},[t._v(t._s(i.task_execute_name))]):t._e(),i.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(i.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(i.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+a}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(a),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(i.code,a)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(i,a){return e("a-menu-item",{key:a},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:i.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(i.name))]),i.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(a,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(i.code,a)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.doneTasks,(function(i,n){return[i.canRead?e("div",{key:i.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),i.executor&&i.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(i.task_tag_item_list,(function(i,a){return e("span",{key:i.code,staticClass:"tag muted",class:"tag-color-"+i.color},[t._v("\n "+t._s(i.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(i.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(i.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{staticClass:"member-list-item"},[i.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(i,a)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(i)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("抄送")])])}],r=(i("8e6e"),i("456d"),i("7514"),i("20d6"),i("28a5"),i("55dd"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("2ef0"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("b76a"),h=i.n(f),p=i("f8c7"),m=i("d3a1"),v=i("58bf"),g=i("51e2"),b=i("b83b"),_=i("e3cc"),y=i("1d80"),k=i("e507"),x=i("24d2"),w=i("9f5d"),C=i("b199"),S=i("2f14"),M=i("81fe"),T=i("4200"),P=i("97a8");function I(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function O(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],i=this;Object(k["d"])({projectCode:this.code,pageSize:30}).then((function(a){var n=[];if(e?t.taskStages=n=a.data.list:a.data.list.forEach((function(t){t.tasksLoading=!1,n.push(t)})),n){i.taskSearchParams;n.forEach((function(t,a){t.page=1,i.getTasks(t,a,e)}))}}))},getTasks:function(t,e,i){var a=this,n=this.taskSearchParams,r={};r={stageCode:t.code,type:"copied_list"},r=Object.assign(r,n),Object(k["h"])(r).then((function(n){var r=0;n.data.forEach((function(e){e.canRead||r++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=r,t.tasksLoading=!1,t.tasks=n.data,i||a.$set(a.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=i,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(P["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,i=this;if(i.createTaskLoading)return i.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===i.createTaskLoading&&i.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),i.createTaskLoading=!0,Object(C["s"])(i.task).then((function(a){i.createTaskLoading=!1;var n=Object(S["a"])(a);if(n){i.$message.destroy();var r=i.taskStages[t];r.tasks.push(a.data),i.taskStages[t].unDoneTasks.push(a.data),i.task={},e.taskDetail(a.data.code,t),console.log(O({},a.data))}})).catch((function(){i.createTaskLoading=!1}))},taskDone:function(t,e,i,a){var n=this,r=null,o=this.taskStages[e].unDoneTasks,s=this.taskStages[e].doneTasks;if(r=a?o[i]:s[i],r.hasUnDone)return!1;r.done=a,a?(o.splice(i,1),s.push(r),s=s.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(s.splice(i,1),o.push(r),o=o.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(C["z"])(t,a).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;n.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,i=this,a=t.key.split("_"),n=a[a.length-2],r=a[a.length-1],o=a[0];switch(o){case"editStage":this.stageModal.stageCode=n,this.stageModal.stageIndex=r,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[r].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return i.taskStages[r].tasks=[],i.$set(i.taskStages[r],"doneTasks",[]),Object(C["r"])({stageCode:n}).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;i.$set(i.taskStages[r],"doneTasks",[]),i.$set(i.taskStages[r],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=r,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[r].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["b"])(n),i.taskStages.splice(r,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(k["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var i=Object(S["a"])(e);if(!i)return!1;var a=e.data;t.taskStages.push(a),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(k["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(i){var a=Object(S["a"])(i);if(!a)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,i=this.taskStages[this.projectMemberModal.currentStageIndex],a=[];i.tasks.forEach((function(t){t.canRead&&a.push(t.code)})),a?Object(C["c"])({taskCodes:JSON.stringify(a),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(S["a"])(t))return!1;Object(k["h"])({stageCode:i.code,type:"copied_list"}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),i.canNotReadCount=e,i.tasksLoading=!1,i.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(M["a"])(t,e)},taskDetail:function(t,e){var i=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){i.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(k["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),i=[],a="",n=0,r=t.to.children.length;n0&&(o=null===o?c:Math.min(o,c))}i[n]=o}}return i}function g(t){var e=v(t),i=[];return a.each(t,(function(t){var a,n=t.coordinateSystem,o=n.getBaseAxis(),s=o.getExtent();if("category"===o.type)a=o.getBandWidth();else if("value"===o.type||"time"===o.type){var c=o.dim+"_"+o.index,l=e[c],d=Math.abs(s[1]-s[0]),u=o.scale.getExtent(),p=Math.abs(u[1]-u[0]);a=l?d/p*l:d}else{var m=t.getData();a=Math.abs(s[1]-s[0])/m.count()}var v=r(t.get("barWidth"),a),g=r(t.get("barMaxWidth"),a),b=r(t.get("barMinWidth")||1,a),_=t.get("barGap"),y=t.get("barCategoryGap");i.push({bandWidth:a,barWidth:v,barMaxWidth:g,barMinWidth:b,barGap:_,barCategoryGap:y,axisKey:h(o),stackId:f(t)})})),b(i)}function b(t){var e={};a.each(t,(function(t,i){var a=t.axisKey,n=t.bandWidth,r=e[a]||{bandWidth:n,remainedWidth:n,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[a]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var c=t.barWidth;c&&!o[s].width&&(o[s].width=c,c=Math.min(r.remainedWidth,c),r.remainedWidth-=c);var l=t.barMaxWidth;l&&(o[s].maxWidth=l);var d=t.barMinWidth;d&&(o[s].minWidth=d);var u=t.barGap;null!=u&&(r.gap=u);var f=t.barCategoryGap;null!=f&&(r.categoryGap=f)}));var i={};return a.each(e,(function(t,e){i[e]={};var n=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),c=r(t.gap,1),l=t.remainedWidth,d=t.autoWidthCount,u=(l-s)/(d+(d-1)*c);u=Math.max(u,0),a.each(n,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){a=t.width;e&&(a=Math.min(a,e)),i&&(a=Math.max(a,i)),t.width=a,l-=a+c*a,d--}else{var a=u;e&&ea&&(a=i),a!==u&&(t.width=a,l-=a+c*a,d--)}})),u=(l-s)/(d+(d-1)*c),u=Math.max(u,0);var f,h=0;a.each(n,(function(t,e){t.width||(t.width=u),f=t,h+=t.width*(1+c)})),f&&(h-=f.width*c);var p=-h/2;a.each(n,(function(t,a){i[e][a]=i[e][a]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+c)}))})),i}function _(t,e,i){if(t&&e){var a=t[h(e)];return null!=a&&null!=i&&(a=a[f(i)]),a}}function y(t,e){var i=m(t,e),n=g(i),r={},o={};a.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),c=f(t),l=n[h(a)][c],d=l.offset,u=l.width,p=i.getOtherAxis(a),m=t.get("barMinHeight")||0;r[c]=r[c]||[],o[c]=o[c]||[],e.setLayout({bandWidth:l.bandWidth,offset:d,size:u});for(var v=e.mapDimension(p.dim),g=e.mapDimension(a.dim),b=s(e,v),_=p.isHorizontal(),y=C(a,p,b),k=0,x=e.count();k=0?"p":"n",E=y;if(b&&(r[c][I]||(r[c][I]={p:y,n:y}),E=r[c][I][O]),_){var j=i.dataToPoint([P,I]);w=E,S=j[1]+d,M=j[0]-y,T=u,Math.abs(M)d||(f=d),{progress:h}}function h(t,e){var d,h=t.count,p=new u(2*h),m=new u(2*h),v=new u(h),g=[],b=[],_=0,y=0;while(null!=(d=t.next()))b[l]=e.get(o,d),b[1-l]=e.get(s,d),g=i.dataToPoint(b,null,g),m[_]=c?a.x+a.width:g[0],p[_++]=g[0],m[_]=c?g[1]:a.y+a.height,p[_++]=g[1],v[y++]=d;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:m,barWidth:f,valueAxisStart:C(n,r,!1),backgroundStart:c?a.x:a.y,valueAxisHorizontal:c})}}};function x(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function C(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=m,e.makeColumnLayout=g,e.retrieveColumnLayout=_,e.layout=y,e.largeLayout=k},"9d72":function(t,e,i){"use strict";i("cb13")},"9dd2":function(t,e,i){"use strict";function a(t){var e=Object.assign({},t,{isBatchApi:!0});return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/resource-picker/".concat(r.isMobile?"mob":"index",".html?scene=addCoolAppToGroup¶ms=").concat(encodeURIComponent(JSON.stringify(e))),target:r.isMobile?"":"float",title:"选择会话添加应用",wnId:"addCoolAppToGroup",panelHeight:"percent90"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.batchInstallCoolApp=void 0,i("c526");var n=i("5575"),r=i("2983");e.batchInstallCoolApp=a},"9e2e":function(t,e,i){var a=i("a73c"),n=i("9850"),r=i("82eb"),o=r.WILL_BE_RESTORED,s=new n,c=function(){};c.prototype={constructor:c,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&a.normalizeTextStyle(i,!0);var n=i.text;if(null!=n&&(n+=""),a.needDrawText(n,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),a.renderText(this,t,n,i,e,o),t.restore()}}};var l=c;t.exports=l},"9e31":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.ut$=void 0;var r=i("c6b3"),o="biz.util.ut",s=function(t){var e=Object.assign({},t),i=e.value,a=[];if(i&&"object"==typeof i){for(var n in i)void 0!==i[n]&&a.push(n+"="+i[n]);i=a.join(",")}return e.value=i||"",e};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.5.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:function(t){var e=Object.assign({},t),i=e.value;return i&&"object"==typeof i&&(i=JSON.stringify(i)),e.value=i,e}},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:s},n)),e.ut$=a,e.default=a},"9e47":function(t,e,i){var a=i("6d8b"),n=i("71ad"),r=i("6cb7"),o=i("f934"),s=o.getLayoutParams,c=o.mergeLayoutParam,l=i("8e43"),d=["value","category","time","log"];function u(t,e,i,o){a.each(d,(function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,n){var o=this.layoutMode,l=o?s(e):{},d=n.getTheme();a.merge(e,d.get(r+"Axis")),a.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&c(e,l,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=l.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:a.mergeAll([{},n[r+"Axis"],o],!0)})})),r.registerSubTypeDefaulter(t+"Axis",a.curry(i,t))}t.exports=u},"9e78":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.language=e.compareVersion=e.other=e.pc=e.android=e.ios=void 0;var a=i("8c4c"),n=(0,a.getENV)();e.ios=n.platform===a.ENV_ENUM.ios,e.android=n.platform===a.ENV_ENUM.android,e.pc=n.platform===a.ENV_ENUM.pc,e.other=n.platform===a.ENV_ENUM.notInDingTalk;var r=function(t,e,i){function a(t){return parseInt(t,10)||0}if("string"!=typeof t||"string"!=typeof e)return!1;for(var n,r,o=t.split("-")[0].split(".").map(a),s=e.split("-")[0].split(".").map(a);n===r&&s.length>0;)n=o.shift(),r=s.shift();return i?(r||0)>=(n||0):(r||0)>(n||0)};e.compareVersion=r,e.language=n.language,e.version=n.version},"9f51":function(t,e,i){var a=i("857d"),n=a.normalizeRadian,r=2*Math.PI;function o(t,e,i,a,o,s,c,l,d){if(0===c)return!1;var u=c;l-=t,d-=e;var f=Math.sqrt(l*l+d*d);if(f-u>i||f+uo&&(o+=r);var p=Math.atan2(d,l);return p<0&&(p+=r),p>=a&&p<=o||p+r>=a&&p+r<=o}e.containStroke=o},"9f82":function(t,e,i){var a=i("ee1a"),n=a.isDimensionStacked,r=i("6d8b"),o=r.map;function s(t,e,i){var a,r=t.getBaseAxis(),s=t.getOtherAxis(r),l=c(s,i),d=r.dim,u=s.dim,f=e.mapDimension(u),h=e.mapDimension(d),p="x"===u||"radius"===u?1:0,m=o(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(a|=n(e,m[0]))&&(m[0]=v),(a|=n(e,m[1]))&&(m[1]=v),{dataDimsForPoint:m,valueStart:l,valueAxisDim:u,baseAxisDim:d,stacked:!!a,valueDim:f,baseDim:h,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function c(t,e){var i=0,a=t.scale.getExtent();return"start"===e?i=a[0]:"end"===e?i=a[1]:a[0]>0?i=a[0]:a[1]<0&&(i=a[1]),i}function l(t,e,i,a){var n=NaN;t.stacked&&(n=i.get(i.getCalculationInfo("stackedOverDimension"),a)),isNaN(n)&&(n=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,a),o[1-r]=n,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=l},"9f99":function(t,e,i){"function"!=typeof Promise&&i("146a")},a02a:function(t,e,i){"use strict";i("dd18")},a15a:function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("9850"),o=i("e86a"),s=o.calculateTextPosition,c=n.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=e.width/2,r=e.height/2;t.moveTo(i,a-r),t.lineTo(i+n,a+r),t.lineTo(i-n,a+r),t.closePath()}}),l=n.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=e.width/2,r=e.height/2;t.moveTo(i,a-r),t.lineTo(i+n,a),t.lineTo(i,a+r),t.lineTo(i-n,a),t.closePath()}}),d=n.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,a=e.y,n=e.width/5*3,r=Math.max(n,e.height),o=n/2,s=o*o/(r-o),c=a-r+o+s,l=Math.asin(s/o),d=Math.cos(l)*o,u=Math.sin(l),f=Math.cos(l),h=.6*o,p=.7*o;t.moveTo(i-d,c+s),t.arc(i,c,o,Math.PI-l,2*Math.PI+l),t.bezierCurveTo(i+d-u*h,c+s+f*h,i,a-p,i,a),t.bezierCurveTo(i,a-p,i-d+u*h,c+s+f*h,i-d,c+s),t.closePath()}}),u=n.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,a=e.width,n=e.x,r=e.y,o=a/3*2;t.moveTo(n,r),t.lineTo(n+o,r+i),t.lineTo(n,r+i/4*3),t.lineTo(n-o,r+i),t.lineTo(n,r),t.closePath()}}),f={line:n.Line,rect:n.Rect,roundRect:n.Rect,square:n.Rect,circle:n.Circle,diamond:l,pin:d,arrow:u,triangle:c},h={line:function(t,e,i,a,n){n.x1=t,n.y1=e+a/2,n.x2=t+i,n.y2=e+a/2},rect:function(t,e,i,a,n){n.x=t,n.y=e,n.width=i,n.height=a},roundRect:function(t,e,i,a,n){n.x=t,n.y=e,n.width=i,n.height=a,n.r=Math.min(i,a)/4},square:function(t,e,i,a,n){var r=Math.min(i,a);n.x=t,n.y=e,n.width=r,n.height=r},circle:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.r=Math.min(i,a)/2},diamond:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.width=i,n.height=a},pin:function(t,e,i,a,n){n.x=t+i/2,n.y=e+a/2,n.width=i,n.height=a},arrow:function(t,e,i,a,n){n.x=t+i/2,n.y=e+a/2,n.width=i,n.height=a},triangle:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.width=i,n.height=a}},p={};a.each(f,(function(t,e){p[e]=new t}));var m=n.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var a=s(t,e,i),n=this.shape;return n&&"pin"===n.symbolType&&"inside"===e.textPosition&&(a.y=i.y+.4*i.height),a},buildPath:function(t,e,i){var a=e.symbolType;if("none"!==a){var n=p[a];n||(a="rect",n=p[a]),h[a](e.x,e.y,e.width,e.height,n.shape),n.buildPath(t,n.shape,i)}}});function v(t,e){if("image"!==this.type){var i=this.style,a=this.shape;a&&"line"===a.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function g(t,e,i,a,o,s,c){var l,d=0===t.indexOf("empty");return d&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),l=0===t.indexOf("image://")?n.makeImage(t.slice(8),new r(e,i,a,o),c?"center":"cover"):0===t.indexOf("path://")?n.makePath(t.slice(7),{},new r(e,i,a,o),c?"center":"cover"):new m({shape:{symbolType:t,x:e,y:i,width:a,height:o}}),l.__isEmptyBrush=d,l.setColor=v,l.setColor(s),l}e.createSymbol=g},a1ae:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5AndroidbridgeInit=void 0;var a,n=function(){return a||(a=new Promise((function(t,e){var i=function(){try{window.WebViewJavascriptBridgeAndroid=window.nuva&&window.nuva.require(),t({})}catch(t){e(t)}};window.nuva&&(void 0===window.nuva.isReady||window.nuva.isReady)?i():(document.addEventListener("runtimeready",(function(){i()}),!1),document.addEventListener("runtimefailed",(function(t){var i=t&&t.detail||{errorCode:"2",errorMessage:"unknown nuvajs bootstrap error"};e(i)}),!1))}))),a};e.h5AndroidbridgeInit=n;var r=function(t,i){return a||(a=(0,e.h5AndroidbridgeInit)()),a.then((function(){return new Promise((function(e,a){var n=t.split("."),r=n.pop()||"",o=n.join("."),s=function(t){"function"==typeof i.onSuccess&&i.onSuccess(t),e(t)},c=function(t){"function"==typeof i.onFail&&i.onFail(t),a(t)};"function"==typeof window.WebViewJavascriptBridgeAndroid&&window.WebViewJavascriptBridgeAndroid(s,c,o,r,i)}))}))};e.default=r},a1f3:function(t,e,i){},a22e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkBizCall$=void 0;var r=i("c6b3"),o="biz.telephone.checkBizCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"4.0.0"},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n)),e.checkBizCall$=a,e.default=a},a516:function(t,e,i){},a52f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.callComponent$=void 0;var r=i("c6b3"),o="biz.util.callComponent";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.35"},n[r.ENV_ENUM.android]={vs:"6.3.35"},n[r.ENV_ENUM.pc]={vs:"6.3.35"},n)),e.callComponent$=a,e.default=a},a5dc:function(t,e,i){"use strict";i("0bba")},a5e2:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.search$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.map.search",c=(0,o.genDefaultParamsDealFn)({scope:500});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.search$=a,e.default=a},a60d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.uploadFile$=void 0;var r=i("c6b3"),o="biz.util.uploadFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.28"},n[r.ENV_ENUM.android]={vs:"6.5.27"},n)),e.uploadFile$=a,e.default=a},a61f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stopRecord$=void 0;var r=i("c6b3"),o="device.audio.stopRecord";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.stopRecord$=a,e.default=a},a6b0:function(t,e,i){"use strict";i("a516")},a703:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isTab$=void 0;var r=i("c6b3"),o="biz.tabwindow.isTab";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.5.10"},n)),e.isTab$=a,e.default=a},a73c:function(t,e,i){var a=i("6d8b"),n=a.retrieve2,r=a.retrieve3,o=a.each,s=a.normalizeCssArray,c=a.isString,l=a.isObject,d=i("e86a"),u=i("5693"),f=i("5e76"),h=i("7d6d"),p=i("82eb"),m=p.ContextCachedBy,v=p.WILL_BE_RESTORED,g=d.DEFAULT_FONT,b={left:1,right:1,center:1},_={top:1,bottom:1,middle:1},y=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],k={},x={};function w(t){return C(t),o(t.rich,C),t}function C(t){if(t){t.font=d.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||b[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||_[i]?i:"top";var a=t.textPadding;a&&(t.textPadding=s(t.textPadding))}}function S(t,e,i,a,n,r){a.rich?T(t,e,i,a,n,r):M(t,e,i,a,n,r)}function M(t,e,i,a,n,r){"use strict";var o,s=E(a),c=!1,l=e.__attrCachedBy===m.PLAIN_TEXT;r!==v?(r&&(o=r.style,c=!s&&l&&o),e.__attrCachedBy=s?m.NONE:m.PLAIN_TEXT):l&&(e.__attrCachedBy=m.NONE);var u=a.font||g;c&&u===(o.font||g)||(e.font=u);var f=t.__computedFont;t.__styleFont!==u&&(t.__styleFont=u,f=t.__computedFont=e.font);var p=a.textPadding,b=a.textLineHeight,_=t.__textCotentBlock;_&&!t.__dirtyText||(_=t.__textCotentBlock=d.parsePlainText(i,f,p,b,a.truncate));var k=_.outerHeight,w=_.lines,C=_.lineHeight,S=A(x,t,a,n),M=S.baseX,T=S.baseY,P=S.textAlign||"left",O=S.textVerticalAlign;I(e,a,n,M,T);var D=d.adjustTextY(T,k,O),N=M,V=D;if(s||p){var z=d.getWidth(i,f),F=z;p&&(F+=p[1]+p[3]);var U=d.adjustTextX(M,F,P);s&&j(t,e,a,U,D,F,k),p&&(N=R(M,P,p),V+=p[0])}e.textAlign=P,e.textBaseline="middle",e.globalAlpha=a.opacity||1;for(var B=0;B=0&&(k=C[L],"right"===k.textAlign))O(t,e,k,a,M,b,N,"right"),T-=k.width,N-=k.width,L--;D+=(r-(D-g)-(_-N)-T)/2;while(P<=L)k=C[P],O(t,e,k,a,M,b,D+k.width/2,"center"),D+=k.width,P++;b+=M}}function I(t,e,i,a,n){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(a=i.width/2+i.x,n=i.height/2+i.y):r&&(a=r[0]+i.x,n=r[1]+i.y),t.translate(a,n),t.rotate(-e.textRotation),t.translate(-a,-n)}}function O(t,e,i,a,o,s,c,l){var d=a.rich[i.styleName]||{};d.text=i.text;var u=i.textVerticalAlign,f=s+o/2;"top"===u?f=s+i.height/2:"bottom"===u&&(f=s+o-i.height/2),!i.isLineHolder&&E(d)&&j(t,e,d,"right"===l?c-i.width:"center"===l?c-i.width/2:c,f-i.height/2,i.width,i.height);var h=i.textPadding;h&&(c=R(c,l,h),f-=i.height/2-h[2]-i.textHeight/2),N(e,"shadowBlur",r(d.textShadowBlur,a.textShadowBlur,0)),N(e,"shadowColor",d.textShadowColor||a.textShadowColor||"transparent"),N(e,"shadowOffsetX",r(d.textShadowOffsetX,a.textShadowOffsetX,0)),N(e,"shadowOffsetY",r(d.textShadowOffsetY,a.textShadowOffsetY,0)),N(e,"textAlign",l),N(e,"textBaseline","middle"),N(e,"font",i.font||g);var p=L(d.textStroke||a.textStroke,v),m=$(d.textFill||a.textFill),v=n(d.textStrokeWidth,a.textStrokeWidth);p&&(N(e,"lineWidth",v),N(e,"strokeStyle",p),e.strokeText(i.text,c,f)),m&&(N(e,"fillStyle",m),e.fillText(i.text,c,f))}function E(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function j(t,e,i,a,n,r,o){var s=i.textBackgroundColor,d=i.textBorderWidth,h=i.textBorderColor,p=c(s);if(N(e,"shadowBlur",i.textBoxShadowBlur||0),N(e,"shadowColor",i.textBoxShadowColor||"transparent"),N(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),N(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||d&&h){e.beginPath();var m=i.textBorderRadius;m?u.buildPath(e,{x:a,y:n,width:r,height:o,r:m}):e.rect(a,n,r,o),e.closePath()}if(p)if(N(e,"fillStyle",s),null!=i.fillOpacity){var v=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(l(s)){var g=s.image;g=f.createOrUpdateImage(g,null,t,D,s),g&&f.isImageReady(g)&&e.drawImage(g,a,n,r,o)}if(d&&h)if(N(e,"lineWidth",d),N(e,"strokeStyle",h),null!=i.strokeOpacity){v=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function D(t,e){e.image=t}function A(t,e,i,a){var n=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(a){var c=i.textPosition;if(c instanceof Array)n=a.x+V(c[0],a.width),r=a.y+V(c[1],a.height);else{var l=e&&e.calculateTextPosition?e.calculateTextPosition(k,i,a):d.calculateTextPosition(k,i,a);n=l.x,r=l.y,o=o||l.textAlign,s=s||l.textVerticalAlign}var u=i.textOffset;u&&(n+=u[0],r+=u[1])}return t=t||{},t.baseX=n,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function N(t,e,i){return t[e]=h(t,e,i),t[e]}function L(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function $(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function V(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function R(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function z(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=w,e.renderText=S,e.getBoxPosition=A,e.getStroke=L,e.getFill=$,e.parsePercent=V,e.needDrawText=z},a769:function(t,e,i){t.exports=i.p+"img/500.5e6bf3ad.svg"},a8b1:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.toConversationByOpenConversationId$=void 0;var r=i("c6b3"),o="biz.chat.toConversationByOpenConversationId";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.30"},n[r.ENV_ENUM.android]={vs:"5.1.30"},n[r.ENV_ENUM.pc]={vs:"5.1.33"},n)),e.toConversationByOpenConversationId$=a,e.default=a},a8ce:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isLocalFileExist$=void 0;var r=i("c6b3"),o="biz.util.isLocalFileExist";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.isLocalFileExist$=a,e.default=a},a906:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.clearWebStoreCache$=void 0;var r=i("c6b3"),o="biz.util.clearWebStoreCache";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.22"},n)),e.clearWebStoreCache$=a,e.default=a},a96b:function(t,e,i){var a=i("3eba"),n=a.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=n},aaa5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createGroup$=void 0;var r=i("c6b3"),o="biz.contact.createGroup";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n[r.ENV_ENUM.pc]={vs:"4.6.1"},n)),e.createGroup$=a,e.default=a},ab27:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe$=void 0;var r=i("c6b3"),o="biz.realm.subscribe";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.18"},n[r.ENV_ENUM.android]={vs:"4.7.18"},n)),e.subscribe$=a,e.default=a},ac0f:function(t,e,i){var a=i("cbe5"),n=i("401b"),r=i("4a3f"),o=r.quadraticSubdivide,s=r.cubicSubdivide,c=r.quadraticAt,l=r.cubicAt,d=r.quadraticDerivativeAt,u=r.cubicDerivativeAt,f=[];function h(t,e,i){var a=t.cpx2,n=t.cpy2;return null===a||null===n?[(i?u:l)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?u:l)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?d:c)(t.x1,t.cpx1,t.x2,e),(i?d:c)(t.y1,t.cpy1,t.y2,e)]}var p=a.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,a=e.y1,n=e.x2,r=e.y2,c=e.cpx1,l=e.cpy1,d=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(i,a),null==d||null==u?(h<1&&(o(i,c,n,h,f),c=f[1],n=f[2],o(a,l,r,h,f),l=f[1],r=f[2]),t.quadraticCurveTo(c,l,n,r)):(h<1&&(s(i,c,d,n,h,f),c=f[1],d=f[2],n=f[3],s(a,l,u,r,h,f),l=f[1],u=f[2],r=f[3]),t.bezierCurveTo(c,l,d,u,n,r)))},pointAt:function(t){return h(this.shape,t,!1)},tangentAt:function(t){var e=h(this.shape,t,!0);return n.normalize(e,e)}});t.exports=p},ad32:function(t,e,i){},ad47:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.download$=void 0;var r=i("c6b3"),o="device.audio.download";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.download$=a,e.default=a},addb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.toast$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.toast",c=(0,o.genDefaultParamsDealFn)({text:"toast",duration:3,delay:0});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0",paramsDeal:function(t){return t.icon&&!t.type&&("success"===t.icon?t.type="success":"error"===t.icon&&(t.type="error")),t}},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.toast$=a,e.default=a},ae15:function(t,e,i){},ae29:function(t,e,i){"use strict";i("c95f")},ae37:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.post$=void 0;var r=i("c6b3"),o="runtime.message.post";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.post$=a,e.default=a},ae69:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,a=e.cx,n=e.cy,r=e.rx,o=e.ry,s=r*i,c=o*i;t.moveTo(a-r,n),t.bezierCurveTo(a-r,n-c,a-s,n-o,a,n-o),t.bezierCurveTo(a+s,n-o,a+r,n-c,a+r,n),t.bezierCurveTo(a+r,n+c,a+s,n+o,a,n+o),t.bezierCurveTo(a-s,n+o,a-r,n+c,a-r,n),t.closePath()}});t.exports=n},af13:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.multipleChoose$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.customContact.multipleChoose",c=(0,o.genDefaultParamsDealFn)({isShowCompanyName:!1,max:50});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.multipleChoose$=a,e.default=a},af24:function(t,e,i){i("48c7"),i("f273")},af70:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.enable$=void 0;var r=i("c6b3"),o="ui.webViewBounce.enable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.enable$=a,e.default=a},af8a:function(t,e,i){},af9e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.hidePreloader$=void 0;var r=i("c6b3"),o="device.notification.hidePreloader";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.hidePreloader$=a,e.default=a},afa0:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e1fc"),o=i("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var c=function(){this._roots=[],this._displayList=[],this._displayListLen=0};c.prototype={constructor:c,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var l=c;t.exports=l},b0ad:function(t,e,i){t.exports=i.p+"img/403.41acc6f2.svg"},b0af:function(t,e,i){var a=i("2306"),n=i("3842"),r=n.round;function o(t,e,i){var n=t.getArea(),r=t.getBaseAxis().isHorizontal(),o=n.x,s=n.y,c=n.width,l=n.height,d=i.get("lineStyle.width")||2;o-=d/2,s-=d/2,c+=d,l+=d,o=Math.floor(o),c=Math.round(c);var u=new a.Rect({shape:{x:o,y:s,width:c,height:l}});return e&&(u.shape[r?"width":"height"]=0,a.initProps(u,{shape:{width:c,height:l}},i)),u}function s(t,e,i){var n=t.getArea(),o=new a.Sector({shape:{cx:r(t.cx,1),cy:r(t.cy,1),r0:r(n.r0,1),r:r(n.r,1),startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return e&&(o.shape.endAngle=n.startAngle,a.initProps(o,{shape:{endAngle:n.endAngle}},i)),o}function c(t,e,i){return t?"polar"===t.type?s(t,e,i):"cartesian2d"===t.type?o(t,e,i):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=c},b12f:function(t,e,i){var a=i("e1fc"),n=i("8918"),r=i("625e"),o=function(){this.group=new a,this.uid=n.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,a){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,a){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var c=o;t.exports=c},b1d4:function(t,e,i){var a=i("862d");function n(t,e){return e=e||{},a(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=n},b2d4:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=this,i=e._self._c;return i("div",{staticClass:"account-setting-security"},[i("wrapper-content",{attrs:{showHeader:!1}},[i("div",{staticClass:"setting-content"},[i("account-setting",{attrs:{keys:["security"]}}),i("div",{staticClass:"layout-item right"},[i("div",{staticClass:"setting-info-title"},[i("span",[e._v("安全设置")])]),i("div",{staticClass:"setting-info"},[i("div",{staticClass:"setting-info-content"},[i("div",{staticClass:"ant-list ant-list-split"},[i("div",{staticClass:"ant-spin-nested-loading"},[i("div",{staticClass:"ant-spin-container"},[i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("账户密码")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e._v("当前密码强度 : 强")])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editPassword}},[i("a",[e._v("修改")])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("手机账号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.mobile?i("span",[e._v("已绑定手机 : "+e._s(e.userInfo.mobile))]):i("span",[e._v("未绑定手机")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editMobile}},[i("a",[e.userInfo.mobile?i("span",[e._v("修改")]):i("span",[e._v("绑定")])])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("邮箱帐号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.email?i("span",[e._v("已绑定邮箱 : "+e._s(e.userInfo.email))]):i("span",[e._v("未绑定邮箱")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editMail}},[i("a",[e.userInfo.email?i("span",[e._v("修改")]):i("span",[e._v("绑定")])])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("钉钉账号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.dingtalk_unionid?i("span",[e._v("已绑定")]):i("span",[e._v("未绑定钉钉账号")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[e.userInfo.dingtalk_unionid?i("li",{on:{click:e.unbindDingtalk}},[i("a",[e._v("解除绑定")])]):i("li",{on:{click:e.bindDingtalk}},[i("a",[e._v("绑定")])])])])])])])])])])],1)]),i("a-modal",{attrs:{width:385,title:e.passwordInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.passwordInfo.modalStatus,callback:function(t){e.$set(e.passwordInfo,"modalStatus",t)},expression:"passwordInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.form,autoFormCreate:function(e){t.form=e},hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handlePasswordSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"原密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"请输入原密码"}]}],expression:"[\n 'password',\n {rules: [{ required: true, message: '请输入原密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",{attrs:{label:"新密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["newPassword",{rules:[{required:!0,message:"请输入新密码"}]}],expression:"[\n 'newPassword',\n {rules: [{ required: true, message: '请输入新密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",{attrs:{label:"确认新密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["confirmPassword",{rules:[{required:!0,message:"请确认新密码"}]}],expression:"[\n 'confirmPassword',\n {rules: [{ required: true, message: '请确认新密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large"}},[e._v("保存")])],1)],1)],1),i("a-modal",{staticClass:"mobile-modal",attrs:{width:385,title:e.mobileInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.mobileInfo.modalStatus,callback:function(t){e.$set(e.mobileInfo,"modalStatus",t)},expression:"mobileInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.mobileForm,hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handleMobileSubmit.apply(null,arguments)}}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mobile",{rules:[{required:!0,pattern:/^1[34578]\d{9}$/,message:"请输入正确的手机号"}],validateTrigger:"change"}],expression:"[\n 'mobile',\n {rules: [{ required: true, pattern: /^1[34578]\\d{9}$/, message: '请输入正确的手机号' }], validateTrigger: 'change'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"手机号"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),i("a-row",{attrs:{gutter:16}},[i("a-col",{staticClass:"gutter-row",attrs:{span:16}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["captcha",{rules:[{required:!0,message:"请输入验证码"}],validateTrigger:"blur"}],expression:"[\n 'captcha',\n {rules: [{ required: true, message: '请输入验证码' }], validateTrigger: 'blur'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"验证码"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1)],1),i("a-col",{staticClass:"gutter-row",attrs:{span:8}},[i("a-button",{staticClass:"getCaptcha",attrs:{size:"large",tabindex:"-1",disabled:e.mobileInfo.state.smsSendBtn},domProps:{textContent:e._s(e.mobileInfo.state.smsSendBtn?e.mobileInfo.state.time+" s":"获取验证码")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.getCaptcha.apply(null,arguments)}}})],1)],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:e.mobileInfo.confirmLoading,disabled:e.mobileInfo.confirmLoading}},[e._v("绑定\n ")])],1)],1)],1),i("a-modal",{staticClass:"mail-modal",attrs:{width:385,title:e.mailInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.mailInfo.modalStatus,callback:function(t){e.$set(e.mailInfo,"modalStatus",t)},expression:"mailInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.mailForm,hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handleMailSubmit.apply(null,arguments)}}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mail",{rules:[{required:!0,pattern:/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/,message:"请输入正确的邮箱地址"}],validateTrigger:"change"}],expression:"[\n 'mail',\n {rules: [{ required: true, pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})$/, message: '请输入正确的邮箱地址' }], validateTrigger: 'change'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"邮箱地址"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:e.mailInfo.confirmLoading,disabled:e.mailInfo.confirmLoading}},[e._v("保存\n ")])],1)],1)],1)],1)},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("6821f"),s=i.n(o),c=i("2f62"),l=i("8eb6"),d=i("2f14"),u=i("c24f"),f=i("e1b8");function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function p(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";this.errorTips=t},getCaptcha:function(t){var e=this;t.preventDefault();var i=this;this.mobileForm.validateFields(["mobile"],{force:!0},(function(t,a){if(!t){e.mobileInfo.state.smsSendBtn=!0;var n=window.setInterval((function(){i.mobileInfo.state.time--<=0&&(i.mobileInfo.state.time=60,i.mobileInfo.state.smsSendBtn=!1,window.clearInterval(n))}),1e3);e.$message.loading("验证码发送中..",0);Object(u["u"])(a.mobile).then((function(t){if(e.$message.destroy(),!Object(d["a"])(t))return!1;var i="验证码获取成功";t.data&&(i+=",您的验证码为:"+t.data),e.$notification["success"]({message:"提示",description:i,duration:8,placement:"bottomLeft"})})).catch((function(t){clearInterval(n),i.mobileInfo.state.time=60,i.mobileInfo.state.smsSendBtn=!1,e.requestFailed(t)}))}}))}}},v=m,g=(i("c073"),i("2877")),b=Object(g["a"])(v,a,n,!1,null,null,null);e["default"]=b.exports},b2d5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.resetView$=void 0;var r=i("c6b3"),o="device.screen.resetView";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.0.0"},n[r.ENV_ENUM.ios]={vs:"4.0.0"},n)),e.resetView$=a,e.default=a},b387:function(t,e,i){"use strict";i("da28")},b39f:function(t,e,i){"use strict";i.d(e,"e",(function(){return n})),i.d(e,"f",(function(){return r})),i.d(e,"g",(function(){return o})),i.d(e,"a",(function(){return s})),i.d(e,"d",(function(){return c})),i.d(e,"c",(function(){return l})),i.d(e,"b",(function(){return d}));var a=i("22b6");function n(t){return a["a"].post("project/events",t)}function r(t){return a["a"].post("project/events/myList",t)}function o(t){return a["a"].post("project/events/read",t)}function s(t){return a["a"].post("project/events/confirmJoin",t)}function c(t){return a["a"].post("project/events/getEventsListByCalendar",t)}function l(t){var e="project/events/save";return t.code&&(e="project/events/edit"),a["a"].post(e,t)}function d(t){return a["a"].post("project/events/delete",t)}},b3ff:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-403"},[e("ErrorPage",[e("img",{attrs:{slot:"img",src:i("a769"),alt:""},slot:"img"})])],1)},n=[],r=i("8685"),o={components:{ErrorPage:r["a"]}},s=o,c=i("2877"),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},b59f:function(t,e,i){"use strict";i("54b9")},b5c7:function(t,e,i){var a=i("282b"),n=a([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=n(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=r},b719:function(t,e,i){var a=i("697e7");e.zrender=a;var n=i("1687");e.matrix=n;var r=i("401b");e.vector=r;var o=i("6d8b"),s=i("41ef");e.color=s;var c=i("2306"),l=i("3842");e.number=l;var d=i("eda2");e.format=d;var u=i("88b3");u.throttle;e.throttle=u.throttle;var f=i("1548");e.helper=f;var h=i("bda7");e.parseGeoJSON=h;var p=i("6179");e.List=p;var m=i("4319");e.Model=m;var v=i("84ce");e.Axis=v;var g=i("22d1");e.env=g;var b=h,_={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){_[t]=o[t]}));var y={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){y[t]=c[t]})),e.parseGeoJson=b,e.util=_,e.graphic=y},b729:function(t,e,i){"use strict";i("16d1")},b7f0:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getNetworkType$=void 0;var r=i("c6b3"),o="device.connection.getNetworkType";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.getNetworkType$=a,e.default=a},b809:function(t,e,i){var a=i("6d8b"),n=i("29a8"),r=i("2b17"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries((function(t,e){++r}),this);var s,c=i.get("data.maxCount")||10,l=i.get("series.maxCount")||10,d=Math.min(r,l);if(!(r<1)){var u=v();s=u?p(m("general.withTitle"),{title:u}):m("general.withoutTitle");var f=[],h=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(m(h),{seriesCount:r}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=m(a?n+"withName":n+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:g(t.subType)});var s=t.getData();window.data=s,s.count()>c?i+=p(m("data.partialData"),{displayCnt:c}):i+=m("data.allData");for(var l=[],u=0;u0&&t.animate(e,!1).when(null==n?500:n,s).delay(r||0)}function p(t,e,i,a){if(e){var n={};n[e]={},n[e][i]=a,t.attr(n)}else t.attr(i,a)}u.prototype={constructor:u,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var c=t.split("."),l=o;r="shape"===c[0];for(var u=0,f=c.length;u>1^-(1&s),c=c>>1^-(1&c),s+=n,c+=r,n=s,r=c,a.push([s/i,c/i])}return a}function s(t,e){return r(t),a.map(a.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,r=t.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&a.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var c=new n(i[e||"name"],s,i.cp);return c.properties=i,c}))}t.exports=s},be29:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseOneDay$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseOneDay";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n[r.ENV_ENUM.android]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n)),e.chooseOneDay$=a,e.default=a},beef:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-recycle-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource,locale:{emptyText:""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recovery",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("router-link",{attrs:{slot:"title",to:"/project/space/task/"+i.code},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("移动日期")]),e("span",[t._v(t._s(t.moment(i.deleted_time).format("YYYY-MM-DD")))])])])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1)],1)},n=[],r=i("24d2"),o=(i("2f14"),i("1b80")),s=i("c1df"),c=i.n(s),l={mixins:[o["a"]],data:function(){return{dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectId:0,newData:{id:0}}},created:function(){this.init()},methods:{moment:c.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=100,this.showLoadingMore=!1),this.requestData.recycle=1,this.requestData.type="other",e.loading=!0,Object(r["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectId=t.id,this.showInviteMember=!0},doAction:function(t,e,i){this.currentProject=t;var a=this;a.newData={id:0},"recovery"==e&&this.$confirm({title:"确定恢复项目?",content:"恢复「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"恢复项目",okType:"primary",cancelText:"再想想",onOk:function(){return Object(r["i"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})}}},d=l,u=(i("02de"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},bfef:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseHalfDay$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseHalfDay";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n[r.ENV_ENUM.android]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n)),e.chooseHalfDay$=a,e.default=a},c048:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.presentWindow$=void 0;var r=i("c6b3"),o="biz.util.presentWindow";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.presentWindow$=a,e.default=a},c073:function(t,e,i){"use strict";i("387a")},c0d0:function(t,e,i){"use strict";i("14cf")},c0d8:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reset-mail",staticStyle:{height:"100%"}},[e("div",{staticClass:"content"},[t.loading?t._e():e("a-card",{attrs:{title:t.isSuccess?"验证成功":"验证失败"}},[e("div",{staticClass:"header m-b-lg text-center"},[e("p",[e("a-icon",{class:{icon:!0,isSuccess:t.isSuccess,error:!t.isSuccess},attrs:{type:t.isSuccess?"check-circle":"close-circle"}})],1),t.isSuccess?e("span",[t._v("\n 您已成功绑定邮箱\n ")]):e("span",[t.tips?e("span",[t._v(t._s(t.tips))]):e("span",[t._v("绑定邮箱失败")])])]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",block:"",size:"large"},on:{click:t.toHome}},[e("span",[t._v("进入首页")])])],1)],1)])},n=[],r=i("c24f"),o=i("2f14"),s={data:function(){return{loading:!0,isSuccess:!1,tips:""}},created:function(){this.checkBindMail()},methods:{checkBindMail:function(){var t=this;Object(r["e"])({token:this.$route.query.token}).then((function(e){if(t.loading=!1,!Object(o["a"])(e))return t.tips=e.msg,!1;t.isSuccess=!0}))}}},c=s,l=(i("b387"),i("2877")),d=Object(l["a"])(c,a,n,!1,null,null,null);e["default"]=d.exports},c27d:function(t,e,i){},c2be:function(t,e,i){var a=i("2306"),n=a.extendShape,r=n({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-n),s=n+o,c=e.startAngle,l=e.endAngle,d=e.clockwise,u=Math.cos(c),f=Math.sin(c),h=Math.cos(l),p=Math.sin(l),m=d?l-c<2*Math.PI:c-l<2*Math.PI;m&&(t.moveTo(u*n+i,f*n+a),t.arc(u*s+i,f*s+a,o,-Math.PI+c,c,!d)),t.arc(i,a,r,c,l,!d),t.moveTo(h*r+i,p*r+a),t.arc(h*s+i,p*s+a,o,l-2*Math.PI,l-Math.PI,!d),0!==n&&(t.arc(i,a,n,l,c,d),t.moveTo(u*n+i,p*n+a)),t.closePath()}});t.exports=r},c305:function(t,e,i){},c327:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.translateVoice$=void 0;var r=i("c6b3"),o="device.audio.translateVoice";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.translateVoice$=a,e.default=a},c3da:function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var n=i("6f0c"),r=i("4cbb");i("ef97");var o=a(i("6521")),s=Object.assign||function(t){for(var e=1;e"),t.forEach((function(t){var o=t.seriesName,s=t.data,c=t.marker,d=null,u=~l.indexOf(o)?i[1]:i[0],f=r.isArray(s)?s[1]:s;d=n.getFormated(f,u,a),e.push(c),e.push(o+": "+d),e.push("
")})),e.join("")}}}function f(t){var e=t.metrics,i=t.legendName,a=t.labelMap;if(!i&&!a)return{data:e};var n=a?e.map((function(t){return null==a[t]?t:a[t]})):e;return{data:n,formatter:function(t){return null!=i[t]?i[t]:t}}}var h=function(t,e,i,a){e=r.isArray(e)?e:[],t=r.isArray(t)?t:[];var n=i.axisSite,o=void 0===n?{}:n,s=i.yAxisType,h=void 0===s?["normal","normal"]:s,p=i.xAxisType,m=void 0===p?"category":p,v=i.yAxisName,g=void 0===v?[]:v,b=i.dimension,_=void 0===b?[t[0]]:b,y=i.xAxisName,k=void 0===y?[]:y,x=i.axisVisible,w=void 0===x||x,C=i.area,S=i.stack,M=i.scale,T=void 0===M?[!1,!1]:M,P=i.min,I=void 0===P?[null,null]:P,O=i.max,E=void 0===O?[null,null]:O,j=i.nullAddZero,D=void 0!==j&&j,A=i.digit,N=void 0===A?2:A,L=i.legendName,$=void 0===L?{}:L,V=i.labelMap,R=void 0===V?{}:V,z=i.label,F=i.itemStyle,U=i.lineStyle,B=i.areaStyle,H=a.tooltipVisible,W=a.legendVisible,Y=a.tooltipFormatter,q=t.slice();o.left&&o.right?q=o.left.concat(o.right):o.left&&!o.right?q=o.left:i.metrics?q=i.metrics:q.splice(t.indexOf(_[0]),1);var G=W&&f({metrics:q,legendName:$,labelMap:R}),K=H&&u({axisSite:o,yAxisType:h,digit:N,labelMap:R,xAxisType:m,tooltipFormatter:Y}),X=c({dimension:_,rows:e,xAxisName:k,axisVisible:w,xAxisType:m}),J=d({yAxisName:g,yAxisType:h,axisVisible:w,scale:T,min:I,max:E,digit:N}),Z=l({rows:e,axisSite:o,metrics:q,area:C,stack:S,nullAddZero:D,labelMap:R,label:z,itemStyle:F,lineStyle:U,areaStyle:B,xAxisType:m,dimension:_}),Q={legend:G,xAxis:X,series:Z,yAxis:J,tooltip:K};return Q},p=s({},o,{name:"VeLine",data:function(){return this.chartHandler=h,{}}});t.exports=p},c42c:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openModal$=void 0;var r=i("c6b3"),o="biz.util.openModal";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.openModal$=a,e.default=a},c526:function(t,e,i){"use strict";var a=i("ea60");i("5c51"),t.exports=a},c533:function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],a={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=a},c6b3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ddSdk=e.ENV_ENUM_SUB=e.ENV_ENUM=void 0;var a=i("8c4c"),n=i("0bbb"),r=i("8c4c");Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return r.ENV_ENUM}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return r.ENV_ENUM_SUB}});var o=i("9670");i("4d16"),e.ddSdk=new o.Sdk((0,a.getENV)(),n.log)},c775:function(t,e,i){var a=i("2b17"),n=a.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),a=i.length;if(1===a)return n(t,e,i[0]);if(a){for(var r=[],o=0;o=e:"max"===i?t<=e:t===e}function m(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var a=t[i];if(r.hasClass(i)){e=n.normalizeToArray(e),a=n.normalizeToArray(a);var o=n.mappingToExists(a,e);t[i]=c(o,(function(t){return t.option&&t.exist?l(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=l(a,e,!0)}}))}u.prototype={constructor:u,setOption:function(t,e){t&&a.each(n.normalizeToArray(t.series),(function(t){t&&t.data&&a.isTypedArray(t.data)&&a.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,r=f.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(v(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=c(e.timelineOptions,s),this._mediaList=c(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var a=t.getComponent("timeline");a&&(e=s(i[a.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),a=this._mediaList,n=this._mediaDefault,r=[],o=[];if(!a.length&&!n)return o;for(var l=0,d=a.length;l1e-10&&(n.width+=o/s,n.height+=o/s,n.x-=o/s/2,n.y-=o/s/2)}return n}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),n=this.style;if(t=i[0],e=i[1],a.contain(t,e)){var r=this.path.data;if(n.hasStroke()){var s=n.lineWidth,c=n.strokeNoScale?this.getLineScale():1;if(c>1e-10&&(n.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/c,t,e)))return!0}if(n.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):a.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(n.isObject(t))for(var a in t)t.hasOwnProperty(a)&&(i[a]=t[a]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},u.extend=function(t){var e=function(e){u.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var a=this.shape;for(var n in i)!a.hasOwnProperty(n)&&i.hasOwnProperty(n)&&(a[n]=i[n])}t.init&&t.init.call(this,e)};for(var i in n.inherits(e,u),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},n.inherits(u,a);var f=u;t.exports=f},cbe9:function(t,e,i){var a=i("6d8b"),n=i("9850"),r=i("cf7e");function o(t){r.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var a=this.getAxis("x"),n=this.getAxis("y");return i=i||[],i[0]=a.toGlobalCoord(a.dataToCoord(t[0])),i[1]=n.toGlobalCoord(n.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,n=i.getExtent(),r=a.getExtent(),o=i.parse(t[0]),s=a.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(n[0],n[1]),o),Math.max(n[0],n[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),a=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=a.coordToData(a.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),a=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-a,s=new n(i,a,r,o);return s}},a.inherits(o,r);var s=o;t.exports=s},cccd:function(t,e,i){var a=i("e0d3"),n=a.makeInner;function r(){var t=n();return function(e){var i=t(e),a=e.pipelineContext,n=i.large,r=i.progressiveRender,o=i.large=a&&a.large,s=i.progressiveRender=a&&a.progressiveRender;return!!(n^o||r^s)&&"reset"}}t.exports=r},cd27:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.close$=void 0;var r=i("c6b3"),o="biz.navigation.close";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n[r.ENV_ENUM.pc]={vs:"4.3.5"},n)),e.close$=a,e.default=a},cd33:function(t,e,i){var a=i("6d8b"),n=i("4319"),r=a.each,o=a.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return c(i,t,e),i.seriesInvolved&&d(i,t),i}function c(t,e,i){var a=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),s=n.get("link",!0)||[],c=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var d=g(i.model),f=t.coordSysAxesInfo[d]={};t.coordSysMap[d]=i;var h=i.model,p=h.getModel("tooltip",a);if(r(i.getAxes(),o(y,!1,null)),i.getTooltipAxes&&a&&p.get("show")){var m="axis"===p.get("trigger"),b="cross"===p.get("axisPointer.type"),_=i.getTooltipAxes(p.get("axisPointer.axis"));(m||b)&&r(_.baseAxes,o(y,!b||"cross",m)),b&&r(_.otherAxes,o(y,"cross",!1))}}function y(a,r,o){var d=o.model.getModel("axisPointer",n),h=d.get("show");if(h&&("auto"!==h||a||v(d))){null==r&&(r=d.get("triggerTooltip")),d=a?l(o,p,n,e,a,r):d;var m=d.get("snap"),b=g(o.model),_=r||m||"category"===o.type,y=t.axesInfo[b]={key:b,axis:o,coordSys:i,axisPointerModel:d,triggerTooltip:r,involveSeries:_,snap:m,useHandle:v(d),seriesModels:[]};f[b]=y,t.seriesInvolved|=_;var k=u(s,o);if(null!=k){var x=c[k]||(c[k]={axesInfo:{}});x.axesInfo[b]=y,x.mapper=s[k].mapper,y.linkGroup=x}}}}))}function l(t,e,i,o,s,c){var l=e.getModel("axisPointer"),d={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){d[t]=a.clone(l.get(t))})),d.snap="category"!==t.type&&!!c,"cross"===l.get("type")&&(d.type="line");var u=d.label||(d.label={});if(null==u.show&&(u.show=!1),"cross"===s){var f=l.get("label.show");if(u.show=null==f||f,!c){var h=d.lineStyle=l.get("crossStyle");h&&a.defaults(u,h.textStyle)}}return t.model.getModel("axisPointer",new n(d,i,o))}function d(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,a=e.get("tooltip.trigger",!0),n=e.get("tooltip.show",!0);i&&"none"!==a&&!1!==a&&"item"!==a&&!1!==n&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[g(i.model)],(function(t){var a=t.axis;i.getAxis(a.dim)===a&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function u(t,e){for(var i=e.model,a=e.dim,n=0;n=0||t===e}function h(t){var e=p(t);if(e){var i=e.axisPointerModel,a=e.axis.scale,n=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=a.parse(o));var s=v(i);null==r&&(n.status=s?"show":"hide");var c=a.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o=0;p--){var m=t[p];if(s||(u=m.data.rawIndexOf(m.stackedByDimension,d)),u>=0){var v=m.data.getByRawIndex(m.stackResultDimension,u);if(f>=0&&v>0||f<=0&&v<0){f+=v,h=v;break}}}return a[0]=f,a[1]=h,a}));o.hostModel.setData(c),e.data=c}))}t.exports=o},d1be:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,visible:"",title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.code},on:{close:t.detailClose}})],1)},n=[],r=i("009f"),o={name:"task-detail-modal",components:{taskDetail:r["a"]},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},detailClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},s=o,c=(i("44e2"),i("2877")),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},d200:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.disable$=void 0;var r=i("c6b3"),o="ui.webViewBounce.disable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.disable$=a,e.default=a},d28f:function(t,e,i){var a=i("3eba");i("84d5"),i("4650"),i("5e97");var n=i("903c"),r=i("6cb7");a.registerProcessor(a.PRIORITY.PROCESSOR.SERIES_FILTER,n),r.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2cf:function(t,e,i){var a=i("6d8b"),n=i("401b"),r=i("cb6d"),o=i("1fab"),s=i("607d"),c=i("0b44"),l="silent";function d(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:u}}function u(){s.stop(this.event)}function f(){}f.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,a){o.call(this),this.storage=t,this.painter=e,this.painterRoot=a,i=i||new f,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function m(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var a,n=t;while(n){if(n.clipPath&&!n.clipPath.contain(e,i))return!1;n.silent&&(a=!0),n=n.parent}return!a||l}return!1}function v(t,e,i){var a=t.painter;return e<0||e>a.getWidth()||i<0||i>a.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(a.each(h,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,a=v(this,e,i),n=this._hovered,r=n.target;r&&!r.__zr&&(n=this.findHover(n.x,n.y),r=n.target);var o=this._hovered=a?{x:e,y:i}:this.findHover(e,i),s=o.target,c=this.proxy;c.setCursor&&c.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==r&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var a=t.target;if(!a||!a.silent){var n="on"+e,r=d(e,t,i);while(a)if(a[n]&&(r.cancelBubble=a[n].call(a,r)),a.trigger(e,r),a=a.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[n]&&t[n].call(t,r),t.trigger&&t.trigger(e,r)})))}},findHover:function(t,e,i){for(var a=this.storage.getDisplayList(),n={x:t,y:e},r=a.length-1;r>=0;r--){var o;if(a[r]!==i&&!a[r].ignore&&(o=m(a[r],t,e))&&(!n.topTarget&&(n.topTarget=a[r]),o!==l)){n.target=a[r];break}}return n},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new c);var i=this._gestureMgr;"start"===e&&i.clear();var a=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),a){var n=a.type;t.gestureEvent=n,this.dispatchToElement({target:a.target},n,a.event)}}},a.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,a,r=e.zrX,o=e.zrY,s=v(this,r,o);if("mouseup"===t&&s||(i=this.findHover(r,o),a=i.target),"mousedown"===t)this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if("mouseup"===t)this._upEl=a;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||n.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),a.mixin(p,o),a.mixin(p,r);var g=p;t.exports=g},d2fb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openSingleChat$=void 0;var r=i("c6b3"),o="biz.chat.openSingleChat";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.10"},n[r.ENV_ENUM.android]={vs:"3.4.10"},n)),e.openSingleChat$=a,e.default=a},d495:function(t,e,i){"use strict";i("e49b")},d498:function(t,e,i){var a=i("cbe5"),n=i("4fac"),r=a.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){n.buildPath(t,e,!1)}});t.exports=r},d4b1:function(t,e,i){var a=i("3eba"),n=i("17d6"),r=a.extendComponentView({type:"axisPointer",render:function(t,e,i){var a=e.getComponent("tooltip"),r=t.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";n.register("axisPointer",i,(function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){n.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){n.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},d4c6:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=n||v<0)break;if(h(b)){if(p){v+=r;continue}break}if(v===i)t[r>0?"moveTo":"lineTo"](b[0],b[1]);else if(c>0){var _=e[m],y="y"===d?1:0,k=(b[y]-_[y])*c;l(u,_),u[y]=_[y]+k,l(f,b),f[y]=b[y]-k,t.bezierCurveTo(u[0],u[1],f[0],f[1],b[0],b[1])}else t.lineTo(b[0],b[1]);m=v,v+=r}return g}function v(t,e,i,a,r,p,m,v,g,b,_){for(var y=0,k=i,x=0;x=r||k<0)break;if(h(w)){if(_){k+=p;continue}break}if(k===i)t[p>0?"moveTo":"lineTo"](w[0],w[1]),l(u,w);else if(g>0){var C=k+p,S=e[C];if(_)while(S&&h(e[C]))C+=p,S=e[C];var M=.5,T=e[y];S=e[C];if(!S||h(S))l(f,w);else{var P,I;if(h(S)&&!_&&(S=w),n.sub(d,S,T),"x"===b||"y"===b){var O="x"===b?0:1;P=Math.abs(w[O]-T[O]),I=Math.abs(w[O]-S[O])}else P=n.dist(w,T),I=n.dist(w,S);M=I/(I+P),c(f,w,d,-g*(1-M))}o(u,u,v),s(u,u,m),o(f,f,v),s(f,f,m),t.bezierCurveTo(u[0],u[1],f[0],f[1],w[0],w[1]),c(u,w,d,g*M)}else t.lineTo(w[0],w[1]);y=k,k+=p}return x}function g(t,e){var i=[1/0,1/0],a=[-1/0,-1/0];if(e)for(var n=0;na[0]&&(a[0]=r[0]),r[1]>a[1]&&(a[1]=r[1])}return{min:e?i:a,max:e?a:i}}var b=a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(a.prototype.brush),buildPath:function(t,e){var i=e.points,a=0,n=i.length,r=g(i,e.smoothConstraint);if(e.connectNulls){for(;n>0;n--)if(!h(i[n-1]))break;for(;a0;r--)if(!h(i[r-1]))break;for(;n=this._maxSize&&o>0){var c=i.head;i.remove(c),delete a[c.key],r=c.value,this._lastRemovedEntry=c}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),a[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},d5b7:function(t,e,i){var a=i("de00"),n=i("1fab"),r=i("0cde"),o=i("bd6b"),s=i("6d8b"),c=function(t){r.call(this,t),n.call(this,t),o.call(this,t),this.id=t.id||a()};c.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i"),t.forEach((function(t){var i=t.seriesName,s=~c.indexOf(i)?a[1]:a[0];e.push(n.itemPoint(t.color)),e.push(i+": "),e.push(r.getFormated(t.value,s,o)),e.push("
")})),e.join("")}}}function m(t,e){for(var i=Math.max.apply(null,e),a=Math.min.apply(null,e),n=[],r=a;r<=i;r++){var o=e.indexOf(r);~o?n.push(t[o]):n.push(null)}return n}function v(t){var e=t.innerRows,i=t.metrics,a=t.stack,n=t.axisSite,s=t.isHistogram,l=t.labelMap,u=t.itemStyle,f=t.label,h=t.showLine,p=void 0===h?[]:h,v=t.dimAxisType,g=t.barGap,b=t.opacity,_=t.dims,y=[],k={},x=s?n.right||[]:n.top||[],w=s?"yAxisIndex":"xAxisIndex",C=a&&r.getStackMap(a);return i.forEach((function(t){k[t]=[]})),e.forEach((function(t){i.forEach((function(e){k[e].push(t[e])}))})),y=Object.keys(k).map((function(t,e){var i="value"===v?m(k[t],_):k[t],n=c({name:null!=l[t]?l[t]:t,type:~p.indexOf(t)?"line":"bar",data:i},w,~x.indexOf(t)?"1":"0");a&&C[t]&&(n.stack=C[t]),f&&(n.label=f),u&&(n.itemStyle=u);var r=b||o.get(n,"itemStyle.normal.opacity");return"value"===v&&(n.barGap=g,n.barCategoryGap="1%",null==r&&(r=d)),null!=r&&o.set(n,"itemStyle.normal.opacity",r),n})),!!y.length&&y}function g(t){var e=t.metrics,i=t.labelMap,a=t.legendName;if(!a&&!i)return{data:e};var n=i?e.map((function(t){return null==i[t]?t:i[t]})):e;return{data:n,formatter:function(t){return null!=a[t]?a[t]:t}}}function b(t,e){return t.map((function(t){return t[e[0]]}))}var _=function(t,e,i,a){var n=o.cloneDeep(e),r=i.axisSite,s=void 0===r?{}:r,c=i.dimension,l=void 0===c?[t[0]]:c,d=i.stack,f=void 0===d?{}:d,m=i.axisVisible,_=void 0===m||m,y=i.digit,k=void 0===y?2:y,x=i.dataOrder,w=void 0!==x&&x,C=i.scale,S=void 0===C?[!1,!1]:C,M=i.min,T=void 0===M?[null,null]:M,P=i.max,I=void 0===P?[null,null]:P,O=i.labelMap,E=void 0===O?{}:O,j=i.legendName,D=void 0===j?{}:j,A=i.label,N=i.itemStyle,L=i.showLine,$=i.barGap,V=void 0===$?"-100%":$,R=i.opacity;if(w){var z=w.label,F=w.order;z&&F?n.sort((function(t,e){return"desc"===F?t[z]-e[z]:e[z]-t[z]})):console.warn("Need to provide name and order parameters")}var U=a.tooltipVisible,B=a.legendVisible,H=t.slice();s.left&&s.right?H=s.left.concat(s.right):s.left&&!s.right?H=s.left:i.metrics?H=i.metrics:H.splice(t.indexOf(l[0]),1);var W=i.yAxisType||["normal","normal"],Y=i.xAxisType||"category",q=i.yAxisName||[],G=i.xAxisName||"",K=!0,X=b(n,l),J=B&&g({metrics:H,labelMap:E,legendName:D}),Z=u({innerRows:n,dimAxisName:G,dimension:l,axisVisible:_,dimAxisType:Y,dims:X}),Q=h({meaAxisName:q,meaAxisType:W,axisVisible:_,digit:k,scale:S,min:T,max:I}),tt=v({innerRows:n,metrics:H,stack:f,axisSite:s,isHistogram:K,labelMap:E,itemStyle:N,label:A,showLine:L,dimAxisType:Y,dimension:l,barGap:V,opacity:R,dims:X}),et={axisSite:s,isHistogram:K,meaAxisType:W,digit:k,labelMap:E},it=U&&p(et),at={legend:J,yAxis:Q,series:tt,xAxis:Z,tooltip:it};return at},y=l({},s,{name:"VeHistogram",data:function(){return this.chartHandler=_,{}}});t.exports=y},d789:function(t,e,i){"use strict";i("2f98")},d812:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getRealmCid$=void 0;var r=i("c6b3"),o="biz.chat.getRealmCid";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.12"},n[r.ENV_ENUM.android]={vs:"4.7.12"},n[r.ENV_ENUM.pc]={vs:"4.7.12"},n)),e.getRealmCid$=a,e.default=a},d816:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkPassword$=void 0;var r=i("c6b3"),o="biz.user.checkPassword";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.8"},n[r.ENV_ENUM.android]={vs:"4.5.8"},n)),e.checkPassword$=a,e.default=a},d833:function(t,e,i){var a=i("20c8"),n=i("9680"),r=i("e7d2"),o=i("68ab"),s=i("9f51"),c=i("857d"),l=c.normalizeRadian,d=i("4a3f"),u=i("8728"),f=a.CMD,h=2*Math.PI,p=1e-4;function m(t,e){return Math.abs(t-e)e&&l>a&&l>r&&l>s||l1&&b(),f=d.cubicAt(e,a,r,s,g[0]),m>1&&(h=d.cubicAt(e,a,r,s,g[1]))),2===m?ye&&s>a&&s>r||s=0&&l<=1){for(var u=0,f=d.quadraticAt(e,a,r,l),h=0;hi||s<-i)return 0;var c=Math.sqrt(i*i-s*s);v[0]=-c,v[1]=c;var d=Math.abs(a-n);if(d<1e-4)return 0;if(d%h<1e-4){a=0,n=h;var u=r?1:-1;return o>=v[0]+t&&o<=v[1]+t?u:0}if(r){c=a;a=l(n),n=l(c)}else a=l(a),n=l(n);a>n&&(n+=h);for(var f=0,p=0;p<2;p++){var m=v[p];if(m+t>o){var g=Math.atan2(s,m);u=r?1:-1;g<0&&(g=h+g),(g>=a&&g<=n||g+h>=a&&g+h<=n)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),f+=u)}}return f}function x(t,e,i,a,c){for(var l=0,d=0,h=0,p=0,v=0,g=0;g1&&(i||(l+=u(d,h,p,v,a,c))),1===g&&(d=t[g],h=t[g+1],p=d,v=h),b){case f.M:p=t[g++],v=t[g++],d=p,h=v;break;case f.L:if(i){if(n.containStroke(d,h,t[g],t[g+1],e,a,c))return!0}else l+=u(d,h,t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.C:if(i){if(r.containStroke(d,h,t[g++],t[g++],t[g++],t[g++],t[g],t[g+1],e,a,c))return!0}else l+=_(d,h,t[g++],t[g++],t[g++],t[g++],t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.Q:if(i){if(o.containStroke(d,h,t[g++],t[g++],t[g],t[g+1],e,a,c))return!0}else l+=y(d,h,t[g++],t[g++],t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.A:var x=t[g++],w=t[g++],C=t[g++],S=t[g++],M=t[g++],T=t[g++];g+=1;var P=1-t[g++],I=Math.cos(M)*C+x,O=Math.sin(M)*S+w;g>1?l+=u(d,h,I,O,a,c):(p=I,v=O);var E=(a-x)*S/C+x;if(i){if(s.containStroke(x,w,S,M,M+T,P,e,E,c))return!0}else l+=k(x,w,S,M,M+T,P,E,c);d=Math.cos(M+T)*C+x,h=Math.sin(M+T)*S+w;break;case f.R:p=d=t[g++],v=h=t[g++];var j=t[g++],D=t[g++];I=p+j,O=v+D;if(i){if(n.containStroke(p,v,I,v,e,a,c)||n.containStroke(I,v,I,O,e,a,c)||n.containStroke(I,O,p,O,e,a,c)||n.containStroke(p,O,p,v,e,a,c))return!0}else l+=u(I,v,I,O,a,c),l+=u(p,O,p,v,a,c);break;case f.Z:if(i){if(n.containStroke(d,h,p,v,e,a,c))return!0}else l+=u(d,h,p,v,a,c);d=p,h=v;break}}return i||m(h,v)||(l+=u(d,h,p,v,a,c)||0),0!==l}function w(t,e,i){return x(t,0,!1,e,i)}function C(t,e,i,a){return x(t,e,!0,i,a)}e.contain=w,e.containStroke=C},d96ec:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-task",class:"".concat(t.project.task_board_theme," ").concat(t.viewType)},[e("div",{staticClass:"project-navigation"},[e("div",{staticClass:"project-nav-header"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("a",{on:{click:t.toHome}},[e("a-icon",{attrs:{type:"home"}}),t._v(" 首页 ")],1)]),e("a-breadcrumb-item",[e("project-select",{staticClass:"nav-title",staticStyle:{display:"inline-block"},attrs:{code:t.code}}),e("span",{staticClass:"actions"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:t.project.collected?"取消收藏":"加入收藏"},on:{click:t.collectProject}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.project.collected,expression:"!project.collected"}],staticStyle:{color:"grey"},attrs:{type:"star",theme:"filled"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.project.collected,expression:"project.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1),0===t.project.private?e("span",{staticClass:"label label-normal"},[e("a-icon",{attrs:{type:"global"}}),t._v(" 公开")],1):t._e()],1)],1)],1),e("section",{staticClass:"nav-body"},[e("ul",{staticClass:"nav-wrapper nav nav-underscore pull-left"},[t._m(0),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"works"},on:{click:function(e){return t.$router.push("/project/space/files/"+t.code)}}},[t._v("\n 文件")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/overview/"+t.code)}}},[t._v("\n 概览")])]),e("li",[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/copy/"+t.code)}}},[t._v("\n 抄送")])])])]),e("div",{staticClass:"project-nav-footer"},[4!=t.userInfo.authorize?e("a",{staticClass:"footer-item",on:{click:function(e){return e.stopPropagation(),t.addTask()}}},[e("a-icon",{attrs:{type:"plus-circle"}}),e("span",[t._v(" 创建任务")])],1):t._e(),e("a",{staticClass:"footer-item",on:{click:function(e){return t.visibleDraw("taskSearch")}}},[e("a-icon",{attrs:{type:"search"}}),e("span",[t._v(" 筛选")])],1),e("a",{staticClass:"footer-item",class:{active:"member"==t.slideMenuKey},on:{click:function(e){return t.visibleDraw("member")}}},[e("a-icon",{attrs:{type:"user"}}),e("span",[t._v(" "+t._s(t.projectMembers.length))])],1),e("a",{staticClass:"footer-item",class:{active:"config"==t.slideMenuKey},on:{click:function(e){return t.visibleDraw("config")}}},[e("a-icon",{attrs:{type:"menu"}}),e("span",[t._v(" 菜单")])],1)])]),e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"task-board"==t.viewType,expression:"viewType == 'task-board'"}],staticClass:"board-scrum-stages",attrs:{e:"",options:{group:"stages",filter:".undraggables",handle:".ui-sortable-handle",ghostClass:"stage-ghost",animation:200,forceFallback:!1},id:"board-scrum-stages"},on:{end:t.stageSort}},[t._l(t.taskStages,(function(i,a){return e("div",{key:a,staticClass:"scrum-stage",class:{"fixed-creator":1==i.fixedCreator},staticStyle:{width:"32vw","min-width":"400px"},attrs:{id:i.code}},[e("header",{directives:[{name:"show",rawName:"v-show",value:!i.tasksLoading,expression:"!stage.tasksLoading"}],staticClass:"scrum-stage-header ui-sortable-handle"},[e("div",{staticClass:"stage-name hinted"},[t._v("\n "+t._s(i.name)+"\n "),i.tasks.length>0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(i.tasks.length))]):t._e()]),e("div",{staticClass:"stage-menu-toggler popover"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v("编辑任务列表")])]),e("a",{staticClass:"menu-toggler-title",attrs:{href:"javascript:void(0)"}},[e("a-icon",{staticStyle:{"font-size":"18px"},attrs:{type:"ellipsis"}})],1)],2),e("a-menu",{attrs:{slot:"overlay",selectable:!1},on:{click:t.doStage},slot:"overlay"},[e("a-menu-item",{key:"setExecutor_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"user"}}),t._v("\n 设置本列所有任务执行者\n ")],1),e("a-menu-item",{key:"recycleBatch_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"delete"}}),t._v("\n 本列所有任务移到回收站\n ")],1)],1)],1)],1)]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":i.showTaskCard}},[e("vue-scroll",{ref:a+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:i.code,"task-type-index":a}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:i.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.unDoneTasks,(function(i,n){return[!i.done&&i.canRead?e("div",{key:i.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(i.pri),attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:a>0?"top":"right"}},[e("template",{slot:"title"},[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[i.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(i.status),fontSize:"12px"}},[t._v(t._s(i.statusText))]):t._e(),i.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(i.end_time)},[e("span",{attrs:{title:i.end_time}},[t._v("\n "+t._s(t.showTaskTime(i.begin_time,i.end_time))+"\n ")])]):t._e(),i.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),i.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),i.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),i.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(i.childCount[1])+"/"+t._s(i.childCount[0]))])],1):t._e(),t._l(i.tags,(function(i){return e("span",{key:i.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(i.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(i.tag.name)+"\n ")],1)})),i.execute_state>0?e("span",{class:"icon-wrapper text text-"+i.task_execute.color},[t._v(t._s(i.task_execute_name))]):t._e(),i.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(i.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(i.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+a}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(a),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(i.code,a)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(i,a){return e("a-menu-item",{key:a},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:i.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(i.name))]),i.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(a,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(i.code,a)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.doneTasks,(function(i,n){return[i.canRead?e("div",{key:i.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),i.executor&&i.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(i.task_tag_item_list,(function(i,a){return e("span",{key:i.code,staticClass:"tag muted",class:"tag-color-"+i.color},[t._v("\n "+t._s(i.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(i.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(i.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{staticClass:"member-list-item"},[i.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(i,a)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(i)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("任务")])])}],r=(i("8e6e"),i("456d"),i("7514"),i("20d6"),i("28a5"),i("55dd"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("2ef0"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("b76a"),h=i.n(f),p=i("f8c7"),m=i("d3a1"),v=i("58bf"),g=i("51e2"),b=i("b83b"),_=i("e3cc"),y=i("1d80"),k=i("e507"),x=i("24d2"),w=i("9f5d"),C=i("b199"),S=i("2f14"),M=i("81fe"),T=i("4200"),P=i("97a8");function I(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function O(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],i=this;Object(k["d"])({projectCode:this.code,pageSize:30}).then((function(a){var n=[];if(e?t.taskStages=n=a.data.list:a.data.list.forEach((function(t){t.tasksLoading=!1,n.push(t)})),n){i.taskSearchParams;n.forEach((function(t,a){t.page=1,i.getTasks(t,a,e)}))}}))},getTasks:function(t,e,i){var a=this,n=this.taskSearchParams,r={};r={stageCode:t.code},r=Object.assign(r,n),Object(k["h"])(r).then((function(n){var r=0;n.data.forEach((function(e){e.canRead||r++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=r,t.tasksLoading=!1,t.tasks=n.data,i||a.$set(a.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=i,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(P["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,i=this;if(i.createTaskLoading)return i.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===i.createTaskLoading&&i.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),i.createTaskLoading=!0,Object(C["s"])(i.task).then((function(a){i.createTaskLoading=!1;var n=Object(S["a"])(a);if(n){i.$message.destroy();var r=i.taskStages[t];r.tasks.push(a.data),i.taskStages[t].unDoneTasks.push(a.data),i.task={},e.taskDetail(a.data.code,t),console.log(O({},a.data))}})).catch((function(){i.createTaskLoading=!1}))},taskDone:function(t,e,i,a){var n=this,r=null,o=this.taskStages[e].unDoneTasks,s=this.taskStages[e].doneTasks;if(r=a?o[i]:s[i],r.hasUnDone)return!1;r.done=a,a?(o.splice(i,1),s.push(r),s=s.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(s.splice(i,1),o.push(r),o=o.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(C["z"])(t,a).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;n.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,i=this,a=t.key.split("_"),n=a[a.length-2],r=a[a.length-1],o=a[0];switch(o){case"editStage":this.stageModal.stageCode=n,this.stageModal.stageIndex=r,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[r].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return i.taskStages[r].tasks=[],i.$set(i.taskStages[r],"doneTasks",[]),Object(C["r"])({stageCode:n}).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;i.$set(i.taskStages[r],"doneTasks",[]),i.$set(i.taskStages[r],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=r,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[r].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["b"])(n),i.taskStages.splice(r,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(k["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var i=Object(S["a"])(e);if(!i)return!1;var a=e.data;t.taskStages.push(a),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(k["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(i){var a=Object(S["a"])(i);if(!a)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,i=this.taskStages[this.projectMemberModal.currentStageIndex],a=[];i.tasks.forEach((function(t){t.canRead&&a.push(t.code)})),a?Object(C["c"])({taskCodes:JSON.stringify(a),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(S["a"])(t))return!1;Object(k["h"])({stageCode:i.code}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),i.canNotReadCount=e,i.tasksLoading=!1,i.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(M["a"])(t,e)},taskDetail:function(t,e){var i=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){i.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(k["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),i=[],a="",n=0,r=t.to.children.length;ns)return!0;if(r){var c=o.getAxisInfo(t).seriesDataCount,l=a.getExtent();return Math.abs(l[0]-l[1])/c>s}return!1}return!0===i},makeElOption:function(t,e,i,a,n){},createPointerEl:function(t,e,i,a){var n=e.pointer;if(n){var o=u(t).pointerEl=new r[n.type](f(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,a){if(e.label){var n=u(t).labelEl=new r.Rect(f(e.label));t.add(n),g(n,a)}},updatePointerEl:function(t,e,i){var a=u(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),i(a,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,a){var n=u(t).labelEl;n&&(n.setStyle(e.label.style),i(n,{shape:e.label.shape,position:e.label.position}),g(n,a))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,n=this._api.getZr(),o=this._handle,l=i.getModel("handle"),d=i.get("status");if(!l.get("show")||!d||"hide"===d)return o&&n.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(l.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),_(o,i,!1);var u=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(l.getItemStyle(null,u));var f=l.get("size");a.isArray(f)||(f=[f,f]),o.attr("scale",[f[0]/2,f[1]/2]),c.createOrUpdate(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var a=this.updateHandleTransform(b(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,i.stopAnimation(),i.attr(b(a)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,a=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,n.enableClassExtend(p);var y=p;t.exports=y},dd18:function(t,e,i){},dd66:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.off=e.on=void 0;var a=["resume","pause","online","offline","backbutton","goBack","pullToRefresh","message","recycle","restore","drawer","tab","navHelpIcon","navRightButton","navMenu","navTitle","appLinkResponse","internalPageLinkResponse","networkEvent","hostTaskEvent","deviceOrientationChanged","autoCheckIn","deviceFound","hostCheckIn","screenshot","becomeActive","keepAlive","navTitleClick","sharePage","wxNotify","editNoteCommand","updateStyle","qrscanCommonNotify","__message__","dtChannelEvent","livePlayerEventPlay","livePlayerEventPause","livePlayerEventEnded","livePlayerEventError","navActions","attendEvents"],n="dtBizBridgeEvent",r="__eventTypeList__",o=function(){return"undefined"==typeof WeakMap?void 0:new WeakMap}(),s=function(t,e){if(o){var i=o.get(e);return void 0===i?(i=function(t){var a=t.detail;if(a.namespace&&a.eventName){var n="".concat(a.namespace,".").concat(a.eventName);i&&-1!==i[r].indexOf(n)&&e(a.data)}},i[r]=[t],o.set(e,i)):-1===i[r].indexOf(t)&&i[r].push(t),i}},c=function(t,e){if(o){var i=o.get(e);return i&&-1!==i[r].indexOf(t)&&i[r].splice(i[r].indexOf(t),1),i&&i[r].length<=1?i:void 0}},l=function(t,e){if(-1!==a.indexOf(t))document.addEventListener(t,e);else{var i=s(t,e);i?document.addEventListener(n,i):console.log("bind event : ".concat(t," need WeakMap support , current environment doesnot"))}};e.on=l;var d=function(t,e){if(-1!==a.indexOf(t))document.removeEventListener(t,e);else{var i=c(t,e);i&&document.removeEventListener(n,i)}};e.off=d},dd86:function(t,e,i){"use strict";function a(t,e){for(var i=t.length,a=0,n=!0;a40&&(l=Math.max(1,Math.floor(s/40)));for(var d=o[0],f=t.dataToCoord(d+1)-t.dataToCoord(d),h=Math.abs(f*Math.cos(a)),p=Math.abs(f*Math.sin(a)),m=0,v=0;d<=o[1];d+=l){var g=0,b=0,_=n.getBoundingRect(i(d),e.font,"center","top");g=1.3*_.width,b=1.3*_.height,m=Math.max(m,g,7),v=Math.max(v,b,7)}var y=m/h,k=v/p;isNaN(y)&&(y=1/0),isNaN(k)&&(k=1/0);var x=Math.max(0,Math.floor(Math.min(y,k))),C=u(t.model),S=t.getExtent(),M=C.lastAutoInterval,T=C.lastTickCount;return null!=M&&null!=T&&Math.abs(M-x)<=1&&Math.abs(T-s)<=1&&M>x&&C.axisExtend0===S[0]&&C.axisExtend1===S[1]?x=M:(C.lastTickCount=s,C.lastAutoInterval=x,C.axisExtend0=S[0],C.axisExtend1=S[1]),x}function w(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function C(t,e,i){var a=c(t),n=t.scale,r=n.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=r[0],f=n.count();0!==u&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=d(t),p=o.get("showMinLabel")||h,m=o.get("showMaxLabel")||h;p&&u!==r[0]&&g(r[0]);for(var v=u;v<=r[1];v+=l)g(v);function g(t){s.push(i?t:{formattedLabel:a(t),rawLabel:n.getLabel(t),tickValue:t})}return m&&v-l!==r[1]&&g(r[1]),s}function S(t,e,i){var n=t.scale,r=c(t),o=[];return a.each(n.getTicks(),(function(t){var a=n.getLabel(t);e(t,a)&&o.push(i?t:{formattedLabel:r(t),rawLabel:a,tickValue:t})})),o}e.createAxisLabels=f,e.createAxisTicks=h,e.calculateCategoryInterval=x},e0d3:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=a.each,o=a.isObject,s=a.isArray,c="series\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function d(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var a=0,n=i.length;a=i.length&&i.push({option:t})}})),i}function m(t){var e=a.createHashMap();r(t,(function(t,i){var a=t.exist;a&&e.set(a.id,t)})),r(t,(function(t,i){var n=t.option;a.assert(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),r(t,(function(t,i){var a=t.exist,n=t.option,r=t.keyInfo;if(o(n)){if(r.name=null!=n.name?n.name+"":a?a.name:c+i,a)r.id=a.id;else if(null!=n.id)r.id=n.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(c))}function g(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function b(t,e){var i={},a={};return n(t||[],i),n(e||[],a,i),[r(i),r(a)];function n(t,e,i){for(var a=0,n=t.length;a=e[0]&&t<=e[1]},n.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},n.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},n.prototype.isBlank=function(){return this._isBlank},n.prototype.setBlank=function(t){this._isBlank=t},n.prototype.getLabel=null,a.enableClassExtend(n),a.enableClassManagement(n,{registerWhenExtend:!0});var r=n;t.exports=r},e13c:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-index"},[e("wrapper-content",[t._v("\n 555\n ")])],1)},n=[],r={name:"project-space-index"},o=r,s=i("2877"),c=Object(s["a"])(o,a,n,!1,null,"71e5b5da",null);e["default"]=c.exports},e198:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.videoConfCall$=void 0;var r=i("c6b3"),o="biz.conference.videoConfCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.8"},n[r.ENV_ENUM.android]={vs:"5.0.8"},n[r.ENV_ENUM.pc]={vs:"5.1.28"},n)),e.videoConfCall$=a,e.default=a},e1b8:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o}));var a=i("22b6"),n=i("2f14");function r(){return Object(n["g"])("index/oauth/dingTalkOauth")}function o(t){return a["a"].post("index/oauth/dingTalkLoginByCode",t)}},e1b9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("4e83"),o=i("eee2"),s=i("9670"),c=i("d6bb");a.ddSdk.setPlatform({platform:n.ENV_ENUM.pc,bridgeInit:function(){switch((0,n.getENV)().appType){case s.APP_TYPE.MINI_APP:return Promise.resolve(o.default);default:return(0,r.h5PcBridgeInit)().then((function(){return r.default}))}},authMethod:"config",authParamsDeal:function(t){var e=Object.assign({},t);return e.url=window.location.href.split("#")[0],e},event:{on:function(t,e){if((0,n.getENV)().appType===s.APP_TYPE.WEB)return(0,c.on)(t,e)},off:function(t,e){if((0,n.getENV)().appType===s.APP_TYPE.WEB)return(0,c.off)(t,e)}}})},e1bd:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestAuthCode$=void 0;var r=i("c6b3"),o="runtime.permission.requestAuthCode",s=function(t){return Object.assign(t,{url:location.href.split("#")[0]})};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.requestAuthCode$=a,e.default=a},e1fc:function(t,e,i){var a=i("6d8b"),n=i("d5b7"),r=i("9850"),o=function(t){for(var e in t=t||{},n.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(a,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,n=this._children,r=a.indexOf(n,t);return r<0||(n.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,a=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-n,m[0]=t+i,void(m[1]=e+n);if(d[0]=c(r)*i+t,d[1]=s(r)*n+e,u[0]=c(o)*i+t,u[1]=s(o)*n+e,v(p,d,u),g(m,d,u),r%=l,r<0&&(r+=l),o%=l,o<0&&(o+=l),r>o&&!h?o+=l:rr&&(f[0]=c(y)*i+t,f[1]=s(y)*n+e,v(p,f,p),g(m,f,m))}e.fromPoints=h,e.fromLine=p,e.fromCubic=g,e.fromQuadratic=b,e.fromArc=_},e406:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.choose$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.contact.choose",c=(0,o.genDefaultParamsDealFn)({multiple:!0,startWithDepartmentId:0,users:[]});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.choose$=a,e.default=a},e47b:function(t,e,i){var a=i("e0d3"),n=a.makeInner,r=a.normalizeToArray,o=n();function s(t,e){for(var i=t.length,a=0;ae)return t[a];return t[i-1]}var c={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var a=o(e),n=a.colorIdx||0,c=a.colorNameMap=a.colorNameMap||{};if(c.hasOwnProperty(t))return c[t];var l=r(this.get("color",!0)),d=this.get("colorLayer",!0),u=null!=i&&d?s(d,i):l;if(u=u||l,u&&u.length){var f=u[n];return t&&(c[t]=f),a.colorIdx=(n+1)%u.length,f}}};t.exports=c},e49b:function(t,e,i){},e4e9:function(t,e,i){},e4ef:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setScreenKeepOn$=void 0;var r=i("c6b3"),o="biz.util.setScreenKeepOn";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.26"},n[r.ENV_ENUM.android]={vs:"5.1.26"},n)),e.setScreenKeepOn$=a,e.default=a},e547:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"analysis-index"},[e("div",{staticClass:"page-wrapper"},[e("a-row",{attrs:{gutter:24}},[e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"项目总数",total:t._f("NumberFormat")(t.projectData.count)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",{staticClass:"chart-wrapper"},[e("ve-histogram",{attrs:{data:t.projectData.chartData,settings:t.projectData.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"55px"}})],1),e("template",{slot:"footer"},[t._v("本月立项 "),e("span",[t._v("3")])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"任务总数",total:t._f("NumberFormat")(t.taskData.count)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("div",{staticClass:"chart-wrapper"},[e("ve-line",{attrs:{data:t.taskData.chartData,settings:t.taskData.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"55px"}})],1)]),e("template",{slot:"footer"},[t._v("今日任务"),e("span",[t._v(" "+t._s(t._f("NumberFormat")("8")))])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"逾期任务",total:t._f("NumberFormat")(t.taskData.taskOverdueCount)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("周同比")]),t._v("\n 12%\n ")]),e("trend",{attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("日同比")]),t._v("\n 11%\n ")])],1),e("template",{slot:"footer"},[t._v("逾期率 "),e("span",[t._v(t._s(t.taskData.taskOverduePercent)+"%")])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"整体进度",total:"".concat(t.projectData.projectSchedule,"%")}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-progress",{attrs:{color:"#ffd401",target:80,percentage:t.projectData.projectSchedule,height:"8px"}})],1),e("template",{slot:"footer"},[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("周同比")]),t._v("\n 12%\n ")]),e("trend",{attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("日环比")]),t._v("\n 80%\n ")])],1)],2)],1)],1),e("a-card",{attrs:{loading:t.loading,bordered:!1,"body-style":{padding:"0"}}},[e("div",{staticClass:"salesCard"},[e("a-tabs",{attrs:{"default-active-key":"1",size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}}},[e("div",{staticClass:"extra-wrapper",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[e("div",{staticClass:"extra-item"},[e("a",[t._v("今日")]),e("a",[t._v("本周")]),e("a",[t._v("本月")]),e("a",[t._v("本年")])]),e("a-range-picker",{style:{width:"256px"}})],1),e("a-tab-pane",{key:"1",attrs:{forceRender:"",tab:"项目数"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("div",{staticClass:"chart-wrappers-single"},[e("ve-histogram",{attrs:{data:t.projectTotalData.chartData,settings:t.projectTotalData.chartSettings,extend:t.projectTotalData.chartExtend,"legend-visible":!1,height:"300px"}})],1)]),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("rank-list",{attrs:{title:"项目数排行榜",list:t.rankList}})],1)],1)],1),e("a-tab-pane",{key:"2",attrs:{forceRender:"",tab:"任务数"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("div",{staticClass:"chart-wrappers-single"},[e("ve-histogram",{attrs:{data:t.projectTotalData.chartData,settings:t.projectTotalData.chartSettings,extend:t.projectTotalData.chartExtend,"legend-visible":!1,height:"300px"}})],1)]),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("rank-list",{attrs:{title:"任务数排行榜",list:t.rankList}})],1)],1)],1)],1)],1)]),e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[e("a-card",{style:{marginTop:"24px"},attrs:{loading:t.loading,bordered:!1,title:"我的项目"}},[e("a-dropdown",{attrs:{slot:"extra",trigger:["click"],placement:"bottomLeft"},slot:"extra"},[e("a",{staticClass:"ant-dropdown-link",attrs:{href:"#"}},[e("a-icon",{attrs:{type:"ellipsis"}})],1),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作一")])]),e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作二")])])],1)],1),t._l(t.projectList,(function(i){return e("p",{key:i.id},[t._v(t._s(i.name))])})),e("a-pagination",{attrs:{total:t.projectTotal,size:"small"},on:{change:t.pageChange},model:{value:t.pagination.page,callback:function(e){t.$set(t.pagination,"page",e)},expression:"pagination.page"}})],2)],1),e("a-col",{attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[e("a-card",{style:{marginTop:"24px"},attrs:{loading:t.loading,bordered:!1,title:"任务优先级分布"}},[e("a-dropdown",{attrs:{slot:"extra",trigger:["click"],placement:"bottomLeft"},slot:"extra"},[e("a",{staticClass:"ant-dropdown-link",attrs:{href:"#"}},[e("a-icon",{attrs:{type:"ellipsis"}})],1),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作一")])]),e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作二")])])],1)],1),e("p",[t._v("card content")]),e("p",[t._v("card content")]),e("p",[t._v("card content")])],1)],1)],1)],1)])},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("2f62"),s=(i("c1df"),i("c3da")),c=i.n(s),l=i("d768"),d=i.n(l),u=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{loading:t.loading,"body-style":{padding:"20px 24px 8px"},bordered:!1}},[e("div",{staticClass:"chart-card-header"},[e("div",{staticClass:"meta"},[e("span",{staticClass:"chart-card-title"},[t._v(t._s(t.title))]),e("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),e("div",{staticClass:"total"},[e("span",[t._v(t._s(t.total))])])]),e("div",{staticClass:"chart-card-content"},[e("div",{staticClass:"content-fix"},[t._t("default")],2)]),e("div",{staticClass:"chart-card-footer"},[e("div",{staticClass:"field"},[t._t("footer")],2)])])},f=[],h={name:"ChartCard",props:{title:{type:String,default:""},total:{type:String,default:""},loading:{type:Boolean,default:!1}}},p=h,m=(i("1d16"),i("2877")),v=Object(m["a"])(p,u,f,!1,null,"dca3f5e0",null),g=v.exports,b=function(){var t=this,e=t._self._c;return e("div",{class:[t.prefixCls,t.reverseColor&&"reverse-color"]},[e("span",[t._t("term"),e("span",{staticClass:"item-text"},[t._t("default")],2)],2),e("span",{class:[t.flag]},[e("a-icon",{attrs:{type:"caret-".concat(t.flag)}})],1)])},_=[],y={name:"Trend",props:{prefixCls:{type:String,default:"ant-pro-trend"},flag:{type:String,required:!0},reverseColor:{type:Boolean,default:!1}}},k=y,x=(i("3a20"),Object(m["a"])(k,b,_,!1,null,"3c54eff5",null)),w=x.exports,C=w,S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chart-mini-progress"},[e("div",{staticClass:"target",style:{left:t.target+"%"}},[e("span",{style:{backgroundColor:t.color}}),e("span",{style:{backgroundColor:t.color}})]),e("div",{staticClass:"progress-wrapper"},[e("div",{staticClass:"progress",style:{backgroundColor:t.color,width:t.percentage+"%",height:t.height}})])])},M=[],T=(i("c5f6"),{name:"MiniProgress",props:{target:{type:Number,default:0},height:{type:String,default:"10px"},color:{type:String,default:"#ffd401"},percentage:{type:Number,default:0}}}),P=T,I=(i("73cf"),Object(m["a"])(P,S,M,!1,null,"3d7c3eae",null)),O=I.exports,E=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rank"},[e("h4",{staticClass:"title"},[t._v(t._s(t.title))]),e("ul",{staticClass:"list"},t._l(t.list,(function(i,a){return e("li",{key:a},[e("span",{class:a<3?"active":null},[t._v(t._s(a+1))]),e("span",[t._v(t._s(i.name))]),e("span",[t._v(t._s(i.total))])])})),0)])},j=[],D={name:"RankList",props:{title:{type:String,default:""},list:{type:Array,default:null}}},A=D,N=(i("4d49"),Object(m["a"])(A,E,j,!1,null,"15e848dc",null)),L=N.exports,$=i("1b80"),V=i("24d2");function R(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function z(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0];Object(V["c"])({type:1}).then((function(e){t.projectData.count=e.data.projectCount,t.projectData.projectSchedule=e.data.projectSchedule,t.projectData.chartData.rows=e.data.projectList,t.projectTotalData.chartData.rows=e.data.projectList,t.taskData.count=e.data.taskCount,t.taskData.taskOverdueCount=e.data.taskOverdueCount,t.taskData.taskOverduePercent=e.data.taskOverduePercent,t.taskData.chartData.rows=e.data.taskList})),e&&(this.pagination.page=1,this.pagination.pageSize=10),this.getProjectList(!0)},getProjectList:function(t){var e=this;t&&(this.projectLoading=!0),Object(V["l"])(this.requestData).then((function(t){e.projectList=t.data.list,e.projectTotal=t.data.total,e.projectLoading=!1}))},pageChange:function(t,e){this.pagination.page=t,this.getProjectList(!0)}}},G=q,K=(i("ae29"),Object(m["a"])(G,a,n,!1,null,null,null));e["default"]=K.exports},e625:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openBindIDCard$=void 0;var r=i("c6b3"),o="biz.verify.openBindIDCard";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.21"},n[r.ENV_ENUM.android]={vs:"4.5.21"},n)),e.openBindIDCard$=a,e.default=a},e6a6:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.punchModePicker$=void 0;var r=i("c6b3"),o="biz.ATMBle.punchModePicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.7"},n[r.ENV_ENUM.android]={vs:"5.0.7"},n)),e.punchModePicker$=a,e.default=a},e6d8:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setGPUAcceleration$=void 0;var r=i("c6b3"),o="biz.util.setGPUAcceleration";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.22"},n)),e.setGPUAcceleration$=a,e.default=a},e7aa:function(t,e,i){var a=i("2306"),n=i("c775"),r=n.getDefaultLabel;function o(t,e,i,n,o,c,l){var d=i.getModel("label"),u=i.getModel("emphasis.label");a.setLabelStyle(t,e,d,u,{labelFetcher:o,labelDataIndex:c,defaultText:r(o.getData(),c),isRectText:!0,autoColor:n}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=o},e7d2:function(t,e,i){var a=i("4a3f");function n(t,e,i,n,r,o,s,c,l,d,u){if(0===l)return!1;var f=l;if(u>e+f&&u>n+f&&u>o+f&&u>c+f||ut+f&&d>i+f&&d>r+f&&d>s+f||dh&&(f=0,u={}),f++,u[i]=n,n}function _(t,e,i,a,n,r,o,s){return o?k(t,e,i,a,n,r,o,s):y(t,e,i,a,n,r,s)}function y(t,e,i,n,r,o,s){var c=j(t,e,r,o,s),l=b(t,e);r&&(l+=r[1]+r[3]);var d=c.outerHeight,u=x(0,l,i),f=w(0,d,n),h=new a(u,f,l,d);return h.lineHeight=c.lineHeight,h}function k(t,e,i,n,r,o,s,c){var l=D(t,{rich:s,truncate:c,font:e,textAlign:i,textPadding:r,textLineHeight:o}),d=l.outerWidth,u=l.outerHeight,f=x(0,d,i),h=w(0,u,n);return new a(f,h,d,u)}function x(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function w(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function C(t,e,i){var a=e.textPosition,n=e.textDistance,r=i.x,o=i.y;n=n||0;var s=i.height,c=i.width,l=s/2,d="left",u="top";switch(a){case"left":r-=n,o+=l,d="right",u="middle";break;case"right":r+=n+c,o+=l,u="middle";break;case"top":r+=c/2,o-=n,d="center",u="bottom";break;case"bottom":r+=c/2,o+=s+n,d="center";break;case"inside":r+=c/2,o+=l,d="center",u="middle";break;case"insideLeft":r+=n,o+=l,u="middle";break;case"insideRight":r+=c-n,o+=l,d="right",u="middle";break;case"insideTop":r+=c/2,o+=n,d="center";break;case"insideBottom":r+=c/2,o+=s-n,d="center",u="bottom";break;case"insideTopLeft":r+=n,o+=n;break;case"insideTopRight":r+=c-n,o+=n,d="right";break;case"insideBottomLeft":r+=n,o+=s-n,u="bottom";break;case"insideBottomRight":r+=c-n,o+=s-n,d="right",u="bottom";break}return t=t||{},t.x=r,t.y=o,t.textAlign=d,t.textVerticalAlign=u,t}function S(t,e,i){var a={textPosition:t,textDistance:i};return C({},a,e)}function M(t,e,i,a,n){if(!e)return"";var r=(t+"").split("\n");n=T(e,i,a,n);for(var o=0,s=r.length;o=r;l++)o-=r;var d=b(i,e);return d>o&&(i="",d=0),o=t-d,a.ellipsis=i,a.ellipsisWidth=d,a.contentWidth=o,a.containerWidth=t,a}function P(t,e){var i=e.containerWidth,a=e.font,n=e.contentWidth;if(!i)return"";var r=b(t,a);if(r<=i)return t;for(var o=0;;o++){if(r<=n||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?I(t,n,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*n/r):0;t=t.substr(0,s),r=b(t,a)}return""===t&&(t=e.placeholder),t}function I(t,e,i,a){for(var n=0,r=0,o=t.length;ru)t="",o=[];else if(null!=f)for(var h=T(f-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),p=0,m=o.length;pr&&A(i,t.substring(r,o)),A(i,a[2],a[1]),r=p.lastIndex}rg)return{lines:[],width:0,height:0};C.textWidth=b(C.text,P);var E=S.textWidth,j=null==E||"auto"===E;if("string"===typeof E&&"%"===E.charAt(E.length-1))C.percentWidth=E,f.push(C),E=0;else{if(j){E=C.textWidth;var D=S.textBackgroundColor,N=D&&D.image;N&&(N=n.findExistImage(N),n.isImageReady(N)&&(E=Math.max(E,N.width*I/N.height)))}var L=T?T[1]+T[3]:0;E+=L;var $=null!=v?v-x:null;null!=$&&$"}},[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/"}},[e("a-icon",{attrs:{type:"home"}}),t._v("\n 首页\n ")],1)],1),e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/members"}},[e("a-icon",{attrs:{type:"team"}}),t._v("\n 成员\n ")],1)],1),e("a-breadcrumb-item",[t._v(t._s(t.member.name))])],1),e("div",{staticClass:"header"},[e("div",{staticClass:"member-info"},[t.member?[e("div",{staticClass:"base"},[e("a-avatar",{staticClass:"m-r",attrs:{size:"large",icon:"user",src:t.member.avatar}}),e("div",{staticClass:"title"},[t._v("\n "+t._s(t.member.name)+"\n ")])],1),e("div",{staticClass:"mail muted"},[e("a-icon",{attrs:{type:"mail"}}),t._v("\n "+t._s(t.member.email)+"\n "),e("a-tooltip",[e("template",{slot:"title"},[e("span",[t._v("更新基础资料")])]),e("a",{staticClass:"muted m-l-sm",on:{click:t.syncDetail}},[e("a-icon",{attrs:{type:"reload"}})],1)],2)],1)]:t._e()],2)]),e("div",{staticClass:"actions"},[e("a-tabs",{attrs:{animated:!1,defaultActiveKey:"1"},on:{change:t.tabChange},model:{value:t.tabKey,callback:function(e){t.tabKey=e},expression:"tabKey"}},[e("a-tab-pane",{key:"1",staticClass:"info-content base-info",attrs:{tab:"详细资料"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("详细资料")]),e("a",{staticClass:"muted",on:{click:t.showEditBaseInfo}},[e("a-icon",{attrs:{type:"edit"}}),t._v("\n 编辑")],1)]),e("a-row",{staticClass:"content-wrapper"},[e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("姓名")]),e("span",[t._v(t._s(t.member.name))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("手机")]),e("span",[t._v(t._s(t.member.mobile))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("邮箱")]),e("span",[t._v(t._s(t.member.email))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("职位")]),e("span",[t._v(t._s(t.member.position))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("部门")]),e("span",[t._v(t._s(t.member.departments))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("加入时间")]),e("span",[t._v(t._s(t.member.create_time))])])])],1)],1),e("a-tab-pane",{key:"3",staticClass:"info-content",attrs:{tab:"任务安排"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("\n 任务安排\n "),e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"muted m-l-sm",staticStyle:{"font-size":"14px"}},[0==t.task.type[0]?e("span",[t._v("未完成的任务 ")]):e("span",[t._v("全部 ")]),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},on:{click:t.changeTaskType},slot:"overlay",model:{value:t.task.type,callback:function(e){t.$set(t.task,"type",e)},expression:"task.type"}},[e("a-menu-item",{key:"0"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("未完成的任务")])])]),e("a-menu-item",{key:"-1"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("全部")])])])],1)],1)],1)]),e("a-list",{staticClass:"content-wrapper list",attrs:{loading:t.task.loading}},t._l(t.task.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",{on:{click:function(e){return t.showTaskDetail(i)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[i.done?t._e():e("a-icon",{attrs:{type:"border"}}),i.done?e("a-icon",{attrs:{type:"check-square"}}):t._e(),e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.name))]),e("span",{staticClass:"muted m-l tips"},[e("a-icon",{attrs:{type:"project"}}),e("router-link",{staticClass:"muted m-l-xs",attrs:{target:"_blank",to:"/project/space/task/"+i.projectInfo.code}},[t._v(t._s(i.projectInfo.name)+"\n ")])],1),i.end_time&&!i.done?e("span",{staticClass:"label m-r-xs pull-right",class:t.showTimeLabel(i.end_time)},[t._v(t._s(t.showTaskTime(i.begin_time,i.end_time)))]):t._e()],1),e("div",{attrs:{slot:"description"},slot:"description"})])],1)})),1)],1),e("a-tab-pane",{key:"4",staticClass:"info-content",attrs:{tab:"Ta的项目"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("Ta的项目")])]),e("a-list",{staticClass:"content-wrapper list default-list",attrs:{loading:t.project.loading}},t._l(t.project.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",{on:{click:function(e){return t.routerLink("/project/space/task/".concat(i.code))}}},[e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.name))]),e("a-tag",{directives:[{name:"show",rawName:"v-show",value:!i.private,expression:"!item.private"}],staticClass:"m-l",attrs:{color:"green"}},[t._v("公开")])],1),e("div",{attrs:{slot:"description"},slot:"description"},[e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.description))])])],1)],1)})),1)],1)],1)],1),e("a-modal",{attrs:{width:600,title:t.actionInfo.modalTitle,bodyStyle:{padding:"6px 18px 1px 18px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmitBaseInfo.apply(null,arguments)}}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"姓名"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请填写姓名"}],validateTrigger:"blur"}],expression:"['name',{rules: [{ required: true, message: '请填写姓名' }], validateTrigger: 'blur'}]"}],attrs:{placeholder:"输入姓名",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"邮箱"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["email",{rules:[{required:!0,message:"请填写电子邮箱地址"}],validateTrigger:"blur"}],expression:"['email',{rules: [{ required: true, message: '请填写电子邮箱地址' }], validateTrigger: 'blur'}]"}],attrs:{placeholder:"输入电子邮箱地址",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"手机"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mobile"],expression:"['mobile']"}],attrs:{placeholder:"输入手机",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"职位"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["position"],expression:"['position']"}],attrs:{placeholder:"输入职位",size:"large"}})],1)],1)],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-form-item",{attrs:{label:"描述"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"输入描述",size:"large",type:"textarea",rows:3}})],1)],1)],1),e("a-form-item",[e("div",{staticClass:"action-btn",staticStyle:{"text-align":"center"}},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("保存\n ")])],1)])],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,title:"",footer:null},on:{cancel:t.detailClose},model:{value:t.task.modalStatus,callback:function(e){t.$set(t.task,"modalStatus",e)},expression:"task.modalStatus"}},[t.task.currentTask.code?e("task-detail",{attrs:{taskCode:t.task.currentTask.code},on:{close:t.detailClose}}):t._e()],1)],1)},n=[],r=(i("c5f6"),i("96cf"),i("1da1")),o=i("c1df"),s=i.n(o),c=i("009f"),l=i("1b80"),d=i("2f14"),u=i("c24f"),f=i("b199"),h=i("24d2"),p=i("81fe"),m={name:"memberProfile",components:{taskDetail:c["a"]},mixins:[l["a"]],data:function(){return{code:this.$route.params.code,tabKey:this.$route.query.key?this.$route.query.key:"1",member:{},task:{page:1,pageSize:1e3,loading:!1,modalStatus:!1,currentTask:{},type:["0"],total:0,list:[]},project:{page:1,pageSize:1e3,loading:!1,total:0,list:[]},form:this.$form.createForm(this),actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"组织成员信息"}}},computed:{},watch:{},created:function(){this.init()},methods:{init:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getMember();case 2:this.tabChange(this.tabKey);case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),tabChange:function(t){switch(t){case"3":this.getTasks();break;case"4":this.getProjectList()}},getMember:function(){var t=this;return Object(u["x"])(this.code).then((function(e){t.member=e.data}))},syncDetail:function(){var t=this;Object(u["A"])({code:this.code}).then((function(e){t.getMember()}))},getTasks:function(){var t=this;this.task.loading=!0,Object(f["u"])({memberCode:this.member.member_code,type:Number(this.task.type[0]),page:this.task.page,pageSize:this.task.pageSize}).then((function(e){t.task.loading=!1,t.task.list=e.data.list,t.task.total=e.data.total}))},changeTaskType:function(t){var e=this;this.$nextTick((function(){e.getTasks()}))},showTaskDetail:function(t){this.task.currentTask=JSON.parse(JSON.stringify(t)),this.task.modalStatus=!0},detailClose:function(){var t=this;this.task.modalStatus=!1,setTimeout((function(){t.task.currentTask.code=""}),500)},getProjectList:function(){var t=this;this.task.loading=!0,Object(h["l"])({memberCode:this.member.member_code,page:this.task.page,pageSize:this.task.pageSize}).then((function(e){t.project.loading=!1,t.project.list=e.data.list,t.project.total=e.data.total}))},showEditBaseInfo:function(){var t=this;this.actionInfo.modalStatus=!0,this.$nextTick((function(){t.form.setFieldsValue({name:t.member.name,mobile:t.member.mobile,email:t.member.email,position:t.member.position,description:t.member.description})}))},handleSubmitBaseInfo:function(){var t=this,e=this;e.form.validateFields((function(i,a){i||(a.code=e.member.code,Object(u["q"])(a).then((function(i){var n=Object(d["a"])(i);n&&(t.actionInfo.modalStatus=!1,Object.assign(e.member,a))})))}))},showTaskTime:function(t,e){return Object(p["a"])(t,e)},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=s()(s()(t).format("YYYY-MM-DD")).diff(s()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e}}},v=m,g=(i("d789"),i("2877")),b=Object(g["a"])(v,a,n,!1,null,null,null);e["default"]=b.exports},e8f7:function(t,e,i){"use strict";var a=this;Object.defineProperty(e,"__esModule",{value:!0}),e.off=e.on=void 0;var n=i("5772"),r=function(t,e){(0,n.requireModule)("globalEvent").addEventListener(t,(function(t){var i={preventDefault:function(){throw new Error("does not support preventDefault")},detail:t};e.call(a,i)}))};e.on=r;var o=function(t,e){(0,n.requireModule)("globalEvent").removeEventListener(t,e)};e.off=o},e90d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getRealtimeTracingStatus$=void 0;var r=i("c6b3"),o="biz.realm.getRealtimeTracingStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.13"},n)),e.getRealtimeTracingStatus$=a,e.default=a},e9cb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.departmentsPicker$=void 0;var r=i("c6b3"),o="biz.contact.departmentsPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"4.2.5"},n[r.ENV_ENUM.ios]={vs:"3.0"},n[r.ENV_ENUM.android]={vs:"3.0"},n)),e.departmentsPicker$=a,e.default=a},e9e2:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseImage$=void 0;var r=i("c6b3"),o="biz.util.chooseImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.1"},n[r.ENV_ENUM.android]={vs:"5.1.1"},n)),e.chooseImage$=a,e.default=a},ea1a:function(t,e,i){},ea3f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setWatermarkInfo$=void 0;var r=i("c6b3"),o="biz.watermarkCamera.setWatermarkInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.25"},n[r.ENV_ENUM.android]={vs:"6.5.25"},n)),e.setWatermarkInfo$=a,e.default=a},ea47:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.rolesPicker$=void 0;var r=i("c6b3"),o="biz.contact.rolesPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.16"},n[r.ENV_ENUM.android]={vs:"6.3.16"},n)),e.rolesPicker$=a,e.default=a},ea60:function(t,e,i){"use strict";var a=i("c6b3"),n=i("9e78"),r=Object.assign({},n,a.ddSdk.getExportSdk());t.exports=r},ea97:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.resume$=void 0;var r=i("c6b3"),o="device.audio.resume";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.resume$=a,e.default=a},eb62:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.play$=void 0;var r=i("c6b3"),o="device.audio.play";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.play$=a,e.default=a},eb6b:function(t,e,i){var a=i("6d8b"),n=i("e0d3"),r=n.makeInner,o=i("cd33"),s=i("133d"),c=a.each,l=a.curry,d=r();function u(t,e,i){var n=t.currTrigger,r=[t.x,t.y],o=t,d=t.dispatchAction||a.bind(i.dispatchAction,i),u=e.getComponent("axisPointer").coordSysAxesInfo;if(u){k(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var h=k(r),x=o.axesInfo,w=u.axesInfo,C="leave"===n||k(r),S={},M={},T={list:[],map:{}},P={showPointer:l(p,M),showTooltip:l(m,T)};c(u.coordSysMap,(function(t,e){var i=h||t.containPoint(r);c(u.coordSysAxesInfo[e],(function(t,e){var a=t.axis,n=_(x,t);if(!C&&i&&(!x||n)){var o=n&&n.value;null!=o||h||(o=a.pointToData(r)),null!=o&&f(t,o,P,!1,S)}}))}));var I={};return c(w,(function(t,e){var i=t.linkGroup;i&&!M[e]&&c(i.axesInfo,(function(e,a){var n=M[a];if(e!==t&&n){var r=n.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,y(e),y(t)))),I[t.key]=r}}))})),c(I,(function(t,e){f(w[e],t,P,!0,S)})),v(M,w,S),g(T,r,t,d),b(w,d,i),S}}function f(t,e,i,n,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=h(e,t),c=s.payloadBatch,l=s.snapToValue;c[0]&&null==r.seriesIndex&&a.extend(r,c[0]),!n&&t.snap&&o.containData(l)&&null!=l&&(e=l),i.showPointer(t,e,c,r),i.showTooltip(t,s,l)}else i.showPointer(t,e)}function h(t,e){var i=e.axis,a=i.dim,n=t,r=[],o=Number.MAX_VALUE,s=-1;return c(e.seriesModels,(function(e,l){var d,u,f=e.getData().mapDimension(a,!0);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(f,t,i);u=h.dataIndices,d=h.nestestValue}else{if(u=e.getData().indicesOfNearest(f[0],t,"category"===i.type?.5:null),!u.length)return;d=e.getData().get(f[0],u[0])}if(null!=d&&isFinite(d)){var p=t-d,m=Math.abs(p);m<=o&&((m=0&&s<0)&&(o=m,s=p,n=d,r.length=0),c(u,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:n}}function p(t,e,i,a){t[e.key]={value:i,payloadBatch:a}}function m(t,e,i,a){var n=i.payloadBatch,r=e.axis,s=r.model,c=e.axisPointerModel;if(e.triggerTooltip&&n.length){var l=e.coordSys.model,d=o.makeKey(l),u=t.map[d];u||(u=t.map[d]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:a,valueLabelOpt:{precision:c.get("label.precision"),formatter:c.get("label.formatter")},seriesDataIndices:n.slice()})}}function v(t,e,i){var a=i.axesInfo=[];c(e,(function(e,i){var n=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(n.status="show"),n.value=r.value,n.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(n.status="hide"),"show"===n.status&&a.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:n.value})}))}function g(t,e,i,a){if(!k(e)&&t.list.length){var n=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:t.list})}else a({type:"hideTip"})}function b(t,e,i){var n=i.getZr(),r="axisPointerLastHighlights",o=d(n)[r]||{},s=d(n)[r]={};c(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&c(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var l=[],u=[];a.each(o,(function(t,e){!s[e]&&u.push(t)})),a.each(s,(function(t,e){!o[e]&&l.push(t)})),u.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:u}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}function _(t,e){for(var i=0;i<(t||[]).length;i++){var a=t[i];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}function y(t){var e=t.axis.model,i={},a=i.axisDim=t.axis.dim;return i.axisIndex=i[a+"AxisIndex"]=e.componentIndex,i.axisName=i[a+"AxisName"]=e.name,i.axisId=i[a+"AxisId"]=e.id,i}function k(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=u},eb86:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.loginGovNet$=void 0;var r=i("c6b3"),o="net.bjGovApn.loginGovNet";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.5.16"},n)),e.loginGovNet$=a,e.default=a},ec02:function(t,e,i){var a=i("6d8b"),n=i("84ce"),r=function(t,e,i,a,r){n.call(this,t,e,i),this.type=a||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},a.inherits(r,n);var o=r;t.exports=o},ec34:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.createHashMap,o=n.isString,s=n.isArray,c=n.each,l=(n.assert,i("3041")),d=l.parseXML,u=r(),f={registerMap:function(t,e,i){var a;return s(e)?a=e:e.svg?a=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),a=[{type:"geoJSON",source:e,specialAreas:i}]),c(a,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var i=h[e];i(t)})),u.set(t,a)},retrieveMap:function(t){return u.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=d(t.source)}};t.exports=f},ec6f:function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.isTypedArray,o=i("625e"),s=o.enableClassCheck,c=i("93d0"),l=c.SOURCE_FORMAT_ORIGINAL,d=c.SERIES_LAYOUT_BY_COLUMN,u=c.SOURCE_FORMAT_UNKNOWN,f=c.SOURCE_FORMAT_TYPED_ARRAY,h=c.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===h?{}:[]),this.sourceFormat=t.sourceFormat||u,this.seriesLayoutBy=t.seriesLayoutBy||d,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&n(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:r(t)?f:l,fromDataset:!1})},s(p);var m=p;t.exports=m},ec97:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createSceneGroup$=void 0;var r=i("c6b3"),o="biz.chat.createSceneGroup";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.17"},n[r.ENV_ENUM.android]={vs:"4.7.17"},n[r.ENV_ENUM.pc]={vs:"4.7.17"},n)),e.createSceneGroup$=a,e.default=a},ecfc:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.reportDebugMessage$=void 0;var r=i("c6b3"),o="biz.resource.reportDebugMessage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.20"},n[r.ENV_ENUM.android]={vs:"6.5.20"},n)),e.reportDebugMessage$=a,e.default=a},ed21:function(t,e,i){var a=i("2cf4"),n=a.devicePixelRatio,r=i("6d8b"),o=i("4942"),s=i("9850"),c=i("04f6"),l=i("5e68"),d=i("98b7"),u=i("0da8"),f=i("22d1"),h=1e5,p=314159,m=.01,v=.001;function g(t){return parseInt(t,10)}function b(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var _=new s(0,0,0,0),y=new s(0,0,0,0);function k(t,e,i){return _.copy(t.getBoundingRect()),t.transform&&_.applyTransform(t.transform),y.width=e,y.height=i,!_.intersect(y)}function x(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i=0&&i.splice(a,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=g,o.__drawIndex0&&t>a[0]){for(s=0;st)break;r=i[a[s]]}if(a.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var l=r.dom;l.nextSibling?c.insertBefore(e.dom,l.nextSibling):c.appendChild(e.dom)}else c.firstChild?c.insertBefore(e.dom,c.firstChild):c.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,a,n=this._zlevelList;for(a=0;a0?m:0),this._needsManuallyCompositing),c.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+c.id),c!==r&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),r=c),a.__dirty&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var a=0;a1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var c=a.normalizeCssArray,l=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(l,(function(t,e){return d[e]}))}var f=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){a.isArray(e)||(e=[e]);var n=e.length;if(!n)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function g(t,e){return t+="","0000".substr(0,e-t.length)+t}function b(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var a=r.parseDate(e),n=i?"UTC":"",o=a["get"+n+"FullYear"](),s=a["get"+n+"Month"]()+1,c=a["get"+n+"Date"](),l=a["get"+n+"Hours"](),d=a["get"+n+"Minutes"](),u=a["get"+n+"Seconds"](),f=a["get"+n+"Milliseconds"]();return t=t.replace("MM",g(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",g(c,2)).replace("d",c).replace("hh",g(l,2)).replace("h",l).replace("mm",g(d,2)).replace("m",d).replace("ss",g(u,2)).replace("s",u).replace("SSS",g(f,3)),t}function _(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var y=n.truncateText;function k(t){return n.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function x(t,e,i,a,r,o,s,c){return n.getBoundingRect(t,e,i,a,r,c,o,s)}function w(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=c,e.encodeHTML=u,e.formatTpl=p,e.formatTplSimple=m,e.getTooltipMarker=v,e.formatTime=b,e.capitalFirst=_,e.truncateText=y,e.getTextBoundingRect=k,e.getTextRect=x,e.windowOpen=w},edb5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getInfo$=void 0;var r=i("c6b3"),o="biz.resource.getInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.10"},n[r.ENV_ENUM.android]={vs:"6.5.10"},n)),e.getInfo$=a,e.default=a},ee1a:function(t,e,i){var a=i("6d8b"),n=a.each,r=a.isString;function o(t,e,i){i=i||{};var a,o,s,c,l=i.byIndex,d=i.stackedCoordDimension,u=!(!t||!t.get("stack"));if(n(e,(function(t,i){r(t)&&(e[i]=t={name:t}),u&&!t.isExtraCoord&&(l||a||!t.ordinalMeta||(a=t),o||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(o=t))})),!o||l||a||(l=!0),o){s="__\0ecstackresult",c="__\0ecstackedover",a&&(a.createInvertedIndices=!0);var f=o.coordDim,h=o.type,p=0;n(e,(function(t){t.coordDim===f&&p++})),e.push({name:s,coordDim:f,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:c,coordDim:c,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:a&&a.name,isStackedByIndex:l,stackedOverDimension:c,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function c(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=c},ee84:function(t,e,i){var a=i("20c8"),n=i("401b"),r=n.applyTransform,o=a.CMD,s=[[],[],[]],c=Math.sqrt,l=Math.atan2;function d(t,e){var i,a,n,d,u,f=t.data,h=o.M,p=o.C,m=o.L,v=o.R,g=o.A,b=o.Q;for(n=0,d=0;n=0;o--){var s=i[o].dimension,c=t.dimensions[s],l=t.getDimensionInfo(c);if(a=l&&l.coordDim,"x"===a||"y"===a){r=i[o];break}}if(r){var u=e.getAxis(a),f=n.map(r.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=f.length,p=r.outerColors.slice();h&&f[0].coord>f[h-1].coord&&(f.reverse(),p.reverse());var m=10,v=f[0].coord-m,g=f[h-1].coord+m,b=g-v;if(b<.001)return"transparent";n.each(f,(function(t){t.offset=(t.coord-v)/b})),f.push({offset:h?f[h-1].offset:.5,color:p[1]||"transparent"}),f.unshift({offset:h?f[0].offset:.5,color:p[0]||"transparent"});var _=new d.LinearGradient(0,0,0,0,f,!0);return _[a]=v,_[a+"2"]=g,_}}}function P(t,e,i){var a=t.get("showAllSymbol"),r="auto"===a;if(!a||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!I(o,e))){var s=e.mapDimension(o.dim),c={};return n.each(o.getViewLabels(),(function(t){c[t.tickValue]=1})),function(t){return!c.hasOwnProperty(e.get(s,t))}}}}function I(t,e){var i=t.getExtent(),a=Math.abs(i[1]-i[0])/t.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),r=Math.max(1,Math.round(n/5)),o=0;oa)return!1;return!0}function O(t,e,i){if("cartesian2d"===t.type){var a=t.getBaseAxis().isHorizontal(),n=y(t,e,i);if(!i.get("clip",!0)){var r=n.shape,o=Math.max(r.width,r.height);a?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return n}return k(t,e,i)}var E=m.extend({type:"line",init:function(){var t=new d.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var a=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),c=t.getModel("areaStyle"),l=o.mapArray(o.getItemLayout),d="polar"===a.type,u=this._coordSys,f=this._symbolDraw,h=this._polyline,p=this._polygon,m=this._lineGroup,v=t.get("animation"),b=!c.isEmpty(),_=c.get("origin"),y=g(a,o,_),k=S(a,o,y),w=t.get("showSymbol"),I=w&&!d&&P(t,o,a),E=this._data;E&&E.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),E.setItemGraphicEl(e,null))})),w||f.remove(),r.add(m);var j,D=!d&&t.get("step");a&&a.getArea&&t.get("clip",!0)&&(j=a.getArea(),null!=j.width?(j.x-=.1,j.y-=.1,j.width+=.2,j.height+=.2):j.r0&&(j.r0-=.5,j.r1+=.5)),this._clipShapeForSymbol=j,h&&u.type===a.type&&D===this._step?(b&&!p?p=this._newPolygon(l,k,a,v):p&&!b&&(m.remove(p),p=this._polygon=null),m.setClipPath(O(a,!1,t)),w&&f.updateData(o,{isIgnore:I,clipShape:j}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),x(this._stackedOnPoints,k)&&x(this._points,l)||(v?this._updateAnimation(o,k,a,i,D,_):(D&&(l=M(l,a,D),k=M(k,a,D)),h.setShape({points:l}),p&&p.setShape({points:l,stackedOnPoints:k})))):(w&&f.updateData(o,{isIgnore:I,clipShape:j}),D&&(l=M(l,a,D),k=M(k,a,D)),h=this._newPolyline(l,a,v),b&&(p=this._newPolygon(l,k,a,v)),m.setClipPath(O(a,!0,t)));var A=T(o,a)||o.getVisual("color");h.useStyle(n.defaults(s.getLineStyle(),{fill:"none",stroke:A,lineJoin:"bevel"}));var N=t.get("smooth");if(N=C(t.get("smooth")),h.setShape({smooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var L=o.getCalculationInfo("stackedOnSeries"),$=0;p.useStyle(n.defaults(c.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel"})),L&&($=C(L.get("smooth"))),p.setShape({smooth:N,stackedOnSmooth:$,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=a,this._stackedOnPoints=k,this._points=l,this._step=D,this._valueOrigin=_},dispose:function(){},highlight:function(t,e,i,a){var n=t.getData(),r=u.queryDataIndex(n,a);if(!(r instanceof Array)&&null!=r&&r>=0){var o=n.getItemGraphicEl(r);if(!o){var s=n.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new c(n,r),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,n.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else m.prototype.highlight.call(this,t,e,i,a)},downplay:function(t,e,i,a){var n=t.getData(),r=u.queryDataIndex(n,a);if(null!=r&&r>=0){var o=n.getItemGraphicEl(r);o&&(o.__temp?(n.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else m.prototype.downplay.call(this,t,e,i,a)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,a,n,r){var o=this._polyline,s=this._polygon,c=t.hostModel,u=l(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),f=u.current,h=u.stackedOnCurrent,p=u.next,m=u.stackedOnNext;if(n&&(f=M(u.current,i,n),h=M(u.stackedOnCurrent,i,n),p=M(u.next,i,n),m=M(u.stackedOnNext,i,n)),w(f,p)>3e3||s&&w(h,m)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:m}));o.shape.__points=u.current,o.shape.points=f,d.updateProps(o,{shape:{points:p}},c),s&&(s.setShape({points:f,stackedOnPoints:h}),d.updateProps(s,{shape:{points:p,stackedOnPoints:m}},c));for(var v=[],g=u.status,b=0;b=1)&&(t=1),t}s===l&&c===f||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=u(this,a)),this._modBy=l,this._modDataCount=f;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var m=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(o||m1&&a>0?s:o}};return r;function o(){return e=t?null:r0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:i.fileUrl},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:i.fileUrl}},[t._v(t._s(i.name))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(i.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.removeTaskSource(i,a)}},slot:"actions"},[e("a-icon",{attrs:{type:"delete"}})],1)],1)})),1)],1)])])]),e("div",{staticClass:"component-mount",staticStyle:{display:"flex","justify-content":"flex-end"}},[e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-right":"20px"},on:{click:t.detailClose}},[t._v("取消")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:t.addTask}},[t._v("完成")])],1)])])])],1)])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCode},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)}),o=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("20d6"),i("7514"),i("ade3")),c=(i("c5f6"),i("2f62")),l=i("1157"),d=i.n(l),u=i("c1df"),f=i.n(u),h=i("f93e"),p=i("a897"),m=i("b199"),v=i("8870"),g=i("d8bc"),b=i("d3a1"),_=i("68fe"),y=i("2f14"),k=i("f66c"),x=i("97a8"),w=i("81fe"),C=i("0e8f"),S=i("c24f"),M=i("261e");function T(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function P(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){},uploader:{handler:function(t,e){console.log("上传文件",t),console.log("上传文件",t.fileList,e.fileList);var i=t.fileList;i[i.length-1].projectName==this.projectName&&this.taskSourceList.push(i[i.length-1])},deep:!0}},created:function(){},mounted:function(){var t=this,e=arguments;this.getDepartment(),this.projectCode=this.$route.params.code,console.log(this.projectCode),this.projectName=this.$route.query.name,this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){console.log(i);var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(),"@"==a.key&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(w["c"])(t)}},methods:{getDepartment:function(){var t=this;Object(C["c"])().then((function(e){t.departmentList=e.data.list}))},departmentDropClick:function(t){var e=this,i=this.departmentList.find((function(e){return e.code==t.key}));this.department=i,Object(S["w"])({searchType:4,type:1,departmentCode:i.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(x["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_list.find((function(e){return e.code==t.code}));e?Object(x["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_list.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_list.splice(t,1)},changeExchange:function(t){this.task.exchangeList.push(P({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,i=this.task.exchangeList.findIndex((function(t){return 1==t.show}));if(-1!=i){this.task.exchangeList[i].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchangeList));t?a[i]=P({f_key:(new Date).getTime(),show:!1},t):a.splice(i,1),this.$nextTick((function(){e.task.exchangeList=a}))}},removeTaskSource:function(t,e){this.taskSourceList.splice(e,1)},addTask:function(){return this.task.name?this.task.description?this.task.end_time?this.department.code?void this.createTask():Object(x["b"])({title:"请选择处理部门"},"error",5e3):Object(x["b"])({title:"请选择完成期限"},"error",5e3):Object(x["b"])({title:"请输入工作内容"},"error",5e3):Object(x["b"])({title:"请输入工单名称"},"error",5e3)},createTask:function(){var t=this,e=JSON.parse(JSON.stringify(this.task));e.exchangeList=e.exchangeList.map((function(t){return t.code})),e.file_list=this.taskSourceList.map((function(t){return t.code})).join(","),e.exchangeList=e.exchangeList.join(","),e.copied_list=e.copied_list.map((function(t){return t.code})),e.copied_list=e.copied_list.join(","),e.assign_to="",e.department_code=this.department.code,e.liasion_code=this.liasionMan.code,e.stage_code=this.$route.query.stage_code,e.project_code=this.$route.params.code,e.end_time=new Date(e.end_time).getTime(),Object(m["s"])(e).then((function(e){console.log(e),t.$emit("close",t.task),t.$router.push("/project/space/task/".concat(t.$route.params.code,"?re=1&from=").concat(t.$route.query.from))})).catch((function(t){Object(x["b"])({title:"创建失败"},"error",5e3)}))},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskCopied=!1,this.showChildTask=!1},getTask:function(){this.$store.commit("viewRefresh"),this.clearMemberMenu(),this.task.end_time?(this.task.setEndTime=!0,this.task.end_time=f()(this.task.end_time)):(this.task.setEndTime=!1,this.task.end_time=f()(f()().format("YYYY-MM-DD")+" 18:00")),this.task.end_time_format=Object(w["b"])(this.task.end_time,!0),this.task.begin_time?(this.task.setBeginTime=!0,this.task.begin_time=f()(this.task.begin_time)):(this.task.setBeginTime=!1,this.task.begin_time=f()(f()().format("YYYY-MM-DD")+" 18:00")),this.task.begin_time_format=Object(w["b"])(this.task.begin_time,!0),this.initContent(this.task.description||""),this.loading=!1,this.$store.dispatch("setTempData",{projectCode:this.projectCodeCurrent,taskCode:this.code})},getTaskLog:function(){},taskSources:function(){},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(g["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doSource:function(t,e){var i=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(v["a"])(e.code).then((function(t){var e=Object(y["a"])(t);if(!e)return!1;i.taskSources(),i.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(x["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除工单后,该工单及其子工单将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(m["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该工单吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(m["p"])(t.code).then((function(e){var i=Object(y["a"])(e);if(!i)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(x["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开工单页面"},"notice","success",5)},like:function(t){t=Number(t),Object(m["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var i="";t?(i=f()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=f()(this.task.begin_time).format("MM月DD日 HH:mm")):i="",this.editTask({begin_time:i})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var i="";t?(i=f()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=f()(this.task.end_time).format("MM月DD日 HH:mm")):i="",this.editTask({end_time:i})},doPri:function(t){console.log(this.task),this.task.pri=t.key,0==this.task.pri&&(this.task.priText="普通"),1==this.task.pri&&(this.task.priText="紧急"),2==this.task.pri&&(this.task.priText="非常紧急"),this.clearMemberMenu()},doName:function(){if(this.showEditName=!1,this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},editTask:function(t){},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description||"")},initContent:function(t){var e=this;t?this.$refs.vueWangeditor&&this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor&&this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))},doContent:function(){var t=this.$refs.vueWangeditor.getHtml();this.code;this.task.description=t,this.showTaskDescriptionEdit=!1},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=d()(".description-txt-con");if(e||(t?(this.showMoreDesc=!0,i.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,i.css("max-height",(function(){return"300px"})))),e){var a=i.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},changeModalHeight:function(){var t=this.width,e=d()(window).width()-100,i=d()(window).height()-150;d()(window).height();"full-screen"===t||void 0!==this.$route.query["full-screen"]?(d()(".task-detail").css("width",d()(window).width()),i+=85,85,d()(".content-left").css("height",i+"px")):(e>t&&(e=t),d()(".task-detail").css("width",e),d()(".content-left").css("height",i+"px"))}}},A=D,N=(i("bd46"),i("2877")),L=Object(N["a"])(A,r,o,!1,null,null,null),$=L.exports,V={name:"task-add-modal",components:{taskAdd:$},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},addClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},R=V,z=(i("5ab3"),Object(N["a"])(R,a,n,!1,null,null,null));e["default"]=z.exports},f576:function(t,e,i){"use strict";var a=i("5ca1"),n=i("2e08"),r=i("a25f"),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r);a(a.P+a.F*o,"String",{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},f629:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setScreenBrightnessAndKeepOn$=void 0;var r=i("c6b3"),o="biz.util.setScreenBrightnessAndKeepOn";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.37"},n[r.ENV_ENUM.android]={vs:"4.3.3"},n)),e.setScreenBrightnessAndKeepOn$=a,e.default=a},f694:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getWifiStatus$=void 0;var r=i("c6b3"),o="device.base.getWifiStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.11.0"},n[r.ENV_ENUM.android]={vs:"2.11.0"},n)),e.getWifiStatus$=a,e.default=a},f706:function(t,e,i){var a=i("2306"),n=i("1418"),r=i("6d8b"),o=r.isObject;function s(t){this.group=new a.Group,this._symbolCtor=t||n}var c=s.prototype;function l(t,e,i,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(i))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function d(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function u(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}c.updateData=function(t,e){e=d(e);var i=this.group,n=t.hostModel,r=this._data,o=this._symbolCtor,s=u(t);r||i.removeAll(),t.diff(r).add((function(a){var n=t.getItemLayout(a);if(l(t,n,a,e)){var r=new o(t,a,s);r.attr("position",n),t.setItemGraphicEl(a,r),i.add(r)}})).update((function(c,d){var u=r.getItemGraphicEl(d),f=t.getItemLayout(c);l(t,f,c,e)?(u?(u.updateData(t,c,s),a.updateProps(u,{position:f},n)):(u=new o(t,c),u.attr("position",f)),i.add(u),t.setItemGraphicEl(c,u)):i.remove(u)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){i.remove(e)}))})).execute(),this._data=t},c.isPersistent=function(){return!0},c.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,i){var a=t.getItemLayout(i);e.attr("position",a)}))},c.incrementalPrepareUpdate=function(t){this._seriesScope=u(t),this._data=null,this.group.removeAll()},c.incrementalUpdate=function(t,e,i){function a(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}i=d(i);for(var n=t.start;na||c.newline?(r=0,d=v,o+=s+i,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(m?-m.y+h.y:0);u=o+g,u>n||c.newline?(r+=s+i,o=0,u=g,s=h.width):s=Math.max(s,h.width)}c.newline||(f[0]=r,f[1]=o,"horizontal"===t?r=d+i:o=u+i)}))}var f=u,h=a.curry(u,"vertical"),p=a.curry(u,"horizontal");function m(t,e,i){var a=e.width,n=e.height,r=o(t.x,a),c=o(t.y,n),l=o(t.x2,a),d=o(t.y2,n);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.x2)))&&(l=a),(isNaN(c)||isNaN(parseFloat(t.y)))&&(c=0),(isNaN(d)||isNaN(parseFloat(t.y2)))&&(d=n),i=s.normalizeCssArray(i||0),{width:Math.max(l-r-i[1]-i[3],0),height:Math.max(d-c-i[0]-i[2],0)}}function v(t,e,i){i=s.normalizeCssArray(i||0);var a=e.width,r=e.height,c=o(t.left,a),l=o(t.top,r),d=o(t.right,a),u=o(t.bottom,r),f=o(t.width,a),h=o(t.height,r),p=i[2]+i[0],m=i[1]+i[3],v=t.aspect;switch(isNaN(f)&&(f=a-d-m-c),isNaN(h)&&(h=r-u-p-l),null!=v&&(isNaN(f)&&isNaN(h)&&(v>a/r?f=.8*a:h=.8*r),isNaN(f)&&(f=v*h),isNaN(h)&&(h=f/v)),isNaN(c)&&(c=a-d-f-m),isNaN(l)&&(l=r-u-h-p),t.left||t.right){case"center":c=a/2-f/2-i[3];break;case"right":c=a-f-m;break}switch(t.top||t.bottom){case"middle":case"center":l=r/2-h/2-i[0];break;case"bottom":l=r-h-p;break}c=c||0,l=l||0,isNaN(f)&&(f=a-m-c-(d||0)),isNaN(h)&&(h=r-p-l-(u||0));var g=new n(c+i[3],l+i[0],f,h);return g.margin=i,g}function g(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],c=!o||!o.hv||o.hv[1],l=o&&o.boundingMode||"all";if(s||c){var d;if("raw"===l)d="group"===t.type?new n(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(d=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();d=d.clone(),d.applyTransform(u)}e=v(a.defaults({width:d.width,height:d.height},e),i,r);var f=t.position,h=s?e.x-d.x:0,p=c?e.y-d.y:0;t.attr("position","raw"===l?[h,p]:[f[0]+h,f[1]+p])}}function b(t,e){return null!=t[d[e][0]]||null!=t[d[e][1]]&&null!=t[d[e][2]]}function _(t,e,i){!a.isObject(i)&&(i={});var n=i.ignoreSize;!a.isArray(n)&&(n=[n,n]);var r=s(d[0],0),o=s(d[1],1);function s(i,a){var r={},o=0,s={},d=0,f=2;if(c(i,(function(e){s[e]=t[e]})),c(i,(function(t){l(e,t)&&(r[t]=s[t]=e[t]),u(r,t)&&o++,u(s,t)&&d++})),n[a])return u(e,i[1])?s[i[2]]=null:u(e,i[2])&&(s[i[1]]=null),s;if(d!==f&&o){if(o>=f)return r;for(var h=0;hh[1]?-1:1,m=["start"===s?h[0]-p*f:"end"===s?h[1]+p*f:(h[0]+h[1])/2,E(s)?t.labelOffset+d*f:0],v=e.get("nameRotate");null!=v&&(v=v*k/180),E(s)?a=S(t.rotation,null!=v?v:t.rotation,d):(a=M(t,s,v||0,h),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(a.rotation)),!isFinite(r)&&(r=null)));var g=u.getFont(),b=e.get("nameTruncate",!0)||{},_=b.ellipsis,y=n(t.nameTruncateMaxWidth,b.maxWidth,r),x=null!=_&&null!=y?c.truncateText(i,y,g,_,{minChar:2,placeholder:b.placeholder}):i,w=e.get("tooltip",!0),P=e.mainType,I={componentType:P,name:i,$vars:["name"]};I[P+"Index"]=e.componentIndex;var O=new l.Text({anid:"name",__fullText:i,__truncatedText:x,position:m,rotation:a.rotation,silent:T(e),z2:1,tooltip:w&&w.show?o({content:i,formatter:function(){return i},formatterParams:I},w):null});l.setTextStyle(O.style,u,{text:x,textFont:g,textFill:u.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:u.get("align")||a.textAlign,textVerticalAlign:u.get("verticalAlign")||a.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=C(e),O.eventData.targetType="axisName",O.eventData.name=i),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},C=x.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},S=x.innerTextLayout=function(t,e,i){var a,n,r=h(e-t);return f(r)?(n=i>0?"top":"bottom",a="center"):f(r-k)?(n=i>0?"bottom":"top",a="center"):(n="middle",a=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:a,textVerticalAlign:n}};function M(t,e,i,a){var n,r,o=h(i-t.rotation),s=a[0]>a[1],c="start"===e&&!s||"start"!==e&&s;return f(o-k/2)?(r=c?"bottom":"top",n="center"):f(o-1.5*k)?(r=c?"top":"bottom",n="center"):(r="middle",n=o<1.5*k&&o>k/2?c?"left":"right":c?"right":"left"),{rotation:o,textAlign:n,textVerticalAlign:r}}var T=x.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function P(t,e,i){if(!y(t.axis)){var a=t.get("axisLabel.showMinLabel"),n=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],c=e[e.length-2],l=i[0],d=i[1],u=i[i.length-1],f=i[i.length-2];!1===a?(I(r),I(l)):O(r,o)&&(a?(I(o),I(d)):(I(r),I(l))),!1===n?(I(s),I(u)):O(c,s)&&(n?(I(c),I(f)):(I(s),I(u)))}}function I(t){t&&(t.ignore=!0)}function O(t,e,i){var a=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(a&&n){var r=v.identity([]);return v.rotate(r,r,-t.rotation),a.applyTransform(v.mul([],r,t.getLocalTransform())),n.applyTransform(v.mul([],r,e.getLocalTransform())),a.intersect(n)}}function E(t){return"middle"===t||"center"===t}function j(t,e,i,a,n){for(var r=[],o=[],s=[],c=0;ce&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?c=i[o]:"function"===typeof o&&(c=o),c&&t.setData(r.downSample(r.mapDimension(d.dim),1/h,c,a))}}}}t.exports=n},fe21:function(t,e,i){var a=i("e86a"),n=i("2306"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return n.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return a.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},fef1:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"install",staticStyle:{height:"100%"}},[e("user-layout",{attrs:{desc:"正在安装Pear Project项目管理系统"}},[e("div",{staticClass:"main"},[e("a-alert",{attrs:{message:"请确认已正确修改服务端目录下的.env配置文件"}}),e("a-form",{staticClass:"user-layout-login",attrs:{layout:"horizontal",form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",{attrs:{label:"清除数据",labelCol:{span:6},wrapperCol:{span:18}}},[e("a-checkbox",{directives:[{name:"decorator",rawName:"v-decorator",value:["initData",{initialValue:!1,valuePropName:"checked"}],expression:"[\n 'initData',\n {initialValue: false, valuePropName: 'checked'}\n ]"}]},[t._v("\n 勾选后将清除预置数据\n ")])],1),e("a-form-item",{staticStyle:{"margin-top":"24px"},attrs:{labelCol:{span:6},wrapperCol:{span:18,offset:3}}},[e("a-button",{staticClass:"middle-btn",attrs:{size:"large",type:"primary",htmlType:"submit",loading:t.loading,disabled:t.loading,block:""}},[t.loading?e("span",[t._v("正在安装,请稍后...")]):e("span",[t._v("立即安装")])])],1)],1)],1)])],1)},n=[],r=i("82f8"),o=i("2f14"),s=i("27f0"),c={components:{UserLayout:s["default"]},data:function(){return{loading:!1,form:this.$form.createForm(this),installInfo:{mysqlHost:"",mysqlDatabase:"",mysqlUsername:"",mysqlPassword:"",mysqlPrefix:"",mysqlHostport:"",initData:!1}}},created:function(){this.checkInstall()},mounted:function(){var t=this;setTimeout((function(){t.form=t.$form.createForm(t)}),500)},methods:{handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){e||(t.installInfo=i,t.install())}))},install:function(){var t=this;this.loading=!0,this.installInfo.initData=this.installInfo.initData?1:0,Object(r["c"])(this.installInfo).then((function(e){if(t.loading=!1,!Object(o["a"])(e))return!1;t.$router.push({name:"login"})})).catch((function(){t.loading=!1}))},checkInstall:function(){var t=this;Object(r["a"])().then((function(e){Object(o["a"])(e)&&t.$router.push({name:"login"})}))}}},l=c,d=i("2877"),u=Object(d["a"])(l,a,n,!1,null,null,null);e["default"]=u.exports},ff2e:function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("e86a"),o=i("eda2"),s=i("1687"),c=i("697e"),l=i("fab22");function d(t){var e,i=t.get("type"),a=t.getModel(i+"Style");return"line"===i?(e=a.getLineStyle(),e.fill=null):"shadow"===i&&(e=a.getAreaStyle(),e.stroke=null),e}function u(t,e,i,a,n){var s=i.get("value"),c=h(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),l=i.getModel("label"),d=o.normalizeCssArray(l.get("padding")||0),u=l.getFont(),p=r.getBoundingRect(c,u),m=n.position,v=p.width+d[1]+d[3],g=p.height+d[0]+d[2],b=n.align;"right"===b&&(m[0]-=v),"center"===b&&(m[0]-=v/2);var _=n.verticalAlign;"bottom"===_&&(m[1]-=g),"middle"===_&&(m[1]-=g/2),f(m,v,g,a);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:g,r:l.get("borderRadius")},position:m.slice(),style:{text:c,textFont:u,textFill:l.getTextColor(),textPosition:"inside",textPadding:d,fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function f(t,e,i,a){var n=a.getWidth(),r=a.getHeight();t[0]=Math.min(t[0]+e,n)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function h(t,e,i,n,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var l={value:c.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};a.each(n,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),a=t.dataIndexInside,n=e&&e.getDataParams(a);n&&l.seriesData.push(n)})),a.isString(s)?o=s.replace("{value}",o):a.isFunction(s)&&(o=s(l))}return o}function p(t,e,i){var a=s.create();return s.rotate(a,a,i.rotation),s.translate(a,a,i.position),n.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],a)}function m(t,e,i,a,n,r){var o=l.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=n.get("label.margin"),u(e,a,n,r,{position:p(a.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function v(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function g(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function b(t,e,i,a,n,r){return{cx:t,cy:e,r0:i,r:a,startAngle:n,endAngle:r,clockwise:!0}}e.buildElStyle=d,e.buildLabelElOption=u,e.getValueLabel=h,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=m,e.makeLineShape=v,e.makeRectShape=g,e.makeSectorShape=b},ff77:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.post$=void 0;var r=i("c6b3"),o="biz.ding.post";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.post$=a,e.default=a},ff9d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startAuth$=void 0;var r=i("c6b3"),o="biz.edu.startAuth";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.20"},n[r.ENV_ENUM.android]={vs:"6.3.20"},n)),e.startAuth$=a,e.default=a}}]); \ No newline at end of file diff --git a/js/chunk-dce5b356.6cc777a1.js b/js/chunk-2b587d1f.6b3a12f5.js similarity index 84% rename from js/chunk-dce5b356.6cc777a1.js rename to js/chunk-2b587d1f.6b3a12f5.js index fb42353..ae0e575 100644 --- a/js/chunk-dce5b356.6cc777a1.js +++ b/js/chunk-2b587d1f.6b3a12f5.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dce5b356"],{"9bef":function(t,e,a){"use strict";a.r(e);a("7f7f");var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-task",class:"".concat(t.project.task_board_theme," ").concat(t.viewType)},[e("div",{staticClass:"project-navigation"},[e("div",{staticClass:"project-nav-header"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("a",{on:{click:t.toHome}},[e("a-icon",{attrs:{type:"home"}}),t._v(" 首页 ")],1)]),e("a-breadcrumb-item",[e("project-select",{staticClass:"nav-title",staticStyle:{display:"inline-block"},attrs:{code:t.code}})],1)],1)],1),e("section",{staticClass:"nav-body"},[e("ul",{staticClass:"nav-wrapper nav nav-underscore pull-left"},[e("li",[e("a",{staticClass:"app",attrs:{"data-app":"tasks"},on:{click:function(e){return t.$router.push("/project/space/task/"+t.code)}}},[t._v("任务")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"works"},on:{click:function(e){return t.$router.push("/project/space/files/"+t.code)}}},[t._v("\n 文件")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/overview/"+t.code)}}},[t._v("\n 概览")])]),t._m(0)])]),e("div",{staticClass:"project-nav-footer"},[e("a",{staticClass:"footer-item",on:{click:function(e){return t.visibleDraw("taskSearch")}}},[e("a-icon",{attrs:{type:"search"}}),e("span",[t._v(" 筛选")])],1)])]),e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"task-board"==t.viewType,expression:"viewType == 'task-board'"}],staticClass:"board-scrum-stages",attrs:{e:"",options:{group:"stages",filter:".undraggables",handle:".ui-sortable-handle",ghostClass:"stage-ghost",animation:200,forceFallback:!1},id:"board-scrum-stages"},on:{end:t.stageSort}},[t._l(t.taskStages,(function(a,s){return e("div",{key:s,staticClass:"scrum-stage",class:{"fixed-creator":1==a.fixedCreator},staticStyle:{width:"32vw","min-width":"400px"},attrs:{id:a.code}},[e("header",{directives:[{name:"show",rawName:"v-show",value:!a.tasksLoading,expression:"!stage.tasksLoading"}],staticClass:"scrum-stage-header ui-sortable-handle"},[e("div",{staticClass:"stage-name hinted"},[t._v("\n "+t._s(a.name)+"\n "),a.tasks.length>0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(a.tasks.length))]):t._e()]),e("div",{staticClass:"stage-menu-toggler popover"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v("编辑任务列表")])]),e("a",{staticClass:"menu-toggler-title",attrs:{href:"javascript:void(0)"}},[e("a-icon",{staticStyle:{"font-size":"18px"},attrs:{type:"ellipsis"}})],1)],2),e("a-menu",{attrs:{slot:"overlay",selectable:!1},on:{click:t.doStage},slot:"overlay"},[e("a-menu-item",{key:"setExecutor_"+a.code+"_"+s},[e("a-icon",{attrs:{size:"14",type:"user"}}),t._v("\n 设置本列所有任务执行者\n ")],1),e("a-menu-item",{key:"recycleBatch_"+a.code+"_"+s},[e("a-icon",{attrs:{size:"14",type:"delete"}}),t._v("\n 本列所有任务移到回收站\n ")],1)],1)],1)],1)]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":a.showTaskCard}},[e("vue-scroll",{ref:s+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:a.code,"task-type-index":s}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:a.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(a.unDoneTasks,(function(a,i){return[!a.done&&a.canRead?e("div",{key:a.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(a.pri),attrs:{index:i,id:a.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(a.code,s)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:s>0?"top":"right"}},[e("template",{slot:"title"},[a.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(a.name)+"\n ")]),a.executor&&a.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:a.executor.avatar,title:a.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[a.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(a.status),fontSize:"12px"}},[t._v(t._s(a.statusText))]):t._e(),a.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(a.end_time)},[e("span",{attrs:{title:a.end_time}},[t._v("\n "+t._s(t.showTaskTime(a.begin_time,a.end_time))+"\n ")])]):t._e(),a.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),a.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),a.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),a.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(a.childCount[1])+"/"+t._s(a.childCount[0]))])],1):t._e(),t._l(a.tags,(function(a){return e("span",{key:a.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(a.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(a.tag.name)+"\n ")],1)})),a.execute_state>0?e("span",{class:"icon-wrapper text text-"+a.task_execute.color},[t._v(t._s(a.task_execute_name))]):t._e(),a.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(a.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(a.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:a.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+s}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(s),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(a.code,s)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(a,s){return e("a-menu-item",{key:s},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:a.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(a.name))]),a.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(s,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(a.code,s)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(a.doneTasks,(function(a,i){return[a.canRead?e("div",{key:a.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:i,id:a.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(a.code,s)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(a.name)+"\n ")]),a.executor&&a.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.executor.name))])]),a.executor&&a.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:a.executor.avatar,title:a.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(a.task_tag_item_list,(function(a,s){return e("span",{key:a.code,staticClass:"tag muted",class:"tag-color-"+a.color},[t._v("\n "+t._s(a.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:a.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(a.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(a.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(a,s){return e("a-list-item",{staticClass:"member-list-item"},[a.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(a,s)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:a.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(a.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:a.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(a)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:a.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(a.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:a.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},i=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("抄送")])])}],o=(a("8e6e"),a("456d"),a("7514"),a("20d6"),a("28a5"),a("55dd"),a("ac6a"),a("ade3")),r=a("2f62"),n=a("2ef0"),c=a.n(n),l=a("c1df"),d=a.n(l),u=a("f93e"),p=a("b76a"),m=a.n(p),h=a("f8c7"),g=a("d3a1"),f=a("58bf"),k=a("51e2"),v=a("b83b"),b=a("e3cc"),w=a("1d80"),C=a("e507"),y=a("24d2"),_=a("9f5d"),S=a("b199"),j=a("2f14"),T=a("81fe"),M=a("4200"),x=a("97a8");function O(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function D(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],a=this;Object(C["d"])({projectCode:this.code,pageSize:30}).then((function(s){var i=[];if(e?t.taskStages=i=s.data.list:s.data.list.forEach((function(t){t.tasksLoading=!1,i.push(t)})),i){a.taskSearchParams;i.forEach((function(t,s){t.page=1,a.getTasks(t,s,e)}))}}))},getTasks:function(t,e,a){var s=this,i=this.taskSearchParams,o={};o={stageCode:t.code,type:"copied_list"},o=Object.assign(o,i),Object(C["h"])(o).then((function(i){var o=0;i.data.forEach((function(e){e.canRead||o++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=o,t.tasksLoading=!1,t.tasks=i.data,a||s.$set(s.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=a,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(x["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,a=this;if(a.createTaskLoading)return a.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===a.createTaskLoading&&a.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),a.createTaskLoading=!0,Object(S["s"])(a.task).then((function(s){a.createTaskLoading=!1;var i=Object(j["a"])(s);if(i){a.$message.destroy();var o=a.taskStages[t];o.tasks.push(s.data),a.taskStages[t].unDoneTasks.push(s.data),a.task={},e.taskDetail(s.data.code,t),console.log(D({},s.data))}})).catch((function(){a.createTaskLoading=!1}))},taskDone:function(t,e,a,s){var i=this,o=null,r=this.taskStages[e].unDoneTasks,n=this.taskStages[e].doneTasks;if(o=s?r[a]:n[a],o.hasUnDone)return!1;o.done=s,s?(r.splice(a,1),n.push(o),n=n.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(n.splice(a,1),r.push(o),r=r.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(S["z"])(t,s).then((function(t){var e=Object(j["a"])(t);if(!e)return!1;i.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,a=this,s=t.key.split("_"),i=s[s.length-2],o=s[s.length-1],r=s[0];switch(r){case"editStage":this.stageModal.stageCode=i,this.stageModal.stageIndex=o,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[o].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return a.taskStages[o].tasks=[],a.$set(a.taskStages[o],"doneTasks",[]),Object(S["r"])({stageCode:i}).then((function(t){var e=Object(j["a"])(t);if(!e)return!1;a.$set(a.taskStages[o],"doneTasks",[]),a.$set(a.taskStages[o],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=o,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[o].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(C["b"])(i),a.taskStages.splice(o,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(C["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var a=Object(j["a"])(e);if(!a)return!1;var s=e.data;t.taskStages.push(s),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(C["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(a){var s=Object(j["a"])(a);if(!s)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,a=this.taskStages[this.projectMemberModal.currentStageIndex],s=[];a.tasks.forEach((function(t){t.canRead&&s.push(t.code)})),s?Object(S["c"])({taskCodes:JSON.stringify(s),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(j["a"])(t))return!1;Object(C["h"])({stageCode:a.code,type:"copied_list"}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),a.canNotReadCount=e,a.tasksLoading=!1,a.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var a=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return a<0?e="label-danger":0==a?e="label-warning":a>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(T["a"])(t,e)},taskDetail:function(t,e){var a=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){a.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(C["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),a=[],s="",i=0,o=t.to.children.length;i0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(a.tasks.length))]):t._e()]),t._e()]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":a.showTaskCard}},[e("vue-scroll",{ref:s+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:a.code,"task-type-index":s}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:a.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(a.unDoneTasks,(function(a,i){return[!a.done&&a.canRead?e("div",{key:a.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(a.pri),attrs:{index:i,id:a.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(a.code,s)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:s>0?"top":"right"}},[e("template",{slot:"title"},[a.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(a.name)+"\n ")]),a.executor&&a.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:a.executor.avatar,title:a.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[a.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(a.status),fontSize:"12px"}},[t._v(t._s(a.statusText))]):t._e(),a.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(a.end_time)},[e("span",{attrs:{title:a.end_time}},[t._v("\n "+t._s(t.showTaskTime(a.begin_time,a.end_time))+"\n ")])]):t._e(),a.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),a.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),a.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),a.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(a.childCount[1])+"/"+t._s(a.childCount[0]))])],1):t._e(),t._l(a.tags,(function(a){return e("span",{key:a.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(a.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(a.tag.name)+"\n ")],1)})),a.execute_state>0?e("span",{class:"icon-wrapper text text-"+a.task_execute.color},[t._v(t._s(a.task_execute_name))]):t._e(),a.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(a.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(a.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:a.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+s}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(s),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(a.code,s)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(a,s){return e("a-menu-item",{key:s},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:a.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(a.name))]),a.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(s,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(a.code,s)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(a.doneTasks,(function(a,i){return[a.canRead?e("div",{key:a.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:i,id:a.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(a.code,s)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(a.name)+"\n ")]),a.executor&&a.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.executor.name))])]),a.executor&&a.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:a.executor.avatar,title:a.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(a.task_tag_item_list,(function(a,s){return e("span",{key:a.code,staticClass:"tag muted",class:"tag-color-"+a.color},[t._v("\n "+t._s(a.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:a.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(a.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(a.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(a,s){return e("a-list-item",{staticClass:"member-list-item"},[a.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(a,s)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:a.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(a.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:a.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(a)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:a.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(a.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:a.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},i=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("抄送")])])}],o=(a("8e6e"),a("456d"),a("7514"),a("20d6"),a("28a5"),a("55dd"),a("ac6a"),a("ade3")),r=a("2f62"),n=a("2ef0"),c=a.n(n),l=a("c1df"),d=a.n(l),u=a("f93e"),m=a("b76a"),p=a.n(m),h=a("f8c7"),f=a("d3a1"),g=a("58bf"),k=a("51e2"),v=a("b83b"),b=a("e3cc"),w=a("1d80"),C=a("e507"),j=a("24d2"),y=a("9f5d"),S=a("b199"),_=a("2f14"),T=a("81fe"),M=a("4200"),x=a("97a8");function O(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function D(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],a=this;Object(C["d"])({projectCode:this.code,pageSize:30}).then((function(s){var i=[];if(e?t.taskStages=i=s.data.list:s.data.list.forEach((function(t){t.tasksLoading=!1,i.push(t)})),i){a.taskSearchParams;i.forEach((function(t,s){t.page=1,a.getTasks(t,s,e)}))}}))},getTasks:function(t,e,a){var s=this,i=this.taskSearchParams,o={};o={stageCode:t.code,type:"copied_list"},o=Object.assign(o,i),Object(C["h"])(o).then((function(i){var o=0;i.data.forEach((function(e){e.canRead||o++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=o,t.tasksLoading=!1,t.tasks=i.data,a||s.$set(s.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=a,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(x["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,a=this;if(a.createTaskLoading)return a.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===a.createTaskLoading&&a.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),a.createTaskLoading=!0,Object(S["s"])(a.task).then((function(s){a.createTaskLoading=!1;var i=Object(_["a"])(s);if(i){a.$message.destroy();var o=a.taskStages[t];o.tasks.push(s.data),a.taskStages[t].unDoneTasks.push(s.data),a.task={},e.taskDetail(s.data.code,t),console.log(D({},s.data))}})).catch((function(){a.createTaskLoading=!1}))},taskDone:function(t,e,a,s){var i=this,o=null,r=this.taskStages[e].unDoneTasks,n=this.taskStages[e].doneTasks;if(o=s?r[a]:n[a],o.hasUnDone)return!1;o.done=s,s?(r.splice(a,1),n.push(o),n=n.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(n.splice(a,1),r.push(o),r=r.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(S["z"])(t,s).then((function(t){var e=Object(_["a"])(t);if(!e)return!1;i.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,a=this,s=t.key.split("_"),i=s[s.length-2],o=s[s.length-1],r=s[0];switch(r){case"editStage":this.stageModal.stageCode=i,this.stageModal.stageIndex=o,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[o].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return a.taskStages[o].tasks=[],a.$set(a.taskStages[o],"doneTasks",[]),Object(S["r"])({stageCode:i}).then((function(t){var e=Object(_["a"])(t);if(!e)return!1;a.$set(a.taskStages[o],"doneTasks",[]),a.$set(a.taskStages[o],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=o,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[o].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(C["b"])(i),a.taskStages.splice(o,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(C["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var a=Object(_["a"])(e);if(!a)return!1;var s=e.data;t.taskStages.push(s),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(C["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(a){var s=Object(_["a"])(a);if(!s)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,a=this.taskStages[this.projectMemberModal.currentStageIndex],s=[];a.tasks.forEach((function(t){t.canRead&&s.push(t.code)})),s?Object(S["c"])({taskCodes:JSON.stringify(s),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(_["a"])(t))return!1;Object(C["h"])({stageCode:a.code,type:"copied_list"}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),a.canNotReadCount=e,a.tasksLoading=!1,a.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var a=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return a<0?e="label-danger":0==a?e="label-warning":a>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(T["a"])(t,e)},taskDetail:function(t,e){var a=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){a.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(C["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),a=[],s="",i=0,o=t.to.children.length;i"}},t._l(t.task.parentTasks,(function(i){return e("a-breadcrumb-item",{key:i.code},[e("a",{staticClass:"text-default",on:{click:function(e){return t.init(i.code)}}},[t._v(t._s(i.name))])])})),1)],1):e("span",[t._v(t._s(t.task.projectName)+" · "+t._s(t.task.stageName))])]),e("span",{staticClass:"header-action text-right"},[t.task.deleted?[e("a",{staticClass:"action-item muted",on:{click:t.recoveryTask}},[e("a-icon",{attrs:{type:"undo"}}),e("span",[t._v("恢复内容")])],1),e("a",{staticClass:"action-item muted",on:{click:t.deleteTask}},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("彻底删除")])],1)]:[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("复制任务链接")])]),e("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:t.taskLink,expression:"taskLink"}],staticClass:"action-item muted",on:{success:t.copyLink}},[e("a-icon",{attrs:{type:"link"}})],1)],2)],e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("关闭面板")])]),e("a",{staticClass:"action-item muted",on:{click:t.detailClose}},[e("a-icon",{attrs:{type:"close"}})],1)],2)],2)]),e("div",{staticClass:"task-wrap"},[e("div",{staticClass:"task-content"},[e("div",{staticClass:"content-left"},[e("vue-scroll",{attrs:{ops:t.scrollOps}},[e("div",{staticClass:"task-title",class:{disabled:t.task.deleted},style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:t.showEditName,expression:"showEditName"}],ref:"inputTitle",attrs:{size:"large"},on:{blur:t.doName},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),t.task.deleted?e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text"},[t._v("\n "+t._s(t.task.name)+"\n ")]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击即可编辑")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text",on:{click:t.editTitle}},[t._v("\n "+t._s(t.task.name)+"\n ")])],2)],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list",class:{disabled:t.task.deleted}},[e("div",{staticClass:"component-mount pink-bg",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"file-text"}}),e("span",{staticClass:"field-name"},[t._v("工作内容")])],1),e("div",{staticClass:"field-right width-block"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showTaskDescriptionEdit,expression:"!showTaskDescriptionEdit"}],class:{"task-description":t.userInfo.code==t.task.create_by},on:{click:t.showTaskDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.task.description,expression:"task.description"}],staticClass:"description-txt img-preview-content",domProps:{innerHTML:t._s(t.task.description)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.description,expression:"!task.description"}]},[t._v("添加工作内容")])]),t.hasMoreDesc?e("div",{staticClass:"m-t-sm"},[e("a",{directives:[{name:"show",rawName:"v-show",value:!t.showMoreDesc,expression:"!showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!0)}}},[t._v("显示更多")]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showMoreDesc,expression:"showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!1)}}},[t._v("收起工作内容")])]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showTaskDescriptionEdit,expression:"showTaskDescriptionEdit"}]},[e("editor",{ref:"vueWangeditor",attrs:{id:"editor",uploadImgServer:t.editorConfig.uploadImgServer,uploadImgHeaders:t.editorConfig.uploadImgHeaders,menus:t.editorConfig.menus}}),e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.showTaskDescriptionEdit=!1,t.initContent(!1)}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"},on:{click:t.doContent}},[t._v("保存\n ")])],1)],1)])])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"calendar"}}),e("span",{staticClass:"field-name"},[t._v("完成期限")])],1),e("div",{staticClass:"field-right field-date"},[t.task.openBeginTime?[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showBeginTime,callback:function(e){t.showBeginTime=e},expression:"showBeginTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format))]:[t._v("设置开始完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置开始完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format)+"\n ")]:[t._v("设置开始完成期限\n ")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showBeginTime},on:{ok:function(e){return t.doBeginTime(!0)}},model:{value:t.task.begin_time,callback:function(e){t.$set(t.task,"begin_time",e)},expression:"task.begin_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doBeginTime(!1)}}},[t._v("清除")])])],2)],1)],1),e("span",{staticClass:"m-l-sm m-r-sm"},[t._v("-")])]:t._e(),e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showEndTime,callback:function(e){t.showEndTime=e},expression:"showEndTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置截止完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showEndTime},on:{ok:function(e){return t.doEndTime(!0)}},model:{value:t.task.end_time,callback:function(e){t.$set(t.task,"end_time",e)},expression:"task.end_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doEndTime(!1)}}},[t._v("清除")])])],2)],1)],1)],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"check-square"}}),e("span",{staticClass:"field-name"},[t._v("完成状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{class:{disabled:t.task.hasUnDone},attrs:{trigger:["click"],disabled:!!t.task.deleted||!!t.task.hasUnDone}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[t.task.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("span",[t.task.done?e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]):t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}]},[t._v("未完成")])],1)],2),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:function(e){return t.taskDone(t.task.code,!t.task.done)}},slot:"overlay"},[e("a-menu-item",{key:"done"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.done,expression:"task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"undone"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"grey"}},[t._v("未完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"deployment-unit"}}),e("span",{staticClass:"field-name"},[t._v("执行状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[t._v(t._s(t.task.statusText))]),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.taskStatusChange},slot:"overlay"},t._l(t.taskStatusList,(function(i,a){return e("a-menu-item",{key:i.id},[e("div",{staticClass:"menu-item-content"},[e("span",{attrs:{color:"green"}},[t._v(t._s(i.name))]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.status==i.id,expression:"task.status == status.id"}],staticClass:"check muted",attrs:{type:"check"}})],1)])})),1)],1)],1)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.task.liasion_info&&t.userInfo.code==t.task.liasion_info.code?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("执行者")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted,placement:"bottomCenter"},model:{value:t.visibleTaskMemberMenu,callback:function(e){t.visibleTaskMemberMenu=e},expression:"visibleTaskMemberMenu"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置执行者")])]),e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.visibleTaskMemberMenu?e("task-member-menu",{attrs:{projectCode:t.projectCodeCurrent,taskCode:t.code},on:{close:function(e){return t.init(!1)},inviteProjectMember:function(e){t.showInviteMember=!0,t.visibleTaskMemberMenu=!1}}}):t._e()],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("抄送人")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap","pointer-events":"none"}},[t._l(t.task.copied_info,(function(i){return e("div",{key:i.code,on:{click:function(e){return t.spliceCopied(t.index)}}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))])],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"apartment"}}),e("span",{staticClass:"field-name"},[t._v("处理部门")])],1),e("div",{staticClass:"field-right"},[t.task.liasion_info?e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s(t.task.department_info.name)+" ")]),e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s("/")+" ")]),e("a-avatar",{attrs:{src:t.task.liasion_info.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.liasion_info.name))])],1):t._e()])])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"gateway"}}),e("span",{staticClass:"field-name"},[t._v("工作流转")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap"}},[t._l(t.task.exchange_info,(function(i,a){return e("div",{key:a,staticStyle:{"pointer-events":"none"}},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:i.show,callback:function(e){t.$set(i,"show",e)},expression:"exc.show"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("更换人员")])]),e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))]),a!=t.task.exchange_info.length-1?e("a-icon",{staticStyle:{"margin-right":"10px"},attrs:{type:"double-right"}}):t._e()],1)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[i.show?e("task-member-menu",{attrs:{taskCode:t.code,projectCode:t.projectCodeCurrent,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,i.show=!1},close:t.changeExchangeShow}}):t._e()],1)],1)],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"bulb"}}),e("span",{staticClass:"field-name"},[t._v("优先级")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[e("a-tag",{attrs:{color:t.priColor(t.task.pri)}},[t._v(t._s(t.task.priText))])],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.doPri},slot:"overlay"},[e("a-menu-item",{key:0},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(0)}},[t._v("普通")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==t.task.pri,expression:"task.pri == 0"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:1},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(1)}},[t._v("紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==t.task.pri,expression:"task.pri == 1"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:2},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(2)}},[t._v("非常紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==t.task.pri,expression:"task.pri == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"paper-clip"}}),e("span",{staticClass:"field-name"},[t._v("关联文件")])],1),e("div",{staticClass:"field-right width-block"})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.userInfo.code==t.task.create_by||t.userInfo.code==t.task.assign_to&&2==t.task.status,expression:"userInfo.code==task.create_by||(userInfo.code==task.assign_to&&task.status==2)"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"task-child"},[e("a",{staticClass:"add-handler",attrs:{id:"d-upload-file"}},[e("a-icon",{staticStyle:{"margin-right":"6px"},attrs:{type:"plus"}}),t._v("\n 上传文件\n ")],1)])])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskSourceList.length>0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:i.sourceDetail.file_url},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:i.sourceDetail.file_url}},[t._v(t._s(i.title))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(i.sourceDetail.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{directives:[{name:"clipboard",rawName:"v-clipboard",value:i.sourceDetail.file_url,expression:"item.sourceDetail.file_url"}],staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:function(e){return t.doSource(e,i)}},slot:"overlay"},[e("a-menu-item",{key:"copy"},[e("a-icon",{attrs:{type:"link"}}),e("span",[t._v("复制链接")])],1),e("a-menu-item",{key:"unlink"},[e("a-icon",{attrs:{type:"disconnect"}}),e("span",[t._v("取消关联")])],1)],1)],1)],1)],1)})),1)],1)])])])])])])],1),e("div",{staticClass:"content-right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v("\n 参与者 · "+t._s(t.taskMemberList.length)+"\n ")]),e("div",{staticClass:"member-list"},t._l(t.taskMemberList,(function(i){return e("a-tooltip",{key:i.code,attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.name)+" "),i.is_owner?e("span",[t._v(" · 创建者")]):t._e()])]),e("a-avatar",{staticClass:"member-item",attrs:{icon:"user",size:"small",src:i.avatar},on:{click:function(e){return t.routerLink("/members/profile/"+i.membar_account_code+"?key=3")}}})],2)})),1)]),e("div",{staticClass:"log-wrap"},[e("div",{staticClass:"header"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"text-default"},[t._v("\n 所有动态\n "),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},slot:"overlay",model:{value:t.taskLogType,callback:function(e){t.taskLogType=e},expression:"taskLogType"}},[e("a-menu-item",{key:"all"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("所有动态")])])]),e("a-menu-item",{key:"comment"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅审核")])])]),e("a-menu-item",{key:"log"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅动态")])])])],1)],1)],1),e("vue-scroll",[e("div",{staticClass:"log-list muted"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.checkShowMoreLog,expression:"checkShowMoreLog"}],staticClass:"show-more muted",on:{click:t.getMoreTaskLog}},[e("a-icon",{attrs:{type:"ellipsis"}}),t._v("\n 显示较早的 "+t._s(t.taskLogTotal-t.taskLogList.length)+" 条数据\n ")],1),t._l(t.taskLogList,(function(i){return e("div",{key:i.code,class:{"log-comment":i.is_comment,"list-item":!i.is_comment,"log-pass":"pass"==i.type,"log-reject":"reject"==i.type,"log-add":"add"==i.type}},[i.is_comment?t._e():[e("a-icon",{staticClass:"log-item",attrs:{type:i.icon}}),e("div",{staticClass:"log-item log-txt"},[e("div",[t._v(t._s(i.member.name)+" "),e("span",{domProps:{innerHTML:t._s(i.remark)}})]),i.content?e("div",{staticClass:"log-content img-preview-content",domProps:{innerHTML:t._s(i.content)}}):t._e()])],i.is_comment?e("div",[e("div",{staticClass:"log-txt text-default",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,src:i.member.avatar}}),e("div",[t._v(t._s(i.member.name))]),"add"==i.type?e("div",{staticClass:"log-add-tips"},[t._v("提交")]):t._e(),"pass"==i.type?e("div",{staticClass:"log-pass-tips"},[t._v("通过")]):t._e(),"reject"==i.type?e("div",{staticClass:"log-reject-tips"},[t._v("驳回")]):t._e()],1),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.create_time))])]),e("span",{staticClass:"muted"},[t._v(t._s(t._f("formatLogTime")(i.create_time)))])],2)],1),e("div",{staticClass:"log-txt text-default",staticStyle:{padding:"0 0 0 30px"}},[e("div",{staticClass:"m-t-xs",domProps:{innerHTML:t._s(t.checkLink(i.content))}})])]):t._e(),i.is_comment?t._e():e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.create_time))])]),e("span",[t._v(t._s(t._f("formatLogTime")(i.create_time)))])],2)],2)}))],2)])],1),e("div",{staticClass:"footer",attrs:{id:"footer"}},[!t.readonly&&t.userInfo.code==t.task.create_by&&4==t.task.status||t.userInfo.code==t.task.assign_to&&2==t.task.status?e("a-popover",{attrs:{trigger:"click",placement:"top",visible:t.showMentions,arrowPointAtCenter:"",getPopupContainer:t.getPopup}},[e("template",{slot:"content"},[e("div",{staticClass:"mentions-content",staticStyle:{width:"200px"}},t._l(t.taskMemberList,(function(i){return e("div",{key:i.id,staticClass:"mentions-wrapper",on:{click:function(e){return t.selectMentionMember(i)}}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:28}}),e("span",{staticClass:"muted name m-l-xs"},[t._v(t._s(i.name))])],1)})),0)]),e("a-textarea",{ref:"commentText",staticStyle:{"margin-right":"15px"},attrs:{rows:1,placeholder:"@提及任务成员,Ctrl+Enter发送"},on:{focus:function(e){t.commenting=!0},blur:function(e){t.commenting=!1}},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],2):t._e(),t.readonly||t.userInfo.code!=t.task.create_by||4!=t.task.status?t._e():[e("a-button",{staticClass:"middle-btn",attrs:{type:"danger"},on:{click:function(e){return t.createComment(2)}}},[t._v("驳回")]),e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-left":"15px"},attrs:{type:"primary"},on:{click:function(e){return t.createComment(1)}}},[t._v("通过")])],t.readonly||t.userInfo.code!=t.task.assign_to||2!=t.task.status?t._e():[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:function(e){return t.createComment(3)}}},[t._v("提交")])]],2)])])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCodeCurrent},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[],r=(i("8e6e"),i("456d"),i("a481"),i("4917"),i("ac6a"),i("7514"),i("6b54"),i("20d6"),i("ade3")),o=(i("c5f6"),i("2f62")),s=i("1157"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("a897"),h=i("b199"),p=i("8870"),m=i("d8bc"),v=i("f66c"),g=i("4540"),b=i("e8d3"),_=i("d3a1"),y=i("68fe"),k=i("2f14"),x=i("97a8"),w=i("81fe"),C=i("261e"),S=i("7dc6");function M(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function T(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.taskCode==this.code&&this.init(null,!1)}},uploader:{handler:function(t,e){var i=this;console.log(t),console.log(t.fileList);var a=t.fileList,n=a.findIndex((function(t){return t.projectName==i.task.projectName}));-1!==n&&(this.taskSources(),this.getTaskLog())},deep:!0}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(1),("@"==a.key||"Digit2"==a.code&&"Process"==a.key&&a.shiftKey)&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("d-upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(w["c"])(t)}},methods:{getDepartment:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this;getDepartment().then((function(e){t.departmentList=e.data.list}))})),departmentDropClick:function(t){var e=this,i=this.departmentList.find((function(e){return e.code==t.key}));this.department=i,getliasonMan({searchType:4,type:1,departmentCode:i.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(x["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_info.find((function(e){return e.code==t.code}));e?Object(x["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_info.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_info.splice(t,1)},changeExchange:function(t){this.task.exchange_info.push(T({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,i=this.task.exchange_info.findIndex((function(t){return 1==t.show}));if(-1!=i){this.task.exchange_info[i].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchange_info));t?a[i]=T({f_key:(new Date).getTime(),show:!1},t):a.splice(i,1),this.$nextTick((function(){e.task.exchange_info=a}))}},init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.code=t),e&&(this.loading=!0),this.clearMemberMenu(),this.getTask(),this.getChildTasks(),this.getTaskMembers(),this.getTaskWorkTimeList()},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskMemberMenu=!1,this.visibleProjectMemberMenu=!1},getTask:function(){var t=this;this.$store.commit("viewRefresh"),this.clearMemberMenu(),Object(h["o"])(this.code).then((function(e){try{t.getTaskLog(),t.taskSources(),t.taskName=e.data.name,t.task=e.data,t.projectCodeCurrent=e.data.project_code,t.task.end_time?(t.task.setEndTime=!0,t.task.end_time=d()(t.task.end_time)):(t.task.setEndTime=!1,t.task.end_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.end_time_format=Object(w["b"])(t.task.end_time,!0),t.task.begin_time?(t.task.setBeginTime=!0,t.task.begin_time=d()(t.task.begin_time)):(t.task.setBeginTime=!1,t.task.begin_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.begin_time_format=Object(w["b"])(t.task.begin_time,!0),t.initContent(t.task.description),t.task.executor&&!t.childExecutor&&(t.childExecutor=t.task.executor),t.loading=!1,t.$store.dispatch("setTempData",{projectCode:t.projectCodeCurrent,taskCode:t.code,projectName:e.data.projectName})}catch(i){console.error(i)}}))},getTaskLog:function(){var t=this;Object(h["n"])({taskCode:this.code,all:this.showMoreTaskLog,pageSize:5,comment:"comment"==this.taskLogType[0]?1:0}).then((function(e){t.taskLogList=e.data.list,t.taskLogTotal=e.data.total,e.data.total>5&&(t.hasMoreTaskLog=!0),t.$nextTick((function(){c()(".img-preview-content").find("img").click((function(t){window.open(c()(t.target).attr("src"))}))}))}))},taskSources:function(){var t=this;Object(h["A"])({taskCode:this.code}).then((function(e){t.taskSourceList=e.data}))},getMoreTaskLog:function(){this.showMoreTaskLog=1,this.hideShowMore=!0,this.getTaskLog()},getTaskWorkTimeList:function(){var t=this;Object(h["a"])({taskCode:this.code}).then((function(e){t.workTimeList=e.data;var i=0;e.data&&(e.data.forEach((function(t){i+=Number(t.num)})),t.workTimeTotal=i)}))},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(m["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doTask:function(t){var e=this,i=this,a=t.key;switch(a){case"recycle":this.$confirm({title:"移到回收站",content:"您确定要把该任务移到回收站吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["q"])(i.code).then((function(t){var e=Object(k["a"])(t);if(!e)return!1;i.task.deleted=1,i.getTaskLog()})),Promise.resolve()}});break;case"star":return this.task.stared?this.task.stared=0:this.task.stared=1,Object(h["y"])(i.code,this.task.stared),!0;case"open":var n=window.location.href;-1!==n.indexOf("?")?n+="&full-screen":n+="?full-screen",window.open(n);break;case"private":return Object(h["v"])(i.code,Number(!this.task.private)).then((function(t){var i=Object(k["a"])(t);if(!i)return!1;e.task.private=Number(!e.task.private)})),!0}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},doSource:function(t,e){var i=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(p["a"])(e.code).then((function(t){var e=Object(k["a"])(t);if(!e)return!1;i.taskSources(),i.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(x["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该任务吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(h["p"])(t.code).then((function(e){var i=Object(k["a"])(e);if(!i)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(x["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开任务页面"},"notice","success",5)},like:function(t){t=Number(t),Object(h["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},taskDone:function(t,e,i){var a=this,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"self";e=e?1:0,Object(h["z"])(t,e).then((function(t){var r=Object(k["a"])(t);if(!r)return!1;a.getTaskLog(),"self"==n?a.task.done=e:a.childTaskList[i].done=e,a.getTask(),a.getChildTasks()}))},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var i="";t?(i=d()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=d()(this.task.begin_time).format("MM月DD日 HH:mm")):i="",this.editTask({begin_time:i})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var i="";t?(i=d()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=d()(this.task.end_time).format("MM月DD日 HH:mm")):i="",this.editTask({end_time:i})},doPri:function(t){this.editTask({pri:t.key})},doName:function(){if(this.showEditName=!1,!this.task.name.trim()||this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},taskStatusChange:function(t){this.task.status=t.key,this.editTask({status:t.key})},editTask:function(t){var e=this;t.taskCode=this.code,Object(h["h"])(t).then((function(t){var i=Object(k["a"])(t);if(!i)return!1;e.getTask()}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description)},initContent:function(t){var e=this;try{t?this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))}catch(i){}},doContent:function(){var t=this,e=this.$refs.vueWangeditor.getHtml(),i={taskCode:this.code,description:e};Object(h["h"])(i).then((function(){t.task.description=e,t.showTaskDescriptionEdit=!1,t.$nextTick((function(){t.checkShowMoreDesc(!1,!0)})),t.getTaskLog()}))},createComment:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.comment.trim();if(!i)return!1;i+=" ";var a=/(@[^@]+) /g,n=i.match(a);n&&n.forEach((function(e){var i=e.substring(1,e.length-1);-1===t.mentionsList.findIndex((function(t){return t==i}))&&t.mentionsList.push(i)})),Object(h["d"])(this.code,this.comment,JSON.stringify(this.mentionsList),e).then((function(){t.comment="",t.mentionsList=[],t.getTaskLog()}))},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=c()(".description-txt");if(e||(t?(this.showMoreDesc=!0,i.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,i.css("max-height",(function(){return"300px"})))),e){var a=i.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},createTask:function(){var t=this,e={pcode:this.code,name:this.childTaskName};this.childExecutor&&(e.assign_to=this.childExecutor.code),Object(h["s"])(e).then((function(e){var i=Object(k["a"])(e);if(!i)return!1;t.childTaskName="",t.getChildTasks(),t.getTaskLog()}))},getChildTasks:function(){var t=this;Object(h["m"])({pcode:this.code,pageSize:100,deleted:0}).then((function(e){var i=[];e.data.list.forEach((function(t){t.visibleChildTaskMemberMenu=!1,i.push(t)})),t.childTaskList=i}))},taskTagChange:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e?this.task.tags.splice(e,1):this.task.tags.push({tag_code:t.code,tag:t})},taskTagUpdate:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&(this.task.tags[e].tag=t)},taskTagDelete:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&this.task.tags.splice(e,1)},removeTag:function(t,e){var i=this;Object(h["w"])({taskCode:this.task.code,tagCode:t.code}).then((function(){i.task.tags.splice(e,1)}))},doPlainWorkTime:function(){var t=this;this.plainWorkTime.modalStatus=!0,this.$nextTick((function(){t.plainWorkTime.form.setFieldsValue({work_time:t.task.work_time})}))},doWorkTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;this.workTimeDo.modalStatus=!0,t?(this.workTimeDo.info=t,this.$nextTick((function(){e.workTimeDo.form.setFieldsValue({num:t.num,begin_time:d()(t.begin_time),content:t.content})}))):(this.workTimeDo.form.resetFields(),this.workTimeDo.info=null)},deleteWorkTime:function(t,e){var i=this;this.$confirm({title:"删除工时记录",content:"确定要删除工时记录吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["g"])({code:t.code}).then((function(a){Object(k["a"])(a)&&(i.workTimeList.splice(e,1),i.workTimeTotal-=t.num)})),Promise.resolve()}})},workTimePlainHandleSubmit:function(){var t=this;this.plainWorkTime.form.validateFields((function(e,i){e||(t.editTask({work_time:i.work_time}),t.plainWorkTime.modalStatus=!1)}))},workTimeHandleSubmit:function(){var t=this;this.workTimeDo.form.validateFields((function(e,i){if(!e){t.workTimeDo.confirmLoading=!0;var a={beginTime:i.begin_time.format("YYYY-MM-DD HH:mm"),num:i.num,content:i.content,taskCode:t.code};t.workTimeDo.info?(a.code=t.workTimeDo.info.code,Object(h["i"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(k["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))):Object(h["t"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(k["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))}}))},checkLink:function(t){var e=/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|&|-)+)/g;return e.exec(t)?(t=t.replace(e,"$1$2"),t):t},updateChildExecutor:function(t){this.visibleChildTaskMemberMenu=!1,this.childExecutor=t},getPopup:function(){return document.getElementById("footer")},getTaskMemberPopup:function(){return document.getElementById("task-detail")},departmentMemberDetail:function(t){var e=this;Object(S["a"])({code:t,organization:this.$store.state.currentOrganization.code}).then((function(t){e.departmentMemberInfo=t.data}))},selectMentionMember:function(t){var e=this;this.showMentions=!1,this.comment+=t.name+" ",this.$nextTick((function(){e.$refs.commentText.focus()}))},changeModalHeight:function(){var t=this.width,e=c()(window).width()-100,i=c()(window).height()-150,a=c()(window).height()-315;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(c()(".task-detail-modal").css("width",c()(window).width()),c()(".task-detail").css("width",c()(window).width()),c()(".ant-modal").css("top",0),i+=85,a+=85,c()(".content-left").css("height",i+"px"),c()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),c()(".task-detail").css("width",e),c()(".content-left").css("height",i+"px"),c()(".log-wrap").css("height",a+"px"))}}},D=j,A=(i("690d"),i("2877")),N=Object(A["a"])(D,a,n,!1,null,null,null);e["a"]=N.exports},"00d8":function(t,e){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,a=0;i>>5]|=t[i]<<24-a%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],a=0,n=0;a>>6-2*n);return i}};t.exports=i})()},"0156":function(t,e,i){var a=i("6d8b");function n(t,e,i){i=i||{};var n=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],c=r.position,l=s?"onZero":c,d=r.dim,u=n.getRect(),f=[u.x,u.x+u.width,u.y,u.y+u.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,m="x"===d?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));m[h.onZero]=Math.max(Math.min(v,m[1]),m[0])}o.position=["y"===d?m[h[l]]:f[0],"x"===d?m[h[l]]:f[3]],o.rotation=Math.PI/2*("x"===d?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[c],o.labelOffset=s?m[h[c]]-m[h.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),a.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var b=e.get("axisLabel.rotate");return o.labelRotate="top"===l?-b:b,o.z2=1,o}e.layout=n},"01ed":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("2306");i("5aa9"),i("af24"),a.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:n.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),a.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"0226":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.disable$=void 0;var r=i("c6b3"),o="ui.pullToRefresh.disable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.disable$=a,e.default=a},"026a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.faceManager$=void 0;var r=i("c6b3"),o="biz.ATMBle.faceManager";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.7"},n[r.ENV_ENUM.android]={vs:"5.0.7"},n)),e.faceManager$=a,e.default=a},"02de":function(t,e,i){"use strict";i("b8af")},"0352":function(t,e,i){var a=i("6cb7"),n=i("b12f"),r=i("0f99"),o=r.detectSourceFormat,s=i("93d0"),c=s.SERIES_LAYOUT_BY_COLUMN;a.extend({type:"dataset",defaultOption:{seriesLayoutBy:c,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),n.extend({type:"dataset"})},"035f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.nfcStop$=void 0;var r=i("c6b3"),o="device.nfc.nfcStop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.9"},n[r.ENV_ENUM.android]={vs:"4.3.9"},n)),e.nfcStop$=a,e.default=a},"03b1":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getPhoneInfo$=void 0;var r=i("c6b3"),o="device.base.getPhoneInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0"},n[r.ENV_ENUM.android]={vs:"3.5.0"},n)),e.getPhoneInfo$=a,e.default=a},"044b":function(t,e){function i(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function a(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&i(t.slice(0,0))} +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +t.exports=function(t){return null!=t&&(i(t)||a(t)||!!t._isBuffer)}},"0498":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.previewVideo$=void 0;var r=i("c6b3"),o="biz.util.previewVideo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7"},n[r.ENV_ENUM.android]={vs:"4.3.7"},n[r.ENV_ENUM.pc]={vs:"4.6.33"},n)),e.previewVideo$=a,e.default=a},"04f6":function(t,e){var i=32,a=7;function n(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function r(t,e,i,a){var n=e+1;if(n===i)return 1;if(a(t[n++],t[e])<0){while(n=0)n++;return n-e}function o(t,e,i){i--;while(e>>1,n(o,t[r])<0?c=r:s=r+1;var l=a-s;switch(l){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(l>0)t[s+l]=t[s+l-1],l--}t[s]=o}}function c(t,e,i,a,n,r){var o=0,s=0,c=1;if(r(t,e[i+n])>0){s=a-n;while(c0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}else{s=n+1;while(cs&&(c=s);var l=o;o=n-c,c=n-l}o++;while(o>>1);r(t,e[i+d])>0?o=d+1:c=d}return c}function l(t,e,i,a,n,r){var o=0,s=0,c=1;if(r(t,e[i+n])<0){s=n+1;while(cs&&(c=s);var l=o;o=n-c,c=n-l}else{s=a-n;while(c=0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}o++;while(o>>1);r(t,e[i+d])<0?c=d:o=d+1}return c}function d(t,e){var i,n,r=a,o=0,s=0;o=t.length;var d=[];function u(t,e){i[s]=t,n[s]=e,s+=1}function f(){while(s>1){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]n[t+1])break;p(t)}}function h(){while(s>1){var t=s-2;t>0&&n[t-1]=a||v>=a);if(g)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),1===n){for(u=0;u=0;u--)t[v+u]=t[m+u];if(0===n){y=!0;break}}if(t[p--]=d[h--],1===--s){y=!0;break}if(_=s-c(t[f],d,0,s,s-1,e),0!==_){for(p-=_,h-=_,s-=_,v=p+1,m=h+1,u=0;u<_;u++)t[v+u]=d[m+u];if(s<=1){y=!0;break}}if(t[p--]=t[f--],0===--n){y=!0;break}g--}while(b>=a||_>=a);if(y)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===s){for(p-=n,f-=n,v=p+1,m=f+1,u=n-1;u>=0;u--)t[v+u]=t[m+u];t[p]=d[h]}else{if(0===s)throw new Error;for(m=p-(s-1),u=0;u=0;u--)t[v+u]=t[m+u];t[p]=d[h]}else for(m=p-(s-1),u=0;uf&&(h=f),s(t,a,a+h,a+l,e),l=h}u.pushRun(a,l),u.mergeRuns(),c-=l,a+=l}while(0!==c);u.forceMergeRuns()}}t.exports=u},"06442":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.inquiry$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.inquiry";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.android]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.pc]={vs:"4.5.3",paramsDeal:o.genBizStoreParamsDealFn},n)),e.inquiry$=a,e.default=a},"0645":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseMobileContacts$=void 0;var r=i("c6b3"),o="biz.contact.chooseMobileContacts";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.1"},n[r.ENV_ENUM.android]={vs:"3.1"},n)),e.chooseMobileContacts$=a,e.default=a},"0655":function(t,e,i){var a=i("8728"),n=1e-8;function r(t,e){return Math.abs(t-e).5?e:t}function f(t,e,i,a,n){var r=t.length;if(1===n)for(var o=0;on;if(r)t.length=n;else for(var o=a;o=0;i--)if(P[i]<=e)break;i=Math.min(i,k-2)}else{for(i=U;ie)break;i=Math.min(i-1,k-2)}U=i,B=e;var a=P[i+1]-P[i];if(0!==a)if($=(e-P[i])/a,y)if(R=I[i],V=I[0===i?i:i-1],z=I[i>k-2?k-1:i+1],F=I[i>k-3?k-1:i+2],C)m(V,R,z,F,$,$*$,$*$*$,l(t,s),T);else{if(S)n=m(V,R,z,F,$,$*$,$*$*$,H,1),n=b(H);else{if(M)return u(R,z,$);n=v(V,R,z,F,$,$*$,$*$*$)}g(t,s,n)}else if(C)f(I[i],I[i+1],$,l(t,s),T);else{var n;if(S)f(I[i],I[i+1],$,H,1),n=b(H);else{if(M)return u(I[i],I[i+1],$);n=d(I[i],I[i+1],$)}g(t,s,n)}},Y=new a({target:t._target,life:x,loop:t._loop,delay:t._delay,onframe:W,ondestroy:i});return e&&"spline"!==e&&(Y.easing=e),Y}}}var k=function(t,e,i,a){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||c,this._setter=a||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};k.prototype={when:function(t,e){var i=this._tracks;for(var a in e)if(e.hasOwnProperty(a)){if(!i[a]){i[a]=[];var n=this._getter(this._target,a);if(null==n)continue;0!==t&&i[a].push({time:0,value:g(n)})}i[a].push({time:t,value:e[a]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t1&&a&&a.length>1){var s=r(a)/r(n);!isFinite(s)&&(s=1),e.pinchScale=s;var c=o(a);return e.pinchX=c[0],e.pinchY=c[1],{type:"pinch",target:t[0].target,event:e}}}}},c=n;t.exports=c},"0bba":function(t,e,i){},"0bbb":function(t,e,i){"use strict";function a(t){return t="00"+t,t.substring(t.length-2,t.length)}var n=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var a,n=0,r=e.length;no||t<-o}var c=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=c.prototype;l.transform=null,l.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var d=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),n=this.transform;if(i||e){n=n||a.create(),i?this.getLocalTransform(n):r(n),e&&(i?a.mul(n,t.transform,n):a.copy(n,t.transform)),this.transform=n;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(d);var s=d[0]<0?-1:1,c=d[1]<0?-1:1,l=((d[0]-s)*o+s)/d[0]||0,u=((d[1]-c)*o+c)/d[1]||0;n[0]*=l,n[1]*=l,n[2]*=u,n[3]*=u}this.invTransform=this.invTransform||a.create(),a.invert(this.invTransform,n)}else n&&r(n)},l.getLocalTransform=function(t){return c.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var u=[],f=a.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],a=this.position,n=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),a[0]=t[4],a[1]=t[5],n[0]=e,n[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(a.mul(u,t.invTransform,e),e=u);var i=this.origin;i&&(i[0]||i[1])&&(f[4]=i[0],f[5]=i[1],a.mul(u,e,f),u[4]-=i[0],u[5]-=i[1],e=u),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var i=[t,e],a=this.invTransform;return a&&n.applyTransform(i,i,a),i},l.transformCoordToGlobal=function(t,e){var i=[t,e],a=this.transform;return a&&n.applyTransform(i,i,a),i},c.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,n=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),a.scale(e,e,n),o&&a.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var h=c;t.exports=h},"0da8":function(t,e,i){var a=i("19eb"),n=i("9850"),r=i("6d8b"),o=i("5e76");function s(t){a.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,a=i.image;i.bind(t,this,e);var n=this._image=o.createOrUpdateImage(a,this._image,this,this.onload);if(n&&o.isImageReady(n)){var r=i.x||0,s=i.y||0,c=i.width,l=i.height,d=n.width/n.height;if(null==c&&null!=l?c=l*d:null==l&&null!=c?l=c/d:null==c&&null==l&&(c=n.width,l=n.height),this.setTransform(t),i.sWidth&&i.sHeight){var u=i.sx||0,f=i.sy||0;t.drawImage(n,u,f,i.sWidth,i.sHeight,r,s,c,l)}else if(i.sx&&i.sy){u=i.sx,f=i.sy;var h=c-u,p=l-f;t.drawImage(n,u,f,h,p,r,s,c,l)}else t.drawImage(n,r,s,c,l);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new n(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,a);var c=s;t.exports=c},"0e36":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"account-setting-base"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{staticClass:"setting-content"},[e("account-setting"),e("div",{staticClass:"layout-item right"},[e("div",{staticClass:"setting-info-title"},[e("span",[t._v("基本设置")])]),e("div",{staticClass:"setting-info"},[e("div",{staticClass:"setting-info-content"},[e("a-form",{attrs:{layout:"vertical",form:t.form,hideRequiredMark:""},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",{attrs:{label:"昵称"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入您的邮箱"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入您的邮箱' }]}\n ]"}]})],1),e("a-form-item",{attrs:{label:"简介"}},[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"个人简介",rows:4}})],1),e("a-form-item",[e("a-button",{attrs:{type:"primary",htmlType:"submit",loading:t.loading}},[t._v("更新基本信息")])],1)],1)],1),e("div",{staticClass:"setting-info-avatar"},[e("span",[t._v("头像")]),e("a-avatar",{staticClass:"avatar",attrs:{size:150,src:t.userInfo.avatar}},[t._v(t._s(t.userInfo.name))]),e("a-upload",{staticClass:"avatar-uploader",attrs:{name:"avatar",showUploadList:!1,data:{code:t.userInfo.code},headers:t.headers,action:t.uploadAction,beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[e("a-button",{staticClass:"upload",attrs:{icon:"upload"}},[t._v("更换头像")])],1)],1)])])],1)])],1)},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("2f62"),s=i("8eb6"),c=i("2f14"),l=i("c24f"),d=(i("68fe"),i("97a8"));function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function f(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";return a["a"].post("project/node",{module:t})}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return a["a"].post("project/node/allList",{module:t,node:e})}function o(t){return a["a"].post("project/node/save",{list:t})}function s(){return a["a"].post("project/node/clear")}},"0f99":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("e0d3")),r=n.makeInner,o=n.getDataItemValue,s=i("6d8b"),c=s.createHashMap,l=s.each,d=s.map,u=s.isArray,f=s.isString,h=s.isObject,p=s.isTypedArray,m=s.isArrayLike,v=s.extend,g=(s.assert,i("ec6f")),b=i("93d0"),_=b.SOURCE_FORMAT_ORIGINAL,y=b.SOURCE_FORMAT_ARRAY_ROWS,k=b.SOURCE_FORMAT_OBJECT_ROWS,x=b.SOURCE_FORMAT_KEYED_COLUMNS,w=b.SOURCE_FORMAT_UNKNOWN,C=b.SOURCE_FORMAT_TYPED_ARRAY,S=b.SERIES_LAYOUT_BY_ROW,M={Must:1,Might:2,Not:3},T=r();function P(t){var e=t.option.source,i=w;if(p(e))i=C;else if(u(e)){0===e.length&&(i=y);for(var a=0,n=e.length;at&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=n},"17d6":function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),c=a.each;function l(t,e,i){if(!n.node){var a=e.getZr();s(a).records||(s(a).records={}),d(a,e);var r=s(a).records[t]||(s(a).records[t]={});r.handler=i}}function d(t,e){function i(i,a){t.on(i,(function(i){var n=p(e);c(s(t).records,(function(t){t&&a(t,i,n.dispatchAction)})),u(n.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,i("click",a.curry(h,"click")),i("mousemove",a.curry(h,"mousemove")),i("globalout",f))}function u(t,e){var i,a=t.showTip.length,n=t.hideTip.length;a?i=t.showTip[a-1]:n&&(i=t.hideTip[n-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function f(t,e,i){t.handler("leave",null,i)}function h(t,e,i,a){e.handler(t,i,a)}function p(t){var e={showTip:[],hideTip:[]},i=function(a){var n=e[a.type];n?n.push(a):(a.dispatchAction=i,t.dispatchAction(a))};return{dispatchAction:i,pendings:e}}function m(t,e){if(!n.node){var i=e.getZr(),a=(s(i).records||{})[t];a&&(s(i).records[t]=null)}}e.register=l,e.unregister=m},1820:function(t,e,i){},1860:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openAuth$=void 0;var r=i("c6b3"),o="biz.alipay.openAuth";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.8"},n[r.ENV_ENUM.android]={vs:"5.1.8"},n)),e.openAuth$=a,e.default=a},"18c0":function(t,e,i){var a=i("6d8b"),n=i("e0d8"),r=i("8e43"),o=n.prototype,s=n.extend({type:"ordinal",init:function(t,e){t&&!a.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:a.noop,niceExtent:a.noop});s.create=function(){return new s};var c=s;t.exports=c},"18cc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.detectFace$=void 0;var r=i("c6b3"),o="biz.ATMBle.detectFace";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.18"},n[r.ENV_ENUM.android]={vs:"5.1.18"},n)),e.detectFace$=a,e.default=a},"18ef":function(t,e,i){},1915:function(t,e,i){"use strict";function a(t){var e,i=JSON.stringify(t).length;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/send-message?params=").concat(encodeURIComponent(JSON.stringify({body:t,bodyLengthList:[i]}))),target:"float",title:"提示",wnId:"sendMessageToGroup",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToGroup=void 0,i("c526");var n=i("5575");e.sendMessageToGroup=a},1980:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.goBack$=void 0;var r=i("c6b3"),o="biz.navigation.goBack";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.goBack$=a,e.default=a},"19eb":function(t,e,i){var a=i("6d8b"),n=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new n(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect();return a.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new n(t,this),this.dirty(!1),this},calculateTextPosition:null},a.inherits(s,r),a.mixin(s,o);var c=s;t.exports=c},"19ed":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-template-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-tabs",{attrs:{animated:!1},model:{value:t.viewType,callback:function(e){t.viewType=e},expression:"viewType"}},[e("a-tab-pane",{key:"0",attrs:{tab:"自定义模板"}}),e("a-tab-pane",{key:"1",attrs:{tab:"公共模板"}}),e("a-button",{attrs:{slot:"tabBarExtraContent",type:"primary",icon:"plus"},on:{click:function(e){return t.doAction(null,"new")}},slot:"tabBarExtraContent"},[t._v("制作项目模板\n ")])],1),e("a-list",{staticClass:"default-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"stages")}},slot:"actions"},[e("a-tooltip",{attrs:{title:"任务列表"}},[e("a-icon",{attrs:{type:"bars"}})],1)],1),i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"edit")}},slot:"actions"},[e("a-tooltip",{attrs:{title:"编辑"}},[e("a-icon",{attrs:{type:"edit"}})],1)],1),i.is_system?t._e():e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"删除"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[i.task_stages.length?e("div",{staticClass:"info-item task"},[e("a-breadcrumb",{attrs:{separator:">"}},t._l(i.task_stages,(function(i){return e("a-breadcrumb-item",{key:i.name},[t._v(t._s(i.name)+"\n ")])})),1)],1):t._e()])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多模板")])],1):t._e()])],1),e("a-modal",{staticClass:"project-template-modal",attrs:{width:360,title:t.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("div",{staticClass:"cover-item"},[t.cover?[e("img",{staticClass:"avatar",attrs:{src:t.cover}})]:t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.cover,expression:"!cover"}],staticClass:"no-avatar"}),e("a-upload",{staticClass:"cover-uploader",attrs:{name:"cover",showUploadList:!1,headers:t.headers,action:t.uploadAction,beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[e("a-button",{staticClass:"upload",attrs:{icon:"upload"}},[t._v("上传封面")]),e("span",{staticClass:"upload-tips muted"},[t._v("最佳图片比例为300*150")])],1)],2),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入模板名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入模板名称' }]}\n ]"}],attrs:{placeholder:"模板名称(必填)"}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"模板说明",rows:2}})],1),e("a-form-item",[e("div",{staticClass:"action-btn"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("保存模板\n ")])],1)])],1)],1)],1)},n=[],r=i("6649"),o=i("2f14"),s=i("1b80"),c=i("a078"),l={components:{},mixins:[s["a"]],data:function(){return{viewType:"0",dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,currentTemplate:{},cover:c["a"].PROD_URL+"/static/image/default/cover.png",newData:{id:0},form:this.$form.createForm(this),searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑模板"},uploadLoading:!1,uploadAction:Object(o["c"])("project/project_template/uploadCover")}},computed:{headers:function(){return Object(o["d"])()}},watch:{$route:function(){this.init()},viewType:function(){this.init()}},created:function(){this.init()},methods:{init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.showLoadingMore=!1),e.loading=!0,e.requestData.viewType=e.viewType,Object(r["c"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},doAction:function(t,e,i){this.currentTemplate=t;var a=this;if(a.newData={code:""},"edit"==e||"new"==e)setTimeout((function(){a.form&&a.form.resetFields()}),0),a.actionInfo.modalStatus=!0,a.actionInfo.modalTitle="自定义模板","edit"==e&&setTimeout((function(){a.actionInfo.modalTitle="编辑模板",a.form.setFieldsValue({name:t.name,description:t.description}),a.cover=t.cover,a.newData=t}),0);else if("del"==e)this.$confirm({title:"确定删除模板?",content:"删除模板「".concat(this.currentTemplate.name,"」后已从该模板创建的项目不受影响"),okText:"删除模板",okType:"danger",cancelText:"再想想",onOk:function(){return Object(r["a"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}});else if("stages"==e){var n=this.$router.resolve({path:"/project/template/taskstages/"+t.code+"?name="+t.name}),o=n.href;window.open(o,"_blank")}},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();e.cover=this.cover,t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),Object(r["b"])(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(o["a"])(e)&&(t.form.resetFields(),t.newData={code:""},t.actionInfo.modalStatus=!1,t.init())}))},handleChange:function(t){var e=this;"uploading"!==t.file.status?"done"===t.file.status&&Object(o["e"])(t.file.originFileObj,(function(i){e.cover=t.file.response.data.url,e.uploadLoading=!1})):this.uploadLoading=!0},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("图片不能超过2MB!"),e}}},d=l,u=(i("9a60"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"1a3c":function(t,e,i){"use strict";i("38fdf")},"1a9f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.coolAppSdk=void 0;var a=i("44bb");e.coolAppSdk=a},"1c8c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setDeviceProperties$=void 0;var r=i("c6b3"),o="biz.iot.setDeviceProperties";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.42"},n[r.ENV_ENUM.android]={vs:"4.6.42"},n)),e.setDeviceProperties$=a,e.default=a},"1c8d":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main user-layout-forgot"},[t.sended?[t._m(1),e("a-form",{ref:"formRegister",attrs:{form:t.form,id:"formRegister"}},[e("a-form-item",[e("a-input",{attrs:{size:"large",type:"text",placeholder:"邮箱",value:t.email,disabled:""}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-popover",{attrs:{placement:"rightTop",trigger:"click",visible:t.state.passwordLevelChecked}},[e("template",{slot:"content"},[e("div",{style:{width:"240px"}},[e("div",{class:["user-register",t.passwordLevelClass]},[t._v("强度:"),e("span",[t._v(t._s(t.passwordLevelName))])]),e("a-progress",{attrs:{percent:t.state.percent,showInfo:!1,strokeColor:t.passwordLevelColor}}),e("div",{staticStyle:{"margin-top":"10px"}},[e("span",[t._v("请至少输入 6 个字符。请不要使用容易被猜到的密码。")])])],1)]),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordLevel}],validateTrigger:["change","blur"]}],expression:"['password',{rules: [{ required: true, message: '至少6位密码,区分大小写' },{ validator: this.handlePasswordLevel }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"密码须至少6位,且区分大小写"},on:{click:t.handlePasswordInputClick}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],2),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password2",{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordCheck}],validateTrigger:["change","blur"]}],expression:"['password2',{rules: [{ required: true, message: '至少6位密码,区分大小写' },{ validator: this.handlePasswordCheck }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"再次确认您的密码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"check-circle"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["captcha",{rules:[{required:!0,message:"请输入验证码"}],validateTrigger:["blur"]}],expression:"['captcha',{rules: [{ required: true, message: '请输入验证码' }], validateTrigger: ['blur']}]"}],attrs:{size:"large",type:"text",placeholder:"验证码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-button",{staticClass:"register-button",attrs:{block:"",size:"large",type:"primary",htmlType:"submit",loading:t.registerBtn,disabled:t.registerBtn},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[t._v("提交\n ")])],1)],1)]:[t._m(0),e("a-form",{ref:"formForgot",attrs:{form:t.formCaptcha,id:"formForgot"}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["email",{rules:[{required:!0,type:"email",message:"请输入邮箱地址"}],validateTrigger:["change","blur"]}],expression:"['email',{rules: [{ required: true, type: 'email', message: '请输入邮箱地址' }], validateTrigger: ['change', 'blur']}]"}],attrs:{size:"large",type:"text",placeholder:"注册邮箱地址"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-button",{staticClass:"forgot-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:t.forgotBtn,disabled:t.forgotBtn},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleSubmitCaptcha.apply(null,arguments)}}},[t._v("获取验证码\n ")]),e("router-link",{staticClass:"login",attrs:{to:{name:"login"}}},[t._v("使用其他账户登录")])],1)],1)]],2)},n=[function(){var t=this,e=t._self._c;return e("h3",[e("span",[t._v("通过邮箱重置")])])},function(){var t=this,e=t._self._c;return e("h3",[e("span",[t._v("重置密码")])])}],r=i("6821f"),o=i.n(r),s=i("c24f"),c=i("2f14"),l=i("97a8"),d={0:"低",1:"低",2:"中",3:"强"},u={0:"error",1:"error",2:"warning",3:"success"},f={0:"#ff0000",1:"#ff0000",2:"#ff7e05",3:"#52c41a"},h={name:"Forgot",components:{},data:function(){return{form:this.$form.createForm(this),formCaptcha:this.$form.createForm(this),email:"",sended:!1,forgotBtn:!1,state:{time:60,smsSendBtn:!1,passwordLevel:0,passwordLevelChecked:!1,percent:10,progressColor:"#FF0000"},registerBtn:!1}},computed:{passwordLevelClass:function(){return u[this.state.passwordLevel]},passwordLevelName:function(){return d[this.state.passwordLevel]},passwordLevelColor:function(){return f[this.state.passwordLevel]}},methods:{handleSubmitCaptcha:function(){var t=this;this.formCaptcha.validateFields((function(e,i){if(!e){t.forgotBtn=!0;var a=t.formCaptcha.getFieldsValue();t.email=a.email,Object(s["h"])(t.email).then((function(e){if(t.sended=!0,t.forgotBtn=!1,t.$message.destroy(),!Object(c["a"])(e))return!1;var i="验证码获取成功";e.data&&(i+=",您的验证码为:"+e.data),Object(l["b"])({title:"提示",msg:i},"notification","success",8)}))}}))},handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){if(!e){t.hidePasswordLevelChecked=!1,t.registerBtn=!0;var a=t.form.getFieldsValue();a.email=t.email,a.password=o()(a.password),a.password2=o()(a.password2),Object(s["k"])(a).then((function(e){if(t.registerBtn=!1,!Object(c["a"])(e))return!1;Object(l["b"])({title:"提示",msg:"重置密码成功,请登录"},"notification","success"),t.$router.push({name:"login"})}))}}))},handlePasswordInputClick:function(){this.state.passwordLevelChecked=!0},hidePasswordLevelChecked:function(){this.state.passwordLevelChecked=!1},handlePasswordLevel:function(t,e,i){var a=0;/[0-9]/.test(e)&&a++,/[a-zA-Z]/.test(e)&&a++,/[^0-9a-zA-Z_]/.test(e)&&a++,this.state.passwordLevel=a,this.state.percent=30*a,a>=2?(a>=3&&(this.state.percent=100),i()):(0===a&&(this.state.percent=10),i(new Error("密码强度不够")))},handlePasswordCheck:function(t,e,i){var a=this.form.getFieldValue("password");void 0===e&&i(new Error("请输入密码")),e&&a&&e.trim()!==a.trim()&&i(new Error("两次密码不一致")),i()}},watch:{}},p=h,m=(i("7797"),i("1a3c"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"1cbc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.saveImage$=void 0;var r=i("c6b3"),o="biz.util.saveImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.1"},n[r.ENV_ENUM.android]={vs:"4.1"},n)),e.saveImage$=a,e.default=a},"1d16":function(t,e,i){"use strict";i("2ab7")},"1d72":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"datav-index"},[e("div",{staticStyle:{width:"100vw"},attrs:{id:"container"}}),e("div",{staticClass:"btn-box"},[e("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:t._u([{key:"overlay",fn:function(){return[e("a-menu",{staticStyle:{width:"160px"},on:{click:t.handleMenuClick}},t._l(t.member_list,(function(i,a){return e("a-menu-item",{key:a},[e("div",{staticClass:"menu-item-d"},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))])],1)])})),1)]},proxy:!0}])},[e("a-button",{staticStyle:{"min-width":"100px"}},[e("div",{staticClass:"menu-item-d"},[e("a-avatar",{attrs:{src:t.now_user.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.now_user.name))])],1)])],1),e("a-date-picker",{attrs:{format:"MM月DD日",allowClear:!1},on:{change:t.changeTime},model:{value:t.now_date,callback:function(e){t.now_date=e},expression:"now_date"}})],1)])},n=[],r=(i("28a5"),i("ac6a"),i("6b54"),i("f576"),i("2ef0"),i("862d3")),o=i.n(r),s=i("22b6");function c(t){return s["a"].post("project/project/positioning_list",{department_code:t})}function l(t){return s["a"].post("project/project/positioning_member",t)}var d=i("c24f"),u=i("97a8"),f={name:"datav",data:function(){return{map:null,Amap:null,visibleTaskCopied:!1,now_date:"",now_user:{member_code:"",avatar:"",name:"全部"},member_list:[],markers:[],polyline:null}},created:function(){this.now_date="",this.getMembers()},mounted:function(){this.initMap()},methods:{getMembers:function(){var t=this;Object(d["w"])().then((function(e){t.member_list=e.data.list}))},formatDate:function(t){var e=t.getFullYear(),i=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0");return"".concat(e,"-").concat(i,"-").concat(a)},initMap:function(){var t=this;o.a.load({key:"4f8f55618010007147aab96fc72bb408",version:"2.0",plugins:["AMap.Geocoder"],Loca:{version:"2.0.0"}}).then((function(e){t.map=new e.Map("container",{viewMode:"3D",zoom:15,center:[105.433211,28.913861],mapStyle:"amap://styles/darkblue"}),t.initMaker()})).catch((function(t){console.log(t)}))},handleMenuClick:function(t){this.now_user=this.member_list[t.key],this.initList()},changeTime:function(t){console.log(this.now_date),this.initList()},initMaker:function(){var t=this;c().then((function(e){e.data.forEach((function(e){if(e.positioning){var i=new AMap.Marker({position:e.positioning.split(","),map:t.map,content:'\n
\n \n
\n
').concat(e.name,"
\n
更新时间:").concat(e.date,"
\n
停留时间:").concat(e.date,"
\n
\n
\n "),offset:new AMap.Pixel(-20,-20)});t.markers.push(i)}}))}))},initList:function(){var t=this;this.now_user.member_code&&this.now_date&&(this.map.remove(this.markers),this.polyline&&this.polyline.setMap(null),l({code:this.now_user.member_code,date:this.formatDate(new Date(this.now_date||Date.now()))}).then((function(e){var i=e.data.map((function(t){return t.split(",")}))||[];if(0==i.length)return Object(u["b"])({title:"该成员当日无轨迹信息"},"error",3e3);t.polyline=new AMap.Polyline({path:i,strokeColor:"#52c41a",strokeWeight:5,strokeOpacity:1,strokeStyle:"solid",zIndex:50}),t.polyline.setMap(t.map)})).catch((function(t){return console.log(t),Object(u["b"])({title:"该成员当日无轨迹信息"},"error",3e3)})))}}},h=f,p=(i("d495"),i("2877")),m=Object(p["a"])(h,a,n,!1,null,null,null);e["default"]=m.exports},"1e0e":function(t,e,i){"use strict";i("5e24")},"1e48":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.alert$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.alert",c=(0,o.genDefaultParamsDealFn)({title:"",buttonName:"确定"});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.alert$=a,e.default=a},"1e49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.call$=void 0;var r=i("c6b3"),o="biz.telephone.call";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.call$=a,e.default=a},"1ee2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="device.geolocation.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.7"},n[r.ENV_ENUM.android]={vs:"3.4.7"},n)),e.stop$=a,e.default=a},"1f29":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setColors$=void 0;var r=i("c6b3"),o="ui.progressBar.setColors";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.setColors$=a,e.default=a},"1f44":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.actionSheet$=void 0;var r=i("c6b3"),o="device.notification.actionSheet";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.actionSheet$=a,e.default=a},"1fab":function(t,e){var i=Array.prototype.slice,a=function(t){this._$handlers={},this._$eventProcessor=t};function n(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function r(t,e,i,a,r,o){var s=t._$handlers;if("function"===typeof i&&(r=a,a=i,i=null),!a||!e)return t;i=n(t,i),s[e]||(s[e]=[]);for(var c=0;c3&&(n=i.call(n,1));for(var o=e.length,s=0;s4&&(n=i.call(n,1,n.length-1));for(var o=n[n.length-1],s=e.length,c=0;c0){var e=t.date[0].format("YYYY-MM-DD"),i=t.date[1].format("YYYY-MM-DD");t.date=e+"~"+i}Object.assign(this.requestData,t),this.init()}}},d=l,u=i("2877"),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},2094:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getUserExclusiveInfo$=void 0;var r=i("c6b3"),o="biz.realm.getUserExclusiveInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.14"},n[r.ENV_ENUM.android]={vs:"6.0.14"},n[r.ENV_ENUM.pc]={vs:"6.0.17"},n)),e.getUserExclusiveInfo$=a,e.default=a},"20c8":function(t,e,i){var a=i("4a3f"),n=i("401b"),r=i("e263"),o=i("9850"),s=i("2cf4"),c=s.devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},d=[],u=[],f=[],h=[],p=Math.min,m=Math.max,v=Math.cos,g=Math.sin,b=Math.sqrt,_=Math.abs,y="undefined"!==typeof Float32Array,k=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};k.prototype={constructor:k,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,i){i=i||0,this._ux=_(i/c/t)||0,this._uy=_(i/c/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=_(t-this._xi)>this._ux||_(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,a,n,r){return this.addData(l.C,t,e,i,a,n,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,a,n,r):this._ctx.bezierCurveTo(t,e,i,a,n,r)),this._xi=n,this._yi=r,this},quadraticCurveTo:function(t,e,i,a){return this.addData(l.Q,t,e,i,a),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,a):this._ctx.quadraticCurveTo(t,e,i,a)),this._xi=i,this._yi=a,this},arc:function(t,e,i,a,n,r){return this.addData(l.A,t,e,i,i,a,n-a,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,a,n,r),this._xi=v(n)*i+t,this._yi=g(n)*i+e,this},arcTo:function(t,e,i,a,n){return this._ctx&&this._ctx.arcTo(t,e,i,a,n),this},rect:function(t,e,i,a){return this._ctx&&this._ctx.rect(t,e,i,a),this.addData(l.R,t,e,i,a),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&h<=t||d<0&&h>=t||0===d&&(u>0&&v<=e||u<0&&v>=e))a=this._dashIdx,i=o[a],h+=d*i,v+=u*i,this._dashIdx=(a+1)%g,d>0&&hc||u>0&&vl||s[a%2?"moveTo":"lineTo"](d>=0?p(h,t):m(h,t),u>=0?p(v,e):m(v,e));d=h-t,u=v-e,this._dashOffset=-b(d*d+u*u)},_dashedBezierTo:function(t,e,i,n,r,o){var s,c,l,d,u,f=this._dashSum,h=this._dashOffset,p=this._lineDash,m=this._ctx,v=this._xi,g=this._yi,_=a.cubicAt,y=0,k=this._dashIdx,x=p.length,w=0;for(h<0&&(h=f+h),h%=f,s=0;s<1;s+=.1)c=_(v,t,i,r,s+.1)-_(v,t,i,r,s),l=_(g,e,n,o,s+.1)-_(g,e,n,o,s),y+=b(c*c+l*l);for(;kh)break;s=(w-h)/y;while(s<=1)d=_(v,t,i,r,s),u=_(g,e,n,o,s),k%2?m.moveTo(d,u):m.lineTo(d,u),s+=p[k]/y,k=(k+1)%x;k%2!==0&&m.lineTo(r,o),c=r-d,l=o-u,this._dashOffset=-b(c*c+l*l)},_dashedQuadraticTo:function(t,e,i,a){var n=i,r=a;i=(i+2*t)/3,a=(a+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,a,n,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,y&&(this.data=new Float32Array(t)))},getBoundingRect:function(){d[0]=d[1]=f[0]=f[1]=Number.MAX_VALUE,u[0]=u[1]=h[0]=h[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,a=0,s=0,c=0;cc||_(o-n)>d||f===u-1)&&(t.lineTo(r,o),a=r,n=o);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),a=s[f-2],n=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),a=s[f-2],n=s[f-1];break;case l.A:var p=s[f++],m=s[f++],b=s[f++],y=s[f++],k=s[f++],x=s[f++],w=s[f++],C=s[f++],S=b>y?b:y,M=b>y?1:b/y,T=b>y?y/b:1,P=Math.abs(b-y)>.001,I=k+x;P?(t.translate(p,m),t.rotate(w),t.scale(M,T),t.arc(0,0,S,k,I,1-C),t.scale(1/M,1/T),t.rotate(-w),t.translate(-p,-m)):t.arc(p,m,S,k,I,1-C),1===f&&(e=v(k)*b+p,i=g(k)*y+m),a=v(I)*b+p,n=g(I)*y+m;break;case l.R:e=a=s[f],i=n=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),a=e,n=i}}}},k.CMD=l;var x=k;t.exports=x},"216a":function(t,e,i){var a=i("6d8b"),n=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),c=s.prototype,l=Math.ceil,d=Math.floor,u=1e3,f=60*u,h=60*f,p=24*h,m=function(t,e,i,a){while(i>>1;t[n][1]i&&(s=i);var c=g.length,u=m(g,s,0,c),f=g[Math.min(u,c-1)],h=f[1];if("year"===f[0]){var p=r/h,v=n.nice(p/t,!0);h*=v}var b=this.getSetting("useUTC")?0:60*new Date(+a[0]||+a[1]).getTimezoneOffset()*1e3,_=[Math.round(l((a[0]-b)/h)*h+b),Math.round(d((a[1]-b)/h)*h+b)];o.fixExtent(_,a),this._stepLvl=f,this._interval=h,this._niceExtent=_},parse:function(t){return+n.parseDate(t)}});a.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return c[t].call(this,this.parse(e))}}));var g=[["hh:mm:ss",u],["hh:mm:ss",5*u],["hh:mm:ss",10*u],["hh:mm:ss",15*u],["hh:mm:ss",30*u],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",5*f],["hh:mm\nMM-dd",10*f],["hh:mm\nMM-dd",15*f],["hh:mm\nMM-dd",30*f],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",2*h],["hh:mm\nMM-dd",6*h],["hh:mm\nMM-dd",12*h],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var b=v;t.exports=b},"217b":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"21d0":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.collectSticker$=void 0;var r=i("c6b3"),o="biz.chat.collectSticker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.25"},n[r.ENV_ENUM.android]={vs:"4.6.25"},n)),e.collectSticker$=a,e.default=a},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:n(navigator.userAgent);var a=i;function n(t){var e={},i={},a=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return a&&(i.firefox=!0,i.version=a[1]),n&&(i.ie=!0,i.version=n[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=a},2306:function(t,e,i){var a=i("6d8b"),n=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),c=i("cbe5"),l=i("0cde"),d=i("0da8");e.Image=d;var u=i("e1fc");e.Group=u;var f=i("76a5");e.Text=f;var h=i("d9fc");e.Circle=h;var p=i("4aa2");e.Sector=p;var m=i("4573");e.Ring=m;var v=i("87b1");e.Polygon=v;var g=i("d498");e.Polyline=g;var b=i("c7a2");e.Rect=b;var _=i("cb11");e.Line=_;var y=i("ac0f");e.BezierCurve=y;var k=i("8d32");e.Arc=k;var x=i("d4c6");e.CompoundPath=x;var w=i("48a9");e.LinearGradient=w;var C=i("dded");e.RadialGradient=C;var S=i("9850");e.BoundingRect=S;var M=i("392f");e.IncrementalDisplayable=M;var T=i("9cf9"),P=Math.max,I=Math.min,O={},E=1,j={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},D="emphasis",A="normal",N=1,L={},$={};function V(t){return c.extend(t)}function R(t,e){return n.extendFromString(t,e)}function z(t,e){$[t]=e}function F(t){if($.hasOwnProperty(t))return $[t]}function U(t,e,i,a){var r=n.createFromString(t,e);return i&&("center"===a&&(i=H(i,r.getBoundingRect())),Y(r,i)),r}function B(t,e,i){var a=new d({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var n={width:t.width,height:t.height};a.setStyle(H(e,n))}}});return a}function H(t,e){var i,a=e.width/e.height,n=t.height*a;n<=t.width?i=t.height:(n=t.width,i=n/a);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-n/2,y:o-i/2,width:n,height:i}}var W=n.mergePath;function Y(t,e){if(t.applyTransform){var i=t.getBoundingRect(),a=i.calculateTransform(e);t.applyTransform(a)}}function q(t){return T.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function G(t){return T.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var K=T.subPixelOptimize;function X(t){return null!=t&&"none"!==t}var J=a.createHashMap(),Z=0;function Q(t){if("string"!==typeof t)return t;var e=J.get(t);return e||(e=r.lift(t,-.1),Z<1e4&&(J.set(t,e),Z++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var a=t.style;for(var n in e)null!=e[n]&&(i[n]=a[n]);i.fill=a.fill,i.stroke=a.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,a=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=a?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var n=t,r=t.style;a&&(n=i.addHover(t),r=n.style),Ct(r),a||tt(n),r.extendFrom(e),it(r,e,"fill"),it(r,e,"stroke"),wt(r),a||(t.dirty(!1),t.z2+=E)}}}function it(t,e,i){!X(e[i])&&X(t[i])&&(t[i]=Q(t[i]))}function at(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,a=t.__cachedNormalStl;a&&(Ct(i),t.setStyle(a),wt(i));var n=t.__cachedNormalZ2;null!=n&&t.z2-n===E&&(t.z2=n)}}function nt(t,e,i){var a,n=A,r=A;t.__highlighted&&(n=D,a=!0),e(t,i),t.__highlighted&&(r=D,a=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),a&&t.__highDownOnUpdate&&t.__highDownOnUpdate(n,r)}function rt(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,at(t),et(t))}function ot(t){!dt(this,t)&&!this.__highByOuter&&nt(this,et)}function st(t){!dt(this,t)&&!this.__highByOuter&&nt(this,at)}function ct(t){this.__highByOuter|=1<<(t||0),nt(this,et)}function lt(t){!(this.__highByOuter&=~(1<<(t||0)))&&nt(this,at)}function dt(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ut(t,e){ft(t,!0),nt(t,rt,e)}function ft(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var a=i?"off":"on";t[a]("mouseover",ot)[a]("mouseout",st),t[a]("emphasis",ct)[a]("normal",lt),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ht(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=L[t];return null==e&&N<=32&&(e=L[t]=N++),e}function mt(t,e,i,n,r,o,s){r=r||O;var c,l=r.labelFetcher,d=r.labelDataIndex,u=r.labelDimIndex,f=r.labelProp,h=i.getShallow("show"),p=n.getShallow("show");(h||p)&&(l&&(c=l.getFormattedLabel(d,"normal",null,u,f)),null==c&&(c=a.isFunction(r.defaultText)?r.defaultText(d,r):r.defaultText));var m=h?c:null,v=p?a.retrieve2(l?l.getFormattedLabel(d,"emphasis",null,u,f):null,c):null;null==m&&null==v||(gt(t,i,o,r),gt(e,n,s,r,!0)),t.text=m,e.text=v}function vt(t,e,i){var n=t.style;e&&(Ct(n),t.setStyle(e),wt(n)),n=t.__hoverStl,i&&n&&(Ct(n),a.extend(n,i),wt(n))}function gt(t,e,i,n,r){return _t(t,e,n,r),i&&a.extend(t,i),t}function bt(t,e,i){var a,n={isRectText:!0};!1===i?a=!0:n.autoColor=i,_t(t,e,n,a)}function _t(t,e,i,n){if(i=i||O,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(e,n):(r=e.getShallow("position")||(n?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=a.retrieve2(e.getShallow("distance"),n?null:5)}var s,c=e.ecModel,l=c&&c.option.textStyle,d=yt(e);if(d)for(var u in s={},d)if(d.hasOwnProperty(u)){var f=e.getModel(["rich",u]);kt(s[u]={},f,l,i,n)}return t.rich=s,kt(t,e,l,i,n,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function yt(t){var e;while(t&&t!==t.ecModel){var i=(t.option||O).rich;if(i)for(var a in e=e||{},i)i.hasOwnProperty(a)&&(e[a]=1);t=t.parentModel}return e}function kt(t,e,i,n,r,o){i=!r&&i||O,t.textFill=xt(e.getShallow("color"),n)||i.color,t.textStroke=xt(e.getShallow("textBorderColor"),n)||i.textBorderColor,t.textStrokeWidth=a.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=n,wt(t)),null==t.textFill&&(t.textFill=n.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&n.disableBox||(t.textBackgroundColor=xt(e.getShallow("backgroundColor"),n),t.textPadding=e.getShallow("padding"),t.textBorderColor=xt(e.getShallow("borderColor"),n),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function xt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function wt(t){var e,i=t.textPosition,a=t.insideRollbackOpt;if(a&&null==t.textFill){var n=a.autoColor,r=a.isRectText,o=a.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),c=!s&&null!=n;(s||c)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=n,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),c&&(t.textFill=n)}t.insideRollback=e}function Ct(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function St(t,e){var i=e&&e.getModel("textStyle");return a.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Mt(t,e,i,a,n,r){"function"===typeof n&&(r=n,n=null);var o=a&&a.isAnimationEnabled();if(o){var s=t?"Update":"",c=a.getShallow("animationDuration"+s),l=a.getShallow("animationEasing"+s),d=a.getShallow("animationDelay"+s);"function"===typeof d&&(d=d(n,a.getAnimationDelayParams?a.getAnimationDelayParams(e,n):null)),"function"===typeof c&&(c=c(n)),c>0?e.animateTo(i,c,d||0,l,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function Tt(t,e,i,a,n){Mt(!0,t,e,i,a,n)}function Pt(t,e,i,a,n){Mt(!1,t,e,i,a,n)}function It(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Ot(t,e,i){return e&&!a.isArrayLike(e)&&(e=l.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Et(t,e,i){var a=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),n=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-a:"right"===t?a:0,"top"===t?-n:"bottom"===t?n:0];return r=Ot(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function jt(t,e,i,n){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var a=c(t);t.attr(c(e)),Tt(t,a,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function c(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=a.extend({},t.shape)),e}}function Dt(t,e){return a.map(t,(function(t){var i=t[0];i=P(i,e.x),i=I(i,e.x+e.width);var a=t[1];return a=P(a,e.y),a=I(a,e.y+e.height),[i,a]}))}function At(t,e){var i=P(t.x,e.x),a=I(t.x+t.width,e.x+e.width),n=P(t.y,e.y),r=I(t.y+t.height,e.y+e.height);if(a>=i&&r>=n)return{x:i,y:n,width:a-i,height:r-n}}function Nt(t,e,i){e=a.extend({rectHover:!0},e);var n=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(n.image=t.slice(8),a.defaults(n,i),new d(e)):U(t.replace("path://",""),e,i,"center")}function Lt(t,e,i,a,n){for(var r=0,o=n[n.length-1];r1)return!1;var v=Vt(h,p,d,u)/f;return!(v<0||v>1)}function Vt(t,e,i,a){return t*a-i*e}function Rt(t){return t<=1e-6&&t>=-1e-6}z("circle",h),z("sector",p),z("ring",m),z("polygon",v),z("polyline",g),z("rect",b),z("line",_),z("bezierCurve",y),z("arc",k),e.Z2_EMPHASIS_LIFT=E,e.CACHED_LABEL_STYLE_PROPERTIES=j,e.extendShape=V,e.extendPath=R,e.registerShape=z,e.getShapeClass=F,e.makePath=U,e.makeImage=B,e.mergePath=W,e.resizePath=Y,e.subPixelOptimizeLine=q,e.subPixelOptimizeRect=G,e.subPixelOptimize=K,e.setElementHoverStyle=rt,e.setHoverStyle=ut,e.setAsHighDownDispatcher=ft,e.isHighDownDispatcher=ht,e.getHighlightDigit=pt,e.setLabelStyle=mt,e.modifyLabelStyle=vt,e.setTextStyle=gt,e.setText=bt,e.getFont=St,e.updateProps=Tt,e.initProps=Pt,e.getTransform=It,e.applyTransform=Ot,e.transformDirection=Et,e.groupTransition=jt,e.clipPointsByRect=Dt,e.clipRectByRect=At,e.createIcon=Nt,e.linePolygonIntersect=Lt,e.lineLineIntersect=$t},"230ef":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.open$=void 0;var r=i("c6b3"),o="biz.util.open";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.7.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.open$=a,e.default=a},"233e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.addShortCut$=void 0;var r=i("c6b3"),o="biz.shortCut.addShortCut";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.7.32"},n)),e.addShortCut$=a,e.default=a},"234e":function(t,e,i){},"254a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.encrypt$=void 0;var r=i("c6b3"),o="biz.util.encrypt";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.9.1"},n[r.ENV_ENUM.android]={vs:"2.9.1"},n)),e.encrypt$=a,e.default=a},2683:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getPayUrl$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.getPayUrl";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.android]={vs:"4.3.7",paramsDeal:o.genBizStoreParamsDealFn},n[r.ENV_ENUM.pc]={vs:"4.5.3",paramsDeal:o.genBizStoreParamsDealFn},n)),e.getPayUrl$=a,e.default=a},"26c8":function(t,e,i){"use strict";i("ae15")},"26e1":function(t,e,i){var a=i("6d8b"),n=i("e0d3"),r=a.each,o=a.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function c(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=s.length;i=0||n&&a.indexOf(n,s)<0)){var c=e.getShallow(s);null!=c&&(r[t[o][0]]=c)}}return r}}t.exports=n},"28e7":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.pause$=void 0;var r=i("c6b3"),o="device.audio.pause";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.pause$=a,e.default=a},"297c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.bindMeetingRoom$=void 0;var r=i("c6b3"),o="biz.iot.bindMeetingRoom";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.bindMeetingRoom$=a,e.default=a},2983:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isMobile=void 0;var a=i("8c4c"),n=(0,a.getENV)(),r=function(){return n.platform===a.ENV_ENUM.android},o=function(){return n.platform===a.ENV_ENUM.ios};e.isMobile=o()||r()},"29a8":function(t,e){var i={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.exports=i},"2ab7":function(t,e,i){},"2adc":function(t,e,i){"use strict";function a(t){var e;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/add-members?params=").concat(encodeURIComponent(JSON.stringify(t))),target:"float",title:"提示",wnId:"addMembers",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.addMembers=void 0,i("c526");var n=i("5575");e.addMembers=a},"2b17":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=(n.isTypedArray,n.extend),o=(n.assert,n.each),s=n.isObject,c=i("e0d3"),l=c.getDataItemValue,d=c.isDataItemOption,u=i("3842"),f=u.parseDate,h=i("ec6f"),p=i("93d0"),m=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,g=p.SOURCE_FORMAT_ORIGINAL,b=p.SOURCE_FORMAT_OBJECT_ROWS;function _(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,a=t.sourceFormat;a===m&&(this._offset=0,this._dimSize=e,this._data=i);var n=k[a===v?a+"_"+t.seriesLayoutBy:a];r(this,n)}var y=_.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var k={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:C},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,a=0;a0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var a="radial"===e.type?l:c,n=a(t,e,i),r=e.colorStops,o=0;ou&&(f=f.slice(0,u)),o?f+s:s+f}},"2f45":function(t,e,i){var a=i("6d8b"),n=a.each,r=a.createHashMap,o=(a.assert,i("4e08")),s=(o.__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));function c(t){var e={},i=e.encode={},a=r(),o=[],c=[],d=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};n(t.dimensions,(function(e){var n=t.getDimensionInfo(e),r=n.coordDim;if(r){var f=n.coordDimIndex;l(i,r)[f]=e,n.isExtraCoord||(a.set(r,1),u(n.type)&&(o[0]=e),l(d.encode,r)[f]=n.index),n.defaultTooltip&&c.push(e)}s.each((function(t,e){var a=l(i,e),r=n.otherDims[e];null!=r&&!1!==r&&(a[r]=n.name)}))}));var f=[],h={};a.each((function(t,e){var a=i[e];h[e]=a[0],f=f.concat(a)})),e.dataDimsOnCoord=f,e.encodeFirstDimNotExtra=h;var p=i.label;p&&p.length&&(o=p.slice());var m=i.tooltip;return m&&m.length?c=m.slice():c.length||(c=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=c,e}function l(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function d(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function u(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=c,e.getDimensionTypeByAxis=d},"2f7e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.preview$=void 0;var r=i("c6b3"),o="biz.cspace.preview";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.7.0"},n[r.ENV_ENUM.android]={vs:"2.7.0"},n)),e.preview$=a,e.default=a},"2f98":function(t,e,i){},"2faf":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.create$=void 0;var r=i("c6b3"),o="biz.ding.create";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.1",resultDeal:function(t){return""===t?t={dingCreateResult:!1}:"object"==typeof t&&(t.dingCreateResult=!!t.dingCreateResult),t}},n[r.ENV_ENUM.android]={vs:"3.5.1"},n[r.ENV_ENUM.pc]={vs:"4.5.9"},n)),e.create$=a,e.default=a},3014:function(t,e,i){var a=i("4f85"),n=i("3301"),r=a.extend({type:"series.__base_bar__",getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),a=this.getData(),n=a.getLayout("offset"),r=a.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return i[o]+=n+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=r},3041:function(t,e,i){var a=i("e1fc"),n=i("0da8"),r=i("76a5"),o=i("d9fc"),s=i("c7a2"),c=i("ae69"),l=i("cb11"),d=i("cbe5"),u=i("87b1"),f=i("d498"),h=i("48a9"),p=i("2b61"),m=i("1687"),v=i("342d"),g=v.createFromString,b=i("6d8b"),_=b.isString,y=b.extend,k=b.defaults,x=b.trim,w=b.each,C=/[\s,]+/;function S(t){if(_(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function M(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}M.prototype.parse=function(t,e){e=e||{};var i=S(t);if(!i)throw new Error("Illegal svg");var n=new a;this._root=n;var r=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),c=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(c)&&(c=null),D(i,n,null,!0);var l,d,u=i.firstChild;while(u)this._parseNode(u,n),u=u.nextSibling;if(r){var f=x(r).split(C);f.length>=4&&(l={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(l&&null!=o&&null!=c&&(d=z(l,o,c),!e.ignoreViewBox)){var h=n;n=new a,n.add(h),h.scale=d.scale.slice(),h.position=d.position.slice()}return e.ignoreRootClip||null==o||null==c||n.setClipPath(new s({shape:{x:0,y:0,width:o,height:c}})),{root:n,width:o,height:c,viewBoxRect:l,viewBoxTransform:d}},M.prototype._parseNode=function(t,e){var i,a=t.nodeName.toLowerCase();if("defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine){var n=P[a];if(n){var r=n.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{n=T[a];n&&(i=n.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},M.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(a)}var n=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(e,n),D(t,n,this._defs);var o=n.style.fontSize;o&&o<9&&(n.style.fontSize=9,n.scale=n.scale||[1,1],n.scale[0]*=o/9,n.scale[1]*=o/9);var s=n.getBoundingRect();return this._textX+=s.width,e.add(n),n};var T={g:function(t,e){var i=new a;return O(e,i),D(t,i,this._defs),i},rect:function(t,e){var i=new s;return O(e,i),D(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return O(e,i),D(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new l;return O(e,i),D(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new c;return O(e,i),D(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=E(i));var a=new u({shape:{points:i||[]}});return O(e,a),D(t,a,this._defs),a},polyline:function(t,e){var i=new d;O(e,i),D(t,i,this._defs);var a=t.getAttribute("points");a&&(a=E(a));var n=new f({shape:{points:a||[]}});return n},image:function(t,e){var i=new n;return O(e,i),D(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,n=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(n)+parseFloat(o);var s=new a;return O(e,s),D(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new a;return O(e,s),D(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",a=g(i);return O(e,a),D(t,a,this._defs),a}},P={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),a=parseInt(t.getAttribute("x2")||10,10),n=parseInt(t.getAttribute("y2")||0,10),r=new h(e,i,a,n);return I(t,r),r},radialgradient:function(t){}};function I(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var a=i.getAttribute("offset");a=a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var n=i.getAttribute("stop-color")||"#000000";e.addColorStop(a,n)}i=i.nextSibling}}function O(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function E(t){for(var e=x(t).split(C),i=[],a=0;a0;r-=2){var o=n[r],s=n[r-1];switch(a=a||m.create(),s){case"translate":o=x(o).split(C),m.translate(a,a,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=x(o).split(C),m.scale(a,a,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=x(o).split(C),m.rotate(a,a,parseFloat(o[0]));break;case"skew":o=x(o).split(C),console.warn("Skew transform is not supported yet");break;case"matrix":o=x(o).split(C);a[0]=parseFloat(o[0]),a[1]=parseFloat(o[1]),a[2]=parseFloat(o[2]),a[3]=parseFloat(o[3]),a[4]=parseFloat(o[4]),a[5]=parseFloat(o[5]);break}}e.setLocalTransform(a)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(t){var e=t.getAttribute("style"),i={};if(!e)return i;var a,n={};V.lastIndex=0;while(null!=(a=V.exec(e)))n[a[1]]=a[2];for(var r in j)j.hasOwnProperty(r)&&null!=n[r]&&(i[j[r]]=n[r]);return i}function z(t,e,i){var a=e/t.width,n=i/t.height,r=Math.min(a,n),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function F(t,e){var i=new M;return i.parse(t,e)}e.parseXML=S,e.makeViewBoxTransform=z,e.parseSVG=F},"30a3":function(t,e,i){var a=i("6d8b"),n=i("607d"),r=n.Dispatcher,o=i("98b7"),s=i("06ad"),c=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};c.prototype={constructor:c,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i1&&(d*=o(y),h*=o(y));var k=(n===r?-1:1)*o((d*d*(h*h)-d*d*(_*_)-h*h*(b*b))/(d*d*(_*_)+h*h*(b*b)))||0,x=k*d*_/h,w=k*-h*b/d,C=(t+i)/2+c(g)*x-s(g)*w,S=(e+a)/2+s(g)*x+c(g)*w,M=f([1,0],[(b-x)/d,(_-w)/h]),T=[(b-x)/d,(_-w)/h],P=[(-1*b-x)/d,(-1*_-w)/h],I=f(T,P);u(T,P)<=-1&&(I=l),u(T,P)>=1&&(I=0),0===r&&I>0&&(I-=2*l),1===r&&I<0&&(I+=2*l),v.addData(m,C,S,d,h,M,I,g,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,m=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new n;for(var e,i=0,a=0,r=i,o=a,s=new n,c=n.CMD,l=t.match(p),d=0;d0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n="getnode";return"save"===i&&(n="save"),a["a"].post("project/auth/apply",{action:n,id:t,nodes:e})}function s(t,e){return a["a"].post("project/auth/forbid",{id:t,status:e})}function c(t,e){return a["a"].post("project/auth/resume",{id:t,status:e})}function l(t,e){return a["a"].post("project/auth/setDefault",{id:t,is_default:e})}function d(t){return a["a"].post("project/auth/del",{id:t})}},"37a7":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("calendar")},n=[],r=(i("386d"),i("2ef0")),o=i.n(r),s=i("1b80"),c=(i("7f7f"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"calendar-index",attrs:{id:"calendar-index"}},[e("div",{staticClass:"layout-item left"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"search-content"},[e("a-input",{ref:"keywordInput",attrs:{size:"large",placeholder:"搜索"},on:{pressEnter:t.search},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}},[e("a-icon",{staticClass:"muted",attrs:{slot:"prefix",type:"search"},slot:"prefix"}),t.keyword?e("a-icon",{staticClass:"muted",attrs:{slot:"suffix",type:"close-circle"},on:{click:t.emitEmpty},slot:"suffix"}):t._e()],1)],1),e("div",{staticClass:"content-item muted"},[t._v("成员")]),e("div",{staticClass:"members"},[e("a-checkbox-group",{model:{value:t.memberCodes,callback:function(e){t.memberCodes=e},expression:"memberCodes"}},[e("a-list",{staticClass:"publish-task-list",attrs:{itemLayout:"horizontal",dataSource:t.memberList},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(i.name)+"\n ")]),e("div",{staticStyle:{display:"flex","align-items":"center"},attrs:{slot:"avatar"},slot:"avatar"},[e("a-checkbox",{staticClass:"m-r-sm",attrs:{value:i.memberCode}}),e("a-avatar",{attrs:{src:i.avatar,alt:""}},[t._v(t._s(i.name))])],1)])],1)}}])})],1)],1)])]),e("div",{staticClass:"layout-item right"},[e("div",{staticClass:"calendar-content"},[e("a-calendar",{on:{panelChange:t.onPanelChange},scopedSlots:t._u([{key:"dateCellRender",fn:function(i){return e("ul",{staticClass:"events"},[e("li",{staticClass:"add-item",on:{click:function(e){return e.stopPropagation(),t.rowClick(null,"add",i)}}},[t._v("添加日程")]),t._l(t.list[i.format("YYYY-MM-DD")],(function(a,n){return[n<=3?e("a-popover",{key:a.id,attrs:{className:"calendar-pop",visible:a.visible,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[a.created_by!==t.currentMemberCode?[1==a.myStatus?e("span",{staticClass:"m-l-xs muted text-success"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已接受")],1):t._e(),2==a.myStatus?e("span",{staticClass:"m-l-xs muted text-error"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已拒绝")],1):t._e(),a.waitConfirm?[e("a",{staticClass:"m-l-xs muted",on:{click:function(e){return t.confirmJoinEvents(a,1)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle"}}),t._v("接受")],1),e("a",{staticClass:"m-l muted",on:{click:function(e){return t.confirmJoinEvents(a,2)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"minus-circle"}}),t._v("拒绝")],1)]:t._e()]:[t._v("\n 我组织的\n ")]],2),e("div",{attrs:{slot:"extra"},slot:"extra"},[a.created_by==t.currentMemberCode?[e("a-tooltip",{attrs:{title:"编辑日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(a,"edit")}}},[e("a-icon",{attrs:{type:"edit"}})],1)]),e("a-tooltip",{attrs:{title:"取消日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(a,"del")}}},[e("a-icon",{attrs:{type:"delete"}})],1)])]:t._e(),e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){a.visible=!1}}})],1)])],2),e("div",{staticClass:"calendar-content"},[e("div",[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"profile"}}),t._v(t._s(a.title))],1),e("div",{staticStyle:{display:"flex","line-height":"30px","align-items":"center"}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"clock-circle"}}),e("div",[t._v(t._s(t.moment(a.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v("   -   ")]),e("div",[t._v(t._s(t.moment(a.end_time).format("YYYY年MM月DD日 HH:mm")))])],1),a.position?e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(a.position))],1):t._e(),a.description?[e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"flag"}}),t._v(t._s(a.description))],1)]:t._e(),e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"team"}}),t._l(a.memberList,(function(i){return[e("a-tooltip",{key:i.id,attrs:{title:"".concat(i.memberInfo.name," ").concat(i.is_owner?" · 组织者":i.status?1==i.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-tag",[t._v("\n "+t._s(i.memberInfo.name)+"\n ")])],1)]}))],2)],2)])],1),e("li",[n<=2?e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPop(a)}}},[t._v(t._s(a.title))]):t._e(),3==n?e("a-popover",{key:a.id,staticClass:"calendar-pop",attrs:{visible:a.visibleMore,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.format("YYYY-MM-DD")))]),e("div",{attrs:{slot:"extra"},slot:"extra"},[e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){a.visibleMore=!1,a.visibleInner=!1}}})],1)])],1),e("ul",{staticClass:"events"},[t._l(t.list[i.format("YYYY-MM-DD")],(function(i,r){return[n<=3?e("a-popover",{key:i.id,staticClass:"calendar-pop",attrs:{placement:"left",visible:i.visibleInner,title:"",trigger:"click",getPopupContainer:t.getPopup}},[e("a",{attrs:{slot:"content"},slot:"content"},[e("a-card",{staticClass:"calendar-pop-detail",staticStyle:{width:"350px"},attrs:{size:"small"}},[e("div",{attrs:{slot:"title"},slot:"title"},[a.created_by!==t.currentMemberCode?[1==i.myStatus?e("span",{staticClass:"m-l-xs muted text-success"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已接受")],1):t._e(),2==i.myStatus?e("span",{staticClass:"m-l-xs muted text-error"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle",theme:"filled"}}),t._v("已拒绝")],1):t._e(),i.waitConfirm?[e("a",{staticClass:"m-l-xs muted",on:{click:function(e){return t.confirmJoinEvents(i,1)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"check-circle"}}),t._v("接受")],1),e("a",{staticClass:"m-l muted",on:{click:function(e){return t.confirmJoinEvents(i,2)}}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"minus-circle"}}),t._v("拒绝")],1)]:t._e()]:[t._v("\n 我组织的\n ")]],2),e("div",{attrs:{slot:"extra"},slot:"extra"},[i.created_by==t.currentMemberCode?[e("a-tooltip",{attrs:{title:"编辑日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(i,"edit")}}},[e("a-icon",{attrs:{type:"edit"}})],1)]),e("a-tooltip",{attrs:{title:"取消日程"}},[e("a",{staticClass:"text-default",on:{click:function(e){return t.rowClick(i,"del")}}},[e("a-icon",{attrs:{type:"delete"}})],1)])]:t._e(),e("a-tooltip",{attrs:{title:"关闭面板"}},[e("a",{staticClass:"text-default"},[e("a-icon",{attrs:{type:"close"},on:{click:function(t){i.visibleInner=!1}}})],1)])],2),e("div",{staticClass:"calendar-content"},[e("div",[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"profile"}}),t._v(t._s(i.title))],1),e("div",{staticStyle:{display:"flex","line-height":"30px","align-items":"center"}},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"clock-circle"}}),e("div",[t._v(t._s(t.moment(i.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v("   -   ")]),e("div",[t._v(t._s(t.moment(i.end_time).format("YYYY年MM月DD日 HH:mm")))])],1),i.position?e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(i.position))],1):t._e(),i.description?[e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"flag"}}),t._v(t._s(i.description))],1)]:t._e(),e("div",{staticClass:"line-item"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"team"}}),t._l(i.memberList,(function(i){return[e("a-tooltip",{key:i.id,attrs:{title:"".concat(i.memberInfo.name," ").concat(i.is_owner?" · 组织者":i.status?1==i.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-tag",[t._v("\n "+t._s(i.memberInfo.name)+"\n ")])],1)]}))],2)],2)])],1),e("li",[e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPopInner(i)}}},[t._v(t._s(i.title))])])]):t._e()]}))],2)])],1),3===n?e("div",{on:{click:function(e){return e.stopPropagation(),t.showCalendarPopMore(a)}}},[t._v("还有"+t._s(t.list[i.format("YYYY-MM-DD")].length-3)+"项...")]):t._e()]):t._e()],1)]):t._e()]}))],2)}},{key:"headerRender",fn:function(i){var a=i.value,n=(i.type,i.onChange);i.onTypeChange;return[e("div",{staticClass:"calendar-header"},[e("a-button",{staticClass:"m-r",attrs:{type:"dashed"},on:{click:function(e){return t.changeMonth(0,n)}}},[t._v("今天")]),e("a-button",{staticClass:"m-r",attrs:{shape:"circle"},on:{click:function(e){return t.changeMonth(-1,n)}}},[e("a-icon",{attrs:{type:"left"}})],1),e("span",{staticClass:"m-r",staticStyle:{"font-size":"16px"}},[t._v(t._s(a.format("YYYY年MM月")))]),e("a-button",{attrs:{shape:"circle"},on:{click:function(e){return t.changeMonth(1,n)}}},[e("a-icon",{attrs:{type:"right"}})],1),e("a-button",{staticClass:"m-l",attrs:{type:"primary"},on:{click:function(e){return t.rowClick(null,"add")}}},[t._v("添加日程")])],1)]}}]),model:{value:t.calendarValue,callback:function(e){t.calendarValue=e},expression:"calendarValue"}})],1)]),t.eventsModal?e("events",{attrs:{visible:t.eventsModal,code:t.eventsCode,date:t.eventsDate,"project-code":t.code},on:{"update:visible":function(e){t.eventsModal=e},confirm:t.eventsConfirm}}):t._e()],1)}),l=[],d=(i("8e6e"),i("456d"),i("96cf"),i("1da1")),u=(i("ac6a"),i("7514"),i("ade3")),f=i("1157"),h=i.n(f),p=i("c1df"),m=i.n(p),v=i("b39f"),g=i("2f62"),b=i("c24f"),_=i("2f14"),y=function(){var t=this,e=t._self._c;return e("a-modal",{attrs:{wrapClassName:"events",dialogClass:"vertical-modal",destroyOnClose:"",maskClosable:!1,title:t.actionInfo.modalTitle,confirmLoading:t.submitting},on:{ok:t.handleSubmit},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("a-spin",{attrs:{spinning:t.loading}},[e("a-form-model",{ref:"ruleForm",staticClass:"m-b",attrs:{model:t.formData,rules:t.rules},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"标题",prop:"title"}},[e("a-input",{model:{value:t.formData.title,callback:function(e){t.$set(t.formData,"title",e)},expression:"formData.title"}})],1)],1),e("a-col",{attrs:{span:24}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"开始时间",prop:"begin_time"}},[e("a-date-picker",{staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择开始时间"},model:{value:t.formData.begin_time,callback:function(e){t.$set(t.formData,"begin_time",e)},expression:"formData.begin_time"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"结束时间",prop:"end_time"}},[e("a-date-picker",{staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择结束时间"},model:{value:t.formData.end_time,callback:function(e){t.$set(t.formData,"end_time",e)},expression:"formData.end_time"}})],1)],1)],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"所属项目",prop:"memberList"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{allowClear:"",showSearch:"",disabled:!!t.formData.id,autoClearSearchValue:""},on:{change:t.projectChange},model:{value:t.formData.project_code,callback:function(e){t.$set(t.formData,"project_code",e)},expression:"formData.project_code"}},[t._l(t.projectList,(function(i){return[e("a-select-option",{key:i.code,attrs:{value:i.code}},[t._v("\n "+t._s(i.name)+"\n ")])]}))],2)],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-model-item",{attrs:{label:"日程地点",prop:"position"}},[e("a-input",{model:{value:t.formData.position,callback:function(e){t.$set(t.formData,"position",e)},expression:"formData.position"}})],1)],1),e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"选择成员",prop:"memberList"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{allowClear:"",showSearch:"",autoClearSearchValue:"",maxTagCount:4,optionLabelProp:"label",mode:"multiple"},model:{value:t.formData.member_list,callback:function(e){t.$set(t.formData,"member_list",e)},expression:"formData.member_list"}},[t._l(t.projectMemberList,(function(i){return[e("a-select-option",{key:i.code,attrs:{disabled:!t.canRemove(i.code),value:i.code,label:i.name}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,icon:"user",src:i.avatar}}),t._v("\n "+t._s(i.name)+"\n ")],1)]}))],2)],1)],1),e("a-col",{attrs:{span:24}},[e("a-form-model-item",{attrs:{label:"备注",prop:"description"}},[e("a-textarea",{attrs:{rows:4,placeholder:"填写备注,不超过250字"},model:{value:t.formData.description,callback:function(e){t.$set(t.formData,"description",e)},expression:"formData.description"}})],1)],1)],1)],1)],1)],1)},k=[],x=i("24d2"),w=i("9f5d");function C(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function S(t){for(var e=1;e2&&void 0!==r[2]?r[2]:null,a=this,a.formData.id=0,"add"==i||"edit"==i||"new"==i?(a.formData={id:0,title:void 0,description:void 0,begin_time:null,end_time:null,all_day:!1,project_code:a.$route.params.code,position:void 0,member_list:[a.currentMemberCode]},a.actionInfo.modalTitle="新增日程","edit"==i&&(a.actionInfo.modalTitle="编辑日程",a.formData.id=e.id,n=[],e.memberList.forEach((function(t){n.push(t.member_code)})),e.member_list=n,a.formData=S({},e)),a.actionInfo.modalStatus=!0,a.$nextTick((function(){a.$refs.ruleForm.clearValidate()}))):"del"==i&&a.$confirm({title:"确定要删除?",content:"关联的相关信息将会同时被删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){Object(v["b"])({eventsCode:e.code}).then((function(t){Object(_["a"])(t,!0)&&a.init(!0)}))}});case 4:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),canRemove:function(t){if(console.log(this.formData.memberList),this.formData.memberList){var e=this.formData.memberList.find((function(e){return e.member_code==t}));return!e||!e.is_owner}return t!==this.currentMemberCode}}},T=M,P=i("2877"),I=Object(P["a"])(T,y,k,!1,null,null,null),O=I.exports;function E(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function j(t){for(var e=1;e5},versionTaskSchedule:function(){return!!this.versionTaskList.length&&this.versionTaskDoneNum/this.versionTaskList.length*100},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.changeModalHeight(),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment()}},filters:{formatLogTime:function(t){return Object(d["c"])(t)}},methods:{init:function(){this.loading=!0,this.getVersion(),this.getVersionTask()},detailClose:function(){this.$emit("close",this.version)},getVersion:function(){var t=this;y({versionCode:this.code}).then((function(e){t.getVersionLog(),t.version=e.data,t.versionName=e.data.name,t.version.start_time?(t.version.setStartTime=!0,t.version.start_time=o()(t.version.start_time)):(t.version.setStartTime=!1,t.version.start_time=o()(o()().format("YYYY-MM-DD")+" 18:00")),t.version.start_time_format=Object(d["b"])(t.version.start_time,!0),t.version.plan_publish_time?(t.version.setPlanPublishTime=!0,t.version.plan_publish_time=o()(t.version.plan_publish_time)):(t.version.setPlanPublishTime=!1,t.version.plan_publish_time=o()(o()().format("YYYY-MM-DD")+" 18:00")),t.version.plan_publish_time_format=Object(d["b"])(t.version.plan_publish_time,!0),t.loading=!1}))},getVersionTask:function(){var t=this;b({versionCode:this.code}).then((function(e){t.versionTaskList=e.data}))},getVersionLog:function(){var t=this;_({versionCode:this.code,all:this.showMoreVersionLog,pageSize:5}).then((function(e){t.versionLog=e.data.list,t.versionLogTotal=e.data.total,e.data.total>5&&(t.hasMoreVersionLog=!0)}))},getMoreVersionLog:function(){this.showMoreVersionLog=1,this.hideShowMore=!0,this.getVersionLog()},getTaskStages:function(){var t=this;if(this.disableEdit)return!1;this.publishTask.modalStatus=!0,this.publishTask.loading=!0,Object(A["d"])({projectCode:this.version.projectCode,pageSize:30}).then((function(e){t.publishTask.taskStages=e.data.list,t.publishTask.taskStages&&t.publishTask.taskStages.forEach((function(t){Object(A["h"])({stageCode:t.code}).then((function(e){t.tasksLoading=!1,t.tasks=e.data}))})),t.changeModalHeight(),t.publishTask.loading=!1}))},showTaskDetail:function(t){this.showTaskDetailModal=!0,this.taskCode=t.code},taskDetailClose:function(){this.init(),this.showTaskDetailModal=!1,this.taskCode=""},doVersion:function(t){var e=this,i=t.key;switch(i){case"delete":this.$confirm({title:"删除版本",content:"删除版本后,发布内容的版本字段将被清空,是否确定删除?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return M({versionCode:e.code}).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.detailClose()})),Promise.resolve()}});break}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return M(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},changeVersionStatus:function(t){var e=this,i=this;if(t.key==this.version.code||3==this.version.status)return!1;3==t.key?this.$confirm({title:"发布提示",content:"请确认当前版本发布内容已全部完成后再发布。",okText:"确认发布",okType:"primary",onOk:function(){return i.publishVersion.status=t.key,i.publishVersion.modalStatus=!0,i.$nextTick((function(){i.publishVersionForm.setFieldsValue({publishTime:o()()})})),Promise.resolve()}}):S({versionCode:this.version.code,status:t.key}).then((function(t){e.getVersion()}))},handleSubmitPublishVersion:function(){var t=this,e=this;e.publishVersionForm.validateFields((function(i){if(!i){var a=e.publishVersionForm.getFieldsValue();a.publishTime=o()(a.publishTime).format("YYYY-MM-DD HH:mm"),S({versionCode:t.code,status:t.publishVersion.status,publishTime:a.publishTime}).then((function(t){e.publishVersion.modalStatus=!1,e.getVersion()}))}}))},doStartTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.version.setStartTime=t,this.showStartTime=e;var i="";t?(i=o()(this.version.start_time).format("YYYY-MM-DD HH:mm"),this.version.start_time_format=o()(this.version.start_time).format("MM月DD日 HH:mm")):i="",this.editVersion({start_time:i})},doPlanPublishTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.version.setPlanPublishTime=t,this.showPlanPublishTime=e;var i="";t?(i=o()(this.version.plan_publish_time).format("YYYY-MM-DD HH:mm"),this.version.plan_publish_time_format=o()(this.version.plan_publish_time).format("MM月DD日 HH:mm")):i="",this.editVersion({plan_publish_time:i})},doName:function(){if(this.showEditName=!1,!this.version.name.trim()||this.version.name==this.versionName)return this.version.name=this.versionName,!1;this.editVersion({name:this.version.name})},editVersion:function(t){var e=this;t.versionCode=this.code,x(t).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.getVersion()}))},showVersionDesc:function(){if(this.disableEdit)return!1;this.showVersionDescriptionEdit=!0},doContent:function(){var t=this.version.description;this.editVersion({description:t}),this.showVersionDescriptionEdit=!1},addVersionTask:function(){var t=this;w({taskCodeList:JSON.stringify(this.publishTask.selectTaskList),versionCode:this.code}).then((function(e){Object(N["b"])({title:"成功添加 ".concat(e.data.successTotal," 项发布内容到版本")},"notice","success"),t.publishTask.modalStatus=!1,t.publishTask.selectTaskList=[],t.init()}))},removeVersionTask:function(t){var e=this;this.$confirm({title:"移除发布内容",content:"确定移除这个发布内容?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return C({taskCode:t.code}).then((function(t){var i=Object(l["a"])(t);if(!i)return!1;e.init()})),Promise.resolve()}})},changeModalHeight:function(){var t=this.width,e=j()(window).width()-100,i=j()(window).height()-150,a=j()(window).height()-200,n=j()(window).height()-255;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(j()(".task-detail-modal").css("width",j()(window).width()),j()(".version-detail").css("width",j()(window).width()),j()(".ant-modal").css("top",0),i+=85,a+=85,j()(".content-left").css("height",i+"px"),j()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),j()(".version-detail").css("width",e),j()(".content-left").css("height",i+"px"),j()(".log-wrap").css("height",a+"px"),j()(".publish-task").css("height",n+"px"))}}},R=V,z=(i("6a5b"),i("2877")),F=Object(z["a"])(R,T,P,!1,null,null,null),U=F.exports,B=i("f8c7"),H={name:"project-space-features",components:{versionDetail:U,projectSelect:B["a"]},mixins:[u["a"]],data:function(){return{code:this.$route.params.code,project:{task_board_theme:"simple"},loading:!0,form:this.$form.createForm(this),projectVersionForm:this.$form.createForm(this),publishVersionForm:this.$form.createForm(this),projectFeaturesList:[],currentProjectFeatures:null,currentProjectVersion:null,versionTotal:1,versionList:{normal:[],published:[]},showPublished:!1,projectFeatures:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑版本库",info:null},projectVersion:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑版本",info:null},publishVersion:{modalStatus:!1,confirmLoading:!1,info:null,status:-1},versionDetail:{modalStatus:!1,code:""}}},created:function(){this.getProject(),this.init()},methods:{init:function(){this.getProjectFeaturesList()},getProject:function(){var t=this;this.loading=!0,Object(s["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data}))},getProjectFeaturesList:function(){var t=this;h({projectCode:this.code}).then((function(e){t.projectFeaturesList=e.data,e.data.length&&!t.currentProjectFeature&&(t.currentProjectFeatures=e.data[0],t.getProjectVersionList())}))},getProjectVersionList:function(){var t=this;t.loading=!0,g({projectFeaturesCode:this.currentProjectFeatures.code}).then((function(e){var i=0,a=[],n=[];e.data.forEach((function(t){i++,3==t.status?n.push(t):a.push(t)})),t.versionTotal=i,t.versionList.normal=a,t.versionList.published=n,t.loading=!1}))},createFeatures:function(){var t=this;t.projectFeatures.modalStatus=!0,t.projectFeatures.info=null,t.projectFeatures.modalTitle="创建版本库"},editFeatures:function(t){var e=this;e.projectFeatures.modalStatus=!0,e.projectFeatures.modalTitle="编辑版本库",e.projectFeatures.info=t,this.$nextTick((function(){e.form.setFieldsValue({name:t.name,description:t.description})}))},deleteFeatures:function(t){var e=this;this.$confirm({title:"删除版本库",content:"若将『".concat(t["name"],"』 删除,所有与版本库相关的信息将会被彻底删除,删除后不可恢复。"),okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return v({featuresCode:t.code}).then((function(i){var a=Object(l["a"])(i);if(!a)return!1;e.currentProjectFeatures.code==t.code&&(e.currentProjectFeatures=null),e.init()})),Promise.resolve()}})},createVersion:function(){var t=this;t.projectVersion.modalStatus=!0,t.projectVersion.info=null,t.projectVersion.modalTitle="创建版本"},changeVersionStatus:function(t,e,i,a){var n=this,r=this;if(t.key==i.code)return!1;3==t.key?this.$confirm({title:"发布提示",content:"请确认当前版本发布内容已全部完成后再发布。",okText:"确认发布",okType:"primary",onOk:function(){return r.publishVersion.info=i,r.publishVersion.status=t.key,r.publishVersion.modalStatus=!0,r.$nextTick((function(){r.publishVersionForm.setFieldsValue({publishTime:o()()})})),Promise.resolve()}}):S({versionCode:i.code,status:t.key}).then((function(t){n.getProjectVersionList()}))},showVersionDetail:function(t){this.versionDetail.modalStatus=!0,this.versionDetail.code=t},versionDetailClose:function(){this.versionDetail.modalStatus=!1,this.versionDetail.code="",this.getProjectVersionList()},handleSubmitPublishVersion:function(){var t=this,e=this;e.publishVersionForm.validateFields((function(i){if(!i){var a=e.publishVersionForm.getFieldsValue();a.publishTime=o()(a.publishTime).format("YYYY-MM-DD HH:mm"),S({versionCode:t.publishVersion.info.code,status:t.publishVersion.status,publishTime:a.publishTime}).then((function(t){e.publishVersion.modalStatus=!1,e.getProjectVersionList()}))}}))},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this,e=this;e.projectFeatures.confirmLoading=!0;var i=e.form.getFieldsValue();i.projectCode=this.code,e.projectFeatures.info?(i.featuresCode=e.projectFeatures.info.code,m(i).then((function(i){e.projectFeatures.confirmLoading=!1,Object(l["a"])(i)&&(e.form.resetFields(),t.getProjectFeaturesList(),e.projectFeatures.modalStatus=!1)}))):p(i).then((function(t){e.projectFeatures.confirmLoading=!1,Object(l["a"])(t)&&(e.form.resetFields(),e.projectFeatures.modalStatus=!1,e.init())}))},handleSubmitProjectVersion:function(){var t=this;t.projectVersionForm.validateFields((function(e){e||t.handleOkProjectVersion()}))},handleOkProjectVersion:function(){var t=this;t.projectVersion.confirmLoading=!0;var e=t.projectVersionForm.getFieldsValue();e.featuresCode=this.currentProjectFeatures.code,e.startTime=o()(e.startTime).format("YYYY-MM-DD HH:mm"),e.planPublishTime=o()(e.planPublishTime).format("YYYY-MM-DD HH:mm"),k(e).then((function(e){t.projectVersion.confirmLoading=!1,Object(l["a"])(e)&&(t.projectVersionForm.resetFields(),t.projectVersion.modalStatus=!1,t.getProjectVersionList())}))},changeProjectFeatures:function(t){this.currentProjectFeatures=this.projectFeaturesList.find((function(e){return e.code==t.key})),this.getProjectVersionList()},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(c["a"])(this.project.code,e).then((function(e){Object(l["a"])(e)&&(t.project.collected=!t.project.collected)}))},formatTime:function(t){return Object(d["c"])(t)}}},W=H,Y=(i("88e5"),Object(z["a"])(W,a,n,!1,null,null,null));e["default"]=Y.exports},3842:function(t,e,i){var a=i("6d8b"),n=1e-4;function r(t){return t.replace(/^\s+|\s+$/g,"")}function o(t,e,i,a){var n=e[1]-e[0],r=i[1]-i[0];if(0===n)return 0===r?i[0]:(i[0]+i[1])/2;if(a)if(n>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/n*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function c(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function d(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function u(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var a=+e.slice(i+1);return a<0?-a:0}var n=e.indexOf(".");return n<0?0:e.length-1-n}function f(t,e){var i=Math.log,a=Math.LN10,n=Math.floor(i(t[1]-t[0])/a),r=Math.round(i(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+r,0),20);return isFinite(o)?o:20}function h(t,e,i){if(!t[e])return 0;var n=a.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return 0;var r=Math.pow(10,i),o=a.map(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),s=100*r,c=a.map(o,(function(t){return Math.floor(t)})),l=a.reduce(c,(function(t,e){return t+e}),0),d=a.map(o,(function(t,e){return t-c[e]}));while(lu&&(u=d[h],f=h);++c[f],d[f]=0,++l}return c[e]/r}var p=9007199254740991;function m(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-n&&t=10&&e++,e}function k(t,e){var i,a=y(t),n=Math.pow(10,a),r=t/n;return i=e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10,t=i*n,a>=-20?+t.toFixed(a<0?-a:0):t}function x(t,e){var i=(t.length-1)*e+1,a=Math.floor(i),n=+t[a-1],r=i-a;return r?n+r*(t[a]-n):n}function w(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,a=0;a=0}e.linearMap=o,e.parsePercent=s,e.round=c,e.asc=l,e.getPrecision=d,e.getPrecisionSafe=u,e.getPixelPrecision=f,e.getPercentWithPrecision=h,e.MAX_SAFE_INTEGER=p,e.remRadian=m,e.isRadianAroundZero=v,e.parseDate=b,e.quantity=_,e.quantityExponent=y,e.nice=k,e.quantile=x,e.reformIntervals=w,e.isNumeric=C},"387a":function(t,e,i){},3885:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-overview",class:t.project.task_board_theme},[e("div",{staticClass:"project-navigation"},[e("div",{staticClass:"project-nav-header"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/home"}},[e("a-icon",{attrs:{type:"home"}}),t._v("\n 首页\n ")],1)],1),e("a-breadcrumb-item",[e("project-select",{staticClass:"nav-title",staticStyle:{display:"inline-block"},attrs:{code:t.code}}),e("span",{staticClass:"actions"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:t.project.collected?"取消收藏":"加入收藏"},on:{click:t.collectProject}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.project.collected,expression:"!project.collected"}],staticStyle:{color:"grey"},attrs:{type:"star",theme:"filled"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.project.collected,expression:"project.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1),0===t.project.private?e("span",{staticClass:"label label-normal"},[e("a-icon",{attrs:{type:"global"}}),t._v(" 公开")],1):t._e()],1)],1)],1),e("section",{staticClass:"nav-body"},[e("ul",{staticClass:"nav-wrapper nav nav-underscore pull-left"},[e("li",[e("a",{staticClass:"app",attrs:{"data-app":"tasks"},on:{click:function(e){return t.$router.push("/project/space/task/"+t.code)}}},[t._v("任务")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"works"},on:{click:function(e){return t.$router.push("/project/space/files/"+t.code)}}},[t._v("\n 文件")])]),e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/overview/"+t.code)}}},[t._v("\n 概览")])]),e("li",[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/copy/"+t.code)}}},[t._v("\n 抄送")])])])])]),e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{staticClass:"overview-item m-b"},[e("div",{staticClass:"content-item"},[e("h3",{staticClass:"m-sm m-b text-center"},[t._v("任务燃尽图")]),e("a-spin",{attrs:{spinning:t.burnoutMap.loading}},[t.burnoutMap.loading?t._e():e("ve-line",{attrs:{data:t.burnoutMap.chartData,settings:t.burnoutMap.chartSettings,extend:t.burnoutMap.chartExtend,series:t.burnoutMap.series,"legend-visible":!1,height:"200px"}})],1)],1)]),e("div",{staticClass:"overview-item"},[e("div",{staticClass:"content-left"},[e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"title"},[t._v("\n 项目信息\n "),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("添加信息")])]),e("a",{staticClass:"pull-right muted",on:{click:function(e){return t.createInfo()}}},[e("a-icon",{attrs:{type:"plus-circle"}})],1)],2)],1),e("div",{staticClass:"list-content"},[e("a-list",t._l(t.projectInfoList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.description?i.description:"暂无描述"))])]),e("span",[t._v(t._s(i.name)+" ")])],2)],1),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(i.value)+"\n ")])]),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.editInfo(i)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"编辑"}},[e("a-icon",{attrs:{type:"edit"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.delInfo(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"删除"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1)],1)})),1)],1)]),e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"title"},[t._v("\n 项目动态\n ")]),e("div",{staticClass:"list-content"},[e("a-list",[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多动态")])],1):t._e(),t._l(t.activities,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.member_avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.member_name)+" ")]),0==i.is_comment?e("span",[e("span",{domProps:{innerHTML:t._s(i.remark)}})]):t._e(),t._v(" \n "),1==i.is_comment?[t._v("发布了审核流程\n "),e("p",{staticClass:"comment-text"},[t._v(t._s(i.content))])]:t._e(),e("span",{staticClass:"right-item muted"},[t._v(" "+t._s(t.formatTime(i.create_time))+"\n ")])],2),e("div",{attrs:{slot:"description"},slot:"description"},["task"==i.action_type?[e("router-link",{staticClass:"muted",attrs:{to:"/project/space/task/".concat(i.project_code,"/detail/").concat(i.source_code)}},[t._v("\n "+t._s(i.sourceInfo.name)+"\n ")])]:t._e(),"project"==i.action_type?[e("span",{domProps:{innerHTML:t._s(i.content)}})]:t._e()],2)],1)],1)}))],2)],1)])]),e("div",{staticClass:"content-right"},[e("div",{staticClass:"content-item"},[e("div",{staticClass:"list-content"},[e("div",{staticClass:"default-list"},[e("a-list",t._l([t.project],(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.cover},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.name))])]),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(i.owner_name)+" 创建于\n "+t._s(t.moment(i.create_time).format("YYYY年MM月DD日"))+"\n ")])],1)],1)})),1)],1)]),e("p",{},[t._v(t._s(t.project.description))]),e("div",{staticClass:"project-date m-b-lg m-t-lg"},[e("div",{staticClass:"muted m-b-xs"},[e("a-tag",{attrs:{color:"green"}},[t._v("项目周期")])],1),e("a-range-picker",{attrs:{format:"YYYY年MM月DD日"},on:{change:t.ondateChange},model:{value:t.projectDate,callback:function(e){t.projectDate=e},expression:"projectDate"}})],1),e("div",{staticClass:"project-stats m-b-lg"},[e("div",{staticClass:"muted m-b-xs"},[e("a-tag",{attrs:{color:"green"}},[t._v("项目统计")])],1),e("div",{staticClass:"stats-content"},t._l(t.projectStats,(function(i,a){return e("div",{key:a,staticClass:"stats-item"},[e("div",{staticClass:"stats-title muted"},[t._v(t._s(i.title))]),e("div",{staticClass:"stats-number"},[t._v(t._s(i.number))]),e("a-tooltip",{attrs:{placement:"right",mouseEnterDelay:.3,title:"".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeColor:"#1890ff",strokeWidth:3,showInfo:!1,percent:i.schedule}})],1)],1)})),0)]),e("div",[e("div",{staticClass:"muted"},[e("a-tag",{attrs:{color:"green"}},[t._v("新增任务趋势")])],1),e("ve-line",{attrs:{data:t.chartData,settings:t.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"200px"}})],1)])])])]),e("a-modal",{staticClass:"project-info",attrs:{width:400,title:t.infoModal.modalTitle,confirmLoading:t.infoModal.loading},on:{ok:t.handleSubmit},model:{value:t.infoModal.modalStatus,callback:function(e){t.$set(t.infoModal,"modalStatus",e)},expression:"infoModal.modalStatus"}},[e("a-form",{attrs:{form:t.infoModal.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入名称' }]}\n ]"}],attrs:{placeholder:"名称"}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["value"],expression:"['value']"}],attrs:{placeholder:"内容",rows:2}})],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"描述",rows:2}})],1),e("a-form-item")],1)],1)],1)},n=[],r=(i("ac6a"),i("c1df")),o=i.n(r),s=i("c3da"),c=i.n(s),l=i("24d2"),d=i("22b6");function u(t){return d["a"].post("project/project_info",t)}function f(t){var e="project/project_info/save";return t.infoCode&&(e="project/project_info/edit"),d["a"].post(e,t)}function h(t){return d["a"].post("project/project_info/delete",t)}var p=i("4200"),m=i("2f14"),v=i("b199"),g=i("81fe"),b=i("1b80"),_=i("f8c7"),y={name:"project-space-overview",components:{VeLine:c.a,projectSelect:_["a"]},mixins:[b["a"]],data:function(){return{code:this.$route.params.code,loading:!0,project:{task_board_theme:"simple"},projectDate:[],activities:[],projectInfoList:[],showLoadingMore:!1,loadingMore:!1,infoModal:{form:this.$form.createForm(this),newData:{code:""},loading:!1,modalStatus:!1,modalTitle:"项目信息"},burnoutMap:{loading:!0,chartData:{columns:["日期","实际剩余任务","理想剩余任务"],rows:[]},series:[{type:"line",name:"实际剩余任务",smooth:!1,color:"#1890ff",data:[]},{type:"line",name:"理想剩余任务",color:"#52C41A",smooth:!1,lineStyle:{type:"dashed"},data:[]}],chartSettings:{},chartExtend:{grid:{left:"5",right:"20",top:"10",bottom:"0"},xAxis:{show:!0,splitLine:{show:!1}},yAxis:{show:!0,splitLine:{show:!0,lineStyle:{type:"dashed",color:["#e4e4e4"]}}},tooltip:{backgroundColor:"#fff",textStyle:{color:"#333"},borderWidth:1,borderColor:"#e8e8e8"},axisPointer:{lineStyle:{width:0}}}},chartData:{columns:["日期","任务"],rows:[]},chartSettings:{area:!0,itemStyle:{color:"#1890ff"},areaStyle:{color:"#e6f7ff"}},chartExtend:{grid:{left:"-20",right:"0",top:"10",bottom:"0"},xAxis:{show:!1},yAxis:{show:!1},tooltip:{backgroundColor:"#fff",textStyle:{color:"#333"},borderWidth:1,borderColor:"#e8e8e8"},axisPointer:{lineStyle:{width:0}}},projectStats:[{title:"未完成",key:"unDone",number:0,schedule:0},{title:"已完成",key:"done",number:0,schedule:0},{title:"已逾期",key:"overdue",number:0,schedule:0},{title:"待认领",key:"toBeAssign",number:0,schedule:0},{title:"今日到期",key:"expireToday",number:0,schedule:0},{title:"逾期完成",key:"doneOverdue",number:0,schedule:0}]}},created:function(){this.getProject(),this.init()},methods:{moment:o.a,init:function(){this.getProjectInfoList(),this.getProjectLog(),this.overviewForProject(),this.getProjectStats(),this.getProjectReport()},getProject:function(){var t=this;this.loading=!0,Object(l["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data,t.project.begin_time&&(t.projectDate=[o()(t.project.begin_time),o()(t.project.end_time)])}))},getProjectReport:function(){var t=this;Object(l["a"])({projectCode:this.code}).then((function(e){var i=[];e.data.date.forEach((function(t){i.push({"日期":t})})),t.burnoutMap.loading=!1,t.burnoutMap.chartData.rows=i,t.burnoutMap.series[0].data=e.data.undoneTask,t.burnoutMap.series[1].data=e.data.baseLineList}))},getProjectLog:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(e.pagination.page=1,e.pagination.pageSize=20,e.showLoadingMore=!1),this.requestData.projectCode=this.code,Object(v["k"])(this.requestData).then((function(i){var a=[];i.data.list.forEach((function(t){a.push(t)})),t&&(e.activities=[]),e.activities=e.activities.concat(a),e.pagination.total=i.data.total,e.showLoadingMore=e.pagination.total>e.activities.length,e.loading=!1,e.loadingMore=!1}))},getProjectInfoList:function(){var t=this;u({projectCode:t.code}).then((function(e){t.projectInfoList=e.data}))},getProjectStats:function(){var t=this;Object(l["b"])({projectCode:this.code}).then((function(e){var i=e.data,a=i["total"];t.projectStats.forEach((function(t,e){t.number=i[t.key],a&&(t.schedule=parseInt(t.number/a*100))}))}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getProjectLog(!1)},overviewForProject:function(){var t=this;Object(v["e"])({projectCode:this.code}).then((function(e){var i=[];e.data.forEach((function(t){i.push({"日期":o()(t.date).format("M月D日"),"任务":t.total})})),t.chartData.rows=i}))},createInfo:function(){var t=this;t.infoModal.newData={code:""},setTimeout((function(){t.infoModal.form&&t.infoModal.form.resetFields()}),0),t.infoModal.modalStatus=!0,t.infoModal.modalTitle="添加字段"},editInfo:function(t){var e=this;e.infoModal.newData=t,e.infoModal.modalStatus=!0,setTimeout((function(){e.infoModal.modalTitle="编辑字段",e.infoModal.form.setFieldsValue({name:t.name,value:t.value,description:t.description})}),0)},delInfo:function(t,e){var i=this;i.$confirm({title:"确定删除当前字段吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return h({infoCode:t.code}).then((function(){i.projectInfoList.splice(e,1)})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.infoModal.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.infoModal.loading=!0;var e=t.infoModal.form.getFieldsValue();t.infoModal.newData.code?e.infoCode=t.infoModal.newData.code:Object.assign(e,t.infoModal.newData),e.projectCode=t.code,console.log(e),f(e).then((function(e){t.infoModal.loading=!1,Object(m["a"])(e)&&(t.infoModal.form.resetFields(),t.infoModal.newData={code:0},t.infoModal.modalStatus=!1,t.getProjectInfoList())}))},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(p["a"])(this.project.code,e).then((function(e){Object(m["a"])(e)&&(t.project.collected=!t.project.collected)}))},ondateChange:function(t){console.log(t);var e=this.project;Object(l["e"])({projectCode:e.code,begin_time:t.length?t[0].format("YYYY-MM-DD"):"",end_time:t.length?t[1].format("YYYY-MM-DD"):""})},formatTime:function(t){return Object(g["c"])(t)}}},k=y,x=(i("b929"),i("2877")),w=Object(x["a"])(k,a,n,!1,null,null,null);e["default"]=w.exports},"38a2":function(t,e,i){var a=i("2b17"),n=a.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,c=i("e0d3"),l=c.getTooltipRenderMode,d=/\{@(.+?)\}/g,u={getDataParams:function(t,e){var i=this.getData(e),a=this.getRawValue(t,e),n=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),c=i.getItemVisual(t,"color"),d=i.getItemVisual(t,"borderColor"),u=this.ecModel.getComponent("tooltip"),f=u&&u.get("renderMode"),h=l(f),p=this.mainType,m="series"===p,v=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:m?this.subType:null,seriesIndex:this.seriesIndex,seriesId:m?this.id:null,seriesName:m?this.name:null,name:r,dataIndex:n,data:s,dataType:e,value:a,color:c,borderColor:d,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:o({color:c,renderMode:h}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,a,r){e=e||"normal";var o=this.getData(i),c=o.getItemModel(t),l=this.getDataParams(t,i);null!=a&&l.value instanceof Array&&(l.value=l.value[a]);var u=c.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof u)return l.status=e,l.dimensionIndex=a,u(l);if("string"===typeof u){var f=s(u,l);return f.replace(d,(function(e,i){var a=i.length;return"["===i.charAt(0)&&"]"===i.charAt(a-1)&&(i=+i.slice(1,a-1)),n(o,t,i)}))}},getRawValue:function(t,e){return n(this.getData(e),t)},formatTooltip:function(){}};t.exports=u},"38fdf":function(t,e,i){},3901:function(t,e,i){var a=i("282b"),n=a([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=n(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),a=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[a,a]:[i,i])}};t.exports=r},"392f":function(t,e,i){var a=i("6d8b"),n=a.inherits,r=i("19eb"),o=i("9850");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0){var e=t.date[0].format("YYYY-MM-DD"),i=t.date[1].format("YYYY-MM-DD");t.date=e+"~"+i}Object.assign(this.requestData,t),this.init()}}},d=l,u=i("2877"),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"3af1":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-archive-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource,locale:{emptyText:""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recoveryArchive",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"移至回收站"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("router-link",{attrs:{slot:"title",to:"/project/space/task/"+i.code},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("移动日期")]),e("span",[t._v(t._s(t.moment(i.archive_time).format("YYYY-MM-DD")))])])])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1)],1)},n=[],r=i("24d2"),o=(i("2f14"),i("1b80")),s=i("c1df"),c=i.n(s),l={mixins:[o["a"]],data:function(){return{dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectId:0,newData:{id:0}}},created:function(){this.init()},methods:{moment:c.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=1e3,this.showLoadingMore=!1),this.requestData.archive=1,this.requestData.type="other",e.loading=!0,Object(r["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectId=t.id,this.showInviteMember=!0},doAction:function(t,e,i){this.currentProject=t;var a=this;a.newData={id:0},"recoveryArchive"==e?this.$confirm({title:"取消归档项目?",content:"取消归档「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"取消归档",okType:"primary",cancelText:"再想想",onOk:function(){return Object(r["j"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}}):"del"==e&&this.$confirm({title:"确定放入回收站?",content:"一旦将项目「".concat(this.currentProject.name,"」放入回收站,所有与项目有关的信息将会被放入回收站"),okText:"放入回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(r["k"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})}}},d=l,u=(i("6105"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},"3b97":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.closePreviewImage$=void 0;var r=i("c6b3"),o="biz.util.closePreviewImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.19"},n[r.ENV_ENUM.android]={vs:"6.0.17"},n)),e.closePreviewImage$=a,e.default=a},"3bba":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getWatermarkInfo$=void 0;var r=i("c6b3"),o="biz.watermarkCamera.getWatermarkInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.25"},n[r.ENV_ENUM.android]={vs:"6.5.25"},n)),e.getWatermarkInfo$=a,e.default=a},"3bea":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-list-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-tabs",{attrs:{animated:!1},on:{change:t.selectChange},model:{value:t.selectBy,callback:function(e){t.selectBy=e},expression:"selectBy"}},[e("a-tab-pane",{key:"my",attrs:{tab:"全部项目"}}),e("a-tab-pane",{key:"collect",attrs:{tab:"我的收藏"}}),e("a-tab-pane",{key:"archive",attrs:{tab:"已归档"}}),e("a-tab-pane",{key:"deleted",attrs:{tab:"回收站"}}),e("a-button",{attrs:{slot:"tabBarExtraContent",type:"primary",icon:"plus"},on:{click:function(e){return t.doAction(null,"new")}},slot:"tabBarExtraContent"},[t._v("创建新项目")])],1),e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("a-list-item-meta",{attrs:{description:i.description}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("router-link",{attrs:{to:"/project/space/task/"+i.code}},[t._v(t._s(i.name))]),e("a-tag",{directives:[{name:"show",rawName:"v-show",value:!i.private,expression:"!item.private"}],staticClass:"m-l",attrs:{color:"green"}},[t._v("公开")])],1),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"ant-list-item-content"},[e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("创建日期")]),e("span",[t._v(t._s(t.moment(i.create_time).format("YYYY-MM-DD")))])]),e("div",{staticClass:"info-item"},[e("span",[t._v("创建人")]),e("span",[t._v(t._s(i.owner_name))])]),e("div",{staticClass:"info-item schedule"},[e("span",[t._v("进度")]),e("a-progress",{attrs:{strokeWidth:5,percent:i.schedule}})],1)])]),"my"===t.selectBy||"collect"===t.selectBy?[e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.inviteProjectMember(i)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"添加成员"}},[e("a-icon",{attrs:{type:"user-add"}})],1)],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"edit",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"项目设置"}},[e("a-icon",{attrs:{type:"setting"}})],1)],1),e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:i.collected?"取消收藏":"加入收藏"},on:{click:function(e){return t.doAction(i,"collect",a)}}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!i.collected,expression:"!item.collected"}],attrs:{type:"star"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.collected,expression:"item.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1)]:t._e(),"archive"===t.selectBy?[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recoveryArchive",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1)]:t._e(),"archive"===t.selectBy||"my"===t.selectBy||"collect"===t.selectBy?[e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.doAction(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"移至回收站"}},[e("a-icon",{attrs:{type:"delete"}})],1)],1)]:t._e(),"deleted"===t.selectBy?[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recovery",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1)]:t._e()],2)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1),e("a-modal",{attrs:{destroyOnClose:"",width:360,title:t.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入项目名称"}]}],expression:"[\n 'name',\n {rules: [{ required: true, message: '请输入项目名称' }]}\n ]"}],attrs:{placeholder:"项目名称(必填)"}})],1),e("a-form-item",[e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["templateCode"],expression:"[\n 'templateCode',\n ]"}],attrs:{placeholder:"项目模板"}},[e("a-select-option",{key:0},[t._v("\n 空白项目\n ")]),t._l(t.templateList,(function(i){return e("a-select-option",{key:i.code},[t._v("\n "+t._s(i.name)+"\n ")])}))],2)],1),e("a-form-item",[e("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"项目简介",rows:2}})],1),e("a-form-item",[e("div",{staticClass:"action-btn"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("完成并创建\n ")])],1)])],1)],1),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.currentProjectCode},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1,t.init(!0)}}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.currentProjectCode},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[],r=(i("386d"),i("d3a1")),o=i("58bf"),s=i("24d2"),c=i("2f14"),l=i("1b80"),d=i("c1df"),u=i.n(d),f=i("4200"),h=i("6649"),p={components:{inviteProjectMember:r["a"],projectConfig:o["a"]},mixins:[l["a"]],data:function(){return{selectBy:this.$route.params.type||"my",dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectCode:0,currentProjectIndex:0,newData:{code:""},form:this.$form.createForm(this),searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑项目"},projectModal:{modalStatus:!1,modalTitle:"项目设置"},templateList:[]}},watch:{$route:function(){this.selectBy=this.$route.params.type||"my",this.init()}},created:function(){this.init(),this.projectTemplates()},methods:{moment:u.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=100,this.showLoadingMore=!1),this.requestData.selectBy=this.selectBy,e.loading=!0,Object(s["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},projectTemplates:function(){var t=this;Object(h["c"])({pageSize:100,viewType:-1}).then((function(e){t.templateList=e.data.list}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectCode=t.code,this.showInviteMember=!0},doAction:function(t,e,i){var a=this;this.currentProject=t,this.currentProjectIndex=i;var n=this;if(n.newData={id:0},"new"==e)setTimeout((function(){n.form&&n.form.resetFields()}),0),n.actionInfo.modalStatus=!0,n.actionInfo.modalTitle="创建项目";else if("edit"==e)n.currentProjectCode=t.code,n.projectModal.modalStatus=!0;else if("del"==e)this.$confirm({title:"确定放入回收站?",content:"一旦将项目「".concat(this.currentProject.name,"」放入回收站,所有与项目有关的信息将会被放入回收站"),okText:"放入回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(s["k"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}});else if("collect"==e){var r=t.collected?"cancel":"collect";Object(f["a"])(t.code,r).then((function(){n.$set(n.dataSource[i],"collected",!t.collected),"collect"==a.requestData.type&&n.dataSource.splice(i,1)}))}else"recoveryArchive"==e?this.$confirm({title:"取消归档项目?",content:"取消归档「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"取消归档",okType:"primary",cancelText:"再想想",onOk:function(){return Object(s["j"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}}):"recovery"==e&&this.$confirm({title:"确定恢复项目?",content:"恢复「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"恢复项目",okType:"primary",cancelText:"再想想",onOk:function(){return Object(s["i"])(t.code).then((function(){n.dataSource.splice(i,1)})),Promise.resolve()}})},updateProject:function(t){this.dataSource[this.currentProjectIndex]=JSON.parse(JSON.stringify(t))},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();t.newData.code?e.projectCode=t.newData.code:Object.assign(e,t.newData),Object(s["e"])(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(c["a"])(e)&&(t.form.resetFields(),t.newData={id:0},t.actionInfo.modalStatus=!1,t.init())}))},handleSearchSubmit:function(){var t=this;t.searchForm.validateFields((function(e){e||t.search()}))},search:function(){var t=this.searchForm.getFieldsValue();Object.assign(this.requestData,t),this.init()},selectChange:function(){this.init()}}},m=p,v=(i("b729"),i("2877")),g=Object(v["a"])(m,a,n,!1,null,null,null);e["default"]=g.exports},"3c97":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-auth-apply"},[e("wrapper-content",[e("div",{attrs:{slot:"page-action"},slot:"page-action"}),e("div",{staticStyle:{padding:"12px"}},[e("Button",{on:{click:t.back}},[t._v("返回")]),e("Button",{style:{marginLeft:"4px"},attrs:{type:"primary"},on:{click:t.saveAuth}},[t._v("保存")])],1),t.nodeList.length?e("Tree",{attrs:{checkable:"",defaultExpandAll:t.defaultExpandAll,autoExpandParent:t.autoExpandParent,treeNodes:t.nodeList},model:{value:t.checkedList,callback:function(e){t.checkedList=e},expression:"checkedList"}}):t._e()],1)],1)},n=[],r=i("5efb"),o=i("d865"),s=i("3786"),c=(i("2f14"),i("68fe"),{components:{Button:r["a"],Tree:o["a"]},data:function(){return{nodeList:[],checkedList:[],defaultExpandAll:!0,autoExpandParent:!0}},created:function(){this.init()},methods:{init:function(){var t=this;Object(s["a"])(t.$route.params.id).then((function(e){t.nodeList=e.data.list,t.checkedList=e.data.checkedList}))},saveAuth:function(){var t=this;Object(s["a"])(t.$route.params.id,JSON.stringify(t.checkedList),"save")},back:function(){this.$router.push("/system/account/auth")}}}),l=c,d=(i("26c8"),i("2877")),u=Object(d["a"])(l,a,n,!1,null,null,null);e["default"]=u.exports},"3df3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestAuthInfo$=void 0;var r=i("c6b3"),o="biz.auth.requestAuthInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.19"},n[r.ENV_ENUM.android]={vs:"5.1.19"},n)),e.requestAuthInfo$=a,e.default=a},"3e5a":function(t,e){Object.keys||(Object.keys=function(t){if(t!==Object(t))throw new TypeError("Object.keys called on a non-object");var e,i=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.push(e);return i})},"3eba":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("697e7")),r=i("6d8b"),o=i("41ef"),s=i("22d1"),c=i("04f6"),l=i("1fab"),d=i("7e63"),u=i("843e"),f=i("2039"),h=i("ca98"),p=i("fb05"),m=i("d15d"),v=i("6cb7"),g=i("4f85"),b=i("b12f"),_=i("e887"),y=i("2306"),k=i("e0d3"),x=i("88b3"),w=x.throttle,C=i("fd63"),S=i("b809"),M=i("998c"),T=i("69ff"),P=i("c533"),I=i("f219");i("0352");var O=i("ec34"),E=r.assert,j=r.each,D=r.isFunction,A=r.isObject,N=v.parseClassType,L="4.9.0",$={zrender:"4.3.2"},V=1,R=1e3,z=800,F=900,U=5e3,B=1e3,H=1100,W=2e3,Y=3e3,q=3500,G=4e3,K=5e3,X={PROCESSOR:{FILTER:R,SERIES_FILTER:z,STATISTIC:U},VISUAL:{LAYOUT:B,PROGRESSIVE_LAYOUT:H,GLOBAL:W,CHART:Y,POST_CHART_LAYOUT:q,COMPONENT:G,BRUSH:K}},J="__flagInMainProcess",Z="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(i,a,n){e||!this._disposed?(i=i&&i.toLowerCase(),l.prototype[t].call(this,i,a,n)):yt(this.id)}}function et(){l.call(this)}function it(t,e,i){i=i||{},"string"===typeof e&&(e=jt[e]),this.id,this.group,this._dom=t;var a="canvas",o=this._zr=n.init(t,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=w(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new f;var s=this._api=Ct(this);function d(t,e){return t.__prio-e.__prio}c(Et,d),c(Pt,d),this._scheduler=new T(this,s,Pt,Et),l.call(this,this._ecEventProcessor=new St),this._messageCenter=new et,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),ft(o,this),r.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),r.mixin(et,l);var at=it.prototype;function nt(t,e,i){if(this._disposed)yt(this.id);else{var a,n=this._model,r=this._coordSysMgr.getCoordinateSystems();e=k.parseFinder(n,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},at.getDom=function(){return this._dom},at.getZr=function(){return this._zr},at.setOption=function(t,e,i){if(this._disposed)yt(this.id);else{var a;if(A(e)&&(i=e.lazyUpdate,a=e.silent,e=e.notMerge),this[J]=!0,!this._model||e){var n=new h(this._api),r=this._theme,o=this._model=new d;o.scheduler=this._scheduler,o.init(null,null,r,n)}this._model.setOption(t,It),i?(this[Z]={silent:a},this[J]=!1):(ot(this),rt.update.call(this),this._zr.flush(),this[Z]=!1,this[J]=!1,dt.call(this,a),ut.call(this,a))}},at.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},at.getModel=function(){return this._model},at.getOption=function(){return this._model&&this._model.getOption()},at.getWidth=function(){return this._zr.getWidth()},at.getHeight=function(){return this._zr.getHeight()},at.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},at.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},at.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},at.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,a=[],n=this;j(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=n._componentsMap[t.__viewId];e.group.ignore||(a.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return j(a,(function(t){t.group.ignore=!1})),r}yt(this.id)},at.getConnectedDataURL=function(t){if(this._disposed)yt(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,a=Math.min,o=Math.max,c=1/0;if(Nt[i]){var l=c,d=c,u=-c,f=-c,h=[],p=t&&t.pixelRatio||1;r.each(At,(function(n,s){if(n.group===i){var c=e?n.getZr().painter.getSvgDom().innerHTML:n.getRenderedCanvas(r.clone(t)),p=n.getDom().getBoundingClientRect();l=a(p.left,l),d=a(p.top,d),u=o(p.right,u),f=o(p.bottom,f),h.push({dom:c,left:p.left,top:p.top})}})),l*=p,d*=p,u*=p,f*=p;var m=u-l,v=f-d,g=r.createCanvas(),b=n.init(g,{renderer:e?"svg":"canvas"});if(b.resize({width:m,height:v}),e){var _="";return j(h,(function(t){var e=t.left-l,i=t.top-d;_+=''+t.dom+""})),b.painter.getSvgRoot().innerHTML=_,t.connectedBackgroundColor&&b.painter.setBackgroundColor(t.connectedBackgroundColor),b.refreshImmediately(),b.painter.toDataURL()}return t.connectedBackgroundColor&&b.add(new y.Rect({shape:{x:0,y:0,width:m,height:v},style:{fill:t.connectedBackgroundColor}})),j(h,(function(t){var e=new y.Image({style:{x:t.left*p-l,y:t.top*p-d,image:t.dom}});b.add(e)})),b.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},at.convertToPixel=r.curry(nt,"convertToPixel"),at.convertFromPixel=r.curry(nt,"convertFromPixel"),at.containPixel=function(t,e){if(!this._disposed){var i,a=this._model;return t=k.parseFinder(a,t),r.each(t,(function(t,a){a.indexOf("Models")>=0&&r.each(t,(function(t){var n=t.coordinateSystem;if(n&&n.containPoint)i|=!!n.containPoint(e);else if("seriesModels"===a){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i}yt(this.id)},at.getVisual=function(t,e){var i=this._model;t=k.parseFinder(i,t,{defaultMainType:"series"});var a=t.seriesModel,n=a.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=r?n.getItemVisual(r,e):n.getVisual(e)},at.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},at.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var rt={prepareAndUpdate:function(t){ot(this),rt.update.call(this,t)},update:function(t){var e=this._model,i=this._api,a=this._zr,n=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),n.create(e,i),r.performDataProcessorTasks(e,t),ct(this,e),n.update(e,i),pt(e),r.performVisualTasks(e,t),mt(this,e,i,t);var c=e.get("backgroundColor")||"transparent";if(s.canvasSupported)a.setBackgroundColor(c);else{var l=o.parse(c);c=o.stringify(l,"rgb"),0===l[3]&&(c="transparent")}bt(e,i)}},updateTransform:function(t){var e=this._model,i=this,a=this._api;if(e){var n=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var c=s.updateTransform(o,e,a,t);c&&c.update&&n.push(s)}else n.push(s)}));var o=r.createHashMap();e.eachSeries((function(n){var r=i._chartsMap[n.__viewId];if(r.updateTransform){var s=r.updateTransform(n,e,a,t);s&&s.update&&o.set(n.uid,1)}else o.set(n.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),gt(i,e,a,t,o),bt(e,this._api)}},updateView:function(t){var e=this._model;e&&(_.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),mt(this,this._model,this._api,t),bt(e,this._api))},updateVisual:function(t){rt.update.call(this,t)},updateLayout:function(t){rt.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ht(t,"component",e,i),ht(t,"chart",e,i),i.plan()}function st(t,e,i,a,n){var o=t._model;if(a){var s={};s[a+"Id"]=i[a+"Id"],s[a+"Index"]=i[a+"Index"],s[a+"Name"]=i[a+"Name"];var c={mainType:a,query:s};n&&(c.subType=n);var l=i.excludeSeriesId;null!=l&&(l=r.createHashMap(k.normalizeToArray(l))),o&&o.eachComponent(c,(function(e){l&&null!=l.get(e.id)||d(t["series"===a?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else j(t._componentsViews.concat(t._chartsViews),d);function d(a){a&&a.__alive&&a[e]&&a[e](a.__model,o,t._api,i)}}function ct(t,e){var i=t._chartsMap,a=t._scheduler;e.eachSeries((function(t){a.updateStreamModes(t,i[t.__viewId])}))}function lt(t,e){var i=t.type,a=t.escapeConnect,n=Mt[i],o=n.actionInfo,s=(o.update||"update").split(":"),c=s.pop();s=null!=s[0]&&N(s[0]),this[J]=!0;var l=[t],d=!1;t.batch&&(d=!0,l=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var u,f=[],h="highlight"===i||"downplay"===i;j(l,(function(t){u=n.action(t,this._model,this._api),u=u||r.extend({},t),u.type=o.event||u.type,f.push(u),h?st(this,c,t,"series"):s&&st(this,c,t,s.main,s.sub)}),this),"none"===c||h||s||(this[Z]?(ot(this),rt.update.call(this,t),this[Z]=!1):rt[c].call(this,t)),u=d?{type:o.event||i,escapeConnect:a,batch:f}:f[0],this[J]=!1,!e&&this._messageCenter.trigger(u.type,u)}function dt(t){var e=this._pendingActions;while(e.length){var i=e.shift();lt.call(this,i,t)}}function ut(t){!t&&this.trigger("updated")}function ft(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[Z]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ht(t,e,i,a){for(var n="component"===e,r=n?t._componentsViews:t._chartsViews,o=n?t._componentsMap:t._chartsMap,s=t._zr,c=t._api,l=0;le.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function xt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function wt(t,e){var i=t.get("z"),a=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=a&&(t.zlevel=a))}))}function Ct(t){var e=t._coordSysMgr;return r.extend(new u(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function St(){this.eventInfo}at._initEvents=function(){j(_t,(function(t){var e=function(e){var i,a=this.getModel(),n=e.target,o="globalout"===t;if(o)i={};else if(n&&null!=n.dataIndex){var s=n.dataModel||a.getSeriesByIndex(n.seriesIndex);i=s&&s.getDataParams(n.dataIndex,n.dataType,n)||{}}else n&&n.eventData&&(i=r.extend({},n.eventData));if(i){var c=i.componentType,l=i.componentIndex;"markLine"!==c&&"markPoint"!==c&&"markArea"!==c||(c="series",l=i.seriesIndex);var d=c&&null!=l&&a.getComponent(c,l),u=d&&this["series"===d.mainType?"_chartsMap":"_componentsMap"][d.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:n,packedEvent:i,model:d,view:u},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),j(Tt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},at.isDisposed=function(){return this._disposed},at.clear=function(){this._disposed?yt(this.id):this.setOption({series:[]},!0)},at.dispose=function(){if(this._disposed)yt(this.id);else{this._disposed=!0,k.setAttribute(this.getDom(),Vt,"");var t=this._api,e=this._model;j(this._componentsViews,(function(i){i.dispose(e,t)})),j(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete At[this.id]}},r.mixin(it,l),St.prototype={constructor:St,normalizeQuery:function(t){var e={},i={},a={};if(r.isString(t)){var n=N(t);e.mainType=n.main||null,e.subType=n.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,n){for(var r=!1,c=0;c0&&d===n.length-l.length){var u=n.slice(0,d);"data"!==u&&(e.mainType=u,e[l.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(n)&&(i[n]=t,r=!0),r||(a[n]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:a}},filter:function(t,e,i){var a=this.eventInfo;if(!a)return!0;var n=a.targetEl,r=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var c=e.cptQuery,l=e.dataQuery;return d(c,o,"mainType")&&d(c,o,"subType")&&d(c,o,"index","componentIndex")&&d(c,o,"name")&&d(c,o,"id")&&d(l,r,"name")&&d(l,r,"dataIndex")&&d(l,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,n,r));function d(t,e,i,a){return null==t[i]||e[a||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var Mt={},Tt={},Pt=[],It=[],Ot=[],Et=[],jt={},Dt={},At={},Nt={},Lt=new Date-0,$t=new Date-0,Vt="_echarts_instance_";function Rt(t){var e=0,i=1,a=2,n="__connectUpdateStatus";function r(t,e){for(var i=0;i255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function c(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function d(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function f(t,e,i,a,n){return t[0]=e,t[1]=i,t[2]=a,t[3]=n,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new a(20),m=null;function v(t,e){m&&h(m,e),m=p.put(t,m||e.slice())}function g(t,e){if(t){e=e||[];var i=p.get(t);if(i)return h(e,i);t+="";var a=t.replace(/ /g,"").toLowerCase();if(a in n)return h(e,n[a]),v(t,e),e;if("#"!==a.charAt(0)){var r=a.indexOf("("),o=a.indexOf(")");if(-1!==r&&o+1===a.length){var s=a.substr(0,r),d=a.substr(r+1,o-(r+1)).split(","),u=1;switch(s){case"rgba":if(4!==d.length)return void f(e,0,0,0,1);u=l(d.pop());case"rgb":return 3!==d.length?void f(e,0,0,0,1):(f(e,c(d[0]),c(d[1]),c(d[2]),u),v(t,e),e);case"hsla":return 4!==d.length?void f(e,0,0,0,1):(d[3]=l(d[3]),b(d,e),v(t,e),e);case"hsl":return 3!==d.length?void f(e,0,0,0,1):(b(d,e),v(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===a.length){var m=parseInt(a.substr(1),16);return m>=0&&m<=4095?(f(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,1),v(t,e),e):void f(e,0,0,0,1)}if(7===a.length){m=parseInt(a.substr(1),16);return m>=0&&m<=16777215?(f(e,(16711680&m)>>16,(65280&m)>>8,255&m,1),v(t,e),e):void f(e,0,0,0,1)}}}}function b(t,e){var i=(parseFloat(t[0])%360+360)%360/360,a=l(t[1]),n=l(t[2]),o=n<=.5?n*(a+1):n+a-n*a,s=2*n-o;return e=e||[],f(e,r(255*d(s,o,i+1/3)),r(255*d(s,o,i)),r(255*d(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t){if(t){var e,i,a=t[0]/255,n=t[1]/255,r=t[2]/255,o=Math.min(a,n,r),s=Math.max(a,n,r),c=s-o,l=(s+o)/2;if(0===c)e=0,i=0;else{i=l<.5?c/(s+o):c/(2-s-o);var d=((s-a)/6+c/2)/c,u=((s-n)/6+c/2)/c,f=((s-r)/6+c/2)/c;a===s?e=f-u:n===s?e=1/3+d-f:r===s&&(e=2/3+u-d),e<0&&(e+=1),e>1&&(e-=1)}var h=[360*e,i,l];return null!=t[3]&&h.push(t[3]),h}}function y(t,e){var i=g(t);if(i){for(var a=0;a<3;a++)i[a]=e<0?i[a]*(1-e)|0:(255-i[a])*e+i[a]|0,i[a]>255?i[a]=255:t[a]<0&&(i[a]=0);return P(i,4===i.length?"rgba":"rgb")}}function k(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var a=t*(e.length-1),n=Math.floor(a),o=Math.ceil(a),c=e[n],l=e[o],d=a-n;return i[0]=r(u(c[0],l[0],d)),i[1]=r(u(c[1],l[1],d)),i[2]=r(u(c[2],l[2],d)),i[3]=s(u(c[3],l[3],d)),i}}var w=x;function C(t,e,i){if(e&&e.length&&t>=0&&t<=1){var a=t*(e.length-1),n=Math.floor(a),o=Math.ceil(a),c=g(e[n]),l=g(e[o]),d=a-n,f=P([r(u(c[0],l[0],d)),r(u(c[1],l[1],d)),r(u(c[2],l[2],d)),s(u(c[3],l[3],d))],"rgba");return i?{color:f,leftIndex:n,rightIndex:o,value:a}:f}}var S=C;function M(t,e,i,a){if(t=g(t),t)return t=_(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=l(i)),null!=a&&(t[2]=l(a)),P(b(t),"rgba")}function T(t,e){if(t=g(t),t&&null!=e)return t[3]=s(e),P(t,"rgba")}function P(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=y,e.toHex=k,e.fastLerp=x,e.fastMapToColor=w,e.lerp=C,e.mapToColor=S,e.modifyHSL=M,e.modifyAlpha=T,e.stringify=P},4281:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.confirm$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.confirm",c=(0,o.genDefaultParamsDealFn)({title:"",buttonLabels:["确定","取消"]});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.confirm$=a,e.default=a},"42b4":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=this,i=e._self._c;return i("div",{staticClass:"account-index"},[i("wrapper-content",[i("div",{staticClass:"action"}),i("a-table",{attrs:{columns:e.columns,dataSource:e.dataSource,loading:e.loading,rowKey:"id",pagination:e.pagination},on:{change:e.pageChange},scopedSlots:e._u([{key:"avatar",fn:function(t,e,a){return[i("a-avatar",{attrs:{src:e.avatar}})]}},{key:"status",fn:function(t,a,n){return[a.status?i("span",{staticClass:"success-color"},[e._v("使用中")]):i("span",[e._v("已禁用")])]}},{key:"action",fn:function(t,a,n){return[a.is_owner?e._e():[i("a",{on:{click:function(t){return e.rowClick(a,"edit")}}},[e._v("编辑")]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.auth(a)}}},[e._v("授权")]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"status")}}},[a.status?i("span",[e._v("禁用")]):i("span",[e._v("启用")])]),i("a-divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"del")}}},[e._v("删除")])]]}}])})],1),i("a-modal",{attrs:{width:800,title:e.actionInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.actionInfo.modalStatus,callback:function(t){e.$set(e.actionInfo,"modalStatus",t)},expression:"actionInfo.modalStatus"}},[i("a-form",{attrs:{autoFormCreate:function(e){t.form=e}},on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"姓名",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入姓名"}]}}},[i("a-input",{attrs:{placeholder:"姓名"}})],1),i("a-form-item",{attrs:{label:"手机",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"mobile"}},[i("a-input",{attrs:{placeholder:"手机号码"}})],1),i("a-form-item",{attrs:{label:"邮箱",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"email"}},[i("a-input",{attrs:{placeholder:"邮箱地址"}})],1),i("a-form-item",{attrs:{label:"描述",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"description",help:"可选,设置账号的备注信息"}},[i("a-text-area",{attrs:{placeholder:"账号描述"}})],1),i("a-form-item",{attrs:{wrapperCol:{span:21,offset:3}}},[i("div",{staticClass:"action-btn"},[i("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",loading:e.actionInfo.confirmLoading}},[e._v("保存\n ")]),i("a-button",{staticClass:"middle-btn",on:{click:function(t){e.actionInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)])],1)],1),i("a-modal",{attrs:{width:800,title:"用户授权",bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.authInfo.modalStatus,callback:function(t){e.$set(e.authInfo,"modalStatus",t)},expression:"authInfo.modalStatus"}},[e.currentUser?i("div",{staticStyle:{margin:"0 0 24px 0"}},[i("div",{staticStyle:{"margin-bottom":"24px"}},[i("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:e.currentUser.authorize,callback:function(t){e.$set(e.currentUser,"authorize",t)},expression:"currentUser.authorize"}},e._l(e.authList,(function(t){return i("a-radio-button",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1),i("div",{staticClass:"action-btn"},[i("a-button",{staticClass:"middle-btn",attrs:{type:"primary",loading:e.authInfo.confirmLoading},on:{click:e.authApply}},[e._v("保存\n ")]),i("a-button",{staticClass:"middle-btn",on:{click:function(t){e.authInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)]):e._e()])],1)},n=[],r=(i("c5f6"),i("7f7f"),i("ac6a"),i("b558")),o=i("c24f"),s=i("2f14"),c=i("1b80"),l=r["a"].TextArea,d=[{title:"头像",dataIndex:"avatar",width:"30%",scopedSlots:{customRender:"avatar"}},{title:"姓名",dataIndex:"name",width:"15%"},{title:"手机",dataIndex:"mobile",width:"15%"},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"操作",scopedSlots:{customRender:"action"}}],u={components:{ATextArea:l},mixins:[c["a"]],data:function(){return{columns:d,dataSource:[],loading:!0,authList:[],newData:{id:0},form:{},currentUser:null,authInfo:{modalStatus:!1,confirmLoading:!1},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑账号",okText:"保存",cancelText:"放弃"}}},created:function(){this.init()},methods:{init:function(){var t=this;t.loading=!0,Object(o["w"])(t.requestData).then((function(e){t.dataSource=e.data.list,t.pagination.total=e.data.total,t.authList=[],e.data.authList.forEach((function(e){var i={label:e.title,value:e.id};t.authList.push(i)})),t.loading=!1}))},rowClick:function(t,e){var i=this;if(i.newData={id:0},"add"==e||"edit"==e||"new"==e)setTimeout((function(){i.form&&i.form.resetFields()}),0),i.actionInfo.modalStatus=!0,i.actionInfo.modalTitle="添加账号","edit"==e&&setTimeout((function(){i.actionInfo.modalTitle="编辑账号",i.form.setFieldsValue({name:t.name,mobile:t.mobile,email:t.email,description:t.description}),i.newData=t}),0);else if("status"==e){var a=t.status;a?Object(o["t"])(t.code).then((function(e){Object(s["a"])(e)&&(t.status=Number(!a))})):Object(o["z"])(t.code).then((function(e){Object(s["a"])(e)&&(t.status=Number(!a))}))}else"del"==e&&this.$confirm({title:"确定要删除此账号?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"放弃",onOk:function(){return Object(o["o"])(t.code).then((function(){i.init()})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.form.validateFields((function(e,i){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),Object(o["p"])(e).then((function(i){t.actionInfo.confirmLoading=!1,Object(s["a"])(i)&&(t.newData.code?(t.newData.email=e.email,t.newData.name=e.name,t.newData.mobile=e.mobile,t.newData.description=e.description):t.dataSource.push(i.data),t.form.resetFields(),t.newData={id:0},t.actionInfo.modalStatus=!1)}))},auth:function(t,e){var i=this;i.authInfo.modalStatus=!0,i.currentUser=t,i.currentUser.index=e},authApply:function(){var t=this;t.authInfo.confirmLoading=!0,Object(o["m"])(t.currentUser.id,t.currentUser.authorize).then((function(e){Object(s["a"])(e)&&(t.dataSource[t.currentUser.index]=t.currentUser,t.authInfo.modalStatus=!1,t.authInfo.confirmLoading=!1)}))}}},f=u,h=(i("9d72"),i("2877")),p=Object(h["a"])(f,a,n,!1,null,null,null);e["default"]=p.exports},"42e5":function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var a=i;t.exports=a},"42f6":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("22d1"),o=i("07d7"),s=i("82f9"),c=i("eda2"),l=i("3842"),d=i("2306"),u=i("133d"),f=i("f934"),h=i("4319"),p=i("17d6"),m=i("697e"),v=i("ff2e"),g=i("e0d3"),b=g.getTooltipRenderMode,_=n.bind,y=n.each,k=l.parsePercent,x=new d.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=a.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,a=t.getComponent("tooltip"),n=a.get("renderMode");this._renderMode=b(n),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,_((function(t,i,a){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,a):"leave"===t&&this._hide(a))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&a.manuallyShowTip(t,e,i,{x:a._lastX,y:a._lastY})}))}},manuallyShowTip:function(t,e,i,a){if(a.from!==this.uid&&!r.node){var n=S(a,i);this._ticket="";var o=a.dataByCoordSys;if(a.tooltip&&null!=a.x&&null!=a.y){var s=x;s.position=[a.x,a.y],s.update(),s.tooltip=a.tooltip,this._tryShow({offsetX:a.x,offsetY:a.y,target:s},n)}else if(o)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:a.dataByCoordSys,tooltipOption:a.tooltipOption},n);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,a))return;var c=u(a,e),l=c.point[0],d=c.point[1];null!=l&&null!=d&&this._tryShow({offsetX:l,offsetY:d,position:a.position,target:c.el},n)}else null!=a.x&&null!=a.y&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},n))}},manuallyHideTip:function(t,e,i,a){var n=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&n.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,a.from!==this.uid&&this._hide(S(a,i))},_manuallyAxisShowTip:function(t,e,i,a){var n=a.seriesIndex,r=a.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=n&&null!=r&&null!=o){var s=e.getSeriesByIndex(n);if(s){var c=s.getData();t=C([c.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:n,dataIndex:r,position:a.position}),!0}}},_tryShow:function(t,e){var i=t.target,a=this._tooltipModel;if(a){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=n.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,a=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],l=C([e.tooltipOption,a]),d=this._renderMode,u=this._newLine,f={};y(t,(function(t){y(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value,r=[];if(e&&null!=a){var l=v.getValueLabel(a,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);n.each(t.seriesDataIndices,(function(o){var c=i.getSeriesByIndex(o.seriesIndex),u=o.dataIndexInside,h=c&&c.getDataParams(u);if(h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=m.getAxisRawValue(e.axis,a),h.axisValueLabel=l,h){s.push(h);var p,v=c.formatTooltip(u,!0,null,d);if(n.isObject(v)){p=v.html;var g=v.markers;n.merge(f,g)}else p=v;r.push(p)}}));var h=l;"html"!==d?o.push(r.join(u)):o.push((h?c.encodeHTML(h)+u:"")+r.join(u))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var h=e.position;this._showOrMove(l,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(l,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(l,o,s,Math.random(),r[0],r[1],h,void 0,f)}))},_showSeriesItemTooltip:function(t,e,i){var a=this._ecModel,r=e.seriesIndex,o=a.getSeriesByIndex(r),s=e.dataModel||o,c=e.dataIndex,l=e.dataType,d=s.getData(l),u=C([d.getItemModel(c),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),f=u.get("trigger");if(null==f||"item"===f){var h,p,m=s.getDataParams(c,l),v=s.formatTooltip(c,!1,l,this._renderMode);n.isObject(v)?(h=v.html,p=v.markers):(h=v,p=null);var g="item_"+s.name+"_"+c;this._showOrMove(u,(function(){this._showTooltipContent(u,h,m,g,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var a=e.tooltip;if("string"===typeof a){var n=a;a={content:n,formatter:n}}var r=new h(a,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,a,n,r,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var d=this._tooltipContent,u=t.get("formatter");o=o||t.get("position");var f=e;if(u&&"string"===typeof u)f=c.formatTpl(u,i,!0);else if("function"===typeof u){var h=_((function(e,a){e===this._ticket&&(d.setContent(a,l,t),this._updatePosition(t,o,n,r,d,i,s))}),this);this._ticket=a,f=u(i,a,h)}d.setContent(f,l,t),d.show(t),this._updatePosition(t,o,n,r,d,i,s)}},_updatePosition:function(t,e,i,a,r,o,s){var c=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var d=r.getSize(),u=t.get("align"),h=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,a],o,r.el,p,{viewSize:[c,l],contentSize:d.slice()})),n.isArray(e))i=k(e[0],c),a=k(e[1],l);else if(n.isObject(e)){e.width=d[0],e.height=d[1];var m=f.getLayoutRect(e,{width:c,height:l});i=m.x,a=m.y,u=null,h=null}else if("string"===typeof e&&s){var v=P(e,p,d);i=v[0],a=v[1]}else{v=M(i,a,r,c,l,u?null:20,h?null:20);i=v[0],a=v[1]}if(u&&(i-=I(u)?d[0]/2:"right"===u?d[0]:0),h&&(a-=I(h)?d[1]/2:"bottom"===h?d[1]:0),t.get("confine")){v=T(i,a,r,c,l);i=v[0],a=v[1]}r.moveTo(i,a)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&y(e,(function(e,a){var n=e.dataByAxis||{},r=t[a]||{},o=r.dataByAxis||[];i&=n.length===o.length,i&&y(n,(function(t,e){var a=o[e]||{},n=t.seriesDataIndices||[],r=a.seriesDataIndices||[];i&=t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&n.length===r.length,i&&y(n,(function(t,e){var a=r[e];i&=t.seriesIndex===a.seriesIndex&&t.dataIndex===a.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function C(t){var e=t.pop();while(t.length){var i=t.pop();i&&(h.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new h(i,e,e.ecModel))}return e}function S(t,e){return t.dispatchAction||n.bind(e.dispatchAction,e)}function M(t,e,i,a,n,r,o){var s=i.getOuterSize(),c=s.width,l=s.height;return null!=r&&(t+c+r>a?t-=c+r:t+=r),null!=o&&(e+l+o>n?e-=l+o:e+=o),[t,e]}function T(t,e,i,a,n){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,a)-o,e=Math.min(e+s,n)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function P(t,e,i){var a=i[0],n=i[1],r=5,o=0,s=0,c=e.width,l=e.height;switch(t){case"inside":o=e.x+c/2-a/2,s=e.y+l/2-n/2;break;case"top":o=e.x+c/2-a/2,s=e.y-n-r;break;case"bottom":o=e.x+c/2-a/2,s=e.y+l+r;break;case"left":o=e.x-a-r,s=e.y+l/2-n/2;break;case"right":o=e.x+c+r,s=e.y+l/2-n/2}return[o,s]}function I(t){return"center"===t||"middle"===t}t.exports=w},4319:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e0d3"),o=r.makeInner,s=i("625e"),c=s.enableClassExtend,l=s.enableClassCheck,d=i("3901"),u=i("9bdb"),f=i("fe21"),h=i("551f"),p=a.mixin,m=o();function v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function g(t,e,i){for(var a=0;a0&&void 0!==arguments[0])||arguments[0],i=this;e&&(this.pagination.page=1,this.pagination.pageSize=50,this.showLoadingMore=!1),i.requestData.projectCode=this.code,i.requestData.deleted=0,Object(f["e"])(i.requestData).then((function(a){e&&(t.eventList=[]),a.data.list.forEach((function(t){t.editing=!1})),i.eventList=i.eventList.concat(a.data.list),i.pagination.total=a.data.total,i.showLoadingMore=i.pagination.total>i.eventList.length,i.loading=!1,i.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(d["a"])(this.project.code,e).then((function(e){Object(u["a"])(e)&&(t.project.collected=!t.project.collected)}))},handleSubmit:function(){var t=this;t.$refs.ruleForm.validate((function(e){if(!e)return console.log("error submit!!"),!1;t.handleOk()}))},handleOk:function(){var t=this;t.submitting=!0;var e=g({},t.formData);console.log(e),e.member_list=JSON.stringify(e.member_list),e.begin_time=c()(e.begin_time).format("YYYY-MM-DD HH:mm:ss"),e.end_time=c()(e.end_time).format("YYYY-MM-DD HH:mm:ss"),Object(f["c"])(e).then((function(e){t.submitting=!1,Object(u["a"])(e,!0)&&(t.init(!0),t.actionInfo.modalStatus=!1)}))},rowClick:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(e,i){var a,n,r=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:r.length>2&&void 0!==r[2]?r[2]:null,a=this,a.formData.id=0,"add"==i||"edit"==i||"new"==i?(a.formData={id:0,title:void 0,description:void 0,begin_time:null,end_time:null,all_day:!1,project_code:a.$route.params.code,position:void 0,member_list:[a.currentMemberCode]},a.actionInfo.modalTitle="新增日程","edit"==i&&(a.actionInfo.modalTitle="编辑日程",a.formData.id=e.id,n=[],e.memberList.forEach((function(t){n.push(t.member_code)})),e.member_list=n,a.formData=g({},e)),a.actionInfo.modalStatus=!0,a.$nextTick((function(){a.$refs.ruleForm.clearValidate()}))):"del"==i&&a.$confirm({title:"确定要删除?",content:"关联的相关信息将会同时被删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){Object(f["b"])({eventsCode:e.code}).then((function(t){Object(u["a"])(t,!0)&&a.init(!0)}))}});case 4:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),canRemove:function(t){if(console.log(this.formData.memberList),this.formData.memberList){var e=this.formData.memberList.find((function(e){return e.member_code==t}));return!e||!e.is_owner}return t!=this.currentMemberCode}}},_=b,y=(i("523e"),i("2877")),k=Object(y["a"])(_,a,n,!1,null,null,null);e["default"]=k.exports},4650:function(t,e,i){var a=i("3eba"),n=i("6d8b");function r(t,e,i){var a,r={},o="toggleSelected"===t;return i.eachComponent("legend",(function(i){o&&null!=a?i[a?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),a=i.isSelected(e.name));var s=i.getData();n.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var a=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&a:r[e]=a}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}a.registerAction("legendToggleSelect","legendselectchanged",n.curry(r,"toggleSelected")),a.registerAction("legendAllSelect","legendselectall",n.curry(r,"allSelect")),a.registerAction("legendInverseSelect","legendinverseselect",n.curry(r,"inverseSelect")),a.registerAction("legendSelect","legendselected",n.curry(r,"select")),a.registerAction("legendUnSelect","legendunselected",n.curry(r,"unSelect"))},"46f8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FRAMEWORK=e.PLATFORM=e.RUNTIME=void 0,e.RUNTIME={WEB:"Web",WEEX:"Weex",UNKNOWN:"Unknown"},e.PLATFORM={MAC:"Mac",WINDOWS:"Windows",IOS:"iOS",ANDROID:"Android",IPAD:"iPad",BROWSER:"Browser",UNKNOWN:"Unknown"},e.FRAMEWORK={VUE:"Vue",RAX:"Rax",UNKNOWN:"Unknown"}},"477c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setRight$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setRight",c=(0,o.genDefaultParamsDealFn)({watch:!0,show:!0,control:!1,showIcon:!0,text:""});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.setRight$=a,e.default=a},"47be":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.datetimepicker$=void 0;var r=i("c6b3"),o="biz.util.datetimepicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.datetimepicker$=a,e.default=a},"47fe":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("9670"),o=i("eee2"),s=i("bd74"),c=i("6158"),l=i("5772"),d=i("dd66"),u=i("e8f7");a.ddSdk.setPlatform({platform:n.ENV_ENUM.ios,bridgeInit:function(){var t=(0,n.getENV)();return t.appType===r.APP_TYPE.MINI_APP?Promise.resolve(o.default):t.appType===r.APP_TYPE.WEBVIEW_IN_MINIAPP?Promise.resolve(s.default):t.appType===r.APP_TYPE.WEEX?(0,l.iosWeexBridge)():(0,c.h5IosBridgeInit)().then((function(){return c.default}))},authMethod:"runtime.permission.requestJsApis",event:{on:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.on)(t,e);break;case r.APP_TYPE.WEEX:(0,u.on)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}},off:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.off)(t,e);break;case r.APP_TYPE.WEEX:(0,u.off)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}}}})},"481b3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="device.audio.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.stop$=a,e.default=a},"48a9":function(t,e,i){var a=i("6d8b"),n=i("42e5"),r=function(t,e,i,a,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==a?0:a,this.type="linear",this.global=o||!1,n.call(this,r)};r.prototype={constructor:r},a.inherits(r,n);var o=r;t.exports=o},"48ac":function(t,e,i){var a=i("3eba"),n=a.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),r=n;t.exports=r},"48c7":function(t,e,i){var a=i("6d8b"),n=i("6cb7"),r=i("9e47"),o=i("2023"),s=n.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function c(t,e){return e.type||(e.data?"category":"value")}a.merge(s.prototype,o);var l={offset:0};r("x",s,c,l),r("y",s,c,l);var d=s;t.exports=d},4917:function(t,e,i){"use strict";var a=i("cb7c"),n=i("9def"),r=i("0390"),o=i("5f1b");i("214f")("match",1,(function(t,e,i,s){return[function(i){var a=t(this),n=void 0==i?void 0:i[e];return void 0!==n?n.call(i,a):new RegExp(i)[e](String(a))},function(t){var e=s(i,t,this);if(e.done)return e.value;var c=a(t),l=String(this);if(!c.global)return o(c,l);var d=c.unicode;c.lastIndex=0;var u,f=[],h=0;while(null!==(u=o(c,l))){var p=String(u[0]);f[h]=p,""===p&&(c.lastIndex=r(l,n(c.lastIndex),d)),h++}return 0===h?null:f}]}))},4938:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setData$=void 0;var r=i("c6b3"),o="biz.clipboardData.setData";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.0"},n[r.ENV_ENUM.android]={vs:"2.7.0"},n[r.ENV_ENUM.pc]={vs:"4.6.1"},n)),e.setData$=a,e.default=a},4942:function(t,e,i){var a=i("2cf4"),n=a.debugMode,r=function(){};1===n&&(r=console.error);var o=r;t.exports=o},"4a21":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.downloadFile$=void 0;var r=i("c6b3"),o="biz.util.downloadFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.downloadFile$=a,e.default=a},"4a3f":function(t,e,i){var a=i("401b"),n=a.create,r=a.distSquare,o=Math.pow,s=Math.sqrt,c=1e-8,l=1e-4,d=s(3),u=1/3,f=n(),h=n(),p=n();function m(t){return t>-c&&tc||t<-c}function g(t,e,i,a,n){var r=1-n;return r*r*(r*t+3*n*e)+n*n*(n*a+3*r*i)}function b(t,e,i,a,n){var r=1-n;return 3*(((e-t)*r+2*(i-e)*n)*r+(a-i)*n*n)}function _(t,e,i,a,n,r){var c=a+3*(e-i)-t,l=3*(i-2*e+t),f=3*(e-t),h=t-n,p=l*l-3*c*f,v=l*f-9*c*h,g=f*f-3*l*h,b=0;if(m(p)&&m(v))if(m(l))r[0]=0;else{var _=-f/l;_>=0&&_<=1&&(r[b++]=_)}else{var y=v*v-4*p*g;if(m(y)){var k=v/p,x=(_=-l/c+k,-k/2);_>=0&&_<=1&&(r[b++]=_),x>=0&&x<=1&&(r[b++]=x)}else if(y>0){var w=s(y),C=p*l+1.5*c*(-v+w),S=p*l+1.5*c*(-v-w);C=C<0?-o(-C,u):o(C,u),S=S<0?-o(-S,u):o(S,u);_=(-l-(C+S))/(3*c);_>=0&&_<=1&&(r[b++]=_)}else{var M=(2*p*l-3*c*v)/(2*s(p*p*p)),T=Math.acos(M)/3,P=s(p),I=Math.cos(T),O=(_=(-l-2*P*I)/(3*c),x=(-l+P*(I+d*Math.sin(T)))/(3*c),(-l+P*(I-d*Math.sin(T)))/(3*c));_>=0&&_<=1&&(r[b++]=_),x>=0&&x<=1&&(r[b++]=x),O>=0&&O<=1&&(r[b++]=O)}}return b}function y(t,e,i,a,n){var r=6*i-12*e+6*t,o=9*e+3*a-3*t-9*i,c=3*e-3*t,l=0;if(m(o)){if(v(r)){var d=-c/r;d>=0&&d<=1&&(n[l++]=d)}}else{var u=r*r-4*o*c;if(m(u))n[0]=-r/(2*o);else if(u>0){var f=s(u),h=(d=(-r+f)/(2*o),(-r-f)/(2*o));d>=0&&d<=1&&(n[l++]=d),h>=0&&h<=1&&(n[l++]=h)}}return l}function k(t,e,i,a,n,r){var o=(e-t)*n+t,s=(i-e)*n+e,c=(a-i)*n+i,l=(s-o)*n+o,d=(c-s)*n+s,u=(d-l)*n+l;r[0]=t,r[1]=o,r[2]=l,r[3]=u,r[4]=u,r[5]=d,r[6]=c,r[7]=a}function x(t,e,i,a,n,o,c,d,u,m,v){var b,_,y,k,x,w=.005,C=1/0;f[0]=u,f[1]=m;for(var S=0;S<1;S+=.05)h[0]=g(t,i,n,c,S),h[1]=g(e,a,o,d,S),k=r(f,h),k=0&&k=0&&d<=1&&(n[l++]=d)}}else{var u=o*o-4*r*c;if(m(u)){d=-o/(2*r);d>=0&&d<=1&&(n[l++]=d)}else if(u>0){var f=s(u),h=(d=(-o+f)/(2*r),(-o-f)/(2*r));d>=0&&d<=1&&(n[l++]=d),h>=0&&h<=1&&(n[l++]=h)}}return l}function M(t,e,i){var a=t+i-2*e;return 0===a?.5:(t-e)/a}function T(t,e,i,a,n){var r=(e-t)*a+t,o=(i-e)*a+e,s=(o-r)*a+r;n[0]=t,n[1]=r,n[2]=s,n[3]=s,n[4]=o,n[5]=i}function P(t,e,i,a,n,o,c,d,u){var m,v=.005,g=1/0;f[0]=c,f[1]=d;for(var b=0;b<1;b+=.05){h[0]=w(t,i,n,b),h[1]=w(e,a,o,b);var _=r(f,h);_=0&&_e?(t.apply(r,o),n=s):i&&(clearTimeout(a),a=setTimeout((function(){t.apply(r,o)}),i))}}function r(t,e,i){if(e){var a=t,n=e.split(".");n.forEach((function(t,e){e===n.length-1?a[t]=i:(a[t]||(a[t]={}),a=a[t])}))}}function o(t,e,i){if(!e)return t;var a=e.split("."),n=t;return a.some((function(t,e){if(void 0===n[t])return n=i,!0;n=n[t]})),n}function s(t){try{return JSON.parse(window.localStorage.getItem(t))}catch(e){}}function c(t,e){try{window.localStorage.setItem(t,JSON.stringify(e))}catch(i){}}i.r(e),i.d(e,"debounce",(function(){return a})),i.d(e,"throttle",(function(){return n})),i.d(e,"set",(function(){return r})),i.d(e,"get",(function(){return o})),i.d(e,"getStore",(function(){return s})),i.d(e,"setStore",(function(){return c})),i.d(e,"clone",(function(){return _})),i.d(e,"cloneDeep",(function(){return y})),i.d(e,"getType",(function(){return d})),i.d(e,"getTypeof",(function(){return u})),i.d(e,"isObject",(function(){return f})),i.d(e,"isArray",(function(){return h})),i.d(e,"isFunction",(function(){return p})),i.d(e,"isString",(function(){return m})),i.d(e,"isBoolean",(function(){return v})),i.d(e,"isEmptyObj",(function(){return g})),i.d(e,"isNumber",(function(){return b})),i.d(e,"kebabToCamel",(function(){return k})),i.d(e,"camelToKebab",(function(){return x})),i.d(e,"unique",(function(){return w})),i.d(e,"getLinearValue",(function(){return C})),i.d(e,"getFnAndObjValue",(function(){return S})),i.d(e,"arrDelItem",(function(){return M})),i.d(e,"arrDelArrItem",(function(){return T})),i.d(e,"getArrMin",(function(){return P})),i.d(e,"getArrMax",(function(){return I})),i.d(e,"toArray",(function(){return O})),i.d(e,"noop",(function(){return E})),i.d(e,"extend",(function(){return D})),i.d(e,"isEqual",(function(){return A})),i.d(e,"hasOwn",(function(){return j}));var l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function d(t){return Object.prototype.toString.call(t)}function u(t){return"undefined"===typeof t?"undefined":l(t)}function f(t){return"[object Object]"===d(t)}function h(t){return"[object Array]"===d(t)}function p(t){return"[object Function]"===d(t)}function m(t){return"[object String]"===d(t)}function v(t){return"[object Boolean]"===d(t)}function g(t){return f(t)&&!Object.keys(t).length}function b(t){return"[object Number]"===d(t)}function _(t){return f(t)?Object.assign({},t):h(t)?t.slice():void 0}function y(t){return JSON.parse(JSON.stringify(t))}function k(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))}function x(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function w(t){var e=[];return t.forEach((function(t){~e.indexOf(t)||e.push(t)})),e}function C(t,e,i,a,n){var r=(a-e)/(i-t),o=e-t*r;return null==n?{k:r,b:o}:n*r+o}function S(t,e){return p(t)?t(e):f(t)&&null!=t[e]?t[e]:e}function M(t,e){return t.filter((function(t){return e!==t}))}var T=function(t,e){return t.filter((function(t){return!~e.indexOf(t)}))};function P(t){return Math.min.apply(null,t)}function I(t){return Math.max.apply(null,t)}function O(t){return Array.prototype.slice.call(t)}function E(){}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var D=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.showLoadingMore=!1),e.loading=!0,e.requestData.code=e.$route.params.code,o(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},doAction:function(t,e,i){this.currentTemplate=t;var a=this;a.newData={code:""},"edit"==e||"new"==e?(setTimeout((function(){a.form&&a.form.resetFields()}),0),a.actionInfo.modalStatus=!0,a.actionInfo.modalTitle="添加任务","edit"==e&&setTimeout((function(){a.actionInfo.modalTitle="编辑任务",a.form.setFieldsValue({name:t.name,sort:t.sort}),a.cover=t.cover,a.newData=t}),0)):"del"==e&&this.$confirm({title:"确定删除任务?",content:"删除任务「".concat(this.currentTemplate.name,"」后已以该任务创建的项目不受影响"),okText:"删除任务",okType:"danger",cancelText:"再想想",onOk:function(){return c(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})},handleSubmit:function(){var t=this;t.form.validateFields((function(e){e||t.handleOk()}))},handleOk:function(){var t=this;t.actionInfo.confirmLoading=!0;var e=t.form.getFieldsValue();e.template_code=this.$route.params.code,t.newData.code?e.code=t.newData.code:Object.assign(e,t.newData),s(e).then((function(e){t.actionInfo.confirmLoading=!1,Object(l["a"])(e)&&(t.form.resetFields(),t.newData={code:""},t.actionInfo.modalStatus=!1,t.init())}))},handleChange:function(t){var e=this;"uploading"!==t.file.status?"done"===t.file.status&&Object(l["e"])(t.file.originFileObj,(function(i){e.cover=t.file.response.data.url,e.uploadLoading=!1})):this.uploadLoading=!0},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("图片不能超过2MB!"),e}}},f=u,h=i("2877"),p=Object(h["a"])(f,a,n,!1,null,null,null);e["default"]=p.exports},"4d16":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i("9f99"),i("7dc1"),i("3e5a")},"4d49":function(t,e,i){"use strict";i("ea1a")},"4d9c":function(t,e,i){"use strict";i("8d18")},"4ddd":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getCloudCallList$=void 0;var r=i("c6b3"),o="biz.conference.getCloudCallList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.0"},n[r.ENV_ENUM.android]={vs:"6.0.0"},n[r.ENV_ENUM.pc]={vs:"6.0.9"},n)),e.getCloudCallList$=a,e.default=a},"4e08":function(t,e,i){(function(t){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof t&&(i=t.__DEV__),"undefined"===typeof i&&(i=!0);var a=i;e.__DEV__=a}).call(this,i("c8ba"))},"4e83":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5PcBridgeInit=void 0;var a=function(){return Promise.resolve(i("98e9"))};e.h5PcBridgeInit=a;var n=function(t,e){return new Promise((function(a,n){return i("98e9").invokeAPI(t,e).result.then((function(t){return"function"==typeof e.onSuccess&&e.onSuccess.call(null,t),a(t)}),(function(t){return"function"==typeof e.onFail&&e.onFail.call(null,t),n(t)}))}))};e.default=n},"4eeb":function(t,e,i){"use strict";function a(t,e,i){var a="Web"===i.platform,r="iOS"===i.platform,o="android"===i.platform,s=o||r,c=function(){return a?window.navigator.userAgent.toLowerCase():""}(),l=function(){var t={};if(a){var e=window.name;try{var i=JSON.parse(e);t.containerId=i.containerId,t.version=i.hostVersion,t.language=i.language||"*"}catch(t){}}return t}(),d=function(){return s?"DingTalk"===i.appName||"com.alibaba.android.rimet"===i.appName:c.indexOf("dingtalk")>-1||!!l.containerId}(),u=function(){if(a){if(l.version)return l.version;var t=c.match(/aliapp\(\w+\/([a-zA-Z0-9.-]+)\)/);return null===t&&(t=c.match(/dingtalk\/([a-zA-Z0-9.-]+)/)),t&&t[1]||"Unknown"}return i.appVersion}(),f=!!l.containerId,h=/iphone|ipod|ios/.test(c),p=/ipad/.test(c),m=c.indexOf("android")>-1,v=c.indexOf("mac")>-1&&f,g=c.indexOf("win")>-1&&f,b=!v&&!g&&f,_=f,y="";return y=d?h||r?n.PLATFORM.IOS:m||o?n.PLATFORM.ANDROID:p?n.PLATFORM.IPAD:v?n.PLATFORM.MAC:g?n.PLATFORM.WINDOWS:b?n.PLATFORM.BROWSER:n.PLATFORM.UNKNOWN:n.PLATFORM.UNKNOWN,{isDingTalk:d,isWebiOS:h,isWebAndroid:m,isWeexiOS:r,isWeexAndroid:o,isDingTalkPCMac:v,isDingTalkPCWeb:b,isDingTalkPCWindows:g,isDingTalkPC:_,runtime:t,framework:e,platform:y,version:u,isWeex:s}}Object.defineProperty(e,"__esModule",{value:!0});var n=i("46f8");e.default=a},"4f85":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("22d1"),o=i("eda2"),s=o.formatTime,c=o.encodeHTML,l=o.addCommas,d=o.getTooltipMarker,u=i("e0d3"),f=i("6cb7"),h=i("e47b"),p=i("38a2"),m=i("f934"),v=m.getLayoutParams,g=m.mergeLayoutParam,b=i("f47d"),_=b.createTask,y=i("0f99"),k=y.prepareSource,x=y.getSource,w=i("2b17"),C=w.retrieveRawValue,S=u.makeInner(),M=f.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,i,a){this.seriesIndex=this.componentIndex,this.dataTask=_({count:I,reset:O}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),k(this);var n=this.getInitialData(t,i);j(n,this),this.dataTask.context.data=n,S(this).dataBeforeProcessed=n,T(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,a=i?v(t):{},r=this.subType;f.hasClass(r)&&(r+="Series"),n.merge(t,e.getTheme().get(this.subType)),n.merge(t,this.getDefaultOption()),u.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&g(t,a,i)},mergeOption:function(t,e){t=n.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&g(this.option,t,i),k(this);var a=this.getInitialData(t,e);j(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,S(this).dataBeforeProcessed=a,T(this)},fillDataTextStyle:function(t){if(t&&!n.isTypedArray(t))for(var e=["show"],i=0;i":"\n",f="richText"===a,h={},p=0;function m(i){var o=n.reduce(i,(function(t,e,i){var a=g.getDimensionInfo(i);return t|(a&&!1!==a.tooltip&&null!=a.displayName)}),0),u=[];function m(t,i){var n=g.getDimensionInfo(i);if(n&&!1!==n.otherDims.tooltip){var m=n.type,v="sub"+r.seriesIndex+"at"+p,b=d({color:x,type:"subItem",renderMode:a,markerId:v}),_="string"===typeof b?b:b.content,y=(o?_+c(n.displayName||"-")+": ":"")+c("ordinal"===m?t+"":"time"===m?e?"":s("yyyy/MM/dd hh:mm:ss",t):l(t));y&&u.push(y),f&&(h[v]=x,++p)}}b.length?n.each(b,(function(e){m(C(g,t,e),e)})):n.each(i,m);var v=o?f?"\n":"
":"",_=v+u.join(v||", ");return{renderMode:a,content:_,style:h}}function v(t){return{renderMode:a,content:c(l(t)),style:h}}var g=this.getData(),b=g.mapDimension("defaultedTooltip",!0),_=b.length,y=this.getRawValue(t),k=n.isArray(y),x=g.getItemVisual(t,"color");n.isObject(x)&&x.colorStops&&(x=(x.colorStops[0]||{}).color),x=x||"transparent";var w=_>1||k&&!_?m(y):v(_?C(g,t,b[0]):k?y[0]:y),S=w.content,M=r.seriesIndex+"at"+p,T=d({color:x,type:"item",renderMode:a,markerId:M});h[M]=x,++p;var P=g.getName(t),I=this.name;u.isNameSpecified(this)||(I=""),I=I?c(I)+(e?": ":o):"";var O="string"===typeof T?T:T.content,E=e?O+I+S:I+O+(P?c(P)+": "+S:S);return{html:E,markers:h}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var a=this.ecModel,n=h.getColorFromPalette.call(this,t,e,i);return n||(n=a.getColorFromPalette(t,e,i)),n},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(t){var e=t.name;u.isNameSpecified(t)||(t.name=P(t)||e)}function P(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),a=[];return n.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&a.push(i.displayName)})),a.join(" ")}function I(t){return t.model.getRawData().count()}function O(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),E}function E(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function j(t,e){n.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,n.curry(D,e))}))}function D(t){var e=A(t);e&&e.setOutputEnd(this.count())}function A(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var a=i.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(t.uid))}return a}}n.mixin(M,p),n.mixin(M,h);var N=M;t.exports=N},"4fa2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.fetchData$=void 0;var r=i("c6b3"),o="biz.intent.fetchData";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.6"},n[r.ENV_ENUM.android]={vs:"2.7.6"},n)),e.fetchData$=a,e.default=a},"4fac":function(t,e,i){var a=i("620b"),n=i("9c2c");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=n(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var c=r.length,l=0;l<(i?c:c-1);l++){var d=s[2*l],u=s[2*l+1],f=r[(l+1)%c];t.bezierCurveTo(d[0],d[1],u[0],u[1],f[0],f[1])}}else{"spline"===o&&(r=a(r,i)),t.moveTo(r[0][0],r[0][1]);l=1;for(var h=r.length;l=2?(a>=3&&(this.state.percent=100),i()):(0===a&&(this.state.percent=10),i(new Error("密码强度不够")))},handlePasswordCheck:function(t,e,i){var a=this.form.getFieldValue("password");void 0===e&&i(new Error("请输入密码")),e&&a&&e.trim()!==a.trim()&&i(new Error("两次密码不一致")),i()},handlePhoneCheck:function(t,e,i){i()},handlePasswordInputClick:function(){this.state.passwordLevelChecked=!0},handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){if(!e){t.registerBtn=!0;var a=t.form.getFieldsValue();a.password=o()(a.password),a.password2=o()(a.password2),Object(s["y"])(a).then((function(e){if(t.registerBtn=!1,!Object(c["a"])(e))return!1;Object(l["b"])({title:"提示",msg:"注册成功,请登陆"},"notification","success"),t.$router.push({name:"login"})}))}}))},getCaptcha:function(t){var e=this;t.preventDefault();var i=this;this.form.validateFields(["mobile"],{force:!0},(function(t,a){if(!t){e.state.smsSendBtn=!0;var n=window.setInterval((function(){i.state.time--<=0&&(i.state.time=60,i.state.smsSendBtn=!1,window.clearInterval(n))}),1e3),r=e.$message.loading("验证码发送中..",0);Object(s["u"])(a.mobile).then((function(t){if(e.$message.destroy(),!Object(c["a"])(t))return!1;var i="验证码获取成功";t.data&&(i+=",您的验证码为:"+t.data),e.$notification["success"]({message:"提示",description:i,duration:8,placement:"bottomLeft"})})).catch((function(t){setTimeout(r,1),clearInterval(n),e.state.time=60,e.state.smsSendBtn=!1,e.requestFailed(t)}))}}))},requestFailed:function(t){this.$notification["error"]({message:"错误",description:((t.response||{}).data||{}).message||"请求出现错误,请稍后再试",duration:4}),this.registerBtn=!1}},watch:{"state.passwordLevel":function(t){}}},p=h,m=(i("ba6e"),i("ca30"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"52f5":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.get$=void 0;var r=i("c6b3"),o="biz.user.get";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.get$=a,e.default=a},"53cb":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createCloudCall$=void 0;var r=i("c6b3"),o="biz.conference.createCloudCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.0"},n[r.ENV_ENUM.android]={vs:"6.0.0"},n[r.ENV_ENUM.pc]={vs:"6.0.9"},n)),e.createCloudCall$=a,e.default=a},"54b9":function(t,e,i){},"54f9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.showPreloader$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.showPreloader",c=(0,o.genDefaultParamsDealFn)({text:"加载中...",showIcon:!0});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.showPreloader$=a,e.default=a},"551f":function(t,e,i){var a=i("282b"),n=a([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var i=n(this,t,e),a=this.getBorderLineDash();return a&&(i.lineDash=a),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},5575:function(t,e,i){"use strict";var a=i("ea60");i("8e36"),i("47fe"),t.exports=a},"562e":function(t,e,i){var a=i("6d8b");function n(t){null!=t&&a.extend(this,t),this.otherDims={}}var r=n;t.exports=r},5693:function(t,e){function i(t,e){var i,a,n,r,o,s=e.x,c=e.y,l=e.width,d=e.height,u=e.r;l<0&&(s+=l,l=-l),d<0&&(c+=d,d=-d),"number"===typeof u?i=a=n=r=u:u instanceof Array?1===u.length?i=a=n=r=u[0]:2===u.length?(i=n=u[0],a=r=u[1]):3===u.length?(i=u[0],a=r=u[1],n=u[2]):(i=u[0],a=u[1],n=u[2],r=u[3]):i=a=n=r=0,i+a>l&&(o=i+a,i*=l/o,a*=l/o),n+r>l&&(o=n+r,n*=l/o,r*=l/o),a+n>d&&(o=a+n,a*=d/o,n*=d/o),i+r>d&&(o=i+r,i*=d/o,r*=d/o),t.moveTo(s+i,c),t.lineTo(s+l-a,c),0!==a&&t.arc(s+l-a,c+a,a,-Math.PI/2,0),t.lineTo(s+l,c+d-n),0!==n&&t.arc(s+l-n,c+d-n,n,0,Math.PI/2),t.lineTo(s+r,c+d),0!==r&&t.arc(s+r,c+d-r,r,Math.PI/2,Math.PI),t.lineTo(s,c+i),0!==i&&t.arc(s+i,c+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},5753:function(t,e,i){"use strict";i("1820")},5772:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.androidWeexBridge=e.iosWeexBridge=e.requireModule=void 0;var a=1,n="0",r=function(t){return"undefined"!=typeof __weex_require__?__weex_require__("@weex-module/".concat(t)):"undefined"!=typeof weex?weex.requireModule(t):void 0};e.requireModule=r;var o=function(){return Promise.resolve((function(t,i){return new Promise((function(a,r){var o=(0,e.requireModule)("nuvajs-exec"),s=t.split("."),c=s.pop(),l=s.join(".");o.exec({plugin:l,action:c,args:i},(function(t){t&&t.errorCode===n?("function"==typeof i.onSuccess&&i.onSuccess(t.result),a(t.result)):("function"==typeof i.onFail&&i.onFail(t.result),r(t.result))}))}))}))};e.iosWeexBridge=o;var s=function(){return Promise.resolve((function(t,i){return new Promise((function(n,r){var o=(0,e.requireModule)("nuvajs-exec"),s=t.split("."),c=s.pop(),l=s.join(".");o.exec({plugin:l,action:c,args:i},(function(t){var e={};try{if(t&&t.__message__)if("object"==typeof t.__message__)e=t.__message__;else try{e=JSON.parse(t.__message__)}catch(i){"string"==typeof t.__message__&&(e=t.__message__)}}catch(t){}t&&parseInt(t.__status__+"",10)===a?("function"==typeof i.onSuccess&&i.onSuccess(e),n(e)):("function"==typeof i.onFail&&i.onFail(e),r(e))}))}))}))};e.androidWeexBridge=s},"585f":function(t,e,i){"use strict";function a(t){return"function"==typeof t}function n(t,e){function i(t){return parseInt(t,10)||0}for(var a=t.split(".").map(i),n=e.split(".").map(i),r=0;rn[r])return!0}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=e.APP_TYPE=e.ENV_ENUM_SUB=e.ENV_ENUM=e.ERROR_CODE=e.compareVersion=e.isFunction=void 0,e.isFunction=a,e.compareVersion=n,function(t){t.cancel="-1",t.not_exist="1",t.no_permission="7",t.jsapi_internal_error="22"}(e.ERROR_CODE||(e.ERROR_CODE={})),function(t){t.pc="pc",t.android="android",t.ios="ios",t.notInDingTalk="notInDingTalk"}(e.ENV_ENUM||(e.ENV_ENUM={})),function(t){t.mac="mac",t.win="win",t.noSub="noSub"}(e.ENV_ENUM_SUB||(e.ENV_ENUM_SUB={})),function(t){t.WEB="WEB",t.MINI_APP="MINI_APP",t.WEEX="WEEX",t.WEBVIEW_IN_MINIAPP="WEBVIEW_IN_MINIAPP",t.WEEX_WIDGET="WEEX_WIDGET"}(e.APP_TYPE||(e.APP_TYPE={})),function(t){t[t.INFO=1]="INFO",t[t.WARNING=2]="WARNING",t[t.ERROR=3]="ERROR"}(e.LogLevel||(e.LogLevel={}))},"58df":function(t,e,i){var a=i("6d8b"),n=i("2306");function r(t,e,i,r){var o=i.axis;if(!o.scale.isBlank()){var s=i.getModel("splitArea"),c=s.getModel("areaStyle"),l=c.get("color"),d=r.coordinateSystem.getRect(),u=o.getTicksCoords({tickModel:s,clamp:!0});if(u.length){var f=l.length,h=t.__splitAreaColors,p=a.createHashMap(),m=0;if(h)for(var v=0;vt.length)&&(e=t.length);for(var i=0,a=new Array(e);i1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[i.joined?[e("a-icon",{attrs:{type:"user"}}),e("span",[t._v(" 已加入")])]:e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.invite(i)}}},[t._v("添加")])],2),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-modal",{staticClass:"invite-link",attrs:{width:600,title:t.linkInfo.modalTitle,footer:null},model:{value:t.linkInfo.modalStatus,callback:function(e){t.$set(t.linkInfo,"modalStatus",e)},expression:"linkInfo.modalStatus"}},[e("div",{staticClass:"header"},[e("p",[t._v("链接有效日期:"+t._s(t.linkInfo.overTime))]),e("a-input-search",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.linkInfo.link,expression:"linkInfo.link",arg:"copy"}],attrs:{size:"large",enterButton:"复制链接"},model:{value:t.linkInfo.link,callback:function(e){t.$set(t.linkInfo,"link",e)},expression:"linkInfo.link"}})],1)])],1)}),p=[],m=(i("28a5"),i("c5f6"),i("c1df")),v=i.n(m),g=i("7dc6"),b=i("2f14"),_=i("82f8"),y={name:"inviteDepartmentMember",props:{value:{type:Boolean,default:function(){return!1}},departmentCode:{type:[String,Number],default:function(){return""}}},data:function(){return{form:this.$form.createForm(this),actionInfo:{modalStatus:this.value,confirmLoading:!1,modalTitle:this.departmentCode?"添加成员至部门":"添加成员至组织"},linkInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"邀请成员",link:"",overTime:""},keyword:"",searching:!1,list:[]}},watch:{value:function(t){this.actionInfo.modalStatus=t},keyword:function(){this.search()}},created:function(){var t=this;this.departmentCode&&(this.searching=!0,Object(g["d"])(this.keyword,this.departmentCode).then((function(e){t.searching=!1,t.list=e.data})))},methods:{invite:function(t){var e=this;Object(g["b"])(t.accountCode,this.departmentCode).then((function(i){var a=Object(b["a"])(i);a&&(t.joined=!0,e.$emit("update",t))}))},createInviteLink:function(){var t=this;this.linkInfo.link?this.linkInfo.modalStatus=!0:Object(_["b"])({inviteType:"organization",sourceCode:this.$store.state.currentOrganization.code}).then((function(e){var i=Object(b["a"])(e);i&&(t.linkInfo.modalStatus=!0,t.linkInfo.link=window.location.href.split("#")[0]+"#/invite_from_link/"+e.data.code,t.linkInfo.overTime=v()(e.data.over_time).format("YYYY年M月D日 HH:mm"))}))},search:f.a.debounce((function(){var t=this;if(this.keyword||(this.list=[]),this.keyword.length<=1)return!1;this.searching=!0,Object(g["d"])(this.keyword,this.departmentCode).then((function(e){t.searching=!1,t.list=e.data}))}),500),cancel:function(){this.actionInfo.modalStatus=!1,this.$emit("input",this.actionInfo.modalStatus)}}},k=y,x=(i("5fa2"),i("2877")),w=Object(x["a"])(k,h,p,!1,null,null,null),C=w.exports,S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"create-department member-menu"},[e("div",{staticClass:"header"},[t._v("\n "+t._s(t.actionType)+t._s(t.actionTitle)+"\n ")]),e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"".concat(t.actionTitle,"名称")},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("a-icon",{staticClass:"muted",attrs:{slot:"prefix",type:"bulb"},slot:"prefix"})],1),t.parentDepartmentCode?e("div",{staticClass:"info"},[e("span",{staticClass:"muted"},[t._v("隶属于:"+t._s(t.parentDepartment.name))])]):t._e()],1),e("div",{staticClass:"actions"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",size:"large",block:"",loading:t.loading,disabled:t.disabled||t.loading},on:{click:t.doAction,pressEnter:t.doAction}},[t._v(t._s(t.actionType)+"\n ")])],1)])},M=[],T=i("0e8f"),P=i("97a8"),I={name:"createDepartment",props:{departmentCode:{type:[String,Boolean],default:function(){return""}},parentDepartmentCode:{type:[String,Boolean],default:function(){return""}}},data:function(){return{name:"",loading:!1,department:{},parentDepartment:{}}},computed:{actionType:function(){return this.departmentCode?"编辑":"创建"},actionTitle:function(){return this.parentDepartmentCode?"子部门":"部门"},disabled:function(){return!this.name.trim()}},created:function(){this.init()},methods:{init:function(){var t=this;this.departmentCode&&Object(T["d"])(this.departmentCode).then((function(e){t.department=e.data,t.name=e.data.name})),this.parentDepartmentCode&&Object(T["d"])(this.parentDepartmentCode).then((function(e){t.parentDepartment=e.data}))},doAction:function(){var t=this;if(this.name=this.name.trim(),!this.name)return!1;var e={departmentCode:this.departmentCode,parentDepartmentCode:this.parentDepartmentCode,name:this.name};this.loading=!0,Object(T["b"])(e).then((function(e){if(t.loading=!1,!Object(b["a"])(e))return!1;Object(P["b"])({title:"".concat(t.actionType,"部门成功")},"notice","success"),t.$emit("update",e.data),t.departmentCode&&t.$emit("edit",t.name)}))}}},O=I,E=(i("c84e"),Object(x["a"])(O,S,M,!1,null,null,null)),j=E.exports,D=i("c24f"),A=i("1b80"),N=i("68fe"),L={name:"members",components:{inviteDepartmentMember:C,createDepartment:j},mixins:[A["a"]],data:function(){return{keyword:"",selectedKeys:["0"],menus:[{icon:"team",title:"所有成员"},{icon:"usergroup-add",title:"新加入的成员"},{icon:"user",title:"未分配部门的成员"},{icon:"stop",title:"停用的成员"}],currentMenu:{},currentDepartmentCode:"",currentTreeNode:"",treeData:[],departmentLoading:!1,loading:!1,members:[],showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,showCreateDepartment:!1,showEditDepartment:!1,showCreateChildDepartment:!1,downLoadUrl:Object(b["h"])("project/department_member/_downloadTemplate"),uploadLoading:!1,uploadAction:Object(b["c"])("project/department_member/uploadFile")}},computed:{actionTitle:function(){return this.currentDepartmentCode?"部门":"组织"},headers:function(){var t=Object(b["d"])(),e=Object(N["a"])("currentOrganization",!0);return e&&(t.organizationCode=e.code),t}},watch:{keyword:function(){this.search()}},created:function(){this.currentMenu=this.menus[0],this.getMembers({key:0}),this.getDepartment()},methods:{getDepartment:function(){var t=this;this.departmentLoading=!0,Object(T["c"])({page:1,pageSize:100}).then((function(e){var i=[];e.data.list&&e.data.list.forEach((function(t){i.push({key:t.code,title:t.name,isLeaf:!t.hasNext,scopedSlots:{icon:"custom"}})})),t.treeData=i,t.departmentLoading=!1}))},getMembers:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this;void 0!=e&&(this.currentDepartmentCode="",this.currentMenu=this.menus[e],this.selectedKeys=[e.toString()],this.requestData.searchType=e),a.loading=!0,i&&(this.pagination.page=1),Object(D["w"])(this.requestData).then((function(t){a.members=i?t.data.list:a.members.concat(t.data.list),a.pagination.total=t.data.total,a.showLoadingMore=a.pagination.total>a.members.length,a.loading=!1,a.loadingMore=!1}))},search:f.a.debounce((function(){if(this.keyword||(this.list=[]),this.keyword.length<=1)return!1;this.requestData.keyword=this.keyword,this.getMembers()}),500),onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getMembers({},!1)},onSelect:function(t,e){this.selectedKeys=[],this.currentMenu=e.node.dataRef,this.currentDepartmentCode=e.node.dataRef.key,this.currentTreeNode=e.node;var i=this;this.requestData.searchType=4,this.requestData.departmentCode=e.node.dataRef.key,i.loading=!0,Object(D["w"])(this.requestData).then((function(t){i.members=t.data.list,i.pagination.total=t.data.total,i.showLoadingMore=i.pagination.total>i.members.length,i.loading=!1,i.loadingMore=!1}))},onLoadData:function(t){var e=this;return new Promise((function(i){Object(T["c"])({page:1,pageSize:100,pcode:t.dataRef.key}).then((function(a){var n=[];a.data.list.length&&a.data.list.forEach((function(t){n.push({key:t.code,title:t.name,isLeaf:!t.hasNext,scopedSlots:{icon:"custom"}})})),t.dataRef.isLeaf=!n.length>0,t.dataRef.children=n,e.treeData=d(e.treeData),i()}))}))},createDepartmentSuccess:function(t){var e=d(this.treeData);e.push({key:t.code,title:t.name,isLeaf:!0,scopedSlots:{icon:"custom"}}),this.treeData=[],this.treeData=e,this.showCreateDepartment=!1},createChildDepartmentSuccess:function(){this.onLoadData(this.currentTreeNode),this.showCreateChildDepartment=!1},editDepartmentSuccess:function(t){this.currentTreeNode.dataRef.title=t,this.showEditDepartment=!1},deleteDepartment:function(){var t=this;this.$confirm({title:"您确定要删除当前部门吗?",content:"删除部门会同时删除其子部门,部门中的成员不会被移出组织。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(T["a"])(t.currentDepartmentCode).then((function(e){Object(b["a"])(e)&&(t.currentTreeNode.$parent.dataRef?(t.onLoadData(t.currentTreeNode.$parent),t.onSelect(null,{node:t.currentTreeNode.$parent})):(t.getMembers({key:0}),t.getDepartment()),Object(P["b"])({title:"删除成功"},"notice","success"))})),Promise.resolve()}})},forbidAccount:function(t,e){var i=this;this.$confirm({title:"您确定要停用当前帐号吗?",content:"被停用的帐号将无法访问该".concat(this.actionTitle,",但帐号信息仍保留,方便工作交接和管理。支持帐号恢复"),okText:"停用",okType:"danger",cancelText:"再想想",onOk:function(){return Object(D["t"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"已成功停用账号"},"notice","success"))})),Promise.resolve()}})},setLiasionMan:function(t,e){var i=this;this.$confirm({title:"您确定要".concat(0==e?"":"取消","设置").concat(t.name,"为").concat(t.departments,"的联络员吗?"),content:"",okText:"确认",okType:"primary",cancelText:"再想想",onOk:function(){return Object(D["v"])({member_code:t.member_code,type:0==e?1:0}).then((function(a){Object(b["a"])(a)&&(Object(P["b"])({title:0==e?"设置联络员成功":"取消联络员成功"},"notice","success"),i.members.forEach((function(i){i.member_code==t.member_code&&(i.is_liaison_man=0==e?1:0)})))})),Promise.resolve()}})},resumeAccount:function(t,e){var i=this;this.$confirm({title:"您确定要启用账号吗?",content:"被启用的帐号将重新加入该".concat(this.actionTitle),okText:"启用",okType:"primary",cancelText:"再想想",onOk:function(){return Object(D["z"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"已成功启用账号"},"notice","success"))})),Promise.resolve()}})},deleteAccount:function(t,e){var i=this;this.$confirm({title:"确认从".concat(this.actionTitle,"中移除成员吗?"),content:"移除后该账号在".concat(this.actionTitle,"内的相关信息将会被清除"),okText:"移除",okType:"danger",cancelText:"再想想",onOk:function(){return i.currentDepartmentCode?Object(g["c"])(t.code,i.currentDepartmentCode).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})):Object(D["o"])(t.code).then((function(t){Object(b["a"])(t)&&(i.members.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})),Promise.resolve()}})},emitEmpty:function(){this.$refs.keywordInput.focus(),this.keyword="",this.requestData.keyword="",this.getMembers()},handleChange:function(t){if("uploading"===t.file.status)return Object(P["b"])("正在导入,请稍后...","message","loading",0),void(this.uploadLoading=!0);if("done"===t.file.status&&(console.log(t),this.uploadLoading=!1,Object(b["a"])(t.file.response,!0))){t.file.response.data;Object(P["b"])("导入成功","message","success"),this.getMembers()}},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("文件不能超过2MB!"),e}}},$=L,V=(i("449a"),Object(x["a"])($,a,n,!1,null,null,null));e["default"]=V.exports},"5f66":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.replace$=void 0;var r=i("c6b3"),o="biz.navigation.replace";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.6"},n[r.ENV_ENUM.android]={vs:"3.4.6"},n)),e.replace$=a,e.default=a},"5f9e":function(t,e,i){"use strict";function a(t){return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/resource-picker/".concat(r.isMobile?"mob":"index",".html?scene=addCoolAppToGroup¶ms=").concat(encodeURIComponent(JSON.stringify(t))),target:r.isMobile?"":"float",title:"选择群添加应用",wnId:"addCoolAppToGroup",panelHeight:"percent90"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.installCoolAppToGroup=void 0,i("c526");var n=i("5575"),r=i("2983");e.installCoolAppToGroup=a},"5fa2":function(t,e,i){"use strict";i("9bf0")},"5ffd":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.complexPicker$=void 0;var r=i("c6b3"),o="biz.contact.complexPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.3.5"},n)),e.complexPicker$=a,e.default=a},6023:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.saveFile$=void 0;var r=i("c6b3"),o="biz.cspace.saveFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.7.6"},n[r.ENV_ENUM.android]={vs:"2.7.6"},n)),e.saveFile$=a,e.default=a},"607d":function(t,e,i){var a=i("1fab");e.Dispatcher=a;var n=i("22d1"),r=i("65ed"),o=r.isCanvasEl,s=r.transformCoordWithViewport,c="undefined"!==typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=[];function u(t,e,i,a){return i=i||{},a||!n.canvasSupported?f(t,e,i):n.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):f(t,e,i),i}function f(t,e,i){if(n.domSupported&&t.getBoundingClientRect){var a=e.clientX,r=e.clientY;if(o(t)){var c=t.getBoundingClientRect();return i.zrX=a-c.left,void(i.zrY=r-c.top)}if(s(d,t,a,r))return i.zrX=d[0],void(i.zrY=d[1])}i.zrX=i.zrY=0}function h(t){return t||window.event}function p(t,e,i){if(e=h(e),null!=e.zrX)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var r="touchend"!==a?e.targetTouches[0]:e.changedTouches[0];r&&u(t,r,e,i)}else u(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&l.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function m(t,e,i,a){c?t.addEventListener(e,i,a):t.attachEvent("on"+e,i)}function v(t,e,i,a){c?t.removeEventListener(e,i,a):t.detachEvent("on"+e,i)}var g=c?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function b(t){return 2===t.which||3===t.which}function _(t){return t.which>1}e.clientToLocal=u,e.getNativeEvent=h,e.normalizeEvent=p,e.addEventListener=m,e.removeEventListener=v,e.stop=g,e.isMiddleOrRightButtonOnMouseUpDown=b,e.notLeftMouse=_},6105:function(t,e,i){"use strict";i("b87d")},6158:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5IosBridgeInit=void 0;var a,n=function(){return a||(a=new Promise((function(t,e){if("undefined"!=typeof WebViewJavascriptBridge){try{WebViewJavascriptBridge.init((function(t,e){}))}catch(t){return e()}return t({})}document.addEventListener("WebViewJavascriptBridgeReady",(function(){if("undefined"==typeof WebViewJavascriptBridge)return e();try{WebViewJavascriptBridge.init((function(t,e){}))}catch(t){return e()}return t({})}),!1)}))),a};e.h5IosBridgeInit=n;var r=function(t,i){return a||(a=(0,e.h5IosBridgeInit)()),a.then((function(){var e=Object.assign({},i);return new Promise((function(i,a){if(!0===e.watch){var n=e.onSuccess;delete e.onSuccess,"undefined"!=typeof WebViewJavascriptBridge&&WebViewJavascriptBridge.registerHandler(t,(function(t,e){"function"==typeof n&&n.call(null,t),e&&e({errorCode:"0",errorMessage:"success"})}))}void 0!==window.WebViewJavascriptBridge&&window.WebViewJavascriptBridge.callHandler(t,Object.assign({},e),(function(t){var n=t||{};"0"===n.errorCode?("function"==typeof e.onSuccess&&e.onSuccess.call(null,n.result),i(n.result)):("-1"===n.errorCode&&"function"==typeof e.onCancel?e.onCancel.call(null,n,n.errorCode):"function"==typeof e.onFail&&e.onFail.call(null,n,n.errorCode),a(n))}))}))}))};e.default=r},6179:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("4319"),o=i("80f0"),s=i("ec6f"),c=i("2b17"),l=c.defaultDimValueGetters,d=c.DefaultDataProvider,u=i("2f45"),f=u.summarizeDimensions,h=i("562e"),p=n.isObject,m="undefined",v=-1,g="e\0\0",b={float:typeof Float64Array===m?Array:Float64Array,int:typeof Int32Array===m?Array:Int32Array,ordinal:Array,number:Array,time:Array},_=typeof Uint32Array===m?Array:Uint32Array,y=typeof Int32Array===m?Array:Int32Array,k=typeof Uint16Array===m?Array:Uint16Array;function x(t){return t._rawCount>65535?_:k}function w(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],S=["_extent","_approximateExtent","_rawExtent"];function M(t,e){n.each(C.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,n.each(S,(function(i){t[i]=n.clone(e[i])})),t._calculationInfo=n.extend(e._calculationInfo)}var T=function(t,e){t=t||["x","y"];for(var i={},a=[],r={},o=0;o=0?this._indices[t]:-1}function A(t,e){var i=t._idList[e];return null==i&&(i=E(t,t._idDimIdx,e)),null==i&&(i=g+e),i}function N(t){return n.isArray(t)||(t=[t]),t}function L(t,e){var i=t.dimensions,a=new T(n.map(i,t.getDimensionInfo,t),t.hostModel);M(a,t);for(var r=a._storage={},o=t._storage,s=0;s=0?(r[c]=$(o[c]),a._rawExtent[c]=V(),a._extent[c]=null):r[c]=o[c])}return a}function $(t){for(var e=new Array(t.length),i=0;i_[1]&&(_[1]=b)}e&&(this._nameList[h]=e[p])}this._rawCount=this._count=c,this._extent={},O(this)},P._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,a=this._chunkSize,n=this._rawData,r=this._storage,o=this.dimensions,s=o.length,c=this._dimensionInfos,l=this._nameList,d=this._idList,u=this._rawExtent,f=this._nameRepeatCount={},h=this._chunkCount,p=0;pC[1]&&(C[1]=w)}if(!n.pure){var S=l[b];if(g&&null==S)if(null!=g.name)l[b]=S=g.name;else if(null!=i){var M=o[i],T=r[M][_];if(T){S=T[y];var P=c[M].ordinalMeta;P&&P.categories.length&&(S=P.categories[S])}}var E=null==g?null:g.id;null==E&&null!=S&&(f[S]=f[S]||0,E=S,f[S]>0&&(E+="__ec__"+f[S]),f[S]++),null!=E&&(d[b]=E)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent={},O(this)}},P.count=function(){return this._count},P.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){n=new e(i);for(var a=0;a=0&&e=0&&es&&(s=l)}return a=[o,s],this._extent[t]=a,a},P.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},P.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},P.getCalculationInfo=function(t){return this._calculationInfo[t]},P.setCalculationInfo=function(t,e){p(t)?n.extend(this._calculationInfo,t):this._calculationInfo[t]=e},P.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var a=0,n=this.count();a=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return r;n=r-1}}return-1},P.indicesOfNearest=function(t,e,i){var a=this._storage,n=a[t],r=[];if(!n)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,c=0,l=0,d=this.count();l=0&&s<0)&&(o=f,s=u,c=0),u===s&&(r[c++]=l))}return r.length=c,r},P.getRawIndex=j,P.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=l&&b<=d||isNaN(b))&&(o[s++]=f),f++}u=!0}else if(2===a){h=this._storage[c];var _=this._storage[e[1]],y=t[e[1]][0],k=t[e[1]][1];for(p=0;p=l&&b<=d||isNaN(b))&&(C>=y&&C<=k||isNaN(C))&&(o[s++]=f),f++}}u=!0}}if(!u)if(1===a)for(g=0;g=l&&b<=d||isNaN(b))&&(o[s++]=S)}else for(g=0;gt[T][1])&&(M=!1)}M&&(o[s++]=this.getRawIndex(g))}return sx[1]&&(x[1]=k)}}}return r},P.downSample=function(t,e,i,a){for(var n=L(this,[t]),r=n._storage,o=[],s=Math.floor(1/e),c=r[t],l=this.count(),d=this._chunkSize,u=n._rawExtent[t],f=new(x(this))(l),h=0,p=0;pl-p&&(s=l-p,o.length=s);for(var m=0;mu[1]&&(u[1]=_),f[h++]=y}return n._count=h,n._indices=f,n.getRawIndex=D,n},P.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},P.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},P.getVisual=function(t){var e=this._visual;return e&&e[t]},P.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},P.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},P.getLayout=function(t){return this._layout[t]},P.getItemLayout=function(t){return this._itemLayouts[t]},P.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?n.extend(this._itemLayouts[t]||{},e):e},P.clearItemLayouts=function(){this._itemLayouts.length=0},P.getItemVisual=function(t,e,i){var a=this._itemVisuals[t],n=a&&a[e];return null!=n||i?n:this.getVisual(e)},P.setItemVisual=function(t,e,i){var a=this._itemVisuals[t]||{},n=this.hasItemVisual;if(this._itemVisuals[t]=a,p(e))for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r],n[r]=!0);else a[e]=i,n[e]=!0},P.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var R=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};P.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(R,e)),this._graphicEls[t]=e},P.getItemGraphicEl=function(t){return this._graphicEls[t]},P.eachItemGraphicEl=function(t,e){n.each(this._graphicEls,(function(i,a){i&&t&&t.call(e,i,a)}))},P.cloneShallow=function(t){if(!t){var e=n.map(this.dimensions,this.getDimensionInfo,this);t=new T(e,this.hostModel)}if(t._storage=this._storage,M(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?D:j,t},P.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(n.slice(arguments)))})},P.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],P.CHANGABLE_METHODS=["filterSelf","selectRange"];var z=T;t.exports=z},"620b":function(t,e,i){var a=i("401b"),n=a.distance;function r(t,e,i,a,n,r,o){var s=.5*(i-t),c=.5*(a-e);return(2*(e-i)+s+c)*o+(-3*(e-i)-2*s-c)*r+s*n+e}function o(t,e){for(var i=t.length,a=[],o=0,s=1;si-2?i-1:h+1],u=t[h>i-3?i-1:h+2]);var v=p*p,g=p*v;a.push([r(l[0],m[0],d[0],u[0],p,v,g),r(l[1],m[1],d[1],u[1],p,v,g)])}return a}t.exports=o},"620f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startRealtimeTracing$=void 0;var r=i("c6b3"),o="biz.realm.startRealtimeTracing";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.13"},n)),e.startRealtimeTracing$=a,e.default=a},"625e":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function c(t){n.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function l(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return n.extend(i.prototype,t),i.extend=this.extend,i.superCall=f,i.superApply=h,n.inherits(i,this),i.superClass=e,i}}var d=0;function u(t){var e=["__\0is_clz",d++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function f(t,e){var i=n.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function h(t,e,i){return this.superClass.prototype[e].apply(t,i)}function p(t,e){e=e||{};var i={};function a(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(c(e),e=s(e),e.sub){if(e.sub!==o){var n=a(e);n[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,a){var n=i[t];if(n&&n[o]&&(n=e?n[e]:null),a&&!n)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return n},t.getClassesByMainType=function(t){t=s(t);var e=[],a=i[t.main];return a&&a[o]?n.each(a,(function(t,i){i!==o&&e.push(t)})):e.push(a),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return n.each(i,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var i=r.call(this,e);return t.registerClass(i,e.type)})}return t}function m(t,e){}e.parseClassType=s,e.enableClassExtend=l,e.enableClassCheck=u,e.enableClassManagement=p,e.setReadOnly=m},"62e49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.externalEditForm$=void 0;var r=i("c6b3"),o="biz.contact.externalEditForm";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.0"},n[r.ENV_ENUM.android]={vs:"3.0"},n)),e.externalEditForm$=a,e.default=a},"63da":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openApp$=void 0;var r=i("c6b3"),o="biz.microApp.openApp";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.6"},n[r.ENV_ENUM.android]={vs:"4.5.6"},n)),e.openApp$=a,e.default=a},6413:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseConversationByCorpId$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.chat.chooseConversationByCorpId",c=(0,o.genDefaultParamsDealFn)({max:50});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.6.0",paramsDeal:c},n[r.ENV_ENUM.pc]={vs:"4.7.11",paramsDeal:c},n)),e.chooseConversationByCorpId$=a,e.default=a},"6428c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.makeMiniCourse$=void 0;var r=i("c6b3"),o="biz.edu.makeMiniCourse";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.makeMiniCourse$=a,e.default=a},"64f9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.nfcRead$=void 0;var r=i("c6b3"),o="device.nfc.nfcRead";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.11.0"},n[r.ENV_ENUM.android]={vs:"2.11.0"},n)),e.nfcRead$=a,e.default=a},6521:function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var n=i("4cbb"),r=a(i("3eba"));i("007d"),i("d28f");var o=a(i("7e03")),s=i("89d6"),c={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-component-loading"},[i("div",{staticClass:"loader"},[i("div",{staticClass:"loading-spinner"},[i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])])},staticRenderFns:[]},l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-data-empty"},[t._v(" 暂无数据 ")])},staticRenderFns:[]},d=Object.assign||function(t){for(var e=1;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[c]+":0",n[l]+":0",a[1-c]+":auto",n[1-l]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function u(t,e,i){for(var a=i?"invTrans":"trans",n=e[a],o=e.srcCoords,s=!0,c=[],l=[],d=0;d<4;d++){var u=t[d].getBoundingClientRect(),f=2*d,h=u.left,p=u.top;c.push(h,p),s=s&&o&&h===o[f]&&p===o[f+1],l.push(t[d].offsetLeft,t[d].offsetTop)}return s&&n?n:(e.srcCoords=c,e[a]=i?r(l,c):r(c,l))}function f(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=c,e.transformCoordWithViewport=l,e.isCanvasEl=f},"662f":function(t,e,i){"use strict";i("a1f3")},6632:function(t,e,i){},6649:function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o}));var a=i("22b6");function n(t){return a["a"].post("project/project_template",t)}function r(t){var e="project/project_template/save";return t.code&&(e="project/project_template/edit"),a["a"].post(e,t)}function o(t){return a["a"].post("project/project_template/delete",{code:t})}},6679:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3eba")),r=i("cd33"),o=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,a){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,a,!0)},updateAxisPointer:function(t,e,i,a,n){s(this,t,e,i,a,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){c(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,a,n,s){var l=o.getAxisPointerClass(t.axisPointerClass);if(l){var d=r.getAxisPointerModel(e);d?(t._axisPointer||(t._axisPointer=new l)).render(e,d,a,s):c(t,a)}}function c(t,e,i){var a=t._axisPointer;a&&a.dispose(e,i),t._axisPointer=null}var l=[];o.registerAxisPointerClass=function(t,e){l[t]=e},o.getAxisPointerClass=function(t){return t&&l[t]};var d=o;t.exports=d},6765:function(t,e,i){},"676f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getMiniCourseDraftList$=void 0;var r=i("c6b3"),o="biz.edu.getMiniCourseDraftList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.getMiniCourseDraftList$=a,e.default=a},"678b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.scan$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.util.scan",c=(0,o.genDefaultParamsDealFn)({type:"qrCode"});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.scan$=a,e.default=a},"67cc":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3eba")),r=i("6d8b"),o=i("2306"),s=i("e7aa"),c=s.setLabel,l=i("4319"),d=i("b5c7"),u=i("cbe5"),f=i("e1fc"),h=i("88b3"),p=h.throttle,m=i("b0af"),v=m.createClipPath,g=i("c2be"),b=["itemStyle","barBorderWidth"],_=[0,0];function y(t,e){var i=t.getArea&&t.getArea();if("cartesian2d"===t.type){var a=t.getBaseAxis();if("category"!==a.type||!a.onBand){var n=e.getLayout("bandWidth");a.isHorizontal()?(i.x-=n,i.width+=2*n):(i.y-=n,i.height+=2*n)}}return i}r.extend(l.prototype,d);var k=n.extendChartView({type:"bar",render:function(t,e,i){this._updateDrawMode(t);var a=t.get("coordinateSystem");return"cartesian2d"!==a&&"polar"!==a||(this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i)),this.group},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,a){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var a,n=this.group,r=t.getData(),s=this._data,c=t.coordinateSystem,l=c.getBaseAxis();"cartesian2d"===c.type?a=l.isHorizontal():"polar"===c.type&&(a="angle"===l.dim);var d=t.isAnimationEnabled()?t:null,u=t.get("clip",!0),h=y(c,r);n.removeClipPath();var p=t.get("roundCap",!0),m=t.get("showBackground",!0),v=t.getModel("backgroundStyle"),g=v.get("barBorderRadius")||0,b=[],_=this._backgroundEls||[],k=function(t){var e=P[c.type](r,t),i=R(c,a,e);return i.useStyle(v.getBarItemStyle()),"cartesian2d"===c.type&&i.setShape("r",g),b[t]=i,i};r.diff(s).add((function(e){var i=r.getItemModel(e),o=P[c.type](r,e,i);if(m&&k(e),r.hasValue(e)){if(u){var s=C[c.type](h,o);if(s)return void n.remove(l)}var l=S[c.type](e,o,a,d,!1,p);r.setItemGraphicEl(e,l),n.add(l),O(l,r,e,i,o,t,a,"polar"===c.type)}})).update((function(e,i){var l=r.getItemModel(e),f=P[c.type](r,e,l);if(m){var y;0===_.length?y=k(i):(y=_[i],y.useStyle(v.getBarItemStyle()),"cartesian2d"===c.type&&y.setShape("r",g),b[e]=y);var x=P[c.type](r,e),w=V(a,x,c);o.updateProps(y,{shape:w},d,e)}var M=s.getItemGraphicEl(i);if(r.hasValue(e)){if(u){var T=C[c.type](h,f);if(T)return void n.remove(M)}M?o.updateProps(M,{shape:f},d,e):M=S[c.type](e,f,a,d,!0,p),r.setItemGraphicEl(e,M),n.add(M),O(M,r,e,l,f,t,a,"polar"===c.type)}else n.remove(M)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===c.type?e&&M(t,d,e):e&&T(t,d,e)})).execute();var x=this._backgroundGroup||(this._backgroundGroup=new f);x.removeAll();for(var w=0;w0?1:-1,o=a.height>0?1:-1;return{x:a.x+r*n/2,y:a.y+o*n/2,width:a.width-r*n,height:a.height-o*n}},polar:function(t,e,i){var a=t.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle}}};function I(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function O(t,e,i,a,n,s,l,d){var u=e.getItemVisual(i,"color"),f=e.getItemVisual(i,"opacity"),h=e.getVisual("borderColor"),p=a.getModel("itemStyle"),m=a.getModel("emphasis.itemStyle").getBarItemStyle();d||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:I(n)?"none":h,fill:I(n)?"none":u,opacity:f},p.getBarItemStyle()));var v=a.getShallow("cursor");v&&t.attr("cursor",v);var g=l?n.height>0?"bottom":"top":n.width>0?"left":"right";d||c(t.style,m,a,u,s,i,g),I(n)&&(m.fill=m.stroke="none"),o.setHoverStyle(t,m)}function E(t,e){var i=t.get(b)||0,a=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),n=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,a,n)}var j=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,a=this.__startPoint,n=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function N(t,e,i){var a=t.__baseDimIdx,n=1-a,r=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),c=t.__startPoint[n];_[0]=e,_[1]=i;for(var l=_[a],d=_[1-a],u=l-s,f=l+s,h=0,p=r.length/2;h=u&&v<=f&&(c<=g?d>=c&&d<=g:d>=g&&d<=c))return o[h]}return-1}function L(t,e,i){var a=i.getVisual("borderColor")||i.getVisual("color"),n=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function $(t,e,i){var a=e.get("borderColor")||e.get("color"),n=e.getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function V(t,e,i){var a,n="polar"===i.type;return a=n?i.getArea():i.grid.getRect(),n?{cx:a.cx,cy:a.cy,r0:t?a.r0:e.r0,r:t?a.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:a.x,y:t?a.y:e.y,width:t?e.width:a.width,height:t?a.height:e.height}}function R(t,e,i){var a="polar"===t.type?o.Sector:o.Rect;return new a({shape:V(e,i,t),silent:!0,z2:0})}t.exports=k},"6821f":function(t,e,i){(function(){var e=i("00d8"),a=i("9a63").utf8,n=i("044b"),r=i("9a63").bin,o=function(t,i){t.constructor==String?t=i&&"binary"===i.encoding?r.stringToBytes(t):a.stringToBytes(t):n(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var s=e.bytesToWords(t),c=8*t.length,l=1732584193,d=-271733879,u=-1732584194,f=271733878,h=0;h>>24)|4278255360&(s[h]<<24|s[h]>>>8);s[c>>>5]|=128<>>9<<4)]=c;var p=o._ff,m=o._gg,v=o._hh,g=o._ii;for(h=0;h>>0,d=d+_>>>0,u=u+y>>>0,f=f+k>>>0}return e.endian([l,d,u,f])};o._ff=function(t,e,i,a,n,r,o){var s=t+(e&i|~e&a)+(n>>>0)+o;return(s<>>32-r)+e},o._gg=function(t,e,i,a,n,r,o){var s=t+(e&a|i&~a)+(n>>>0)+o;return(s<>>32-r)+e},o._hh=function(t,e,i,a,n,r,o){var s=t+(e^i^a)+(n>>>0)+o;return(s<>>32-r)+e},o._ii=function(t,e,i,a,n,r,o){var s=t+(i^(e|~a))+(n>>>0)+o;return(s<>>32-r)+e},o._blocksize=16,o._digestsize=16,t.exports=function(t,i){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var a=e.wordsToBytes(o(t,i));return i&&i.asBytes?a:i&&i.asString?r.bytesToString(a):e.bytesToHex(a)}})()},"68ab":function(t,e,i){var a=i("4a3f"),n=a.quadraticProjectPoint;function r(t,e,i,a,r,o,s,c,l){if(0===s)return!1;var d=s;if(l>e+d&&l>a+d&&l>o+d||lt+d&&c>i+d&&c>r+d||c0&&void 0!==arguments[0])||arguments[0],i=this;e&&(this.pagination.page=1,this.pagination.pageSize=50,this.showLoadingMore=!1),i.requestData.projectCode=this.code,i.requestData.deleted=0,Object(u["c"])(i.requestData).then((function(a){e&&(t.files=[]),a.data.list.forEach((function(t){t.editing=!1})),i.files=i.files.concat(a.data.list),i.pagination.total=a.data.total,i.showLoadingMore=i.pagination.total>i.files.length,i.loading=!1,i.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.getFiles(!1)},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(c["a"])(this.project.code,e).then((function(e){Object(l["a"])(e)&&(t.project.collected=!t.project.collected)}))},editFile:function(t,e){var i=this;this.files.forEach((function(t){t.editing=!1})),this.files[e].editing=!0,this.$nextTick((function(){i.$refs["inputTitle".concat(e)][0].focus()})),this.currentFileIndex=e},onCellChange:function(t){var e=this.files[this.currentFileIndex];this.files.forEach((function(t){t.editing=!1}));var i="".concat(t.title,".").concat(t.extension);i!=e.fullName&&Object(u["b"])({title:e.title,fileCode:e.code}).then((function(a){var n=Object(l["a"])(a);if(!n)return!1;e.title=t.title,e.fullName=i,Object(h["b"])({title:"重命名成功"},"notice","success")}))},doFile:function(t,e){var i=this,a=t.key;switch(a){case"delete":this.$confirm({title:"移到回收站",content:"您确定要把该文件移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return Object(u["e"])(e).then((function(t){var e=Object(l["a"])(t);if(!e)return!1;i.getFiles()})),Object(h["b"])({title:"成功移到回收站",msg:"可在 菜单-查看回收站-文件 中查看"},"notice","success",5),Promise.resolve()}});break;case"copy":return Object(h["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},formatTime:function(t){return Object(d["c"])(t)},formatSize:function(t){var e="KB";return t/=1024,t>=1024&&(t/=1024,e="MB"),"".concat(t.toFixed(2)," ").concat(e)}}},b=g,_=(i("4d9c"),i("2877")),y=Object(_["a"])(b,a,n,!1,null,null,null);e["default"]=y.exports},"697e":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("18c0"),o=i("89e3"),s=i("e0d8"),c=i("3842"),l=i("9d57"),d=l.prepareLayoutBarSeries,u=l.makeColumnLayout,f=l.retrieveColumnLayout,h=i("9850");function p(t,e){var i,a,r,o=t.type,s=e.getMin(),l=e.getMax(),f=t.getExtent();"ordinal"===o?i=e.getCategories().length:(a=e.get("boundaryGap"),n.isArray(a)||(a=[a||0,a||0]),"boolean"===typeof a[0]&&(a=[0,0]),a[0]=c.parsePercent(a[0],1),a[1]=c.parsePercent(a[1],1),r=f[1]-f[0]||Math.abs(f[0])),"dataMin"===s?s=f[0]:"function"===typeof s&&(s=s({min:f[0],max:f[1]})),"dataMax"===l?l=f[1]:"function"===typeof l&&(l=l({min:f[0],max:f[1]}));var h=null!=s,p=null!=l;null==s&&(s="ordinal"===o?i?0:NaN:f[0]-a[0]*r),null==l&&(l="ordinal"===o?i?i-1:NaN:f[1]+a[1]*r),(null==s||!isFinite(s))&&(s=NaN),(null==l||!isFinite(l))&&(l=NaN),t.setBlank(n.eqNaN(s)||n.eqNaN(l)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&l>0&&!h&&(s=0),s<0&&l<0&&!p&&(l=0));var v=e.ecModel;if(v&&"time"===o){var g,b=d("bar",v);if(n.each(b,(function(t){g|=t.getBaseAxis()===e.axis})),g){var _=u(b),y=m(s,l,e,_);s=y.min,l=y.max}}return{extent:[s,l],fixMin:h,fixMax:p}}function m(t,e,i,a){var r=i.axis.getExtent(),o=r[1]-r[0],s=f(a,i.axis);if(void 0===s)return{min:t,max:e};var c=1/0;n.each(s,(function(t){c=Math.min(t.offset,c)}));var l=-1/0;n.each(s,(function(t){l=Math.max(t.offset+t.width,l)})),c=Math.abs(c),l=Math.abs(l);var d=c+l,u=e-t,h=1-(c+l)/o,p=u/h-u;return e+=p*(l/d),t-=p*(c/d),{min:t,max:e}}function v(t,e){var i=p(t,e),a=i.extent,n=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(a[0],a[1]),t.niceExtent({splitNumber:n,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function g(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function b(t){var e=t.scale.getExtent(),i=e[0],a=e[1];return!(i>0&&a>0||i<0&&a<0)}function _(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(a,n){return null!=i&&(n=a-i),e(y(t,a),n)}:function(e){return t.scale.getLabel(e)}}function y(t,e){return"category"===t.type?t.scale.getLabel(e):e}function k(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var a,n,r="category"===t.type,o=i.getExtent();r?n=i.count():(a=i.getTicks(),n=a.length);var s,c=t.getLabelModel(),l=_(t),d=1;n>40&&(d=Math.ceil(n/40));for(var u=0;ui.blockIndex,r=n?i.step:null,o=a&&a.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},b.getPipeline=function(t){return this._pipelineMap.get(t)},b.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),a=t.getData(),n=a.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},b.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var a=t.getProgressive(),n=t.uid;i.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:a&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),j(e,t,t.dataTask)}))},b.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;n(this._allHandlers,(function(a){var n=t.get(a.uid)||t.set(a.uid,[]);a.reset&&k(this,a,n,e,i),a.overallReset&&x(this,a,n,e,i)}),this)},b.prepareView=function(t,e,i,a){var n=t.renderTask,r=n.context;r.model=e,r.ecModel=i,r.api=a,n.__block=!t.incrementalPrepareRender,j(this,e,n)},b.performDataProcessorTasks=function(t,e){_(this,this._dataProcessorHandlers,t,e,{block:!0})},b.performVisualTasks=function(t,e,i){_(this,this._visualHandlers,t,e,i)},b.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},b.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var y=b.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function k(t,e,i,a,n){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,c=e.getTargetSeries;function l(i){var o=i.uid,s=r.get(o)||r.set(o,d({plan:T,reset:P,count:E}));s.context={model:i,ecModel:a,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},j(t,i,s)}e.createOnAllSeries?a.eachRawSeries(l):o?a.eachRawSeriesByType(o,l):c&&c(a,n).each(l);var u=t._pipelineMap;r.each((function(t,e){u.get(e)||(t.dispose(),r.removeKey(e))}))}function x(t,e,i,a,r){var o=i.overallTask=i.overallTask||d({reset:w});o.context={ecModel:a,api:r,overallReset:e.overallReset,scheduler:t};var c=o.agentStubMap=o.agentStubMap||s(),l=e.seriesType,u=e.getTargetSeries,f=!0,h=e.modifyOutputEnd;function p(e){var i=e.uid,a=c.get(i);a||(a=c.set(i,d({reset:C,onDirty:M})),o.dirty()),a.context={model:e,overallProgress:f,modifyOutputEnd:h},a.agent=o,a.__block=f,j(t,e,a)}l?a.eachRawSeriesByType(l,p):u?u(a,r).each(p):(f=!1,n(a.getSeries(),p));var m=t._pipelineMap;c.each((function(t,e){m.get(e)||(t.dispose(),o.dirty(),c.removeKey(e))}))}function w(t){t.overallReset(t.ecModel,t.api,t.payload)}function C(t,e){return t.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function M(){this.agent&&this.agent.dirty()}function T(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function P(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,(function(t,e){return O(e)})):I}var I=O(0);function O(t){return function(e,i){var a=i.data,n=i.resetDefines[t];if(n&&n.dataEach)for(var r=e.start;r=0;o--)r=a.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function m(t){var e=[];return a.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=a.map(e,(function(t){return c(t).main})),"dataset"!==t&&a.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,m),a.mixin(p,f);var v=p;t.exports=v},"6cd9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.newMsgNotificationStatus$=void 0;var r=i("c6b3"),o="biz.edu.newMsgNotificationStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.20"},n[r.ENV_ENUM.android]={vs:"6.3.20"},n)),e.newMsgNotificationStatus$=a,e.default=a},"6d8b":function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},a={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},n=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,c=r.slice,l=r.map,d=r.reduce,u={};function f(t,e){"createCanvas"===t&&(b=null),u[t]=e}function h(t){if(null==t||"object"!==typeof t)return t;var e=t,r=n.call(t);if("[object Array]"===r){if(!K(t)){e=[];for(var o=0,s=t.length;o3&&void 0!==arguments[3]?arguments[3]:"-";if(isNaN(t))return a;if(!e)return t;if(r.isFunction(e))return e(t,n);i=isNaN(i)?0:++i;var o=".["+new Array(i).join(0)+"]",s=e;switch(e){case"KMB":s=i?"0,0"+o+"a":"0,0a";break;case"normal":s=i?"0,0"+o:"0,0";break;case"percent":s=i?"0,0"+o+"%":"0,0.[00]%";break}return n(t,s)},s=function(t){var e={};return Object.keys(t).forEach((function(i){t[i].forEach((function(t){e[t]=i}))})),e},c=function(t){return new Promise((function(e,i){var a=new XMLHttpRequest;a.open("GET",t),a.send(null),a.onload=function(){e(JSON.parse(a.responseText))},a.onerror=function(){i(JSON.parse(a.responseText))}}))},l={},d=function(t){var e=t.position,i=t.positionJsonLink,a=t.beforeRegisterMapOnce,n=t.mapURLProfix,r=i||""+n+e+".json";return l[r]||(l[r]=c(r).then((function(t){return a&&(t=a(t)),t}))),l[r]},u=null,f=null,h=function(t,e){return u||(u=new Promise((function(i,a){var n="bmap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://api.map.baidu.com/api?v="+(e||"2.0"),"ak="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),u},p=function(t,e){return f||(f=new Promise((function(i,a){var n="amap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://webapi.amap.com/maps?v="+(e||"1.4.3"),"key="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),f};function m(t,e,i){void 0!==t[e]?t[e].push(i):t[e]=[i]}e.getFormated=o,e.getStackMap=s,e.$get=c,e.getMapJSON=d,e.getBmap=h,e.getAmap=p,e.setArrayValue=m},"703a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.launchApp$=void 0;var r=i("c6b3"),o="device.launcher.launchApp";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.launchApp$=a,e.default=a},7091:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stop$=void 0;var r=i("c6b3"),o="media.voiceRecorder.stop";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.12"},n[r.ENV_ENUM.android]={vs:"5.1.12"},n[r.ENV_ENUM.pc]={vs:"5.1.12"},n)),e.stop$=a,e.default=a},"71ad":function(t,e,i){var a=i("6d8b"),n={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=a.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},n),r.valueAxis=a.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},n),r.timeAxis=a.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=a.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},7297:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestOperateAuthCode$=void 0;var r=i("c6b3"),o="runtime.permission.requestOperateAuthCode",s=function(t){return Object.assign(t,{url:location.href.split("#")[0]})};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.3.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"3.3.0"},n[r.ENV_ENUM.android]={vs:"3.3.0"},n)),e.requestOperateAuthCode$=a,e.default=a},"73cf":function(t,e,i){"use strict";i("6765")},"73d7":function(t,e,i){"use strict";i("7557")},"74cb":function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a))},elasticOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/a)+1)},elasticInOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},a=i;t.exports=a},"752d":function(t,e,i){"use strict";i("3312")},7556:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getItem$=void 0;var r=i("c6b3"),o="util.domainStorage.getItem";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.6.29"},n)),e.getItem$=a,e.default=a},7557:function(t,e,i){},"75b8":function(t,e,i){},7673:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chosen$=void 0;var r=i("c6b3"),o="biz.util.chosen";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.chosen$=a,e.default=a},"76a5":function(t,e,i){var a=i("19eb"),n=i("6d8b"),r=i("e86a"),o=i("a73c"),s=i("82eb"),c=s.ContextCachedBy,l=function(t){a.call(this,t)};l.prototype={constructor:l,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var a=i.text;null!=a&&(a+=""),o.needDrawText(a,i)?(this.setTransform(t),o.renderText(this,t,a,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=c.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var a=t.textStrokeWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect}},n.inherits(l,a);var d=l;t.exports=d},7759:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.compressVideo$=void 0;var r=i("c6b3"),o="biz.media.compressVideo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.37"},n[r.ENV_ENUM.android]={vs:"4.6.37"},n)),e.compressVideo$=a,e.default=a},7797:function(t,e,i){"use strict";i("d0c5")},"78d2":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.close$=void 0;var r=i("c6b3"),o="ui.nav.close";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.close$=a,e.default=a},7919:function(t,e,i){var a=i("f934"),n=a.getLayoutRect,r=a.box,o=a.positionElement,s=i("eda2"),c=i("2306");function l(t,e,i){var a=e.getBoxLayoutParams(),s=e.get("padding"),c={width:i.getWidth(),height:i.getHeight()},l=n(a,c,s);r(e.get("orient"),t,e.get("itemGap"),l.width,l.height),o(t,a,c,s)}function d(t,e){var i=s.normalizeCssArray(e.get("padding")),a=e.getItemStyle(["color","opacity"]);a.fill=e.get("backgroundColor");t=new c.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1});return t}e.layout=l,e.makeBackground=d},"7abe":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home-index"},[e("div",{staticClass:"page-header"},[t.userInfo?e("div",{staticClass:"header-content"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"avatar"},[e("a-avatar",{attrs:{size:64,src:t.userInfo.avatar}},[t._v(t._s(t.userInfo.name))])],1),e("div",{staticClass:"user-info"},[e("div",{staticClass:"title"},[t._v(t._s(t.helloTime)+t._s(t.userInfo.name)+",祝你开心每一天!")]),t.userInfo.position?e("div",{staticClass:"team muted"},[t._v(t._s(t.userInfo.position)+"\n "),t.userInfo.department?[t._v(" | "+t._s(t.userInfo.department))]:t._e()],2):t._e()])]),e("div",{staticClass:"right-content"},[e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 团队人数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.accounts.total))])])]),e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 项目总数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.projectTotal))])])])])]):t._e()]),e("div",{staticClass:"page-wrapper"},[e("a-row",{staticClass:"page-wrapper-content",attrs:{gutter:24}},[e("a-col",{staticClass:"project-list-content",attrs:{xl:16,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"project-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.loading,bordered:!1,title:"进行中的项目","body-style":{padding:0}}},[e("router-link",{attrs:{slot:"extra",to:"/project/list/my"},slot:"extra"},[t._v("全部项目")]),e("div",{staticStyle:{display:"flex","flex-direction":"row","flex-wrap":"wrap","justify-content":"start"}},[t._l(t.projectList,(function(i,a){return e("a-card-grid",{key:a,staticClass:"project-card-grid"},[e("a-card",{attrs:{bordered:!1,"body-style":{padding:0}},on:{click:function(e){return t.routerLink("/project/space/task/"+i.code)}}},[e("img",{attrs:{slot:"cover",alt:"example",src:i.cover},slot:"cover"}),e("a-card-meta",[e("div",{staticClass:"card-title",attrs:{slot:"title"},slot:"title"},[e("router-link",{attrs:{to:"/project/space/task/"+i.code}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.collected,expression:"item.collected"}],staticStyle:{color:"#ffaf38","margin-right":"6px"},attrs:{type:"star",theme:"filled"}}),t._v(t._s(i.name)+"\n ")],1)],1),e("div",{staticClass:"card-description",attrs:{slot:"description"},slot:"description"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:i.description}},[e("span",{staticClass:"description-text"},[i.description?e("span",[t._v(t._s(i.description))]):e("span",[t._v("暂无介绍")])])]),e("a-tooltip",{attrs:{placement:"right",mouseEnterDelay:.3,title:"当前进度:".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeWidth:2,showInfo:!1,percent:i.schedule}})],1)],1)]),e("div",{staticClass:"project-item"},[e("a",{attrs:{href:"/#/"}},[t._v(t._s(i.owner_name))]),e("span",{staticClass:"datetime"},[t._v(t._s(t.formatTime(i.create_time)))])])],1)],1)})),t.projectList.length?t._e():e("p",{staticClass:"muted text-center m-t-md m-b-md"},[t._v("暂无项目")])],2)],1),e("a-card",{staticClass:"activities-list",attrs:{loading:t.loading,title:"动态",bordered:!1}},[e("a-list",t._l(t.activities,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.member_avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.member_name))]),0==i.is_comment?e("span",[e("span",{domProps:{innerHTML:t._s(i.remark)}})]):t._e(),t._v(" \n "),1==i.is_comment?[t._v("发布了审核流程\n "),e("p",{staticClass:"comment-text"},[t._v(t._s(i.content))])]:t._e(),e("router-link",{staticClass:"right-item",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code,"/detail/").concat(i.source_code)}},[t._v("「 "+t._s(i.task_name)+" 」\n ")])],2),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(t.formatTime(i.create_time))+" -\n "),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code)}},[t._v("\n "+t._s(i.project_name)+"\n ")])],1)],1)],1)})),1)],1)],1),e("a-col",{staticStyle:{padding:"0 12px",flex:"1"},attrs:{xl:8,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"tasks-list",staticStyle:{"margin-bottom":"24px"},attrs:{bordered:!1}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"flex ant-row-flex-space-between ant-row-flex-middle"},[e("span",[t._v("我的任务 · "+t._s(t.task.total))]),e("a-select",{attrs:{defaultActiveFirstOption:!1},on:{select:t.taskSelectChange},model:{value:t.task.done,callback:function(e){t.$set(t.task,"done",e)},expression:"task.done"}},[e("a-select-option",{key:0},[t._v("未完成")]),e("a-select-option",{key:1},[t._v("已完成")])],1)],1)]),e("a-tabs",{attrs:{defaultActiveKey:"1",animated:!1},on:{change:t.taskTabChange}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"bars"}}),t._v("我执行的")],1)]),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"team"}}),t._v("我参与的")],1)]),e("a-tab-pane",{key:"3"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"rocket"}}),t._v("我创建的")],1)])],1),e("a-list",{attrs:{loading:t.task.loading}},t._l(t.task.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[e("a",{staticClass:"task-title-wrap"},[e("a-tooltip",{attrs:{title:"优先级"}},[e("a-tag",{attrs:{color:t.priColor(i.pri)}},[t._v(t._s(i.priText))])],1),e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[i.pcode?[i.parentDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("父任务已完成,无法重做子任务")]):i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]:[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]],2)],2),e("a-tooltip",{attrs:{title:i.name}},[e("span",{on:{click:function(e){t.showTaskDetail=!0,t.taskCode=i.code}}},[t._v(t._s(i.name))])])],1),e("div",[i.end_time?e("a-tooltip",{attrs:{title:"任务开始 - 截止时间"}},[e("span",{staticClass:"label m-r-sm",class:t.showTimeLabel(i.end_time)},[t._v(t._s(t.showTaskTime(i.begin_time,i.end_time)))])]):t._e(),i.pcode?e("a-tooltip",{attrs:{title:"子任务"}},[e("a-icon",{staticClass:"m-r-sm muted",attrs:{type:"cluster"}})],1):t._e(),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/"+i.projectInfo.code}},[e("a-tooltip",{attrs:{title:"所属项目"}},[t._v(t._s(i.projectInfo.name))])],1)],1)])])])],1)})),1),e("a-pagination",{staticClass:"pull-right m-b",attrs:{size:"small",defaultPageSize:t.task.pageSize,total:t.task.total},on:{change:t.onLoadMoreTask},model:{value:t.task.page,callback:function(e){t.$set(t.task,"page",e)},expression:"task.page"}})],1),e("a-card",{staticClass:"events-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.events.loading,title:"日程 · ".concat(t.events.eventList.length),bordered:!1}},[e("router-link",{attrs:{slot:"extra",to:"/calendar"},slot:"extra"},[t._v("日程日历")]),e("div",{staticClass:"list-content"},[e("a-list",{attrs:{loading:t.events.loading}},[t._l(t.events.eventList,(function(i,a){return e("a-list-item",{key:a,staticClass:"list-item"},[e("a-list-item-meta",[e("div",{staticStyle:{display:"flex","line-height":"20px"},attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"info-item"},[e("div",{staticClass:"text-center text-grey"},[e("div",[t._v(t._s(t.moment(i.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v(" ~")]),e("div",[t._v(t._s(t.moment(i.end_time).format("YYYY年MM月DD日 HH:mm")))])])]),e("div",{staticClass:"info-item"},[e("div",{staticClass:"line-item",staticStyle:{"font-size":"18px","margin-bottom":"20px"}},[e("span",[t._v(" "+t._s(i.title))])]),e("div",{staticClass:"line-item text-grey"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(i.position))],1),i.description?[e("div",{staticClass:"line-item text-grey"},[t._v(t._s(i.description))])]:t._e(),e("div",{staticClass:"line-item"},[t._v("参与者 · "+t._s(i.memberList.length))]),e("div",{staticClass:"line-item"},[t._l(i.memberList,(function(t){return[e("a-tooltip",{key:t.id,attrs:{title:"".concat(t.memberInfo.name," ").concat(t.is_owner?" · 组织者":t.status?1==t.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,icon:"user",src:t.memberInfo.avatar}})],1)]}))],2),i.projectName?[e("div",{staticClass:"line-item m-t text-grey",on:{click:function(e){return t.routerLink("/project/space/events/"+i.project_code)}}},[e("a-tag",{staticStyle:{cursor:"pointer"},attrs:{color:"#52c41a"}},[t._v(t._s(i.projectName))])],1)]:t._e()],2),e("div",{staticClass:"actions",staticStyle:{position:"absolute",right:"0"}},[i.waitConfirm?[e("a-tooltip",{attrs:{title:"接受"}},[e("a",{staticClass:"m-l-xs muted"},[e("a-icon",{attrs:{type:"check"},on:{click:function(e){return t.confirmJoinEvents(i,1)}}})],1)]),e("a-tooltip",{attrs:{title:"拒绝"}},[e("a",{staticClass:"m-l muted"},[e("a-icon",{attrs:{type:"close"},on:{click:function(e){return t.confirmJoinEvents(i,2)}}})],1)])]:t._e()],2)])]),e("div",{staticClass:"other-info muted"})],1)})),t.events.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.events.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMoreEvents}},[t._v("查看更多日程")])],1):t._e()],2)],1)],1),e("a-card",{attrs:{loading:t.loading,title:"团队 · "+t.accounts.total,bordered:!1}},[e("div",{staticClass:"members"},[e("a-row",t._l(t.accounts.list,(function(i,a){return e("a-col",{key:a,attrs:{span:8}},[e("a",{staticStyle:{display:"flex","align-items":"center"},on:{click:function(e){return t.routerLink("/members/profile/"+i.membar_account_code+"?key=3")}}},[e("a-avatar",{attrs:{size:"small",src:i.avatar}}),e("span",{staticClass:"member"},[t._v(t._s(i.name))])],1)])})),1)],1),e("a-pagination",{directives:[{name:"show",rawName:"v-show",value:t.accounts.total>t.accounts.pageSize,expression:"accounts.total > accounts.pageSize"}],staticClass:"pull-right m-b",attrs:{defaultPageSize:t.accounts.pageSize,size:"small",total:t.accounts.total},on:{change:t.onLoadMoreAccounts},model:{value:t.accounts.page,callback:function(e){t.$set(t.accounts,"page",e)},expression:"accounts.page"}})],1)],1)],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{destroyOnClose:"",width:"min-content",closable:!1,visible:t.showTaskDetail,title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.taskCode},on:{close:t.detailClose}})],1)],1)},n=[],r=(i("8e6e"),i("456d"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("c1df"),c=i.n(s),l=i("009f"),d=i("1157"),u=i.n(d);function f(t,e){void 0===e&&(e="f");var i="https://v1.hitokoto.cn/?c="+e+"&encode=json";u.a.get({url:i,success:function(e){t(e)}})}var h=i("81fe"),p=i("24d2"),m=i("c24f"),v=i("1b80"),g=i("b199"),b=(i("d96ec"),i("b39f")),_=i("2f14");function y(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function k(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.projectList=[],this.pagination.page=1,this.pagination.pageSize=9),this.getProjectList(e),this.getTasks(),this.getTaskLog(),this.getAccountList(),this.getEvents()},getProjectList:function(t){var e=this;t&&(this.loading=!0),Object(p["l"])(this.requestData).then((function(t){e.projectList=t.data.list,e.projectTotal=t.data.total,e.loading=!1}))},getTaskLog:function(){var t=this;Object(g["k"])().then((function(e){t.activities=e.data}))},getAccountList:function(){var t=this;this.accounts.loading=!0,Object(m["w"])({page:this.accounts.page,pageSize:this.accounts.pageSize}).then((function(e){t.accounts.loading=!1,t.accounts.list=e.data.list,t.accounts.total=e.data.total}))},getEvents:function(){var t=this;Object(b["f"])({page:this.events.page,pageSize:this.events.pageSize,deleted:0}).then((function(e){t.events.eventList=t.events.eventList.concat(e.data.list),t.events.total=e.data.total,t.events.showLoadingMore=t.events.total>t.events.eventList.length,t.events.loading=!1,t.events.loadingMore=!1}))},getYiYan:function(){var t=this;f((function(e){t.yiyan=e}),"d")},getTasks:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.task.page=1),this.task.loading=!0,Object(g["u"])({page:this.task.page,pageSize:this.task.pageSize,taskType:this.task.taskType,type:this.task.done}).then((function(e){t.task.loading=!1,t.task.list=e.data.list,t.task.total=e.data.total}))},taskTabChange:function(t){console.log(t),this.task.taskType=t,this.task.loadingMore=!0,this.getTasks()},taskSelectChange:function(t){this.task.done=t,this.task.loadingMore=!0,this.getTasks()},onLoadMoreTask:function(t,e){this.task.loadingMore=!0,this.task.page=t,this.getTasks(!1)},onLoadMoreAccounts:function(t,e){this.accounts.loadingMore=!0,this.accounts.page=t,this.getAccountList()},detailClose:function(){this.taskCode="",this.showTaskDetail=!1,this.getTasks(!1)},taskDone:function(t,e){var i=this;e=e?1:0,Object(g["z"])(t,e).then((function(t){var e=Object(_["a"])(t);if(!e)return!1;i.getTasks(!1)}))},onLoadMoreEvents:function(t,e){this.events.loadingMore=!0,this.events.page++,this.getEvents()},confirmJoinEvents:function(t,e){var i=this;Object(b["a"])({eventsCode:t.code,status:e}).then((function(a){Object(_["a"])(a)&&(t.waitConfirm=0,t.memberList.forEach((function(t){t.member_code==i.$store.state.userInfo.code&&(t.status=e)})))}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},formatTime:function(t){return Object(h["c"])(t)},showTaskTime:function(t,e){return Object(h["a"])(t,e)},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=c()(c()(t).format("YYYY-MM-DD")).diff(c()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e}}},w=x,C=(i("1e0e"),i("2877")),S=Object(C["a"])(w,a,n,!1,null,null,null);e["default"]=S.exports},"7b40":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setTitle$=void 0;var r=i("c6b3"),o="biz.navigation.setTitle";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.setTitle$=a,e.default=a},"7ba0":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getDeviceProperties$=void 0;var r=i("c6b3"),o="biz.iot.getDeviceProperties";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.42"},n[r.ENV_ENUM.android]={vs:"4.6.42"},n)),e.getDeviceProperties$=a,e.default=a},"7bb5":function(t,e,i){"use strict";i("18ef")},"7c06":function(t,e,i){},"7d6d":function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function a(t,e,a){return i.hasOwnProperty(e)?a*t.dpr:a}t.exports=a},"7d79":function(t,e,i){"use strict";function a(t){var e,i=JSON.stringify(t).length;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/send-message-to-single-chat?params=").concat(encodeURIComponent(JSON.stringify({body:t,bodyLengthList:[i]}))),target:"float",title:"提示",wnId:"sendMessageToSingleChat",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToSingleChat=void 0,i("c526");var n=i("5575");e.sendMessageToSingleChat=a},"7dc1":function(t,e){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),a=1;ae-o){var l=new RegExp("\\.?0{1,"+(a-(e-o))+"}$");c=c.replace(l,"")}return c}function u(t,e,i,n){var l=Math.abs(e),u=!1,f=!1,h="",p="",m=!1,v=void 0,g=void 0;i=i||"",e=e||0,~i.indexOf("(")?(u=!0,i=i.replace(/[(|)]/g,"")):(~i.indexOf("+")||~i.indexOf("-"))&&(g=~i.indexOf("+")?i.indexOf("+"):e<0?i.indexOf("-"):-1,i=i.replace(/[+|-]/g,"")),~i.indexOf("a")&&(v=i.match(/a(k|m|b|t)?/),v=!!v&&v[1],~i.indexOf(" a")&&(h=" "),i=i.replace(new RegExp(h+"a[kmbt]?"),""),l>=r&&!v||"t"===v?(h+=t.abbrLabel.tr,e/=r):l=o&&!v||"b"===v?(h+=t.abbrLabel.bi,e/=o):l=s&&!v||"m"===v?(h+=t.abbrLabel.mi,e/=s):(l=c&&!v||"k"===v)&&(h+=t.abbrLabel.th,e/=c)),~i.indexOf("[.]")&&(f=!0,i=i.replace("[.]","."));var b=e.toString().split(".")[0],_=i.split(".")[1],y=i.indexOf(","),k=(i.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(_?(~_.indexOf("[")?(_=_.replace("]",""),_=_.split("["),p=d(e,_[0].length+_[1].length,n,_[1].length)):p=d(e,_.length,n),b=p.split(".")[0],p=~p.indexOf(".")?"."+p.split(".")[1]:"",f&&0===+p.slice(1)&&(p="")):b=d(e,0,n),h&&!v&&+b>=1e3&&h!==a.trillion&&(b=""+ +b/1e3,h=a.million),~b.indexOf("-")&&(b=b.slice(1),m=!0),b.length0;x--)b="0"+b;y>-1&&(b=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")),i.indexOf(".")||(b="");var w=b+p+(h||"");return u?w=(u&&m?"(":"")+w+(u&&m?")":""):g>=0?w=0===g?(m?"-":"+")+w:w+(m?"-":"+"):m&&(w="-"+w),w}function f(t,e){Object.keys(e).forEach((function(i){t[i]=e[i]}))}var h={regexp:/%/,format:function(t,e,i,a){var n=~e.indexOf(" %")?" ":"",r=void 0;return a.options.scalePercentBy100&&(t*=100),e=e.replace(/\s?%/,""),r=a._numberToFormat(t,e,i),~r.indexOf(")")?(r=r.split(""),r.splice(-1,0,n+"%"),r=r.join("")):r=r+n+"%",r}},p={},m={};function v(t,e,i){e=e||p.defaultFormat,i=i||Math.round;var a=void 0,n=void 0;if(0===t&&null!==p.zeroFormat)a=p.zeroFormat;else if(null===t&&null!==p.nullFormat)a=p.nullFormat;else{for(var r in m)if(m[r]&&e.match(m[r].regexp)){n=m[r].format;break}n=n||u.bind(null,p),a=n(t,e,i,g)}return a}function g(t,e,i){var a=void 0;return a=0===t||"undefined"===typeof t?0:null===t||l(t)?null:"string"===typeof t?p.zeroFormat&&t===p.zeroFormat?0:p.nullFormat&&t===p.nullFormat||!t.replace(/[^0-9]+/g,"").length?null:+t:+t||null,v(a,e,i)}f(p,n),g.options=p,g._numberToFormat=u.bind(null,p),g.register=function(t,e){m[t]=e},g.unregister=function(t){m[t]=null},g.setOptions=function(t){f(p,t)},g.reset=function(){f(p,n)},g.register("percentage",h),e["default"]=g},"7e63":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.each,o=n.filter,s=n.map,c=n.isArray,l=n.indexOf,d=n.isObject,u=n.isString,f=n.createHashMap,h=n.assert,p=n.clone,m=n.merge,v=n.extend,g=n.mixin,b=i("e0d3"),_=i("4319"),y=i("6cb7"),k=i("8971"),x=i("e47b"),w=i("0f99"),C=w.resetSourceDefaulter,S="\0_ec_inner",M=_.extend({init:function(t,e,i,a){i=i||{},this.option=null,this._theme=new _(i),this._optionManager=a},setOption:function(t,e){h(!(S in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var a=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(a)):I.call(this,a),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var n=i.getTimelineOption(this);n&&(this.mergeOption(n),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&r(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,a=[];function n(a,n){var o=b.normalizeToArray(t[a]),s=b.mappingToExists(i.get(a),o);b.makeIdAndName(s),r(s,(function(t,e){var i=t.option;d(i)&&(t.keyInfo.mainType=a,t.keyInfo.subType=E(a,i,t.exist))}));var c=O(i,n);e[a]=[],i.set(a,[]),r(s,(function(t,n){var r=t.exist,o=t.option;if(h(d(o)||r,"Empty component definition"),o){var s=y.getClass(a,t.keyInfo.subType,!0);if(r&&r.constructor===s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=v({dependentModels:c,componentIndex:n},t.keyInfo);r=new s(o,this,this,l),v(r,l),r.init(o,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(a)[n]=r,e[a][n]=r.option}),this),"series"===a&&j(this,i.get("series"))}C(this),r(t,(function(t,i){null!=t&&(y.hasClass(i)?i&&a.push(i):e[i]=null==e[i]?p(t):m(e[i],t,!0))})),y.topologicalTravel(a,y.getAllClassMainTypes(),n,this),this._seriesIndicesMap=f(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return r(t,(function(e,i){if(y.hasClass(i)){e=b.normalizeToArray(e);for(var a=e.length-1;a>=0;a--)b.isIdInner(e[a])&&e.splice(a,1);t[i]=e}})),delete t[S],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,a=t.index,n=t.id,r=t.name,d=this._componentsMap.get(e);if(!d||!d.length)return[];if(null!=a)c(a)||(a=[a]),i=o(s(a,(function(t){return d[t]})),(function(t){return!!t}));else if(null!=n){var u=c(n);i=o(d,(function(t){return u&&l(n,t.id)>=0||!u&&t.id===n}))}else if(null!=r){var f=c(r);i=o(d,(function(t){return f&&l(r,t.name)>=0||!f&&t.name===r}))}else i=d.slice();return D(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,a=r(e),n=a?this.queryComponents(a):this._componentsMap.get(i);return s(D(n,t));function r(t){var e=i+"Index",a=i+"Id",n=i+"Name";return!t||null==t[e]&&null==t[a]&&null==t[n]?null:{mainType:i,index:t[e],id:t[a],name:t[n]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var a=this._componentsMap;if("function"===typeof t)i=e,e=t,a.each((function(t,a){r(t,(function(t,n){e.call(i,a,t,n)}))}));else if(u(t))r(a.get(t),e,i);else if(d(t)){var n=this.findComponents(t);r(n,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){A(this),r(this._seriesIndices,(function(i){var a=this._componentsMap.get("series")[i];t.call(e,a,i)}),this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){A(this),r(this._seriesIndices,(function(a){var n=this._componentsMap.get("series")[a];n.subType===t&&e.call(i,n,a)}),this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return A(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){A(this);var i=o(this._componentsMap.get("series"),t,e);j(this,i)},restoreData:function(t){var e=this._componentsMap;j(this,e.get("series"));var i=[];e.each((function(t,e){i.push(e)})),y.topologicalTravel(i,y.getAllClassMainTypes(),(function(i,a){r(e.get(i),(function(e){("series"!==i||!T(e,t))&&e.restoreData()}))}))}});function T(t,e){if(e){var i=e.seiresIndex,a=e.seriesId,n=e.seriesName;return null!=i&&t.componentIndex!==i||null!=a&&t.id!==a||null!=n&&t.name!==n}}function P(t,e){var i=t.color&&!t.colorLayer;r(e,(function(e,a){"colorLayer"===a&&i||y.hasClass(a)||("object"===typeof e?t[a]=t[a]?m(t[a],e,!1):p(e):null==t[a]&&(t[a]=e))}))}function I(t){t=t,this.option={},this.option[S]=1,this._componentsMap=f({series:[]}),this._seriesIndices,this._seriesIndicesMap,P(t,this._theme.option),m(t,k,!1),this.mergeOption(t)}function O(t,e){c(e)||(e=e?[e]:[]);var i={};return r(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function E(t,e,i){var a=e.type?e.type:i?i.subType:y.determineSubType(t,e);return a}function j(t,e){t._seriesIndicesMap=f(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function D(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function A(t){}g(M,x);var N=M;t.exports=N},"7edc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.queryMeetingRoomList$=void 0;var r=i("c6b3"),o="biz.iot.queryMeetingRoomList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.queryMeetingRoomList$=a,e.default=a},"7f96":function(t,e,i){var a=i("6d8b"),n=a.isFunction;function r(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,a,r){var o=t.getData(),s=t.get("symbol"),c=t.get("symbolSize"),l=t.get("symbolKeepAspect"),d=t.get("symbolRotate"),u=n(s),f=n(c),h=n(d),p=u||f||h,m=!u&&s?s:e,v=f?null:c;if(o.setVisual({legendSymbol:i||m,symbol:m,symbolSize:v,symbolKeepAspect:l,symbolRotate:d}),!a.isSeriesFiltered(t))return{dataEach:o.hasItemOption||p?g:null};function g(e,i){if(p){var a=t.getRawValue(i),n=t.getDataParams(i);u&&e.setItemVisual(i,"symbol",s(a,n)),f&&e.setItemVisual(i,"symbolSize",c(a,n)),h&&e.setItemVisual(i,"symbolRotate",d(a,n))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0),m=r.getShallow("symbolRotate",!0),v=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=l&&e.setItemVisual(i,"symbolSize",l),null!=m&&e.setItemVisual(i,"symbolRotate",m),null!=v&&e.setItemVisual(i,"symbolKeepAspect",v)}}}}}t.exports=r},"7fa2":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-403"},[e("ErrorPage",{attrs:{code:"403",desc:"抱歉,你无权访问该页面"}},[e("img",{attrs:{slot:"img",src:i("b0ad"),alt:""},slot:"img"})])],1)},n=[],r=i("8685"),o={components:{ErrorPage:r["a"]}},s=o,c=i("2877"),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},"7fa3":function(t,e,i){},8052:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.pickConversation$=void 0;var r=i("c6b3"),o="biz.chat.pickConversation";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.2"},n[r.ENV_ENUM.android]={vs:"2.4.2"},n[r.ENV_ENUM.pc]={vs:"4.7.9"},n)),e.pickConversation$=a,e.default=a},"80f0":function(t,e){function i(t){return t}function a(t,e,a,n,r){this._old=t,this._new=e,this._oldKeyGetter=a||i,this._newKeyGetter=n||i,this.context=r}function n(t,e,i,a,n){for(var r=0;r=0){var d=o.indexOf(c),u=o.substr(l+s.length,d-l-s.length);u.indexOf("sub")>-1?a["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:a["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},o=o.substr(d+1),l=o.indexOf("{marker")}var f=i.getModel("textStyle"),h=f.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*h/2)),this.el=new n({style:r.setTextStyle({},f,{rich:a,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var m=this;this.el.on("mouseover",(function(){m._enterable&&(clearTimeout(m._hideTimeout),m._show=!0),m._inContent=!0})),this.el.on("mouseout",(function(){m._enterable&&m._show&&m.hideLater(m._hideDelay),m._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(a.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var c=s;t.exports=c},"832b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.enable$=void 0;var r=i("c6b3"),o=i("f162"),s="ui.pullToRefresh.enable";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:o.addWatchParamsDeal},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:o.addWatchParamsDeal},n)),e.enable$=a,e.default=a},"838f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.datepicker$=void 0;var r=i("c6b3"),o="biz.util.datepicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.datepicker$=a,e.default=a},8437:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkPermission$=void 0;var r=i("c6b3"),o="device.geolocation.checkPermission";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.5.0"},n)),e.checkPermission$=a,e.default=a},"843e":function(t,e,i){var a=i("6d8b"),n=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){a.each(n,(function(e){this[e]=a.bind(t[e],t)}),this)}var o=r;t.exports=o},"84ce":function(t,e,i){var a=i("6d8b"),n=a.each,r=a.map,o=i("3842"),s=o.linearMap,c=o.getPixelPrecision,l=o.round,d=i("e073"),u=d.createAxisTicks,f=d.createAxisLabels,h=d.calculateCategoryInterval,p=[0,1],m=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var i=t[1]-t[0],a=e,n=i/a/2;t[0]+=n,t[1]-=n}function g(t,e,i,a){var r=e.length;if(t.onBand&&!i&&r){var o,s,c=t.getExtent();if(1===r)e[0].coord=c[0],o=e[1]={coord:c[0]};else{var d=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/d;n(e,(function(t){t.coord-=u/2}));var f=t.scale.getExtent();s=1+f[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*s},e.push(o)}var h=c[0]>c[1];p(e[0].coord,c[0])&&(a?e[0].coord=c[0]:e.shift()),a&&p(c[0],e[0].coord)&&e.unshift({coord:c[0]}),p(c[1],o.coord)&&(a?o.coord=c[1]:e.pop()),a&&p(o.coord,c[1])&&e.push({coord:c[1]})}function p(t,e){return t=l(t),e=l(e),h?t>e:t=i&&t<=a},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return c(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&(i=i.slice(),v(i,a.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&(i=i.slice(),v(i,a.count()));var n=s(t,i,p,e);return this.scale.scale(n)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=u(this,e),a=i.ticks,n=r(a,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return g(this,n,o,t.clamp),n},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),a=r(i,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return a},getViewLabels:function(){return f(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return h(this)}};var b=m;t.exports=b},"84d5":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("4319"),o=i("e0d3"),s=o.isNameSpecified,c=i("29a8"),l=c.legend.selector,d={all:{type:"all",title:n.clone(l.all)},inverse:{type:"inverse",title:n.clone(l.inverse)}},u=a.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),n.isArray(e)&&n.each(e,(function(t,i){n.isString(t)&&(t={type:t}),e[i]=n.merge(t,d[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),f=u;t.exports=f},"84ec":function(t,e){var i=Math.log(2);function a(t,e,n,r,o,s){var c=r+"-"+o,l=t.length;if(s.hasOwnProperty(c))return s[c];if(1===e){var d=Math.round(Math.log((1<e&&r>a||rn?o:0}t.exports=i},"87b1":function(t,e,i){var a=i("cbe5"),n=i("4fac"),r=a.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){n.buildPath(t,e,!0)}});t.exports=r},"87c3":function(t,e,i){var a=i("6d8b"),n=a.map,r=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function c(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,a=t.pipelineContext,r=a.large;if(i){var o=n(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),c=o.length,l=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=l),s(e,o[1])&&(o[1]=l),c&&{progress:d}}function d(t,e){for(var a=t.end-t.start,n=r&&new Float32Array(a*c),s=t.start,l=0,d=[],u=[];s=0?u():d=setTimeout(u,-n),c=a};return f.clear=function(){d&&(clearTimeout(d),d=null)},f.debounceNextCall=function(t){s=t},f}function o(t,e,o,s){var c=t[e];if(c){var l=c[i]||c,d=c[n],u=c[a];if(u!==o||d!==s){if(null==o||!s)return t[e]=l;c=t[e]=r(l,o,"debounce"===s),c[i]=l,c[n]=s,c[a]=o}return c}}function s(t,e){var a=t[e];a&&a[i]&&(t[e]=a[i])}e.throttle=r,e.createOrUpdate=o,e.clear=s},"88e5":function(t,e,i){"use strict";i("8e77")},8918:function(t,e,i){var a=i("6d8b"),n=i("625e"),r=n.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function c(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=r(t),e[t.main]=i},t.determineSubType=function(i,a){var n=a.type;if(!n){var o=r(i).main;t.hasSubTypes(i)&&e[o]&&(n=e[o](a))}return n},t}function l(t,e){function i(t){var i={},o=[];return a.each(t,(function(s){var c=n(i,s),l=c.originalDeps=e(s),d=r(l,t);c.entryCount=d.length,0===c.entryCount&&o.push(s),a.each(d,(function(t){a.indexOf(c.predecessor,t)<0&&c.predecessor.push(t);var e=n(i,t);a.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:i,noEntryList:o}}function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return a.each(t,(function(t){a.indexOf(e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,n,r){if(t.length){var o=i(e),s=o.graph,c=o.noEntryList,l={};a.each(t,(function(t){l[t]=!0}));while(c.length){var d=c.pop(),u=s[d],f=!!l[d];f&&(n.call(r,d,u.originalDeps.slice()),delete l[d]),a.each(u.successor,f?p:h)}a.each(l,(function(){throw new Error("Circle dependency may exists")}))}function h(t){s[t].entryCount--,0===s[t].entryCount&&c.push(t)}function p(t){l[t]=!0,h(t)}}}e.getUID=s,e.enableSubTypeDefaulter=c,e.enableTopologicalTravel=l},8929:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openLocalFile$=void 0;var r=i("c6b3"),o="biz.util.openLocalFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.openLocalFile$=a,e.default=a},8971:function(t,e){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var a={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=a},"897a":function(t,e,i){var a=i("22d1"),n=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(t){return a.browser.ie&&a.browser.version>=11?function(){var e,i=this.__clipPaths,a=this.style;if(i)for(var r=0;r'].join("")},c=["initOptions","loading","dataEmpty","judgeWidth","widthChangeDelay"],l=["grid","dataZoom","visualMap","toolbox","title","legend","xAxis","yAxis","radar","tooltip","axisPointer","brush","geo","timeline","graphic","series","backgroundColor","textStyle"];e.DEFAULT_THEME=a,e.DEFAULT_COLORS=n,e.HEAT_MAP_COLOR=r,e.HEAT_BMAP_COLOR=o,e.itemPoint=s,e.STATIC_PROPS=c,e.ECHARTS_SETTINGS=l},"89e3":function(t,e,i){var a=i("3842"),n=i("eda2"),r=i("e0d8"),o=i("944e"),s=a.round,c=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),c.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,a=this._niceExtent,n=this._intervalPrecision,r=[];if(!e)return r;var o=1e4;i[0]o)return[]}var l=r.length?r[r.length-1]:a[1];return i[1]>l&&(t?r.push(s(l+e,n)):r.push(i[1])),r},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;rn[0]&&f0)a*=10;var o=[r.round(f(e[0]/a)*a),r.round(u(e[1]/a)*a)];this._interval=a,this._niceExtent=o}},niceExtent:function(t){c.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return d(t,l(e))}a.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),m.create=function(){return new m};var g=m;t.exports=g},"8c3c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.finishMiniCourseByRecordId$=void 0;var r=i("c6b3"),o="biz.edu.finishMiniCourseByRecordId";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n)),e.finishMiniCourseByRecordId$=a,e.default=a},"8c4c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getENV=e.getUA=e.ENV_ENUM_SUB=e.APP_TYPE=e.ENV_ENUM=void 0;var a=i("9670"),n=i("9670");Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return n.ENV_ENUM}}),Object.defineProperty(e,"APP_TYPE",{enumerable:!0,get:function(){return n.APP_TYPE}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return n.ENV_ENUM_SUB}});var r,o=i("08e8"),s=function(){try{if("undefined"!=typeof window&&void 0!==window.top)return window.top.__dingtalk_jsapi_top_platfrom_config__}catch(t){return}};!function(t){t.singlePage="singlePage",t.miniApp="miniApp",t.miniWidget="miniWidget"}(r||(r={}));var c=function(){var t="";try{"undefined"!=typeof navigator&&(t=navigator&&(navigator.userAgent||navigator.swuserAgent)||"")}catch(e){t=""}return t};e.getUA=c;var l=function(){var t=(0,e.getUA)(),i=/iPhone|iPad|iPod|iOS/i.test(t),n=/Android/i.test(t),c=(/Nebula/i.test(t),/DingTalk/i.test(t)),l=/dd-web/i.test(t),d="object"==typeof nuva,u="object"==typeof dd&&"function"==typeof dd.dtBridge,f=u&&i||d&&i,h=c||o.default.isDingTalk,p=i&&h||o.default.isWeexiOS||f,m=n&&h||o.default.isWeexAndroid,v=u,g=l,b=a.APP_TYPE.WEB;if(g)b=a.APP_TYPE.WEBVIEW_IN_MINIAPP;else if(v)b=a.APP_TYPE.MINI_APP;else if(o.default.isWeexiOS||o.default.isWeexAndroid)try{var _=weex.config.ddWeexEnv;b=_===r.miniWidget?a.APP_TYPE.WEEX_WIDGET:a.APP_TYPE.WEEX}catch(t){b=a.APP_TYPE.WEEX}var y,k,x="*",w=t.match(/AliApp\(\w+\/([a-zA-Z0-9.-]+)\)/);null===w&&(w=t.match(/DingTalk\/([a-zA-Z0-9.-]+)/)),w&&w[1]&&(k=w[1]);var C="";"undefined"!=typeof name&&(C=name);var S=s();try{S&&"undefined"!=typeof window&&void 0!==window.top&&window.top!==window&&(C=top.name)}catch(t){}if(C)try{var M=JSON.parse(C);M.hostVersion&&(k=M.hostVersion),x=M.language||navigator.language||"*",y=M.containerId}catch(t){}var T=!!y;T&&!k&&(w=t.match(/DingTalk\(([a-zA-Z0-9\.-]+)\)/))&&w[1]&&(k=w[1]);var P,I=a.ENV_ENUM_SUB.noSub;return(P=p?a.ENV_ENUM.ios:m?a.ENV_ENUM.android:T?a.ENV_ENUM.pc:S&&S.platform?S.platform:a.ENV_ENUM.notInDingTalk)===a.ENV_ENUM.pc&&(I=t.indexOf("Macintosh; Intel Mac OS")>-1?a.ENV_ENUM_SUB.mac:a.ENV_ENUM_SUB.win),{platform:P,platformSub:I,version:k,appType:b,language:x}};e.getENV=l},"8d18":function(t,e,i){},"8d32":function(t,e,i){var a=i("cbe5"),n=a.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,a=e.cy,n=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,c=Math.cos(r),l=Math.sin(r);t.moveTo(c*n+i,l*n+a),t.arc(i,a,n,r,o,!s)}});t.exports=n},"8d49":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.fetch$=void 0;var r=i("c6b3"),o="runtime.message.fetch";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.fetch$=a,e.default=a},"8e36":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("9670"),o=i("eee2"),s=i("bd74"),c=i("a1ae"),l=i("5772"),d=i("dd66"),u=i("e8f7");a.ddSdk.setPlatform({platform:n.ENV_ENUM.android,bridgeInit:function(){var t=(0,n.getENV)();return t.appType===r.APP_TYPE.MINI_APP?Promise.resolve(o.default):t.appType===r.APP_TYPE.WEBVIEW_IN_MINIAPP?Promise.resolve(s.default):t.appType===r.APP_TYPE.WEEX?(0,l.androidWeexBridge)():(0,c.h5AndroidbridgeInit)().then((function(){return c.default}))},authMethod:"runtime.permission.requestJsApis",event:{on:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.on)(t,e);break;case r.APP_TYPE.WEEX:(0,u.on)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}},off:function(t,e){var i=(0,n.getENV)();switch(i.appType){case r.APP_TYPE.WEB:case r.APP_TYPE.WEBVIEW_IN_MINIAPP:(0,d.off)(t,e);break;case r.APP_TYPE.WEEX:(0,u.off)(t,e);break;default:throw new Error("Not support global event in the platfrom: ".concat(i.appType))}}}})},"8e43":function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.isObject,o=a.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,a=i&&o(i,d);return new s({categories:a,needCollect:!a,deduplication:!1!==e.dedplication})};var c=s.prototype;function l(t){return t._map||(t._map=n(t.categories))}function d(t){return r(t)&&null!=t.value?t.value:t+""}c.getOrdinal=function(t){return l(this).get(t)},c.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=l(this);return e=a.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e};var u=s;t.exports=u},"8e4d":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.bind$=void 0;var r=i("c6b3"),o="biz.iot.bind";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.34"},n[r.ENV_ENUM.android]={vs:"4.6.34"},n)),e.bind$=a,e.default=a},"8e67":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setItem$=void 0;var r=i("c6b3"),o="util.domainStorage.setItem";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.9.0"},n[r.ENV_ENUM.android]={vs:"2.9.0"},n[r.ENV_ENUM.pc]={vs:"4.6.9"},n)),e.setItem$=a,e.default=a},"8e77":function(t,e,i){},"8eb6":function(t,e,i){"use strict";i("ac6a");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"account-setting"},[e("div",{staticClass:"layout-item left"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"search-type"},[e("a-menu",{attrs:{mode:"inline",selectedKeys:t.keys},on:{click:t.menuClick}},[e("a-menu-item",{key:"base"},[e("span",[t._v("基本设置")])]),e("a-menu-item",{key:"security"},[e("span",[t._v("安全设置")])])],1)],1)])])])},n=[],r={name:"accountSetting",props:{keys:{type:Array,default:function(){return["base"]}}},methods:{menuClick:function(t){var e=t.key,i="";switch(e){case"base":i="/account/setting/base";break;case"security":i="/account/setting/security"}this.$router.push(i)}}},o=r,s=(i("b59f"),i("2877")),c=Object(s["a"])(o,a,n,!1,null,null,null);e["a"]=c.exports},"8ebb":function(t,e,i){"use strict";function a(t){var e;return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/im/cool-app-component.html?corpId=".concat(encodeURIComponent(null===(e=null===t||void 0===t?void 0:t.context)||void 0===e?void 0:e.corpId),"#/create-group?params=").concat(encodeURIComponent(JSON.stringify(t))),target:"float",title:"提示",wnId:"createGroup",panelHeight:"percent83"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.createGroup=void 0,i("c526");var n=i("5575");e.createGroup=a},"8ed2":function(t,e,i){i("48c7");var a=i("6cb7"),n=a.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=n},"903c":function(t,e){function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;ir&&(d=s.interval=r);var u=s.intervalPrecision=o(d),f=s.niceTickExtent=[n(Math.ceil(t[0]/d)*d,u),n(Math.floor(t[1]/d)*d,u)];return c(f,t),s}function o(t){return a.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function c(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=c},"94b1":function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("9d57"),o=r.layout,s=r.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,n.curry(o,"bar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),a.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94b9":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setIcon$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setIcon",c=(0,o.genDefaultParamsDealFn)({watch:!0,showIcon:!0,iconIndex:1});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.setIcon$=a,e.default=a},9504:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.quickCallList$=void 0;var r=i("c6b3"),o="biz.telephone.quickCallList";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.5.6"},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n)),e.quickCallList$=a,e.default=a},9593:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startDocSign$=void 0;var r=i("c6b3"),o="biz.util.startDocSign";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.6.33"},n)),e.startDocSign$=a,e.default=a},9670:function(t,e,i){"use strict";function a(t,e){var i=t&&t.vs;return"object"==typeof i&&(i=i[e.platformSub]),i}Object.defineProperty(e,"__esModule",{value:!0}),e.Sdk=e.LogLevel=e.APP_TYPE=e.isFunction=e.compareVersion=e.ENV_ENUM_SUB=e.ENV_ENUM=void 0;var n=i("585f");Object.defineProperty(e,"APP_TYPE",{enumerable:!0,get:function(){return n.APP_TYPE}}),Object.defineProperty(e,"LogLevel",{enumerable:!0,get:function(){return n.LogLevel}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return n.isFunction}}),Object.defineProperty(e,"compareVersion",{enumerable:!0,get:function(){return n.compareVersion}}),Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return n.ENV_ENUM}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return n.ENV_ENUM_SUB}});var r=function(){function t(t,e){var i=this;this.configJsApiList=[],this.hadConfig=!1,this.p={},this.config$=new Promise((function(t,e){i.p.reject=e,i.p.resolve=t})),this.logQueue=[],this.devConfig={debug:!1},this.platformConfigMap={},this.invokeAPIConfigMapByMethod={},this.isBridgeDrity=!0,this.getExportSdk=function(){return i.exportSdk},this.setAPI=function(t,e){i.invokeAPIConfigMapByMethod[t]=e},this.setPlatform=function(t){i.isBridgeDrity=!0,i.platformConfigMap[t.platform]=t,t.platform===i.env.platform&&t.bridgeInit().catch((function(t){i.customLog(n.LogLevel.WARNING,["auto bridgeInit error",t||""])}))},this.getPlatformConfigMap=function(){return i.platformConfigMap},this.deleteApiConfig=function(t,e){var a=i.invokeAPIConfigMapByMethod[t];a&&delete a[e]},this.invokeAPI=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!0),i.customLog(n.LogLevel.INFO,['==> "'.concat(t,'" params: '),e]);var o=+new Date,s=o+"_"+Math.floor(1e3*Math.random());if(i.devConfig.onBeforeInvokeAPI)try{i.devConfig.onBeforeInvokeAPI({invokeId:s,method:t,params:e,startTime:o})}catch(t){i.customLog(n.LogLevel.ERROR,["call Hook:onBeforeInvokeAPI failed, reason:",t])}return!1===i.devConfig.isAuthApi&&(r=!1),i.bridgeInitFn().then((function(c){var l=i.invokeAPIConfigMapByMethod[t],d=i.devConfig.forceEnableDealApiFnMap&&i.devConfig.forceEnableDealApiFnMap[t]&&!0===i.devConfig.forceEnableDealApiFnMap[t](e),u=!d&&(!0===i.devConfig.isDisableDeal||i.devConfig.disbaleDealApiWhiteList&&-1!==i.devConfig.disbaleDealApiWhiteList.indexOf(t));if(l||!r){var f;if(l&&(f=l[i.env.platform]),f||!r){var h={};h=!u&&f&&f.paramsDeal&&(0,n.isFunction)(f.paramsDeal)?f.paramsDeal(e):Object.assign({},e);var p=function(t){return!u&&f&&f.resultDeal&&(0,n.isFunction)(f.resultDeal)?f.resultDeal(t):t};if((0,n.isFunction)(h.onSuccess)){var m=h.onSuccess;h.onSuccess=function(t){m(p(t))}}return c(t,h).then(p,(function(e){var o=i.hadConfig&&void 0===i.isReady&&-1!==i.configJsApiList.indexOf(t),s="object"==typeof e&&"string"==typeof e.errorCode&&e.errorCode===n.ERROR_CODE.no_permission,l="object"==typeof e&&"string"==typeof e.errorCode&&e.errorCode===n.ERROR_CODE.cancel,d=a(f,i.env),u=d&&i.env.version&&(0,n.compareVersion)(i.env.version,d),m=(i.env.platform===n.ENV_ENUM.ios||i.env.platform===n.ENV_ENUM.android)&&o&&s,v=i.env.platform===n.ENV_ENUM.pc&&o&&(u&&!l&&r||s);return m||v?i.config$.then((function(){return c(t,h).then(p)})):Promise.reject(e)})).then((function(a){if(i.devConfig.onAfterInvokeAPI)try{i.devConfig.onAfterInvokeAPI({invokeId:s,method:t,params:e,payload:a,isSuccess:!0,startTime:o,duration:+new Date-o})}catch(t){i.customLog(n.LogLevel.ERROR,["call Hook:onAfterInvokeAPI failed, reason:",t])}return i.customLog(n.LogLevel.INFO,['<== "'.concat(t,'" success result: '),a]),a}),(function(a){if(i.devConfig.onAfterInvokeAPI)try{i.devConfig.onAfterInvokeAPI({invokeId:s,method:t,params:e,payload:a,startTime:o,duration:+new Date-o,isSuccess:!1})}catch(a){i.customLog(n.LogLevel.ERROR,["call Hook:onAfterInvokeAPI failed, reason:",a])}return i.customLog(n.LogLevel.WARNING,['<== "'.concat(t,'" fail result: '),a]),Promise.reject(a)}))}var v='"'.concat(t,'" do not support the current platform (').concat(i.env.platform,")");return i.customLog(n.LogLevel.ERROR,[v]),Promise.reject({errorCode:n.ERROR_CODE.jsapi_internal_error,errorMessage:v})}v="This API method is not configured for the platform (".concat(i.env.platform,")");return i.customLog(n.LogLevel.ERROR,[v]),Promise.reject({errorCode:n.ERROR_CODE.jsapi_internal_error,errorMessage:v})}))},this.isLogQueueTimeout=!1,this.customLog=function(t,e){var a={level:t,text:e,time:new Date};!0===i.devConfig.debug?i.customLogInstance(a):i.isLogQueueTimeout||(i.logQueueTimer||(i.logQueueTimer=setTimeout((function(){i.isLogQueueTimeout=!0,i.logQueue=[]}),1e4)),i.logQueue.push(a),i.logQueue.length>10&&(i.logQueue=i.logQueue.slice(i.logQueue.length-10)))},this.clearLogQueue=function(){i.logQueue.forEach((function(t){i.customLogInstance(t)})),i.logQueue=[]},this.customLogInstance=e,this.env=t,this.bridgeInitFn=function(){if(i.bridgeInitFnPromise&&!i.isBridgeDrity)return i.bridgeInitFnPromise;i.isBridgeDrity=!1;var e=i.platformConfigMap[t.platform];if(e)i.bridgeInitFnPromise=e.bridgeInit().catch((function(t){return i.customLog(n.LogLevel.ERROR,["\b\b\b\b\bJsBridge initialization fails, jsapi will not work"]),Promise.reject(t)}));else{var a="Do not support the current environment:".concat(t.platform);i.customLog(n.LogLevel.WARNING,[a]),i.bridgeInitFnPromise=Promise.reject(new Error(a))}return i.bridgeInitFnPromise};var r=function(t){void 0===t&&(t={}),i.devConfig=Object.assign(i.devConfig,t),!0===t.debug&&i.clearLogQueue(),t.extraPlatform&&i.setPlatform(t.extraPlatform)};this.exportSdk={config:function(e){void 0===e&&(e={});var a=!0;Object.keys(e).forEach((function(t){-1===["debug","usePromise"].indexOf(t)&&(a=!1)})),a?(i.customLog(n.LogLevel.WARNING,["This is a deprecated feature, recommend use dd.devConfig"]),r(e)):i.hadConfig?i.customLog(n.LogLevel.WARNING,["Config has been executed"]):(e.jsApiList&&(i.configJsApiList=e.jsApiList),i.hadConfig=!0,i.bridgeInitFn().then((function(a){var n=i.platformConfigMap[t.platform],r=e;n.authParamsDeal&&(r=n.authParamsDeal(r)),a(n.authMethod,r).then((function(t){i.isReady=!0,i.p.resolve(t)})).catch((function(t){i.isReady=!1,i.p.reject(t)}))}),(function(t){i.customLog(n.LogLevel.ERROR,['\b\b\b\b\bJsBridge initialization failed and "dd.config" failed to call']),i.p.reject(t)})))},devConfig:r,ready:function(t){!1===i.hadConfig?(i.customLog(n.LogLevel.WARNING,["You don 't use a dd.config, so you don't need to wrap dd.ready, recommend remove dd.ready"]),i.bridgeInitFn().then((function(){t()}))):i.config$.then((function(e){t()}))},error:function(t){i.config$.catch((function(e){t(e)}))},on:function(e,a){i.bridgeInitFn().then((function(){i.platformConfigMap[t.platform].event.on(e,a)}))},off:function(e,a){i.bridgeInitFn().then((function(){i.platformConfigMap[t.platform].event.off(e,a)}))},env:t,checkJsApi:function(e){void 0===e&&(e={});var r={};return e.jsApiList&&e.jsApiList.forEach((function(e){var o=i.invokeAPIConfigMapByMethod[e];if(o){var s=o[t.platform],c=a(s,t);c&&t.version&&(0,n.compareVersion)(t.version,c)&&(r[e]=!0)}r[e]||(r[e]=!1)})),Promise.resolve(r)},_invoke:function(t,e){return void 0===e&&(e={}),i.invokeAPI(t,e,!1)}}}return t}();e.Sdk=r},9680:function(t,e){function i(t,e,i,a,n,r,o){if(0===n)return!1;var s=n,c=0,l=t;if(o>e+s&&o>a+s||ot+s&&r>i+s||r0;(r>>>=1)&&(e+=e))1&r&&(i+=e);return i}},9850:function(t,e,i){var a=i("401b"),n=i("1687"),r=a.applyTransform,o=Math.min,s=Math.max;function c(t,e,i,a){i<0&&(t+=i,i=-i),a<0&&(e+=a,a=-a),this.x=t,this.y=e,this.width=i,this.height=a}c.prototype={constructor:c,union:function(t){var e=o(t.x,this.x),i=o(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],a=[];return function(n){if(n){t[0]=i[0]=this.x,t[1]=a[1]=this.y,e[0]=a[0]=this.x+this.width,e[1]=i[1]=this.y+this.height,r(t,t,n),r(e,e,n),r(i,i,n),r(a,a,n),this.x=o(t[0],e[0],i[0],a[0]),this.y=o(t[1],e[1],i[1],a[1]);var c=s(t[0],e[0],i[0],a[0]),l=s(t[1],e[1],i[1],a[1]);this.width=c-this.x,this.height=l-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,a=t.height/e.height,r=n.create();return n.translate(r,r,[-e.x,-e.y]),n.scale(r,r,[i,a]),n.translate(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof c||(t=c.create(t));var e=this,i=e.x,a=e.x+e.width,n=e.y,r=e.y+e.height,o=t.x,s=t.x+t.width,l=t.y,d=t.y+t.height;return!(a=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new c(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},c.create=function(t){return new c(t.x,t.y,t.width,t.height)};var l=c;t.exports=l},"98b7":function(t,e){var i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i},"98e9":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){return function(t){function e(a){if(i[a])return i[a].exports;var n=i[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,a){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=721)}({199:function(t,e,i){"use strict";var a=i(201);t.exports=a},201:function(t,e,i){"use strict";var a=i(203),n=i(204),r=i(202),o=i(205),s=new r,c=!1,l="",d=null,u={},f=/{.*}/;try{var h=window.name.match(f);if(h&&h[0])u=JSON.parse(h[0])}catch(t){u={}}u.hostOrigin&&".dingtalk.com"===u.hostOrigin.split(":")[1].slice(0-".dingtalk.com".length)&&u.containerId&&(c=!0,l=u.hostOrigin,d=u.containerId);var p={},m=new Promise((function(t,e){p._resolve=t,p._reject=e})),v={},g=null;window.top!==window?(g=window.top,p._resolve()):"object"==typeof dingtalk&&"object"==typeof dingtalk.platform&&"function"==typeof dingtalk.platform.invokeAPI&&(g=window,p._resolve()),v[o.SYS_INIT]=function(t){g=t.frameWindow,p._resolve(),t.respond({})},window.addEventListener("message",(function(t){var e=t.data,i=t.origin;if(i===l)if("response"===e.type&&e.msgId){var a=e.msgId,r=s.getMsyById(a);r&&r.methodName!==o.SYS_EVENT&&r.receiveResponse(e.body,!e.success)}else if("event"===e.type&&e.msgId){a=e.msgId,r=s.getMsyById(a);r&&r.receiveEvent(e.eventName,e.body)}else if("request"===e.type&&e.msgId){r=new n(t.source,i,e);v[r.methodName]&&v[r.methodName](r)}})),e.invokeAPI=function(t,e){var i=new a(d,t,e);return c&&m.then((function(){g&&g.postMessage(i.getPayload(),l),s.addPending(i)})),i};var b=null;e.addEventListener=function(t,i){b||(b=e.invokeAPI(o.SYS_EVENT,{})),b.addEventListener(t,i)},e.removeEventListener=function(t,e){b&&b.removeEventListener(t,e)}},202:function(t,e,i){"use strict";var a=function(){this.pendingMsgs={}};a.prototype.addPending=function(t){this.pendingMsgs[t.id]=t;var e=function(){delete this.pendingMsgs[t.id],t.removeEventListener("_finish",e)}.bind(this);t.addEventListener("_finish",e)},a.prototype.getMsyById=function(t){return this.pendingMsgs[t]},t.exports=a},203:function(t,e,i){"use strict";var a=i(716),n=i(715),r=0,o=Math.floor(1e3*Math.random()),s=function(){return 1e3*(1e3*o+Math.floor(1e3*Math.random()))+ ++r%1e3},c={code:408,reason:"timeout"},l={TIMEOUT:"_timeout",FINISH:"_finish"},d={timeout:-1},u=function(t,e,i,a){this.id=s(),this.methodName=e,this.containerId=t,this.option=n({},d,a);i=i||{};this._p={},this.result=new Promise(function(t,e){this._p._resolve=t,this._p._reject=e}.bind(this)),this.callbacks={},this.plainMsg=this._handleMsg(i),this._eventsHandle={},this._timeoutTimer=null,this._initTimeout(),this.isFinish=!1};u.prototype._initTimeout=function(){this._clearTimeout(),this.option.timeout>0&&(this._timeoutTimer=setTimeout(function(){this.receiveEvent(l.TIMEOUT),this.receiveResponse(c,!0)}.bind(this),this.option.timeout))},u.prototype._clearTimeout=function(){clearTimeout(this._timeoutTimer)},u.prototype._handleMsg=function(t){var e={};return Object.keys(t).forEach(function(i){var n=t[i];"function"==typeof n&&"on"===i.slice(0,2)?this.callbacks[i]=n:e[i]=a(n)}.bind(this)),e},u.prototype.getPayload=function(){return{msgId:this.id,containerId:this.containerId,methodName:this.methodName,body:this.plainMsg,type:"request"}},u.prototype.receiveEvent=function(t,e){if(this.isFinish&&t!==l.FINISH)return!1;t!==l.FINISH&&t!==l.TIMEOUT&&this._initTimeout(),Array.isArray(this._eventsHandle[t])&&this._eventsHandle[t].forEach((function(t){try{t(e)}catch(t){console.error(e)}}));var i="on"+t.charAt(0).toUpperCase()+t.slice(1);return this.callbacks[i]&&this.callbacks[i](e),!0},u.prototype.addEventListener=function(t,e){if(!t||"function"!=typeof e)throw"eventName is null or handle is not a function, addEventListener fail";Array.isArray(this._eventsHandle[t])||(this._eventsHandle[t]=[]),this._eventsHandle[t].push(e)},u.prototype.removeEventListener=function(t,e){if(!t||!e)throw"eventName is null or handle is null, invoke removeEventListener fail";if(Array.isArray(this._eventsHandle[t])){var i=this._eventsHandle[t].indexOf(e);-1!==i&&this._eventsHandle[t].splice(i,1)}},u.prototype.receiveResponse=function(t,e){if(!0===this.isFinish)return!1;this._clearTimeout();e=!!e;return e?this._p._reject(t):this._p._resolve(t),setTimeout(function(){this.receiveEvent(l.FINISH)}.bind(this),0),this.isFinish=!0,!0},t.exports=u},204:function(t,e,i){"use strict";var a=function(t,e,i){if(this._msgId=i.msgId,this.frameWindow=t,this.methodName=i.methodName,this.clientOrigin=e,this.containerId=i.containerId,this.params=i.body,!this._msgId)throw"msgId not exist";if(!this.frameWindow)throw"frameWindow not exist";if(!this.methodName)throw"methodName not exits";if(!this.clientOrigin)throw"clientOrigin not exist";this.hasResponded=!1};a.prototype.respond=function(t,e){e=!!e;if(!0!==this.hasResponded){var i={type:"response",success:!e,body:t,msgId:this._msgId};this.frameWindow.postMessage(i,this.clientOrigin),this.hasResponded=!0}},a.prototype.emit=function(t,e){var i={type:"event",eventName:t,body:e,msgId:this._msgId};this.frameWindow.postMessage(i,this.clientOrigin)},t.exports=a},205:function(t,e,i){"use strict";t.exports={SYS_EVENT:"SYS_openAPIContainerInitEvent",SYS_INIT:"SYS_openAPIContainerInit"}},4:function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},714:function(t,e,i){(function(t,i){function a(t,e){return t.set(e[0],e[1]),t}function n(t,e){return t.add(e),t}function r(t,e){for(var i=-1,a=t.length;++i-1}function C(t,e){var i=this.__data__,a=V(i,t);return a<0?i.push([t,e]):i[a][1]=e,this}function S(t){var e=-1,i=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=It}function xt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function wt(t){return!!t&&"object"==typeof t}function Ct(t){return!!xt(t)&&(yt(t)||d(t)?be:ee).test(mt(t))}function St(t){return"string"==typeof t||!Ue(t)&&wt(t)&&ge.call(t)==zt}function Mt(t){var e=pt(t);if(!e&&!bt(t))return H(t);var i=ut(t),a=!!i,n=i||[],r=n.length;for(var o in t)!B(t,o)||a&&("length"==o||ft(o,r))||e&&"constructor"==o||n.push(o);return n}var Tt=200,Pt="__lodash_hash_undefined__",It=9007199254740991,Ot="[object Arguments]",Et="[object Boolean]",jt="[object Date]",Dt="[object Function]",At="[object GeneratorFunction]",Nt="[object Map]",Lt="[object Number]",$t="[object Object]",Vt="[object RegExp]",Rt="[object Set]",zt="[object String]",Ft="[object Symbol]",Ut="[object ArrayBuffer]",Bt="[object DataView]",Ht="[object Float32Array]",Wt="[object Float64Array]",Yt="[object Int8Array]",qt="[object Int16Array]",Gt="[object Int32Array]",Kt="[object Uint8Array]",Xt="[object Uint8ClampedArray]",Jt="[object Uint16Array]",Zt="[object Uint32Array]",Qt=/[\\^$.*+?()[\]{}|]/g,te=/\w*$/,ee=/^\[object .+?Constructor\]$/,ie=/^(?:0|[1-9]\d*)$/,ae={};ae[Ot]=ae["[object Array]"]=ae[Ut]=ae[Bt]=ae[Et]=ae[jt]=ae[Ht]=ae[Wt]=ae[Yt]=ae[qt]=ae[Gt]=ae[Nt]=ae[Lt]=ae[$t]=ae[Vt]=ae[Rt]=ae[zt]=ae[Ft]=ae[Kt]=ae[Xt]=ae[Jt]=ae[Zt]=!0,ae["[object Error]"]=ae[Dt]=ae["[object WeakMap]"]=!1;var ne={function:!0,object:!0},re=ne[typeof e]&&e&&!e.nodeType?e:void 0,oe=ne[typeof t]&&t&&!t.nodeType?t:void 0,se=oe&&oe.exports===re?re:void 0,ce=l(re&&oe&&"object"==typeof i&&i),le=l(ne[typeof self]&&self),de=l(ne[typeof window]&&window),ue=l(ne[typeof this]&&this),fe=ce||de!==(ue&&ue.window)&&de||le||ue||Function("return this")(),he=Array.prototype,pe=Object.prototype,me=Function.prototype.toString,ve=pe.hasOwnProperty,ge=pe.toString,be=RegExp("^"+me.call(ve).replace(Qt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_e=se?fe.Buffer:void 0,ye=fe.Symbol,ke=fe.Uint8Array,xe=Object.getOwnPropertySymbols,we=Object.create,Ce=pe.propertyIsEnumerable,Se=he.splice,Me=Object.getPrototypeOf,Te=Object.keys,Pe=nt(fe,"DataView"),Ie=nt(fe,"Map"),Oe=nt(fe,"Promise"),Ee=nt(fe,"Set"),je=nt(fe,"WeakMap"),De=nt(Object,"create"),Ae=mt(Pe),Ne=mt(Ie),Le=mt(Oe),$e=mt(Ee),Ve=mt(je),Re=ye?ye.prototype:void 0,ze=Re?Re.valueOf:void 0;h.prototype.clear=p,h.prototype.delete=m,h.prototype.get=v,h.prototype.has=g,h.prototype.set=b,_.prototype.clear=y,_.prototype.delete=k,_.prototype.get=x,_.prototype.has=w,_.prototype.set=C,S.prototype.clear=M,S.prototype.delete=T,S.prototype.get=P,S.prototype.has=I,S.prototype.set=O,E.prototype.clear=j,E.prototype.delete=D,E.prototype.get=A,E.prototype.has=N,E.prototype.set=L;var Fe=function(t){return function(t){return null==t?void 0:t.length}}();xe||(ot=function(){return[]}),(Pe&&st(new Pe(new ArrayBuffer(1)))!=Bt||Ie&&st(new Ie)!=Nt||Oe&&"[object Promise]"!=st(Oe.resolve())||Ee&&st(new Ee)!=Rt||je&&"[object WeakMap]"!=st(new je))&&(st=function(t){var e=ge.call(t),i=e==$t?t.constructor:void 0,a=i?mt(i):void 0;if(a)switch(a){case Ae:return Bt;case Ne:return Nt;case Le:return"[object Promise]";case $e:return Rt;case Ve:return"[object WeakMap]"}return e});var Ue=Array.isArray,Be=_e?function(t){return t instanceof _e}:function(t){return function(){return!1}}();t.exports=z}).call(e,i(719)(t),i(4))},715:function(t,e,i){function a(t,e,i){var a=t[e];y.call(t,e)&&c(a,i)&&(void 0!==i||e in t)||(t[e]=i)}function n(t,e,i,n){i||(i={});for(var r=-1,o=e.length;++r-1&&t%1==0&&t-1&&t%1==0&&t<=m}function f(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var h=i(717),p=i(718),m=9007199254740991,v="[object Function]",g="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,_=Object.prototype,y=_.hasOwnProperty,k=_.toString,x=_.propertyIsEnumerable,w=!x.call({valueOf:1},"valueOf"),C=function(t){return function(t){return null==t?void 0:t.length}}(),S=function(t){return p((function(e,i){var a=-1,n=i.length,r=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(r=t.length>3&&"function"==typeof r?(n--,r):void 0,s&&o(i[0],i[1],s)&&(r=n<3?void 0:r,n=1),e=Object(e);++a-1&&t%1==0&&t-1&&t%1==0&&t<=m}function f(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function h(t){return!!t&&"object"==typeof t}function p(t){return c(t)?a(t):n(t)}var m=9007199254740991,v="[object Arguments]",g="[object Function]",b="[object GeneratorFunction]",_=/^(?:0|[1-9]\d*)$/,y=Object.prototype,k=y.hasOwnProperty,x=y.toString,w=y.propertyIsEnumerable,C=function(t,e){return function(i){return t(e(i))}}(Object.keys,Object),S=Array.isArray;t.exports=p},718:function(t,e){function i(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function a(t,e){return e=w(void 0===e?t.length-1:e,0),function(){for(var a=arguments,n=-1,r=w(a.length-e,0),o=Array(r);++n0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(i.tasks.length))]):t._e()]),t._e()]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":i.showTaskCard}},[e("vue-scroll",{ref:a+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:i.code,"task-type-index":a}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:i.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.unDoneTasks,(function(i,n){return[!i.done&&i.canRead?e("div",{key:i.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(i.pri),attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:a>0?"top":"right"}},[e("template",{slot:"title"},[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[i.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(i.status),fontSize:"12px"}},[t._v(t._s(i.statusText))]):t._e(),i.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(i.end_time)},[e("span",{attrs:{title:i.end_time}},[t._v("\n "+t._s(t.showTaskTime(i.begin_time,i.end_time))+"\n ")])]):t._e(),i.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),i.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),i.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),i.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(i.childCount[1])+"/"+t._s(i.childCount[0]))])],1):t._e(),t._l(i.tags,(function(i){return e("span",{key:i.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(i.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(i.tag.name)+"\n ")],1)})),i.execute_state>0?e("span",{class:"icon-wrapper text text-"+i.task_execute.color},[t._v(t._s(i.task_execute_name))]):t._e(),i.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(i.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(i.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+a}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(a),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(i.code,a)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(i,a){return e("a-menu-item",{key:a},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:i.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(i.name))]),i.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(a,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(i.code,a)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.doneTasks,(function(i,n){return[i.canRead?e("div",{key:i.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),i.executor&&i.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(i.task_tag_item_list,(function(i,a){return e("span",{key:i.code,staticClass:"tag muted",class:"tag-color-"+i.color},[t._v("\n "+t._s(i.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(i.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(i.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{staticClass:"member-list-item"},[i.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(i,a)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(i)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("抄送")])])}],r=(i("8e6e"),i("456d"),i("7514"),i("20d6"),i("28a5"),i("55dd"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("2ef0"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("b76a"),h=i.n(f),p=i("f8c7"),m=i("d3a1"),v=i("58bf"),g=i("51e2"),b=i("b83b"),_=i("e3cc"),y=i("1d80"),k=i("e507"),x=i("24d2"),w=i("9f5d"),C=i("b199"),S=i("2f14"),M=i("81fe"),T=i("4200"),P=i("97a8");function I(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function O(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],i=this;Object(k["d"])({projectCode:this.code,pageSize:30}).then((function(a){var n=[];if(e?t.taskStages=n=a.data.list:a.data.list.forEach((function(t){t.tasksLoading=!1,n.push(t)})),n){i.taskSearchParams;n.forEach((function(t,a){t.page=1,i.getTasks(t,a,e)}))}}))},getTasks:function(t,e,i){var a=this,n=this.taskSearchParams,r={};r={stageCode:t.code,type:"copied_list"},r=Object.assign(r,n),Object(k["h"])(r).then((function(n){var r=0;n.data.forEach((function(e){e.canRead||r++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=r,t.tasksLoading=!1,t.tasks=n.data,i||a.$set(a.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=i,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(P["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,i=this;if(i.createTaskLoading)return i.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===i.createTaskLoading&&i.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),i.createTaskLoading=!0,Object(C["s"])(i.task).then((function(a){i.createTaskLoading=!1;var n=Object(S["a"])(a);if(n){i.$message.destroy();var r=i.taskStages[t];r.tasks.push(a.data),i.taskStages[t].unDoneTasks.push(a.data),i.task={},e.taskDetail(a.data.code,t),console.log(O({},a.data))}})).catch((function(){i.createTaskLoading=!1}))},taskDone:function(t,e,i,a){var n=this,r=null,o=this.taskStages[e].unDoneTasks,s=this.taskStages[e].doneTasks;if(r=a?o[i]:s[i],r.hasUnDone)return!1;r.done=a,a?(o.splice(i,1),s.push(r),s=s.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(s.splice(i,1),o.push(r),o=o.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(C["z"])(t,a).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;n.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,i=this,a=t.key.split("_"),n=a[a.length-2],r=a[a.length-1],o=a[0];switch(o){case"editStage":this.stageModal.stageCode=n,this.stageModal.stageIndex=r,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[r].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return i.taskStages[r].tasks=[],i.$set(i.taskStages[r],"doneTasks",[]),Object(C["r"])({stageCode:n}).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;i.$set(i.taskStages[r],"doneTasks",[]),i.$set(i.taskStages[r],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=r,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[r].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["b"])(n),i.taskStages.splice(r,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(k["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var i=Object(S["a"])(e);if(!i)return!1;var a=e.data;t.taskStages.push(a),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(k["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(i){var a=Object(S["a"])(i);if(!a)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,i=this.taskStages[this.projectMemberModal.currentStageIndex],a=[];i.tasks.forEach((function(t){t.canRead&&a.push(t.code)})),a?Object(C["c"])({taskCodes:JSON.stringify(a),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(S["a"])(t))return!1;Object(k["h"])({stageCode:i.code,type:"copied_list"}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),i.canNotReadCount=e,i.tasksLoading=!1,i.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(M["a"])(t,e)},taskDetail:function(t,e){var i=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){i.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(k["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),i=[],a="",n=0,r=t.to.children.length;n0&&(o=null===o?c:Math.min(o,c))}i[n]=o}}return i}function g(t){var e=v(t),i=[];return a.each(t,(function(t){var a,n=t.coordinateSystem,o=n.getBaseAxis(),s=o.getExtent();if("category"===o.type)a=o.getBandWidth();else if("value"===o.type||"time"===o.type){var c=o.dim+"_"+o.index,l=e[c],d=Math.abs(s[1]-s[0]),u=o.scale.getExtent(),p=Math.abs(u[1]-u[0]);a=l?d/p*l:d}else{var m=t.getData();a=Math.abs(s[1]-s[0])/m.count()}var v=r(t.get("barWidth"),a),g=r(t.get("barMaxWidth"),a),b=r(t.get("barMinWidth")||1,a),_=t.get("barGap"),y=t.get("barCategoryGap");i.push({bandWidth:a,barWidth:v,barMaxWidth:g,barMinWidth:b,barGap:_,barCategoryGap:y,axisKey:h(o),stackId:f(t)})})),b(i)}function b(t){var e={};a.each(t,(function(t,i){var a=t.axisKey,n=t.bandWidth,r=e[a]||{bandWidth:n,remainedWidth:n,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[a]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var c=t.barWidth;c&&!o[s].width&&(o[s].width=c,c=Math.min(r.remainedWidth,c),r.remainedWidth-=c);var l=t.barMaxWidth;l&&(o[s].maxWidth=l);var d=t.barMinWidth;d&&(o[s].minWidth=d);var u=t.barGap;null!=u&&(r.gap=u);var f=t.barCategoryGap;null!=f&&(r.categoryGap=f)}));var i={};return a.each(e,(function(t,e){i[e]={};var n=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),c=r(t.gap,1),l=t.remainedWidth,d=t.autoWidthCount,u=(l-s)/(d+(d-1)*c);u=Math.max(u,0),a.each(n,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){a=t.width;e&&(a=Math.min(a,e)),i&&(a=Math.max(a,i)),t.width=a,l-=a+c*a,d--}else{var a=u;e&&ea&&(a=i),a!==u&&(t.width=a,l-=a+c*a,d--)}})),u=(l-s)/(d+(d-1)*c),u=Math.max(u,0);var f,h=0;a.each(n,(function(t,e){t.width||(t.width=u),f=t,h+=t.width*(1+c)})),f&&(h-=f.width*c);var p=-h/2;a.each(n,(function(t,a){i[e][a]=i[e][a]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+c)}))})),i}function _(t,e,i){if(t&&e){var a=t[h(e)];return null!=a&&null!=i&&(a=a[f(i)]),a}}function y(t,e){var i=m(t,e),n=g(i),r={},o={};a.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),c=f(t),l=n[h(a)][c],d=l.offset,u=l.width,p=i.getOtherAxis(a),m=t.get("barMinHeight")||0;r[c]=r[c]||[],o[c]=o[c]||[],e.setLayout({bandWidth:l.bandWidth,offset:d,size:u});for(var v=e.mapDimension(p.dim),g=e.mapDimension(a.dim),b=s(e,v),_=p.isHorizontal(),y=C(a,p,b),k=0,x=e.count();k=0?"p":"n",E=y;if(b&&(r[c][I]||(r[c][I]={p:y,n:y}),E=r[c][I][O]),_){var j=i.dataToPoint([P,I]);w=E,S=j[1]+d,M=j[0]-y,T=u,Math.abs(M)d||(f=d),{progress:h}}function h(t,e){var d,h=t.count,p=new u(2*h),m=new u(2*h),v=new u(h),g=[],b=[],_=0,y=0;while(null!=(d=t.next()))b[l]=e.get(o,d),b[1-l]=e.get(s,d),g=i.dataToPoint(b,null,g),m[_]=c?a.x+a.width:g[0],p[_++]=g[0],m[_]=c?g[1]:a.y+a.height,p[_++]=g[1],v[y++]=d;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:m,barWidth:f,valueAxisStart:C(n,r,!1),backgroundStart:c?a.x:a.y,valueAxisHorizontal:c})}}};function x(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function C(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=m,e.makeColumnLayout=g,e.retrieveColumnLayout=_,e.layout=y,e.largeLayout=k},"9d72":function(t,e,i){"use strict";i("cb13")},"9dd2":function(t,e,i){"use strict";function a(t){var e=Object.assign({},t,{isBatchApi:!0});return(0,n._invoke)("biz.util.callComponent",{componentType:"h5",params:{url:"/resource-picker/".concat(r.isMobile?"mob":"index",".html?scene=addCoolAppToGroup¶ms=").concat(encodeURIComponent(JSON.stringify(e))),target:r.isMobile?"":"float",title:"选择会话添加应用",wnId:"addCoolAppToGroup",panelHeight:"percent90"}})}Object.defineProperty(e,"__esModule",{value:!0}),e.batchInstallCoolApp=void 0,i("c526");var n=i("5575"),r=i("2983");e.batchInstallCoolApp=a},"9e2e":function(t,e,i){var a=i("a73c"),n=i("9850"),r=i("82eb"),o=r.WILL_BE_RESTORED,s=new n,c=function(){};c.prototype={constructor:c,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&a.normalizeTextStyle(i,!0);var n=i.text;if(null!=n&&(n+=""),a.needDrawText(n,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),a.renderText(this,t,n,i,e,o),t.restore()}}};var l=c;t.exports=l},"9e31":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.ut$=void 0;var r=i("c6b3"),o="biz.util.ut",s=function(t){var e=Object.assign({},t),i=e.value,a=[];if(i&&"object"==typeof i){for(var n in i)void 0!==i[n]&&a.push(n+"="+i[n]);i=a.join(",")}return e.value=i||"",e};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.5.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:function(t){var e=Object.assign({},t),i=e.value;return i&&"object"==typeof i&&(i=JSON.stringify(i)),e.value=i,e}},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:s},n)),e.ut$=a,e.default=a},"9e47":function(t,e,i){var a=i("6d8b"),n=i("71ad"),r=i("6cb7"),o=i("f934"),s=o.getLayoutParams,c=o.mergeLayoutParam,l=i("8e43"),d=["value","category","time","log"];function u(t,e,i,o){a.each(d,(function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,n){var o=this.layoutMode,l=o?s(e):{},d=n.getTheme();a.merge(e,d.get(r+"Axis")),a.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&c(e,l,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=l.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:a.mergeAll([{},n[r+"Axis"],o],!0)})})),r.registerSubTypeDefaulter(t+"Axis",a.curry(i,t))}t.exports=u},"9e78":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.language=e.compareVersion=e.other=e.pc=e.android=e.ios=void 0;var a=i("8c4c"),n=(0,a.getENV)();e.ios=n.platform===a.ENV_ENUM.ios,e.android=n.platform===a.ENV_ENUM.android,e.pc=n.platform===a.ENV_ENUM.pc,e.other=n.platform===a.ENV_ENUM.notInDingTalk;var r=function(t,e,i){function a(t){return parseInt(t,10)||0}if("string"!=typeof t||"string"!=typeof e)return!1;for(var n,r,o=t.split("-")[0].split(".").map(a),s=e.split("-")[0].split(".").map(a);n===r&&s.length>0;)n=o.shift(),r=s.shift();return i?(r||0)>=(n||0):(r||0)>(n||0)};e.compareVersion=r,e.language=n.language,e.version=n.version},"9f51":function(t,e,i){var a=i("857d"),n=a.normalizeRadian,r=2*Math.PI;function o(t,e,i,a,o,s,c,l,d){if(0===c)return!1;var u=c;l-=t,d-=e;var f=Math.sqrt(l*l+d*d);if(f-u>i||f+uo&&(o+=r);var p=Math.atan2(d,l);return p<0&&(p+=r),p>=a&&p<=o||p+r>=a&&p+r<=o}e.containStroke=o},"9f82":function(t,e,i){var a=i("ee1a"),n=a.isDimensionStacked,r=i("6d8b"),o=r.map;function s(t,e,i){var a,r=t.getBaseAxis(),s=t.getOtherAxis(r),l=c(s,i),d=r.dim,u=s.dim,f=e.mapDimension(u),h=e.mapDimension(d),p="x"===u||"radius"===u?1:0,m=o(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(a|=n(e,m[0]))&&(m[0]=v),(a|=n(e,m[1]))&&(m[1]=v),{dataDimsForPoint:m,valueStart:l,valueAxisDim:u,baseAxisDim:d,stacked:!!a,valueDim:f,baseDim:h,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function c(t,e){var i=0,a=t.scale.getExtent();return"start"===e?i=a[0]:"end"===e?i=a[1]:a[0]>0?i=a[0]:a[1]<0&&(i=a[1]),i}function l(t,e,i,a){var n=NaN;t.stacked&&(n=i.get(i.getCalculationInfo("stackedOverDimension"),a)),isNaN(n)&&(n=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,a),o[1-r]=n,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=l},"9f99":function(t,e,i){"function"!=typeof Promise&&i("146a")},a02a:function(t,e,i){"use strict";i("dd18")},a15a:function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("9850"),o=i("e86a"),s=o.calculateTextPosition,c=n.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=e.width/2,r=e.height/2;t.moveTo(i,a-r),t.lineTo(i+n,a+r),t.lineTo(i-n,a+r),t.closePath()}}),l=n.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=e.width/2,r=e.height/2;t.moveTo(i,a-r),t.lineTo(i+n,a),t.lineTo(i,a+r),t.lineTo(i-n,a),t.closePath()}}),d=n.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,a=e.y,n=e.width/5*3,r=Math.max(n,e.height),o=n/2,s=o*o/(r-o),c=a-r+o+s,l=Math.asin(s/o),d=Math.cos(l)*o,u=Math.sin(l),f=Math.cos(l),h=.6*o,p=.7*o;t.moveTo(i-d,c+s),t.arc(i,c,o,Math.PI-l,2*Math.PI+l),t.bezierCurveTo(i+d-u*h,c+s+f*h,i,a-p,i,a),t.bezierCurveTo(i,a-p,i-d+u*h,c+s+f*h,i-d,c+s),t.closePath()}}),u=n.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,a=e.width,n=e.x,r=e.y,o=a/3*2;t.moveTo(n,r),t.lineTo(n+o,r+i),t.lineTo(n,r+i/4*3),t.lineTo(n-o,r+i),t.lineTo(n,r),t.closePath()}}),f={line:n.Line,rect:n.Rect,roundRect:n.Rect,square:n.Rect,circle:n.Circle,diamond:l,pin:d,arrow:u,triangle:c},h={line:function(t,e,i,a,n){n.x1=t,n.y1=e+a/2,n.x2=t+i,n.y2=e+a/2},rect:function(t,e,i,a,n){n.x=t,n.y=e,n.width=i,n.height=a},roundRect:function(t,e,i,a,n){n.x=t,n.y=e,n.width=i,n.height=a,n.r=Math.min(i,a)/4},square:function(t,e,i,a,n){var r=Math.min(i,a);n.x=t,n.y=e,n.width=r,n.height=r},circle:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.r=Math.min(i,a)/2},diamond:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.width=i,n.height=a},pin:function(t,e,i,a,n){n.x=t+i/2,n.y=e+a/2,n.width=i,n.height=a},arrow:function(t,e,i,a,n){n.x=t+i/2,n.y=e+a/2,n.width=i,n.height=a},triangle:function(t,e,i,a,n){n.cx=t+i/2,n.cy=e+a/2,n.width=i,n.height=a}},p={};a.each(f,(function(t,e){p[e]=new t}));var m=n.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var a=s(t,e,i),n=this.shape;return n&&"pin"===n.symbolType&&"inside"===e.textPosition&&(a.y=i.y+.4*i.height),a},buildPath:function(t,e,i){var a=e.symbolType;if("none"!==a){var n=p[a];n||(a="rect",n=p[a]),h[a](e.x,e.y,e.width,e.height,n.shape),n.buildPath(t,n.shape,i)}}});function v(t,e){if("image"!==this.type){var i=this.style,a=this.shape;a&&"line"===a.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function g(t,e,i,a,o,s,c){var l,d=0===t.indexOf("empty");return d&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),l=0===t.indexOf("image://")?n.makeImage(t.slice(8),new r(e,i,a,o),c?"center":"cover"):0===t.indexOf("path://")?n.makePath(t.slice(7),{},new r(e,i,a,o),c?"center":"cover"):new m({shape:{symbolType:t,x:e,y:i,width:a,height:o}}),l.__isEmptyBrush=d,l.setColor=v,l.setColor(s),l}e.createSymbol=g},a1ae:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h5AndroidbridgeInit=void 0;var a,n=function(){return a||(a=new Promise((function(t,e){var i=function(){try{window.WebViewJavascriptBridgeAndroid=window.nuva&&window.nuva.require(),t({})}catch(t){e(t)}};window.nuva&&(void 0===window.nuva.isReady||window.nuva.isReady)?i():(document.addEventListener("runtimeready",(function(){i()}),!1),document.addEventListener("runtimefailed",(function(t){var i=t&&t.detail||{errorCode:"2",errorMessage:"unknown nuvajs bootstrap error"};e(i)}),!1))}))),a};e.h5AndroidbridgeInit=n;var r=function(t,i){return a||(a=(0,e.h5AndroidbridgeInit)()),a.then((function(){return new Promise((function(e,a){var n=t.split("."),r=n.pop()||"",o=n.join("."),s=function(t){"function"==typeof i.onSuccess&&i.onSuccess(t),e(t)},c=function(t){"function"==typeof i.onFail&&i.onFail(t),a(t)};"function"==typeof window.WebViewJavascriptBridgeAndroid&&window.WebViewJavascriptBridgeAndroid(s,c,o,r,i)}))}))};e.default=r},a1f3:function(t,e,i){},a22e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkBizCall$=void 0;var r=i("c6b3"),o="biz.telephone.checkBizCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"4.0.0"},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n)),e.checkBizCall$=a,e.default=a},a52f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.callComponent$=void 0;var r=i("c6b3"),o="biz.util.callComponent";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.35"},n[r.ENV_ENUM.android]={vs:"6.3.35"},n[r.ENV_ENUM.pc]={vs:"6.3.35"},n)),e.callComponent$=a,e.default=a},a5dc:function(t,e,i){"use strict";i("0bba")},a5e2:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.search$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.map.search",c=(0,o.genDefaultParamsDealFn)({scope:500});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.search$=a,e.default=a},a60d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.uploadFile$=void 0;var r=i("c6b3"),o="biz.util.uploadFile";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.28"},n[r.ENV_ENUM.android]={vs:"6.5.27"},n)),e.uploadFile$=a,e.default=a},a61f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stopRecord$=void 0;var r=i("c6b3"),o="device.audio.stopRecord";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.stopRecord$=a,e.default=a},a703:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isTab$=void 0;var r=i("c6b3"),o="biz.tabwindow.isTab";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.5.10"},n)),e.isTab$=a,e.default=a},a73c:function(t,e,i){var a=i("6d8b"),n=a.retrieve2,r=a.retrieve3,o=a.each,s=a.normalizeCssArray,c=a.isString,l=a.isObject,d=i("e86a"),u=i("5693"),f=i("5e76"),h=i("7d6d"),p=i("82eb"),m=p.ContextCachedBy,v=p.WILL_BE_RESTORED,g=d.DEFAULT_FONT,b={left:1,right:1,center:1},_={top:1,bottom:1,middle:1},y=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],k={},x={};function w(t){return C(t),o(t.rich,C),t}function C(t){if(t){t.font=d.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||b[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||_[i]?i:"top";var a=t.textPadding;a&&(t.textPadding=s(t.textPadding))}}function S(t,e,i,a,n,r){a.rich?T(t,e,i,a,n,r):M(t,e,i,a,n,r)}function M(t,e,i,a,n,r){"use strict";var o,s=E(a),c=!1,l=e.__attrCachedBy===m.PLAIN_TEXT;r!==v?(r&&(o=r.style,c=!s&&l&&o),e.__attrCachedBy=s?m.NONE:m.PLAIN_TEXT):l&&(e.__attrCachedBy=m.NONE);var u=a.font||g;c&&u===(o.font||g)||(e.font=u);var f=t.__computedFont;t.__styleFont!==u&&(t.__styleFont=u,f=t.__computedFont=e.font);var p=a.textPadding,b=a.textLineHeight,_=t.__textCotentBlock;_&&!t.__dirtyText||(_=t.__textCotentBlock=d.parsePlainText(i,f,p,b,a.truncate));var k=_.outerHeight,w=_.lines,C=_.lineHeight,S=A(x,t,a,n),M=S.baseX,T=S.baseY,P=S.textAlign||"left",O=S.textVerticalAlign;I(e,a,n,M,T);var D=d.adjustTextY(T,k,O),N=M,V=D;if(s||p){var z=d.getWidth(i,f),F=z;p&&(F+=p[1]+p[3]);var U=d.adjustTextX(M,F,P);s&&j(t,e,a,U,D,F,k),p&&(N=R(M,P,p),V+=p[0])}e.textAlign=P,e.textBaseline="middle",e.globalAlpha=a.opacity||1;for(var B=0;B=0&&(k=C[L],"right"===k.textAlign))O(t,e,k,a,M,b,N,"right"),T-=k.width,N-=k.width,L--;D+=(r-(D-g)-(_-N)-T)/2;while(P<=L)k=C[P],O(t,e,k,a,M,b,D+k.width/2,"center"),D+=k.width,P++;b+=M}}function I(t,e,i,a,n){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(a=i.width/2+i.x,n=i.height/2+i.y):r&&(a=r[0]+i.x,n=r[1]+i.y),t.translate(a,n),t.rotate(-e.textRotation),t.translate(-a,-n)}}function O(t,e,i,a,o,s,c,l){var d=a.rich[i.styleName]||{};d.text=i.text;var u=i.textVerticalAlign,f=s+o/2;"top"===u?f=s+i.height/2:"bottom"===u&&(f=s+o-i.height/2),!i.isLineHolder&&E(d)&&j(t,e,d,"right"===l?c-i.width:"center"===l?c-i.width/2:c,f-i.height/2,i.width,i.height);var h=i.textPadding;h&&(c=R(c,l,h),f-=i.height/2-h[2]-i.textHeight/2),N(e,"shadowBlur",r(d.textShadowBlur,a.textShadowBlur,0)),N(e,"shadowColor",d.textShadowColor||a.textShadowColor||"transparent"),N(e,"shadowOffsetX",r(d.textShadowOffsetX,a.textShadowOffsetX,0)),N(e,"shadowOffsetY",r(d.textShadowOffsetY,a.textShadowOffsetY,0)),N(e,"textAlign",l),N(e,"textBaseline","middle"),N(e,"font",i.font||g);var p=L(d.textStroke||a.textStroke,v),m=$(d.textFill||a.textFill),v=n(d.textStrokeWidth,a.textStrokeWidth);p&&(N(e,"lineWidth",v),N(e,"strokeStyle",p),e.strokeText(i.text,c,f)),m&&(N(e,"fillStyle",m),e.fillText(i.text,c,f))}function E(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function j(t,e,i,a,n,r,o){var s=i.textBackgroundColor,d=i.textBorderWidth,h=i.textBorderColor,p=c(s);if(N(e,"shadowBlur",i.textBoxShadowBlur||0),N(e,"shadowColor",i.textBoxShadowColor||"transparent"),N(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),N(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||d&&h){e.beginPath();var m=i.textBorderRadius;m?u.buildPath(e,{x:a,y:n,width:r,height:o,r:m}):e.rect(a,n,r,o),e.closePath()}if(p)if(N(e,"fillStyle",s),null!=i.fillOpacity){var v=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(l(s)){var g=s.image;g=f.createOrUpdateImage(g,null,t,D,s),g&&f.isImageReady(g)&&e.drawImage(g,a,n,r,o)}if(d&&h)if(N(e,"lineWidth",d),N(e,"strokeStyle",h),null!=i.strokeOpacity){v=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function D(t,e){e.image=t}function A(t,e,i,a){var n=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(a){var c=i.textPosition;if(c instanceof Array)n=a.x+V(c[0],a.width),r=a.y+V(c[1],a.height);else{var l=e&&e.calculateTextPosition?e.calculateTextPosition(k,i,a):d.calculateTextPosition(k,i,a);n=l.x,r=l.y,o=o||l.textAlign,s=s||l.textVerticalAlign}var u=i.textOffset;u&&(n+=u[0],r+=u[1])}return t=t||{},t.baseX=n,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function N(t,e,i){return t[e]=h(t,e,i),t[e]}function L(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function $(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function V(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function R(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function z(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=w,e.renderText=S,e.getBoxPosition=A,e.getStroke=L,e.getFill=$,e.parsePercent=V,e.needDrawText=z},a769:function(t,e,i){t.exports=i.p+"img/500.5e6bf3ad.svg"},a8b1:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.toConversationByOpenConversationId$=void 0;var r=i("c6b3"),o="biz.chat.toConversationByOpenConversationId";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.30"},n[r.ENV_ENUM.android]={vs:"5.1.30"},n[r.ENV_ENUM.pc]={vs:"5.1.33"},n)),e.toConversationByOpenConversationId$=a,e.default=a},a8ce:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isLocalFileExist$=void 0;var r=i("c6b3"),o="biz.util.isLocalFileExist";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.isLocalFileExist$=a,e.default=a},a906:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.clearWebStoreCache$=void 0;var r=i("c6b3"),o="biz.util.clearWebStoreCache";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.22"},n)),e.clearWebStoreCache$=a,e.default=a},a96b:function(t,e,i){var a=i("3eba"),n=a.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=n},aaa5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createGroup$=void 0;var r=i("c6b3"),o="biz.contact.createGroup";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n[r.ENV_ENUM.pc]={vs:"4.6.1"},n)),e.createGroup$=a,e.default=a},ab27:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe$=void 0;var r=i("c6b3"),o="biz.realm.subscribe";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.18"},n[r.ENV_ENUM.android]={vs:"4.7.18"},n)),e.subscribe$=a,e.default=a},ac0f:function(t,e,i){var a=i("cbe5"),n=i("401b"),r=i("4a3f"),o=r.quadraticSubdivide,s=r.cubicSubdivide,c=r.quadraticAt,l=r.cubicAt,d=r.quadraticDerivativeAt,u=r.cubicDerivativeAt,f=[];function h(t,e,i){var a=t.cpx2,n=t.cpy2;return null===a||null===n?[(i?u:l)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?u:l)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?d:c)(t.x1,t.cpx1,t.x2,e),(i?d:c)(t.y1,t.cpy1,t.y2,e)]}var p=a.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,a=e.y1,n=e.x2,r=e.y2,c=e.cpx1,l=e.cpy1,d=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(i,a),null==d||null==u?(h<1&&(o(i,c,n,h,f),c=f[1],n=f[2],o(a,l,r,h,f),l=f[1],r=f[2]),t.quadraticCurveTo(c,l,n,r)):(h<1&&(s(i,c,d,n,h,f),c=f[1],d=f[2],n=f[3],s(a,l,u,r,h,f),l=f[1],u=f[2],r=f[3]),t.bezierCurveTo(c,l,d,u,n,r)))},pointAt:function(t){return h(this.shape,t,!1)},tangentAt:function(t){var e=h(this.shape,t,!0);return n.normalize(e,e)}});t.exports=p},ad32:function(t,e,i){},ad47:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.download$=void 0;var r=i("c6b3"),o="device.audio.download";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.download$=a,e.default=a},addb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.toast$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.toast",c=(0,o.genDefaultParamsDealFn)({text:"toast",duration:3,delay:0});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0",paramsDeal:function(t){return t.icon&&!t.type&&("success"===t.icon?t.type="success":"error"===t.icon&&(t.type="error")),t}},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.toast$=a,e.default=a},ae15:function(t,e,i){},ae29:function(t,e,i){"use strict";i("c95f")},ae37:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.post$=void 0;var r=i("c6b3"),o="runtime.message.post";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0"},n[r.ENV_ENUM.android]={vs:"2.6.0"},n)),e.post$=a,e.default=a},ae69:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,a=e.cx,n=e.cy,r=e.rx,o=e.ry,s=r*i,c=o*i;t.moveTo(a-r,n),t.bezierCurveTo(a-r,n-c,a-s,n-o,a,n-o),t.bezierCurveTo(a+s,n-o,a+r,n-c,a+r,n),t.bezierCurveTo(a+r,n+c,a+s,n+o,a,n+o),t.bezierCurveTo(a-s,n+o,a-r,n+c,a-r,n),t.closePath()}});t.exports=n},af13:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.multipleChoose$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.customContact.multipleChoose",c=(0,o.genDefaultParamsDealFn)({isShowCompanyName:!1,max:50});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.multipleChoose$=a,e.default=a},af24:function(t,e,i){i("48c7"),i("f273")},af70:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.enable$=void 0;var r=i("c6b3"),o="ui.webViewBounce.enable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.enable$=a,e.default=a},af9e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.hidePreloader$=void 0;var r=i("c6b3"),o="device.notification.hidePreloader";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.hidePreloader$=a,e.default=a},afa0:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e1fc"),o=i("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var c=function(){this._roots=[],this._displayList=[],this._displayListLen=0};c.prototype={constructor:c,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var l=c;t.exports=l},b0ad:function(t,e,i){t.exports=i.p+"img/403.41acc6f2.svg"},b0af:function(t,e,i){var a=i("2306"),n=i("3842"),r=n.round;function o(t,e,i){var n=t.getArea(),r=t.getBaseAxis().isHorizontal(),o=n.x,s=n.y,c=n.width,l=n.height,d=i.get("lineStyle.width")||2;o-=d/2,s-=d/2,c+=d,l+=d,o=Math.floor(o),c=Math.round(c);var u=new a.Rect({shape:{x:o,y:s,width:c,height:l}});return e&&(u.shape[r?"width":"height"]=0,a.initProps(u,{shape:{width:c,height:l}},i)),u}function s(t,e,i){var n=t.getArea(),o=new a.Sector({shape:{cx:r(t.cx,1),cy:r(t.cy,1),r0:r(n.r0,1),r:r(n.r,1),startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return e&&(o.shape.endAngle=n.startAngle,a.initProps(o,{shape:{endAngle:n.endAngle}},i)),o}function c(t,e,i){return t?"polar"===t.type?s(t,e,i):"cartesian2d"===t.type?o(t,e,i):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=c},b12f:function(t,e,i){var a=i("e1fc"),n=i("8918"),r=i("625e"),o=function(){this.group=new a,this.uid=n.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,a){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,a){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var c=o;t.exports=c},b1d4:function(t,e,i){var a=i("862d");function n(t,e){return e=e||{},a(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=n},b2d4:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=this,i=e._self._c;return i("div",{staticClass:"account-setting-security"},[i("wrapper-content",{attrs:{showHeader:!1}},[i("div",{staticClass:"setting-content"},[i("account-setting",{attrs:{keys:["security"]}}),i("div",{staticClass:"layout-item right"},[i("div",{staticClass:"setting-info-title"},[i("span",[e._v("安全设置")])]),i("div",{staticClass:"setting-info"},[i("div",{staticClass:"setting-info-content"},[i("div",{staticClass:"ant-list ant-list-split"},[i("div",{staticClass:"ant-spin-nested-loading"},[i("div",{staticClass:"ant-spin-container"},[i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("账户密码")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e._v("当前密码强度 : 强")])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editPassword}},[i("a",[e._v("修改")])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("手机账号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.mobile?i("span",[e._v("已绑定手机 : "+e._s(e.userInfo.mobile))]):i("span",[e._v("未绑定手机")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editMobile}},[i("a",[e.userInfo.mobile?i("span",[e._v("修改")]):i("span",[e._v("绑定")])])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("邮箱帐号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.email?i("span",[e._v("已绑定邮箱 : "+e._s(e.userInfo.email))]):i("span",[e._v("未绑定邮箱")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[i("li",{on:{click:e.editMail}},[i("a",[e.userInfo.email?i("span",[e._v("修改")]):i("span",[e._v("绑定")])])])])]),i("div",{staticClass:"ant-list-item"},[i("div",{staticClass:"ant-list-item-meta"},[i("div",{staticClass:"ant-list-item-meta-content"},[i("h4",{staticClass:"ant-list-item-meta-title"},[i("a",[e._v("钉钉账号")])]),i("div",{staticClass:"ant-list-item-meta-description"},[i("span",[i("span",{staticClass:"security-list-description"},[e.userInfo.dingtalk_unionid?i("span",[e._v("已绑定")]):i("span",[e._v("未绑定钉钉账号")])])])])])]),i("ul",{staticClass:"ant-list-item-action"},[e.userInfo.dingtalk_unionid?i("li",{on:{click:e.unbindDingtalk}},[i("a",[e._v("解除绑定")])]):i("li",{on:{click:e.bindDingtalk}},[i("a",[e._v("绑定")])])])])])])])])])])],1)]),i("a-modal",{attrs:{width:385,title:e.passwordInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.passwordInfo.modalStatus,callback:function(t){e.$set(e.passwordInfo,"modalStatus",t)},expression:"passwordInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.form,autoFormCreate:function(e){t.form=e},hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handlePasswordSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"原密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"请输入原密码"}]}],expression:"[\n 'password',\n {rules: [{ required: true, message: '请输入原密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",{attrs:{label:"新密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["newPassword",{rules:[{required:!0,message:"请输入新密码"}]}],expression:"[\n 'newPassword',\n {rules: [{ required: true, message: '请输入新密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",{attrs:{label:"确认新密码"}},[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["confirmPassword",{rules:[{required:!0,message:"请确认新密码"}]}],expression:"[\n 'confirmPassword',\n {rules: [{ required: true, message: '请确认新密码' }]}\n ]"}],attrs:{type:"password"}})],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large"}},[e._v("保存")])],1)],1)],1),i("a-modal",{staticClass:"mobile-modal",attrs:{width:385,title:e.mobileInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.mobileInfo.modalStatus,callback:function(t){e.$set(e.mobileInfo,"modalStatus",t)},expression:"mobileInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.mobileForm,hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handleMobileSubmit.apply(null,arguments)}}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mobile",{rules:[{required:!0,pattern:/^1[34578]\d{9}$/,message:"请输入正确的手机号"}],validateTrigger:"change"}],expression:"[\n 'mobile',\n {rules: [{ required: true, pattern: /^1[34578]\\d{9}$/, message: '请输入正确的手机号' }], validateTrigger: 'change'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"手机号"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),i("a-row",{attrs:{gutter:16}},[i("a-col",{staticClass:"gutter-row",attrs:{span:16}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["captcha",{rules:[{required:!0,message:"请输入验证码"}],validateTrigger:"blur"}],expression:"[\n 'captcha',\n {rules: [{ required: true, message: '请输入验证码' }], validateTrigger: 'blur'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"验证码"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1)],1),i("a-col",{staticClass:"gutter-row",attrs:{span:8}},[i("a-button",{staticClass:"getCaptcha",attrs:{size:"large",tabindex:"-1",disabled:e.mobileInfo.state.smsSendBtn},domProps:{textContent:e._s(e.mobileInfo.state.smsSendBtn?e.mobileInfo.state.time+" s":"获取验证码")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.getCaptcha.apply(null,arguments)}}})],1)],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:e.mobileInfo.confirmLoading,disabled:e.mobileInfo.confirmLoading}},[e._v("绑定\n ")])],1)],1)],1),i("a-modal",{staticClass:"mail-modal",attrs:{width:385,title:e.mailInfo.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:e.mailInfo.modalStatus,callback:function(t){e.$set(e.mailInfo,"modalStatus",t)},expression:"mailInfo.modalStatus"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:e.errorTips,expression:"errorTips"}],staticStyle:{"margin-bottom":"12px"},attrs:{message:e.errorTips,type:"error"}}),i("a-form",{attrs:{layout:"vertical",form:e.mailForm,hideRequiredMark:""},on:{submit:function(t){return t.preventDefault(),e.handleMailSubmit.apply(null,arguments)}}},[i("a-form-item",[i("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mail",{rules:[{required:!0,pattern:/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/,message:"请输入正确的邮箱地址"}],validateTrigger:"change"}],expression:"[\n 'mail',\n {rules: [{ required: true, pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})$/, message: '请输入正确的邮箱地址' }], validateTrigger: 'change'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"邮箱地址"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-form-item",[i("a-button",{attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:e.mailInfo.confirmLoading,disabled:e.mailInfo.confirmLoading}},[e._v("保存\n ")])],1)],1)],1)],1)},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("6821f"),s=i.n(o),c=i("2f62"),l=i("8eb6"),d=i("2f14"),u=i("c24f"),f=i("e1b8");function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function p(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";this.errorTips=t},getCaptcha:function(t){var e=this;t.preventDefault();var i=this;this.mobileForm.validateFields(["mobile"],{force:!0},(function(t,a){if(!t){e.mobileInfo.state.smsSendBtn=!0;var n=window.setInterval((function(){i.mobileInfo.state.time--<=0&&(i.mobileInfo.state.time=60,i.mobileInfo.state.smsSendBtn=!1,window.clearInterval(n))}),1e3);e.$message.loading("验证码发送中..",0);Object(u["u"])(a.mobile).then((function(t){if(e.$message.destroy(),!Object(d["a"])(t))return!1;var i="验证码获取成功";t.data&&(i+=",您的验证码为:"+t.data),e.$notification["success"]({message:"提示",description:i,duration:8,placement:"bottomLeft"})})).catch((function(t){clearInterval(n),i.mobileInfo.state.time=60,i.mobileInfo.state.smsSendBtn=!1,e.requestFailed(t)}))}}))}}},v=m,g=(i("c073"),i("2877")),b=Object(g["a"])(v,a,n,!1,null,null,null);e["default"]=b.exports},b2d5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.resetView$=void 0;var r=i("c6b3"),o="device.screen.resetView";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.0.0"},n[r.ENV_ENUM.ios]={vs:"4.0.0"},n)),e.resetView$=a,e.default=a},b387:function(t,e,i){"use strict";i("da28")},b39f:function(t,e,i){"use strict";i.d(e,"e",(function(){return n})),i.d(e,"f",(function(){return r})),i.d(e,"g",(function(){return o})),i.d(e,"a",(function(){return s})),i.d(e,"d",(function(){return c})),i.d(e,"c",(function(){return l})),i.d(e,"b",(function(){return d}));var a=i("22b6");function n(t){return a["a"].post("project/events",t)}function r(t){return a["a"].post("project/events/myList",t)}function o(t){return a["a"].post("project/events/read",t)}function s(t){return a["a"].post("project/events/confirmJoin",t)}function c(t){return a["a"].post("project/events/getEventsListByCalendar",t)}function l(t){var e="project/events/save";return t.code&&(e="project/events/edit"),a["a"].post(e,t)}function d(t){return a["a"].post("project/events/delete",t)}},b3ff:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-403"},[e("ErrorPage",[e("img",{attrs:{slot:"img",src:i("a769"),alt:""},slot:"img"})])],1)},n=[],r=i("8685"),o={components:{ErrorPage:r["a"]}},s=o,c=i("2877"),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},b59f:function(t,e,i){"use strict";i("54b9")},b5c7:function(t,e,i){var a=i("282b"),n=a([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=n(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=r},b719:function(t,e,i){var a=i("697e7");e.zrender=a;var n=i("1687");e.matrix=n;var r=i("401b");e.vector=r;var o=i("6d8b"),s=i("41ef");e.color=s;var c=i("2306"),l=i("3842");e.number=l;var d=i("eda2");e.format=d;var u=i("88b3");u.throttle;e.throttle=u.throttle;var f=i("1548");e.helper=f;var h=i("bda7");e.parseGeoJSON=h;var p=i("6179");e.List=p;var m=i("4319");e.Model=m;var v=i("84ce");e.Axis=v;var g=i("22d1");e.env=g;var b=h,_={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){_[t]=o[t]}));var y={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){y[t]=c[t]})),e.parseGeoJson=b,e.util=_,e.graphic=y},b729:function(t,e,i){"use strict";i("16d1")},b7f0:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getNetworkType$=void 0;var r=i("c6b3"),o="device.connection.getNetworkType";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.getNetworkType$=a,e.default=a},b809:function(t,e,i){var a=i("6d8b"),n=i("29a8"),r=i("2b17"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries((function(t,e){++r}),this);var s,c=i.get("data.maxCount")||10,l=i.get("series.maxCount")||10,d=Math.min(r,l);if(!(r<1)){var u=v();s=u?p(m("general.withTitle"),{title:u}):m("general.withoutTitle");var f=[],h=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(m(h),{seriesCount:r}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=m(a?n+"withName":n+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:g(t.subType)});var s=t.getData();window.data=s,s.count()>c?i+=p(m("data.partialData"),{displayCnt:c}):i+=m("data.allData");for(var l=[],u=0;u0&&t.animate(e,!1).when(null==n?500:n,s).delay(r||0)}function p(t,e,i,a){if(e){var n={};n[e]={},n[e][i]=a,t.attr(n)}else t.attr(i,a)}u.prototype={constructor:u,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var c=t.split("."),l=o;r="shape"===c[0];for(var u=0,f=c.length;u>1^-(1&s),c=c>>1^-(1&c),s+=n,c+=r,n=s,r=c,a.push([s/i,c/i])}return a}function s(t,e){return r(t),a.map(a.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,r=t.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&a.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var c=new n(i[e||"name"],s,i.cp);return c.properties=i,c}))}t.exports=s},be29:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseOneDay$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseOneDay";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n[r.ENV_ENUM.android]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n)),e.chooseOneDay$=a,e.default=a},beef:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-recycle-index"},[e("wrapper-content",{attrs:{showHeader:!1}},[e("a-list",{staticClass:"project-list",attrs:{loading:t.loading,itemLayout:"horizontal",dataSource:t.dataSource,locale:{emptyText:""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"恢复项目"},on:{click:function(e){return t.doAction(i,"recovery",a)}}},[e("a-icon",{attrs:{type:"undo"}})],1)],1),e("a-list-item-meta",{attrs:{description:i.description}},[e("router-link",{attrs:{slot:"title",to:"/project/space/task/"+i.code},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"})],1),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("移动日期")]),e("span",[t._v(t._s(t.moment(i.deleted_time).format("YYYY-MM-DD")))])])])],1)}}])},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMore}},[t._v("查看更多项目")])],1):t._e()])],1)],1)},n=[],r=i("24d2"),o=(i("2f14"),i("1b80")),s=i("c1df"),c=i.n(s),l={mixins:[o["a"]],data:function(){return{dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,showInviteMember:!1,currentProject:{},currentProjectId:0,newData:{id:0}}},created:function(){this.init()},methods:{moment:c.a,init:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this;t&&(this.dataSource=[],this.pagination.page=1,this.pagination.pageSize=100,this.showLoadingMore=!1),this.requestData.recycle=1,this.requestData.type="other",e.loading=!0,Object(r["f"])(e.requestData).then((function(t){e.dataSource=e.dataSource.concat(t.data.list),e.pagination.total=t.data.total,e.showLoadingMore=e.pagination.total>e.dataSource.length,e.loading=!1,e.loadingMore=!1}))},onLoadMore:function(){this.loadingMore=!0,this.pagination.page++,this.init(!1)},inviteProjectMember:function(t){this.currentProject=t,this.currentProjectId=t.id,this.showInviteMember=!0},doAction:function(t,e,i){this.currentProject=t;var a=this;a.newData={id:0},"recovery"==e&&this.$confirm({title:"确定恢复项目?",content:"恢复「".concat(this.currentProject.name,"」后就可以正常使用了"),okText:"恢复项目",okType:"primary",cancelText:"再想想",onOk:function(){return Object(r["i"])(t.code).then((function(){a.dataSource.splice(i,1)})),Promise.resolve()}})}}},d=l,u=(i("02de"),i("2877")),f=Object(u["a"])(d,a,n,!1,null,null,null);e["default"]=f.exports},bfef:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseHalfDay$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseHalfDay";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n[r.ENV_ENUM.android]={vs:"3.5.0",paramsDeal:o.addDefaultCorpIdParamsDeal},n)),e.chooseHalfDay$=a,e.default=a},c048:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.presentWindow$=void 0;var r=i("c6b3"),o="biz.util.presentWindow";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.presentWindow$=a,e.default=a},c073:function(t,e,i){"use strict";i("387a")},c0d0:function(t,e,i){"use strict";i("14cf")},c0d8:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reset-mail",staticStyle:{height:"100%"}},[e("div",{staticClass:"content"},[t.loading?t._e():e("a-card",{attrs:{title:t.isSuccess?"验证成功":"验证失败"}},[e("div",{staticClass:"header m-b-lg text-center"},[e("p",[e("a-icon",{class:{icon:!0,isSuccess:t.isSuccess,error:!t.isSuccess},attrs:{type:t.isSuccess?"check-circle":"close-circle"}})],1),t.isSuccess?e("span",[t._v("\n 您已成功绑定邮箱\n ")]):e("span",[t.tips?e("span",[t._v(t._s(t.tips))]):e("span",[t._v("绑定邮箱失败")])])]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",block:"",size:"large"},on:{click:t.toHome}},[e("span",[t._v("进入首页")])])],1)],1)])},n=[],r=i("c24f"),o=i("2f14"),s={data:function(){return{loading:!0,isSuccess:!1,tips:""}},created:function(){this.checkBindMail()},methods:{checkBindMail:function(){var t=this;Object(r["e"])({token:this.$route.query.token}).then((function(e){if(t.loading=!1,!Object(o["a"])(e))return t.tips=e.msg,!1;t.isSuccess=!0}))}}},c=s,l=(i("b387"),i("2877")),d=Object(l["a"])(c,a,n,!1,null,null,null);e["default"]=d.exports},c27d:function(t,e,i){},c2be:function(t,e,i){var a=i("2306"),n=a.extendShape,r=n({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-n),s=n+o,c=e.startAngle,l=e.endAngle,d=e.clockwise,u=Math.cos(c),f=Math.sin(c),h=Math.cos(l),p=Math.sin(l),m=d?l-c<2*Math.PI:c-l<2*Math.PI;m&&(t.moveTo(u*n+i,f*n+a),t.arc(u*s+i,f*s+a,o,-Math.PI+c,c,!d)),t.arc(i,a,r,c,l,!d),t.moveTo(h*r+i,p*r+a),t.arc(h*s+i,p*s+a,o,l-2*Math.PI,l-Math.PI,!d),0!==n&&(t.arc(i,a,n,l,c,d),t.moveTo(u*n+i,p*n+a)),t.closePath()}});t.exports=r},c305:function(t,e,i){},c327:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.translateVoice$=void 0;var r=i("c6b3"),o="device.audio.translateVoice";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.translateVoice$=a,e.default=a},c3da:function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var n=i("6f0c"),r=i("4cbb");i("ef97");var o=a(i("6521")),s=Object.assign||function(t){for(var e=1;e"),t.forEach((function(t){var o=t.seriesName,s=t.data,c=t.marker,d=null,u=~l.indexOf(o)?i[1]:i[0],f=r.isArray(s)?s[1]:s;d=n.getFormated(f,u,a),e.push(c),e.push(o+": "+d),e.push("
")})),e.join("")}}}function f(t){var e=t.metrics,i=t.legendName,a=t.labelMap;if(!i&&!a)return{data:e};var n=a?e.map((function(t){return null==a[t]?t:a[t]})):e;return{data:n,formatter:function(t){return null!=i[t]?i[t]:t}}}var h=function(t,e,i,a){e=r.isArray(e)?e:[],t=r.isArray(t)?t:[];var n=i.axisSite,o=void 0===n?{}:n,s=i.yAxisType,h=void 0===s?["normal","normal"]:s,p=i.xAxisType,m=void 0===p?"category":p,v=i.yAxisName,g=void 0===v?[]:v,b=i.dimension,_=void 0===b?[t[0]]:b,y=i.xAxisName,k=void 0===y?[]:y,x=i.axisVisible,w=void 0===x||x,C=i.area,S=i.stack,M=i.scale,T=void 0===M?[!1,!1]:M,P=i.min,I=void 0===P?[null,null]:P,O=i.max,E=void 0===O?[null,null]:O,j=i.nullAddZero,D=void 0!==j&&j,A=i.digit,N=void 0===A?2:A,L=i.legendName,$=void 0===L?{}:L,V=i.labelMap,R=void 0===V?{}:V,z=i.label,F=i.itemStyle,U=i.lineStyle,B=i.areaStyle,H=a.tooltipVisible,W=a.legendVisible,Y=a.tooltipFormatter,q=t.slice();o.left&&o.right?q=o.left.concat(o.right):o.left&&!o.right?q=o.left:i.metrics?q=i.metrics:q.splice(t.indexOf(_[0]),1);var G=W&&f({metrics:q,legendName:$,labelMap:R}),K=H&&u({axisSite:o,yAxisType:h,digit:N,labelMap:R,xAxisType:m,tooltipFormatter:Y}),X=c({dimension:_,rows:e,xAxisName:k,axisVisible:w,xAxisType:m}),J=d({yAxisName:g,yAxisType:h,axisVisible:w,scale:T,min:I,max:E,digit:N}),Z=l({rows:e,axisSite:o,metrics:q,area:C,stack:S,nullAddZero:D,labelMap:R,label:z,itemStyle:F,lineStyle:U,areaStyle:B,xAxisType:m,dimension:_}),Q={legend:G,xAxis:X,series:Z,yAxis:J,tooltip:K};return Q},p=s({},o,{name:"VeLine",data:function(){return this.chartHandler=h,{}}});t.exports=p},c42c:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openModal$=void 0;var r=i("c6b3"),o="biz.util.openModal";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.openModal$=a,e.default=a},c526:function(t,e,i){"use strict";var a=i("ea60");i("5c51"),t.exports=a},c533:function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],a={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=a},c6b3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ddSdk=e.ENV_ENUM_SUB=e.ENV_ENUM=void 0;var a=i("8c4c"),n=i("0bbb"),r=i("8c4c");Object.defineProperty(e,"ENV_ENUM",{enumerable:!0,get:function(){return r.ENV_ENUM}}),Object.defineProperty(e,"ENV_ENUM_SUB",{enumerable:!0,get:function(){return r.ENV_ENUM_SUB}});var o=i("9670");i("4d16"),e.ddSdk=new o.Sdk((0,a.getENV)(),n.log)},c775:function(t,e,i){var a=i("2b17"),n=a.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),a=i.length;if(1===a)return n(t,e,i[0]);if(a){for(var r=[],o=0;o=e:"max"===i?t<=e:t===e}function m(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var a=t[i];if(r.hasClass(i)){e=n.normalizeToArray(e),a=n.normalizeToArray(a);var o=n.mappingToExists(a,e);t[i]=c(o,(function(t){return t.option&&t.exist?l(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=l(a,e,!0)}}))}u.prototype={constructor:u,setOption:function(t,e){t&&a.each(n.normalizeToArray(t.series),(function(t){t&&t.data&&a.isTypedArray(t.data)&&a.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,r=f.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(v(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=c(e.timelineOptions,s),this._mediaList=c(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var a=t.getComponent("timeline");a&&(e=s(i[a.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),a=this._mediaList,n=this._mediaDefault,r=[],o=[];if(!a.length&&!n)return o;for(var l=0,d=a.length;l1e-10&&(n.width+=o/s,n.height+=o/s,n.x-=o/s/2,n.y-=o/s/2)}return n}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),n=this.style;if(t=i[0],e=i[1],a.contain(t,e)){var r=this.path.data;if(n.hasStroke()){var s=n.lineWidth,c=n.strokeNoScale?this.getLineScale():1;if(c>1e-10&&(n.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/c,t,e)))return!0}if(n.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):a.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(n.isObject(t))for(var a in t)t.hasOwnProperty(a)&&(i[a]=t[a]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},u.extend=function(t){var e=function(e){u.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var a=this.shape;for(var n in i)!a.hasOwnProperty(n)&&i.hasOwnProperty(n)&&(a[n]=i[n])}t.init&&t.init.call(this,e)};for(var i in n.inherits(e,u),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},n.inherits(u,a);var f=u;t.exports=f},cbe9:function(t,e,i){var a=i("6d8b"),n=i("9850"),r=i("cf7e");function o(t){r.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var a=this.getAxis("x"),n=this.getAxis("y");return i=i||[],i[0]=a.toGlobalCoord(a.dataToCoord(t[0])),i[1]=n.toGlobalCoord(n.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,n=i.getExtent(),r=a.getExtent(),o=i.parse(t[0]),s=a.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(n[0],n[1]),o),Math.max(n[0],n[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),a=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=a.coordToData(a.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),a=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-a,s=new n(i,a,r,o);return s}},a.inherits(o,r);var s=o;t.exports=s},cccd:function(t,e,i){var a=i("e0d3"),n=a.makeInner;function r(){var t=n();return function(e){var i=t(e),a=e.pipelineContext,n=i.large,r=i.progressiveRender,o=i.large=a&&a.large,s=i.progressiveRender=a&&a.progressiveRender;return!!(n^o||r^s)&&"reset"}}t.exports=r},cd27:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.close$=void 0;var r=i("c6b3"),o="biz.navigation.close";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n[r.ENV_ENUM.pc]={vs:"4.3.5"},n)),e.close$=a,e.default=a},cd33:function(t,e,i){var a=i("6d8b"),n=i("4319"),r=a.each,o=a.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return c(i,t,e),i.seriesInvolved&&d(i,t),i}function c(t,e,i){var a=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),s=n.get("link",!0)||[],c=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var d=g(i.model),f=t.coordSysAxesInfo[d]={};t.coordSysMap[d]=i;var h=i.model,p=h.getModel("tooltip",a);if(r(i.getAxes(),o(y,!1,null)),i.getTooltipAxes&&a&&p.get("show")){var m="axis"===p.get("trigger"),b="cross"===p.get("axisPointer.type"),_=i.getTooltipAxes(p.get("axisPointer.axis"));(m||b)&&r(_.baseAxes,o(y,!b||"cross",m)),b&&r(_.otherAxes,o(y,"cross",!1))}}function y(a,r,o){var d=o.model.getModel("axisPointer",n),h=d.get("show");if(h&&("auto"!==h||a||v(d))){null==r&&(r=d.get("triggerTooltip")),d=a?l(o,p,n,e,a,r):d;var m=d.get("snap"),b=g(o.model),_=r||m||"category"===o.type,y=t.axesInfo[b]={key:b,axis:o,coordSys:i,axisPointerModel:d,triggerTooltip:r,involveSeries:_,snap:m,useHandle:v(d),seriesModels:[]};f[b]=y,t.seriesInvolved|=_;var k=u(s,o);if(null!=k){var x=c[k]||(c[k]={axesInfo:{}});x.axesInfo[b]=y,x.mapper=s[k].mapper,y.linkGroup=x}}}}))}function l(t,e,i,o,s,c){var l=e.getModel("axisPointer"),d={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){d[t]=a.clone(l.get(t))})),d.snap="category"!==t.type&&!!c,"cross"===l.get("type")&&(d.type="line");var u=d.label||(d.label={});if(null==u.show&&(u.show=!1),"cross"===s){var f=l.get("label.show");if(u.show=null==f||f,!c){var h=d.lineStyle=l.get("crossStyle");h&&a.defaults(u,h.textStyle)}}return t.model.getModel("axisPointer",new n(d,i,o))}function d(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,a=e.get("tooltip.trigger",!0),n=e.get("tooltip.show",!0);i&&"none"!==a&&!1!==a&&"item"!==a&&!1!==n&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[g(i.model)],(function(t){var a=t.axis;i.getAxis(a.dim)===a&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function u(t,e){for(var i=e.model,a=e.dim,n=0;n=0||t===e}function h(t){var e=p(t);if(e){var i=e.axisPointerModel,a=e.axis.scale,n=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=a.parse(o));var s=v(i);null==r&&(n.status=s?"show":"hide");var c=a.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o=0;p--){var m=t[p];if(s||(u=m.data.rawIndexOf(m.stackedByDimension,d)),u>=0){var v=m.data.getByRawIndex(m.stackResultDimension,u);if(f>=0&&v>0||f<=0&&v<0){f+=v,h=v;break}}}return a[0]=f,a[1]=h,a}));o.hostModel.setData(c),e.data=c}))}t.exports=o},d1be:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,visible:"",title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.code,readonly:""},on:{close:t.detailClose}})],1)},n=[],r=i("009f"),o={name:"task-detail-modal",components:{taskDetail:r["a"]},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},detailClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},s=o,c=(i("5753"),i("2877")),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},d200:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.disable$=void 0;var r=i("c6b3"),o="ui.webViewBounce.disable";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.disable$=a,e.default=a},d28f:function(t,e,i){var a=i("3eba");i("84d5"),i("4650"),i("5e97");var n=i("903c"),r=i("6cb7");a.registerProcessor(a.PRIORITY.PROCESSOR.SERIES_FILTER,n),r.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2cf:function(t,e,i){var a=i("6d8b"),n=i("401b"),r=i("cb6d"),o=i("1fab"),s=i("607d"),c=i("0b44"),l="silent";function d(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:u}}function u(){s.stop(this.event)}function f(){}f.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,a){o.call(this),this.storage=t,this.painter=e,this.painterRoot=a,i=i||new f,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function m(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var a,n=t;while(n){if(n.clipPath&&!n.clipPath.contain(e,i))return!1;n.silent&&(a=!0),n=n.parent}return!a||l}return!1}function v(t,e,i){var a=t.painter;return e<0||e>a.getWidth()||i<0||i>a.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(a.each(h,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,a=v(this,e,i),n=this._hovered,r=n.target;r&&!r.__zr&&(n=this.findHover(n.x,n.y),r=n.target);var o=this._hovered=a?{x:e,y:i}:this.findHover(e,i),s=o.target,c=this.proxy;c.setCursor&&c.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==r&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var a=t.target;if(!a||!a.silent){var n="on"+e,r=d(e,t,i);while(a)if(a[n]&&(r.cancelBubble=a[n].call(a,r)),a.trigger(e,r),a=a.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[n]&&t[n].call(t,r),t.trigger&&t.trigger(e,r)})))}},findHover:function(t,e,i){for(var a=this.storage.getDisplayList(),n={x:t,y:e},r=a.length-1;r>=0;r--){var o;if(a[r]!==i&&!a[r].ignore&&(o=m(a[r],t,e))&&(!n.topTarget&&(n.topTarget=a[r]),o!==l)){n.target=a[r];break}}return n},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new c);var i=this._gestureMgr;"start"===e&&i.clear();var a=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),a){var n=a.type;t.gestureEvent=n,this.dispatchToElement({target:a.target},n,a.event)}}},a.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,a,r=e.zrX,o=e.zrY,s=v(this,r,o);if("mouseup"===t&&s||(i=this.findHover(r,o),a=i.target),"mousedown"===t)this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if("mouseup"===t)this._upEl=a;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||n.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),a.mixin(p,o),a.mixin(p,r);var g=p;t.exports=g},d2fb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openSingleChat$=void 0;var r=i("c6b3"),o="biz.chat.openSingleChat";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.10"},n[r.ENV_ENUM.android]={vs:"3.4.10"},n)),e.openSingleChat$=a,e.default=a},d495:function(t,e,i){"use strict";i("e49b")},d498:function(t,e,i){var a=i("cbe5"),n=i("4fac"),r=a.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){n.buildPath(t,e,!1)}});t.exports=r},d4b1:function(t,e,i){var a=i("3eba"),n=i("17d6"),r=a.extendComponentView({type:"axisPointer",render:function(t,e,i){var a=e.getComponent("tooltip"),r=t.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";n.register("axisPointer",i,(function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){n.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){n.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},d4c6:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=n||v<0)break;if(h(b)){if(p){v+=r;continue}break}if(v===i)t[r>0?"moveTo":"lineTo"](b[0],b[1]);else if(c>0){var _=e[m],y="y"===d?1:0,k=(b[y]-_[y])*c;l(u,_),u[y]=_[y]+k,l(f,b),f[y]=b[y]-k,t.bezierCurveTo(u[0],u[1],f[0],f[1],b[0],b[1])}else t.lineTo(b[0],b[1]);m=v,v+=r}return g}function v(t,e,i,a,r,p,m,v,g,b,_){for(var y=0,k=i,x=0;x=r||k<0)break;if(h(w)){if(_){k+=p;continue}break}if(k===i)t[p>0?"moveTo":"lineTo"](w[0],w[1]),l(u,w);else if(g>0){var C=k+p,S=e[C];if(_)while(S&&h(e[C]))C+=p,S=e[C];var M=.5,T=e[y];S=e[C];if(!S||h(S))l(f,w);else{var P,I;if(h(S)&&!_&&(S=w),n.sub(d,S,T),"x"===b||"y"===b){var O="x"===b?0:1;P=Math.abs(w[O]-T[O]),I=Math.abs(w[O]-S[O])}else P=n.dist(w,T),I=n.dist(w,S);M=I/(I+P),c(f,w,d,-g*(1-M))}o(u,u,v),s(u,u,m),o(f,f,v),s(f,f,m),t.bezierCurveTo(u[0],u[1],f[0],f[1],w[0],w[1]),c(u,w,d,g*M)}else t.lineTo(w[0],w[1]);y=k,k+=p}return x}function g(t,e){var i=[1/0,1/0],a=[-1/0,-1/0];if(e)for(var n=0;na[0]&&(a[0]=r[0]),r[1]>a[1]&&(a[1]=r[1])}return{min:e?i:a,max:e?a:i}}var b=a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(a.prototype.brush),buildPath:function(t,e){var i=e.points,a=0,n=i.length,r=g(i,e.smoothConstraint);if(e.connectNulls){for(;n>0;n--)if(!h(i[n-1]))break;for(;a0;r--)if(!h(i[r-1]))break;for(;n=this._maxSize&&o>0){var c=i.head;i.remove(c),delete a[c.key],r=c.value,this._lastRemovedEntry=c}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),a[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},d5b7:function(t,e,i){var a=i("de00"),n=i("1fab"),r=i("0cde"),o=i("bd6b"),s=i("6d8b"),c=function(t){r.call(this,t),n.call(this,t),o.call(this,t),this.id=t.id||a()};c.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i"),t.forEach((function(t){var i=t.seriesName,s=~c.indexOf(i)?a[1]:a[0];e.push(n.itemPoint(t.color)),e.push(i+": "),e.push(r.getFormated(t.value,s,o)),e.push("
")})),e.join("")}}}function m(t,e){for(var i=Math.max.apply(null,e),a=Math.min.apply(null,e),n=[],r=a;r<=i;r++){var o=e.indexOf(r);~o?n.push(t[o]):n.push(null)}return n}function v(t){var e=t.innerRows,i=t.metrics,a=t.stack,n=t.axisSite,s=t.isHistogram,l=t.labelMap,u=t.itemStyle,f=t.label,h=t.showLine,p=void 0===h?[]:h,v=t.dimAxisType,g=t.barGap,b=t.opacity,_=t.dims,y=[],k={},x=s?n.right||[]:n.top||[],w=s?"yAxisIndex":"xAxisIndex",C=a&&r.getStackMap(a);return i.forEach((function(t){k[t]=[]})),e.forEach((function(t){i.forEach((function(e){k[e].push(t[e])}))})),y=Object.keys(k).map((function(t,e){var i="value"===v?m(k[t],_):k[t],n=c({name:null!=l[t]?l[t]:t,type:~p.indexOf(t)?"line":"bar",data:i},w,~x.indexOf(t)?"1":"0");a&&C[t]&&(n.stack=C[t]),f&&(n.label=f),u&&(n.itemStyle=u);var r=b||o.get(n,"itemStyle.normal.opacity");return"value"===v&&(n.barGap=g,n.barCategoryGap="1%",null==r&&(r=d)),null!=r&&o.set(n,"itemStyle.normal.opacity",r),n})),!!y.length&&y}function g(t){var e=t.metrics,i=t.labelMap,a=t.legendName;if(!a&&!i)return{data:e};var n=i?e.map((function(t){return null==i[t]?t:i[t]})):e;return{data:n,formatter:function(t){return null!=a[t]?a[t]:t}}}function b(t,e){return t.map((function(t){return t[e[0]]}))}var _=function(t,e,i,a){var n=o.cloneDeep(e),r=i.axisSite,s=void 0===r?{}:r,c=i.dimension,l=void 0===c?[t[0]]:c,d=i.stack,f=void 0===d?{}:d,m=i.axisVisible,_=void 0===m||m,y=i.digit,k=void 0===y?2:y,x=i.dataOrder,w=void 0!==x&&x,C=i.scale,S=void 0===C?[!1,!1]:C,M=i.min,T=void 0===M?[null,null]:M,P=i.max,I=void 0===P?[null,null]:P,O=i.labelMap,E=void 0===O?{}:O,j=i.legendName,D=void 0===j?{}:j,A=i.label,N=i.itemStyle,L=i.showLine,$=i.barGap,V=void 0===$?"-100%":$,R=i.opacity;if(w){var z=w.label,F=w.order;z&&F?n.sort((function(t,e){return"desc"===F?t[z]-e[z]:e[z]-t[z]})):console.warn("Need to provide name and order parameters")}var U=a.tooltipVisible,B=a.legendVisible,H=t.slice();s.left&&s.right?H=s.left.concat(s.right):s.left&&!s.right?H=s.left:i.metrics?H=i.metrics:H.splice(t.indexOf(l[0]),1);var W=i.yAxisType||["normal","normal"],Y=i.xAxisType||"category",q=i.yAxisName||[],G=i.xAxisName||"",K=!0,X=b(n,l),J=B&&g({metrics:H,labelMap:E,legendName:D}),Z=u({innerRows:n,dimAxisName:G,dimension:l,axisVisible:_,dimAxisType:Y,dims:X}),Q=h({meaAxisName:q,meaAxisType:W,axisVisible:_,digit:k,scale:S,min:T,max:I}),tt=v({innerRows:n,metrics:H,stack:f,axisSite:s,isHistogram:K,labelMap:E,itemStyle:N,label:A,showLine:L,dimAxisType:Y,dimension:l,barGap:V,opacity:R,dims:X}),et={axisSite:s,isHistogram:K,meaAxisType:W,digit:k,labelMap:E},it=U&&p(et),at={legend:J,yAxis:Q,series:tt,xAxis:Z,tooltip:it};return at},y=l({},s,{name:"VeHistogram",data:function(){return this.chartHandler=_,{}}});t.exports=y},d789:function(t,e,i){"use strict";i("2f98")},d812:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getRealmCid$=void 0;var r=i("c6b3"),o="biz.chat.getRealmCid";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.12"},n[r.ENV_ENUM.android]={vs:"4.7.12"},n[r.ENV_ENUM.pc]={vs:"4.7.12"},n)),e.getRealmCid$=a,e.default=a},d816:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkPassword$=void 0;var r=i("c6b3"),o="biz.user.checkPassword";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.8"},n[r.ENV_ENUM.android]={vs:"4.5.8"},n)),e.checkPassword$=a,e.default=a},d833:function(t,e,i){var a=i("20c8"),n=i("9680"),r=i("e7d2"),o=i("68ab"),s=i("9f51"),c=i("857d"),l=c.normalizeRadian,d=i("4a3f"),u=i("8728"),f=a.CMD,h=2*Math.PI,p=1e-4;function m(t,e){return Math.abs(t-e)e&&l>a&&l>r&&l>s||l1&&b(),f=d.cubicAt(e,a,r,s,g[0]),m>1&&(h=d.cubicAt(e,a,r,s,g[1]))),2===m?ye&&s>a&&s>r||s=0&&l<=1){for(var u=0,f=d.quadraticAt(e,a,r,l),h=0;hi||s<-i)return 0;var c=Math.sqrt(i*i-s*s);v[0]=-c,v[1]=c;var d=Math.abs(a-n);if(d<1e-4)return 0;if(d%h<1e-4){a=0,n=h;var u=r?1:-1;return o>=v[0]+t&&o<=v[1]+t?u:0}if(r){c=a;a=l(n),n=l(c)}else a=l(a),n=l(n);a>n&&(n+=h);for(var f=0,p=0;p<2;p++){var m=v[p];if(m+t>o){var g=Math.atan2(s,m);u=r?1:-1;g<0&&(g=h+g),(g>=a&&g<=n||g+h>=a&&g+h<=n)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),f+=u)}}return f}function x(t,e,i,a,c){for(var l=0,d=0,h=0,p=0,v=0,g=0;g1&&(i||(l+=u(d,h,p,v,a,c))),1===g&&(d=t[g],h=t[g+1],p=d,v=h),b){case f.M:p=t[g++],v=t[g++],d=p,h=v;break;case f.L:if(i){if(n.containStroke(d,h,t[g],t[g+1],e,a,c))return!0}else l+=u(d,h,t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.C:if(i){if(r.containStroke(d,h,t[g++],t[g++],t[g++],t[g++],t[g],t[g+1],e,a,c))return!0}else l+=_(d,h,t[g++],t[g++],t[g++],t[g++],t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.Q:if(i){if(o.containStroke(d,h,t[g++],t[g++],t[g],t[g+1],e,a,c))return!0}else l+=y(d,h,t[g++],t[g++],t[g],t[g+1],a,c)||0;d=t[g++],h=t[g++];break;case f.A:var x=t[g++],w=t[g++],C=t[g++],S=t[g++],M=t[g++],T=t[g++];g+=1;var P=1-t[g++],I=Math.cos(M)*C+x,O=Math.sin(M)*S+w;g>1?l+=u(d,h,I,O,a,c):(p=I,v=O);var E=(a-x)*S/C+x;if(i){if(s.containStroke(x,w,S,M,M+T,P,e,E,c))return!0}else l+=k(x,w,S,M,M+T,P,E,c);d=Math.cos(M+T)*C+x,h=Math.sin(M+T)*S+w;break;case f.R:p=d=t[g++],v=h=t[g++];var j=t[g++],D=t[g++];I=p+j,O=v+D;if(i){if(n.containStroke(p,v,I,v,e,a,c)||n.containStroke(I,v,I,O,e,a,c)||n.containStroke(I,O,p,O,e,a,c)||n.containStroke(p,O,p,v,e,a,c))return!0}else l+=u(I,v,I,O,a,c),l+=u(p,O,p,v,a,c);break;case f.Z:if(i){if(n.containStroke(d,h,p,v,e,a,c))return!0}else l+=u(d,h,p,v,a,c);d=p,h=v;break}}return i||m(h,v)||(l+=u(d,h,p,v,a,c)||0),0!==l}function w(t,e,i){return x(t,0,!1,e,i)}function C(t,e,i,a){return x(t,e,!0,i,a)}e.contain=w,e.containStroke=C},d96ec:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-task",class:"".concat(t.project.task_board_theme," ").concat(t.viewType)},[e("div",{staticClass:"project-navigation"},[e("div",{staticClass:"project-nav-header"},[e("a-breadcrumb",[e("a-breadcrumb-item",[e("a",{on:{click:t.toHome}},[e("a-icon",{attrs:{type:"home"}}),t._v(" 首页 ")],1)]),e("a-breadcrumb-item",[e("project-select",{staticClass:"nav-title",staticStyle:{display:"inline-block"},attrs:{code:t.code}}),e("span",{staticClass:"actions"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:t.project.collected?"取消收藏":"加入收藏"},on:{click:t.collectProject}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.project.collected,expression:"!project.collected"}],staticStyle:{color:"grey"},attrs:{type:"star",theme:"filled"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.project.collected,expression:"project.collected"}],staticStyle:{color:"#ffaf38"},attrs:{type:"star",theme:"filled"}})],1)],1),0===t.project.private?e("span",{staticClass:"label label-normal"},[e("a-icon",{attrs:{type:"global"}}),t._v(" 公开")],1):t._e()],1)],1)],1),e("section",{staticClass:"nav-body"},[e("ul",{staticClass:"nav-wrapper nav nav-underscore pull-left"},[t._m(0),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"works"},on:{click:function(e){return t.$router.push("/project/space/files/"+t.code)}}},[t._v("\n 文件")])]),e("li",{},[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/overview/"+t.code)}}},[t._v("\n 概览")])]),e("li",[e("a",{staticClass:"app",attrs:{"data-app":"build"},on:{click:function(e){return t.$router.push("/project/space/copy/"+t.code)}}},[t._v("\n 抄送")])])])]),e("div",{staticClass:"project-nav-footer"},[4!=t.userInfo.authorize?e("a",{staticClass:"footer-item",on:{click:function(e){return e.stopPropagation(),t.addTask()}}},[e("a-icon",{attrs:{type:"plus-circle"}}),e("span",[t._v(" 创建任务")])],1):t._e(),e("a",{staticClass:"footer-item",on:{click:function(e){return t.visibleDraw("taskSearch")}}},[e("a-icon",{attrs:{type:"search"}}),e("span",[t._v(" 筛选")])],1),e("a",{staticClass:"footer-item",class:{active:"member"==t.slideMenuKey},on:{click:function(e){return t.visibleDraw("member")}}},[e("a-icon",{attrs:{type:"user"}}),e("span",[t._v(" "+t._s(t.projectMembers.length))])],1),e("a",{staticClass:"footer-item",class:{active:"config"==t.slideMenuKey},on:{click:function(e){return t.visibleDraw("config")}}},[e("a-icon",{attrs:{type:"menu"}}),e("span",[t._v(" 菜单")])],1)])]),e("wrapper-content",{attrs:{showHeader:!1}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"task-board"==t.viewType,expression:"viewType == 'task-board'"}],staticClass:"board-scrum-stages",attrs:{e:"",options:{group:"stages",filter:".undraggables",handle:".ui-sortable-handle",ghostClass:"stage-ghost",animation:200,forceFallback:!1},id:"board-scrum-stages"},on:{end:t.stageSort}},[t._l(t.taskStages,(function(i,a){return e("div",{key:a,staticClass:"scrum-stage",class:{"fixed-creator":1==i.fixedCreator},staticStyle:{width:"32vw","min-width":"400px"},attrs:{id:i.code}},[e("header",{directives:[{name:"show",rawName:"v-show",value:!i.tasksLoading,expression:"!stage.tasksLoading"}],staticClass:"scrum-stage-header ui-sortable-handle"},[e("div",{staticClass:"stage-name hinted"},[t._v("\n "+t._s(i.name)+"\n "),i.tasks.length>0?e("span",{staticClass:"task-count"},[t._v("\n · "+t._s(i.tasks.length))]):t._e()]),e("div",{staticClass:"stage-menu-toggler popover"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v("编辑任务列表")])]),e("a",{staticClass:"menu-toggler-title",attrs:{href:"javascript:void(0)"}},[e("a-icon",{staticStyle:{"font-size":"18px"},attrs:{type:"ellipsis"}})],1)],2),e("a-menu",{attrs:{slot:"overlay",selectable:!1},on:{click:t.doStage},slot:"overlay"},[e("a-menu-item",{key:"setExecutor_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"user"}}),t._v("\n 设置本列所有任务执行者\n ")],1),e("a-menu-item",{key:"recycleBatch_"+i.code+"_"+a},[e("a-icon",{attrs:{size:"14",type:"delete"}}),t._v("\n 本列所有任务移到回收站\n ")],1)],1)],1)],1)]),e("div",{staticClass:"scrum-stage-wrap ui-sortable",class:{"hidden-creator-bottom":i.showTaskCard}},[e("vue-scroll",{ref:a+"-stage",refInFor:!0,attrs:{ops:t.scrollOps}},[e("section",{staticClass:"scrum-stage-content thin-scroll",attrs:{id:i.code,"task-type-index":a}},[e("a-spin",{attrs:{wrapperClassName:"tasks-loading",spinning:i.tasksLoading}},[e("div",{staticClass:"scrum-stage-tasks",attrs:{options:{group:"task",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.unDoneTasks,(function(i,n){return[!i.done&&i.canRead?e("div",{key:i.code,staticClass:"task task-card ui-sortable-handle",class:t.showTaskPri(i.pri),attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("a-tooltip",{attrs:{placement:a>0?"top":"right"}},[e("template",{slot:"title"},[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("div",{staticClass:"check-box-wrapper"})],2),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}})],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},[i.status?e("span",{staticClass:"icon-wrapper",style:{color:t.getStatusColor(i.status),fontSize:"12px"}},[t._v(t._s(i.statusText))]):t._e(),i.end_time?e("span",{staticClass:"label",class:t.showTimeLabel(i.end_time)},[e("span",{attrs:{title:i.end_time}},[t._v("\n "+t._s(t.showTaskTime(i.begin_time,i.end_time))+"\n ")])]):t._e(),i.description?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"file-text"}})],1):t._e(),i.hasSource?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"link"}})],1):t._e(),i.hasComment?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"message"}})],1):t._e(),i.childCount[0]>0?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"bars"}}),e("span",[t._v(t._s(i.childCount[1])+"/"+t._s(i.childCount[0]))])],1):t._e(),t._l(i.tags,(function(i){return e("span",{key:i.code,staticClass:"tag muted"},[e("a-badge",{class:"badge-".concat(i.tag.color),attrs:{status:"success"}}),t._v("\n "+t._s(i.tag.name)+"\n ")],1)})),i.execute_state>0?e("span",{class:"icon-wrapper text text-"+i.task_execute.color},[t._v(t._s(i.task_execute_name))]):t._e(),i.like?e("span",{staticClass:"icon-wrapper muted"},[e("a-icon",{attrs:{type:"like"}}),e("span",[t._v(t._s(i.like))])],1):t._e()],2)]),t.project.prefix&&t.project.open_prefix?e("footer",{staticClass:"task-info-footer"},[e("span",{staticClass:"task-id-number"},[t._v("\n "+t._s(t.project.prefix)+"-"+t._s(i.id_num)+"\n ")])]):t._e()])],1):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.showTaskCard,expression:"stage.showTaskCard"}],staticClass:"task-creator-wrap card",attrs:{id:"card"+a}},[e("form",{staticClass:"task-creator"},[e("a-input",{ref:"inputTaskName".concat(a),refInFor:!0,staticClass:"task-content-input",attrs:{type:"textarea",rows:3,placeholder:"任务内容"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.createTask(i.code,a)}},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),e("div",{staticClass:"handler-wrap"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"executor-handler"},[e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:t.defaultExecutor.avatar}}),e("span",{staticClass:"creator-handler-text name"},[t._v(t._s(t.defaultExecutor.name))])]),e("a-menu",{staticClass:"executor-handler-menu",attrs:{slot:"overlay"},on:{click:t.selectExecutor},slot:"overlay"},t._l(t.projectMembers,(function(i,a){return e("a-menu-item",{key:a},[e("img",{staticClass:"avatar img-circle img-32 pull-left m-r-sm",attrs:{src:i.avatar}}),e("span",{staticClass:"muted",staticStyle:{"line-height":"25px"}},[t._v(t._s(i.name))]),i.code==t.defaultExecutor.code?e("a-icon",{staticClass:"muted",attrs:{type:"check"}}):t._e()],1)})),1)],1)],1),e("div",{staticClass:"submit-set"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"default",size:"large"},on:{click:function(e){return e.stopPropagation(),t.showTaskCard(a,!1)}}},[t._v("取消\n ")]),e("a-button",{staticClass:"middle-btn",class:{"disabled-btn":!t.task.name},attrs:{loading:t.createTaskLoading,disabled:!t.task.name,type:"primary",size:"large"},on:{click:function(e){return e.stopPropagation(),t.createTask(i.code,a)}}},[t._v("创建\n ")])],1)],1)]),e("div",{staticClass:"scrum-stage-tasks-done",attrs:{options:{group:"task-done",ghostClass:"task-ghost",dragClass:"task-drag",fallbackClass:"task-drag",forceFallback:!1}},on:{end:t.taskSort}},[t._l(i.doneTasks,(function(i,n){return[i.canRead?e("div",{key:i.code,staticClass:"task done task-card ui-sortable-handle",attrs:{index:n,id:i.code},on:{click:function(e){return e.stopPropagation(),t.taskDetail(i.code,a)}}},[e("div",{staticClass:"task-priority bg-priority-0"}),e("span",{staticClass:"check-box-wrapper"}),e("div",{staticClass:"task-content-set open-detail"},[e("div",{staticClass:"task-content-wrapper"},[e("div",{staticClass:"task-content",style:{overflowWrap:"anywhere"}},[t._v("\n "+t._s(i.name)+"\n ")]),i.executor&&i.executor.avatar?e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.executor.name))])]),i.executor&&i.executor.avatar?e("img",{staticClass:"avatar img-circle img-24 hinted",attrs:{src:i.executor.avatar,title:i.executor.name}}):t._e()],2):t._e()],1),e("div",{staticClass:"task-info-wrapper clearfix"},[e("div",{staticClass:"task-infos"},t._l(i.task_tag_item_list,(function(i,a){return e("span",{key:i.code,staticClass:"tag muted",class:"tag-color-"+i.color},[t._v("\n "+t._s(i.name)+"\n ")])})),0)])])]):t._e()]}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:i.canNotReadCount,expression:"stage.canNotReadCount"}],staticClass:"scrum-stage-tasks-done"},[e("li",{staticClass:"task muted",staticStyle:{margin:"0 10px 8px"}},[e("span",[e("a-icon",{attrs:{type:"lock"}}),t._v(" 有\n "+t._s(i.canNotReadCount)+"\n 个任务被隐藏(因为设置了仅参与者可见)")],1)])]),(i.showTaskCard,t._e())])],1)])],1)])})),t._e()],2),"task-table"!=t.viewType||t.loading?t._e():e("task-table",{attrs:{"project-code":this.code}}),e("router-view")],1),e("a-modal",{attrs:{width:360,title:t.stageModal.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.stageModal.modalStatus,callback:function(e){t.$set(t.stageModal,"modalStatus",e)},expression:"stageModal.modalStatus"}},[e("a-form",{attrs:{form:t.stageModal.form},on:{submit:function(e){return e.preventDefault(),t.editStage.apply(null,arguments)}}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入列表标题"}]}],expression:"[\n 'name',\n { rules: [{ required: true, message: '请输入列表标题' }] },\n ]"}],ref:"inputStageTitle",attrs:{placeholder:"列表标题"}})],1),e("a-form-item",[e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.stageModal.modalStatus=!1}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"}},[t._v("保存")])],1)])],1)],1),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目成员",width:"350",placement:"right",visible:t.inviteMemberDraw.visible},on:{close:function(e){t.inviteMemberDraw.visible=!1}}},[e("div",{staticClass:"search-content"},[e("a-input",{attrs:{size:"large",placeholder:"输入昵称或邮箱查找"},model:{value:t.inviteMemberDraw.keyword,callback:function(e){t.$set(t.inviteMemberDraw,"keyword",e)},expression:"inviteMemberDraw.keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("div",{staticClass:"member-list-item ant-list-item header-action"},[e("div",{staticClass:"ant-list-item-meta",on:{click:function(e){t.showInviteMember=!0}}},[e("div",{staticClass:"ant-list-item-meta-avatar"},[e("a-avatar",{attrs:{icon:"plus"}})],1),e("div",{staticClass:"ant-list-item-meta-content"},[e("h4",{staticClass:"ant-list-item-meta-title"},[e("span",[t._v("邀请新成员")])])])])]),e("a-list",{attrs:{itemLayout:"horizontal",loading:t.inviteMemberDraw.searching,dataSource:t.projectMembers,locale:{emptyText:t.inviteMemberDraw.keyword&&t.inviteMemberDraw.keyword.length>1?"没有搜索到相关成员":""}},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{staticClass:"member-list-item"},[i.is_owner?t._e():e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a",{staticClass:"muted",on:{click:function(e){return t.removeMember(i,a)}}},[e("a-icon",{attrs:{type:"user-delete"}}),t._v(" 移除")],1)]),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer",title:"项目设置",width:"350",placement:"right",visible:t.configDraw.visible},on:{close:function(e){t.configDraw.visible=!1}}},[e("div",{staticClass:"config-wrapper"},[e("ul",{staticClass:"config-menus"},[e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.projectModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"setting"}}),t._v("\n 项目设置\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",{on:{click:function(e){t.recycleModal.modalStatus=!0}}},[e("a-icon",{attrs:{type:"delete"}}),t._v("\n 查看回收站\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"logout"}}),t._v("\n 导出任务 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 复制项目 *\n ")],1)]),e("li",{staticClass:"menu-item"},[e("a",[e("a-icon",{attrs:{type:"block"}}),t._v("\n 保存为项目模板 *\n ")],1)])])])]),e("a-modal",{staticClass:"project-config-modal",attrs:{destroyOnClose:"",width:800,title:t.projectModal.modalTitle,footer:null},model:{value:t.projectModal.modalStatus,callback:function(e){t.$set(t.projectModal,"modalStatus",e)},expression:"projectModal.modalStatus"}},[e("project-config",{attrs:{code:t.code},on:{update:t.updateProject,complete:function(e){t.projectModal.modalStatus=!1}}})],1),e("a-modal",{staticClass:"recycle-bin-modal",attrs:{width:800,title:t.recycleModal.modalTitle,footer:null},model:{value:t.recycleModal.modalStatus,callback:function(e){t.$set(t.recycleModal,"modalStatus",e)},expression:"recycleModal.modalStatus"}},[t.recycleModal.modalStatus?e("recycle-bin",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"task-tag-modal",attrs:{width:800,title:t.taskTagModal.modalTitle,footer:null},model:{value:t.taskTagModal.modalStatus,callback:function(e){t.$set(t.taskTagModal,"modalStatus",e)},expression:"taskTagModal.modalStatus"}},[t.taskTagModal.modalStatus?e("task-tag",{attrs:{code:t.code},on:{update:t.init}}):t._e()],1),e("a-modal",{staticClass:"invite-project-member",attrs:{width:360,title:t.projectMemberModal.modalTitle,footer:null},model:{value:t.projectMemberModal.modalStatus,callback:function(e){t.$set(t.projectMemberModal,"modalStatus",e)},expression:"projectMemberModal.modalStatus"}},[e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.loading,dataSource:t.projectMembers},scopedSlots:t._u([{key:"renderItem",fn:function(i){return e("a-list-item",{},[e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-button",{attrs:{size:"small",type:"dashed",icon:"user-add"},on:{click:function(e){return t.setExecutor(i)}}},[t._v("设置")])],1),e("a-list-item-meta",{attrs:{description:i.email}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))]),e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.avatar},slot:"avatar"})],1)],1)}}])})],1)]),e("a-drawer",{attrs:{wrapClassName:"info-drawer task-search",title:"任务筛选",width:"350",placement:"right",visible:t.taskSearch.visible},on:{close:function(e){t.taskSearch.visible=!1}}},[e("task-search",{attrs:{"project-code":t.code},on:{search:t.taskSearchAction}})],1),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.code},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"actives"},[e("a",{staticClass:"app",attrs:{"data-app":"tasks"}},[t._v("任务")])])}],r=(i("8e6e"),i("456d"),i("7514"),i("20d6"),i("28a5"),i("55dd"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("2ef0"),c=i.n(s),l=i("c1df"),d=i.n(l),u=i("f93e"),f=i("b76a"),h=i.n(f),p=i("f8c7"),m=i("d3a1"),v=i("58bf"),g=i("51e2"),b=i("b83b"),_=i("e3cc"),y=i("1d80"),k=i("e507"),x=i("24d2"),w=i("9f5d"),C=i("b199"),S=i("2f14"),M=i("81fe"),T=i("4200"),P=i("97a8");function I(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function O(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0],i=this;Object(k["d"])({projectCode:this.code,pageSize:30}).then((function(a){var n=[];if(e?t.taskStages=n=a.data.list:a.data.list.forEach((function(t){t.tasksLoading=!1,n.push(t)})),n){i.taskSearchParams;n.forEach((function(t,a){t.page=1,i.getTasks(t,a,e)}))}}))},getTasks:function(t,e,i){var a=this,n=this.taskSearchParams,r={};r={stageCode:t.code},r=Object.assign(r,n),Object(k["h"])(r).then((function(n){var r=0;n.data.forEach((function(e){e.canRead||r++,e.done?t.doneTasks.push(e):t.unDoneTasks.push(e)})),t.canNotReadCount=r,t.tasksLoading=!1,t.tasks=n.data,i||a.$set(a.taskStages,e,t)}))},filterTask:function(t,e){return t.filter((function(t){return t.done==e}))},taskSearchAction:function(t){console.log(t),this.taskSearchParams=t,this.getTaskStages()},showTaskCard:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.taskStages.forEach((function(t){t.showTaskCard=!1})),!1===e)return!1;this.taskStages[e].showTaskCard=i,this.$nextTick((function(){t.$refs[e+"-stage"][0].scrollIntoView("#card"+e),t.$refs["inputTaskName".concat(e)][0].focus()}))},selectExecutor:function(t){var e=t.key;this.defaultExecutor=this.projectMembers[e]},addTask:function(){if(!this.taskStages[0].code)return Object(P["b"])({title:"请先创建任务列表"},"error",5e3);this.$router.push("".concat(this.$route.path,"/add/").concat(this.code,"?name=").concat(this.project.name,"&from=",0,"&stage_code=").concat(this.taskStages[0].code))},createTask:function(t,e){if(!this.task.name)return this.$message.warning("任务内容不能为空",2),!1;this.task.stage_code=t,this.task.project_code=this.code,this.task.assign_to=this.defaultExecutor.code,this.confirmCreateTask(e)},confirmCreateTask:function(t){var e=this,i=this;if(i.createTaskLoading)return i.$message.warning("正在添加任务,请稍后...",2),!1;setTimeout((function(){!0===i.createTaskLoading&&i.$message.loading({content:"正在添加任务,请稍后...",duration:5})}),2e3),i.createTaskLoading=!0,Object(C["s"])(i.task).then((function(a){i.createTaskLoading=!1;var n=Object(S["a"])(a);if(n){i.$message.destroy();var r=i.taskStages[t];r.tasks.push(a.data),i.taskStages[t].unDoneTasks.push(a.data),i.task={},e.taskDetail(a.data.code,t),console.log(O({},a.data))}})).catch((function(){i.createTaskLoading=!1}))},taskDone:function(t,e,i,a){var n=this,r=null,o=this.taskStages[e].unDoneTasks,s=this.taskStages[e].doneTasks;if(r=a?o[i]:s[i],r.hasUnDone)return!1;r.done=a,a?(o.splice(i,1),s.push(r),s=s.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))):(s.splice(i,1),o.push(r),o=o.sort((function(t,e){return t.sort===e.sort?t.id_num-e.id_num:t.sort-e.sort}))),Object(C["z"])(t,a).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;n.getTaskStages(!1)}))},showInputStrageName:function(){var t=this;this.showCreateStage=!this.showCreateStage,this.$nextTick((function(){t.$refs.inputStageName.focus()}))},doStage:function(t){var e=this,i=this,a=t.key.split("_"),n=a[a.length-2],r=a[a.length-1],o=a[0];switch(o){case"editStage":this.stageModal.stageCode=n,this.stageModal.stageIndex=r,this.$nextTick((function(){e.stageModal.form.setFieldsValue({name:e.taskStages[r].name}),e.$refs.inputStageTitle.focus()})),this.stageModal.modalStatus=!0;break;case"recycleBatch":this.$confirm({title:"移到回收站",content:"您确定要把列表下的所有任务移到回收站吗?",okText:"移到回收站",okType:"danger",cancelText:"再想想",onOk:function(){return i.taskStages[r].tasks=[],i.$set(i.taskStages[r],"doneTasks",[]),Object(C["r"])({stageCode:n}).then((function(t){var e=Object(S["a"])(t);if(!e)return!1;i.$set(i.taskStages[r],"doneTasks",[]),i.$set(i.taskStages[r],"unDoneTasks",[])})),Promise.resolve()}});break;case"setEndTime":this.set_type_endTime_modal=!0;break;case"setExecutor":this.projectMemberModal.currentStageIndex=r,this.projectMemberModal.modalStatus=!0;break;case"delStage":if(this.taskStages[r].tasks.length>0)return this.$warning({title:"删除列表",content:"请先清空此列表上的任务,然后再删除这个列表",okText:"确定"}),!1;this.$confirm({title:"删除列表",content:"您确定要永远删除这个列表吗?",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["b"])(n),i.taskStages.splice(r,1),Promise.resolve()}});break}},creteStage:function(){var t=this;if(!this.stageName)return this.$message.warning("请输入列表名称",2),!1;Object(k["e"])({name:this.stageName,projectCode:this.code}).then((function(e){var i=Object(S["a"])(e);if(!i)return!1;var a=e.data;t.taskStages.push(a),t.stageName="",t.$nextTick((function(){document.getElementById("board-scrum-stages").scrollLeft=1e4}))}))},editStage:function(){var t=this,e=this.stageModal.form.getFieldsValue();if(!e.name)return this.$message.warning("请输入列表名称",2),!1;Object(k["c"])({name:e.name,stageCode:this.stageModal.stageCode}).then((function(i){var a=Object(S["a"])(i);if(!a)return!1;t.taskStages[t.stageModal.stageIndex].name=e.name,t.stageModal.modalStatus=!1}))},setExecutor:function(t){var e=this,i=this.taskStages[this.projectMemberModal.currentStageIndex],a=[];i.tasks.forEach((function(t){t.canRead&&a.push(t.code)})),a?Object(C["c"])({taskCodes:JSON.stringify(a),executorCode:t.code}).then((function(t){if(e.projectMemberModal.modalStatus=!1,!Object(S["a"])(t))return!1;Object(k["h"])({stageCode:i.code}).then((function(t){var e=0;t.data.forEach((function(t){t.canRead||e++})),i.canNotReadCount=e,i.tasksLoading=!1,i.tasks=t.data}))})):this.projectMemberModal.modalStatus=!1},showTaskPri:function(t){return{warning:1==t,error:2==t}},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=d()(d()(t).format("YYYY-MM-DD")).diff(d()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e},showTaskTime:function(t,e){return Object(M["a"])(t,e)},taskDetail:function(t,e){var i=this;this.$router.push("".concat(this.$route.path,"/detail/").concat(t,"?from=").concat(e)),this.$nextTick((function(){setTimeout((function(){i.showTaskCard(e,!1)}),700)}))},stageSort:function(t){var e=this.getPreAndNextCode(t);Object(k["f"])(e[0],e[1],this.code)},getPreAndNextCode:function(t){for(var e=t.clone.getAttribute("id"),i=[],a="",n=0,r=t.to.children.length;ns)return!0;if(r){var c=o.getAxisInfo(t).seriesDataCount,l=a.getExtent();return Math.abs(l[0]-l[1])/c>s}return!1}return!0===i},makeElOption:function(t,e,i,a,n){},createPointerEl:function(t,e,i,a){var n=e.pointer;if(n){var o=u(t).pointerEl=new r[n.type](f(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,a){if(e.label){var n=u(t).labelEl=new r.Rect(f(e.label));t.add(n),g(n,a)}},updatePointerEl:function(t,e,i){var a=u(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),i(a,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,a){var n=u(t).labelEl;n&&(n.setStyle(e.label.style),i(n,{shape:e.label.shape,position:e.label.position}),g(n,a))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,n=this._api.getZr(),o=this._handle,l=i.getModel("handle"),d=i.get("status");if(!l.get("show")||!d||"hide"===d)return o&&n.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(l.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),_(o,i,!1);var u=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(l.getItemStyle(null,u));var f=l.get("size");a.isArray(f)||(f=[f,f]),o.attr("scale",[f[0]/2,f[1]/2]),c.createOrUpdate(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var a=this.updateHandleTransform(b(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,i.stopAnimation(),i.attr(b(a)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,a=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,n.enableClassExtend(p);var y=p;t.exports=y},dd18:function(t,e,i){},dd66:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.off=e.on=void 0;var a=["resume","pause","online","offline","backbutton","goBack","pullToRefresh","message","recycle","restore","drawer","tab","navHelpIcon","navRightButton","navMenu","navTitle","appLinkResponse","internalPageLinkResponse","networkEvent","hostTaskEvent","deviceOrientationChanged","autoCheckIn","deviceFound","hostCheckIn","screenshot","becomeActive","keepAlive","navTitleClick","sharePage","wxNotify","editNoteCommand","updateStyle","qrscanCommonNotify","__message__","dtChannelEvent","livePlayerEventPlay","livePlayerEventPause","livePlayerEventEnded","livePlayerEventError","navActions","attendEvents"],n="dtBizBridgeEvent",r="__eventTypeList__",o=function(){return"undefined"==typeof WeakMap?void 0:new WeakMap}(),s=function(t,e){if(o){var i=o.get(e);return void 0===i?(i=function(t){var a=t.detail;if(a.namespace&&a.eventName){var n="".concat(a.namespace,".").concat(a.eventName);i&&-1!==i[r].indexOf(n)&&e(a.data)}},i[r]=[t],o.set(e,i)):-1===i[r].indexOf(t)&&i[r].push(t),i}},c=function(t,e){if(o){var i=o.get(e);return i&&-1!==i[r].indexOf(t)&&i[r].splice(i[r].indexOf(t),1),i&&i[r].length<=1?i:void 0}},l=function(t,e){if(-1!==a.indexOf(t))document.addEventListener(t,e);else{var i=s(t,e);i?document.addEventListener(n,i):console.log("bind event : ".concat(t," need WeakMap support , current environment doesnot"))}};e.on=l;var d=function(t,e){if(-1!==a.indexOf(t))document.removeEventListener(t,e);else{var i=c(t,e);i&&document.removeEventListener(n,i)}};e.off=d},dd86:function(t,e,i){"use strict";function a(t,e){for(var i=t.length,a=0,n=!0;a40&&(l=Math.max(1,Math.floor(s/40)));for(var d=o[0],f=t.dataToCoord(d+1)-t.dataToCoord(d),h=Math.abs(f*Math.cos(a)),p=Math.abs(f*Math.sin(a)),m=0,v=0;d<=o[1];d+=l){var g=0,b=0,_=n.getBoundingRect(i(d),e.font,"center","top");g=1.3*_.width,b=1.3*_.height,m=Math.max(m,g,7),v=Math.max(v,b,7)}var y=m/h,k=v/p;isNaN(y)&&(y=1/0),isNaN(k)&&(k=1/0);var x=Math.max(0,Math.floor(Math.min(y,k))),C=u(t.model),S=t.getExtent(),M=C.lastAutoInterval,T=C.lastTickCount;return null!=M&&null!=T&&Math.abs(M-x)<=1&&Math.abs(T-s)<=1&&M>x&&C.axisExtend0===S[0]&&C.axisExtend1===S[1]?x=M:(C.lastTickCount=s,C.lastAutoInterval=x,C.axisExtend0=S[0],C.axisExtend1=S[1]),x}function w(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function C(t,e,i){var a=c(t),n=t.scale,r=n.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=r[0],f=n.count();0!==u&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=d(t),p=o.get("showMinLabel")||h,m=o.get("showMaxLabel")||h;p&&u!==r[0]&&g(r[0]);for(var v=u;v<=r[1];v+=l)g(v);function g(t){s.push(i?t:{formattedLabel:a(t),rawLabel:n.getLabel(t),tickValue:t})}return m&&v-l!==r[1]&&g(r[1]),s}function S(t,e,i){var n=t.scale,r=c(t),o=[];return a.each(n.getTicks(),(function(t){var a=n.getLabel(t);e(t,a)&&o.push(i?t:{formattedLabel:r(t),rawLabel:a,tickValue:t})})),o}e.createAxisLabels=f,e.createAxisTicks=h,e.calculateCategoryInterval=x},e0d3:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=a.each,o=a.isObject,s=a.isArray,c="series\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function d(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var a=0,n=i.length;a=i.length&&i.push({option:t})}})),i}function m(t){var e=a.createHashMap();r(t,(function(t,i){var a=t.exist;a&&e.set(a.id,t)})),r(t,(function(t,i){var n=t.option;a.assert(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),r(t,(function(t,i){var a=t.exist,n=t.option,r=t.keyInfo;if(o(n)){if(r.name=null!=n.name?n.name+"":a?a.name:c+i,a)r.id=a.id;else if(null!=n.id)r.id=n.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(c))}function g(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function b(t,e){var i={},a={};return n(t||[],i),n(e||[],a,i),[r(i),r(a)];function n(t,e,i){for(var a=0,n=t.length;a=e[0]&&t<=e[1]},n.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},n.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},n.prototype.isBlank=function(){return this._isBlank},n.prototype.setBlank=function(t){this._isBlank=t},n.prototype.getLabel=null,a.enableClassExtend(n),a.enableClassManagement(n,{registerWhenExtend:!0});var r=n;t.exports=r},e13c:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"project-space-index"},[e("wrapper-content",[t._v("\n 555\n ")])],1)},n=[],r={name:"project-space-index"},o=r,s=i("2877"),c=Object(s["a"])(o,a,n,!1,null,"71e5b5da",null);e["default"]=c.exports},e198:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.videoConfCall$=void 0;var r=i("c6b3"),o="biz.conference.videoConfCall";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.8"},n[r.ENV_ENUM.android]={vs:"5.0.8"},n[r.ENV_ENUM.pc]={vs:"5.1.28"},n)),e.videoConfCall$=a,e.default=a},e1b8:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o}));var a=i("22b6"),n=i("2f14");function r(){return Object(n["g"])("index/oauth/dingTalkOauth")}function o(t){return a["a"].post("index/oauth/dingTalkLoginByCode",t)}},e1b9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("c6b3"),n=i("8c4c"),r=i("4e83"),o=i("eee2"),s=i("9670"),c=i("d6bb");a.ddSdk.setPlatform({platform:n.ENV_ENUM.pc,bridgeInit:function(){switch((0,n.getENV)().appType){case s.APP_TYPE.MINI_APP:return Promise.resolve(o.default);default:return(0,r.h5PcBridgeInit)().then((function(){return r.default}))}},authMethod:"config",authParamsDeal:function(t){var e=Object.assign({},t);return e.url=window.location.href.split("#")[0],e},event:{on:function(t,e){if((0,n.getENV)().appType===s.APP_TYPE.WEB)return(0,c.on)(t,e)},off:function(t,e){if((0,n.getENV)().appType===s.APP_TYPE.WEB)return(0,c.off)(t,e)}}})},e1bd:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.requestAuthCode$=void 0;var r=i("c6b3"),o="runtime.permission.requestAuthCode",s=function(t){return Object.assign(t,{url:location.href.split("#")[0]})};r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0",paramsDeal:s},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.requestAuthCode$=a,e.default=a},e1fc:function(t,e,i){var a=i("6d8b"),n=i("d5b7"),r=i("9850"),o=function(t){for(var e in t=t||{},n.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(a,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,n=this._children,r=a.indexOf(n,t);return r<0||(n.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,a=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-n,m[0]=t+i,void(m[1]=e+n);if(d[0]=c(r)*i+t,d[1]=s(r)*n+e,u[0]=c(o)*i+t,u[1]=s(o)*n+e,v(p,d,u),g(m,d,u),r%=l,r<0&&(r+=l),o%=l,o<0&&(o+=l),r>o&&!h?o+=l:rr&&(f[0]=c(y)*i+t,f[1]=s(y)*n+e,v(p,f,p),g(m,f,m))}e.fromPoints=h,e.fromLine=p,e.fromCubic=g,e.fromQuadratic=b,e.fromArc=_},e406:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.choose$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.contact.choose",c=(0,o.genDefaultParamsDealFn)({multiple:!0,startWithDepartmentId:0,users:[]});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:c},n)),e.choose$=a,e.default=a},e47b:function(t,e,i){var a=i("e0d3"),n=a.makeInner,r=a.normalizeToArray,o=n();function s(t,e){for(var i=t.length,a=0;ae)return t[a];return t[i-1]}var c={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var a=o(e),n=a.colorIdx||0,c=a.colorNameMap=a.colorNameMap||{};if(c.hasOwnProperty(t))return c[t];var l=r(this.get("color",!0)),d=this.get("colorLayer",!0),u=null!=i&&d?s(d,i):l;if(u=u||l,u&&u.length){var f=u[n];return t&&(c[t]=f),a.colorIdx=(n+1)%u.length,f}}};t.exports=c},e49b:function(t,e,i){},e4e9:function(t,e,i){},e4ef:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setScreenKeepOn$=void 0;var r=i("c6b3"),o="biz.util.setScreenKeepOn";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.26"},n[r.ENV_ENUM.android]={vs:"5.1.26"},n)),e.setScreenKeepOn$=a,e.default=a},e547:function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"analysis-index"},[e("div",{staticClass:"page-wrapper"},[e("a-row",{attrs:{gutter:24}},[e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"项目总数",total:t._f("NumberFormat")(t.projectData.count)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",{staticClass:"chart-wrapper"},[e("ve-histogram",{attrs:{data:t.projectData.chartData,settings:t.projectData.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"55px"}})],1),e("template",{slot:"footer"},[t._v("本月立项 "),e("span",[t._v("3")])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"任务总数",total:t._f("NumberFormat")(t.taskData.count)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("div",{staticClass:"chart-wrapper"},[e("ve-line",{attrs:{data:t.taskData.chartData,settings:t.taskData.chartSettings,extend:t.chartExtend,"legend-visible":!1,height:"55px"}})],1)]),e("template",{slot:"footer"},[t._v("今日任务"),e("span",[t._v(" "+t._s(t._f("NumberFormat")("8")))])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"逾期任务",total:t._f("NumberFormat")(t.taskData.taskOverdueCount)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("周同比")]),t._v("\n 12%\n ")]),e("trend",{attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("日同比")]),t._v("\n 11%\n ")])],1),e("template",{slot:"footer"},[t._v("逾期率 "),e("span",[t._v(t._s(t.taskData.taskOverduePercent)+"%")])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"整体进度",total:"".concat(t.projectData.projectSchedule,"%")}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-progress",{attrs:{color:"#ffd401",target:80,percentage:t.projectData.projectSchedule,height:"8px"}})],1),e("template",{slot:"footer"},[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("周同比")]),t._v("\n 12%\n ")]),e("trend",{attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("日环比")]),t._v("\n 80%\n ")])],1)],2)],1)],1),e("a-card",{attrs:{loading:t.loading,bordered:!1,"body-style":{padding:"0"}}},[e("div",{staticClass:"salesCard"},[e("a-tabs",{attrs:{"default-active-key":"1",size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}}},[e("div",{staticClass:"extra-wrapper",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[e("div",{staticClass:"extra-item"},[e("a",[t._v("今日")]),e("a",[t._v("本周")]),e("a",[t._v("本月")]),e("a",[t._v("本年")])]),e("a-range-picker",{style:{width:"256px"}})],1),e("a-tab-pane",{key:"1",attrs:{forceRender:"",tab:"项目数"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("div",{staticClass:"chart-wrappers-single"},[e("ve-histogram",{attrs:{data:t.projectTotalData.chartData,settings:t.projectTotalData.chartSettings,extend:t.projectTotalData.chartExtend,"legend-visible":!1,height:"300px"}})],1)]),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("rank-list",{attrs:{title:"项目数排行榜",list:t.rankList}})],1)],1)],1),e("a-tab-pane",{key:"2",attrs:{forceRender:"",tab:"任务数"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("div",{staticClass:"chart-wrappers-single"},[e("ve-histogram",{attrs:{data:t.projectTotalData.chartData,settings:t.projectTotalData.chartSettings,extend:t.projectTotalData.chartExtend,"legend-visible":!1,height:"300px"}})],1)]),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("rank-list",{attrs:{title:"任务数排行榜",list:t.rankList}})],1)],1)],1)],1)],1)]),e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[e("a-card",{style:{marginTop:"24px"},attrs:{loading:t.loading,bordered:!1,title:"我的项目"}},[e("a-dropdown",{attrs:{slot:"extra",trigger:["click"],placement:"bottomLeft"},slot:"extra"},[e("a",{staticClass:"ant-dropdown-link",attrs:{href:"#"}},[e("a-icon",{attrs:{type:"ellipsis"}})],1),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作一")])]),e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作二")])])],1)],1),t._l(t.projectList,(function(i){return e("p",{key:i.id},[t._v(t._s(i.name))])})),e("a-pagination",{attrs:{total:t.projectTotal,size:"small"},on:{change:t.pageChange},model:{value:t.pagination.page,callback:function(e){t.$set(t.pagination,"page",e)},expression:"pagination.page"}})],2)],1),e("a-col",{attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[e("a-card",{style:{marginTop:"24px"},attrs:{loading:t.loading,bordered:!1,title:"任务优先级分布"}},[e("a-dropdown",{attrs:{slot:"extra",trigger:["click"],placement:"bottomLeft"},slot:"extra"},[e("a",{staticClass:"ant-dropdown-link",attrs:{href:"#"}},[e("a-icon",{attrs:{type:"ellipsis"}})],1),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作一")])]),e("a-menu-item",[e("a",{attrs:{href:"javascript:;"}},[t._v("操作二")])])],1)],1),e("p",[t._v("card content")]),e("p",[t._v("card content")]),e("p",[t._v("card content")])],1)],1)],1)],1)])},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),o=i("2f62"),s=(i("c1df"),i("c3da")),c=i.n(s),l=i("d768"),d=i.n(l),u=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{loading:t.loading,"body-style":{padding:"20px 24px 8px"},bordered:!1}},[e("div",{staticClass:"chart-card-header"},[e("div",{staticClass:"meta"},[e("span",{staticClass:"chart-card-title"},[t._v(t._s(t.title))]),e("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),e("div",{staticClass:"total"},[e("span",[t._v(t._s(t.total))])])]),e("div",{staticClass:"chart-card-content"},[e("div",{staticClass:"content-fix"},[t._t("default")],2)]),e("div",{staticClass:"chart-card-footer"},[e("div",{staticClass:"field"},[t._t("footer")],2)])])},f=[],h={name:"ChartCard",props:{title:{type:String,default:""},total:{type:String,default:""},loading:{type:Boolean,default:!1}}},p=h,m=(i("1d16"),i("2877")),v=Object(m["a"])(p,u,f,!1,null,"dca3f5e0",null),g=v.exports,b=function(){var t=this,e=t._self._c;return e("div",{class:[t.prefixCls,t.reverseColor&&"reverse-color"]},[e("span",[t._t("term"),e("span",{staticClass:"item-text"},[t._t("default")],2)],2),e("span",{class:[t.flag]},[e("a-icon",{attrs:{type:"caret-".concat(t.flag)}})],1)])},_=[],y={name:"Trend",props:{prefixCls:{type:String,default:"ant-pro-trend"},flag:{type:String,required:!0},reverseColor:{type:Boolean,default:!1}}},k=y,x=(i("3a20"),Object(m["a"])(k,b,_,!1,null,"3c54eff5",null)),w=x.exports,C=w,S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chart-mini-progress"},[e("div",{staticClass:"target",style:{left:t.target+"%"}},[e("span",{style:{backgroundColor:t.color}}),e("span",{style:{backgroundColor:t.color}})]),e("div",{staticClass:"progress-wrapper"},[e("div",{staticClass:"progress",style:{backgroundColor:t.color,width:t.percentage+"%",height:t.height}})])])},M=[],T=(i("c5f6"),{name:"MiniProgress",props:{target:{type:Number,default:0},height:{type:String,default:"10px"},color:{type:String,default:"#ffd401"},percentage:{type:Number,default:0}}}),P=T,I=(i("73cf"),Object(m["a"])(P,S,M,!1,null,"3d7c3eae",null)),O=I.exports,E=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rank"},[e("h4",{staticClass:"title"},[t._v(t._s(t.title))]),e("ul",{staticClass:"list"},t._l(t.list,(function(i,a){return e("li",{key:a},[e("span",{class:a<3?"active":null},[t._v(t._s(a+1))]),e("span",[t._v(t._s(i.name))]),e("span",[t._v(t._s(i.total))])])})),0)])},j=[],D={name:"RankList",props:{title:{type:String,default:""},list:{type:Array,default:null}}},A=D,N=(i("4d49"),Object(m["a"])(A,E,j,!1,null,"15e848dc",null)),L=N.exports,$=i("1b80"),V=i("24d2");function R(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function z(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0];Object(V["c"])({type:1}).then((function(e){t.projectData.count=e.data.projectCount,t.projectData.projectSchedule=e.data.projectSchedule,t.projectData.chartData.rows=e.data.projectList,t.projectTotalData.chartData.rows=e.data.projectList,t.taskData.count=e.data.taskCount,t.taskData.taskOverdueCount=e.data.taskOverdueCount,t.taskData.taskOverduePercent=e.data.taskOverduePercent,t.taskData.chartData.rows=e.data.taskList})),e&&(this.pagination.page=1,this.pagination.pageSize=10),this.getProjectList(!0)},getProjectList:function(t){var e=this;t&&(this.projectLoading=!0),Object(V["l"])(this.requestData).then((function(t){e.projectList=t.data.list,e.projectTotal=t.data.total,e.projectLoading=!1}))},pageChange:function(t,e){this.pagination.page=t,this.getProjectList(!0)}}},G=q,K=(i("ae29"),Object(m["a"])(G,a,n,!1,null,null,null));e["default"]=K.exports},e625:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openBindIDCard$=void 0;var r=i("c6b3"),o="biz.verify.openBindIDCard";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.21"},n[r.ENV_ENUM.android]={vs:"4.5.21"},n)),e.openBindIDCard$=a,e.default=a},e6a6:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.punchModePicker$=void 0;var r=i("c6b3"),o="biz.ATMBle.punchModePicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.0.7"},n[r.ENV_ENUM.android]={vs:"5.0.7"},n)),e.punchModePicker$=a,e.default=a},e6d8:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setGPUAcceleration$=void 0;var r=i("c6b3"),o="biz.util.setGPUAcceleration";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.22"},n)),e.setGPUAcceleration$=a,e.default=a},e7aa:function(t,e,i){var a=i("2306"),n=i("c775"),r=n.getDefaultLabel;function o(t,e,i,n,o,c,l){var d=i.getModel("label"),u=i.getModel("emphasis.label");a.setLabelStyle(t,e,d,u,{labelFetcher:o,labelDataIndex:c,defaultText:r(o.getData(),c),isRectText:!0,autoColor:n}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=o},e7d2:function(t,e,i){var a=i("4a3f");function n(t,e,i,n,r,o,s,c,l,d,u){if(0===l)return!1;var f=l;if(u>e+f&&u>n+f&&u>o+f&&u>c+f||ut+f&&d>i+f&&d>r+f&&d>s+f||dh&&(f=0,u={}),f++,u[i]=n,n}function _(t,e,i,a,n,r,o,s){return o?k(t,e,i,a,n,r,o,s):y(t,e,i,a,n,r,s)}function y(t,e,i,n,r,o,s){var c=j(t,e,r,o,s),l=b(t,e);r&&(l+=r[1]+r[3]);var d=c.outerHeight,u=x(0,l,i),f=w(0,d,n),h=new a(u,f,l,d);return h.lineHeight=c.lineHeight,h}function k(t,e,i,n,r,o,s,c){var l=D(t,{rich:s,truncate:c,font:e,textAlign:i,textPadding:r,textLineHeight:o}),d=l.outerWidth,u=l.outerHeight,f=x(0,d,i),h=w(0,u,n);return new a(f,h,d,u)}function x(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function w(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function C(t,e,i){var a=e.textPosition,n=e.textDistance,r=i.x,o=i.y;n=n||0;var s=i.height,c=i.width,l=s/2,d="left",u="top";switch(a){case"left":r-=n,o+=l,d="right",u="middle";break;case"right":r+=n+c,o+=l,u="middle";break;case"top":r+=c/2,o-=n,d="center",u="bottom";break;case"bottom":r+=c/2,o+=s+n,d="center";break;case"inside":r+=c/2,o+=l,d="center",u="middle";break;case"insideLeft":r+=n,o+=l,u="middle";break;case"insideRight":r+=c-n,o+=l,d="right",u="middle";break;case"insideTop":r+=c/2,o+=n,d="center";break;case"insideBottom":r+=c/2,o+=s-n,d="center",u="bottom";break;case"insideTopLeft":r+=n,o+=n;break;case"insideTopRight":r+=c-n,o+=n,d="right";break;case"insideBottomLeft":r+=n,o+=s-n,u="bottom";break;case"insideBottomRight":r+=c-n,o+=s-n,d="right",u="bottom";break}return t=t||{},t.x=r,t.y=o,t.textAlign=d,t.textVerticalAlign=u,t}function S(t,e,i){var a={textPosition:t,textDistance:i};return C({},a,e)}function M(t,e,i,a,n){if(!e)return"";var r=(t+"").split("\n");n=T(e,i,a,n);for(var o=0,s=r.length;o=r;l++)o-=r;var d=b(i,e);return d>o&&(i="",d=0),o=t-d,a.ellipsis=i,a.ellipsisWidth=d,a.contentWidth=o,a.containerWidth=t,a}function P(t,e){var i=e.containerWidth,a=e.font,n=e.contentWidth;if(!i)return"";var r=b(t,a);if(r<=i)return t;for(var o=0;;o++){if(r<=n||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?I(t,n,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*n/r):0;t=t.substr(0,s),r=b(t,a)}return""===t&&(t=e.placeholder),t}function I(t,e,i,a){for(var n=0,r=0,o=t.length;ru)t="",o=[];else if(null!=f)for(var h=T(f-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),p=0,m=o.length;pr&&A(i,t.substring(r,o)),A(i,a[2],a[1]),r=p.lastIndex}rg)return{lines:[],width:0,height:0};C.textWidth=b(C.text,P);var E=S.textWidth,j=null==E||"auto"===E;if("string"===typeof E&&"%"===E.charAt(E.length-1))C.percentWidth=E,f.push(C),E=0;else{if(j){E=C.textWidth;var D=S.textBackgroundColor,N=D&&D.image;N&&(N=n.findExistImage(N),n.isImageReady(N)&&(E=Math.max(E,N.width*I/N.height)))}var L=T?T[1]+T[3]:0;E+=L;var $=null!=v?v-x:null;null!=$&&$"}},[e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/"}},[e("a-icon",{attrs:{type:"home"}}),t._v("\n 首页\n ")],1)],1),e("a-breadcrumb-item",[e("router-link",{attrs:{to:"/members"}},[e("a-icon",{attrs:{type:"team"}}),t._v("\n 成员\n ")],1)],1),e("a-breadcrumb-item",[t._v(t._s(t.member.name))])],1),e("div",{staticClass:"header"},[e("div",{staticClass:"member-info"},[t.member?[e("div",{staticClass:"base"},[e("a-avatar",{staticClass:"m-r",attrs:{size:"large",icon:"user",src:t.member.avatar}}),e("div",{staticClass:"title"},[t._v("\n "+t._s(t.member.name)+"\n ")])],1),e("div",{staticClass:"mail muted"},[e("a-icon",{attrs:{type:"mail"}}),t._v("\n "+t._s(t.member.email)+"\n "),e("a-tooltip",[e("template",{slot:"title"},[e("span",[t._v("更新基础资料")])]),e("a",{staticClass:"muted m-l-sm",on:{click:t.syncDetail}},[e("a-icon",{attrs:{type:"reload"}})],1)],2)],1)]:t._e()],2)]),e("div",{staticClass:"actions"},[e("a-tabs",{attrs:{animated:!1,defaultActiveKey:"1"},on:{change:t.tabChange},model:{value:t.tabKey,callback:function(e){t.tabKey=e},expression:"tabKey"}},[e("a-tab-pane",{key:"1",staticClass:"info-content base-info",attrs:{tab:"详细资料"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("详细资料")]),e("a",{staticClass:"muted",on:{click:t.showEditBaseInfo}},[e("a-icon",{attrs:{type:"edit"}}),t._v("\n 编辑")],1)]),e("a-row",{staticClass:"content-wrapper"},[e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("姓名")]),e("span",[t._v(t._s(t.member.name))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("手机")]),e("span",[t._v(t._s(t.member.mobile))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("邮箱")]),e("span",[t._v(t._s(t.member.email))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("职位")]),e("span",[t._v(t._s(t.member.position))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("部门")]),e("span",[t._v(t._s(t.member.departments))])])]),e("a-col",{attrs:{span:8}},[e("div",{staticClass:"info-item"},[e("span",{staticClass:"muted"},[t._v("加入时间")]),e("span",[t._v(t._s(t.member.create_time))])])])],1)],1),e("a-tab-pane",{key:"3",staticClass:"info-content",attrs:{tab:"任务安排"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("\n 任务安排\n "),e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"muted m-l-sm",staticStyle:{"font-size":"14px"}},[0==t.task.type[0]?e("span",[t._v("未完成的任务 ")]):e("span",[t._v("全部 ")]),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},on:{click:t.changeTaskType},slot:"overlay",model:{value:t.task.type,callback:function(e){t.$set(t.task,"type",e)},expression:"task.type"}},[e("a-menu-item",{key:"0"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("未完成的任务")])])]),e("a-menu-item",{key:"-1"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("全部")])])])],1)],1)],1)]),e("a-list",{staticClass:"content-wrapper list",attrs:{loading:t.task.loading}},t._l(t.task.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",{on:{click:function(e){return t.showTaskDetail(i)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[i.done?t._e():e("a-icon",{attrs:{type:"border"}}),i.done?e("a-icon",{attrs:{type:"check-square"}}):t._e(),e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.name))]),e("span",{staticClass:"muted m-l tips"},[e("a-icon",{attrs:{type:"project"}}),e("router-link",{staticClass:"muted m-l-xs",attrs:{target:"_blank",to:"/project/space/task/"+i.projectInfo.code}},[t._v(t._s(i.projectInfo.name)+"\n ")])],1),i.end_time&&!i.done?e("span",{staticClass:"label m-r-xs pull-right",class:t.showTimeLabel(i.end_time)},[t._v(t._s(t.showTaskTime(i.begin_time,i.end_time)))]):t._e()],1),e("div",{attrs:{slot:"description"},slot:"description"})])],1)})),1)],1),e("a-tab-pane",{key:"4",staticClass:"info-content",attrs:{tab:"Ta的项目"}},[e("p",{staticClass:"action-wrapper"},[e("span",{staticClass:"title"},[t._v("Ta的项目")])]),e("a-list",{staticClass:"content-wrapper list default-list",attrs:{loading:t.project.loading}},t._l(t.project.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",{on:{click:function(e){return t.routerLink("/project/space/task/".concat(i.code))}}},[e("a-avatar",{attrs:{slot:"avatar",icon:"user",src:i.cover},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.name))]),e("a-tag",{directives:[{name:"show",rawName:"v-show",value:!i.private,expression:"!item.private"}],staticClass:"m-l",attrs:{color:"green"}},[t._v("公开")])],1),e("div",{attrs:{slot:"description"},slot:"description"},[e("span",{staticClass:"m-l-sm"},[t._v(t._s(i.description))])])],1)],1)})),1)],1)],1)],1),e("a-modal",{attrs:{width:600,title:t.actionInfo.modalTitle,bodyStyle:{padding:"6px 18px 1px 18px"},footer:null},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("a-form",{attrs:{form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmitBaseInfo.apply(null,arguments)}}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"姓名"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"请填写姓名"}],validateTrigger:"blur"}],expression:"['name',{rules: [{ required: true, message: '请填写姓名' }], validateTrigger: 'blur'}]"}],attrs:{placeholder:"输入姓名",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"邮箱"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["email",{rules:[{required:!0,message:"请填写电子邮箱地址"}],validateTrigger:"blur"}],expression:"['email',{rules: [{ required: true, message: '请填写电子邮箱地址' }], validateTrigger: 'blur'}]"}],attrs:{placeholder:"输入电子邮箱地址",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"手机"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mobile"],expression:"['mobile']"}],attrs:{placeholder:"输入手机",size:"large"}})],1)],1),e("a-col",{attrs:{span:12}},[e("a-form-item",{attrs:{label:"职位"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["position"],expression:"['position']"}],attrs:{placeholder:"输入职位",size:"large"}})],1)],1)],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-form-item",{attrs:{label:"描述"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["description"],expression:"['description']"}],attrs:{placeholder:"输入描述",size:"large",type:"textarea",rows:3}})],1)],1)],1),e("a-form-item",[e("div",{staticClass:"action-btn",staticStyle:{"text-align":"center"}},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",block:"",size:"large",loading:t.actionInfo.confirmLoading}},[t._v("保存\n ")])],1)])],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,title:"",footer:null},on:{cancel:t.detailClose},model:{value:t.task.modalStatus,callback:function(e){t.$set(t.task,"modalStatus",e)},expression:"task.modalStatus"}},[t.task.currentTask.code?e("task-detail",{attrs:{taskCode:t.task.currentTask.code},on:{close:t.detailClose}}):t._e()],1)],1)},n=[],r=(i("c5f6"),i("96cf"),i("1da1")),o=i("c1df"),s=i.n(o),c=i("009f"),l=i("1b80"),d=i("2f14"),u=i("c24f"),f=i("b199"),h=i("24d2"),p=i("81fe"),m={name:"memberProfile",components:{taskDetail:c["a"]},mixins:[l["a"]],data:function(){return{code:this.$route.params.code,tabKey:this.$route.query.key?this.$route.query.key:"1",member:{},task:{page:1,pageSize:1e3,loading:!1,modalStatus:!1,currentTask:{},type:["0"],total:0,list:[]},project:{page:1,pageSize:1e3,loading:!1,total:0,list:[]},form:this.$form.createForm(this),actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"组织成员信息"}}},computed:{},watch:{},created:function(){this.init()},methods:{init:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getMember();case 2:this.tabChange(this.tabKey);case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),tabChange:function(t){switch(t){case"3":this.getTasks();break;case"4":this.getProjectList()}},getMember:function(){var t=this;return Object(u["x"])(this.code).then((function(e){t.member=e.data}))},syncDetail:function(){var t=this;Object(u["A"])({code:this.code}).then((function(e){t.getMember()}))},getTasks:function(){var t=this;this.task.loading=!0,Object(f["u"])({memberCode:this.member.member_code,type:Number(this.task.type[0]),page:this.task.page,pageSize:this.task.pageSize}).then((function(e){t.task.loading=!1,t.task.list=e.data.list,t.task.total=e.data.total}))},changeTaskType:function(t){var e=this;this.$nextTick((function(){e.getTasks()}))},showTaskDetail:function(t){this.task.currentTask=JSON.parse(JSON.stringify(t)),this.task.modalStatus=!0},detailClose:function(){var t=this;this.task.modalStatus=!1,setTimeout((function(){t.task.currentTask.code=""}),500)},getProjectList:function(){var t=this;this.task.loading=!0,Object(h["l"])({memberCode:this.member.member_code,page:this.task.page,pageSize:this.task.pageSize}).then((function(e){t.project.loading=!1,t.project.list=e.data.list,t.project.total=e.data.total}))},showEditBaseInfo:function(){var t=this;this.actionInfo.modalStatus=!0,this.$nextTick((function(){t.form.setFieldsValue({name:t.member.name,mobile:t.member.mobile,email:t.member.email,position:t.member.position,description:t.member.description})}))},handleSubmitBaseInfo:function(){var t=this,e=this;e.form.validateFields((function(i,a){i||(a.code=e.member.code,Object(u["q"])(a).then((function(i){var n=Object(d["a"])(i);n&&(t.actionInfo.modalStatus=!1,Object.assign(e.member,a))})))}))},showTaskTime:function(t,e){return Object(p["a"])(t,e)},showTimeLabel:function(t){var e="label-primary";if(null==t)return e;var i=s()(s()(t).format("YYYY-MM-DD")).diff(s()().format("YYYY-MM-DD"),"days");return i<0?e="label-danger":0==i?e="label-warning":i>7&&(e="label-normal"),e}}},v=m,g=(i("d789"),i("2877")),b=Object(g["a"])(v,a,n,!1,null,null,null);e["default"]=b.exports},e8f7:function(t,e,i){"use strict";var a=this;Object.defineProperty(e,"__esModule",{value:!0}),e.off=e.on=void 0;var n=i("5772"),r=function(t,e){(0,n.requireModule)("globalEvent").addEventListener(t,(function(t){var i={preventDefault:function(){throw new Error("does not support preventDefault")},detail:t};e.call(a,i)}))};e.on=r;var o=function(t,e){(0,n.requireModule)("globalEvent").removeEventListener(t,e)};e.off=o},e90d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getRealtimeTracingStatus$=void 0;var r=i("c6b3"),o="biz.realm.getRealtimeTracingStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.13"},n)),e.getRealtimeTracingStatus$=a,e.default=a},e9cb:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.departmentsPicker$=void 0;var r=i("c6b3"),o="biz.contact.departmentsPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"4.2.5"},n[r.ENV_ENUM.ios]={vs:"3.0"},n[r.ENV_ENUM.android]={vs:"3.0"},n)),e.departmentsPicker$=a,e.default=a},e9e2:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseImage$=void 0;var r=i("c6b3"),o="biz.util.chooseImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.1"},n[r.ENV_ENUM.android]={vs:"5.1.1"},n)),e.chooseImage$=a,e.default=a},ea1a:function(t,e,i){},ea3f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setWatermarkInfo$=void 0;var r=i("c6b3"),o="biz.watermarkCamera.setWatermarkInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.25"},n[r.ENV_ENUM.android]={vs:"6.5.25"},n)),e.setWatermarkInfo$=a,e.default=a},ea47:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.rolesPicker$=void 0;var r=i("c6b3"),o="biz.contact.rolesPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.16"},n[r.ENV_ENUM.android]={vs:"6.3.16"},n)),e.rolesPicker$=a,e.default=a},ea60:function(t,e,i){"use strict";var a=i("c6b3"),n=i("9e78"),r=Object.assign({},n,a.ddSdk.getExportSdk());t.exports=r},ea97:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.resume$=void 0;var r=i("c6b3"),o="device.audio.resume";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.resume$=a,e.default=a},eb62:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.play$=void 0;var r=i("c6b3"),o="device.audio.play";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.8.0"},n[r.ENV_ENUM.android]={vs:"2.8.0"},n)),e.play$=a,e.default=a},eb6b:function(t,e,i){var a=i("6d8b"),n=i("e0d3"),r=n.makeInner,o=i("cd33"),s=i("133d"),c=a.each,l=a.curry,d=r();function u(t,e,i){var n=t.currTrigger,r=[t.x,t.y],o=t,d=t.dispatchAction||a.bind(i.dispatchAction,i),u=e.getComponent("axisPointer").coordSysAxesInfo;if(u){k(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var h=k(r),x=o.axesInfo,w=u.axesInfo,C="leave"===n||k(r),S={},M={},T={list:[],map:{}},P={showPointer:l(p,M),showTooltip:l(m,T)};c(u.coordSysMap,(function(t,e){var i=h||t.containPoint(r);c(u.coordSysAxesInfo[e],(function(t,e){var a=t.axis,n=_(x,t);if(!C&&i&&(!x||n)){var o=n&&n.value;null!=o||h||(o=a.pointToData(r)),null!=o&&f(t,o,P,!1,S)}}))}));var I={};return c(w,(function(t,e){var i=t.linkGroup;i&&!M[e]&&c(i.axesInfo,(function(e,a){var n=M[a];if(e!==t&&n){var r=n.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,y(e),y(t)))),I[t.key]=r}}))})),c(I,(function(t,e){f(w[e],t,P,!0,S)})),v(M,w,S),g(T,r,t,d),b(w,d,i),S}}function f(t,e,i,n,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=h(e,t),c=s.payloadBatch,l=s.snapToValue;c[0]&&null==r.seriesIndex&&a.extend(r,c[0]),!n&&t.snap&&o.containData(l)&&null!=l&&(e=l),i.showPointer(t,e,c,r),i.showTooltip(t,s,l)}else i.showPointer(t,e)}function h(t,e){var i=e.axis,a=i.dim,n=t,r=[],o=Number.MAX_VALUE,s=-1;return c(e.seriesModels,(function(e,l){var d,u,f=e.getData().mapDimension(a,!0);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(f,t,i);u=h.dataIndices,d=h.nestestValue}else{if(u=e.getData().indicesOfNearest(f[0],t,"category"===i.type?.5:null),!u.length)return;d=e.getData().get(f[0],u[0])}if(null!=d&&isFinite(d)){var p=t-d,m=Math.abs(p);m<=o&&((m=0&&s<0)&&(o=m,s=p,n=d,r.length=0),c(u,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:n}}function p(t,e,i,a){t[e.key]={value:i,payloadBatch:a}}function m(t,e,i,a){var n=i.payloadBatch,r=e.axis,s=r.model,c=e.axisPointerModel;if(e.triggerTooltip&&n.length){var l=e.coordSys.model,d=o.makeKey(l),u=t.map[d];u||(u=t.map[d]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:a,valueLabelOpt:{precision:c.get("label.precision"),formatter:c.get("label.formatter")},seriesDataIndices:n.slice()})}}function v(t,e,i){var a=i.axesInfo=[];c(e,(function(e,i){var n=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(n.status="show"),n.value=r.value,n.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(n.status="hide"),"show"===n.status&&a.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:n.value})}))}function g(t,e,i,a){if(!k(e)&&t.list.length){var n=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:t.list})}else a({type:"hideTip"})}function b(t,e,i){var n=i.getZr(),r="axisPointerLastHighlights",o=d(n)[r]||{},s=d(n)[r]={};c(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&c(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var l=[],u=[];a.each(o,(function(t,e){!s[e]&&u.push(t)})),a.each(s,(function(t,e){!o[e]&&l.push(t)})),u.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:u}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}function _(t,e){for(var i=0;i<(t||[]).length;i++){var a=t[i];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}function y(t){var e=t.axis.model,i={},a=i.axisDim=t.axis.dim;return i.axisIndex=i[a+"AxisIndex"]=e.componentIndex,i.axisName=i[a+"AxisName"]=e.name,i.axisId=i[a+"AxisId"]=e.id,i}function k(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=u},eb86:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.loginGovNet$=void 0;var r=i("c6b3"),o="net.bjGovApn.loginGovNet";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"4.5.16"},n)),e.loginGovNet$=a,e.default=a},ec02:function(t,e,i){var a=i("6d8b"),n=i("84ce"),r=function(t,e,i,a,r){n.call(this,t,e,i),this.type=a||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},a.inherits(r,n);var o=r;t.exports=o},ec34:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.createHashMap,o=n.isString,s=n.isArray,c=n.each,l=(n.assert,i("3041")),d=l.parseXML,u=r(),f={registerMap:function(t,e,i){var a;return s(e)?a=e:e.svg?a=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),a=[{type:"geoJSON",source:e,specialAreas:i}]),c(a,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var i=h[e];i(t)})),u.set(t,a)},retrieveMap:function(t){return u.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=d(t.source)}};t.exports=f},ec6f:function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.isTypedArray,o=i("625e"),s=o.enableClassCheck,c=i("93d0"),l=c.SOURCE_FORMAT_ORIGINAL,d=c.SERIES_LAYOUT_BY_COLUMN,u=c.SOURCE_FORMAT_UNKNOWN,f=c.SOURCE_FORMAT_TYPED_ARRAY,h=c.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===h?{}:[]),this.sourceFormat=t.sourceFormat||u,this.seriesLayoutBy=t.seriesLayoutBy||d,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&n(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:r(t)?f:l,fromDataset:!1})},s(p);var m=p;t.exports=m},ec97:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createSceneGroup$=void 0;var r=i("c6b3"),o="biz.chat.createSceneGroup";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.7.17"},n[r.ENV_ENUM.android]={vs:"4.7.17"},n[r.ENV_ENUM.pc]={vs:"4.7.17"},n)),e.createSceneGroup$=a,e.default=a},ecfc:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.reportDebugMessage$=void 0;var r=i("c6b3"),o="biz.resource.reportDebugMessage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.20"},n[r.ENV_ENUM.android]={vs:"6.5.20"},n)),e.reportDebugMessage$=a,e.default=a},ed21:function(t,e,i){var a=i("2cf4"),n=a.devicePixelRatio,r=i("6d8b"),o=i("4942"),s=i("9850"),c=i("04f6"),l=i("5e68"),d=i("98b7"),u=i("0da8"),f=i("22d1"),h=1e5,p=314159,m=.01,v=.001;function g(t){return parseInt(t,10)}function b(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var _=new s(0,0,0,0),y=new s(0,0,0,0);function k(t,e,i){return _.copy(t.getBoundingRect()),t.transform&&_.applyTransform(t.transform),y.width=e,y.height=i,!_.intersect(y)}function x(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i=0&&i.splice(a,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=g,o.__drawIndex0&&t>a[0]){for(s=0;st)break;r=i[a[s]]}if(a.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var l=r.dom;l.nextSibling?c.insertBefore(e.dom,l.nextSibling):c.appendChild(e.dom)}else c.firstChild?c.insertBefore(e.dom,c.firstChild):c.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,a,n=this._zlevelList;for(a=0;a0?m:0),this._needsManuallyCompositing),c.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+c.id),c!==r&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),r=c),a.__dirty&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var a=0;a1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var c=a.normalizeCssArray,l=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(l,(function(t,e){return d[e]}))}var f=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){a.isArray(e)||(e=[e]);var n=e.length;if(!n)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function g(t,e){return t+="","0000".substr(0,e-t.length)+t}function b(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var a=r.parseDate(e),n=i?"UTC":"",o=a["get"+n+"FullYear"](),s=a["get"+n+"Month"]()+1,c=a["get"+n+"Date"](),l=a["get"+n+"Hours"](),d=a["get"+n+"Minutes"](),u=a["get"+n+"Seconds"](),f=a["get"+n+"Milliseconds"]();return t=t.replace("MM",g(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",g(c,2)).replace("d",c).replace("hh",g(l,2)).replace("h",l).replace("mm",g(d,2)).replace("m",d).replace("ss",g(u,2)).replace("s",u).replace("SSS",g(f,3)),t}function _(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var y=n.truncateText;function k(t){return n.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function x(t,e,i,a,r,o,s,c){return n.getBoundingRect(t,e,i,a,r,c,o,s)}function w(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=c,e.encodeHTML=u,e.formatTpl=p,e.formatTplSimple=m,e.getTooltipMarker=v,e.formatTime=b,e.capitalFirst=_,e.truncateText=y,e.getTextBoundingRect=k,e.getTextRect=x,e.windowOpen=w},edb5:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getInfo$=void 0;var r=i("c6b3"),o="biz.resource.getInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.10"},n[r.ENV_ENUM.android]={vs:"6.5.10"},n)),e.getInfo$=a,e.default=a},ee1a:function(t,e,i){var a=i("6d8b"),n=a.each,r=a.isString;function o(t,e,i){i=i||{};var a,o,s,c,l=i.byIndex,d=i.stackedCoordDimension,u=!(!t||!t.get("stack"));if(n(e,(function(t,i){r(t)&&(e[i]=t={name:t}),u&&!t.isExtraCoord&&(l||a||!t.ordinalMeta||(a=t),o||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(o=t))})),!o||l||a||(l=!0),o){s="__\0ecstackresult",c="__\0ecstackedover",a&&(a.createInvertedIndices=!0);var f=o.coordDim,h=o.type,p=0;n(e,(function(t){t.coordDim===f&&p++})),e.push({name:s,coordDim:f,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:c,coordDim:c,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:a&&a.name,isStackedByIndex:l,stackedOverDimension:c,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function c(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=c},ee84:function(t,e,i){var a=i("20c8"),n=i("401b"),r=n.applyTransform,o=a.CMD,s=[[],[],[]],c=Math.sqrt,l=Math.atan2;function d(t,e){var i,a,n,d,u,f=t.data,h=o.M,p=o.C,m=o.L,v=o.R,g=o.A,b=o.Q;for(n=0,d=0;n=0;o--){var s=i[o].dimension,c=t.dimensions[s],l=t.getDimensionInfo(c);if(a=l&&l.coordDim,"x"===a||"y"===a){r=i[o];break}}if(r){var u=e.getAxis(a),f=n.map(r.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=f.length,p=r.outerColors.slice();h&&f[0].coord>f[h-1].coord&&(f.reverse(),p.reverse());var m=10,v=f[0].coord-m,g=f[h-1].coord+m,b=g-v;if(b<.001)return"transparent";n.each(f,(function(t){t.offset=(t.coord-v)/b})),f.push({offset:h?f[h-1].offset:.5,color:p[1]||"transparent"}),f.unshift({offset:h?f[0].offset:.5,color:p[0]||"transparent"});var _=new d.LinearGradient(0,0,0,0,f,!0);return _[a]=v,_[a+"2"]=g,_}}}function P(t,e,i){var a=t.get("showAllSymbol"),r="auto"===a;if(!a||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!I(o,e))){var s=e.mapDimension(o.dim),c={};return n.each(o.getViewLabels(),(function(t){c[t.tickValue]=1})),function(t){return!c.hasOwnProperty(e.get(s,t))}}}}function I(t,e){var i=t.getExtent(),a=Math.abs(i[1]-i[0])/t.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),r=Math.max(1,Math.round(n/5)),o=0;oa)return!1;return!0}function O(t,e,i){if("cartesian2d"===t.type){var a=t.getBaseAxis().isHorizontal(),n=y(t,e,i);if(!i.get("clip",!0)){var r=n.shape,o=Math.max(r.width,r.height);a?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return n}return k(t,e,i)}var E=m.extend({type:"line",init:function(){var t=new d.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var a=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),c=t.getModel("areaStyle"),l=o.mapArray(o.getItemLayout),d="polar"===a.type,u=this._coordSys,f=this._symbolDraw,h=this._polyline,p=this._polygon,m=this._lineGroup,v=t.get("animation"),b=!c.isEmpty(),_=c.get("origin"),y=g(a,o,_),k=S(a,o,y),w=t.get("showSymbol"),I=w&&!d&&P(t,o,a),E=this._data;E&&E.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),E.setItemGraphicEl(e,null))})),w||f.remove(),r.add(m);var j,D=!d&&t.get("step");a&&a.getArea&&t.get("clip",!0)&&(j=a.getArea(),null!=j.width?(j.x-=.1,j.y-=.1,j.width+=.2,j.height+=.2):j.r0&&(j.r0-=.5,j.r1+=.5)),this._clipShapeForSymbol=j,h&&u.type===a.type&&D===this._step?(b&&!p?p=this._newPolygon(l,k,a,v):p&&!b&&(m.remove(p),p=this._polygon=null),m.setClipPath(O(a,!1,t)),w&&f.updateData(o,{isIgnore:I,clipShape:j}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),x(this._stackedOnPoints,k)&&x(this._points,l)||(v?this._updateAnimation(o,k,a,i,D,_):(D&&(l=M(l,a,D),k=M(k,a,D)),h.setShape({points:l}),p&&p.setShape({points:l,stackedOnPoints:k})))):(w&&f.updateData(o,{isIgnore:I,clipShape:j}),D&&(l=M(l,a,D),k=M(k,a,D)),h=this._newPolyline(l,a,v),b&&(p=this._newPolygon(l,k,a,v)),m.setClipPath(O(a,!0,t)));var A=T(o,a)||o.getVisual("color");h.useStyle(n.defaults(s.getLineStyle(),{fill:"none",stroke:A,lineJoin:"bevel"}));var N=t.get("smooth");if(N=C(t.get("smooth")),h.setShape({smooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var L=o.getCalculationInfo("stackedOnSeries"),$=0;p.useStyle(n.defaults(c.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel"})),L&&($=C(L.get("smooth"))),p.setShape({smooth:N,stackedOnSmooth:$,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=a,this._stackedOnPoints=k,this._points=l,this._step=D,this._valueOrigin=_},dispose:function(){},highlight:function(t,e,i,a){var n=t.getData(),r=u.queryDataIndex(n,a);if(!(r instanceof Array)&&null!=r&&r>=0){var o=n.getItemGraphicEl(r);if(!o){var s=n.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new c(n,r),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,n.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else m.prototype.highlight.call(this,t,e,i,a)},downplay:function(t,e,i,a){var n=t.getData(),r=u.queryDataIndex(n,a);if(null!=r&&r>=0){var o=n.getItemGraphicEl(r);o&&(o.__temp?(n.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else m.prototype.downplay.call(this,t,e,i,a)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,a,n,r){var o=this._polyline,s=this._polygon,c=t.hostModel,u=l(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),f=u.current,h=u.stackedOnCurrent,p=u.next,m=u.stackedOnNext;if(n&&(f=M(u.current,i,n),h=M(u.stackedOnCurrent,i,n),p=M(u.next,i,n),m=M(u.stackedOnNext,i,n)),w(f,p)>3e3||s&&w(h,m)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:m}));o.shape.__points=u.current,o.shape.points=f,d.updateProps(o,{shape:{points:p}},c),s&&(s.setShape({points:f,stackedOnPoints:h}),d.updateProps(s,{shape:{points:p,stackedOnPoints:m}},c));for(var v=[],g=u.status,b=0;b=1)&&(t=1),t}s===l&&c===f||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=u(this,a)),this._modBy=l,this._modDataCount=f;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var m=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(o||m1&&a>0?s:o}};return r;function o(){return e=t?null:r0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:i.fileUrl},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:i.fileUrl}},[t._v(t._s(i.name))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(i.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.removeTaskSource(i,a)}},slot:"actions"},[e("a-icon",{attrs:{type:"delete"}})],1)],1)})),1)],1)])])]),e("div",{staticClass:"component-mount",staticStyle:{display:"flex","justify-content":"flex-end"}},[e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-right":"20px"},on:{click:t.detailClose}},[t._v("取消")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:t.addTask}},[t._v("完成")])],1)])])])],1)])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCode},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)}),o=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("20d6"),i("7514"),i("ade3")),c=(i("c5f6"),i("2f62")),l=i("1157"),d=i.n(l),u=i("c1df"),f=i.n(u),h=i("f93e"),p=i("a897"),m=i("b199"),v=i("8870"),g=i("d8bc"),b=i("d3a1"),_=i("68fe"),y=i("2f14"),k=i("f66c"),x=i("97a8"),w=i("81fe"),C=i("0e8f"),S=i("c24f"),M=i("261e");function T(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function P(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){},uploader:{handler:function(t,e){console.log("上传文件",t),console.log("上传文件",t.fileList,e.fileList);var i=t.fileList;i[i.length-1].projectName==this.projectName&&this.taskSourceList.push(i[i.length-1])},deep:!0}},created:function(){},mounted:function(){var t=this,e=arguments;this.getDepartment(),this.projectCode=this.$route.params.code,console.log(this.projectCode),this.projectName=this.$route.query.name,this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(i){console.log(i);var a=i||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(),"@"==a.key&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(w["c"])(t)}},methods:{getDepartment:function(){var t=this;Object(C["c"])().then((function(e){t.departmentList=e.data.list}))},departmentDropClick:function(t){var e=this,i=this.departmentList.find((function(e){return e.code==t.key}));this.department=i,Object(S["w"])({searchType:4,type:1,departmentCode:i.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(x["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_list.find((function(e){return e.code==t.code}));e?Object(x["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_list.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_list.splice(t,1)},changeExchange:function(t){this.task.exchangeList.push(P({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,i=this.task.exchangeList.findIndex((function(t){return 1==t.show}));if(-1!=i){this.task.exchangeList[i].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchangeList));t?a[i]=P({f_key:(new Date).getTime(),show:!1},t):a.splice(i,1),this.$nextTick((function(){e.task.exchangeList=a}))}},removeTaskSource:function(t,e){this.taskSourceList.splice(e,1)},addTask:function(){return this.task.name?this.task.description?this.task.end_time?this.department.code?void this.createTask():Object(x["b"])({title:"请选择处理部门"},"error",5e3):Object(x["b"])({title:"请选择完成期限"},"error",5e3):Object(x["b"])({title:"请输入工作内容"},"error",5e3):Object(x["b"])({title:"请输入工单名称"},"error",5e3)},createTask:function(){var t=this,e=JSON.parse(JSON.stringify(this.task));e.exchangeList=e.exchangeList.map((function(t){return t.code})),e.file_list=this.taskSourceList.map((function(t){return t.code})).join(","),e.exchangeList=e.exchangeList.join(","),e.copied_list=e.copied_list.map((function(t){return t.code})),e.copied_list=e.copied_list.join(","),e.assign_to="",e.department_code=this.department.code,e.liasion_code=this.liasionMan.code,e.stage_code=this.$route.query.stage_code,e.project_code=this.$route.params.code,e.end_time=new Date(e.end_time).getTime(),Object(m["s"])(e).then((function(e){console.log(e),t.$emit("close",t.task),t.$router.push("/project/space/task/".concat(t.$route.params.code,"?re=1&from=").concat(t.$route.query.from))})).catch((function(t){Object(x["b"])({title:"创建失败"},"error",5e3)}))},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskCopied=!1,this.showChildTask=!1},getTask:function(){this.$store.commit("viewRefresh"),this.clearMemberMenu(),this.task.end_time?(this.task.setEndTime=!0,this.task.end_time=f()(this.task.end_time)):(this.task.setEndTime=!1,this.task.end_time=f()(f()().format("YYYY-MM-DD")+" 18:00")),this.task.end_time_format=Object(w["b"])(this.task.end_time,!0),this.task.begin_time?(this.task.setBeginTime=!0,this.task.begin_time=f()(this.task.begin_time)):(this.task.setBeginTime=!1,this.task.begin_time=f()(f()().format("YYYY-MM-DD")+" 18:00")),this.task.begin_time_format=Object(w["b"])(this.task.begin_time,!0),this.initContent(this.task.description||""),this.loading=!1,this.$store.dispatch("setTempData",{projectCode:this.projectCodeCurrent,taskCode:this.code})},getTaskLog:function(){},taskSources:function(){},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(g["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doSource:function(t,e){var i=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(v["a"])(e.code).then((function(t){var e=Object(y["a"])(t);if(!e)return!1;i.taskSources(),i.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(x["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除工单后,该工单及其子工单将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(m["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该工单吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(m["p"])(t.code).then((function(e){var i=Object(y["a"])(e);if(!i)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(x["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开工单页面"},"notice","success",5)},like:function(t){t=Number(t),Object(m["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var i="";t?(i=f()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=f()(this.task.begin_time).format("MM月DD日 HH:mm")):i="",this.editTask({begin_time:i})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var i="";t?(i=f()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=f()(this.task.end_time).format("MM月DD日 HH:mm")):i="",this.editTask({end_time:i})},doPri:function(t){console.log(this.task),this.task.pri=t.key,0==this.task.pri&&(this.task.priText="普通"),1==this.task.pri&&(this.task.priText="紧急"),2==this.task.pri&&(this.task.priText="非常紧急"),this.clearMemberMenu()},doName:function(){if(this.showEditName=!1,this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},editTask:function(t){},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description||"")},initContent:function(t){var e=this;t?this.$refs.vueWangeditor&&this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor&&this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))},doContent:function(){var t=this.$refs.vueWangeditor.getHtml();this.code;this.task.description=t,this.showTaskDescriptionEdit=!1},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=d()(".description-txt-con");if(e||(t?(this.showMoreDesc=!0,i.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,i.css("max-height",(function(){return"300px"})))),e){var a=i.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},changeModalHeight:function(){var t=this.width,e=d()(window).width()-100,i=d()(window).height()-150;d()(window).height();"full-screen"===t||void 0!==this.$route.query["full-screen"]?(d()(".task-detail").css("width",d()(window).width()),i+=85,85,d()(".content-left").css("height",i+"px")):(e>t&&(e=t),d()(".task-detail").css("width",e),d()(".content-left").css("height",i+"px"))}}},A=D,N=(i("bd46"),i("2877")),L=Object(N["a"])(A,r,o,!1,null,null,null),$=L.exports,V={name:"task-add-modal",components:{taskAdd:$},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},addClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},R=V,z=(i("5ab3"),Object(N["a"])(R,a,n,!1,null,null,null));e["default"]=z.exports},f576:function(t,e,i){"use strict";var a=i("5ca1"),n=i("2e08"),r=i("a25f"),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r);a(a.P+a.F*o,"String",{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},f629:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setScreenBrightnessAndKeepOn$=void 0;var r=i("c6b3"),o="biz.util.setScreenBrightnessAndKeepOn";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.37"},n[r.ENV_ENUM.android]={vs:"4.3.3"},n)),e.setScreenBrightnessAndKeepOn$=a,e.default=a},f694:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getWifiStatus$=void 0;var r=i("c6b3"),o="device.base.getWifiStatus";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.11.0"},n[r.ENV_ENUM.android]={vs:"2.11.0"},n)),e.getWifiStatus$=a,e.default=a},f706:function(t,e,i){var a=i("2306"),n=i("1418"),r=i("6d8b"),o=r.isObject;function s(t){this.group=new a.Group,this._symbolCtor=t||n}var c=s.prototype;function l(t,e,i,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(i))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function d(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function u(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}c.updateData=function(t,e){e=d(e);var i=this.group,n=t.hostModel,r=this._data,o=this._symbolCtor,s=u(t);r||i.removeAll(),t.diff(r).add((function(a){var n=t.getItemLayout(a);if(l(t,n,a,e)){var r=new o(t,a,s);r.attr("position",n),t.setItemGraphicEl(a,r),i.add(r)}})).update((function(c,d){var u=r.getItemGraphicEl(d),f=t.getItemLayout(c);l(t,f,c,e)?(u?(u.updateData(t,c,s),a.updateProps(u,{position:f},n)):(u=new o(t,c),u.attr("position",f)),i.add(u),t.setItemGraphicEl(c,u)):i.remove(u)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){i.remove(e)}))})).execute(),this._data=t},c.isPersistent=function(){return!0},c.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,i){var a=t.getItemLayout(i);e.attr("position",a)}))},c.incrementalPrepareUpdate=function(t){this._seriesScope=u(t),this._data=null,this.group.removeAll()},c.incrementalUpdate=function(t,e,i){function a(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}i=d(i);for(var n=t.start;na||c.newline?(r=0,d=v,o+=s+i,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(m?-m.y+h.y:0);u=o+g,u>n||c.newline?(r+=s+i,o=0,u=g,s=h.width):s=Math.max(s,h.width)}c.newline||(f[0]=r,f[1]=o,"horizontal"===t?r=d+i:o=u+i)}))}var f=u,h=a.curry(u,"vertical"),p=a.curry(u,"horizontal");function m(t,e,i){var a=e.width,n=e.height,r=o(t.x,a),c=o(t.y,n),l=o(t.x2,a),d=o(t.y2,n);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.x2)))&&(l=a),(isNaN(c)||isNaN(parseFloat(t.y)))&&(c=0),(isNaN(d)||isNaN(parseFloat(t.y2)))&&(d=n),i=s.normalizeCssArray(i||0),{width:Math.max(l-r-i[1]-i[3],0),height:Math.max(d-c-i[0]-i[2],0)}}function v(t,e,i){i=s.normalizeCssArray(i||0);var a=e.width,r=e.height,c=o(t.left,a),l=o(t.top,r),d=o(t.right,a),u=o(t.bottom,r),f=o(t.width,a),h=o(t.height,r),p=i[2]+i[0],m=i[1]+i[3],v=t.aspect;switch(isNaN(f)&&(f=a-d-m-c),isNaN(h)&&(h=r-u-p-l),null!=v&&(isNaN(f)&&isNaN(h)&&(v>a/r?f=.8*a:h=.8*r),isNaN(f)&&(f=v*h),isNaN(h)&&(h=f/v)),isNaN(c)&&(c=a-d-f-m),isNaN(l)&&(l=r-u-h-p),t.left||t.right){case"center":c=a/2-f/2-i[3];break;case"right":c=a-f-m;break}switch(t.top||t.bottom){case"middle":case"center":l=r/2-h/2-i[0];break;case"bottom":l=r-h-p;break}c=c||0,l=l||0,isNaN(f)&&(f=a-m-c-(d||0)),isNaN(h)&&(h=r-p-l-(u||0));var g=new n(c+i[3],l+i[0],f,h);return g.margin=i,g}function g(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],c=!o||!o.hv||o.hv[1],l=o&&o.boundingMode||"all";if(s||c){var d;if("raw"===l)d="group"===t.type?new n(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(d=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();d=d.clone(),d.applyTransform(u)}e=v(a.defaults({width:d.width,height:d.height},e),i,r);var f=t.position,h=s?e.x-d.x:0,p=c?e.y-d.y:0;t.attr("position","raw"===l?[h,p]:[f[0]+h,f[1]+p])}}function b(t,e){return null!=t[d[e][0]]||null!=t[d[e][1]]&&null!=t[d[e][2]]}function _(t,e,i){!a.isObject(i)&&(i={});var n=i.ignoreSize;!a.isArray(n)&&(n=[n,n]);var r=s(d[0],0),o=s(d[1],1);function s(i,a){var r={},o=0,s={},d=0,f=2;if(c(i,(function(e){s[e]=t[e]})),c(i,(function(t){l(e,t)&&(r[t]=s[t]=e[t]),u(r,t)&&o++,u(s,t)&&d++})),n[a])return u(e,i[1])?s[i[2]]=null:u(e,i[2])&&(s[i[1]]=null),s;if(d!==f&&o){if(o>=f)return r;for(var h=0;hh[1]?-1:1,m=["start"===s?h[0]-p*f:"end"===s?h[1]+p*f:(h[0]+h[1])/2,E(s)?t.labelOffset+d*f:0],v=e.get("nameRotate");null!=v&&(v=v*k/180),E(s)?a=S(t.rotation,null!=v?v:t.rotation,d):(a=M(t,s,v||0,h),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(a.rotation)),!isFinite(r)&&(r=null)));var g=u.getFont(),b=e.get("nameTruncate",!0)||{},_=b.ellipsis,y=n(t.nameTruncateMaxWidth,b.maxWidth,r),x=null!=_&&null!=y?c.truncateText(i,y,g,_,{minChar:2,placeholder:b.placeholder}):i,w=e.get("tooltip",!0),P=e.mainType,I={componentType:P,name:i,$vars:["name"]};I[P+"Index"]=e.componentIndex;var O=new l.Text({anid:"name",__fullText:i,__truncatedText:x,position:m,rotation:a.rotation,silent:T(e),z2:1,tooltip:w&&w.show?o({content:i,formatter:function(){return i},formatterParams:I},w):null});l.setTextStyle(O.style,u,{text:x,textFont:g,textFill:u.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:u.get("align")||a.textAlign,textVerticalAlign:u.get("verticalAlign")||a.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=C(e),O.eventData.targetType="axisName",O.eventData.name=i),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},C=x.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},S=x.innerTextLayout=function(t,e,i){var a,n,r=h(e-t);return f(r)?(n=i>0?"top":"bottom",a="center"):f(r-k)?(n=i>0?"bottom":"top",a="center"):(n="middle",a=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:a,textVerticalAlign:n}};function M(t,e,i,a){var n,r,o=h(i-t.rotation),s=a[0]>a[1],c="start"===e&&!s||"start"!==e&&s;return f(o-k/2)?(r=c?"bottom":"top",n="center"):f(o-1.5*k)?(r=c?"top":"bottom",n="center"):(r="middle",n=o<1.5*k&&o>k/2?c?"left":"right":c?"right":"left"),{rotation:o,textAlign:n,textVerticalAlign:r}}var T=x.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function P(t,e,i){if(!y(t.axis)){var a=t.get("axisLabel.showMinLabel"),n=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],c=e[e.length-2],l=i[0],d=i[1],u=i[i.length-1],f=i[i.length-2];!1===a?(I(r),I(l)):O(r,o)&&(a?(I(o),I(d)):(I(r),I(l))),!1===n?(I(s),I(u)):O(c,s)&&(n?(I(c),I(f)):(I(s),I(u)))}}function I(t){t&&(t.ignore=!0)}function O(t,e,i){var a=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(a&&n){var r=v.identity([]);return v.rotate(r,r,-t.rotation),a.applyTransform(v.mul([],r,t.getLocalTransform())),n.applyTransform(v.mul([],r,e.getLocalTransform())),a.intersect(n)}}function E(t){return"middle"===t||"center"===t}function j(t,e,i,a,n){for(var r=[],o=[],s=[],c=0;ce&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?c=i[o]:"function"===typeof o&&(c=o),c&&t.setData(r.downSample(r.mapDimension(d.dim),1/h,c,a))}}}}t.exports=n},fe21:function(t,e,i){var a=i("e86a"),n=i("2306"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return n.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return a.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},fef1:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"install",staticStyle:{height:"100%"}},[e("user-layout",{attrs:{desc:"正在安装Pear Project项目管理系统"}},[e("div",{staticClass:"main"},[e("a-alert",{attrs:{message:"请确认已正确修改服务端目录下的.env配置文件"}}),e("a-form",{staticClass:"user-layout-login",attrs:{layout:"horizontal",form:t.form},on:{submit:function(e){return e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[e("a-form-item",{attrs:{label:"清除数据",labelCol:{span:6},wrapperCol:{span:18}}},[e("a-checkbox",{directives:[{name:"decorator",rawName:"v-decorator",value:["initData",{initialValue:!1,valuePropName:"checked"}],expression:"[\n 'initData',\n {initialValue: false, valuePropName: 'checked'}\n ]"}]},[t._v("\n 勾选后将清除预置数据\n ")])],1),e("a-form-item",{staticStyle:{"margin-top":"24px"},attrs:{labelCol:{span:6},wrapperCol:{span:18,offset:3}}},[e("a-button",{staticClass:"middle-btn",attrs:{size:"large",type:"primary",htmlType:"submit",loading:t.loading,disabled:t.loading,block:""}},[t.loading?e("span",[t._v("正在安装,请稍后...")]):e("span",[t._v("立即安装")])])],1)],1)],1)])],1)},n=[],r=i("82f8"),o=i("2f14"),s=i("27f0"),c={components:{UserLayout:s["default"]},data:function(){return{loading:!1,form:this.$form.createForm(this),installInfo:{mysqlHost:"",mysqlDatabase:"",mysqlUsername:"",mysqlPassword:"",mysqlPrefix:"",mysqlHostport:"",initData:!1}}},created:function(){this.checkInstall()},mounted:function(){var t=this;setTimeout((function(){t.form=t.$form.createForm(t)}),500)},methods:{handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){e||(t.installInfo=i,t.install())}))},install:function(){var t=this;this.loading=!0,this.installInfo.initData=this.installInfo.initData?1:0,Object(r["c"])(this.installInfo).then((function(e){if(t.loading=!1,!Object(o["a"])(e))return!1;t.$router.push({name:"login"})})).catch((function(){t.loading=!1}))},checkInstall:function(){var t=this;Object(r["a"])().then((function(e){Object(o["a"])(e)&&t.$router.push({name:"login"})}))}}},l=c,d=i("2877"),u=Object(d["a"])(l,a,n,!1,null,null,null);e["default"]=u.exports},ff2e:function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("e86a"),o=i("eda2"),s=i("1687"),c=i("697e"),l=i("fab22");function d(t){var e,i=t.get("type"),a=t.getModel(i+"Style");return"line"===i?(e=a.getLineStyle(),e.fill=null):"shadow"===i&&(e=a.getAreaStyle(),e.stroke=null),e}function u(t,e,i,a,n){var s=i.get("value"),c=h(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),l=i.getModel("label"),d=o.normalizeCssArray(l.get("padding")||0),u=l.getFont(),p=r.getBoundingRect(c,u),m=n.position,v=p.width+d[1]+d[3],g=p.height+d[0]+d[2],b=n.align;"right"===b&&(m[0]-=v),"center"===b&&(m[0]-=v/2);var _=n.verticalAlign;"bottom"===_&&(m[1]-=g),"middle"===_&&(m[1]-=g/2),f(m,v,g,a);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:g,r:l.get("borderRadius")},position:m.slice(),style:{text:c,textFont:u,textFill:l.getTextColor(),textPosition:"inside",textPadding:d,fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function f(t,e,i,a){var n=a.getWidth(),r=a.getHeight();t[0]=Math.min(t[0]+e,n)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function h(t,e,i,n,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var l={value:c.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};a.each(n,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),a=t.dataIndexInside,n=e&&e.getDataParams(a);n&&l.seriesData.push(n)})),a.isString(s)?o=s.replace("{value}",o):a.isFunction(s)&&(o=s(l))}return o}function p(t,e,i){var a=s.create();return s.rotate(a,a,i.rotation),s.translate(a,a,i.position),n.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],a)}function m(t,e,i,a,n,r){var o=l.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=n.get("label.margin"),u(e,a,n,r,{position:p(a.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function v(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function g(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function b(t,e,i,a,n,r){return{cx:t,cy:e,r0:i,r:a,startAngle:n,endAngle:r,clockwise:!0}}e.buildElStyle=d,e.buildLabelElOption=u,e.getValueLabel=h,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=m,e.makeLineShape=v,e.makeRectShape=g,e.makeSectorShape=b},ff77:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.post$=void 0;var r=i("c6b3"),o="biz.ding.post";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.post$=a,e.default=a},ff9d:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startAuth$=void 0;var r=i("c6b3"),o="biz.edu.startAuth";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.20"},n[r.ENV_ENUM.android]={vs:"6.3.20"},n)),e.startAuth$=a,e.default=a}}]); \ No newline at end of file diff --git a/js/chunk-423c43a8.4daa4c85.js b/js/chunk-4cc38fae.592115fd.js similarity index 51% rename from js/chunk-423c43a8.4daa4c85.js rename to js/chunk-4cc38fae.592115fd.js index 2bfa6f1..b6f24da 100644 --- a/js/chunk-423c43a8.4daa4c85.js +++ b/js/chunk-4cc38fae.592115fd.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-423c43a8"],{"009f":function(t,e,s){"use strict";s("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"task-detail",attrs:{id:"task-detail"}},[e("a-spin",{staticClass:"task-detail-spin",attrs:{spinning:t.loading}},[e("div",{staticClass:"task-header",class:{disabled:t.task.deleted}},[t.task.deleted?e("span",{staticClass:"head-title muted"},[e("a-icon",{attrs:{type:"delete"}}),t._v(" \n "),e("span",[t._v("任务已在回收站中,不可修改")])],1):e("span",{staticClass:"head-title"},[t.task.parentTask?e("span",[e("span",{staticClass:"muted"},[t._v("属于任务:")]),e("a-breadcrumb",{staticClass:"breadcrumb text-default",attrs:{separator:">"}},t._l(t.task.parentTasks,(function(s){return e("a-breadcrumb-item",{key:s.code},[e("a",{staticClass:"text-default",on:{click:function(e){return t.init(s.code)}}},[t._v(t._s(s.name))])])})),1)],1):e("span",[t._v(t._s(t.task.projectName)+" · "+t._s(t.task.stageName))])]),e("span",{staticClass:"header-action text-right"},[t.task.deleted?[e("a",{staticClass:"action-item muted",on:{click:t.recoveryTask}},[e("a-icon",{attrs:{type:"undo"}}),e("span",[t._v("恢复内容")])],1),e("a",{staticClass:"action-item muted",on:{click:t.deleteTask}},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("彻底删除")])],1)]:[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("复制任务链接")])]),e("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:t.taskLink,expression:"taskLink"}],staticClass:"action-item muted",on:{success:t.copyLink}},[e("a-icon",{attrs:{type:"link"}})],1)],2)],e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("关闭面板")])]),e("a",{staticClass:"action-item muted",on:{click:t.detailClose}},[e("a-icon",{attrs:{type:"close"}})],1)],2)],2)]),e("div",{staticClass:"task-wrap"},[e("div",{staticClass:"task-content"},[e("div",{staticClass:"content-left"},[e("vue-scroll",{attrs:{ops:t.scrollOps}},[e("div",{staticClass:"task-title",class:{disabled:t.task.deleted},style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:t.showEditName,expression:"showEditName"}],ref:"inputTitle",attrs:{size:"large"},on:{blur:t.doName},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),t.task.deleted?e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text"},[t._v("\n "+t._s(t.task.name)+"\n ")]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击即可编辑")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text",on:{click:t.editTitle}},[t._v("\n "+t._s(t.task.name)+"\n ")])],2)],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list",class:{disabled:t.task.deleted}},[e("div",{staticClass:"component-mount pink-bg",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"file-text"}}),e("span",{staticClass:"field-name"},[t._v("工作内容")])],1),e("div",{staticClass:"field-right width-block"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showTaskDescriptionEdit,expression:"!showTaskDescriptionEdit"}],class:{"task-description":t.userInfo.code==t.task.create_by},on:{click:t.showTaskDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.task.description,expression:"task.description"}],staticClass:"description-txt img-preview-content",domProps:{innerHTML:t._s(t.task.description)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.description,expression:"!task.description"}]},[t._v("添加工作内容")])]),t.hasMoreDesc?e("div",{staticClass:"m-t-sm"},[e("a",{directives:[{name:"show",rawName:"v-show",value:!t.showMoreDesc,expression:"!showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!0)}}},[t._v("显示更多")]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showMoreDesc,expression:"showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!1)}}},[t._v("收起工作内容")])]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showTaskDescriptionEdit,expression:"showTaskDescriptionEdit"}]},[e("editor",{ref:"vueWangeditor",attrs:{id:"editor",uploadImgServer:t.editorConfig.uploadImgServer,uploadImgHeaders:t.editorConfig.uploadImgHeaders,menus:t.editorConfig.menus}}),e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.showTaskDescriptionEdit=!1,t.initContent(!1)}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"},on:{click:t.doContent}},[t._v("保存\n ")])],1)],1)])])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"calendar"}}),e("span",{staticClass:"field-name"},[t._v("完成期限")])],1),e("div",{staticClass:"field-right field-date"},[t.task.openBeginTime?[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showBeginTime,callback:function(e){t.showBeginTime=e},expression:"showBeginTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format))]:[t._v("设置开始完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置开始完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format)+"\n ")]:[t._v("设置开始完成期限\n ")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showBeginTime},on:{ok:function(e){return t.doBeginTime(!0)}},model:{value:t.task.begin_time,callback:function(e){t.$set(t.task,"begin_time",e)},expression:"task.begin_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doBeginTime(!1)}}},[t._v("清除")])])],2)],1)],1),e("span",{staticClass:"m-l-sm m-r-sm"},[t._v("-")])]:t._e(),e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showEndTime,callback:function(e){t.showEndTime=e},expression:"showEndTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置截止完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showEndTime},on:{ok:function(e){return t.doEndTime(!0)}},model:{value:t.task.end_time,callback:function(e){t.$set(t.task,"end_time",e)},expression:"task.end_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doEndTime(!1)}}},[t._v("清除")])])],2)],1)],1)],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"check-square"}}),e("span",{staticClass:"field-name"},[t._v("完成状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{class:{disabled:t.task.hasUnDone},attrs:{trigger:["click"],disabled:!!t.task.deleted||!!t.task.hasUnDone}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[t.task.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("span",[t.task.done?e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]):t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}]},[t._v("未完成")])],1)],2),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:function(e){return t.taskDone(t.task.code,!t.task.done)}},slot:"overlay"},[e("a-menu-item",{key:"done"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.done,expression:"task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"undone"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"grey"}},[t._v("未完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"deployment-unit"}}),e("span",{staticClass:"field-name"},[t._v("执行状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[t._v(t._s(t.task.statusText))]),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.taskStatusChange},slot:"overlay"},t._l(t.taskStatusList,(function(s,a){return e("a-menu-item",{key:s.id},[e("div",{staticClass:"menu-item-content"},[e("span",{attrs:{color:"green"}},[t._v(t._s(s.name))]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.status==s.id,expression:"task.status == status.id"}],staticClass:"check muted",attrs:{type:"check"}})],1)])})),1)],1)],1)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.task.liasion_info&&t.userInfo.code==t.task.liasion_info.code?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("执行者")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted,placement:"bottomCenter"},model:{value:t.visibleTaskMemberMenu,callback:function(e){t.visibleTaskMemberMenu=e},expression:"visibleTaskMemberMenu"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置执行者")])]),e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.visibleTaskMemberMenu?e("task-member-menu",{attrs:{projectCode:t.projectCodeCurrent,taskCode:t.code},on:{close:function(e){return t.init(!1)},inviteProjectMember:function(e){t.showInviteMember=!0,t.visibleTaskMemberMenu=!1}}}):t._e()],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("抄送人")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap","pointer-events":"none"}},[t._l(t.task.copied_info,(function(s){return e("div",{key:s.code,on:{click:function(e){return t.spliceCopied(t.index)}}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(s.name))])],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"apartment"}}),e("span",{staticClass:"field-name"},[t._v("处理部门")])],1),e("div",{staticClass:"field-right"},[t.task.liasion_info?e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s(t.task.department_info.name)+" ")]),e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s("/")+" ")]),e("a-avatar",{attrs:{src:t.task.liasion_info.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.liasion_info.name))])],1):t._e()])])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"gateway"}}),e("span",{staticClass:"field-name"},[t._v("工作流转")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap"}},[t._l(t.task.exchange_info,(function(s,a){return e("div",{key:a,staticStyle:{"pointer-events":"none"}},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:s.show,callback:function(e){t.$set(s,"show",e)},expression:"exc.show"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("更换人员")])]),e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(s.name))]),a!=t.task.exchange_info.length-1?e("a-icon",{staticStyle:{"margin-right":"10px"},attrs:{type:"double-right"}}):t._e()],1)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[s.show?e("task-member-menu",{attrs:{taskCode:t.code,projectCode:t.projectCodeCurrent,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,s.show=!1},close:t.changeExchangeShow}}):t._e()],1)],1)],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"bulb"}}),e("span",{staticClass:"field-name"},[t._v("优先级")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[e("a-tag",{attrs:{color:t.priColor(t.task.pri)}},[t._v(t._s(t.task.priText))])],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.doPri},slot:"overlay"},[e("a-menu-item",{key:0},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(0)}},[t._v("普通")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==t.task.pri,expression:"task.pri == 0"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:1},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(1)}},[t._v("紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==t.task.pri,expression:"task.pri == 1"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:2},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(2)}},[t._v("非常紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==t.task.pri,expression:"task.pri == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"paper-clip"}}),e("span",{staticClass:"field-name"},[t._v("关联文件")])],1),e("div",{staticClass:"field-right width-block"})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.userInfo.code==t.task.create_by||t.userInfo.code==t.task.assign_to&&2==t.task.status,expression:"userInfo.code==task.create_by||(userInfo.code==task.assign_to&&task.status==2)"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"task-child"},[e("a",{staticClass:"add-handler",attrs:{id:"d-upload-file"}},[e("a-icon",{staticStyle:{"margin-right":"6px"},attrs:{type:"plus"}}),t._v("\n 上传文件\n ")],1)])])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskSourceList.length>0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(s,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:s.sourceDetail.file_url},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:s.sourceDetail.file_url}},[t._v(t._s(s.title))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(s.sourceDetail.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{directives:[{name:"clipboard",rawName:"v-clipboard",value:s.sourceDetail.file_url,expression:"item.sourceDetail.file_url"}],staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:function(e){return t.doSource(e,s)}},slot:"overlay"},[e("a-menu-item",{key:"copy"},[e("a-icon",{attrs:{type:"link"}}),e("span",[t._v("复制链接")])],1),e("a-menu-item",{key:"unlink"},[e("a-icon",{attrs:{type:"disconnect"}}),e("span",[t._v("取消关联")])],1)],1)],1)],1)],1)})),1)],1)])])])])])])],1),e("div",{staticClass:"content-right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v("\n 参与者 · "+t._s(t.taskMemberList.length)+"\n ")]),e("div",{staticClass:"member-list"},t._l(t.taskMemberList,(function(s){return e("a-tooltip",{key:s.code,attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.name)+" "),s.is_owner?e("span",[t._v(" · 创建者")]):t._e()])]),e("a-avatar",{staticClass:"member-item",attrs:{icon:"user",size:"small",src:s.avatar},on:{click:function(e){return t.routerLink("/members/profile/"+s.membar_account_code+"?key=3")}}})],2)})),1)]),e("div",{staticClass:"log-wrap"},[e("div",{staticClass:"header"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"text-default"},[t._v("\n 所有动态\n "),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},slot:"overlay",model:{value:t.taskLogType,callback:function(e){t.taskLogType=e},expression:"taskLogType"}},[e("a-menu-item",{key:"all"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("所有动态")])])]),e("a-menu-item",{key:"comment"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅审核")])])]),e("a-menu-item",{key:"log"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅动态")])])])],1)],1)],1),e("vue-scroll",[e("div",{staticClass:"log-list muted"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.checkShowMoreLog,expression:"checkShowMoreLog"}],staticClass:"show-more muted",on:{click:t.getMoreTaskLog}},[e("a-icon",{attrs:{type:"ellipsis"}}),t._v("\n 显示较早的 "+t._s(t.taskLogTotal-t.taskLogList.length)+" 条数据\n ")],1),t._l(t.taskLogList,(function(s){return e("div",{key:s.code,class:{"log-comment":s.is_comment,"list-item":!s.is_comment,"log-pass":"pass"==s.type,"log-reject":"reject"==s.type,"log-add":"add"==s.type}},[s.is_comment?t._e():[e("a-icon",{staticClass:"log-item",attrs:{type:s.icon}}),e("div",{staticClass:"log-item log-txt"},[e("div",[t._v(t._s(s.member.name)+" "),e("span",{domProps:{innerHTML:t._s(s.remark)}})]),s.content?e("div",{staticClass:"log-content img-preview-content",domProps:{innerHTML:t._s(s.content)}}):t._e()])],s.is_comment?e("div",[e("div",{staticClass:"log-txt text-default",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,src:s.member.avatar}}),e("div",[t._v(t._s(s.member.name))]),"add"==s.type?e("div",{staticClass:"log-add-tips"},[t._v("提交")]):t._e(),"pass"==s.type?e("div",{staticClass:"log-pass-tips"},[t._v("通过")]):t._e(),"reject"==s.type?e("div",{staticClass:"log-reject-tips"},[t._v("驳回")]):t._e()],1),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.create_time))])]),e("span",{staticClass:"muted"},[t._v(t._s(t._f("formatLogTime")(s.create_time)))])],2)],1),e("div",{staticClass:"log-txt text-default",staticStyle:{padding:"0 0 0 30px"}},[e("div",{staticClass:"m-t-xs",domProps:{innerHTML:t._s(t.checkLink(s.content))}})])]):t._e(),s.is_comment?t._e():e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.create_time))])]),e("span",[t._v(t._s(t._f("formatLogTime")(s.create_time)))])],2)],2)}))],2)])],1),e("div",{staticClass:"footer",attrs:{id:"footer"}},[t.userInfo.code==t.task.create_by&&4==t.task.status||t.userInfo.code==t.task.assign_to&&2==t.task.status?e("a-popover",{attrs:{trigger:"click",placement:"top",visible:t.showMentions,arrowPointAtCenter:"",getPopupContainer:t.getPopup}},[e("template",{slot:"content"},[e("div",{staticClass:"mentions-content",staticStyle:{width:"200px"}},t._l(t.taskMemberList,(function(s){return e("div",{key:s.id,staticClass:"mentions-wrapper",on:{click:function(e){return t.selectMentionMember(s)}}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:28}}),e("span",{staticClass:"muted name m-l-xs"},[t._v(t._s(s.name))])],1)})),0)]),e("a-textarea",{ref:"commentText",staticStyle:{"margin-right":"15px"},attrs:{rows:1,placeholder:"@提及任务成员,Ctrl+Enter发送"},on:{focus:function(e){t.commenting=!0},blur:function(e){t.commenting=!1}},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],2):t._e(),t.userInfo.code==t.task.create_by&&4==t.task.status?[e("a-button",{staticClass:"middle-btn",attrs:{type:"danger"},on:{click:function(e){return t.createComment(2)}}},[t._v("驳回")]),e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-left":"15px"},attrs:{type:"primary"},on:{click:function(e){return t.createComment(1)}}},[t._v("通过")])]:t._e(),t.userInfo.code==t.task.assign_to&&2==t.task.status?[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:function(e){return t.createComment(3)}}},[t._v("提交")])]:t._e()],2)])])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCodeCurrent},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},i=[],n=(s("8e6e"),s("456d"),s("a481"),s("4917"),s("ac6a"),s("7514"),s("6b54"),s("20d6"),s("ade3")),o=(s("c5f6"),s("2f62")),r=s("1157"),c=s.n(r),l=s("c1df"),d=s.n(l),m=s("f93e"),u=s("a897"),k=s("b199"),h=s("8870"),f=s("d8bc"),v=s("f66c"),p=s("4540"),g=s("e8d3"),_=s("d3a1"),w=s("68fe"),b=s("2f14"),C=s("97a8"),T=s("81fe"),y=s("261e"),x=s("7dc6");function M(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function j(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.taskCode==this.code&&this.init(null,!1)}},uploader:{handler:function(t,e){var s=this;console.log(t),console.log(t.fileList);var a=t.fileList,i=a.findIndex((function(t){return t.projectName==s.task.projectName}));-1!==i&&(this.taskSources(),this.getTaskLog())},deep:!0}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(s){var a=s||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(1),("@"==a.key||"Digit2"==a.code&&"Process"==a.key&&a.shiftKey)&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("d-upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(T["c"])(t)}},methods:{getDepartment:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this;getDepartment().then((function(e){t.departmentList=e.data.list}))})),departmentDropClick:function(t){var e=this,s=this.departmentList.find((function(e){return e.code==t.key}));this.department=s,getliasonMan({searchType:4,type:1,departmentCode:s.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(C["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_info.find((function(e){return e.code==t.code}));e?Object(C["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_info.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_info.splice(t,1)},changeExchange:function(t){this.task.exchange_info.push(j({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,s=this.task.exchange_info.findIndex((function(t){return 1==t.show}));if(-1!=s){this.task.exchange_info[s].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchange_info));t?a[s]=j({f_key:(new Date).getTime(),show:!1},t):a.splice(s,1),this.$nextTick((function(){e.task.exchange_info=a}))}},init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.code=t),e&&(this.loading=!0),this.clearMemberMenu(),this.getTask(),this.getChildTasks(),this.getTaskMembers(),this.getTaskWorkTimeList()},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskMemberMenu=!1,this.visibleProjectMemberMenu=!1},getTask:function(){var t=this;this.$store.commit("viewRefresh"),this.clearMemberMenu(),Object(k["o"])(this.code).then((function(e){try{t.getTaskLog(),t.taskSources(),t.taskName=e.data.name,t.task=e.data,t.projectCodeCurrent=e.data.project_code,t.task.end_time?(t.task.setEndTime=!0,t.task.end_time=d()(t.task.end_time)):(t.task.setEndTime=!1,t.task.end_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.end_time_format=Object(T["b"])(t.task.end_time,!0),t.task.begin_time?(t.task.setBeginTime=!0,t.task.begin_time=d()(t.task.begin_time)):(t.task.setBeginTime=!1,t.task.begin_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.begin_time_format=Object(T["b"])(t.task.begin_time,!0),t.initContent(t.task.description),t.task.executor&&!t.childExecutor&&(t.childExecutor=t.task.executor),t.loading=!1,t.$store.dispatch("setTempData",{projectCode:t.projectCodeCurrent,taskCode:t.code,projectName:e.data.projectName})}catch(s){console.error(s)}}))},getTaskLog:function(){var t=this;Object(k["n"])({taskCode:this.code,all:this.showMoreTaskLog,pageSize:5,comment:"comment"==this.taskLogType[0]?1:0}).then((function(e){t.taskLogList=e.data.list,t.taskLogTotal=e.data.total,e.data.total>5&&(t.hasMoreTaskLog=!0),t.$nextTick((function(){c()(".img-preview-content").find("img").click((function(t){window.open(c()(t.target).attr("src"))}))}))}))},taskSources:function(){var t=this;Object(k["A"])({taskCode:this.code}).then((function(e){t.taskSourceList=e.data}))},getMoreTaskLog:function(){this.showMoreTaskLog=1,this.hideShowMore=!0,this.getTaskLog()},getTaskWorkTimeList:function(){var t=this;Object(k["a"])({taskCode:this.code}).then((function(e){t.workTimeList=e.data;var s=0;e.data&&(e.data.forEach((function(t){s+=Number(t.num)})),t.workTimeTotal=s)}))},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(f["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doTask:function(t){var e=this,s=this,a=t.key;switch(a){case"recycle":this.$confirm({title:"移到回收站",content:"您确定要把该任务移到回收站吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["q"])(s.code).then((function(t){var e=Object(b["a"])(t);if(!e)return!1;s.task.deleted=1,s.getTaskLog()})),Promise.resolve()}});break;case"star":return this.task.stared?this.task.stared=0:this.task.stared=1,Object(k["y"])(s.code,this.task.stared),!0;case"open":var i=window.location.href;-1!==i.indexOf("?")?i+="&full-screen":i+="?full-screen",window.open(i);break;case"private":return Object(k["v"])(s.code,Number(!this.task.private)).then((function(t){var s=Object(b["a"])(t);if(!s)return!1;e.task.private=Number(!e.task.private)})),!0}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},doSource:function(t,e){var s=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["a"])(e.code).then((function(t){var e=Object(b["a"])(t);if(!e)return!1;s.taskSources(),s.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(C["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该任务吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(k["p"])(t.code).then((function(e){var s=Object(b["a"])(e);if(!s)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(C["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开任务页面"},"notice","success",5)},like:function(t){t=Number(t),Object(k["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},taskDone:function(t,e,s){var a=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"self";e=e?1:0,Object(k["z"])(t,e).then((function(t){var n=Object(b["a"])(t);if(!n)return!1;a.getTaskLog(),"self"==i?a.task.done=e:a.childTaskList[s].done=e,a.getTask(),a.getChildTasks()}))},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var s="";t?(s=d()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=d()(this.task.begin_time).format("MM月DD日 HH:mm")):s="",this.editTask({begin_time:s})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var s="";t?(s=d()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=d()(this.task.end_time).format("MM月DD日 HH:mm")):s="",this.editTask({end_time:s})},doPri:function(t){this.editTask({pri:t.key})},doName:function(){if(this.showEditName=!1,!this.task.name.trim()||this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},taskStatusChange:function(t){this.task.status=t.key,this.editTask({status:t.key})},editTask:function(t){var e=this;t.taskCode=this.code,Object(k["h"])(t).then((function(t){var s=Object(b["a"])(t);if(!s)return!1;e.getTask()}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description)},initContent:function(t){var e=this;try{t?this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))}catch(s){}},doContent:function(){var t=this,e=this.$refs.vueWangeditor.getHtml(),s={taskCode:this.code,description:e};Object(k["h"])(s).then((function(){t.task.description=e,t.showTaskDescriptionEdit=!1,t.$nextTick((function(){t.checkShowMoreDesc(!1,!0)})),t.getTaskLog()}))},createComment:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s=this.comment.trim();if(!s)return!1;s+=" ";var a=/(@[^@]+) /g,i=s.match(a);i&&i.forEach((function(e){var s=e.substring(1,e.length-1);-1===t.mentionsList.findIndex((function(t){return t==s}))&&t.mentionsList.push(s)})),Object(k["d"])(this.code,this.comment,JSON.stringify(this.mentionsList),e).then((function(){t.comment="",t.mentionsList=[],t.getTaskLog()}))},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=c()(".description-txt");if(e||(t?(this.showMoreDesc=!0,s.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,s.css("max-height",(function(){return"300px"})))),e){var a=s.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},createTask:function(){var t=this,e={pcode:this.code,name:this.childTaskName};this.childExecutor&&(e.assign_to=this.childExecutor.code),Object(k["s"])(e).then((function(e){var s=Object(b["a"])(e);if(!s)return!1;t.childTaskName="",t.getChildTasks(),t.getTaskLog()}))},getChildTasks:function(){var t=this;Object(k["m"])({pcode:this.code,pageSize:100,deleted:0}).then((function(e){var s=[];e.data.list.forEach((function(t){t.visibleChildTaskMemberMenu=!1,s.push(t)})),t.childTaskList=s}))},taskTagChange:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e?this.task.tags.splice(e,1):this.task.tags.push({tag_code:t.code,tag:t})},taskTagUpdate:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&(this.task.tags[e].tag=t)},taskTagDelete:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&this.task.tags.splice(e,1)},removeTag:function(t,e){var s=this;Object(k["w"])({taskCode:this.task.code,tagCode:t.code}).then((function(){s.task.tags.splice(e,1)}))},doPlainWorkTime:function(){var t=this;this.plainWorkTime.modalStatus=!0,this.$nextTick((function(){t.plainWorkTime.form.setFieldsValue({work_time:t.task.work_time})}))},doWorkTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;this.workTimeDo.modalStatus=!0,t?(this.workTimeDo.info=t,this.$nextTick((function(){e.workTimeDo.form.setFieldsValue({num:t.num,begin_time:d()(t.begin_time),content:t.content})}))):(this.workTimeDo.form.resetFields(),this.workTimeDo.info=null)},deleteWorkTime:function(t,e){var s=this;this.$confirm({title:"删除工时记录",content:"确定要删除工时记录吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["g"])({code:t.code}).then((function(a){Object(b["a"])(a)&&(s.workTimeList.splice(e,1),s.workTimeTotal-=t.num)})),Promise.resolve()}})},workTimePlainHandleSubmit:function(){var t=this;this.plainWorkTime.form.validateFields((function(e,s){e||(t.editTask({work_time:s.work_time}),t.plainWorkTime.modalStatus=!1)}))},workTimeHandleSubmit:function(){var t=this;this.workTimeDo.form.validateFields((function(e,s){if(!e){t.workTimeDo.confirmLoading=!0;var a={beginTime:s.begin_time.format("YYYY-MM-DD HH:mm"),num:s.num,content:s.content,taskCode:t.code};t.workTimeDo.info?(a.code=t.workTimeDo.info.code,Object(k["i"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(b["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))):Object(k["t"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(b["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))}}))},checkLink:function(t){var e=/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|&|-)+)/g;return e.exec(t)?(t=t.replace(e,"$1$2"),t):t},updateChildExecutor:function(t){this.visibleChildTaskMemberMenu=!1,this.childExecutor=t},getPopup:function(){return document.getElementById("footer")},getTaskMemberPopup:function(){return document.getElementById("task-detail")},departmentMemberDetail:function(t){var e=this;Object(x["a"])({code:t,organization:this.$store.state.currentOrganization.code}).then((function(t){e.departmentMemberInfo=t.data}))},selectMentionMember:function(t){var e=this;this.showMentions=!1,this.comment+=t.name+" ",this.$nextTick((function(){e.$refs.commentText.focus()}))},changeModalHeight:function(){var t=this.width,e=c()(window).width()-100,s=c()(window).height()-150,a=c()(window).height()-315;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(c()(".task-detail-modal").css("width",c()(window).width()),c()(".task-detail").css("width",c()(window).width()),c()(".ant-modal").css("top",0),s+=85,a+=85,c()(".content-left").css("height",s+"px"),c()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),c()(".task-detail").css("width",e),c()(".content-left").css("height",s+"px"),c()(".log-wrap").css("height",a+"px"))}}},N=E,I=(s("1463"),s("2877")),$=Object(I["a"])(N,a,i,!1,null,null,null);e["a"]=$.exports},1463:function(t,e,s){"use strict";s("af8a")},4917:function(t,e,s){"use strict";var a=s("cb7c"),i=s("9def"),n=s("0390"),o=s("5f1b");s("214f")("match",1,(function(t,e,s,r){return[function(s){var a=t(this),i=void 0==s?void 0:s[e];return void 0!==i?i.call(s,a):new RegExp(s)[e](String(a))},function(t){var e=r(s,t,this);if(e.done)return e.value;var c=a(t),l=String(this);if(!c.global)return o(c,l);var d=c.unicode;c.lastIndex=0;var m,u=[],k=0;while(null!==(m=o(c,l))){var h=String(m[0]);u[k]=h,""===h&&(c.lastIndex=n(l,i(c.lastIndex),d)),k++}return 0===k?null:u}]}))},"662f":function(t,e,s){"use strict";s("a1f3")},"7dc6":function(t,e,s){"use strict";s.d(e,"d",(function(){return i})),s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return o})),s.d(e,"a",(function(){return r}));var a=s("22b6");s("2f14");function i(t,e){return a["a"].post("project/department_member/searchInviteMember",{keyword:t,departmentCode:e})}function n(t,e){return a["a"].post("project/department_member/inviteMember",{accountCode:t,departmentCode:e})}function o(t,e){return a["a"].post("project/department_member/removeMember",{accountCode:t,departmentCode:e})}function r(t){return a["a"].post("project/department_member/detail",t)}},a1f3:function(t,e,s){},af8a:function(t,e,s){},d0e1:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,visible:"",title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.code},on:{close:t.detailClose}})],1)},i=[],n=s("009f"),o={name:"task-detail-modal",components:{taskDetail:n["a"]},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},detailClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},r=o,c=(s("662f"),s("2877")),l=Object(c["a"])(r,a,i,!1,null,null,null);e["default"]=l.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4cc38fae"],{"009f":function(t,e,s){"use strict";s("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"task-detail",attrs:{id:"task-detail"}},[e("a-spin",{staticClass:"task-detail-spin",attrs:{spinning:t.loading}},[e("div",{staticClass:"task-header",class:{disabled:t.task.deleted}},[t.task.deleted?e("span",{staticClass:"head-title muted"},[e("a-icon",{attrs:{type:"delete"}}),t._v(" \n "),e("span",[t._v("任务已在回收站中,不可修改")])],1):e("span",{staticClass:"head-title"},[t.task.parentTask?e("span",[e("span",{staticClass:"muted"},[t._v("属于任务:")]),e("a-breadcrumb",{staticClass:"breadcrumb text-default",attrs:{separator:">"}},t._l(t.task.parentTasks,(function(s){return e("a-breadcrumb-item",{key:s.code},[e("a",{staticClass:"text-default",on:{click:function(e){return t.init(s.code)}}},[t._v(t._s(s.name))])])})),1)],1):e("span",[t._v(t._s(t.task.projectName)+" · "+t._s(t.task.stageName))])]),e("span",{staticClass:"header-action text-right"},[t.task.deleted?[e("a",{staticClass:"action-item muted",on:{click:t.recoveryTask}},[e("a-icon",{attrs:{type:"undo"}}),e("span",[t._v("恢复内容")])],1),e("a",{staticClass:"action-item muted",on:{click:t.deleteTask}},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("彻底删除")])],1)]:[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("复制任务链接")])]),e("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:t.taskLink,expression:"taskLink"}],staticClass:"action-item muted",on:{success:t.copyLink}},[e("a-icon",{attrs:{type:"link"}})],1)],2)],e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("关闭面板")])]),e("a",{staticClass:"action-item muted",on:{click:t.detailClose}},[e("a-icon",{attrs:{type:"close"}})],1)],2)],2)]),e("div",{staticClass:"task-wrap"},[e("div",{staticClass:"task-content"},[e("div",{staticClass:"content-left"},[e("vue-scroll",{attrs:{ops:t.scrollOps}},[e("div",{staticClass:"task-title",class:{disabled:t.task.deleted},style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:t.showEditName,expression:"showEditName"}],ref:"inputTitle",attrs:{size:"large"},on:{blur:t.doName},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}}),t.task.deleted?e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text"},[t._v("\n "+t._s(t.task.name)+"\n ")]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击即可编辑")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text",on:{click:t.editTitle}},[t._v("\n "+t._s(t.task.name)+"\n ")])],2)],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list",class:{disabled:t.task.deleted}},[e("div",{staticClass:"component-mount pink-bg",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"file-text"}}),e("span",{staticClass:"field-name"},[t._v("工作内容")])],1),e("div",{staticClass:"field-right width-block"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showTaskDescriptionEdit,expression:"!showTaskDescriptionEdit"}],class:{"task-description":t.userInfo.code==t.task.create_by},on:{click:t.showTaskDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.task.description,expression:"task.description"}],staticClass:"description-txt img-preview-content",domProps:{innerHTML:t._s(t.task.description)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.description,expression:"!task.description"}]},[t._v("添加工作内容")])]),t.hasMoreDesc?e("div",{staticClass:"m-t-sm"},[e("a",{directives:[{name:"show",rawName:"v-show",value:!t.showMoreDesc,expression:"!showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!0)}}},[t._v("显示更多")]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showMoreDesc,expression:"showMoreDesc"}],on:{click:function(e){return t.checkShowMoreDesc(!1)}}},[t._v("收起工作内容")])]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showTaskDescriptionEdit,expression:"showTaskDescriptionEdit"}]},[e("editor",{ref:"vueWangeditor",attrs:{id:"editor",uploadImgServer:t.editorConfig.uploadImgServer,uploadImgHeaders:t.editorConfig.uploadImgHeaders,menus:t.editorConfig.menus}}),e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.showTaskDescriptionEdit=!1,t.initContent(!1)}}},[t._v("\n 取消\n ")]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit"},on:{click:t.doContent}},[t._v("保存\n ")])],1)],1)])])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"calendar"}}),e("span",{staticClass:"field-name"},[t._v("完成期限")])],1),e("div",{staticClass:"field-right field-date"},[t.task.openBeginTime?[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showBeginTime,callback:function(e){t.showBeginTime=e},expression:"showBeginTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format))]:[t._v("设置开始完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置开始完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setBeginTime?[t._v(t._s(t.task.begin_time_format)+"\n ")]:[t._v("设置开始完成期限\n ")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showBeginTime},on:{ok:function(e){return t.doBeginTime(!0)}},model:{value:t.task.begin_time,callback:function(e){t.$set(t.task,"begin_time",e)},expression:"task.begin_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doBeginTime(!1)}}},[t._v("清除")])])],2)],1)],1),e("span",{staticClass:"m-l-sm m-r-sm"},[t._v("-")])]:t._e(),e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted},model:{value:t.showEndTime,callback:function(e){t.showEndTime=e},expression:"showEndTime"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)]):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置截止完成期限")])]),e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.task.setEndTime?[t._v(t._s(t.task.end_time_format))]:[t._v("设置截止完成期限")]],2)])],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-date-picker",{attrs:{size:"small",format:"MM月DD日 HH:mm",showTime:"",allowClear:"",showToday:!1,open:t.showEndTime},on:{ok:function(e){return t.doEndTime(!0)}},model:{value:t.task.end_time,callback:function(e){t.$set(t.task,"end_time",e)},expression:"task.end_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doEndTime(!1)}}},[t._v("清除")])])],2)],1)],1)],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"check-square"}}),e("span",{staticClass:"field-name"},[t._v("完成状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{class:{disabled:t.task.hasUnDone},attrs:{trigger:["click"],disabled:!!t.task.deleted||!!t.task.hasUnDone}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[t.task.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]),e("span",[t.task.done?e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]):t._e(),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}]},[t._v("未完成")])],1)],2),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:function(e){return t.taskDone(t.task.code,!t.task.done)}},slot:"overlay"},[e("a-menu-item",{key:"done"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.done,expression:"task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"undone"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"grey"}},[t._v("未完成")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.task.done,expression:"!task.done"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"deployment-unit"}}),e("span",{staticClass:"field-name"},[t._v("执行状态")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[t._v(t._s(t.task.statusText))]),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.taskStatusChange},slot:"overlay"},t._l(t.taskStatusList,(function(s,a){return e("a-menu-item",{key:s.id},[e("div",{staticClass:"menu-item-content"},[e("span",{attrs:{color:"green"}},[t._v(t._s(s.name))]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.task.status==s.id,expression:"task.status == status.id"}],staticClass:"check muted",attrs:{type:"check"}})],1)])})),1)],1)],1)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.task.liasion_info&&t.userInfo.code==t.task.liasion_info.code?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("执行者")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted,placement:"bottomCenter"},model:{value:t.visibleTaskMemberMenu,callback:function(e){t.visibleTaskMemberMenu=e},expression:"visibleTaskMemberMenu"}},[t.task.deleted?e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2):e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置执行者")])]),e("div",{staticClass:"field-flex"},[t.task.executor?[e("a-avatar",{attrs:{src:t.task.executor.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.executor.name))])]:t._e(),t.task.executor?t._e():[e("a-avatar",{attrs:{icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v("待认领")])]],2)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.visibleTaskMemberMenu?e("task-member-menu",{attrs:{projectCode:t.projectCodeCurrent,taskCode:t.code},on:{close:function(e){return t.init(!1)},inviteProjectMember:function(e){t.showInviteMember=!0,t.visibleTaskMemberMenu=!1}}}):t._e()],1)],1)],1)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"user"}}),e("span",{staticClass:"field-name"},[t._v("抄送人")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap","pointer-events":"none"}},[t._l(t.task.copied_info,(function(s){return e("div",{key:s.code,on:{click:function(e){return t.spliceCopied(t.index)}}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(s.name))])],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"apartment"}}),e("span",{staticClass:"field-name"},[t._v("处理部门")])],1),e("div",{staticClass:"field-right"},[t.task.liasion_info?e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s(t.task.department_info.name)+" ")]),e("span",{staticStyle:{"padding-right":"10px"}},[t._v(t._s("/")+" ")]),e("a-avatar",{attrs:{src:t.task.liasion_info.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(t.task.liasion_info.name))])],1):t._e()])])]),e("div",{staticClass:"component-mount",staticStyle:{"pointer-events":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"gateway"}}),e("span",{staticClass:"field-name"},[t._v("工作流转")])],1),e("div",{staticClass:"field-right field-flex",staticStyle:{"flex-wrap":"wrap"}},[t._l(t.task.exchange_info,(function(s,a){return e("div",{key:a,staticStyle:{"pointer-events":"none"}},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:s.show,callback:function(e){t.$set(s,"show",e)},expression:"exc.show"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("更换人员")])]),e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap","align-items":"center"}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(s.name))]),a!=t.task.exchange_info.length-1?e("a-icon",{staticStyle:{"margin-right":"10px"},attrs:{type:"double-right"}}):t._e()],1)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[s.show?e("task-member-menu",{attrs:{taskCode:t.code,projectCode:t.projectCodeCurrent,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,s.show=!1},close:t.changeExchangeShow}}):t._e()],1)],1)],1)})),t._e()],2)])]),e("div",{staticClass:"component-mount",style:{"pointer-events":t.userInfo.code==t.task.create_by?"all":"none"}},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"bulb"}}),e("span",{staticClass:"field-name"},[t._v("优先级")])],1),e("div",{staticClass:"field-right"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:!!t.task.deleted}},[e("span",[e("a-tag",{attrs:{color:t.priColor(t.task.pri)}},[t._v(t._s(t.task.priText))])],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.doPri},slot:"overlay"},[e("a-menu-item",{key:0},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(0)}},[t._v("普通")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==t.task.pri,expression:"task.pri == 0"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:1},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(1)}},[t._v("紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==t.task.pri,expression:"task.pri == 1"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:2},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:t.priColor(2)}},[t._v("非常紧急")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==t.task.pri,expression:"task.pri == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"paper-clip"}}),e("span",{staticClass:"field-name"},[t._v("关联文件")])],1),e("div",{staticClass:"field-right width-block"})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.userInfo.code==t.task.create_by||t.userInfo.code==t.task.assign_to&&2==t.task.status,expression:"userInfo.code==task.create_by||(userInfo.code==task.assign_to&&task.status==2)"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"task-child"},[e("a",{staticClass:"add-handler",attrs:{id:"d-upload-file"}},[e("a-icon",{staticStyle:{"margin-right":"6px"},attrs:{type:"plus"}}),t._v("\n 上传文件\n ")],1)])])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.taskSourceList.length>0,expression:"taskSourceList.length > 0"}],staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"file-list"},[e("div",{staticClass:"m-xs m-t-none"},[t._v("关联的文件")]),e("a-list",t._l(t.taskSourceList,(function(s,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",size:"small",shape:"square",icon:"link",src:s.sourceDetail.file_url},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:s.sourceDetail.file_url}},[t._v(t._s(s.title))])]),e("div",{attrs:{slot:"description"},slot:"description"})],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v(t._s(s.sourceDetail.projectName))])]),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{directives:[{name:"clipboard",rawName:"v-clipboard",value:s.sourceDetail.file_url,expression:"item.sourceDetail.file_url"}],staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:function(e){return t.doSource(e,s)}},slot:"overlay"},[e("a-menu-item",{key:"copy"},[e("a-icon",{attrs:{type:"link"}}),e("span",[t._v("复制链接")])],1),e("a-menu-item",{key:"unlink"},[e("a-icon",{attrs:{type:"disconnect"}}),e("span",[t._v("取消关联")])],1)],1)],1)],1)],1)})),1)],1)])])])])])])],1),e("div",{staticClass:"content-right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[t._v("\n 参与者 · "+t._s(t.taskMemberList.length)+"\n ")]),e("div",{staticClass:"member-list"},t._l(t.taskMemberList,(function(s){return e("a-tooltip",{key:s.code,attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.name)+" "),s.is_owner?e("span",[t._v(" · 创建者")]):t._e()])]),e("a-avatar",{staticClass:"member-item",attrs:{icon:"user",size:"small",src:s.avatar},on:{click:function(e){return t.routerLink("/members/profile/"+s.membar_account_code+"?key=3")}}})],2)})),1)]),e("div",{staticClass:"log-wrap"},[e("div",{staticClass:"header"},[e("a-dropdown",{attrs:{trigger:["click"]}},[e("a",{staticClass:"text-default"},[t._v("\n 所有动态\n "),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:""},slot:"overlay",model:{value:t.taskLogType,callback:function(e){t.taskLogType=e},expression:"taskLogType"}},[e("a-menu-item",{key:"all"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("所有动态")])])]),e("a-menu-item",{key:"comment"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅审核")])])]),e("a-menu-item",{key:"log"},[e("div",{staticClass:"menu-item-content"},[e("span",[t._v("仅动态")])])])],1)],1)],1),e("vue-scroll",[e("div",{staticClass:"log-list muted"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.checkShowMoreLog,expression:"checkShowMoreLog"}],staticClass:"show-more muted",on:{click:t.getMoreTaskLog}},[e("a-icon",{attrs:{type:"ellipsis"}}),t._v("\n 显示较早的 "+t._s(t.taskLogTotal-t.taskLogList.length)+" 条数据\n ")],1),t._l(t.taskLogList,(function(s){return e("div",{key:s.code,class:{"log-comment":s.is_comment,"list-item":!s.is_comment,"log-pass":"pass"==s.type,"log-reject":"reject"==s.type,"log-add":"add"==s.type}},[s.is_comment?t._e():[e("a-icon",{staticClass:"log-item",attrs:{type:s.icon}}),e("div",{staticClass:"log-item log-txt"},[e("div",[t._v(t._s(s.member.name)+" "),e("span",{domProps:{innerHTML:t._s(s.remark)}})]),s.content?e("div",{staticClass:"log-content img-preview-content",domProps:{innerHTML:t._s(s.content)}}):t._e()])],s.is_comment?e("div",[e("div",{staticClass:"log-txt text-default",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,src:s.member.avatar}}),e("div",[t._v(t._s(s.member.name))]),"add"==s.type?e("div",{staticClass:"log-add-tips"},[t._v("提交")]):t._e(),"pass"==s.type?e("div",{staticClass:"log-pass-tips"},[t._v("通过")]):t._e(),"reject"==s.type?e("div",{staticClass:"log-reject-tips"},[t._v("驳回")]):t._e()],1),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.create_time))])]),e("span",{staticClass:"muted"},[t._v(t._s(t._f("formatLogTime")(s.create_time)))])],2)],1),e("div",{staticClass:"log-txt text-default",staticStyle:{padding:"0 0 0 30px"}},[e("div",{staticClass:"m-t-xs",domProps:{innerHTML:t._s(t.checkLink(s.content))}})])]):t._e(),s.is_comment?t._e():e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(s.create_time))])]),e("span",[t._v(t._s(t._f("formatLogTime")(s.create_time)))])],2)],2)}))],2)])],1),e("div",{staticClass:"footer",attrs:{id:"footer"}},[!t.readonly&&t.userInfo.code==t.task.create_by&&4==t.task.status||t.userInfo.code==t.task.assign_to&&2==t.task.status?e("a-popover",{attrs:{trigger:"click",placement:"top",visible:t.showMentions,arrowPointAtCenter:"",getPopupContainer:t.getPopup}},[e("template",{slot:"content"},[e("div",{staticClass:"mentions-content",staticStyle:{width:"200px"}},t._l(t.taskMemberList,(function(s){return e("div",{key:s.id,staticClass:"mentions-wrapper",on:{click:function(e){return t.selectMentionMember(s)}}},[e("a-avatar",{attrs:{src:s.avatar,icon:"user",size:28}}),e("span",{staticClass:"muted name m-l-xs"},[t._v(t._s(s.name))])],1)})),0)]),e("a-textarea",{ref:"commentText",staticStyle:{"margin-right":"15px"},attrs:{rows:1,placeholder:"@提及任务成员,Ctrl+Enter发送"},on:{focus:function(e){t.commenting=!0},blur:function(e){t.commenting=!1}},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],2):t._e(),t.readonly||t.userInfo.code!=t.task.create_by||4!=t.task.status?t._e():[e("a-button",{staticClass:"middle-btn",attrs:{type:"danger"},on:{click:function(e){return t.createComment(2)}}},[t._v("驳回")]),e("a-button",{staticClass:"middle-btn",staticStyle:{"margin-left":"15px"},attrs:{type:"primary"},on:{click:function(e){return t.createComment(1)}}},[t._v("通过")])],t.readonly||t.userInfo.code!=t.task.assign_to||2!=t.task.status?t._e():[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary"},on:{click:function(e){return t.createComment(3)}}},[t._v("提交")])]],2)])])])]),t.showInviteMember?e("invite-project-member",{attrs:{"project-code":t.projectCodeCurrent},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},i=[],n=(s("8e6e"),s("456d"),s("a481"),s("4917"),s("ac6a"),s("7514"),s("6b54"),s("20d6"),s("ade3")),o=(s("c5f6"),s("2f62")),r=s("1157"),c=s.n(r),l=s("c1df"),d=s.n(l),m=s("f93e"),u=s("a897"),k=s("b199"),h=s("8870"),f=s("d8bc"),p=s("f66c"),v=s("4540"),g=s("e8d3"),_=s("d3a1"),b=s("68fe"),w=s("2f14"),C=s("97a8"),T=s("81fe"),y=s("261e"),x=s("7dc6");function M(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function j(t){for(var e=1;e5},taskLink:function(){return window.location.href},scrollOps:function(){return{rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0}}}}),watch:{$route:function(t,e){},showInviteMember:function(t){t||this.getTaskMembers()},taskLogType:function(){this.getTaskLog()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.taskCode==this.code&&this.init(null,!1)}},uploader:{handler:function(t,e){var s=this;console.log(t),console.log(t.fileList);var a=t.fileList,i=a.findIndex((function(t){return t.projectName==s.task.projectName}));-1!==i&&(this.taskSources(),this.getTaskLog())},deep:!0}},created:function(){this.init()},mounted:function(){var t=this,e=arguments;this.$nextTick((function(){t.changeModalHeight()})),window.onresize=function(){return function(){t.changeModalHeight()}()},document.onkeydown=function(s){var a=s||window.event||e.callee.caller.arguments[0];13==a.keyCode&&a.ctrlKey&&t.createComment(1),("@"==a.key||"Digit2"==a.code&&"Process"==a.key&&a.shiftKey)&&t.commenting?t.showMentions=!0:t.showMentions=!1},setTimeout((function(){t.uploader.assignBrowse(document.getElementById("d-upload-file"))}),500)},filters:{formatLogTime:function(t){return Object(T["c"])(t)}},methods:{getDepartment:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this;getDepartment().then((function(e){t.departmentList=e.data.list}))})),departmentDropClick:function(t){var e=this,s=this.departmentList.find((function(e){return e.code==t.key}));this.department=s,getliasonMan({searchType:4,type:1,departmentCode:s.code}).then((function(t){t.data.list[0]?e.liasionMan=t.data.list[0]:Object(C["b"])({title:"该部门没有联络员"},"notice","error",5)}))},changeRecipient:function(t){var e=this.task.copied_info.find((function(e){return e.code==t.code}));e?Object(C["b"])({title:"已经设置过, 请更换其他人员"},"error",3e3):this.task.copied_info.push(t),this.showInviteMember=!1},spliceCopied:function(t){this.task.copied_info.splice(t,1)},changeExchange:function(t){this.task.exchange_info.push(j({f_key:(new Date).getTime(),show:!1},t))},changeExchangeShow:function(t){var e=this,s=this.task.exchange_info.findIndex((function(t){return 1==t.show}));if(-1!=s){this.task.exchange_info[s].show=!1;var a=JSON.parse(JSON.stringify(this.task.exchange_info));t?a[s]=j({f_key:(new Date).getTime(),show:!1},t):a.splice(s,1),this.$nextTick((function(){e.task.exchange_info=a}))}},init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.code=t),e&&(this.loading=!0),this.clearMemberMenu(),this.getTask(),this.getChildTasks(),this.getTaskMembers(),this.getTaskWorkTimeList()},detailClose:function(){this.$emit("close",this.task)},clearMemberMenu:function(){this.visibleTaskTagMenu=!1,this.visibleTaskMemberMenu=!1,this.visibleProjectMemberMenu=!1},getTask:function(){var t=this;this.$store.commit("viewRefresh"),this.clearMemberMenu(),Object(k["o"])(this.code).then((function(e){try{t.getTaskLog(),t.taskSources(),t.taskName=e.data.name,t.task=e.data,t.projectCodeCurrent=e.data.project_code,t.task.end_time?(t.task.setEndTime=!0,t.task.end_time=d()(t.task.end_time)):(t.task.setEndTime=!1,t.task.end_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.end_time_format=Object(T["b"])(t.task.end_time,!0),t.task.begin_time?(t.task.setBeginTime=!0,t.task.begin_time=d()(t.task.begin_time)):(t.task.setBeginTime=!1,t.task.begin_time=d()(d()().format("YYYY-MM-DD")+" 18:00")),t.task.begin_time_format=Object(T["b"])(t.task.begin_time,!0),t.initContent(t.task.description),t.task.executor&&!t.childExecutor&&(t.childExecutor=t.task.executor),t.loading=!1,t.$store.dispatch("setTempData",{projectCode:t.projectCodeCurrent,taskCode:t.code,projectName:e.data.projectName})}catch(s){console.error(s)}}))},getTaskLog:function(){var t=this;Object(k["n"])({taskCode:this.code,all:this.showMoreTaskLog,pageSize:5,comment:"comment"==this.taskLogType[0]?1:0}).then((function(e){t.taskLogList=e.data.list,t.taskLogTotal=e.data.total,e.data.total>5&&(t.hasMoreTaskLog=!0),t.$nextTick((function(){c()(".img-preview-content").find("img").click((function(t){window.open(c()(t.target).attr("src"))}))}))}))},taskSources:function(){var t=this;Object(k["A"])({taskCode:this.code}).then((function(e){t.taskSourceList=e.data}))},getMoreTaskLog:function(){this.showMoreTaskLog=1,this.hideShowMore=!0,this.getTaskLog()},getTaskWorkTimeList:function(){var t=this;Object(k["a"])({taskCode:this.code}).then((function(e){t.workTimeList=e.data;var s=0;e.data&&(e.data.forEach((function(t){s+=Number(t.num)})),t.workTimeTotal=s)}))},getTaskMembers:function(){var t=this;this.clearMemberMenu(),Object(f["b"])({taskCode:this.code,pageSize:100}).then((function(e){t.taskMemberList=e.data.list,t.loading=!1}))},doTask:function(t){var e=this,s=this,a=t.key;switch(a){case"recycle":this.$confirm({title:"移到回收站",content:"您确定要把该任务移到回收站吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["q"])(s.code).then((function(t){var e=Object(w["a"])(t);if(!e)return!1;s.task.deleted=1,s.getTaskLog()})),Promise.resolve()}});break;case"star":return this.task.stared?this.task.stared=0:this.task.stared=1,Object(k["y"])(s.code,this.task.stared),!0;case"open":var i=window.location.href;-1!==i.indexOf("?")?i+="&full-screen":i+="?full-screen",window.open(i);break;case"private":return Object(k["v"])(s.code,Number(!this.task.private)).then((function(t){var s=Object(w["a"])(t);if(!s)return!1;e.task.private=Number(!e.task.private)})),!0}this.visibleTaskMenu=!1},editTitle:function(){var t=this;this.showEditName=!0,this.$nextTick((function(){t.$refs.inputTitle.focus()}))},doSource:function(t,e){var s=this,a=t.key;switch(a){case"unlink":this.$confirm({title:"取消关联",content:"您确定永久删除这个关联?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(h["a"])(e.code).then((function(t){var e=Object(w["a"])(t);if(!e)return!1;s.taskSources(),s.getTaskLog()})),Promise.resolve()}});break;case"copy":return Object(C["b"])({title:"复制链接成功",msg:"在地址栏粘贴并打开可下载该资源"},"notice","success",5),!0}},deleteTask:function(){var t=this;this.$confirm({title:"彻底删除",content:"彻底删除任务后,该任务及其子任务将会被永久被删除。",okText:"删除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["f"])(t.code).then((function(e){t.detailClose()})),Promise.resolve()}})},recoveryTask:function(){var t=this;this.$confirm({title:"恢复内容",content:"您确定要恢复该任务吗?",okText:"确定",okType:"primary",cancelText:"再想想",onOk:function(){return Object(k["p"])(t.code).then((function(e){var s=Object(w["a"])(e);if(!s)return!1;t.getTaskLog()})),t.task.deleted=0,Promise.resolve()}})},copyLink:function(){Object(C["b"])({title:"复制链接成功",msg:"你可以在其他标签页粘贴并快速打开任务页面"},"notice","success",5)},like:function(t){t=Number(t),Object(k["l"])(this.code,t),t?this.task.like++:this.task.like--,this.task.liked=t},taskDone:function(t,e,s){var a=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"self";e=e?1:0,Object(k["z"])(t,e).then((function(t){var n=Object(w["a"])(t);if(!n)return!1;a.getTaskLog(),"self"==i?a.task.done=e:a.childTaskList[s].done=e,a.getTask(),a.getChildTasks()}))},doBeginTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setBeginTime=t,this.showBeginTime=e;var s="";t?(s=d()(this.task.begin_time).format("YYYY-MM-DD HH:mm"),this.task.begin_time_format=d()(this.task.begin_time).format("MM月DD日 HH:mm")):s="",this.editTask({begin_time:s})},doEndTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.task.setEndTime=t,this.showEndTime=e;var s="";t?(s=d()(this.task.end_time).format("YYYY-MM-DD HH:mm"),this.task.end_time_format=d()(this.task.end_time).format("MM月DD日 HH:mm")):s="",this.editTask({end_time:s})},doPri:function(t){this.editTask({pri:t.key})},doName:function(){if(this.showEditName=!1,!this.task.name.trim()||this.task.name==this.taskName)return this.task.name=this.taskName,!1;this.editTask({name:this.task.name})},taskStatusChange:function(t){this.task.status=t.key,this.editTask({status:t.key})},editTask:function(t){var e=this;t.taskCode=this.code,Object(k["h"])(t).then((function(t){var s=Object(w["a"])(t);if(!s)return!1;e.getTask()}))},priColor:function(t){switch(t){case 1:return"#ff9900";case 2:return"#ed3f14";default:return"green"}},showTaskDesc:function(){if(this.task.deleted)return!1;this.showTaskDescriptionEdit=!0,this.initContent(this.task.description)},initContent:function(t){var e=this;try{t?this.$refs.vueWangeditor.setHtml(t):this.$refs.vueWangeditor.setHtml(""),this.$nextTick((function(){e.checkShowMoreDesc(!1,!0)}))}catch(s){}},doContent:function(){var t=this,e=this.$refs.vueWangeditor.getHtml(),s={taskCode:this.code,description:e};Object(k["h"])(s).then((function(){t.task.description=e,t.showTaskDescriptionEdit=!1,t.$nextTick((function(){t.checkShowMoreDesc(!1,!0)})),t.getTaskLog()}))},createComment:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s=this.comment.trim();if(!s)return!1;s+=" ";var a=/(@[^@]+) /g,i=s.match(a);i&&i.forEach((function(e){var s=e.substring(1,e.length-1);-1===t.mentionsList.findIndex((function(t){return t==s}))&&t.mentionsList.push(s)})),Object(k["d"])(this.code,this.comment,JSON.stringify(this.mentionsList),e).then((function(){t.comment="",t.mentionsList=[],t.getTaskLog()}))},checkShowMoreDesc:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=c()(".description-txt");if(e||(t?(this.showMoreDesc=!0,s.css("max-height",(function(){return"100%"}))):(this.showMoreDesc=!1,s.css("max-height",(function(){return"300px"})))),e){var a=s.height();return a>=300?(this.hasMoreDesc=!0,!0):(this.hasMoreDesc=!1,!1)}return!1},createTask:function(){var t=this,e={pcode:this.code,name:this.childTaskName};this.childExecutor&&(e.assign_to=this.childExecutor.code),Object(k["s"])(e).then((function(e){var s=Object(w["a"])(e);if(!s)return!1;t.childTaskName="",t.getChildTasks(),t.getTaskLog()}))},getChildTasks:function(){var t=this;Object(k["m"])({pcode:this.code,pageSize:100,deleted:0}).then((function(e){var s=[];e.data.list.forEach((function(t){t.visibleChildTaskMemberMenu=!1,s.push(t)})),t.childTaskList=s}))},taskTagChange:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e?this.task.tags.splice(e,1):this.task.tags.push({tag_code:t.code,tag:t})},taskTagUpdate:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&(this.task.tags[e].tag=t)},taskTagDelete:function(t){var e=this.task.tags.findIndex((function(e){return e.tag_code==t.code}));-1!==e&&this.task.tags.splice(e,1)},removeTag:function(t,e){var s=this;Object(k["w"])({taskCode:this.task.code,tagCode:t.code}).then((function(){s.task.tags.splice(e,1)}))},doPlainWorkTime:function(){var t=this;this.plainWorkTime.modalStatus=!0,this.$nextTick((function(){t.plainWorkTime.form.setFieldsValue({work_time:t.task.work_time})}))},doWorkTime:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;this.workTimeDo.modalStatus=!0,t?(this.workTimeDo.info=t,this.$nextTick((function(){e.workTimeDo.form.setFieldsValue({num:t.num,begin_time:d()(t.begin_time),content:t.content})}))):(this.workTimeDo.form.resetFields(),this.workTimeDo.info=null)},deleteWorkTime:function(t,e){var s=this;this.$confirm({title:"删除工时记录",content:"确定要删除工时记录吗?",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(k["g"])({code:t.code}).then((function(a){Object(w["a"])(a)&&(s.workTimeList.splice(e,1),s.workTimeTotal-=t.num)})),Promise.resolve()}})},workTimePlainHandleSubmit:function(){var t=this;this.plainWorkTime.form.validateFields((function(e,s){e||(t.editTask({work_time:s.work_time}),t.plainWorkTime.modalStatus=!1)}))},workTimeHandleSubmit:function(){var t=this;this.workTimeDo.form.validateFields((function(e,s){if(!e){t.workTimeDo.confirmLoading=!0;var a={beginTime:s.begin_time.format("YYYY-MM-DD HH:mm"),num:s.num,content:s.content,taskCode:t.code};t.workTimeDo.info?(a.code=t.workTimeDo.info.code,Object(k["i"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(w["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))):Object(k["t"])(a).then((function(e){t.workTimeDo.confirmLoading=!1,Object(w["a"])(e)&&(t.workTimeDo.modalStatus=!1,t.getTaskWorkTimeList())}))}}))},checkLink:function(t){var e=/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|&|-)+)/g;return e.exec(t)?(t=t.replace(e,"$1$2"),t):t},updateChildExecutor:function(t){this.visibleChildTaskMemberMenu=!1,this.childExecutor=t},getPopup:function(){return document.getElementById("footer")},getTaskMemberPopup:function(){return document.getElementById("task-detail")},departmentMemberDetail:function(t){var e=this;Object(x["a"])({code:t,organization:this.$store.state.currentOrganization.code}).then((function(t){e.departmentMemberInfo=t.data}))},selectMentionMember:function(t){var e=this;this.showMentions=!1,this.comment+=t.name+" ",this.$nextTick((function(){e.$refs.commentText.focus()}))},changeModalHeight:function(){var t=this.width,e=c()(window).width()-100,s=c()(window).height()-150,a=c()(window).height()-315;"full-screen"===t||void 0!==this.$route.query["full-screen"]?(c()(".task-detail-modal").css("width",c()(window).width()),c()(".task-detail").css("width",c()(window).width()),c()(".ant-modal").css("top",0),s+=85,a+=85,c()(".content-left").css("height",s+"px"),c()(".log-wrap").css("height",a+"px")):(e>t&&(e=t),c()(".task-detail").css("width",e),c()(".content-left").css("height",s+"px"),c()(".log-wrap").css("height",a+"px"))}}},N=E,I=(s("690d"),s("2877")),$=Object(I["a"])(N,a,i,!1,null,null,null);e["a"]=$.exports},4917:function(t,e,s){"use strict";var a=s("cb7c"),i=s("9def"),n=s("0390"),o=s("5f1b");s("214f")("match",1,(function(t,e,s,r){return[function(s){var a=t(this),i=void 0==s?void 0:s[e];return void 0!==i?i.call(s,a):new RegExp(s)[e](String(a))},function(t){var e=r(s,t,this);if(e.done)return e.value;var c=a(t),l=String(this);if(!c.global)return o(c,l);var d=c.unicode;c.lastIndex=0;var m,u=[],k=0;while(null!==(m=o(c,l))){var h=String(m[0]);u[k]=h,""===h&&(c.lastIndex=n(l,i(c.lastIndex),d)),k++}return 0===k?null:u}]}))},"662f":function(t,e,s){"use strict";s("a1f3")},"690d":function(t,e,s){"use strict";s("ddba")},"7dc6":function(t,e,s){"use strict";s.d(e,"d",(function(){return i})),s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return o})),s.d(e,"a",(function(){return r}));var a=s("22b6");s("2f14");function i(t,e){return a["a"].post("project/department_member/searchInviteMember",{keyword:t,departmentCode:e})}function n(t,e){return a["a"].post("project/department_member/inviteMember",{accountCode:t,departmentCode:e})}function o(t,e){return a["a"].post("project/department_member/removeMember",{accountCode:t,departmentCode:e})}function r(t){return a["a"].post("project/department_member/detail",t)}},a1f3:function(t,e,s){},d0e1:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("a-modal",{staticClass:"task-detail-modal",attrs:{width:"min-content",closable:!1,visible:"",title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.code},on:{close:t.detailClose}})],1)},i=[],n=s("009f"),o={name:"task-detail-modal",components:{taskDetail:n["a"]},data:function(){return{loading:!1,code:this.$route.params.taskCode,projectCode:this.$route.params.code}},created:function(){this.init()},methods:{init:function(){this.loading=!0},detailClose:function(){var t=this.$route.query.from,e="";t&&(e="?from=".concat(t)),this.$router.push("/project/space/task/".concat(this.projectCode).concat(e))}}},r=o,c=(s("662f"),s("2877")),l=Object(c["a"])(r,a,i,!1,null,null,null);e["default"]=l.exports},ddba:function(t,e,s){}}]); \ No newline at end of file