8 lines
982 KiB
PHP
8 lines
982 KiB
PHP
(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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?M(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):M(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var P=Object(y["a"])("tokenList",!0),I="";if(P){var O=P.accessToken,E=P.tokenType;I="".concat(E," ").concat(O)}var j={name:"task-detail",components:{ATextarea:C["a"],editor:f["a"],taskMemberMenu:v["a"],taskTagMenu:g["a"],projectMemberMenu:b["a"],inviteProjectMember:_["a"]},props:{taskCode:{type:[String],default:function(){return""}},width:{type:[String,Number],default:function(){return"1360"}}},data:function(){return{moment:d.a,loading:!1,code:this.taskCode,projectCodeCurrent:"",task:{},taskStatusList:u["a"].TASK_STATUS,taskLogList:[],taskLogTotal:0,taskMemberList:[],workTimeList:[],workTimeTotal:[],visibleTaskMenu:!1,visibleTaskMemberMenu:!1,visibleTaskCopied:!1,visibleTaskTagMenu:!1,visibleProjectMemberMenu:!1,showInviteMember:!1,taskName:"",showEditName:!1,showBeginTime:!1,showEndTime:!1,showTaskDescriptionEdit:!1,showMoreDesc:!1,hasMoreDesc:!1,editorConfig:{uploadImgServer:Object(k["c"])("project/index/uploadImg"),uploadImgHeaders:{Authorization:I},menus:["head","bold","italic","justify","image","link","list","quote","table","|","fullscreen"]},departmentMemberInfo:null,childTaskList:[],showChildTask:!1,childTaskName:"",childExecutor:null,visibleChildTaskMemberMenu:!1,showInviteChildTaskMember:!1,taskSourceList:[],taskLogType:["all"],showMoreTaskLog:0,hasMoreTaskLog:!1,hideShowMore:!1,comment:"",commenting:!1,workTimeDo:{form:this.$form.createForm(this),info:null,modalTitle:"登记工时记录",modalStatus:!1,confirmLoading:!1},plainWorkTime:{form:this.$form.createForm(this),modalTitle:"设置预估工时",modalStatus:!1,confirmLoading:!1},showMentions:!1,mentionsList:[]}},computed:T(T({},Object(o["c"])({userInfo:function(t){return t.userInfo},uploader:function(t){return t.common.uploader},socketAction:function(t){return t.socketAction}})),{},{childTaskDoneNum:function(){var t=this.childTaskList.filter((function(t){return 1==t.done}));return t.length},checkShowMoreLog:function(){return!this.hideShowMore&&this.taskLogTotal>5},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,"<a target='_blank' href='$1$2'>$1$2</a>"),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<<e|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;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,a=0;i<t.length;i++,a+=8)e[a>>>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<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var i=[],a=0;a<t.length;a+=3)for(var n=t[a]<<16|t[a+1]<<8|t[a+2],r=0;r<4;r++)8*a+6*r<=8*t.length?i.push(e.charAt(n>>>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<t.length;n=++a%4)0!=n&&i.push((e.indexOf(t.charAt(a-1))&Math.pow(2,-2*n+8)-1)<<2*n|e.indexOf(t.charAt(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 <https://feross.org>
|
||
* @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<i&&a(t[n],t[n-1])<0)n++;o(t,e,n)}else while(n<i&&a(t[n],t[n-1])>=0)n++;return n-e}function o(t,e,i){i--;while(e<i){var a=t[e];t[e++]=t[i],t[i--]=a}}function s(t,e,i,a,n){for(a===e&&a++;a<i;a++){var r,o=t[a],s=e,c=a;while(s<c)r=s+c>>>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(c<s&&r(t,e[i+n+c])>0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}else{s=n+1;while(c<s&&r(t,e[i+n-c])<=0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s);var l=o;o=n-c,c=n-l}o++;while(o<c){var d=o+(c-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(c<s&&r(t,e[i+n-c])<0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s);var l=o;o=n-c,c=n-l}else{s=a-n;while(c<s&&r(t,e[i+n+c])>=0)o=c,c=1+(c<<1),c<=0&&(c=s);c>s&&(c=s),o+=n,c+=n}o++;while(o<c){var d=o+(c-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]&&t--;else if(n[t]>n[t+1])break;p(t)}}function h(){while(s>1){var t=s-2;t>0&&n[t-1]<n[t+1]&&t--,p(t)}}function p(a){var r=i[a],o=n[a],d=i[a+1],u=n[a+1];n[a]=o+u,a===s-3&&(i[a+1]=i[a+2],n[a+1]=n[a+2]),s--;var f=l(t[d],t,r,o,0,e);r+=f,o-=f,0!==o&&(u=c(t[r+o-1],t,d,u,u-1,e),0!==u&&(o<=u?m(r,o,d,u):v(r,o,d,u)))}function m(i,n,o,s){var u=0;for(u=0;u<n;u++)d[u]=t[i+u];var f=0,h=o,p=i;if(t[p++]=t[h++],0!==--s)if(1!==n){var m,v,g,b=r;while(1){m=0,v=0,g=!1;do{if(e(t[h],d[f])<0){if(t[p++]=t[h++],v++,m=0,0===--s){g=!0;break}}else if(t[p++]=d[f++],m++,v=0,1===--n){g=!0;break}}while((m|v)<b);if(g)break;do{if(m=l(t[h],d,f,n,0,e),0!==m){for(u=0;u<m;u++)t[p+u]=d[f+u];if(p+=m,f+=m,n-=m,n<=1){g=!0;break}}if(t[p++]=t[h++],0===--s){g=!0;break}if(v=c(d[f],t,h,s,0,e),0!==v){for(u=0;u<v;u++)t[p+u]=t[h+u];if(p+=v,h+=v,s-=v,0===s){g=!0;break}}if(t[p++]=d[f++],1===--n){g=!0;break}b--}while(m>=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<s;u++)t[p+u]=t[h+u];t[p+s]=d[f]}else{if(0===n)throw new Error;for(u=0;u<n;u++)t[p+u]=d[f+u]}}else{for(u=0;u<s;u++)t[p+u]=t[h+u];t[p+s]=d[f]}else for(u=0;u<n;u++)t[p+u]=d[f+u]}function v(i,n,o,s){var u=0;for(u=0;u<s;u++)d[u]=t[o+u];var f=i+n-1,h=s-1,p=o+s-1,m=0,v=0;if(t[p--]=t[f--],0!==--n)if(1!==s){var g=r;while(1){var b=0,_=0,y=!1;do{if(e(d[h],t[f])<0){if(t[p--]=t[f--],b++,_=0,0===--n){y=!0;break}}else if(t[p--]=d[h--],_++,b=0,1===--s){y=!0;break}}while((b|_)<g);if(y)break;do{if(b=n-l(d[h],t,i,n,n-1,e),0!==b){for(p-=b,f-=b,n-=b,v=p+1,m=f+1,u=b-1;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<s;u++)t[m+u]=d[u]}}else{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 for(m=p-(s-1),u=0;u<s;u++)t[m+u]=d[u]}i=[],n=[],this.mergeRuns=f,this.forceMergeRuns=h,this.pushRun=u}function u(t,e,a,o){a||(a=0),o||(o=t.length);var c=o-a;if(!(c<2)){var l=0;if(c<i)return l=r(t,a,o,e),void s(t,a,o,a+l,e);var u=new d(t,e),f=n(c);do{if(l=r(t,a,o,e),l<f){var h=c;h>f&&(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)<n}function o(t,e,i){var n=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var c=t[s];n+=a(o[0],o[1],c[0],c[1],e,i),o=c}var l=t[0];return r(o[0],l[0])&&r(o[1],l[1])||(n+=a(o[0],o[1],l[0],l[1],e,i)),0!==n}e.contain=o},"067f":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main"},[e("a-spin",{staticClass:"text-center",attrs:{spinning:t.oauthLoading}},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.oauthLoading,expression:"oauthLoading"}]},[t._v("正在登陆,请稍后...")])]),e("a-form",{directives:[{name:"show",rawName:"v-show",value:!t.oauthLoading,expression:"!oauthLoading"}],ref:"formLogin",staticClass:"user-layout-login",attrs:{id:"formLogin",form:t.form}},[e("a-tabs",{attrs:{activeKey:t.customActiveKey,tabBarStyle:{textAlign:"center",borderBottom:"unset"}},on:{change:t.handleTabClick}},[e("a-tab-pane",{key:"tab1",attrs:{tab:"账号密码登录"}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["account",{rules:[{required:!0,message:"请输入帐户名或邮箱地址"},{validator:this.handleUsernameOrEmail}],validateTrigger:"blur"}],expression:"[\n 'account',\n {rules: [{ required: true, message: '请输入帐户名或邮箱地址' },{ validator: this.handleUsernameOrEmail }], validateTrigger: 'blur'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"帐户名或邮箱地址"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"请输入密码"}],validateTrigger:"blur"}],expression:"[\n 'password',\n {rules: [{ required: true, message: '请输入密码' }], validateTrigger: 'blur'}\n ]"}],attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"密码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1),e("a-tab-pane",{key:"tab2",attrs:{tab:"手机号登录"}},[e("a-form-item",[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["mobile",{rules:[{required:!0,pattern:/^1[34578]\d{9}$/,message:"请输入正确的手机号"},{validator:this.handleUsernameOrEmail}],validateTrigger:"change"}],expression:"[\n 'mobile',\n {rules: [{ required: true, pattern: /^1[34578]\\d{9}$/, message: '请输入正确的手机号' },{ validator: this.handleUsernameOrEmail }], validateTrigger: 'change'}\n ]"}],attrs:{size:"large",type:"text",placeholder:"手机号"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),e("a-row",{attrs:{gutter:16}},[e("a-col",{staticClass:"gutter-row",attrs:{span:16}},[e("a-form-item",[e("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:"验证码"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1)],1),e("a-col",{staticClass:"gutter-row",attrs:{span:8}},[e("a-button",{staticClass:"getCaptcha",attrs:{tabindex:"-1",disabled:t.state.smsSendBtn},domProps:{textContent:t._s(t.state.smsSendBtn?t.state.time+" s":"获取验证码")},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.getCaptcha.apply(null,arguments)}}})],1)],1)],1)],1),e("a-form-item",[e("a-checkbox",{model:{value:t.formLogin.rememberMe,callback:function(e){t.$set(t.formLogin,"rememberMe",e)},expression:"formLogin.rememberMe"}},[t._v("自动登录")]),e("a",{staticClass:"forge-password",staticStyle:{float:"right"},on:{click:function(e){return t.routerLink("/member/forgot")}}},[t._v("忘记密码\n ")])],1),e("a-form-item",{staticStyle:{"margin-top":"24px"}},[e("a-button",{staticClass:"login-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:t.loginBtn,disabled:t.loginBtn},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleSubmit.apply(null,arguments)}}},[t._v("登录\n ")])],1),e("div",{staticClass:"user-login-other"},[e("span",[t._v("其他登录方式")]),e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:"钉钉登录"}},[e("a",{on:{click:t.dingTalkOauth}},[e("a-icon",{staticClass:"item-icon",attrs:{type:"dingding"}})],1)]),e("router-link",{staticClass:"register",attrs:{to:{name:"register"}}},[t._v("注册账户")])],1)],1)],1)},n=[],r=(i("8e6e"),i("456d"),i("20d6"),i("96cf"),i("1da1")),o=(i("7f7f"),i("ac6a"),i("ade3")),s=i("6821f"),c=i.n(s),l=i("2c18"),d=i("2f62"),u=i("c24f"),f=i("22b6");function h(){return f["a"].post("project/index/systemConfig")}var p=i("a078"),m=i("2f14"),v=i("68fe"),g=i("82f8"),b=i("e1b8"),_=i("97a8");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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?y(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var x={components:{},data:function(){return{customActiveKey:"tab1",loginBtn:!1,oauthLoading:!1,loginType:0,requiredTwoStepCaptcha:!1,stepCaptchaVisible:!1,form:this.$form.createForm(this),state:{time:60,smsSendBtn:!1},formLogin:{account:"",password:"",captcha:"",mobile:"",rememberMe:!0}}},computed:k({},Object(d["c"])({system:function(t){return t.system}})),mounted:function(){this.checkInstall(),this.$route.query.logged&&(this.oauthLoading=!0,this.checkLogin()),this.$route.query.message&&Object(_["b"])({title:this.$route.query.message},"notice")},methods:k(k({},Object(d["b"])(["Login","Logout"])),{},{checkInstall:function(){var t=this;Object(g["a"])().then((function(e){if(!Object(m["a"])(e))return t.$router.push({name:"install"}),!1;h().then((function(e){Object(m["a"])(e)&&(t.$store.dispatch("setSystem",e.data),t.dingTalkLogin())}))}))},handleUsernameOrEmail:function(t,e,i){var a=/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/;a.test(e)?this.loginType=0:this.loginType=1,i()},handleTabClick:function(t){this.customActiveKey=t},handleSubmit:function(){var t=this,e=this,i=!1,a={remember_me:e.formLogin.rememberMe};"tab1"===e.customActiveKey?e.form.validateFields(["account","password"],{force:!0},(function(t,n){t||(i=!0,a[(e.loginType,"account")]=n.account,a.password=c()(n.password))})):e.form.validateFields(["mobile","captcha"],{force:!0},(function(t,e){t||(i=!0,a=Object.assign(a,e))})),i&&(e.loginBtn=!0,a.clientid=Object(v["a"])("client_id"),Object(u["a"])(a).then((function(e){Object(m["a"])(e)&&(a.token=e.data.tokenList.accessToken,t.dealDataBeforeLogin(e)),t.loginBtn=!1})).catch((function(){t.loginBtn=!1})))},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);e.$message.loading("验证码发送中..",0);Object(u["u"])(a.mobile).then((function(t){if(e.$message.destroy(),!Object(m["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.state.time=60,i.state.smsSendBtn=!1,e.requestFailed(t)}))}}))},loginSuccess:function(t,e){var i=Object(v["a"])("menu",!0);if(console.log("menu"),console.log(i),i){var a=this.$router.options.routes;i.forEach((function(t){a[0].children.push(Object(m["b"])(t)),t.children&&t.children.forEach((function(t){a[0].children.push(Object(m["b"])(t)),t.children&&t.children.forEach((function(t){a[0].children.push(Object(m["b"])(t))}))}))})),this.loginBtn=!1,this.$router.addRoutes(a);var n=this.$route.query.redirect||p["a"].HOME_PAGE+"/"+e.code;n==p["a"].HOME_PAGE&&(n=p["a"].HOME_PAGE+"/"+e.code),console.log("redirect"),console.log(n),this.$router.push({path:n}),this.$notification.success({message:"欢迎",description:"".concat(t.data.member.name,",").concat(Object(m["j"])(),",欢迎回来")}),this.oauthLoading=!1}},dingTalkOauth:function(){var t=Object(b["b"])()+"?redirect="+this.$route.query.redirect,e=this.$route.query.redirect;e&&(t+="?redirect="+e),location.href=t},dingTalkLogin:function(){var t=this;l["ready"]((function(){l["runtime"].permission.requestAuthCode({corpId:"ding42ccb1a1923b200f35c2f4657eb6378f",onSuccess:function(e){t.oauthLoading=!0,Object(b["a"])({code:e.code}).then((function(e){Object(m["a"])(e)&&t.dealDataBeforeLogin(e)}))}})}))},checkLogin:function(){var t=this;Object(u["f"])().then((function(e){t.dealDataBeforeLogin(e)}))},dealDataBeforeLogin:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(e){var i,a,n,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=this,!e.data){t.next=19;break}return a={userInfo:e.data.member,tokenList:e.data.tokenList},n=Object(v["a"])("currentOrganization",!0),console.log("currentOrganization"),console.log(n),r=e.data.organizationList,t.next=9,i.$store.dispatch("SET_LOGGED",a);case 9:return t.next=11,i.$store.dispatch("setOrganizationList",r);case 11:return n?(o=r.findIndex((function(t){return t.id==n.id})),-1===o&&(n=r[0])):n=r[0],console.log(n),t.next=15,i.$store.dispatch("setCurrentOrganization",n);case 15:return t.next=17,i.$store.dispatch("GET_MENU",a.userInfo.authorize).then((function(){i.loginSuccess(e,n)}));case 17:t.next=21;break;case 19:i.oauthLoading=!1,i.$store.dispatch("SET_LOGOUT");case 21:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),requestFailed:function(t){this.$notification["error"]({message:"错误",description:((t.response||{}).data||{}).message||"请求出现错误,请稍后再试",duration:4}),this.loginBtn=!1}})},w=x,C=(i("73d7"),i("2877")),S=Object(C["a"])(w,a,n,!1,null,null,null);e["default"]=S.exports},"06ad":function(t,e,i){var a=i("4436"),n=i("41ef"),r=i("6d8b"),o=r.isArrayLike,s=Array.prototype.slice;function c(t,e){return t[e]}function l(t,e,i){t[e]=i}function d(t,e,i){return(e-t)*i+t}function u(t,e,i){return i>.5?e:t}function f(t,e,i,a,n){var r=t.length;if(1===n)for(var o=0;o<r;o++)a[o]=d(t[o],e[o],i);else{var s=r&&t[0].length;for(o=0;o<r;o++)for(var c=0;c<s;c++)a[o][c]=d(t[o][c],e[o][c],i)}}function h(t,e,i){var a=t.length,n=e.length;if(a!==n){var r=a>n;if(r)t.length=n;else for(var o=a;o<n;o++)t.push(1===i?e[o]:s.call(e[o]))}var c=t[0]&&t[0].length;for(o=0;o<t.length;o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var l=0;l<c;l++)isNaN(t[o][l])&&(t[o][l]=e[o][l])}function p(t,e,i){if(t===e)return!0;var a=t.length;if(a!==e.length)return!1;if(1===i){for(var n=0;n<a;n++)if(t[n]!==e[n])return!1}else{var r=t[0].length;for(n=0;n<a;n++)for(var o=0;o<r;o++)if(t[n][o]!==e[n][o])return!1}return!0}function m(t,e,i,a,n,r,o,s,c){var l=t.length;if(1===c)for(var d=0;d<l;d++)s[d]=v(t[d],e[d],i[d],a[d],n,r,o);else{var u=t[0].length;for(d=0;d<l;d++)for(var f=0;f<u;f++)s[d][f]=v(t[d][f],e[d][f],i[d][f],a[d][f],n,r,o)}}function v(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 g(t){if(o(t)){var e=t.length;if(o(t[0])){for(var i=[],a=0;a<e;a++)i.push(s.call(t[a]));return i}return s.call(t)}return t}function b(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function _(t){var e=t[t.length-1].value;return o(e&&e[0])?2:1}function y(t,e,i,r,s,c){var l=t._getter,g=t._setter,y="spline"===e,k=r.length;if(k){var x,w=r[0].value,C=o(w),S=!1,M=!1,T=C?_(r):0;r.sort((function(t,e){return t.time-e.time})),x=r[k-1].time;for(var P=[],I=[],O=r[0].value,E=!0,j=0;j<k;j++){P.push(r[j].time/x);var D=r[j].value;if(C&&p(D,O,T)||!C&&D===O||(E=!1),O=D,"string"===typeof D){var A=n.parse(D);A?(D=A,S=!0):M=!0}I.push(D)}if(c||!E){var N=I[k-1];for(j=0;j<k-1;j++)C?h(I[j],N,T):!isNaN(I[j])||isNaN(N)||M||S||(I[j]=N);C&&h(l(t._target,s),N,T);var L,$,V,R,z,F,U=0,B=0;if(S)var H=[0,0,0,0];var W=function(t,e){var i;if(e<0)i=0;else if(e<B){for(L=Math.min(U+1,k-1),i=L;i>=0;i--)if(P[i]<=e)break;i=Math.min(i,k-2)}else{for(i=U;i<k;i++)if(P[i]>e)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;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var i,a=this,n=0,r=function(){n--,n||a._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=y(this,t,r,this._tracks[o],o,e);s&&(this._clipList.push(s),n++,this.animation&&this.animation.addClip(s),i=s)}if(i){var c=i.onframe;i.onframe=function(t,e){c(t,e);for(var i=0;i<a._onframeList.length;i++)a._onframeList[i](t,e)}}return n||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this.animation,a=0;a<e.length;a++){var n=e[a];t&&n.onframe(this._target,1),i&&i.removeClip(n)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var x=k;t.exports=x},"07d7":function(t,e,i){var a=i("6d8b"),n=i("41ef"),r=i("607d"),o=i("65ed"),s=i("22d1"),c=i("eda2"),l=a.each,d=c.toCamelCase,u=["","-webkit-","-moz-","-o-"],f="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function h(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return a.map(u,(function(t){return t+"transition:"+i})).join(";")}function p(t){var e=[],i=t.get("fontSize"),a=t.getTextColor();a&&e.push("color:"+a),e.push("font:"+t.getFont());var n=t.get("lineHeight");null==n&&(n=Math.round(3*i/2)),i&&e.push("line-height:"+n+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,c=t.get("textShadowOffsetY")||0;return o&&e.push("text-shadow:"+s+"px "+c+"px "+o+"px "+r),l(["decoration","align"],(function(i){var a=t.get(i);a&&e.push("text-"+i+":"+a)})),e.join(";")}function m(t){var e=[],i=t.get("transitionDuration"),a=t.get("backgroundColor"),r=t.getModel("textStyle"),o=t.get("padding");return i&&e.push(h(i)),a&&(s.canvasSupported?e.push("background-Color:"+a):(e.push("background-Color:#"+n.toHex(a)),e.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],(function(i){var a="border-"+i,n=d(a),r=t.get(n);null!=r&&e.push(a+":"+r+("color"===i?"":"px"))})),e.push(p(r)),null!=o&&e.push("padding:"+c.normalizeCssArray(o).join("px ")+"px"),e.join(";")+";"}function v(t,e,i,a,n){var r=e&&e.painter;if(i){var s=r&&r.getViewportRoot();s&&o.transformLocalCoord(t,s,document.body,a,n)}else{t[0]=a,t[1]=n;var c=r&&r.getViewportRootOffset();c&&(t[0]+=c.offsetLeft,t[1]+=c.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function g(t,e,i){if(s.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var n=this._zr=e.getZr(),o=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],v(this._styleCoord,n,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(a):t.appendChild(a),this._container=t,this._show=!1,this._hideTimeout;var c=this;a.onmouseenter=function(){c._enterable&&(clearTimeout(c._hideTimeout),c._show=!0),c._inContent=!0},a.onmousemove=function(t){if(t=t||window.event,!c._enterable){var e=n.handler,i=n.painter.getViewportRoot();r.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},a.onmouseleave=function(){c._enterable&&c._show&&c.hideLater(c._hideDelay),c._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(t){var e=this._container,i=e.currentStyle||document.defaultView.getComputedStyle(e),a=e.style;"absolute"!==a.position&&"absolute"!==i.position&&(a.position="relative");var n=t.get("alwaysShowContent");n&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],i=t*this._zr.getWidth(),a=e*this._zr.getHeight();this.moveTo(i,a)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,i=this._styleCoord;e.style.cssText=f+m(t)+";left:"+i[0]+"px;top:"+i[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i=this._styleCoord;v(i,this._zr,this._appendToBody,t,e);var a=this.el.style;a.left=i[0]+"px",a.top=i[1]+"px"},hide:function(){this.el.style.display="none",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(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var b=g;t.exports=b},"08e8":function(t,e,i){"use strict";function a(){var t={};switch(l){case o.FRAMEWORK.VUE:var e=weex.config,i=e.env;t.platform=i.platform,o.RUNTIME.WEEX===c&&(t.appVersion=i.appVersion,t.appName=i.appName);break;case o.FRAMEWORK.RAX:o.RUNTIME.WEEX===c&&(t.platform=navigator.platform,t.appName=navigator.appName,t.appVersion=navigator.appVersion);break;case o.FRAMEWORK.UNKNOWN:o.RUNTIME.WEB===c&&(t.platform=o.RUNTIME.WEB),o.RUNTIME.UNKNOWN===c&&(t.platform=o.RUNTIME.UNKNOWN)}return t}Object.defineProperty(e,"__esModule",{value:!0});var n=i("dd86"),r=i("4eeb"),o=i("46f8"),s=(0,n.default)().split("."),c=s[0],l=s[1],d=a(),u=(0,r.default)(c,l,d);e.default=u},"0919":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.hideBar$=void 0;var r=i("c6b3"),o="biz.navigation.hideBar";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n)),e.hideBar$=a,e.default=a},"0b1f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.onRecordEnd$=void 0;var r=i("c6b3"),o="device.audio.onRecordEnd";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.onRecordEnd$=a,e.default=a},"0b30":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.delete$=void 0;var r=i("c6b3"),o="biz.cspace.delete";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.21"},n[r.ENV_ENUM.android]={vs:"4.5.21"},n[r.ENV_ENUM.pc]={vs:"4.5.21"},n)),e.delete$=a,e.default=a},"0b44":function(t,e,i){var a=i("607d"),n=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function o(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}n.prototype={constructor:n,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var n=t.touches;if(n){for(var r={points:[],touches:[],target:e,event:t},o=0,s=n.length;o<s;o++){var c=n[o],l=a.clientToLocal(i,c,{});r.points.push([l.zrX,l.zrY]),r.touches.push(c)}this._track.push(r)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var i=s[e](this._track,t);if(i)return i}}};var s={pinch:function(t,e){var i=t.length;if(i){var a=(t[i-1]||{}).points,n=(t[i-2]||{}).points||a;if(n&&n.length>1&&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;n<r;n++)!a&&n in e||(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.log=void 0;var r=function(t){console.log.apply(console,n(["".concat(a(t.time.getHours()),":").concat(a(t.time.getMinutes()),":").concat(a(t.time.getSeconds()))],t.text,!1))};e.log=r},"0c8b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.uploadAttachment$=void 0;var r=i("c6b3"),o="biz.util.uploadAttachment";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.uploadAttachment$=a,e.default=a},"0cde":function(t,e,i){var a=i("1687"),n=i("401b"),r=a.identity,o=5e-5;function s(t){return t>o||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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h={name:"settingBase",components:{AccountSetting:s["a"]},data:function(){return{loading:!1,form:this.$form.createForm(this),uploadLoading:!1,uploadAction:Object(c["c"])("project/index/uploadAvatar")}},computed:f(f({},Object(o["c"])({userInfo:function(t){return t.userInfo}})),{},{headers:function(){return Object(c["d"])()}}),mounted:function(){var t=this;this.$nextTick((function(){t.form.setFieldsValue({email:t.userInfo.email,name:t.userInfo.name,description:t.userInfo.description})}))},methods:{handleSubmit:function(){var t=this;this.form.validateFields((function(e,i){if(!e){var a=t.form.getFieldsValue();a.code=t.userInfo.code,a.avatar=t.userInfo.avatar,Object(l["s"])(a).then((function(e){t.loading=!1,Object(c["a"])(e)&&(t.userInfo.email=a.email,t.userInfo.name=a.name,t.userInfo.name=a.name,t.userInfo.description=a.description,t.$store.dispatch("SET_USER",t.userInfo))}))}}))},handleChange:function(t){var e=this;if("uploading"===t.file.status)return Object(d["b"])("正在上传,请稍后...","message","loading",0),void(this.uploadLoading=!0);"done"===t.file.status&&Object(c["e"])(t.file.originFileObj,(function(i){e.userInfo.avatar=t.file.response.data.url,e.$store.dispatch("SET_USER",e.userInfo),e.uploadLoading=!1,setTimeout((function(){Object(d["a"])()}),500)}))},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("图片不能超过2MB!"),e}}},p=h,m=(i("85e4"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"0e44":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.locationChatMessage$=void 0;var r=i("c6b3"),o="biz.chat.locationChatMessage";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.locationChatMessage$=a,e.default=a},"0e8f":function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"d",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return s}));var a=i("22b6");function n(t){return a["a"].post("project/department",t)}function r(t){return a["a"].post("project/department/read",{departmentCode:t})}function o(t){var e="project/department/save";return t.departmentCode&&(e="project/department/edit"),a["a"].post(e,t)}function s(t){return a["a"].post("project/department/delete",{departmentCode:t})}},"0f66":function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return r})),i.d(e,"d",(function(){return o})),i.d(e,"b",(function(){return s}));var a=i("22b6");function n(){var t=arguments.length>0&&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;a<n;a++){var r=e[a];if(null!=r){if(u(r)){i=y;break}if(h(r)){i=k;break}}}}else if(h(e)){for(var o in e)if(e.hasOwnProperty(o)&&m(e[o])){i=x;break}}else if(null!=e)throw new Error("Invalid data");T(t).sourceFormat=i}function I(t){return T(t).source}function O(t){T(t).datasetMap=c()}function E(t){var e=t.option,i=e.data,a=p(i)?C:_,n=!1,r=e.seriesLayoutBy,o=e.sourceHeader,s=e.dimensions,c=V(t);if(c){var l=c.option;i=l.source,a=T(c).sourceFormat,n=!0,r=r||l.seriesLayoutBy,null==o&&(o=l.sourceHeader),s=s||l.dimensions}var d=j(i,a,r,o,s);T(t).source=new g({data:i,fromDataset:n,seriesLayoutBy:r,sourceFormat:a,dimensionsDefine:d.dimensionsDefine,startIndex:d.startIndex,dimensionsDetectCount:d.dimensionsDetectCount,encodeDefine:e.encode})}function j(t,e,i,a,n){if(!t)return{dimensionsDefine:D(n)};var r,s;if(e===y)"auto"===a||null==a?A((function(t){null!=t&&"-"!==t&&(f(t)?null==s&&(s=1):s=0)}),i,t,10):s=a?1:0,n||1!==s||(n=[],A((function(t,e){n[e]=null!=t?t:""}),i,t)),r=n?n.length:i===S?t.length:t[0]?t[0].length:null;else if(e===k)n||(n=N(t));else if(e===x)n||(n=[],l(t,(function(t,e){n.push(e)})));else if(e===_){var c=o(t[0]);r=u(c)&&c.length||1}return{startIndex:s,dimensionsDefine:D(n),dimensionsDetectCount:r}}function D(t){if(t){var e=c();return d(t,(function(t,i){if(t=v({},h(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var a=e.get(t.name);return a?t.name+="-"+a.count++:e.set(t.name,{count:1}),t}))}}function A(t,e,i,a){if(null==a&&(a=1/0),e===S)for(var n=0;n<i.length&&n<a;n++)t(i[n]?i[n][0]:null,n);else{var r=i[0]||[];for(n=0;n<r.length&&n<a;n++)t(r[n],n)}}function N(t){var e,i=0;while(i<t.length&&!(e=t[i++]));if(e){var a=[];return l(e,(function(t,e){a.push(e)})),a}}function L(t,e,i){var a={},n=V(e);if(!n||!t)return a;var r,o,s=[],c=[],d=e.ecModel,u=T(d).datasetMap,f=n.uid+"_"+i.seriesLayoutBy;t=t.slice(),l(t,(function(e,i){!h(e)&&(t[i]={name:e}),"ordinal"===e.type&&null==r&&(r=i,o=v(t[i])),a[e.name]=[]}));var p=u.get(f)||u.set(f,{categoryWayDim:o,valueWayDim:0});function m(t,e,i){for(var a=0;a<i;a++)t.push(e+a)}function v(t){var e=t.dimsDef;return e?e.length:1}return l(t,(function(t,e){var i=t.name,n=v(t);if(null==r){var o=p.valueWayDim;m(a[i],o,n),m(c,o,n),p.valueWayDim+=n}else if(r===e)m(a[i],0,n),m(s,0,n);else{o=p.categoryWayDim;m(a[i],o,n),m(c,o,n),p.categoryWayDim+=n}})),s.length&&(a.itemName=s),c.length&&(a.seriesName=c),a}function $(t,e,i){var a={},n=V(t);if(!n)return a;var r,o=e.sourceFormat,s=e.dimensionsDefine;o!==k&&o!==x||l(s,(function(t,e){"name"===(h(t)?t.name:t)&&(r=e)}));var c=function(){for(var t={},a={},n=[],c=0,l=Math.min(5,i);c<l;c++){var d=z(e.data,o,e.seriesLayoutBy,s,e.startIndex,c);n.push(d);var u=d===M.Not;if(u&&null==t.v&&c!==r&&(t.v=c),(null==t.n||t.n===t.v||!u&&n[t.n]===M.Not)&&(t.n=c),f(t)&&n[t.n]!==M.Not)return t;u||(d===M.Might&&null==a.v&&c!==r&&(a.v=c),null!=a.n&&a.n!==a.v||(a.n=c))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(a)?a:null}();if(c){a.value=c.v;var d=null!=r?r:c.n;a.itemName=[d],a.seriesName=[d]}return a}function V(t){var e=t.option,i=e.data;if(!i)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function R(t,e){return z(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function z(t,e,i,a,n,r){var s,c,l,d=5;if(p(t))return M.Not;if(a){var m=a[r];h(m)?(c=m.name,l=m.type):f(m)&&(c=m)}if(null!=l)return"ordinal"===l?M.Must:M.Not;if(e===y)if(i===S){for(var v=t[r],g=0;g<(v||[]).length&&g<d;g++)if(null!=(s=T(v[n+g])))return s}else for(g=0;g<t.length&&g<d;g++){var b=t[n+g];if(b&&null!=(s=T(b[r])))return s}else if(e===k){if(!c)return M.Not;for(g=0;g<t.length&&g<d;g++){var w=t[g];if(w&&null!=(s=T(w[c])))return s}}else if(e===x){if(!c)return M.Not;v=t[c];if(!v||p(v))return M.Not;for(g=0;g<v.length&&g<d;g++)if(null!=(s=T(v[g])))return s}else if(e===_)for(g=0;g<t.length&&g<d;g++){w=t[g];var C=o(w);if(!u(C))return M.Not;if(null!=(s=T(C[r])))return s}function T(t){var e=f(t);return null!=t&&isFinite(t)&&""!==t?e?M.Might:M.Not:e&&"-"!==t?M.Must:void 0}return M.Not}e.BE_ORDINAL=M,e.detectSourceFormat=P,e.getSource=I,e.resetSourceDefaulter=O,e.prepareSource=E,e.makeSeriesEncodeForAxisCoordSys=L,e.makeSeriesEncodeForNameBased=$,e.guessOrdinal=R},"10b3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.toConversation$=void 0;var r=i("c6b3"),o="biz.chat.toConversation";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.toConversation$=a,e.default=a},"10c4":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.tokenFaceImg$=void 0;var r=i("c6b3"),o="biz.edu.tokenFaceImg";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.tokenFaceImg$=a,e.default=a},1137:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openSystemSetting$=void 0;var r=i("c6b3"),o="device.base.openSystemSetting";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.27"},n[r.ENV_ENUM.ios]={vs:"6.3.15"},n)),e.openSystemSetting$=a,e.default=a},1142:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openLink$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.util.openLink",c=(0,o.genDefaultParamsDealFn)({credible:!0,showMenuBar:!0});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.7.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.openLink$=a,e.default=a},"11c3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getLoadTime$=void 0;var r=i("c6b3"),o="runtime.monitor.getLoadTime";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.10"},n[r.ENV_ENUM.android]={vs:"6.0.10"},n)),e.getLoadTime$=a,e.default=a},1214:function(t,e,i){},"127b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.invokeThingService$=void 0;var r=i("c6b3"),o="biz.iot.invokeThingService";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.invokeThingService$=a,e.default=a},"12eb":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="channel.permission.requestAuthCode";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.0.0"},n[r.ENV_ENUM.android]={vs:"3.0.0"},n)),e.requestAuthCode$=a,e.default=a},"133d":function(t,e,i){var a=i("6d8b"),n=i("e0d3");function r(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),c=n.queryDataIndex(s,t);if(null==c||c<0||a.isArray(c))return{point:[]};var l=s.getItemGraphicEl(c),d=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(c)||[];else if(d&&d.dataToPoint)r=d.dataToPoint(s.getValues(a.map(d.dimensions,(function(t){return s.mapDimension(t)})),c,!0))||[];else if(l){var u=l.getBoundingRect().clone();u.applyTransform(l.transform),r=[u.x+u.width/2,u.y+u.height/2]}return{point:r,el:l}}t.exports=r},1418:function(t,e,i){var a=i("6d8b"),n=i("a15a"),r=n.createSymbol,o=i("2306"),s=i("3842"),c=s.parsePercent,l=i("c775"),d=l.getDefaultLabel;function u(t,e,i){o.Group.call(this),this.updateData(t,e,i)}var f=u.prototype,h=u.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function p(t){return[t[0]/2,t[1]/2]}function m(t,e){this.parent.drift(t,e)}f._createSymbol=function(t,e,i,a,n){this.removeAll();var o=e.getItemVisual(i,"color"),s=r(t,-1,-1,2,2,o,n);s.attr({z2:100,culling:!0,scale:p(a)}),s.drift=m,this._symbolType=t,this.add(s)},f.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},f.getSymbolPath=function(){return this.childAt(0)},f.getScale=function(){return this.childAt(0).scale},f.highlight=function(){this.childAt(0).trigger("emphasis")},f.downplay=function(){this.childAt(0).trigger("normal")},f.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},f.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},f.updateData=function(t,e,i){this.silent=!1;var a=t.getItemVisual(e,"symbol")||"circle",n=t.hostModel,r=h(t,e),s=a!==this._symbolType;if(s){var c=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(a,t,e,r,c)}else{var l=this.childAt(0);l.silent=!1,o.updateProps(l,{scale:p(r)},n,e)}if(this._updateCommon(t,e,r,i),s){l=this.childAt(0);var d=i&&i.fadeIn,u={scale:l.scale.slice()};d&&(u.style={opacity:l.style.opacity}),l.scale=[0,0],d&&(l.style.opacity=0),o.initProps(l,u,n,e)}this._seriesModel=n};var v=["itemStyle"],g=["emphasis","itemStyle"],b=["label"],_=["emphasis","label"];function y(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var i=this.__symbolOriginalScale,a=i[1]/i[0],n={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*a)]};this.animateTo(n,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}f._updateCommon=function(t,e,i,n){var r=this.childAt(0),s=t.hostModel,l=t.getItemVisual(e,"color");"image"!==r.type?r.useStyle({strokeNoScale:!0}):r.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var u=n&&n.itemStyle,f=n&&n.hoverItemStyle,h=n&&n.symbolOffset,m=n&&n.labelModel,k=n&&n.hoverLabelModel,x=n&&n.hoverAnimation,w=n&&n.cursorStyle;if(!n||t.hasItemOption){var C=n&&n.itemModel?n.itemModel:t.getItemModel(e);u=C.getModel(v).getItemStyle(["color"]),f=C.getModel(g).getItemStyle(),h=C.getShallow("symbolOffset"),m=C.getModel(b),k=C.getModel(_),x=C.getShallow("hoverAnimation"),w=C.getShallow("cursor")}else f=a.extend({},f);var S=r.style,M=t.getItemVisual(e,"symbolRotate");r.attr("rotation",(M||0)*Math.PI/180||0),h&&r.attr("position",[c(h[0],i[0]),c(h[1],i[1])]),w&&r.attr("cursor",w),r.setColor(l,n&&n.symbolInnerColor),r.setStyle(u);var T=t.getItemVisual(e,"opacity");null!=T&&(S.opacity=T);var P=t.getItemVisual(e,"liftZ"),I=r.__z2Origin;null!=P?null==I&&(r.__z2Origin=r.z2,r.z2+=P):null!=I&&(r.z2=I,r.__z2Origin=null);var O=n&&n.useNameLabel;function E(e,i){return O?t.getName(e):d(t,e)}o.setLabelStyle(S,f,m,k,{labelFetcher:s,labelDataIndex:e,defaultText:E,isRectText:!0,autoColor:l}),r.__symbolOriginalScale=p(i),r.hoverStyle=f,r.highDownOnUpdate=x&&s.isAnimationEnabled()?y:null,o.setHoverStyle(r)},f.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},a.inherits(u,o.Group);var k=u;t.exports=k},1463:function(t,e,i){"use strict";i("af8a")},"146a":function(t,e,i){(function(t){(function(t,e){e()})(0,(function(){"use strict";var e=setTimeout;function i(){}function a(t,e){return function(){t.apply(e,arguments)}}function n(t){if(!(this instanceof n))throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function r(t,e){while(3===t._state)t=t._value;0!==t._state?(t._handled=!0,n._immediateFn((function(){var i=1===t._state?e.onFulfilled:e.onRejected;if(null!==i){var a;try{a=i(t._value)}catch(n){return void s(e.promise,n)}o(e.promise,a)}else(1===t._state?o:s)(e.promise,t._value)}))):t._deferreds.push(e)}function o(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===typeof e||"function"===typeof e)){var i=e.then;if(e instanceof n)return t._state=3,t._value=e,void c(t);if("function"===typeof i)return void d(a(i,e),t)}t._state=1,t._value=e,c(t)}catch(r){s(t,r)}}function s(t,e){t._state=2,t._value=e,c(t)}function c(t){2===t._state&&0===t._deferreds.length&&n._immediateFn((function(){t._handled||n._unhandledRejectionFn(t._value)}));for(var e=0,i=t._deferreds.length;e<i;e++)r(t,t._deferreds[e]);t._deferreds=null}function l(t,e,i){this.onFulfilled="function"===typeof t?t:null,this.onRejected="function"===typeof e?e:null,this.promise=i}function d(t,e){var i=!1;try{t((function(t){i||(i=!0,o(e,t))}),(function(t){i||(i=!0,s(e,t))}))}catch(a){if(i)return;i=!0,s(e,a)}}n.prototype["catch"]=function(t){return this.then(null,t)},n.prototype.then=function(t,e){var a=new this.constructor(i);return r(this,new l(t,e,a)),a},n.prototype["finally"]=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){return e.reject(i)}))}))},n.all=function(t){return new n((function(e,i){if(!t||"undefined"===typeof t.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(t);if(0===a.length)return e([]);var n=a.length;function r(t,o){try{if(o&&("object"===typeof o||"function"===typeof o)){var s=o.then;if("function"===typeof s)return void s.call(o,(function(e){r(t,e)}),i)}a[t]=o,0===--n&&e(a)}catch(c){i(c)}}for(var o=0;o<a.length;o++)r(o,a[o])}))},n.resolve=function(t){return t&&"object"===typeof t&&t.constructor===n?t:new n((function(e){e(t)}))},n.reject=function(t){return new n((function(e,i){i(t)}))},n.race=function(t){return new n((function(e,i){for(var a=0,n=t.length;a<n;a++)t[a].then(e,i)}))},n._immediateFn="function"===typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},n._unhandledRejectionFn=function(t){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var u=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof t)return t;throw new Error("unable to locate global object")}();u.Promise||(u.Promise=n)}))}).call(this,i("c8ba"))},"14cf":function(t,e,i){},1548:function(t,e,i){var a=i("6d8b"),n=i("3301"),r=i("697e"),o=i("2023"),s=i("4319"),c=i("f934");c.getLayoutRect;e.getLayoutRect=c.getLayoutRect;var l=i("ee1a"),d=l.enableDataStack,u=l.isDimensionStacked,f=l.getStackedDimension,h=i("862d");e.completeDimensions=h;var p=i("b1d4");e.createDimensions=p;var m=i("a15a");function v(t){return n(t.getSource(),t)}e.createSymbol=m.createSymbol;var g={isDimensionStacked:u,enableDataStack:d,getStackedDimension:f};function b(t,e){var i=e;s.isInstance(e)||(i=new s(e),a.mixin(i,o));var n=r.createScaleByModel(i);return n.setExtent(t[0],t[1]),r.niceScaleExtent(n,i),n}function _(t){a.mixin(t,o)}e.createList=v,e.dataStack=g,e.createScale=b,e.mixinAxisModelCommonMethods=_},1584:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.systemShare$=void 0;var r=i("c6b3"),o="biz.util.systemShare";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.11"},n[r.ENV_ENUM.android]={vs:"4.5.11"},n)),e.systemShare$=a,e.default=a},1687:function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function a(){var t=new i(6);return n(t),t}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(t,e,i){var a=e[0]*i[0]+e[2]*i[1],n=e[1]*i[0]+e[3]*i[1],r=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],c=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=a,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=c,t}function s(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function c(t,e,i){var a=e[0],n=e[2],r=e[4],o=e[1],s=e[3],c=e[5],l=Math.sin(i),d=Math.cos(i);return t[0]=a*d+o*l,t[1]=-a*l+o*d,t[2]=n*d+s*l,t[3]=-n*l+d*s,t[4]=d*r+l*c,t[5]=d*c-l*r,t}function l(t,e,i){var a=i[0],n=i[1];return t[0]=e[0]*a,t[1]=e[1]*n,t[2]=e[2]*a,t[3]=e[3]*n,t[4]=e[4]*a,t[5]=e[5]*n,t}function d(t,e){var i=e[0],a=e[2],n=e[4],r=e[1],o=e[3],s=e[5],c=i*o-r*a;return c?(c=1/c,t[0]=o*c,t[1]=-r*c,t[2]=-a*c,t[3]=i*c,t[4]=(a*s-o*n)*c,t[5]=(r*n-i*s)*c,t):null}function u(t){var e=a();return r(e,t),e}e.create=a,e.identity=n,e.copy=r,e.mul=o,e.translate=s,e.rotate=c,e.scale=l,e.invert=d,e.clone=u},"16d1":function(t,e,i){},"17b8":function(t,e,i){var a=i("3014"),n=a.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(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 <div class="marker-d">\n <img src="'.concat(e.avatar||"https://lihai001.oss-cn-chengdu.aliyuncs.com/def/f7d49202401111649248163.png",'" />\n <div class="text">\n <div>').concat(e.name,"</div>\n <div>更新时间:").concat(e.date,"</div>\n <div>停留时间:").concat(e.date,"</div>\n </div>\n </div>\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;c<s[e].length;c++)if(s[e][c].h===a)return t;var l={h:a,one:o,query:i,ctx:r||t,callAtLast:a.zrEventfulCallAtLast},d=s[e].length-1,u=s[e][d];return u&&u.callAtLast?s[e].splice(d,0,l):s[e].push(l),t}a.prototype={constructor:a,one:function(t,e,i,a){return r(this,t,e,i,a,!0)},on:function(t,e,i,a){return r(this,t,e,i,a,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var a=[],n=0,r=i[t].length;n<r;n++)i[t][n].h!==e&&a.push(i[t][n]);i[t]=a}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},trigger:function(t){var e=this._$handlers[t],a=this._$eventProcessor;if(e){var n=arguments,r=n.length;r>3&&(n=i.call(n,1));for(var o=e.length,s=0;s<o;){var c=e[s];if(a&&a.filter&&null!=c.query&&!a.filter(t,c.query))s++;else{switch(r){case 1:c.h.call(c.ctx);break;case 2:c.h.call(c.ctx,n[1]);break;case 3:c.h.call(c.ctx,n[1],n[2]);break;default:c.h.apply(c.ctx,n);break}c.one?(e.splice(s,1),o--):s++}}}return a&&a.afterTrigger&&a.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],a=this._$eventProcessor;if(e){var n=arguments,r=n.length;r>4&&(n=i.call(n,1,n.length-1));for(var o=n[n.length-1],s=e.length,c=0;c<s;){var l=e[c];if(a&&a.filter&&null!=l.query&&!a.filter(t,l.query))c++;else{switch(r){case 1:l.h.call(o);break;case 2:l.h.call(o,n[1]);break;case 3:l.h.call(o,n[1],n[2]);break;default:l.h.apply(o,n);break}l.one?(e.splice(c,1),s--):c++}}}return a&&a.afterTrigger&&a.afterTrigger(t),this}};var o=a;t.exports=o},2023:function(t,e,i){var a=i("6d8b"),n={getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!==typeof i&&!a.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!==typeof i&&!a.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:a.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=n},2039:function(t,e,i){var a=i("6d8b"),n={};function r(){this._coordinateSystems=[]}r.prototype={constructor:r,create:function(t,e){var i=[];a.each(n,(function(a,n){var r=a.create(t,e);i=i.concat(r||[])})),this._coordinateSystems=i},update:function(t,e){a.each(this._coordinateSystems,(function(i){i.update&&i.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},r.register=function(t,e){n[t]=e},r.get=function(t){return n[t]};var o=r;t.exports=o},"207a":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:"house-index"},[i("wrapper-content",[i("div",{staticClass:"page-search"},[i("a-form",{attrs:{layout:"inline",autoFormCreate:function(e){t.searchForm=e}},on:{submit:function(t){return t.preventDefault(),e.handleSearchSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"关键字",fieldDecoratorId:"title"}},[i("a-input",{attrs:{placeholder:"请输入关键字"}})],1),i("a-form-item",{attrs:{label:"日期",fieldDecoratorId:"date"}},[i("a-range-picker",{attrs:{placeholder:["开始日期","结束日期"]}})],1),i("a-form-item",[i("a-button",{attrs:{icon:"search",type:"primary",htmlType:"submit",loading:e.searchLoading}},[e._v("搜索\n ")])],1)],1)],1),i("div",{staticClass:"action"},[i("a-button",{staticClass:"m-r-sm",attrs:{icon:"check",disabled:!e.selectedRowKeys.length},on:{click:function(t){return e.listAction({key:"setReadied"})}}},[i("span",[e._v("批量标记已读")])]),i("a-button",{attrs:{icon:"delete",type:"danger",disabled:!e.selectedRowKeys.length},on:{click:function(t){return e.listAction({key:"delete"})}}},[i("span",[e._v("批量删除")])]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.selectedRowKeys.length,expression:"selectedRowKeys.length"}],staticStyle:{"padding-left":"12px"}},[e._v("已选择 "),i("span",{staticClass:"text-warning"},[e._v(e._s(e.selectedRowKeys.length))]),e._v(" 项")])],1),i("a-table",{attrs:{columns:e.columns,dataSource:e.dataSource,loading:e.loading,showTotal:e.pagination.showTotal,pagination:e.pagination,rowSelection:{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},rowKey:"id"},on:{change:e.pageChange},scopedSlots:e._u([{key:"expandedRowRender",fn:function(t){return i("p",{staticStyle:{margin:"0"},domProps:{innerHTML:e._s(t.content)}})}},{key:"action",fn:function(t,a,n){return[i("a",{on:{click:function(t){return e.rowClick(a,"del")}}},[e._v("删除")])]}}])})],1)],1)},n=[],r=(i("386d"),i("7514"),i("ac6a"),i("cd4b")),o=i("2f14"),s=i("1b80"),c=[{title:"公告标题",dataIndex:"title",width:"20%"},{title:"时间",dataIndex:"create_time"},{title:"操作",scopedSlots:{customRender:"action"}}],l={mixins:[s["a"]],data:function(){return{columns:c,dataSource:[],selectedRowKeys:[],loading:!0,searchForm:{},searchLoading:!1}},created:function(){this.init()},methods:{init:function(){var t=this;t.requestData.type="system",t.loading=!0,t.selectedRowKeys=[],Object(r["d"])(t.requestData).then((function(e){t.dataSource=e.data.list,t.pagination.total=e.data.total,t.loading=!1}))},onSelectChange:function(t){this.selectedRowKeys=t},listAction:function(t){var e=this;switch(t.key){case"setReadied":Object(r["f"])(JSON.stringify(e.selectedRowKeys)),e.dataSource.forEach((function(t,i){var a=e.selectedRowKeys.find((function(e){return e==t.id}));a&&(e.dataSource[i].is_read=1)})),e.selectedRowKeys=[],e.$notice("操作成功","message","success");break;case"delete":this.$confirm({title:"确认删除这些公告?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"取消",onOk:function(){return Object(r["b"])(JSON.stringify(e.selectedRowKeys)).then((function(t){Object(o["a"])(t)&&(e.init(),e.notice("操作成功","message","success"),e.selectedRowKeys=[])})),Promise.resolve()}});break}},rowClick:function(t,e){var i=this;"del"==e&&this.$confirm({title:"确认删除此公告?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"取消",onOk:function(){return Object(r["c"])(t.id).then((function(t){i.init()})),Promise.resolve()}})},handleSearchSubmit:function(){var t=this;t.searchForm.validateFields((function(e,i){e||t.search()}))},search:function(){var t=this.searchForm.getFieldsValue();if(t.date&&t.date.length>0){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;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!y||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,a=this._len,n=0;n<e;n++)i+=t[n].len();y&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+i));for(n=0;n<e;n++)for(var r=t[n].data,o=0;o<r.length;o++)this.data[a++]=r[o];this._len=a},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var i=0;i<arguments.length;i++)e[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,a,n=this._dashSum,r=this._dashOffset,o=this._lineDash,s=this._ctx,c=this._xi,l=this._yi,d=t-c,u=e-l,f=b(d*d+u*u),h=c,v=l,g=o.length;d/=f,u/=f,r<0&&(r=n+r),r%=n,h-=r*d,v-=r*u;while(d>0&&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&&h<c||d<0&&h>c||u>0&&v<l||u<0&&v>l||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(;k<x;k++)if(w+=p[k],w>h)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;c<t.length;){var p=t[c++];switch(1===c&&(e=t[c],i=t[c+1],a=e,s=i),p){case l.M:a=t[c++],s=t[c++],e=a,i=s,f[0]=a,f[1]=s,h[0]=a,h[1]=s;break;case l.L:r.fromLine(e,i,t[c],t[c+1],f,h),e=t[c++],i=t[c++];break;case l.C:r.fromCubic(e,i,t[c++],t[c++],t[c++],t[c++],t[c],t[c+1],f,h),e=t[c++],i=t[c++];break;case l.Q:r.fromQuadratic(e,i,t[c++],t[c++],t[c],t[c+1],f,h),e=t[c++],i=t[c++];break;case l.A:var m=t[c++],b=t[c++],_=t[c++],y=t[c++],k=t[c++],x=t[c++]+k;c+=1;var w=1-t[c++];1===c&&(a=v(k)*_+m,s=g(k)*y+b),r.fromArc(m,b,_,y,k,x,w,f,h),e=v(x)*_+m,i=g(x)*y+b;break;case l.R:a=e=t[c++],s=i=t[c++];var C=t[c++],S=t[c++];r.fromLine(a,s,a+C,s+S,f,h);break;case l.Z:e=a,i=s;break}n.min(d,d,f),n.max(u,u,h)}return 0===c&&(d[0]=d[1]=u[0]=u[1]=0),new o(d[0],d[1],u[0]-d[0],u[1]-d[1])},rebuildPath:function(t){for(var e,i,a,n,r,o,s=this.data,c=this._ux,d=this._uy,u=this._len,f=0;f<u;){var h=s[f++];switch(1===f&&(a=s[f],n=s[f+1],e=a,i=n),h){case l.M:e=a=s[f++],i=n=s[f++],t.moveTo(a,n);break;case l.L:r=s[f++],o=s[f++],(_(r-a)>c||_(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<a){var n=i+a>>>1;t[n][1]<e?i=n+1:a=n}return i},v=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return r.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=p,e[1]+=p),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-p}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval;t.fixMin||(e[0]=n.round(d(e[0]/a)*a)),t.fixMax||(e[1]=n.round(l(e[1]/a)*a))},niceTicks:function(t,e,i){t=t||10;var a=this._extent,r=a[1]-a[0],s=r/t;null!=e&&s<e&&(s=e),null!=i&&s>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];r<n.length;r++){var s=n[r];if($t(t,e,i,a,s[0],s[1],o[0],o[1]))return!0;o=s}}function $t(t,e,i,a,n,r,o,s){var c=i-t,l=a-e,d=o-n,u=s-r,f=Vt(d,u,c,l);if(Rt(f))return!1;var h=t-n,p=e-r,m=Vt(h,p,c,l)/f;if(m<0||m>1)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<n;i++){var r=s[i],o=e.normal,c=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?a.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),c&&c[r]&&(t[r]=t[r]||{},t[r].emphasis?a.merge(t[r].emphasis,c[r]):t[r].emphasis=c[r],c[r]=null)}}function l(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,r=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,a.defaults(t[e],n)):t[e]=n),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r)}}function d(t){l(t,"itemStyle"),l(t,"lineStyle"),l(t,"areaStyle"),l(t,"label"),l(t,"labelLine"),l(t,"upperLabel"),l(t,"edgeLabel")}function u(t,e){var i=o(t)&&t[e],a=o(i)&&i.textStyle;if(a)for(var r=0,s=n.TEXT_STYLE_OPTIONS.length;r<s;r++){e=n.TEXT_STYLE_OPTIONS[r];a.hasOwnProperty(e)&&(i[e]=a[e])}}function f(t){t&&(d(t),u(t,"label"),t.emphasis&&u(t.emphasis,"label"))}function h(t){if(o(t)){c(t),d(t),u(t,"label"),u(t,"upperLabel"),u(t,"edgeLabel"),t.emphasis&&(u(t.emphasis,"label"),u(t.emphasis,"upperLabel"),u(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(c(e),f(e));var i=t.markLine;i&&(c(i),f(i));var n=t.markArea;n&&f(n);var r=t.data;if("graph"===t.type){r=r||t.nodes;var s=t.links||t.edges;if(s&&!a.isTypedArray(s))for(var h=0;h<s.length;h++)f(s[h]);a.each(t.categories,(function(t){d(t)}))}if(r&&!a.isTypedArray(r))for(h=0;h<r.length;h++)f(r[h]);e=t.markPoint;if(e&&e.data){var p=e.data;for(h=0;h<p.length;h++)f(p[h])}i=t.markLine;if(i&&i.data){var m=i.data;for(h=0;h<m.length;h++)a.isArray(m[h])?(f(m[h][0]),f(m[h][1])):f(m[h])}"gauge"===t.type?(u(t,"axisLabel"),u(t,"title"),u(t,"detail")):"treemap"===t.type?(l(t.breadcrumb,"itemStyle"),a.each(t.levels,(function(t){d(t)}))):"tree"===t.type&&d(t.leaves)}}function p(t){return a.isArray(t)?t:t?[t]:[]}function m(t){return(a.isArray(t)?t[0]:t)||{}}function v(t,e){r(p(t.series),(function(t){o(t)&&h(t)}));var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),r(i,(function(e){r(p(t[e]),(function(t){t&&(u(t,"axisLabel"),u(t.axisPointer,"label"))}))})),r(p(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;u(e,"axisLabel"),u(e&&e.axisPointer,"label")})),r(p(t.calendar),(function(t){l(t,"itemStyle"),u(t,"dayLabel"),u(t,"monthLabel"),u(t,"yearLabel")})),r(p(t.radar),(function(t){u(t,"name")})),r(p(t.geo),(function(t){o(t)&&(f(t),r(p(t.regions),(function(t){f(t)})))})),r(p(t.timeline),(function(t){f(t),l(t,"label"),l(t,"itemStyle"),l(t,"controlStyle",!0);var e=t.data;a.isArray(e)&&a.each(e,(function(t){a.isObject(t)&&(l(t,"label"),l(t,"itemStyle"))}))})),r(p(t.toolbox),(function(t){l(t,"iconStyle"),r(t.feature,(function(t){l(t,"iconStyle")}))})),u(m(t.axisPointer),"label"),u(m(t.tooltip).axisPointer,"label")}t.exports=v},2754: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:"404",desc:"抱歉,你访问的页面不存在"}},[e("img",{attrs:{slot:"img",src:i("f1d3"),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},"27b7":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.sendEmotion$=void 0;var r=i("c6b3"),o="biz.chat.sendEmotion";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.12"},n[r.ENV_ENUM.android]={vs:"4.6.12"},n)),e.sendEmotion$=a,e.default=a},"27f0":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userLayout"},[e("div",{staticClass:"container"},[e("div",{staticClass:"top"},[e("div",{staticClass:"header"},[e("a-badge",[e("a",{attrs:{href:"/"}},[e("img",{staticClass:"logo",attrs:{src:i("bae8"),alt:"logo"}}),e("span",{staticClass:"title"},[t._v("工单系统")])])])],1),e("div",{staticClass:"desc"},[t._v(t._s(t.desc))])]),e("router-view"),t._t("default"),t._m(0)],2)])},n=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"footer"},[e("div",{staticClass:"copyright"},[t._v("\n Copyright © 2019 Pear Project\n ")])])}],r={name:"UserLayout",props:{desc:{type:[String],default:function(){return"欢迎使用工单项目管理系统"}}}},o=r,s=(i("a5dc"),i("2877")),c=Object(s["a"])(o,a,n,!1,null,null,null);e["default"]=c.exports},2819:function(t,e,i){},"282b":function(t,e,i){var a=i("6d8b");function n(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,i,n){for(var r={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&a.indexOf(i,s)>=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;a<i.length;a++){var n=i[a];e.push(n?n[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:x,getItem:w,appendData:C},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],i=this._source.dimensionsDefine,a=0;a<i.length;a++){var n=this._data[i[a].name];e.push(n?n[t]:null)}return e},appendData:function(t){var e=this._data;o(t,(function(t,i){for(var a=e[i]||(e[i]=[]),n=0;n<(t||[]).length;n++)a.push(t[n])}))}},original:{count:x,getItem:w,appendData:C},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var i=this._dimSize*t,a=0;a<this._dimSize;a++)e[a]=this._data[i+a];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function w(t){return this._data[t]}function C(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var S={arrayRows:M,objectRows:function(t,e,i,a){return null!=i?t[a]:t},keyedColumns:M,original:function(t,e,i,a){var n=l(t);return null!=i&&n instanceof Array?n[i]:n},typedArray:M};function M(t,e,i,a){return null!=i?t[i]:t}var T={arrayRows:P,objectRows:function(t,e,i,a){return I(t[e],this._dimensionInfos[e])},keyedColumns:P,original:function(t,e,i,a){var n=t&&(null==t.value?t:t.value);return!this._rawData.pure&&d(t)&&(this.hasItemOption=!0),I(n instanceof Array?n[a]:n,this._dimensionInfos[e])},typedArray:function(t,e,i,a){return t[a]}};function P(t,e,i,a){return I(t[a],this._dimensionInfos[e])}function I(t,e){var i=e&&e.type;if("ordinal"===i){var a=e&&e.ordinalMeta;return a?a.parseAndCollect(t):t}return"time"===i&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+f(t)),null==t||""===t?NaN:+t}function O(t,e,i){if(t){var a=t.getRawDataItem(e);if(null!=a){var n,r,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(n=s.name,r=s.index),S[o](a,e,r,n)}}}function E(t,e,i){if(t){var a=t.getProvider().getSource().sourceFormat;if(a===g||a===b){var n=t.getRawDataItem(e);return a!==g||s(n)||(n=null),n?n[i]:void 0}}}e.DefaultDataProvider=_,e.defaultDimValueGetters=T,e.retrieveRawValue=O,e.retrieveRawAttr=E},"2b61":function(t,e,i){var a=i("7d6d"),n=i("82eb"),r=n.ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function c(t,e,i){var a=null==e.x?0:e.x,n=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(a=a*i.width+i.x,n=n*i.width+i.x,r=r*i.height+i.y,o=o*i.height+i.y),a=isNaN(a)?0:a,n=isNaN(n)?1:n,r=isNaN(r)?0:r,o=isNaN(o)?0:o;var s=t.createLinearGradient(a,r,n,o);return s}function l(t,e,i){var a=i.width,n=i.height,r=Math.min(a,n),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,c=null==e.r?.5:e.r;e.global||(o=o*a+i.x,s=s*n+i.y,c*=r);var l=t.createRadialGradient(o,s,0,o,s,c);return l}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var n=this,s=i&&i.style,c=!s||t.__attrCachedBy!==r.STYLE_BIND;t.__attrCachedBy=r.STYLE_BIND;for(var l=0;l<o.length;l++){var d=o[l],u=d[0];(c||n[u]!==s[u])&&(t[u]=a(t,u,n[u]||d[1]))}if((c||n.fill!==s.fill)&&(t.fillStyle=n.fill),(c||n.stroke!==s.stroke)&&(t.strokeStyle=n.stroke),(c||n.opacity!==s.opacity)&&(t.globalAlpha=null==n.opacity?1:n.opacity),(c||n.blend!==s.blend)&&(t.globalCompositeOperation=n.blend||"source-over"),this.hasStroke()){var f=n.lineWidth;t.lineWidth=f/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},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;o<r.length;o++)n.addColorStop(r[o].offset,r[o].color);return n}};for(var d=s.prototype,u=0;u<o.length;u++){var f=o[u];f[0]in d||(d[f[0]]=f[1])}s.getGradient=d.getGradient;var h=s;t.exports=h},"2b7b":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stopMatchRuleFromPartner$=void 0;var r=i("c6b3"),o="biz.pbp.stopMatchRuleFromPartner";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.10"},n[r.ENV_ENUM.android]={vs:"5.1.10"},n)),e.stopMatchRuleFromPartner$=a,e.default=a},"2c18":function(t,e,i){"use strict";var a=i("c526"),n=i("fae1"),r=i("1a9f"),o=Object.assign(a,n.apiObj,{plugin:r});t.exports=o},"2c5d":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.componentPunchFromPartner$=void 0;var r=i("c6b3"),o="biz.pbp.componentPunchFromPartner";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.10"},n[r.ENV_ENUM.android]={vs:"5.1.10"},n)),e.componentPunchFromPartner$=a,e.default=a},"2c6c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.status$=void 0;var r=i("c6b3"),o="device.geolocation.status";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.4.8"},n[r.ENV_ENUM.android]={vs:"3.4.8"},n)),e.status$=a,e.default=a},"2cc5":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.previewImage$=void 0;var r=i("c6b3"),o="biz.util.previewImage";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.previewImage$=a,e.default=a},"2cf4":function(t,e){var i=1;"undefined"!==typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var a=0,n=i;e.debugMode=a,e.devicePixelRatio=n},"2dc6":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startUnifiedLive$=void 0;var r=i("c6b3"),o="biz.live.startUnifiedLive";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"5.1.18"},n)),e.startUnifiedLive$=a,e.default=a},"2df1":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getInterface$=void 0;var r=i("c6b3"),o="device.base.getInterface";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.getInterface$=a,e.default=a},"2e08":function(t,e,i){var a=i("9def"),n=i("9744"),r=i("be13");t.exports=function(t,e,i,o){var s=String(r(t)),c=s.length,l=void 0===i?" ":String(i),d=a(e);if(d<=c||""==l)return s;var u=d-c,f=n.call(l,Math.ceil(u/l.length));return f.length>u&&(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;a<e.length;a+=2){var n=parseFloat(e[a]),r=parseFloat(e[a+1]);i.push([n,r])}return i}var j={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function D(t,e,i,a){var n=e.__inheritedStyle||{},r="text"===e.type;if(1===t.nodeType&&($(t,e),y(n,R(t)),!a))for(var o in j)if(j.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(n[j[o]]=s)}var c=r?"textFill":"fill",l=r?"textStroke":"stroke";e.style=e.style||new p;var d=e.style;null!=n.fill&&d.set(c,N(n.fill,i)),null!=n.stroke&&d.set(l,N(n.stroke,i)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&r?"textStrokeWidth":t;null!=n[t]&&d.set(e,parseFloat(n[t]))})),n.textBaseline&&"auto"!==n.textBaseline||(n.textBaseline="alphabetic"),"alphabetic"===n.textBaseline&&(n.textBaseline="bottom"),"start"===n.textAlign&&(n.textAlign="left"),"end"===n.textAlign&&(n.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=n[t]&&d.set(t,n[t])})),n.lineDash&&(e.style.lineDash=x(n.lineDash).split(C)),d[l]&&"none"!==d[l]&&(e[l]=!0),e.__inheritedStyle=n}var A=/url\(\s*#(.*?)\)/;function N(t,e){var i=e&&t&&t.match(A);if(i){var a=x(i[1]),n=e[a];return n}return t}var L=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function $(t,e){var i=t.getAttribute("transform");if(i){i=i.replace(/,/g," ");var a=null,n=[];i.replace(L,(function(t,e,i){n.push(e,i)}));for(var r=n.length-1;r>0;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<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=a.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,a=i.length,n=[],r=[],o=0;o<a;o++){var s=i[o],c=s.step(t,e);c&&(n.push(c),r.push(s))}for(o=0;o<a;)i[o]._needsRemove?(i[o]=i[a-1],i.pop(),a--):o++;a=n.length;for(o=0;o<a;o++)r[o].fire(n[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function e(){t._running&&(o(e),!t._paused&&t._update())}this._running=!0,o(e)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var i=new s(t,e.loop,e.getter,e.setter);return this.addAnimator(i),i}},a.mixin(c,r);var l=c;t.exports=l},3288: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:"project-auth"},[i("wrapper-content",[i("div",{staticClass:"action"},[i("Button",{attrs:{type:"primary",icon:"plus"},on:{click:function(t){return e.rowClick(null,"new")}}},[e._v("添加")])],1),i("Table",{attrs:{columns:e.columns,dataSource:e.data,rowKey:"id",pagination:e.pagination},on:{change:e.pageChange},scopedSlots:e._u([{key:"is_default",fn:function(t,a,n){return[a.is_default?i("a-icon",{attrs:{type:"check"}}):e._e()]}},{key:"action",fn:function(t,a,n){return[i("a",{on:{click:function(t){return e.rowClick(a,"edit")}}},[e._v("编辑")]),i("Divider",{attrs:{type:"vertical"}}),i("router-link",{attrs:{to:"/system/account/apply/"+a.id}},[e._v("授权")]),a.is_default?e._e():[i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"is_default")}}},[a.is_default?e._e():i("span",[e._v("设为默认")])])],a.canDelete?[i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"del",n)}}},[e._v("删除")])]:e._e()]}}])})],1),i("Modal",{attrs:{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("Form",{attrs:{autoFormCreate:function(e){t.form=e}},on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[i("FormItem",{attrs:{form:e.form,label:"名称",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"title",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入名称"}]},help:"必填,请填写权限名称(如:财务),用于标记拥有相应权限的角色"}},[i("Input",{attrs:{placeholder:"权限名称"}})],1),i("FormItem",{attrs:{label:"描述",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"desc",help:"选填,权限描述。"}},[i("Input",{attrs:{placeholder:"权限描述"}})],1),i("FormItem",{attrs:{wrapperCol:{span:21,offset:3}}},[i("div",{staticClass:"action-btn"},[i("Button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",loading:e.actionInfo.confirmLoading}},[e._v("保存\n ")]),i("Button",{staticClass:"middle-btn",on:{click:function(t){e.actionInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)])],1)],1)],1)},n=[],r=(i("c5f6"),i("3af3")),o=i("0020"),s=i("5efb"),c=i("a79d"),l=i("ed3b"),d=i("b558"),u=i("3786"),f=i("2f14"),h=i("1b80"),p=r["a"].Item,m=[{title:"名称",dataIndex:"title",width:"15%"},{title:"描述",dataIndex:"desc",width:"30%"},{title:"默认",dataIndex:"is_default",width:"10%",scopedSlots:{customRender:"is_default"}},{title:"添加时间",dataIndex:"create_at"},{title:"操作",dataIndex:"id",scopedSlots:{customRender:"action"}}],v={components:{Table:o["a"],Button:s["a"],Divider:c["a"],Modal:l["a"],Form:r["a"],FormItem:p,Input:d["a"]},mixins:[h["a"]],data:function(){return{columns:m,data:[],newData:null,form:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑权限",okText:"确定",cancelText:"放弃"},authApplyShow:!1,nodeList:[],checkedList:[]}},created:function(){this.init()},methods:{init:function(){var t=this;Object(u["e"])(this.requestData).then((function(e){t.data=e.data.list,t.pagination.total=e.data.total}))},rowClick:function(t,e,i){var a=this;if(a.newData=null,"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({title:t.title,desc:t.desc}),a.newData=t}),0):a.newData={status:1,sort:0};else if("status"==e){var n=t.status;t.status=Number(!n),n?Object(u["d"])(t.id,t.status):Object(u["f"])(t.id,t.status)}else"is_default"==e?Object(u["g"])(t.id,1).then((function(t){Object(f["a"])(t)&&a.init()})):"del"==e&&l["a"].confirm({title:"确定要删除此权限?",content:"删除后不可恢复",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){return Object(u["b"])(t.id).then((function(t){Object(f["a"])(t)&&a.data.splice(i,1)})),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.id?e.id=t.newData.id:Object.assign(e,t.newData),console.log(e),Object(u["c"])(e).then((function(i){t.actionInfo.confirmLoading=!1,Object(f["a"])(i)&&(t.newData.id?(t.newData.title=e.title,t.newData.desc=e.desc):t.data.push(i.data),t.form.resetFields(),t.newData=null,t.actionInfo.modalStatus=!1)}))}}},g=v,b=i("2877"),_=Object(b["a"])(g,a,n,!1,null,null,null);e["default"]=_.exports},"32fa":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.joinClassroom$=void 0;var r=i("c6b3"),o="biz.edu.joinClassroom";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.0.15"},n[r.ENV_ENUM.android]={vs:"6.0.15"},n[r.ENV_ENUM.pc]={vs:"6.0.15"},n)),e.joinClassroom$=a,e.default=a},3301:function(t,e,i){var a=i("6d8b"),n=i("6179"),r=i("b1d4"),o=i("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,c=i("2f45"),l=c.getDimensionTypeByAxis,d=i("e0d3"),u=d.getDataItemValue,f=i("2039"),h=i("8b7f"),p=h.getCoordSysInfoBySeries,m=i("ec6f"),v=i("ee1a"),g=v.enableDataStack,b=i("0f99"),_=b.makeSeriesEncodeForAxisCoordSys;function y(t,e,i){i=i||{},m.isInstance(t)||(t=m.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),c=f.get(s),d=p(e);d&&(o=a.map(d.coordSysDims,(function(t){var e={name:t},i=d.axisMap.get(t);if(i){var a=i.get("type");e.type=l(a)}return e}))),o||(o=c&&(c.getDimensionsInfo?c.getDimensionsInfo():c.dimensions.slice())||["x","y"]);var u,h,v=r(t,{coordDimensions:o,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?a.curry(_,o,e):null});d&&a.each(v,(function(t,e){var i=t.coordDim,a=d.categoryAxisMap.get(i);a&&(null==u&&(u=e),t.ordinalMeta=a.getOrdinalMeta()),null!=t.otherDims.itemName&&(h=!0)})),h||null==u||(v[u].otherDims.itemName=0);var b=g(e,v),y=new n(v,e);y.setCalculationInfo(b);var x=null!=u&&k(t)?function(t,e,i,a){return a===u?i:this.defaultDimValueGetter(t,e,i,a)}:null;return y.hasItemOption=!1,y.initData(t,null,x),y}function k(t){if(t.sourceFormat===s){var e=x(t.data||[]);return null!=e&&!a.isArray(u(e))}}function x(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var w=y;t.exports=w},3312:function(t,e,i){},3408:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.timepicker$=void 0;var r=i("c6b3"),o="biz.util.timepicker";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.timepicker$=a,e.default=a},"342d":function(t,e,i){var a=i("cbe5"),n=i("20c8"),r=i("ee84"),o=Math.sqrt,s=Math.sin,c=Math.cos,l=Math.PI,d=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},u=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(d(t)*d(e))},f=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(u(t,e))};function h(t,e,i,a,n,r,d,h,p,m,v){var g=p*(l/180),b=c(g)*(t-i)/2+s(g)*(e-a)/2,_=-1*s(g)*(t-i)/2+c(g)*(e-a)/2,y=b*b/(d*d)+_*_/(h*h);y>1&&(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;d<l.length;d++){for(var u,f=l[d],v=f.charAt(0),g=f.match(m)||[],b=g.length,_=0;_<b;_++)g[_]=parseFloat(g[_]);var y=0;while(y<b){var k,x,w,C,S,M,T,P=i,I=a;switch(v){case"l":i+=g[y++],a+=g[y++],u=c.L,s.addData(u,i,a);break;case"L":i=g[y++],a=g[y++],u=c.L,s.addData(u,i,a);break;case"m":i+=g[y++],a+=g[y++],u=c.M,s.addData(u,i,a),r=i,o=a,v="l";break;case"M":i=g[y++],a=g[y++],u=c.M,s.addData(u,i,a),r=i,o=a,v="L";break;case"h":i+=g[y++],u=c.L,s.addData(u,i,a);break;case"H":i=g[y++],u=c.L,s.addData(u,i,a);break;case"v":a+=g[y++],u=c.L,s.addData(u,i,a);break;case"V":a=g[y++],u=c.L,s.addData(u,i,a);break;case"C":u=c.C,s.addData(u,g[y++],g[y++],g[y++],g[y++],g[y++],g[y++]),i=g[y-2],a=g[y-1];break;case"c":u=c.C,s.addData(u,g[y++]+i,g[y++]+a,g[y++]+i,g[y++]+a,g[y++]+i,g[y++]+a),i+=g[y-2],a+=g[y-1];break;case"S":k=i,x=a;var O=s.len(),E=s.data;e===c.C&&(k+=i-E[O-4],x+=a-E[O-3]),u=c.C,P=g[y++],I=g[y++],i=g[y++],a=g[y++],s.addData(u,k,x,P,I,i,a);break;case"s":k=i,x=a;O=s.len(),E=s.data;e===c.C&&(k+=i-E[O-4],x+=a-E[O-3]),u=c.C,P=i+g[y++],I=a+g[y++],i+=g[y++],a+=g[y++],s.addData(u,k,x,P,I,i,a);break;case"Q":P=g[y++],I=g[y++],i=g[y++],a=g[y++],u=c.Q,s.addData(u,P,I,i,a);break;case"q":P=g[y++]+i,I=g[y++]+a,i+=g[y++],a+=g[y++],u=c.Q,s.addData(u,P,I,i,a);break;case"T":k=i,x=a;O=s.len(),E=s.data;e===c.Q&&(k+=i-E[O-4],x+=a-E[O-3]),i=g[y++],a=g[y++],u=c.Q,s.addData(u,k,x,i,a);break;case"t":k=i,x=a;O=s.len(),E=s.data;e===c.Q&&(k+=i-E[O-4],x+=a-E[O-3]),i+=g[y++],a+=g[y++],u=c.Q,s.addData(u,k,x,i,a);break;case"A":w=g[y++],C=g[y++],S=g[y++],M=g[y++],T=g[y++],P=i,I=a,i=g[y++],a=g[y++],u=c.A,h(P,I,i,a,M,T,w,C,S,u,s);break;case"a":w=g[y++],C=g[y++],S=g[y++],M=g[y++],T=g[y++],P=i,I=a,i+=g[y++],a+=g[y++],u=c.A,h(P,I,i,a,M,T,w,C,S,u,s);break}}"z"!==v&&"Z"!==v||(u=c.Z,s.addData(u),i=r,a=o),e=u}return s.toStatic(),s}function g(t,e){var i=v(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(i.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;i.rebuildPath(e)}},e.applyTransform=function(t){r(i,t),this.dirty(!0)},e}function b(t,e){return new a(g(t,e))}function _(t,e){return a.extend(g(t,e))}function y(t,e){for(var i=[],n=t.length,r=0;r<n;r++){var o=t[r];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),i.push(o.path)}var s=new a(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e)},s}e.createFromString=b,e.extendFromString=_,e.mergePath=y},3450:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.createOrder$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.createOrder";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.createOrder$=a,e.default=a},"348f":function(t,e,i){},"349f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.view$=void 0;var r=i("c6b3"),o="biz.map.view";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.view$=a,e.default=a},"351c":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.modal$=void 0;var r=i("c6b3"),o="device.notification.modal";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"4.2.5"},n[r.ENV_ENUM.ios]={vs:"2.4.0"},n[r.ENV_ENUM.android]={vs:"2.4.0"},n)),e.modal$=a,e.default=a},3786:function(t,e,i){"use strict";i.d(e,"e",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"d",(function(){return s})),i.d(e,"f",(function(){return c})),i.d(e,"g",(function(){return l})),i.d(e,"b",(function(){return d}));var a=i("22b6");function n(t){return a["a"].post("project/auth",t)}function r(t){var e="project/auth/add";return t.id&&(e="project/auth/edit"),a["a"].post(e,t)}function o(){var t=arguments.length>0&&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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?C(Object(i),!0).forEach((function(e){Object(u["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):C(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var M={name:"events",mixins:[s["a"]],props:{code:{default:0},projectCode:{default:0},date:{default:m()()},visible:{default:!1}},data:function(){return{moment:m.a,currentMemberCode:this.$store.state.userInfo.code,currentProjectCode:this.projectCode,loading:!0,showLoadingMore:!1,loadingMore:!1,show:this.visible,submitting:!1,projectList:[],projectMemberList:[],actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"新建日程",okText:"确定",cancelText:"放弃"},formData:{id:0,title:void 0,description:void 0,begin_time:this.date,end_time:this.date,all_day:!1,project_code:this.$route.params.code,position:void 0,member_list:[]},rules:{title:[{required:!0,message:"请选择必填项",trigger:"blur"}],project_code:[{required:!0,message:"请选择必填项",trigger:"blur"}],begin_time:[{required:!0,message:"请选择开始时间",trigger:"change"}],end_time:[{required:!0,message:"请选择结束时间",trigger:"change"}]}}},watch:{visible:function(t){this.show=t,t&&this.init()},show:{handler:function(t){this.$emit("update:visible",t)},deep:!0}},mounted:function(){this.init()},methods:{getProject:function(){var t=this;if(this.loading=!0,!this.currentProjectCode)return this.loading=!1,!1;Object(x["h"])(this.currentProjectCode).then((function(e){t.loading=!1,t.project=e.data,t.$store.dispatch("setTempData",{projectCode:t.project.code})}))},getProjectMemberList:function(){var t=this;Object(w["d"])({projectCode:this.currentProjectCode,pageSize:300}).then((function(e){t.projectMemberList=e.data.list}))},getProjectList:function(){var t=this;Object(x["l"])({archive:0,pageSize:300}).then((function(e){t.loading=!1,t.projectList=e.data.list,t.projectList.length&&!t.currentProjectCode&&(t.currentProjectCode=t.projectList[0].code,t.projectChange(t.currentProjectCode))}))},init:function(){var t=this;this.currentProjectCode&&(this.getProject(),this.getProjectMemberList()),this.getProjectList(),this.code?(t.actionInfo.modalTitle="编辑日程",Object(v["g"])({eventsCode:this.code}).then((function(e){var i=e.data;t.formData.id=i.id;var a=[];i.memberList.forEach((function(t){a.push(t.member_code)})),i.member_list=a,t.formData=S({},i)}))):(t.actionInfo.modalTitle="新建日程",t.formData={id:0,title:void 0,description:void 0,begin_time:this.date,end_time:this.date,all_day:!1,project_code:this.currentProjectCode,position:void 0,member_list:[t.currentMemberCode]})},projectChange:function(t,e){this.currentProjectCode=t,this.formData.project_code=t,this.formData.member_list=[this.currentMemberCode],this.getProjectMemberList()},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,e=this;e.submitting=!0;var i=S({},e.formData);console.log(i),i.member_list=JSON.stringify(i.member_list),i.begin_time=m()(i.begin_time).format("YYYY-MM-DD HH:mm:ss"),i.end_time=m()(i.end_time).format("YYYY-MM-DD HH:mm:ss"),Object(v["c"])(i).then((function(a){e.submitting=!1,Object(_["a"])(a,!0)&&(e.$emit("confirm",i),t.show=!1)}))},rowClick:function(){var t=Object(d["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=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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?E(Object(i),!0).forEach((function(e){Object(u["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):E(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var D={name:"calendar",components:{events:O},mixins:[s["a"]],data:function(){return{moment:m.a,keyword:"",memberCodes:[],begin:"",calendarValue:m()(),showData:!1,list:[],memberList:[],memberListTemp:[],currentMemberCode:this.$store.state.userInfo.code,eventsModal:!1,eventsCode:"",eventsDate:m()(),code:""}},computed:j({},Object(g["c"])({userInfo:function(t){return t.userInfo}})),watch:{keyword:function(){this.search()},memberCodes:function(){this.getEventsListByCalendar(this.calendarValue)}},created:function(){this.memberCodes.push(this.userInfo.code),this.getEventsListByCalendar(this.calendarValue),this.getMemberList()},mounted:function(){this.$nextTick((function(){window.scrollTo(0,0)}))},methods:{search:o.a.debounce((function(){var t=this;if(this.keyword=this.keyword.trim(),this.keyword||(this.memberList=JSON.parse(JSON.stringify(this.memberListTemp))),this.keyword.length<=1)return!1;this.memberList=this.memberList.filter((function(e){return-1!=e.name.indexOf(t.keyword)}))}),500),eventsConfirm:function(){this.getEventsListByCalendar(this.calendarValue)},changeMonth:function(t,e){console.log(t),t?(this.calendarValue.add(t,"months"),e(this.calendarValue)):(this.calendarValue=m()(),e(this.calendarValue)),this.calendarValue=m()(this.calendarValue.format("YYYY-MM-DD"))},getListData:function(t){var e=t.format("YYYY-MM-DD"),i=this.list[e];return i||[]},onPanelChange:function(t,e){console.log(t,e),this.getEventsListByCalendar(t)},getEventsListByCalendar:function(t){var e=this,i={date:t.format("YYYY-MM-DD HH:mm:ss"),memberCodes:JSON.stringify(this.memberCodes)};console.log(i),Object(v["d"])(i).then((function(t){e.list=t.data.list,e.$nextTick((function(){h()(".ant-fullcalendar-date").hover((function(){h()(".add-item").hide(),h()(this).find(".add-item").show()}))}))}))},getMemberList:function(){var t=this;Object(b["b"])(this.requestData).then((function(e){t.memberList=e.data,t.memberListTemp=e.data}))},emitEmpty:function(){this.$refs.keywordInput.focus(),this.keyword="",this.requestData.keyword=""},confirmJoinEvents:function(t,e){var i=this;Object(v["a"])({eventsCode:t.code,status:e}).then((function(a){Object(_["a"])(a)&&(t.waitConfirm=0,t.myStatus=e,t.memberList.forEach((function(t){t.member_code==i.$store.state.userInfo.code&&(t.status=e)})))}))},showCalendarPop:function(t){o.a.forIn(this.list,(function(t){t.forEach((function(t){t.visible=!1,t.visibleMore=!1,t.visibleInner=!1}))})),t&&(t.visible=!0)},showCalendarPopInner:function(t){o.a.forIn(this.list,(function(t){t.forEach((function(t){t.visible=!1,t.visibleInner=!1}))})),t&&(t.visibleInner=!0)},showCalendarPopMore:function(t){o.a.forIn(this.list,(function(t){t.forEach((function(t){t.visibleMore=!1,t.visible=!1,t.visibleInner=!1}))})),t&&(t.visibleMore=!0)},rowClick:function(){var t=Object(d["a"])(regeneratorRuntime.mark((function t(e,i,a){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=this,this.eventsDate=a||m()(),e?(e.visible=!1,e.visibleInner=!1,e.visibleMore=!1,this.code=e.project_code):this.code="",console.log(e),"add"==i||"edit"==i||"new"==i?(n.eventsCode="","edit"==i&&(n.eventsCode=e.code),n.eventsModal=!0):"del"==i&&n.$confirm({title:"确定要删除?",content:"关联的相关信息将会同时被删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){Object(v["b"])({eventsCode:e.code}).then((function(t){Object(_["a"])(t,!0)&&n.init(!0)}))}});case 5:case"end":return t.stop()}}),t,this)})));function e(e,i,a){return t.apply(this,arguments)}return e}(),getPopup:function(){return document.getElementById("calendar-index")}}},A=D,N=(i("fd9f"),Object(P["a"])(A,c,l,!1,null,null,null)),L=N.exports,$={name:"CommonCalendar",components:{calendar:L},mixins:[s["a"]],data:function(){return{keyword:"",selectedKeys:["0"]}},watch:{keyword:function(){this.search()}},created:function(){},methods:{}},V=$,R=Object(P["a"])(V,a,n,!1,null,null,null);e["default"]=R.exports},"37ed":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.bindAlipay$=void 0;var r=i("c6b3"),o="biz.alipay.bindAlipay";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.15"},n[r.ENV_ENUM.android]={vs:"6.3.15"},n)),e.bindAlipay$=a,e.default=a},"37fa":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-features",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",[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:"content-wrapper"},[e("div",{staticClass:"content-item features-content"},[e("div",{staticClass:"actions m-t"},[t.currentProjectFeatures?e("a-dropdown",{attrs:{placement:"bottomCenter",trigger:["click"]}},[e("a",{staticClass:"m-r text-default features-list-dropdown"},[e("span",{staticClass:"m-r-xs"},[t._v(t._s(t.currentProjectFeatures.name))]),e("a-icon",{attrs:{type:"down"}})],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.changeProjectFeatures},slot:"overlay"},t._l(t.projectFeaturesList,(function(i){return e("a-menu-item",{key:i.code},[e("div",{staticClass:"menu-item-content"},[e("div",[e("a-radio",{attrs:{checked:t.currentProjectFeatures.code==i.code}}),e("span",{attrs:{color:"green"}},[t._v(t._s(i.name))])],1),e("div",[e("a",{staticClass:"muted"},[e("a-icon",{attrs:{type:"edit"},on:{click:function(e){return e.stopPropagation(),t.editFeatures(i)}}})],1),e("a",{staticClass:"muted"},[e("a-icon",{staticClass:"m-l",attrs:{type:"delete"},on:{click:function(e){return e.stopPropagation(),t.deleteFeatures(i)}}})],1)])])])})),1)],1):t._e(),e("a-button",{attrs:{icon:"plus",type:"primary"},on:{click:t.createFeatures}},[t._v("创建版本库")]),e("a-divider",{staticClass:"m-b-lg m-t-lg"})],1),t.currentProjectFeatures?e("a-spin",{attrs:{spinning:t.loading}},[t.versionTotal?t._l(t.versionList,(function(i,a){return e("div",{key:a},["published"==a&&i.length?e("a",{staticClass:"muted m-l-sm m-b-sm",staticStyle:{cursor:"pointer",display:"block"},on:{click:function(e){t.showPublished=!t.showPublished}}},[e("span",{staticClass:"m-r-sm"},[t._v("已发布版本")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.showPublished,expression:"showPublished"}],attrs:{type:"up"}}),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.showPublished,expression:"!showPublished"}],attrs:{type:"ellipsis"}})],1):t._e(),e("div",{staticClass:"version-content",class:{published:"published"==a}},[t._l(i,(function(i,n){return[e("a-card",{directives:[{name:"show",rawName:"v-show",value:"published"!=a||"published"==a&&t.showPublished,expression:"versionType != 'published' || (versionType == 'published' && showPublished)"}],key:n,staticClass:"version-item",attrs:{hoverable:""},on:{click:function(e){return t.showVersionDetail(i.code)}}},[e("template",{slot:"title"},[e("strong",{class:{muted:"published"==a}},[t._v(t._s(i.name))]),e("a-dropdown",{directives:[{name:"show",rawName:"v-show",value:"normal"==a,expression:"versionType == 'normal'"}],attrs:{placement:"bottomCenter",trigger:["click"]}},[e("span",{staticClass:"version-status",class:"status-".concat(i.status),on:{click:function(t){return t.stopPropagation(),function(){}.apply(null,arguments)}}},[e("a-icon",{attrs:{type:"schedule"}}),e("span",{staticClass:"m-l-xs"},[t._v(t._s(i.statusText))])],1),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:function(e){return t.changeVersionStatus(e,a,i,n)}},slot:"overlay"},[e("a-menu-item",{key:"0"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",[t._v("未开始")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==i.status,expression:"version.status == 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:"blue"}},[t._v("进行中")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==i.status,expression:"version.status == 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:"red"}},[t._v("延期发布")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==i.status,expression:"version.status == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"3"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已发布")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:3==i.status,expression:"version.status == 3"}],staticClass:"check muted",attrs:{type:"check"}})],1)])],1)],1)],1),e("div",{staticClass:"publish-time muted"},[i.publish_time||i.plan_publish_time?[e("span","normal"==a?[t._v("预计发布时间:"+t._s(i.plan_publish_time))]:[t._v("发布时间:"+t._s(i.publish_time))])]:t._e()],2),e("a-tooltip",{directives:[{name:"show",rawName:"v-show",value:"normal"==a,expression:"versionType == 'normal'"}],attrs:{placement:"top",mouseEnterDelay:.3,title:"当前进度:".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeWidth:4,showInfo:!1,percent:parseInt(i.schedule)}})],1)],2)]})),e("a-card",{directives:[{name:"show",rawName:"v-show",value:"normal"==a,expression:"versionType == 'normal'"}],staticClass:"version-item version-create",attrs:{hoverable:""},on:{click:t.createVersion}},[e("a",{staticClass:"muted"},[e("div",[e("a-icon",{attrs:{type:"plus"}}),e("div",[t._v("创建版本")])],1)])])],2)])})):e("div",{staticClass:"text-center"},[e("p",{staticClass:"muted"},[t._v("暂无可用版本")]),e("a-button",{attrs:{type:"primary"},on:{click:t.createVersion}},[t._v("创建版本")])],1)],2):t._e()],1)])]),e("a-modal",{attrs:{destroyOnClose:"",width:360,title:t.projectFeatures.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.projectFeatures.modalStatus,callback:function(e){t.$set(t.projectFeatures,"modalStatus",e)},expression:"projectFeatures.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-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.projectFeatures.confirmLoading}},[t._v(t._s(t.projectFeatures.modalTitle)+"\n ")])],1)])],1)],1),e("a-modal",{attrs:{destroyOnClose:"",width:500,title:t.projectVersion.modalTitle,bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.projectVersion.modalStatus,callback:function(e){t.$set(t.projectVersion,"modalStatus",e)},expression:"projectVersion.modalStatus"}},[e("a-form",{attrs:{form:t.projectVersionForm},on:{submit:function(e){return e.preventDefault(),t.handleSubmitProjectVersion.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:["description"],expression:"['description']"}],attrs:{placeholder:"版本备注",rows:2}})],1),e("a-form-item",[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:12}},[e("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["startTime"],expression:"['startTime']"}],staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择开始时间"}})],1),e("a-col",{attrs:{span:12}},[e("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["planPublishTime"],expression:"['planPublishTime']"}],staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择预计发布时间"}})],1)],1)],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.projectVersion.confirmLoading}},[t._v("创建版本\n ")])],1)])],1)],1),e("a-modal",{attrs:{destroyOnClose:"",width:360,title:"实际发布时间",bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.publishVersion.modalStatus,callback:function(e){t.$set(t.publishVersion,"modalStatus",e)},expression:"publishVersion.modalStatus"}},[e("a-form",{attrs:{form:t.publishVersionForm},on:{submit:function(e){return e.preventDefault(),t.handleSubmitPublishVersion.apply(null,arguments)}}},[e("a-form-item",[e("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["publishTime"],expression:"['publishTime']"}],staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择实际发布时间"}})],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.publishVersion.confirmLoading}},[t._v("确认发布\n ")])],1)])],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{destroyOnClose:"",width:"min-content",closable:!1,title:"",footer:null},on:{cancel:t.versionDetailClose},model:{value:t.versionDetail.modalStatus,callback:function(e){t.$set(t.versionDetail,"modalStatus",e)},expression:"versionDetail.modalStatus"}},[e("version-detail",{attrs:{versionCode:t.versionDetail.code},on:{close:t.versionDetailClose}})],1)],1)},n=[],r=(i("7514"),i("ac6a"),i("c1df")),o=i.n(r),s=i("24d2"),c=i("4200"),l=i("2f14"),d=i("81fe"),u=i("1b80"),f=i("22b6");function h(t){return f["a"].post("project/project_features",t)}function p(t){return f["a"].post("project/project_features/save",t)}function m(t){return f["a"].post("project/project_features/edit",t)}function v(t){return f["a"].post("project/project_features/delete",t)}function g(t){return f["a"].post("project/project_version",t)}function b(t){return f["a"].post("project/project_version/_getVersionTask",t)}function _(t){return f["a"].post("project/project_version/_getVersionLog",t)}function y(t){return f["a"].post("project/project_version/read",t)}function k(t){return f["a"].post("project/project_version/save",t)}function x(t){return f["a"].post("project/project_version/edit",t)}function w(t){return f["a"].post("project/project_version/addVersionTask",t)}function C(t){return f["a"].post("project/project_version/removeVersionTask",t)}function S(t){return f["a"].post("project/project_version/changeStatus",t)}function M(t){return f["a"].post("project/project_version/delete",t)}var T=function(){var t=this,e=t._self._c;return e("div",{staticClass:"version-detail"},[e("a-spin",{staticClass:"version-detail-spin",attrs:{spinning:t.loading}},[e("div",{staticClass:"task-header"},[e("span",{staticClass:"head-title"},[e("span",[t._v(t._s(t.version.featureName))])]),e("span",{staticClass:"header-action text-right"},[[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.visibleTaskMenu,callback:function(e){t.visibleTaskMenu=e},expression:"visibleTaskMenu"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("打开菜单")])]),e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"ellipsis"}})],1)],2),e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:t.doVersion},slot:"overlay"},[e("a-menu-item",{key:"delete"},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("删除版本")])],1)],1)],1)],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.disableEdit}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:t.showEditName,expression:"showEditName"}],ref:"inputTitle",attrs:{"auto-focus":"",size:"large"},on:{blur:t.doName},model:{value:t.version.name,callback:function(e){t.$set(t.version,"name",e)},expression:"version.name"}}),t.disableEdit?e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditName,expression:"!showEditName"}],staticClass:"title-text"},[t._v("\n "+t._s(t.version.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.version.name)+"\n ")])],2)],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list",class:{disabled:t.disableEdit}},[e("div",{staticClass:"component-mount"},[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:{placement:"bottomCenter",trigger:["click"],disabled:!!t.task.deleted||!!t.task.hasUnDone}},[e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[t.disableEdit?e("span",{staticStyle:{"font-size":"12px"}},[t._v("版本已发布,不能编辑")]):t._e()]),e("span",[e("span",{staticClass:"version-status",class:"status-".concat(t.version.status)},[e("a-icon",{attrs:{type:"schedule"}}),e("span",{staticClass:"m-l-xs"},[t._v(t._s(t.version.statusText))])],1)])],2),e("a-menu",{directives:[{name:"show",rawName:"v-show",value:!t.disableEdit,expression:"!disableEdit"}],staticClass:"field-right-menu",attrs:{slot:"overlay",selectable:!1},on:{click:t.changeVersionStatus},slot:"overlay"},[e("a-menu-item",{key:"0"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",[t._v("未开始")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:0==t.version.status,expression:"version.status == 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:"blue"}},[t._v("进行中")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:1==t.version.status,expression:"version.status == 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:"red"}},[t._v("延期发布")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:2==t.version.status,expression:"version.status == 2"}],staticClass:"check muted",attrs:{type:"check"}})],1)]),e("a-menu-item",{key:"3"},[e("div",{staticClass:"menu-item-content"},[e("a-tag",{attrs:{color:"green"}},[t._v("已发布")]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:3==t.version.status,expression:"version.status == 3"}],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:"calendar"}}),e("span",{staticClass:"field-name"},[t._v("开始时间")])],1),e("div",{staticClass:"field-right field-date"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:t.disableEdit},model:{value:t.showStartTime,callback:function(e){t.showStartTime=e},expression:"showStartTime"}},[t.disableEdit?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.version.setStartTime?[t._v(t._s(t.version.start_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.version.setStartTime?[t._v(t._s(t.version.start_time_format)+"\n ")]:[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.showStartTime},on:{ok:function(e){return t.doStartTime(!0)}},model:{value:t.version.start_time,callback:function(e){t.$set(t.version,"start_time",e)},expression:"version.start_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doStartTime(!1)}}},[t._v("清除")])])],2)],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[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"},[e("a-dropdown",{attrs:{trigger:["click"],disabled:t.disableEdit},model:{value:t.showPlanPublishTime,callback:function(e){t.showPlanPublishTime=e},expression:"showPlanPublishTime"}},[t.disableEdit?e("div",{staticClass:"field-flex"},[e("a",{staticClass:"muted name",staticStyle:{margin:"0"}},[t.version.setPlanPublishTime?[t._v(t._s(t.version.plan_publish_time_format)+"\n ")]:[t._v("设置发布时间\n ")]],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.version.setPlanPublishTime?[t._v(t._s(t.version.plan_publish_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.showPlanPublishTime},on:{ok:function(e){return t.doPlanPublishTime(!0)}},model:{value:t.version.plan_publish_time,callback:function(e){t.$set(t.version,"plan_publish_time",e)},expression:"version.plan_publish_time"}},[e("template",{slot:"renderExtraFooter"},[e("a",{staticStyle:{position:"absolute"},attrs:{size:"small"},on:{click:function(e){return t.doPlanPublishTime(!1)}}},[t._v("清除")])])],2)],1)],1)],1)])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"fire"}}),e("span",{staticClass:"field-name"},[t._v("完成进度")])],1),e("div",{staticClass:"field-right width-block"},[e("a-tooltip",{attrs:{placement:"top",mouseEnterDelay:.3,title:"系统自动统计当前版本的完成进度"}},[e("a-progress",{attrs:{strokeWidth:4,percent:t.version.schedule}})],1)],1)])]),e("div",{staticClass:"component-mount"},[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.showVersionDescriptionEdit,expression:"!showVersionDescriptionEdit"}],staticClass:"task-description",class:{disabled:t.disableEdit},on:{click:t.showVersionDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.version.description,expression:"version.description"}],staticClass:"description-txt",domProps:{innerHTML:t._s(t.version.description)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.version.description,expression:"!version.description"}]},[t._v("添加备注")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showVersionDescriptionEdit,expression:"showVersionDescriptionEdit"}]},[e("a-input",{attrs:{type:"textarea"},model:{value:t.version.description,callback:function(e){t.$set(t.version,"description",e)},expression:"version.description"}}),e("div",{staticClass:"action-btn pull-right"},[e("a",{staticClass:"cancel-text muted",attrs:{type:"text"},on:{click:function(e){t.showVersionDescriptionEdit=!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"},[e("div",{staticClass:"field"},[e("div",{staticClass:"field-left"},[e("a-icon",{attrs:{type:"bars"}}),e("span",{staticClass:"field-name"},[t._v("发布内容 "),e("span",{directives:[{name:"show",rawName:"v-show",value:!1!==t.versionTaskSchedule,expression:"versionTaskSchedule !== false"}]},[t._v(" · "+t._s(t.versionTaskDoneNum)+"/"+t._s(t.versionTaskList.length))])])],1),e("div",{staticClass:"field-right width-block"})])]),e("div",{staticClass:"component-mount"},[e("div",{staticClass:"field"},[e("div",{staticClass:"block-field width-block"},[e("div",{staticClass:"task-child"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.versionTaskList.length,expression:"versionTaskList.length"}],staticClass:"task-list"},t._l(t.versionTaskList,(function(i,a){return e("div",{key:i.code},[e("div",{staticClass:"list-item task"},[e("div",{staticClass:"check-box-wrapper task-item",on:{click:function(e){return e.stopPropagation(),t.showTaskDetail(i)}}},[e("a-icon",{staticClass:"check-box disabled",style:{fontSize:"16px"},attrs:{type:i.done?"check-square":"border"}})],1),e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[i.executor?e("span",[t._v(t._s(i.executor.name))]):e("span",[t._v("待认领")])]),e("div",{on:{click:function(e){return e.stopPropagation(),t.showTaskDetail(i)}}},[i.executor?e("a-avatar",{staticClass:"task-item",attrs:{size:"small",icon:"user",src:i.executor.avatar}}):e("a-avatar",{staticClass:"task-item",attrs:{size:"small",icon:"user"}})],1)],2),e("div",{staticClass:"task-item task-title",on:{click:function(e){return e.stopPropagation(),t.showTaskDetail(i)}}},[e("div",{staticClass:"title-text"},[t._v("\n "+t._s(i.name)+"\n ")])]),e("span",{staticClass:"m-r muted"},[i.done?e("span",{staticClass:"text-success"},[t._v("已完成")]):e("span",[t._v("未完成")])]),e("a",{staticClass:"muted",on:{click:function(e){return e.stopPropagation(),t.removeVersionTask(i)}}},[e("a-icon",{staticClass:"task-item",attrs:{type:"delete"}})],1)],1)])})),0),e("a-tooltip",{attrs:{placement:"top"}},[e("a",{directives:[{name:"show",rawName:"v-show",value:!t.showChildTask,expression:"!showChildTask"}],staticClass:"add-handler",class:{disabled:t.disableEdit},on:{click:t.getTaskStages}},[e("a-icon",{staticStyle:{"margin-right":"6px"},attrs:{type:"plus"}}),t._v("\n 添加发布内容\n ")],1)])],1)])])])])])])],1),e("div",{staticClass:"content-right"},[e("div",{staticClass:"log-wrap"},[e("div",{staticClass:"header"},[e("span",{staticClass:"text-default"},[t._v("\n 所有动态\n ")])]),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.getMoreVersionLog}},[e("a-icon",{attrs:{type:"ellipsis"}}),t._v("\n 显示较早的 "+t._s(t.versionLogTotal-t.versionLog.length)+" 条动态\n ")],1),t._l(t.versionLog,(function(i){return e("div",{key:i.code,staticClass:"list-item"},[[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",domProps:{innerHTML:t._s(i.content)}}):t._e()])],e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.create_time))])]),e("span",{staticClass:"log-item"},[t._v(t._s(t._f("formatLogTime")(i.create_time)))])],2)],2)}))],2)])],1)])])])]),e("a-modal",{attrs:{destroyOnClose:"",width:360,title:"实际发布时间",bodyStyle:{paddingBottom:"1px"},footer:null},model:{value:t.publishVersion.modalStatus,callback:function(e){t.$set(t.publishVersion,"modalStatus",e)},expression:"publishVersion.modalStatus"}},[e("a-form",{attrs:{form:t.publishVersionForm},on:{submit:function(e){return e.preventDefault(),t.handleSubmitPublishVersion.apply(null,arguments)}}},[e("a-form-item",[e("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["publishTime"],expression:"['publishTime']"}],staticStyle:{width:"100%"},attrs:{showTime:"",format:"YYYY年MM月DD日 HH:mm",placeholder:"选择实际发布时间"}})],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.publishVersion.confirmLoading}},[t._v("确认发布\n ")])],1)])],1)],1),e("a-modal",{staticClass:"publish-task-modal",attrs:{destroyOnClose:"",width:800,title:"规划发布内容",footer:null},model:{value:t.publishTask.modalStatus,callback:function(e){t.$set(t.publishTask,"modalStatus",e)},expression:"publishTask.modalStatus"}},[e("div",[e("p",{directives:[{name:"show",rawName:"v-show",value:t.publishTask.selectTaskList.length,expression:"publishTask.selectTaskList.length"}]},[t._v("已选择 "),e("span",{staticClass:"text-warning"},[t._v(t._s(t.publishTask.selectTaskList.length))]),t._v("\n 项")]),e("p",{directives:[{name:"show",rawName:"v-show",value:!t.publishTask.selectTaskList.length,expression:"!publishTask.selectTaskList.length"}],staticClass:"muted"},[t._v("请勾选需要发布的内容")])]),e("vue-scroll",[e("div",{staticClass:"publish-task"},[e("a-checkbox-group",{model:{value:t.publishTask.selectTaskList,callback:function(e){t.$set(t.publishTask,"selectTaskList",e)},expression:"publishTask.selectTaskList"}},t._l(t.publishTask.taskStages,(function(i,a){return e("div",{key:a,staticClass:"m-b"},[e("strong",[t._v(t._s(i.name))]),e("a-list",{staticClass:"publish-task-list",attrs:{loading:i.tasksLoading,itemLayout:"horizontal",dataSource:i.tasks},scopedSlots:t._u([{key:"renderItem",fn:function(i,a){return e("a-list-item",{},[e("a-list-item-meta",[e("div",{class:{muted:i.version_code},attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(i.name)+"\n ")]),e("div",{attrs:{slot:"avatar"},slot:"avatar"},[e("a-checkbox",{attrs:{value:i.code}})],1)])],1)}}],null,!0)})],1)})),0)],1)]),e("div",{staticClass:"footer-item text-right m-t"},[e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",size:"large"},on:{click:t.addVersionTask}},[t._v("保存")])],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{destroyOnClose:"",width:"min-content",closable:!1,title:"",footer:null},on:{cancel:t.taskDetailClose},model:{value:t.showTaskDetailModal,callback:function(e){t.showTaskDetailModal=e},expression:"showTaskDetailModal"}},[e("task-detail",{attrs:{taskCode:t.taskCode},on:{close:t.taskDetailClose}})],1)],1)},P=[],I=(i("8e6e"),i("456d"),i("ade3")),O=(i("c5f6"),i("2f62")),E=i("1157"),j=i.n(E),D=i("009f"),A=i("e507"),N=i("97a8");function L(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){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?L(Object(i),!0).forEach((function(e){Object(I["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var V={name:"version-detail",components:{taskDetail:D["a"]},props:{versionCode:{type:[String],default:function(){return""}},width:{type:[String,Number],default:function(){return"1200"}}},data:function(){return{loading:!1,code:this.versionCode,projectCodeCurrent:"",task:{},showTaskDetailModal:!1,taskCode:"",version:{},visibleTaskMenu:!1,versionName:"",showEditName:!1,showStartTime:!1,showPlanPublishTime:!1,showVersionDescriptionEdit:!1,versionTaskList:[],showChildTask:!1,versionLogTotal:0,versionLog:[],publishVersionForm:this.$form.createForm(this),publishVersion:{modalStatus:!1,confirmLoading:!1,status:-1},showMoreTaskLog:0,hasMoreVersionLog:!1,hideShowMore:!1,publishTask:{modalStatus:!1,confirmLoading:!1,loading:!1,selectTaskList:[],taskStages:[]}}},computed:$($({},Object(O["c"])({userInfo:function(t){return t.userInfo}})),{},{disableEdit:function(){return 3==this.version.status},versionTaskDoneNum:function(){var t=this.versionTaskList.filter((function(t){return 1==t.done}));return t.length},checkShowMoreLog:function(){return!this.hideShowMore&&this.versionLogTotal>5},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(l<s){for(var u=Number.NEGATIVE_INFINITY,f=null,h=0,p=d.length;h<p;++h)d[h]>u&&(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<n}var g=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function b(t){if(t instanceof Date)return t;if("string"===typeof t){var e=g.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function _(t){return Math.pow(10,y(t))}function y(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=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<t.length;){for(var n=t[a].interval,r=t[a].close,o=0;o<2;o++)n[o]<=e&&(n[o]=e,r[o]=o?1:1-i),e=n[o],i=r[o];n[0]===n[1]&&r[0]*r[1]!==1?t.splice(a,1):a++}return t;function s(t,e,i){return t.interval[i]<e.interval[i]||t.interval[i]===e.interval[i]&&(t.close[i]-e.close[i]===(i?-1:1)||!i&&s(t,e,1))}}function C(t){return t-parseFloat(t)>=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;i<t.length;i++)this.addDisplayable(t[i],e)},s.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},s.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},s.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++){var a=this._displayables[i];a.beforeBrush&&a.beforeBrush(t),a.brush(t,i===this._cursor?null:this._displayables[i-1]),a.afterBrush&&a.afterBrush(t)}this._cursor=i;for(i=0;i<this._temporaryDisplayables.length;i++){a=this._temporaryDisplayables[i];a.beforeBrush&&a.beforeBrush(t),a.brush(t,0===i?null:this._temporaryDisplayables[i-1]),a.afterBrush&&a.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var c=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(c)),t.union(a)}this._rect=t}return this._rect},s.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var n=0;n<this._displayables.length;n++){var r=this._displayables[n];if(r.contain(t,e))return!0}return!1},n(s,r);var l=s;t.exports=l},"3a02":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.detectFaceFullScreen$=void 0;var r=i("c6b3"),o="biz.ATMBle.detectFaceFullScreen";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.detectFaceFullScreen$=a,e.default=a},"3a20":function(t,e,i){"use strict";i("2819")},"3aa8":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:"house-index"},[i("wrapper-content",[i("div",{staticClass:"page-search"},[i("a-form",{attrs:{layout:"inline",autoFormCreate:function(e){t.searchForm=e}},on:{submit:function(t){return t.preventDefault(),e.handleSearchSubmit.apply(null,arguments)}}},[i("a-form-item",{attrs:{label:"关键字",fieldDecoratorId:"title"}},[i("a-input",{attrs:{placeholder:"请输入关键字"}})],1),i("a-form-item",{attrs:{label:"日期",fieldDecoratorId:"date"}},[i("a-range-picker",{attrs:{placeholder:["开始日期","结束日期"]}})],1),i("a-form-item",[i("a-button",{attrs:{icon:"search",type:"primary",htmlType:"submit",loading:e.searchLoading}},[e._v("搜索\n ")])],1)],1)],1),i("div",{staticClass:"action"},[i("a-button",{staticClass:"m-r-sm",attrs:{icon:"check",disabled:!e.selectedRowKeys.length},on:{click:function(t){return e.listAction({key:"setReadied"})}}},[i("span",[e._v("批量标记已读")])]),i("a-button",{attrs:{icon:"delete",type:"danger",disabled:!e.selectedRowKeys.length},on:{click:function(t){return e.listAction({key:"delete"})}}},[i("span",[e._v("批量删除")])]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.selectedRowKeys.length,expression:"selectedRowKeys.length"}],staticStyle:{"padding-left":"12px"}},[e._v("已选择 "),i("span",{staticClass:"text-warning"},[e._v(e._s(e.selectedRowKeys.length))]),e._v(" 项")])],1),i("a-table",{attrs:{columns:e.columns,dataSource:e.dataSource,loading:e.loading,showTotal:e.pagination.showTotal,pagination:e.pagination,rowSelection:{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},rowKey:"id"},on:{change:e.pageChange},scopedSlots:e._u([{key:"expandedRowRender",fn:function(t){return i("a",{staticStyle:{margin:"0"},domProps:{innerHTML:e._s(t.content)},on:{click:function(i){return e.messageAction(t)}}})}},{key:"action",fn:function(t,a,n){return[i("a",{on:{click:function(t){return e.rowClick(a,"del")}}},[e._v("删除")])]}}])})],1)],1)},n=[],r=(i("386d"),i("7514"),i("ac6a"),i("cd4b")),o=i("2f14"),s=i("1b80"),c=[{title:"消息标题",dataIndex:"title",width:"20%"},{title:"时间",dataIndex:"create_time"},{title:"操作",scopedSlots:{customRender:"action"}}],l={mixins:[s["a"]],data:function(){return{columns:c,dataSource:[],selectedRowKeys:[],loading:!0,searchForm:{},searchLoading:!1}},created:function(){this.init()},methods:{init:function(){var t=this;t.requestData.type="notice",t.loading=!0,t.selectedRowKeys=[],Object(r["d"])(t.requestData).then((function(e){t.dataSource=e.data.list,t.pagination.total=e.data.total,t.loading=!1}))},onSelectChange:function(t){this.selectedRowKeys=t},listAction:function(t){var e=this;switch(t.key){case"setReadied":Object(r["f"])(JSON.stringify(e.selectedRowKeys)),e.dataSource.forEach((function(t,i){var a=e.selectedRowKeys.find((function(e){return e==t.id}));a&&(e.dataSource[i].is_read=1)})),e.selectedRowKeys=[],e.$notice("操作成功","message","success");break;case"delete":this.$confirm({title:"确认删除这些消息?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"取消",onOk:function(){return Object(r["b"])(JSON.stringify(e.selectedRowKeys)).then((function(t){Object(o["a"])(t)&&(e.init(),e.notice("操作成功","message","success"),e.selectedRowKeys=[])})),Promise.resolve()}});break}},messageAction:function(t){var e=JSON.parse(t.send_data);this.showNotice=!1,"task"===t.action&&(Object(r["f"])(JSON.stringify([t.id])),this.$router.push("/project/space/task/".concat(e.project_code,"/detail/").concat(e.code)))},rowClick:function(t,e){var i=this;"del"==e&&this.$confirm({title:"确认删除此消息?",content:"删除后不可恢复",okText:"删除",okType:"danger",cancelText:"取消",onOk:function(){return Object(r["c"])(t.id).then((function(t){i.init()})),Promise.resolve()}})},handleSearchSubmit:function(){var t=this;t.searchForm.validateFields((function(e,i){e||t.search()}))},search:function(){var t=this.searchForm.getFieldsValue();if(t.date&&t.date.length>0){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;o<r.length;o++){var s=r[o];if(s[t]&&null!=(a=s[t](n,e,i)))return a}}}at._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[Z]){var e=this[Z].silent;this[J]=!0,ot(this),rt.update.call(this),this[J]=!1,this[Z]=!1,dt.call(this,e),ut.call(this,e)}else if(t.unfinished){var i=V,a=this._model,n=this._api;t.unfinished=!1;do{var r=+new Date;t.performSeriesTasks(a),t.performDataProcessorTasks(a),ct(this,a),t.performVisualTasks(a),gt(this,this._model,n,"remain"),i-=+new Date-r}while(i>0&&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;_+='<g transform="translate('+e+","+i+')">'+t.dom+"</g>"})),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;l<r.length;l++)r[l].__alive=!1;function d(t){var e="_ec_"+t.id+"_"+t.type,l=o[e];if(!l){var d=N(t.type),u=n?b.getClass(d.main,d.sub):_.getClass(d.sub);l=new u,l.init(i,c),o[e]=l,r.push(l),s.add(l.group)}t.__viewId=l.__id=e,l.__alive=!0,l.__model=t,l.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!n&&a.prepareView(l,t,i,c)}n?i.eachComponent((function(t,e){"series"!==t&&d(e)})):i.eachSeries(d);for(l=0;l<r.length;){var u=r[l];u.__alive?l++:(!n&&u.renderTask.dispose(),s.remove(u.group),u.dispose(i,c),r.splice(l,1),delete o[u.__id],u.__id=u.group.__ecComponentInfo=null)}}function pt(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function mt(t,e,i,a){vt(t,e,i,a),j(t._chartsViews,(function(t){t.__alive=!1})),gt(t,e,i,a),j(t._chartsViews,(function(t){t.__alive||t.remove(e,i)}))}function vt(t,e,i,a,n){j(n||t._componentsViews,(function(t){var n=t.__model;t.render(n,e,i,a),wt(n,t)}))}function gt(t,e,i,a,n){var r,o=t._scheduler;e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var s=i.renderTask;o.updatePayload(s,a),n&&n.get(e.uid)&&s.dirty(),r|=s.perform(o.getPerformArgs(s)),i.group.silent=!!e.get("silent"),wt(e,i),xt(e,i)})),o.unfinished|=r,kt(t,e),S(t._zr.dom,e)}function bt(t,e){j(Ot,(function(i){i(t,e)}))}at.resize=function(t){if(this._disposed)yt(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),a=t&&t.silent;this[J]=!0,i&&ot(this),rt.update.call(this),this[J]=!1,dt.call(this,a),ut.call(this,a)}}},at.showLoading=function(t,e){if(this._disposed)yt(this.id);else if(A(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Dt[t]){var i=Dt[t](this._api,e),a=this._zr;this._loadingFX=i,a.add(i)}},at.hideLoading=function(){this._disposed?yt(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},at.makeActionFromEvent=function(t){var e=r.extend({},t);return e.type=Tt[t.type],e},at.dispatchAction=function(t,e){this._disposed?yt(this.id):(A(e)||(e={silent:!!e}),Mt[t.type]&&this._model&&(this[J]?this._pendingActions.push(t):(lt.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.browser.weChat&&this._throttledZrFlush(),dt.call(this,e.silent),ut.call(this,e.silent))))},at.appendData=function(t){if(this._disposed)yt(this.id);else{var e=t.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(e);a.appendData(t),this._scheduler.unfinished=!0}},at.on=tt("on",!1),at.off=tt("off",!1),at.one=tt("one",!1);var _t=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function yt(t){}function kt(t,e){var i=t._zr,a=i.storage,n=0;a.traverse((function(t){n++})),n>e.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;c<o.length;c++){var l=o[c],d=n.lastIndexOf(l);if(d>0&&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;i<t.length;i++){var a=t[i];a[n]=e}}j(Tt,(function(o,s){t._messageCenter.on(s,(function(o){if(Nt[t.group]&&t[n]!==e){if(o&&o.escapeConnect)return;var s=t.makeActionFromEvent(o),c=[];j(At,(function(e){e!==t&&e.group===t.group&&c.push(e)})),r(c,e),j(c,(function(t){t[n]!==i&&t.dispatchAction(s)})),r(c,a)}}))}))}function zt(t,e,i){var a=Wt(t);if(a)return a;var n=new it(t,e,i);return n.id="ec_"+Lt++,At[n.id]=n,k.setAttribute(t,Vt,n.id),Rt(n),n}function Ft(t){if(r.isArray(t)){var e=t;t=null,j(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+$t++,j(e,(function(e){e.group=t}))}return Nt[t]=!0,t}function Ut(t){Nt[t]=!1}var Bt=Ut;function Ht(t){"string"===typeof t?t=At[t]:t instanceof it||(t=Wt(t)),t instanceof it&&!t.isDisposed()&&t.dispose()}function Wt(t){return At[k.getAttribute(t,Vt)]}function Yt(t){return At[t]}function qt(t,e){jt[t]=e}function Gt(t){It.push(t)}function Kt(t,e){ie(Pt,t,e,R)}function Xt(t){Ot.push(t)}function Jt(t,e,i){"function"===typeof e&&(i=e,e="");var a=A(t)?t.type:[t,t={event:e}][0];t.event=(t.event||a).toLowerCase(),e=t.event,E(Q.test(a)&&Q.test(e)),Mt[a]||(Mt[a]={action:i,actionInfo:t}),Tt[e]=a}function Zt(t,e){f.register(t,e)}function Qt(t){var e=f.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function te(t,e){ie(Et,t,e,B,"layout")}function ee(t,e){ie(Et,t,e,Y,"visual")}function ie(t,e,i,a,n){(D(e)||A(e))&&(i=e,e=a);var r=T.wrapStageHandler(i,n);return r.__prio=e,r.__raw=i,t.push(r),r}function ae(t,e){Dt[t]=e}function ne(t){return v.extend(t)}function re(t){return b.extend(t)}function oe(t){return g.extend(t)}function se(t){return _.extend(t)}function ce(t){r.$override("createCanvas",t)}function le(t,e,i){O.registerMap(t,e,i)}function de(t){var e=O.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}}ee(W,C),Gt(p),Kt(F,m),ae("default",M),Jt({type:"highlight",event:"highlight",update:"highlight"},r.noop),Jt({type:"downplay",event:"downplay",update:"downplay"},r.noop),qt("light",P),qt("dark",I);var ue={};e.version=L,e.dependencies=$,e.PRIORITY=X,e.init=zt,e.connect=Ft,e.disConnect=Ut,e.disconnect=Bt,e.dispose=Ht,e.getInstanceByDom=Wt,e.getInstanceById=Yt,e.registerTheme=qt,e.registerPreprocessor=Gt,e.registerProcessor=Kt,e.registerPostUpdate=Xt,e.registerAction=Jt,e.registerCoordinateSystem=Zt,e.getCoordinateSystemDimensions=Qt,e.registerLayout=te,e.registerVisual=ee,e.registerLoading=ae,e.extendComponentModel=ne,e.extendComponentView=re,e.extendSeriesModel=oe,e.extendChartView=se,e.setCanvasCreator=ce,e.registerMap=le,e.getMap=de,e.dataTool=ue;var fe=i("b719");(function(){for(var t in fe)fe.hasOwnProperty(t)&&(e[t]=fe[t])})()},"401b":function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function a(t,e){var a=new i(2);return null==t&&(t=0),null==e&&(e=0),a[0]=t,a[1]=e,a}function n(t,e){return t[0]=e[0],t[1]=e[1],t}function r(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e}function o(t,e,i){return t[0]=e,t[1]=i,t}function s(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function c(t,e,i,a){return t[0]=e[0]+i[0]*a,t[1]=e[1]+i[1]*a,t}function l(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function d(t){return Math.sqrt(f(t))}var u=d;function f(t){return t[0]*t[0]+t[1]*t[1]}var h=f;function p(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function m(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function b(t,e){var i=d(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var y=_;function k(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var x=k;function w(t,e){return t[0]=-e[0],t[1]=-e[1],t}function C(t,e,i,a){return t[0]=e[0]+a*(i[0]-e[0]),t[1]=e[1]+a*(i[1]-e[1]),t}function S(t,e,i){var a=e[0],n=e[1];return t[0]=i[0]*a+i[2]*n+i[4],t[1]=i[1]*a+i[3]*n+i[5],t}function M(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function T(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.create=a,e.copy=n,e.clone=r,e.set=o,e.add=s,e.scaleAndAdd=c,e.sub=l,e.len=d,e.length=u,e.lenSquare=f,e.lengthSquare=h,e.mul=p,e.div=m,e.dot=v,e.scale=g,e.normalize=b,e.distance=_,e.dist=y,e.distanceSquare=k,e.distSquare=x,e.negate=w,e.lerp=C,e.applyTransform=S,e.min=M,e.max=T},"40cc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.checkInstalledApps$=void 0;var r=i("c6b3"),o="device.launcher.checkInstalledApps";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.checkInstalledApps$=a,e.default=a},"41ef":function(t,e,i){var a=i("d51b"),n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(t){return t=Math.round(t),t<0?0:t>255?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="<br/>"):(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;a<e.length;a++)if(e[a]&&(t=t&&"object"===typeof t?t[e[a]]:null,null==t))break;return null==t&&i&&(t=i.get(e)),t}function b(t,e){var i=m(t).getParent;return i?i.call(t,e):t.parentModel}v.prototype={constructor:v,init:null,mergeOption:function(t){a.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:g(this.option,this.parsePath(t),!e&&b(this,t))},getShallow:function(t,e){var i=this.option,a=null==i?i:i[t],n=!e&&b(this,t);return null==a&&n&&(a=n.getShallow(t)),a},getModel:function(t,e){var i,a=null==t?this.option:g(this.option,t=this.parsePath(t));return e=e||(i=b(this,t))&&i.getModel(t),new v(a,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var t=this.constructor;return new t(a.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"===typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){m(this).getParent=t},isAnimationEnabled:function(){if(!n.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},c(v),l(v),p(v,d),p(v,u),p(v,f),p(v,h);var _=v;t.exports=_},4436:function(t,e,i){var a=i("74cb");function n(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}n.prototype={constructor:n,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var n=this.easing,r="string"===typeof n?a[n]:n,o="function"===typeof r?r(i):i;return this.fire("frame",o),1===i?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var r=n;t.exports=r},"449a":function(t,e,i){"use strict";i("7c06")},"44bb":function(t,e,i){"use strict";var a=this&&this.__createBinding||(Object.create?function(t,e,i,a){void 0===a&&(a=i),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[i]}})}:function(t,e,i,a){void 0===a&&(a=i),t[a]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||a(e,t,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(i("5f9e"),e),n(i("1915"),e),n(i("8ebb"),e),n(i("2adc"),e),n(i("7d79"),e),n(i("9dd2"),e)},"44e2":function(t,e,i){"use strict";i("058c")},4573:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,a=e.cy,n=2*Math.PI;t.moveTo(i+e.r,a),t.arc(i,a,e.r,0,n,!1),t.moveTo(i+e.r0,a),t.arc(i,a,e.r0,0,n,!0)}});t.exports=n},4577: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-events"},[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",[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:"content-wrapper"},[e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"header"},[e("span",{staticClass:"title"},[t._v("项目日程")]),e("div",{staticClass:"header-actions"},[e("a-button",{attrs:{icon:"plus",type:"primary"},on:{click:function(e){return t.rowClick(null,"add")}}},[t._v("新建日程")])],1)]),e("div",{staticClass:"list-content"},[e("a-list",{attrs:{loading:t.loading}},[t._l(t.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 text-grey"},[e("div",{staticClass:"text-center"},[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"}},[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 m-t 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)],2)])]),e("div",{staticClass:"other-info muted"}),i.created_by==t.currentMemberCode?[e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.rowClick(i,"edit",a)}},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.rowClick(i,"del",a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"取消日程"}},[e("a-icon",{attrs:{type:"delete"}})],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()],2)],1)])])]),e("a-modal",{staticClass:"v-field-form vertical-modal",attrs:{destroyOnClose:"",maskClosable:!1,title:t.actionInfo.modalTitle,confirmLoading:t.submitting,width:600},on:{ok:t.handleSubmit},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[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:""},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)],1)},n=[],r=(i("8e6e"),i("456d"),i("7514"),i("96cf"),i("1da1")),o=i("ade3"),s=(i("ac6a"),i("c1df")),c=i.n(s),l=i("24d2"),d=i("4200"),u=i("2f14"),f=i("b39f"),h=i("1b80"),p=i("f8c7"),m=i("9f5d");function v(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 g(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?v(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var b={name:"project-space-events",mixins:[h["a"]],data:function(){return{moment:c.a,currentMemberCode:this.$store.state.userInfo.code,code:this.$route.params.code,loading:!0,showLoadingMore:!1,loadingMore:!1,project:{task_board_theme:"simple"},currentFileIndex:{},eventList:[],submitting:!1,projectList:[],projectMemberList:[],actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"新建日程",okText:"确定",cancelText:"放弃"},formData:{id:0,title:void 0,description:void 0,begin_time:null,end_time:null,all_day:!1,project_code:this.$route.params.code,position:void 0,member_list:[]},rules:{title:[{required:!0,message:"请选择必填项",trigger:"blur"}],project_code:[{required:!0,message:"请选择必填项",trigger:"blur"}],begin_time:[{required:!0,message:"请选择开始时间",trigger:"change"}],end_time:[{required:!0,message:"请选择结束时间",trigger:"change"}]}}},components:{projectSelect:p["a"]},computed:{},watch:{},created:function(){this.init(),this.formData.member_list.push(this.currentMemberCode),this.getProject(),this.getProjectList(),this.getProjectMemberList()},mounted:function(){},methods:{getProject:function(){var t=this;this.loading=!0,Object(l["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data,t.$store.dispatch("setTempData",{projectCode:t.project.code})}))},getProjectMemberList:function(){var t=this;Object(m["d"])({projectCode:this.code,pageSize:300}).then((function(e){t.projectMemberList=e.data.list}))},getProjectList:function(){var t=this;Object(l["l"])({archive:0,pageSize:300}).then((function(e){t.projectList=e.data.list}))},init:function(){var t=this,e=!(arguments.length>0&&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&&t<c}function v(t){return t>c||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<C&&(b=S,C=k);C=1/0;for(var M=0;M<32;M++){if(w<l)break;_=b-w,y=b+w,h[0]=g(t,i,n,c,_),h[1]=g(e,a,o,d,_),k=r(h,f),_>=0&&k<C?(b=_,C=k):(p[0]=g(t,i,n,c,y),p[1]=g(e,a,o,d,y),x=r(p,f),y<=1&&x<C?(b=y,C=x):w*=.5)}return v&&(v[0]=g(t,i,n,c,b),v[1]=g(e,a,o,d,b)),s(C)}function w(t,e,i,a){var n=1-a;return n*(n*t+2*a*e)+a*a*i}function C(t,e,i,a){return 2*((1-a)*(e-t)+a*(i-e))}function S(t,e,i,a,n){var r=t-2*e+i,o=2*(e-t),c=t-a,l=0;if(m(r)){if(v(o)){var d=-c/o;d>=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);_<g&&(m=b,g=_)}g=1/0;for(var y=0;y<32;y++){if(v<l)break;var k=m-v,x=m+v;h[0]=w(t,i,n,k),h[1]=w(e,a,o,k);_=r(h,f);if(k>=0&&_<g)m=k,g=_;else{p[0]=w(t,i,n,x),p[1]=w(e,a,o,x);var C=r(p,f);x<=1&&C<g?(m=x,g=C):v*=.5}}return u&&(u[0]=w(t,i,n,m),u[1]=w(e,a,o,m)),s(g)}e.cubicAt=g,e.cubicDerivativeAt=b,e.cubicRootAt=_,e.cubicExtrema=y,e.cubicSubdivide=k,e.cubicProjectPoint=x,e.quadraticAt=w,e.quadraticDerivativeAt=C,e.quadraticRootAt=S,e.quadraticExtremum=M,e.quadraticSubdivide=T,e.quadraticProjectPoint=P},"4a9d":function(t,e,i){var a=i("dcb3"),n=i("ff2e"),r=i("0156"),o=i("6679"),s=a.extend({makeElOption:function(t,e,i,a,o){var s=i.axis,d=s.grid,u=a.get("type"),f=c(d,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(e,!0));if(u&&"none"!==u){var p=n.buildElStyle(a),m=l[u](s,h,f);m.style=p,t.graphicKey=m.type,t.pointer=m}var v=r.layout(d.model,i);n.buildCartesianSingleLabelElOption(e,t,v,i,a,o)},getHandleTransform:function(t,e,i){var a=r.layout(e.axis.grid.model,e,{labelInside:!1});return a.labelMargin=i.get("handle.margin"),{position:n.getTransformedPosition(e.axis,t,a),rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,a){var n=i.axis,r=n.grid,o=n.getGlobalExtent(!0),s=c(r,n).getOtherAxis(n).getGlobalExtent(),l="x"===n.dim?0:1,d=t.position;d[l]+=e[l],d[l]=Math.min(o[1],d[l]),d[l]=Math.max(o[0],d[l]);var u=(s[1]+s[0])/2,f=[u,u];f[l]=d[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{position:d,rotation:t.rotation,cursorPoint:f,tooltipOption:h[l]}}});function c(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var l={line:function(t,e,i){var a=n.makeLineShape([e,i[0]],[e,i[1]],d(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,e,i){var a=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:n.makeRectShape([e-a/2,i[0]],[a,r],d(t))}}};function d(t){return"x"===t.dim?0:1}o.registerAxisPointerClass("CartesianAxisPointer",s);var u=s;t.exports=u},"4aa2":function(t,e,i){var a=i("cbe5"),n=i("897a"),r=a.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n(a.prototype.brush),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=e.startAngle,s=e.endAngle,c=e.clockwise,l=Math.cos(o),d=Math.sin(o);t.moveTo(l*n+i,d*n+a),t.lineTo(l*r+i,d*r+a),t.arc(i,a,r,o,s,!c),t.lineTo(Math.cos(s)*n+i,Math.sin(s)*n+a),0!==n&&t.arc(i,a,n,s,o,c),t.closePath()}});t.exports=r},"4b3b":function(t,e,i){var a={"./":"1e4b","./account/setting/base":"0e36","./account/setting/base.vue":"0e36","./account/setting/security":"b2d4","./account/setting/security.vue":"b2d4","./common/calendar":"37a7","./common/calendar.vue":"37a7","./common/forgot":"f2a1","./common/forgot.vue":"f2a1","./common/inviteFromLink":"6e0f","./common/inviteFromLink.vue":"6e0f","./datav":"1d72","./datav/":"1d72","./datav/index":"1d72","./datav/index.vue":"1d72","./error/403":"7fa2","./error/403.vue":"7fa2","./error/404":"2754","./error/404.vue":"2754","./error/500":"b3ff","./error/500.vue":"b3ff","./error/install":"fef1","./error/install.vue":"fef1","./home":"7abe","./home/":"7abe","./home/index":"7abe","./home/index.vue":"7abe","./index":"1e4b","./index.vue":"1e4b","./member/Register":"5287","./member/Register.vue":"5287","./member/forgot":"1c8d","./member/forgot.vue":"1c8d","./member/login":"067f","./member/login.vue":"067f","./members":"5f44","./members/":"5f44","./members/index":"5f44","./members/index.vue":"5f44","./members/profile":"e8f5","./members/profile.vue":"e8f5","./notify/notice":"3aa8","./notify/notice.vue":"3aa8","./notify/system":"207a","./notify/system.vue":"207a","./organization":"f52b","./organization/":"f52b","./organization/index":"f52b","./organization/index.vue":"f52b","./project/analysis":"e547","./project/analysis/":"e547","./project/analysis/index":"e547","./project/analysis/index.vue":"e547","./project/archive":"3af1","./project/archive/":"3af1","./project/archive/index":"3af1","./project/archive/index.vue":"3af1","./project/list":"3bea","./project/list/":"3bea","./project/list/index":"3bea","./project/list/index.vue":"3bea","./project/recycle":"beef","./project/recycle/":"beef","./project/recycle/index":"beef","./project/recycle/index.vue":"beef","./project/space":"e13c","./project/space/":"e13c","./project/space/copy":"9bef","./project/space/copy.vue":"9bef","./project/space/events":"4577","./project/space/events.vue":"4577","./project/space/features":"37fa","./project/space/features.vue":"37fa","./project/space/files":"6938","./project/space/files.vue":"6938","./project/space/index":"e13c","./project/space/index.vue":"e13c","./project/space/overview":"3885","./project/space/overview.vue":"3885","./project/space/task":"d96ec","./project/space/task.vue":"d96ec","./project/space/taskadd":"f561","./project/space/taskadd.vue":"f561","./project/space/taskdetail":"d0e1","./project/space/taskdetail.vue":"d0e1","./project/space/taskdetailcopy":"d1be","./project/space/taskdetailcopy.vue":"d1be","./project/template":"19ed","./project/template/":"19ed","./project/template/index":"19ed","./project/template/index.vue":"19ed","./project/template/taskStages":"4cf1","./project/template/taskStages.vue":"4cf1","./reset/email":"c0d8","./reset/email.vue":"c0d8","./system/account":"42b4","./system/account/":"42b4","./system/account/apply":"3c97","./system/account/apply.vue":"3c97","./system/account/auth":"3288","./system/account/auth.vue":"3288","./system/account/index":"42b4","./system/account/index.vue":"42b4","./system/config/menu":"fd72","./system/config/menu.vue":"fd72","./system/config/node":"d990","./system/config/node.vue":"d990"};function n(t){var e=r(t);return i(e)}function r(t){if(!i.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=r,t.exports=n,n.id="4b3b"},"4c7e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.vibrate$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.vibrate",c=(0,o.genDefaultParamsDealFn)({duration:300});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.vibrate$=a,e.default=a},"4cbb":function(t,e,i){"use strict";function a(t,e){var i=null;return function(){var a=this,n=arguments;clearTimeout(i),i=setTimeout((function(){t.apply(a,n)}),e)}}function n(t,e,i){var a=null,n=null;return function(){var r=this,o=arguments,s=Date.now();n||(n=s),s-n>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;e<arguments.length;e++){var i=arguments[e];for(var a in i)j(i,a)&&(t[a]=i[a])}return t};function A(t,e){if(t===e)return!0;if(null===t||null===e||"object"!==u(t)||"object"!==u(e))return t===e;for(var i in t)if(j(t,i)){var a=t[i],n=e[i],r=u(a);if("undefined"===u(n))return!1;if("object"===r){if(!A(a,n))return!1}else if(a!==n)return!1}for(var o in e)if(j(e,o)&&"undefined"===u(t)[o])return!1;return!0}},"4cf1":function(t,e,i){"use strict";i.r(e);i("55dd"),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("div",{staticClass:"action"},[e("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:function(e){return t.doAction(null,"new")}}},[t._v("添加任务")])],1),e("h3",[t._v("「"+t._s(t.$route.query.name)+"」任务列表")]),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",{},[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),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.sort}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.name))])])],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",{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("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",{attrs:{help:"排序,值越大越靠前,默认0"}},[e("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["sort"],expression:"[\n 'sort',\n ]"}],staticStyle:{width:"100%"},attrs:{min:0,placeholder:"排序"}})],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("22b6");function o(t){return r["a"].post("project/task_stages_template",t)}function s(t){var e="project/task_stages_template/save";return t.code&&(e="project/task_stages_template/edit"),r["a"].post(e,t)}function c(t){return r["a"].post("project/task_stages_template/delete",{code:t})}var l=i("2f14"),d=i("1b80"),u={components:{},mixins:[d["a"]],data:function(){return{dataSource:[],loading:!0,showLoadingMore:!1,loadingMore:!1,currentTemplate:{},newData:{id:0},form:this.$form.createForm(this),searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑任务"}}},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.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<t.length;i++)t[i]&&t[i].label&&u.defaultEmphasis(t[i],"label",e)},getInitialData:function(){},appendData:function(t){var e=this.getRawData();e.appendData(t.data)},getData:function(t){var e=A(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return S(this).data},setData:function(t){var e=A(this);if(e){var i=e.context;i.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),i.outputData=t,e!==this.dataTask&&(i.data=t)}S(this).data=t},getSource:function(){return x(this)},getRawData:function(){return S(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,i,a){var r=this;a=a||"html";var o="html"===a?"<br/>":"\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":"<br/>":"",_=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<h;l++)t.lineTo(r[l][0],r[l][1])}i&&t.closePath()}}e.buildPath=r},"508f":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.navigateToMiniProgram$=void 0;var r=i("c6b3"),o="biz.navigation.navigateToMiniProgram";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.31"},n[r.ENV_ENUM.android]={vs:"5.1.31"},n)),e.navigateToMiniProgram$=a,e.default=a},5210:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.addToFloat$=void 0;var r=i("c6b3"),o="ui.multitask.addToFloat";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.0"},n[r.ENV_ENUM.android]={vs:"6.5.0"},n)),e.addToFloat$=a,e.default=a},"523e":function(t,e,i){"use strict";i("e4e9")},5287: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:"main user-layout-register"},[e._m(0),i("a-form",{ref:"formRegister",attrs:{autoFormCreate:function(e){t.form=e},id:"formRegister"}},[i("a-form-item",{attrs:{fieldDecoratorId:"email",fieldDecoratorOptions:{rules:[{required:!0,type:"email",message:"请输入邮箱地址"}],validateTrigger:["change","blur"]}}},[i("a-input",{attrs:{size:"large",type:"text",placeholder:"邮箱"}})],1),i("a-form-item",{attrs:{fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入姓名"}],validateTrigger:["change","blur"]}}},[i("a-input",{attrs:{size:"large",type:"text",placeholder:"姓名"}})],1),i("a-popover",{attrs:{placement:"rightTop",trigger:"click",visible:e.state.passwordLevelChecked}},[i("template",{slot:"content"},[i("div",{style:{width:"240px"}},[i("div",{class:["user-register",e.passwordLevelClass]},[e._v("强度:"),i("span",[e._v(e._s(e.passwordLevelName))])]),i("a-progress",{attrs:{percent:e.state.percent,showInfo:!1,strokeColor:e.passwordLevelColor}}),i("div",{staticStyle:{"margin-top":"10px"}},[i("span",[e._v("请至少输入 6 个字符。请不要使用容易被猜到的密码。")])])],1)]),i("a-form-item",{attrs:{fieldDecoratorId:"password",fieldDecoratorOptions:{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordLevel}],validateTrigger:["change","blur"]}}},[i("a-input",{attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"密码须至少6位,且区分大小写"},on:{click:e.handlePasswordInputClick}})],1)],2),i("a-form-item",{attrs:{fieldDecoratorId:"password2",fieldDecoratorOptions:{rules:[{required:!0,message:"至少6位密码,区分大小写"},{validator:this.handlePasswordCheck}],validateTrigger:["change","blur"]}}},[i("a-input",{attrs:{size:"large",type:"password",autocomplete:"false",placeholder:"再次确认您的密码"}})],1),i("a-form-item",{attrs:{fieldDecoratorId:"mobile",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入正确的手机号",pattern:/^1[3456789]\d{9}$/},{validator:this.handlePhoneCheck}],validateTrigger:["change","blur"]}}},[i("a-input",{attrs:{size:"large",placeholder:"11 位手机号"}},[i("a-select",{attrs:{slot:"addonBefore",size:"large",defaultValue:"+86"},slot:"addonBefore"},[i("a-select-option",{attrs:{value:"+86"}},[e._v("+86")])],1)],1)],1),i("a-row",{attrs:{gutter:16}},[i("a-col",{staticClass:"gutter-row",attrs:{span:16}},[i("a-form-item",{attrs:{fieldDecoratorId:"captcha",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入验证码"}],validateTrigger:"blur"}}},[i("a-input",{attrs:{size:"large",type:"text",placeholder:"验证码"}},[i("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"})],1)],1)],1),i("a-col",{staticClass:"gutter-row",attrs:{span:8}},[i("a-button",{staticClass:"getCaptcha",attrs:{size:"large",disabled:e.state.smsSendBtn},domProps:{textContent:e._s(e.state.smsSendBtn?e.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",{staticClass:"register-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:e.registerBtn,disabled:e.registerBtn},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[e._v("注册\n ")]),i("router-link",{staticClass:"login",attrs:{to:{name:"login"}}},[e._v("使用已有账户登录")])],1)],1)],1)},n=[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:"Register",components:{},data:function(){return{form:null,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:{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()},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;r<a.length;r++){if(void 0===n[r])return!1;if(a[r]<n[r])return!1;if(a[r]>n[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;v<u.length;v++){var g=h.get(u[v].tickValue);if(null!=g){m=(g+(f-1)*v)%f;break}}var b=o.toGlobalCoord(u[0].coord),_=c.getAreaStyle();l=a.isArray(l)?l:[l];for(v=1;v<u.length;v++){var y,k,x,w,C=o.toGlobalCoord(u[v].coord);o.isHorizontal()?(y=b,k=d.y,x=C-y,w=d.height,b=y+x):(y=d.x,k=b,x=d.width,w=C-k,b=k+w);var S=u[v-1].tickValue;null!=S&&p.set(S,m),e.add(new n.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:k,width:x,height:w},style:a.defaults({fill:l[m]},_),silent:!0})),m=(m+1)%f}t.__splitAreaColors=p}}}function o(t){t.__splitAreaColors=null}e.rectCoordAxisBuildSplitArea=r,e.rectCoordAxisHandleRemove=o},"5a70":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="device.geolocation.get";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.get$=a,e.default=a},"5aa9":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.isObject,o=n.each,s=n.map,c=n.indexOf,l=(n.retrieve,i("f934")),d=l.getLayoutRect,u=i("697e"),f=u.createScaleByModel,h=u.ifAxisCrossZero,p=u.niceScaleExtent,m=u.estimateLabelUnionRect,v=i("cbe9"),g=i("ec02"),b=i("2039"),_=i("ee1a"),y=_.getStackedDimension;function k(t,e,i){return t.getCoordSysModel()===e}function x(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}i("8ed2");var w=x.prototype;function C(t,e,i,a){i.getAxesOnZeroOf=function(){return n?[n]:[]};var n,r=t[e],o=i.model,s=o.get("axisLine.onZero"),c=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=c)S(r[c])&&(n=r[c]);else for(var l in r)if(r.hasOwnProperty(l)&&S(r[l])&&!a[d(r[l])]){n=r[l];break}n&&(a[d(n)]=!0)}function d(t){return t.dim+"_"+t.index}}function S(t){return t&&"category"!==t.type&&"time"!==t.type&&h(t)}function M(t,e){var i=t.getExtent(),a=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return a-t+e}}w.type="grid",w.axisPointerEnabled=!0,w.getRect=function(){return this._rect},w.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),o(i.x,(function(t){p(t.scale,t.model)})),o(i.y,(function(t){p(t.scale,t.model)}));var a={};o(i.x,(function(t){C(i,"y",t,a)})),o(i.y,(function(t){C(i,"x",t,a)})),this.resize(this.model,e)},w.resize=function(t,e,i){var a=d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=a;var n=this._axesList;function r(){o(n,(function(t){var e=t.isHorizontal(),i=e?[0,a.width]:[0,a.height],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),M(t,e?a.x:a.y)}))}r(),!i&&t.get("containLabel")&&(o(n,(function(t){if(!t.model.get("axisLabel.inside")){var e=m(t);if(e){var i=t.isHorizontal()?"height":"width",n=t.model.get("axisLabel.margin");a[i]-=e[i]+n,"top"===t.position?a.y+=e.height+n:"left"===t.position&&(a.x+=e.width+n)}}})),r())},w.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var a in i)if(i.hasOwnProperty(a))return i[a];return i[e]}},w.getAxes=function(){return this._axesList.slice()},w.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}r(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,n=this._coordsList;a<n.length;a++)if(n[a].getAxis("x").index===t||n[a].getAxis("y").index===e)return n[a]},w.getCartesians=function(){return this._coordsList.slice()},w.convertToPixel=function(t,e,i){var a=this._findConvertTarget(t,e);return a.cartesian?a.cartesian.dataToPoint(i):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(i)):null},w.convertFromPixel=function(t,e,i){var a=this._findConvertTarget(t,e);return a.cartesian?a.cartesian.pointToData(i):a.axis?a.axis.coordToData(a.axis.toLocalCoord(i)):null},w._findConvertTarget=function(t,e){var i,a,n=e.seriesModel,r=e.xAxisModel||n&&n.getReferringComponents("xAxis")[0],o=e.yAxisModel||n&&n.getReferringComponents("yAxis")[0],s=e.gridModel,l=this._coordsList;if(n)i=n.coordinateSystem,c(l,i)<0&&(i=null);else if(r&&o)i=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)a=this.getAxis("x",r.componentIndex);else if(o)a=this.getAxis("y",o.componentIndex);else if(s){var d=s.coordinateSystem;d===this&&(i=this._coordsList[0])}return{cartesian:i,axis:a}},w.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},w._initCartesian=function(t,e,i){var a={left:!1,right:!1,top:!1,bottom:!1},n={x:{},y:{}},r={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!r.x||!r.y)return this._axesMap={},void(this._axesList=[]);function s(i){return function(o,s){if(k(o,t,e)){var c=o.get("position");"x"===i?"top"!==c&&"bottom"!==c&&(c=a.bottom?"top":"bottom"):"left"!==c&&"right"!==c&&(c=a.left?"right":"left"),a[c]=!0;var l=new g(i,f(o),[0,0],o.get("type"),c),d="category"===l.type;l.onBand=d&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.grid=this,l.index=s,this._axesList.push(l),n[i][s]=l,r[i]++}}}this._axesMap=n,o(n.x,(function(e,i){o(n.y,(function(a,n){var r="x"+i+"y"+n,o=new v(r);o.grid=this,o.model=t,this._coordsMap[r]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(a)}),this)}),this)},w._updateScale=function(t,e){function i(t,e,i){o(t.mapDimension(e.dim,!0),(function(i){e.scale.unionExtentFromData(t,y(t,i))}))}o(this._axesList,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeries((function(a){if(I(a)){var n=P(a,t),r=n[0],o=n[1];if(!k(r,e,t)||!k(o,e,t))return;var s=this.getCartesian(r.componentIndex,o.componentIndex),c=a.getData(),l=s.getAxis("x"),d=s.getAxis("y");"list"===c.type&&(i(c,l,a),i(c,d,a))}}),this)},w.getTooltipAxes=function(t){var e=[],i=[];return o(this.getCartesians(),(function(a){var n=null!=t&&"auto"!==t?a.getAxis(t):a.getBaseAxis(),r=a.getOtherAxis(n);c(e,n)<0&&e.push(n),c(i,r)<0&&i.push(r)})),{baseAxes:e,otherAxes:i}};var T=["xAxis","yAxis"];function P(t,e){return s(T,(function(e){var i=t.getReferringComponents(e)[0];return i}))}function I(t){return"cartesian2d"===t.get("coordinateSystem")}x.create=function(t,e){var i=[];return t.eachComponent("grid",(function(a,n){var r=new x(a,t,e);r.name="grid_"+n,r.resize(a,e,!0),a.coordinateSystem=r,i.push(r)})),t.eachSeries((function(e){if(I(e)){var i=P(e,t),a=i[0],n=i[1],r=a.getCoordSysModel(),o=r.coordinateSystem;e.coordinateSystem=o.getCartesian(a.componentIndex,n.componentIndex)}})),i},x.dimensions=x.prototype.dimensions=v.prototype.dimensions,b.register("cartesian2d",x);var O=x;t.exports=O},"5ab3":function(t,e,i){"use strict";i("75b8")},"5b92":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="media.voiceRecorder.resume";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.resume$=a,e.default=a},"5c02":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.rotateView$=void 0;var r=i("c6b3"),o="device.screen.rotateView";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.rotateView$=a,e.default=a},"5c51":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i("e1b9"),i("8e36"),i("47fe")},"5d8d":function(t,e,i){"use strict";i("6ba0")},"5dc6":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseInterval$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseInterval";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.chooseInterval$=a,e.default=a},"5e24":function(t,e,i){},"5e68":function(t,e,i){var a=i("6d8b"),n=i("2cf4"),r=n.devicePixelRatio,o=i("2b61"),s=i("dc2f");function c(){return!1}function l(t,e,i){var n=a.createCanvas(),r=e.getWidth(),o=e.getHeight(),s=n.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=r*i,n.height=o*i,n}var d=function(t,e,i){var n;i=i||r,"string"===typeof t?n=l(t,e,i):a.isObject(t)&&(n=t,t=n.id),this.id=t,this.dom=n;var o=n.style;o&&(n.onselectstart=c,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o["padding"]=0,o["margin"]=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};d.prototype={constructor:d,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,a=this.dom,n=a.style,r=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),a.width=t*i,a.height=e*i,r&&(r.width=t*i,r.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,a=this.dom,n=this.ctx,r=a.width,c=a.height,l=(e=e||this.clearColor,this.motionBlur&&!t),d=this.lastFrameAlpha,u=this.dpr;(l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,r/u,c/u)),n.clearRect(0,0,r,c),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||o.getGradient(n,e,{x:0,y:0,width:r,height:c}),e.__canvasGradient=i):e.image&&(i=s.prototype.getCanvasPattern.call(e,n)),n.save(),n.fillStyle=i||e,n.fillRect(0,0,r,c),n.restore());if(l){var f=this.domBack;n.save(),n.globalAlpha=d,n.drawImage(f,0,0,r,c),n.restore()}}};var u=d;t.exports=u},"5e76":function(t,e,i){var a=i("d51b"),n=new a(50);function r(t){if("string"===typeof t){var e=n.get(t);return e&&e.image}return t}function o(t,e,i,a,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=n.get(t),l={hostEl:i,cb:a,cbPayload:r};return o?(e=o.image,!c(e)&&o.pending.push(l)):(e=new Image,e.onload=e.onerror=s,n.put(t,e.__cachedImgObj={image:e,pending:[l]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],a=i.cb;a&&a(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function c(t){return t&&t.width&&t.height}e.findExistImage=r,e.createOrUpdateImage=o,e.isImageReady=c},"5e97":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("3eba")),r=i("6d8b"),o=i("a15a"),s=o.createSymbol,c=i("2306"),l=i("7919"),d=l.makeBackground,u=i("f934"),f=r.curry,h=r.each,p=c.Group,m=n.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var n=t.get("align"),o=t.get("orient");n&&"auto"!==n||(n="right"===t.get("left")&&"vertical"===o?"right":"left");var s=t.get("selector",!0),c=t.get("selectorPosition",!0);!s||c&&"auto"!==c||(c="horizontal"===o?"end":"start"),this.renderInner(n,t,e,i,s,o,c);var l=t.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},h=t.get("padding"),p=u.getLayoutRect(l,f,h),m=this.layoutInner(t,n,p,a,s,c),v=u.getLayoutRect(r.defaults({width:m.width,height:m.height},l),f,h);this.group.attr("position",[v.x-m.x,v.y-m.y]),this.group.add(this._backgroundEl=d(m,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,i,a,n,o,s){var c=this.getContentGroup(),l=r.createHashMap(),d=e.get("selectedMode"),u=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&u.push(t.id)})),h(e.getData(),(function(n,r){var o=n.get("name");if(this.newlineDisabled||""!==o&&"\n"!==o){var s=i.getSeriesByName(o)[0];if(!l.get(o))if(s){var h=s.getData(),m=h.getVisual("color"),v=h.getVisual("borderColor");"function"===typeof m&&(m=m(s.getDataParams(0))),"function"===typeof v&&(v=v(s.getDataParams(0)));var y=h.getVisual("legendSymbol")||"roundRect",k=h.getVisual("symbol"),x=this._createItem(o,r,n,e,y,k,t,m,v,d);x.on("click",f(g,o,null,a,u)).on("mouseover",f(b,s.name,null,a,u)).on("mouseout",f(_,s.name,null,a,u)),l.set(o,!0)}else i.eachRawSeries((function(i){if(!l.get(o)&&i.legendVisualProvider){var s=i.legendVisualProvider;if(!s.containName(o))return;var c=s.indexOfName(o),h=s.getItemVisual(c,"color"),p=s.getItemVisual(c,"borderColor"),m="roundRect",v=this._createItem(o,r,n,e,m,null,t,h,p,d);v.on("click",f(g,null,o,a,u)).on("mouseover",f(b,null,o,a,u)).on("mouseout",f(_,null,o,a,u)),l.set(o,!0)}}),this)}else c.add(new p({newline:!0}))}),this),n&&this._createSelector(n,e,a,o,s)},_createSelector:function(t,e,i,a,n){var r=this.getSelectorGroup();function o(t){var a=t.type,n=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===a?"legendAllSelect":"legendInverseSelect"})}});r.add(n);var o=e.getModel("selectorLabel"),s=e.getModel("emphasis.selectorLabel");c.setLabelStyle(n.style,n.hoverStyle={},o,s,{defaultText:t.title,isRectText:!1}),c.setHoverStyle(n)}h(t,(function(t){o(t)}))},_createItem:function(t,e,i,a,n,o,l,d,u,f){var h=a.get("itemWidth"),m=a.get("itemHeight"),g=a.get("inactiveColor"),b=a.get("inactiveBorderColor"),_=a.get("symbolKeepAspect"),y=a.getModel("itemStyle"),k=a.isSelected(t),x=new p,w=i.getModel("textStyle"),C=i.get("icon"),S=i.getModel("tooltip"),M=S.parentModel;n=C||n;var T=s(n,0,0,h,m,k?d:g,null==_||_);if(x.add(v(T,n,y,u,b,k)),!C&&o&&(o!==n||"none"===o)){var P=.8*m;"none"===o&&(o="circle");var I=s(o,(h-P)/2,(m-P)/2,P,P,k?d:g,null==_||_);x.add(v(I,o,y,u,b,k))}var O="left"===l?h+5:-5,E=l,j=a.get("formatter"),D=t;"string"===typeof j&&j?D=j.replace("{name}",null!=t?t:""):"function"===typeof j&&(D=j(t)),x.add(new c.Text({style:c.setTextStyle({},w,{text:D,x:O,y:m/2,textFill:k?w.getTextColor():g,textAlign:E,textVerticalAlign:"middle"})}));var A=new c.Rect({shape:x.getBoundingRect(),invisible:!0,tooltip:S.get("show")?r.extend({content:t,formatter:M.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:a.componentIndex,name:t,$vars:["name"]}},S.option):null});return x.add(A),x.eachChild((function(t){t.silent=!0})),A.silent=!f,this.getContentGroup().add(x),c.setHoverStyle(x),x.__legendDataIndex=e,x},layoutInner:function(t,e,i,a,n,r){var o=this.getContentGroup(),s=this.getSelectorGroup();u.box(t.get("orient"),o,t.get("itemGap"),i.width,i.height);var c=o.getBoundingRect(),l=[-c.x,-c.y];if(n){u.box("horizontal",s,t.get("selectorItemGap",!0));var d=s.getBoundingRect(),f=[-d.x,-d.y],h=t.get("selectorButtonGap",!0),p=t.getOrient().index,m=0===p?"width":"height",v=0===p?"height":"width",g=0===p?"y":"x";"end"===r?f[p]+=c[m]+h:l[p]+=d[m]+h,f[1-p]+=c[v]/2-d[v]/2,s.attr("position",f),o.attr("position",l);var b={x:0,y:0};return b[m]=c[m]+h+d[m],b[v]=Math.max(c[v],d[v]),b[g]=Math.min(0,d[g]+f[1-p]),b}return o.attr("position",l),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function v(t,e,i,a,n,r){var o;return"line"!==e&&e.indexOf("empty")<0?(o=i.getItemStyle(),t.style.stroke=a,r||(o.stroke=n)):o=i.getItemStyle(["borderWidth","borderColor"]),t.setStyle(o)}function g(t,e,i,a){_(t,e,i,a),i.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),b(t,e,i,a)}function b(t,e,i,a){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:a})}function _(t,e,i,a){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:a})}t.exports=m},"5f16":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.preload$=void 0;var r=i("c6b3"),o="ui.nav.preload";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.preload$=a,e.default=a},"5f44":function(t,e,i){"use strict";i.r(e);i("7f7f"),i("6b54");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"members-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:"搜索"},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:"menus"},[e("a-menu",{attrs:{mode:"inline"},on:{click:t.getMembers},model:{value:t.selectedKeys,callback:function(e){t.selectedKeys=e},expression:"selectedKeys"}},t._l(t.menus,(function(i,a){return e("a-menu-item",{key:a.toString()},[e("a-icon",{attrs:{type:i.icon}}),e("span",[t._v(t._s(i.title))])],1)})),1)],1),e("div",{staticClass:"content-item muted"},[t._v("部门")]),e("div",{staticClass:"actions content-item"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.showCreateDepartment,callback:function(e){t.showCreateDepartment=e},expression:"showCreateDepartment"}},[e("a",[e("a-icon",{style:{fontSize:"14px"},attrs:{type:"plus-circle"}}),t._v("\n 创建部门")],1),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.showCreateDepartment?e("create-department",{on:{update:t.createDepartmentSuccess}}):t._e()],1)]),e("a",[e("a-icon",{attrs:{type:"bars"}}),t._v("\n 部门排序*")],1)],1),e("div",{staticClass:"content-item department"},[e("a-spin",{attrs:{spinning:t.departmentLoading}},[e("a-tree",{attrs:{loadData:t.onLoadData,treeData:t.treeData,showIcon:""},on:{select:t.onSelect},scopedSlots:t._u([{key:"custom",fn:function(t){t.selected;return[e("a-icon",{attrs:{type:"bulb"}})]}}])})],1)],1)])]),e("div",{staticClass:"layout-item right"},[e("div",{staticClass:"header"},[e("div",{staticClass:"title"},[e("span",[t._v(t._s(t.currentMenu.title)+" · "+t._s(t.pagination.total))])]),e("div",{staticClass:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a",{staticClass:"ant-dropdown-link",attrs:{href:"#"}},[e("a-icon",{attrs:{type:"user-add"}}),t._v("\n 添加成员\n ")],1),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",[e("a",{attrs:{href:"javascript:;"},on:{click:function(e){t.showInviteMember=!0}}},[e("a-icon",{attrs:{type:"user-add"}}),t._v("\n 通过邮箱邀请\n ")],1)]),e("a-menu-divider"),e("a-menu-item",[e("a",{staticClass:"m-l",attrs:{href:t.downLoadUrl,target:"_blank"}},[e("a-icon",{attrs:{type:"copy"}}),t._v("\n 下载批量导入成员模板\n ")],1)]),e("a-menu-item",[e("a-upload",{attrs:{name:"file",showUploadList:!1,action:t.uploadAction,beforeUpload:t.beforeUpload,headers:t.headers},on:{change:t.handleChange}},[e("a",{staticClass:"text-default",attrs:{loading:t.uploadLoading,disabled:t.uploadLoading}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.uploadLoading,expression:"!uploadLoading"}],attrs:{type:"upload"}}),t._v("\n 上传文件批量导入成员\n ")],1)])],1)],1)],1),t.currentDepartmentCode?[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.showCreateChildDepartment,callback:function(e){t.showCreateChildDepartment=e},expression:"showCreateChildDepartment"}},[e("a",[e("a-icon",{style:{fontSize:"14px"},attrs:{type:"plus-circle"}}),t._v("\n 创建子部门")],1),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.showCreateChildDepartment?e("create-department",{attrs:{parentDepartmentCode:t.currentDepartmentCode},on:{update:t.createChildDepartmentSuccess}}):t._e()],1)]),e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.showEditDepartment,callback:function(e){t.showEditDepartment=e},expression:"showEditDepartment"}},[e("a",[e("a-icon",{style:{fontSize:"14px"},attrs:{type:"edit"}}),t._v("\n 编辑部门")],1),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[t.showEditDepartment?e("create-department",{attrs:{departmentCode:t.currentDepartmentCode},on:{edit:t.editDepartmentSuccess}}):t._e()],1)]),e("a",{on:{click:t.deleteDepartment}},[e("a-icon",{style:{fontSize:"14px"},attrs:{type:"delete"}}),t._v("\n 删除部门")],1)]:t._e()],2)]),e("div",{staticClass:"members-content"},[e("vue-scroll",{ref:"contentscroll"},[e("a-list",{staticClass:"member-list",attrs:{loading:t.loading}},[t.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[e("a-button",{on:{click:t.onLoadMore}},[t._v("加载更多")])],1):t._e(),t._l(t.members,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("router-link",{staticClass:"text-default",attrs:{to:"/members/profile/".concat(i.code)}},[t._v(t._s(i.name)+"\n ")]),i.is_owner?e("a-tag",{staticClass:"m-l-sm"},[t._v("拥有者")]):t._e(),i.is_liaison_man?e("a-tag",{staticClass:"m-l-sm"},[t._v(t._s(i.departments)+"联络员")]):t._e()],1),e("div",{attrs:{slot:"description"},slot:"description"},[e("span",[t._v(t._s(i.email)+"\n "),i.departments?e("span",[t._v(" - "+t._s(i.departments))]):t._e()])])],1),i.is_owner?t._e():[0==i.is_liaison_man?e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.setLiasionMan(i,0)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"设置为联络员"}},[e("a-icon",{attrs:{type:"usergroup-add"}})],1)],1):e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.setLiasionMan(i,1)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"取消联络员"}},[e("a-icon",{attrs:{type:"usergroup-delete"}})],1)],1),0==i.status?e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.resumeAccount(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"启用账号"}},[e("a-icon",{attrs:{type:"check-circle"}})],1)],1):t._e(),1==i.status?e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.forbidAccount(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"停用账号"}},[e("a-icon",{attrs:{type:"stop"}})],1)],1):t._e(),e("a",{staticClass:"muted",attrs:{slot:"actions"},on:{click:function(e){return t.deleteAccount(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"从".concat(t.actionTitle,"内移除")}},[e("a-icon",{attrs:{type:"user-delete"}})],1)],1)]],2)}))],2)],1)],1)]),t.showInviteMember?e("invite-department-member",{attrs:{"department-code":t.currentDepartmentCode},on:{update:t.getMembers},model:{value:t.showInviteMember,callback:function(e){t.showInviteMember=e},expression:"showInviteMember"}}):t._e()],1)},n=[];function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}function o(t){if(Array.isArray(t))return r(t)}function s(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function c(t,e){if(t){if("string"===typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(t){return o(t)||s(t)||c(t)||l()}i("ac6a"),i("386d");var u=i("2ef0"),f=i.n(u),h=(i("b54a"),function(){var t=this,e=t._self._c;return e("div",[e("a-modal",{staticClass:"invite-department-member",attrs:{width:360,title:t.actionInfo.modalTitle,footer:null},on:{cancel:t.cancel},model:{value:t.actionInfo.modalStatus,callback:function(e){t.$set(t.actionInfo,"modalStatus",e)},expression:"actionInfo.modalStatus"}},[e("div",{staticClass:"header"},[e("span",[t._v("账号邀请")]),t.departmentCode?t._e():e("a",{on:{click:t.createInviteLink}},[t._v("通过链接邀请")])]),e("div",{staticClass:"search-content"},[e("a-input",{attrs:{placeholder:"输入昵称或邮箱查找"},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),e("div",{staticClass:"member-list"},[e("a-list",{staticClass:"project-list",attrs:{itemLayout:"horizontal",loading:t.searching,dataSource:t.list,locale:{emptyText:t.keyword&&t.keyword.length>1?"没有搜索到相关成员":""}},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<t.length;o++){var s=t[o];n.isString(s)?s=new h({name:s}):s instanceof h||(s=new h(s));var c=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=c,s.coordDimIndex=0),s.otherDims=s.otherDims||{},a.push(c),i[c]=s,s.index=o,s.createInvertedIndices&&(r[c]=[])}this.dimensions=a,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=f(this),this._invertedIndicesMap=r,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},P=T.prototype;function I(t,e,i,a,n){var r=b[e.type],o=a-1,s=e.name,c=t[s][o];if(c&&c.length<i){for(var l=new r(Math.min(n-o*i,i)),d=0;d<c.length;d++)l[d]=c[d];t[s][o]=l}for(var u=a*i;u<n;u+=i)t[s].push(new r(Math.min(n-u,i)))}function O(t){var e=t._invertedIndicesMap;n.each(e,(function(i,a){var n=t._dimensionInfos[a],r=n.ordinalMeta;if(r){i=e[a]=new y(r.categories.length);for(var o=0;o<i.length;o++)i[o]=v;for(o=0;o<t._count;o++)i[t.get(a,o)]=o}}))}function E(t,e,i){var a;if(null!=e){var n=t._chunkSize,r=Math.floor(i/n),o=i%n,s=t.dimensions[e],c=t._storage[s][r];if(c){a=c[o];var l=t._dimensionInfos[s].ordinalMeta;l&&l.categories.length&&(a=l.categories[a])}}return a}function j(t){return t}function D(t){return t<this._count&&t>=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<i.length;s++){var c=i[s];o[c]&&(n.indexOf(e,c)>=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<t.length;i++)e[i]=w(t[i]);return e}function V(){return[1/0,-1/0]}P.type="list",P.hasItemOption=!0,P.getDimension=function(t){return"number"!==typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},P.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},P.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},P.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var a=i.encode[t];return!0===e?(a||[]).slice():a&&a[e]},P.initData=function(t,e,i){var a=s.isInstance(t)||n.isArrayLike(t);a&&(t=new d(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=l.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},P.getProvider=function(){return this._rawData},P.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var a=e.count();e.persistent||(a+=i),this._initDataFromProvider(i,a)},P.appendValues=function(t,e){for(var i=this._chunkSize,a=this._storage,n=this.dimensions,r=n.length,o=this._rawExtent,s=this.count(),c=s+Math.max(t.length,e?e.length:0),l=this._chunkCount,d=0;d<r;d++){var u=n[d];o[u]||(o[u]=V()),a[u]||(a[u]=[]),I(a,this._dimensionInfos[u],i,l,c),this._chunkCount=a[u].length}for(var f=new Array(r),h=s;h<c;h++){for(var p=h-s,m=Math.floor(h/i),v=h%i,g=0;g<r;g++){u=n[g];var b=this._dimValueGetterArrayRows(t[p]||f,u,p,g);a[u][m][v]=b;var _=o[u];b<_[0]&&(_[0]=b),b>_[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;p<s;p++){var m=o[p];u[m]||(u[m]=V());var v=c[m];0===v.otherDims.itemName&&(i=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),r[m]||(r[m]=[]),I(r,v,a,h,e),this._chunkCount=r[m].length}for(var g=new Array(s),b=t;b<e;b++){g=n.getItem(b,g);for(var _=Math.floor(b/a),y=b%a,k=0;k<s;k++){m=o[k];var x=r[m][_],w=this._dimValueGetter(g,m,b,k);x[y]=w;var C=u[m];w<C[0]&&(C[0]=w),w>C[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<i;a++)n[a]=t[a]}else n=new e(t.buffer,0,i)}else{e=x(this);var n=new e(this.count());for(a=0;a<n.length;a++)n[a]=a}return n},P.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var a=Math.floor(e/this._chunkSize),n=e%this._chunkSize,r=i[t][a],o=r[n];return o},P.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var a=Math.floor(e/this._chunkSize),n=e%this._chunkSize,r=i[a];return r[n]},P._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),a=e%this._chunkSize,n=this._storage[t][i];return n[a]},P.getValues=function(t,e){var i=[];n.isArray(t)||(e=t,t=this.dimensions);for(var a=0,r=t.length;a<r;a++)i.push(this.get(t[a],e));return i},P.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=0,a=e.length;i<a;i++)if(isNaN(this.get(e[i],t)))return!1;return!0},P.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],i=V();if(!e)return i;var a,n=this.count(),r=!this._indices;if(r)return this._rawExtent[t].slice();if(a=this._extent[t],a)return a.slice();a=i;for(var o=a[0],s=a[1],c=0;c<n;c++){var l=this._getFast(t,this.getRawIndex(c));l<o&&(o=l),l>s&&(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<n;a++){var r=this.get(t,a);isNaN(r)||(i+=r)}return i},P.getMedian=function(t){var e=[];this.each(t,(function(t,i){isNaN(t)||e.push(t)}));var i=[].concat(e).sort((function(t,e){return t-e})),a=this.count();return 0===a?0:a%2===1?i[(a-1)/2]:(i[a/2]+i[a/2-1])/2},P.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t],a=i[e];return null==a||isNaN(a)?v:a},P.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},P.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;var a=0,n=this._count-1;while(a<=n){var r=(a+n)/2|0;if(e[r]<t)a=r+1;else{if(!(e[r]>t))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<d;l++){var u=e-this.get(t,l),f=Math.abs(u);f<=i&&((f<o||f===o&&u>=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<this.dimensions.length;i++){var a=this.dimensions[i];e.push(this.get(a,t))}return e},P.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||E(this,this._nameDimIdx,e)||""},P.getId=function(t){return A(this,this.getRawIndex(t))},P.each=function(t,e,i,a){"use strict";if(this._count){"function"===typeof t&&(a=i,i=e,e=t,t=[]),i=i||a||this,t=n.map(N(t),this.getDimension,this);for(var r=t.length,o=0;o<this.count();o++)switch(r){case 0:e.call(i,o);break;case 1:e.call(i,this.get(t[0],o),o);break;case 2:e.call(i,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,c=[];s<r;s++)c[s]=this.get(t[s],o);c[s]=o,e.apply(i,c)}}},P.filterSelf=function(t,e,i,a){"use strict";if(this._count){"function"===typeof t&&(a=i,i=e,e=t,t=[]),i=i||a||this,t=n.map(N(t),this.getDimension,this);for(var r=this.count(),o=x(this),s=new o(r),c=[],l=t.length,d=0,u=t[0],f=0;f<r;f++){var h,p=this.getRawIndex(f);if(0===l)h=e.call(i,f);else if(1===l){var m=this._getFast(u,p);h=e.call(i,m,f)}else{for(var v=0;v<l;v++)c[v]=this._getFast(u,p);c[v]=f,h=e.apply(i,c)}h&&(s[d++]=p)}return d<r&&(this._indices=s),this._count=d,this._extent={},this.getRawIndex=this._indices?D:j,this}},P.selectRange=function(t){"use strict";if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var a=e.length;if(a){var n=this.count(),r=x(this),o=new r(n),s=0,c=e[0],l=t[c][0],d=t[c][1],u=!1;if(!this._indices){var f=0;if(1===a){for(var h=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var m=h[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),g=0;g<v;g++){var b=m[g];(b>=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<this._chunkCount;p++){m=h[p];var w=_[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),g=0;g<v;g++){b=m[g];var C=w[g];(b>=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<n;g++){var S=this.getRawIndex(g);b=this._getFast(c,S);(b>=l&&b<=d||isNaN(b))&&(o[s++]=S)}else for(g=0;g<n;g++){var M=!0;for(S=this.getRawIndex(g),p=0;p<a;p++){var T=e[p];b=this._getFast(i,S);(b<t[T][0]||b>t[T][1])&&(M=!1)}M&&(o[s++]=this.getRawIndex(g))}return s<n&&(this._indices=o),this._count=s,this._extent={},this.getRawIndex=this._indices?D:j,this}}},P.mapArray=function(t,e,i,a){"use strict";"function"===typeof t&&(a=i,i=e,e=t,t=[]),i=i||a||this;var n=[];return this.each(t,(function(){n.push(e&&e.apply(this,arguments))}),i),n},P.map=function(t,e,i,a){"use strict";i=i||a||this,t=n.map(N(t),this.getDimension,this);var r=L(this,t);r._indices=this._indices,r.getRawIndex=r._indices?D:j;for(var o=r._storage,s=[],c=this._chunkSize,l=t.length,d=this.count(),u=[],f=r._rawExtent,h=0;h<d;h++){for(var p=0;p<l;p++)u[p]=this.get(t[p],h);u[l]=h;var m=e&&e.apply(i,u);if(null!=m){"object"!==typeof m&&(s[0]=m,m=s);for(var v=this.getRawIndex(h),g=Math.floor(v/c),b=v%c,_=0;_<m.length;_++){var y=t[_],k=m[_],x=f[y],w=o[y];w&&(w[g][b]=k),k<x[0]&&(x[0]=k),k>x[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;p<l;p+=s){s>l-p&&(s=l-p,o.length=s);for(var m=0;m<s;m++){var v=this.getRawIndex(p+m),g=Math.floor(v/d),b=v%d;o[m]=c[g][b]}var _=i(o),y=this.getRawIndex(Math.min(p+a(o,_)||0,l-1)),k=Math.floor(y/d),w=y%d;c[k][w]=_,_<u[0]&&(u[0]=_),_>u[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;s<i;s++)o+=n(t[s-1],t[s]);var c=o/2;c=c<i?i:c;for(s=0;s<c;s++){var l,d,u,f=s/(c-1)*(e?i:i-1),h=Math.floor(f),p=f-h,m=t[h%i];e?(l=t[(h-1+i)%i],d=t[(h+1)%i],u=t[(h+2)%i]):(l=t[0===h?h:h-1],d=t[h>i-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<arguments.length;e++){var i=arguments[e];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t};function u(t,e){Object.keys(e).forEach((function(i){var a=e[i];~i.indexOf(".")?n.set(t,i,a):"function"===typeof a?t[i]=a(t[i]):n.isArray(t[i])&&n.isObject(t[i][0])?t[i].forEach((function(e,n){t[i][n]=d({},e,a)})):n.isObject(t[i])?t[i]=d({},t[i],a):t[i]=a}))}function f(t,e){Object.keys(e).forEach((function(i){e[i]&&(t[i]=e[i])}))}function h(t,e){Object.keys(e).forEach((function(i){t[i]=e[i]}))}var p={render:function(t){return t("div",{class:[n.camelToKebab(this.$options.name||this.$options._componentTag)],style:this.canvasStyle},[t("div",{style:this.canvasStyle,class:{"v-charts-mask-status":this.dataEmpty||this.loading},ref:"canvas"}),t(l,{style:{display:this.dataEmpty?"":"none"}}),t(c,{style:{display:this.loading?"":"none"}}),this.$slots.default])},props:{data:{type:[Object,Array],default:function(){return{}}},settings:{type:Object,default:function(){return{}}},width:{type:String,default:"auto"},height:{type:String,default:"400px"},beforeConfig:{type:Function},afterConfig:{type:Function},afterSetOption:{type:Function},afterSetOptionOnce:{type:Function},events:{type:Object},grid:{type:[Object,Array]},colors:{type:Array},tooltipVisible:{type:Boolean,default:!0},legendVisible:{type:Boolean,default:!0},legendPosition:{type:String},markLine:{type:Object},markArea:{type:Object},markPoint:{type:Object},visualMap:{type:[Object,Array]},dataZoom:{type:[Object,Array]},toolbox:{type:[Object,Array]},initOptions:{type:Object,default:function(){return{}}},title:[Object,Array],legend:[Object,Array],xAxis:[Object,Array],yAxis:[Object,Array],radar:Object,tooltip:Object,axisPointer:[Object,Array],brush:[Object,Array],geo:[Object,Array],timeline:[Object,Array],graphic:[Object,Array],series:[Object,Array],backgroundColor:[Object,String],textStyle:[Object,Array],animation:Object,theme:Object,themeName:String,loading:Boolean,dataEmpty:Boolean,extend:Object,judgeWidth:{type:Boolean,default:!1},widthChangeDelay:{type:Number,default:300},tooltipFormatter:{type:Function},resizeable:{type:Boolean,default:!0},resizeDelay:{type:Number,default:200},changeDelay:{type:Number,default:0},setOptionOpts:{type:[Boolean,Object],default:!0},cancelResizeCheck:Boolean,notSetUnchange:Array,log:Boolean},watch:{data:{deep:!0,handler:function(t){t&&this.changeHandler()}},settings:{deep:!0,handler:function(t){t.type&&this.chartLib&&(this.chartHandler=this.chartLib[t.type]),this.changeHandler()}},width:"nextTickResize",height:"nextTickResize",events:{deep:!0,handler:"createEventProxy"},theme:{deep:!0,handler:"themeChange"},themeName:"themeChange",resizeable:"resizeableHandler"},computed:{canvasStyle:function(){return{width:this.width,height:this.height,position:"relative"}},chartColor:function(){return this.colors||this.theme&&this.theme.color||s.DEFAULT_COLORS}},methods:{dataHandler:function(){if(this.chartHandler){var t=this.data,e=t,i=e.columns,a=void 0===i?[]:i,n=e.rows,r=void 0===n?[]:n,o={tooltipVisible:this.tooltipVisible,legendVisible:this.legendVisible,echarts:this.echarts,color:this.chartColor,tooltipFormatter:this.tooltipFormatter,_once:this._once};this.beforeConfig&&(t=this.beforeConfig(t));var s=this.chartHandler(a,r,this.settings,o);s&&("function"===typeof s.then?s.then(this.optionsHandler):this.optionsHandler(s))}},nextTickResize:function(){this.$nextTick(this.resize)},resize:function(){(this.cancelResizeCheck||this.$el&&this.$el.clientWidth&&this.$el.clientHeight)&&this.echartsResize()},echartsResize:function(){this.echarts&&this.echarts.resize()},optionsHandler:function(t){var e=this;if(this.legendPosition&&t.legend&&(t.legend[this.legendPosition]=10,~["left","right"].indexOf(this.legendPosition)&&(t.legend.top="middle",t.legend.orient="vertical")),t.color=this.chartColor,s.ECHARTS_SETTINGS.forEach((function(i){e[i]&&(t[i]=e[i])})),this.animation&&h(t,this.animation),this.markArea||this.markLine||this.markPoint){var i={markArea:this.markArea,markLine:this.markLine,markPoint:this.markPoint},a=t.series;n.isArray(a)?a.forEach((function(t){f(t,i)})):n.isObject(a)&&f(a,i)}this.extend&&u(t,this.extend),this.afterConfig&&(t=this.afterConfig(t));var o=this.setOptionOpts;!this.settings.bmap&&!this.settings.amap||n.isObject(o)||(o=!1),this.notSetUnchange&&this.notSetUnchange.length&&(this.notSetUnchange.forEach((function(i){var a=t[i];a&&(n.isEqual(a,e._store[i])?t[i]=void 0:e._store[i]=n.cloneDeep(a))})),n.isObject(o)?o.notMerge=!1:o=!1),this._isDestroyed||(this.log&&console.log(t),this.echarts.setOption(t,o),this.$emit("ready",this.echarts,t,r),this._once["ready-once"]||(this._once["ready-once"]=!0,this.$emit("ready-once",this.echarts,t,r)),this.judgeWidth&&this.judgeWidthHandler(t),this.afterSetOption&&this.afterSetOption(this.echarts,t,r),this.afterSetOptionOnce&&!this._once["afterSetOptionOnce"]&&(this._once["afterSetOptionOnce"]=!0,this.afterSetOptionOnce(this.echarts,t,r)))},judgeWidthHandler:function(t){var e=this,i=this.widthChangeDelay,a=this.resize;this.$el.clientWidth||this.$el.clientHeight?a():this.$nextTick((function(t){e.$el.clientWidth||e.$el.clientHeight?a():setTimeout((function(t){a(),e.$el.clientWidth&&e.$el.clientHeight||console.warn(" Can't get dom width or height ")}),i)}))},resizeableHandler:function(t){t&&!this._once.onresize&&this.addResizeListener(),!t&&this._once.onresize&&this.removeResizeListener()},init:function(){if(!this.echarts){var t=this.themeName||this.theme||s.DEFAULT_THEME;this.echarts=r.init(this.$refs.canvas,t,this.initOptions),this.data&&this.changeHandler(),this.createEventProxy(),this.resizeable&&this.addResizeListener()}},addResizeListener:function(){window.addEventListener("resize",this.resizeHandler),this._once.onresize=!0},removeResizeListener:function(){window.removeEventListener("resize",this.resizeHandler),this._once.onresize=!1},addWatchToProps:function(){var t=this,e=this._watchers.map((function(t){return t.expression}));Object.keys(this.$props).forEach((function(i){if(!~e.indexOf(i)&&!~s.STATIC_PROPS.indexOf(i)){var a={};~["[object Object]","[object Array]"].indexOf(n.getType(t.$props[i]))&&(a.deep=!0),t.$watch(i,(function(){t.changeHandler()}),a)}}))},createEventProxy:function(){var t=this,e=this,i=Object.keys(this.events||{});i.length&&i.forEach((function(i){-1===t.registeredEvents.indexOf(i)&&(t.registeredEvents.push(i),t.echarts.on(i,function(t){return function(){if(t in e.events){for(var i=arguments.length,a=Array(i),n=0;n<i;n++)a[n]=arguments[n];e.events[t].apply(null,a)}}}(i)))}))},themeChange:function(t){this.clean(),this.echarts=null,this.init()},clean:function(){this.resizeable&&this.removeResizeListener(),this.echarts.dispose()}},created:function(){this.echarts=null,this.registeredEvents=[],this._once={},this._store={},this.resizeHandler=n.debounce(this.resize,this.resizeDelay),this.changeHandler=n.debounce(this.dataHandler,this.changeDelay),this.addWatchToProps()},mounted:function(){this.init()},beforeDestroy:function(){this.clean()},_numerify:o};t.exports=p},"65ed":function(t,e,i){var a=i("22d1"),n=i("84ec"),r=n.buildTransformer,o="___zrEVENTSAVED",s=[];function c(t,e,i,a,n){return l(s,e,a,n,!0)&&l(t,i,s[0],s[1])}function l(t,e,i,n,r){if(e.getBoundingClientRect&&a.domSupported&&!f(e)){var s=e[o]||(e[o]={}),c=d(e,s),l=u(c,s,r);if(l)return l(t,i,n),!0}return!1}function d(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var a=["left","right"],n=["top","bottom"],r=0;r<4;r++){var o=document.createElement("div"),s=o.style,c=r%2,l=(r>>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;w<b.length;++w)x.add(b[w]);n.add(x),this._backgroundEls=b,this._data=r},_renderLarge:function(t,e,i){this._clear(),D(t,this.group);var a=t.get("clip",!0)?v(t.coordinateSystem,!1,t):null;a?this.group.setClipPath(a):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){this._removeBackground(),D(e,this.group,!0)},dispose:r.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,i=this._data;t&&t.get("animation")&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl((function(e){"sector"===e.type?T(e.dataIndex,t,e):M(e.dataIndex,t,e)}))):e.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),x=Math.max,w=Math.min,C={cartesian2d:function(t,e){var i=e.width<0?-1:1,a=e.height<0?-1:1;i<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var n=x(e.x,t.x),r=w(e.x+e.width,t.x+t.width),o=x(e.y,t.y),s=w(e.y+e.height,t.y+t.height);e.x=n,e.y=o,e.width=r-n,e.height=s-o;var c=e.width<0||e.height<0;return i<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),c},polar:function(t,e){var i=e.r0<=e.r?1:-1;if(i<0){var a=e.r;e.r=e.r0,e.r0=a}a=w(e.r,t.r);var n=x(e.r0,t.r0);e.r=a,e.r0=n;var r=a-n<0;if(i<0){a=e.r;e.r=e.r0,e.r0=a}return r}},S={cartesian2d:function(t,e,i,a,n){var s=new o.Rect({shape:r.extend({},e),z2:1});if(s.name="item",a){var c=s.shape,l=i?"height":"width",d={};c[l]=0,d[l]=e[l],o[n?"updateProps":"initProps"](s,{shape:d},a,t)}return s},polar:function(t,e,i,a,n,s){var c=e.startAngle<e.endAngle,l=!i&&s?g:o.Sector,d=new l({shape:r.defaults({clockwise:c},e),z2:1});if(d.name="item",a){var u=d.shape,f=i?"r":"endAngle",h={};u[f]=i?0:e.startAngle,h[f]=e[f],o[n?"updateProps":"initProps"](d,{shape:h},a,t)}return d}};function M(t,e,i){i.style.text=null,o.updateProps(i,{shape:{width:0}},e,t,(function(){i.parent&&i.parent.remove(i)}))}function T(t,e,i){i.style.text=null,o.updateProps(i,{shape:{r:i.shape.r0}},e,t,(function(){i.parent&&i.parent.remove(i)}))}var P={cartesian2d:function(t,e,i){var a=t.getItemLayout(e),n=i?E(i,a):0,r=a.width>0?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<i.length;r+=2)a[n]=i[r+n],t.moveTo(a[0],a[1]),t.lineTo(i[r],i[r+1])}});function D(t,e,i){var a=t.getData(),n=[],r=a.getLayout("valueAxisHorizontal")?1:0;n[1-r]=a.getLayout("valueAxisStart");var o=a.getLayout("largeDataIndices"),s=a.getLayout("barWidth"),c=t.getModel("backgroundStyle"),l=t.get("showBackground",!0);if(l){var d=a.getLayout("largeBackgroundPoints"),u=[];u[1-r]=a.getLayout("backgroundStart");var f=new j({shape:{points:d},incremental:!!i,__startPoint:u,__baseDimIdx:r,__largeDataIndices:o,__barWidth:s,silent:!0,z2:0});$(f,c,a),e.add(f)}var h=new j({shape:{points:a.getLayout("largePoints")},incremental:!!i,__startPoint:n,__baseDimIdx:r,__largeDataIndices:o,__barWidth:s});e.add(h),L(h,t,a),h.seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",A),h.on("mousemove",A))}var A=p((function(t){var e=this,i=N(e,t.offsetX,t.offsetY);e.dataIndex=i>=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<p;h++){var m=2*h,v=r[m+a],g=r[m+n];if(v>=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<s.length;h++)s[h]=16711935&(s[h]<<8|s[h]>>>24)|4278255360&(s[h]<<24|s[h]>>>8);s[c>>>5]|=128<<c%32,s[14+(c+64>>>9<<4)]=c;var p=o._ff,m=o._gg,v=o._hh,g=o._ii;for(h=0;h<s.length;h+=16){var b=l,_=d,y=u,k=f;l=p(l,d,u,f,s[h+0],7,-680876936),f=p(f,l,d,u,s[h+1],12,-389564586),u=p(u,f,l,d,s[h+2],17,606105819),d=p(d,u,f,l,s[h+3],22,-1044525330),l=p(l,d,u,f,s[h+4],7,-176418897),f=p(f,l,d,u,s[h+5],12,1200080426),u=p(u,f,l,d,s[h+6],17,-1473231341),d=p(d,u,f,l,s[h+7],22,-45705983),l=p(l,d,u,f,s[h+8],7,1770035416),f=p(f,l,d,u,s[h+9],12,-1958414417),u=p(u,f,l,d,s[h+10],17,-42063),d=p(d,u,f,l,s[h+11],22,-1990404162),l=p(l,d,u,f,s[h+12],7,1804603682),f=p(f,l,d,u,s[h+13],12,-40341101),u=p(u,f,l,d,s[h+14],17,-1502002290),d=p(d,u,f,l,s[h+15],22,1236535329),l=m(l,d,u,f,s[h+1],5,-165796510),f=m(f,l,d,u,s[h+6],9,-1069501632),u=m(u,f,l,d,s[h+11],14,643717713),d=m(d,u,f,l,s[h+0],20,-373897302),l=m(l,d,u,f,s[h+5],5,-701558691),f=m(f,l,d,u,s[h+10],9,38016083),u=m(u,f,l,d,s[h+15],14,-660478335),d=m(d,u,f,l,s[h+4],20,-405537848),l=m(l,d,u,f,s[h+9],5,568446438),f=m(f,l,d,u,s[h+14],9,-1019803690),u=m(u,f,l,d,s[h+3],14,-187363961),d=m(d,u,f,l,s[h+8],20,1163531501),l=m(l,d,u,f,s[h+13],5,-1444681467),f=m(f,l,d,u,s[h+2],9,-51403784),u=m(u,f,l,d,s[h+7],14,1735328473),d=m(d,u,f,l,s[h+12],20,-1926607734),l=v(l,d,u,f,s[h+5],4,-378558),f=v(f,l,d,u,s[h+8],11,-2022574463),u=v(u,f,l,d,s[h+11],16,1839030562),d=v(d,u,f,l,s[h+14],23,-35309556),l=v(l,d,u,f,s[h+1],4,-1530992060),f=v(f,l,d,u,s[h+4],11,1272893353),u=v(u,f,l,d,s[h+7],16,-155497632),d=v(d,u,f,l,s[h+10],23,-1094730640),l=v(l,d,u,f,s[h+13],4,681279174),f=v(f,l,d,u,s[h+0],11,-358537222),u=v(u,f,l,d,s[h+3],16,-722521979),d=v(d,u,f,l,s[h+6],23,76029189),l=v(l,d,u,f,s[h+9],4,-640364487),f=v(f,l,d,u,s[h+12],11,-421815835),u=v(u,f,l,d,s[h+15],16,530742520),d=v(d,u,f,l,s[h+2],23,-995338651),l=g(l,d,u,f,s[h+0],6,-198630844),f=g(f,l,d,u,s[h+7],10,1126891415),u=g(u,f,l,d,s[h+14],15,-1416354905),d=g(d,u,f,l,s[h+5],21,-57434055),l=g(l,d,u,f,s[h+12],6,1700485571),f=g(f,l,d,u,s[h+3],10,-1894986606),u=g(u,f,l,d,s[h+10],15,-1051523),d=g(d,u,f,l,s[h+1],21,-2054922799),l=g(l,d,u,f,s[h+8],6,1873313359),f=g(f,l,d,u,s[h+15],10,-30611744),u=g(u,f,l,d,s[h+6],15,-1560198380),d=g(d,u,f,l,s[h+13],21,1309151649),l=g(l,d,u,f,s[h+4],6,-145523070),f=g(f,l,d,u,s[h+11],10,-1120210379),u=g(u,f,l,d,s[h+2],15,718787259),d=g(d,u,f,l,s[h+9],21,-343485551),l=l+b>>>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<<r|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<<r|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<<r|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<<r|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||l<e-d&&l<a-d&&l<o-d||c>t+d&&c>i+d&&c>r+d||c<t-d&&c<i-d&&c<r-d)return!1;var u=n(t,e,i,a,r,o,c,l,null);return u<=d/2}e.containStroke=r},6938: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-files",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",{staticClass:"actives"},[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("wrapper-content",{attrs:{showHeader:!1}},[e("div",{staticClass:"content-wrapper"},[e("div",{staticClass:"content-item log-list"},[e("div",{staticClass:"header"},[e("span",{staticClass:"title"},[t._v("我的文件")]),e("div",{staticClass:"header-actions"},[e("a-button",{attrs:{id:"upload-file",icon:"up-circle",type:"dashed"}},[t._v("上传")])],1)]),e("div",{staticClass:"list-content"},[e("a-list",{attrs:{loading:t.loading}},[e("a-list-item",{staticClass:"list-item-title"},[e("a-list-item-meta",[e("div",{staticClass:"muted",attrs:{slot:"title"},slot:"title"},[t._v("\n 名称\n ")])]),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v("大小")])]),e("div",{staticClass:"info-item"},[e("span",[t._v("创建日期")])]),e("div",{staticClass:"info-item"},[e("span",[t._v("创建人")])])]),t._l(3,(function(i){return e("span",{key:i,attrs:{slot:"actions"},slot:"actions"},[e("span",[t._v("位")])])}))],2),t._l(t.files,(function(i,a){return e("a-list-item",{key:a,staticClass:"list-item"},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",shape:"square",icon:"link",src:i.file_url},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3}},[e("template",{slot:"title"},[e("span",[t._v(t._s(i.fullName))])]),e("a-input",{directives:[{name:"show",rawName:"v-show",value:i.editing,expression:"item.editing"}],ref:"inputTitle".concat(a),refInFor:!0,attrs:{"auto-focus":!0},on:{pressEnter:function(e){return t.onCellChange(i)},blur:function(e){return t.onCellChange(i)}},model:{value:i.title,callback:function(e){t.$set(i,"title",e)},expression:"item.title"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:!i.editing,expression:"!item.editing"}],staticClass:"text-default",attrs:{target:"_blank",href:t._f("showPreviewUrl")(i)}},[t._v(t._s(i.fullName))])],2)],1)],1),e("div",{staticClass:"other-info muted"},[e("div",{staticClass:"info-item"},[e("span",[t._v(t._s(t.formatSize(i.size)))])]),e("div",{staticClass:"info-item"},[e("a-tooltip",{attrs:{title:i.create_time}},[e("span",[t._v(t._s(t.formatTime(i.create_time)))])])],1),e("div",{staticClass:"info-item"},[e("span",[t._v(t._s(i.creatorName))])])]),e("span",{attrs:{slot:"actions"},slot:"actions"},[e("a-tooltip",{attrs:{title:"下载"}},[e("a",{staticClass:"muted",attrs:{target:"_blank",href:i.file_url}},[e("a-icon",{attrs:{type:"download"}})],1)])],1),e("span",{attrs:{slot:"actions"},on:{click:function(e){return t.editFile(i,a)}},slot:"actions"},[e("a-tooltip",{attrs:{title:"编辑"}},[e("a-icon",{attrs:{type:"edit"}})],1)],1),e("a",{staticClass:"muted",attrs:{slot:"actions"},slot:"actions"},[e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("更多操作")])]),e("a",{staticClass:"action-item muted"},[e("a-icon",{attrs:{type:"down"}})],1)],2),e("a-menu",{directives:[{name:"clipboard",rawName:"v-clipboard",value:i.file_url,expression:"item.file_url"}],staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:function(e){return t.doFile(e,i.code)}},slot:"overlay"},[e("a-menu-item",{key:"copy"},[e("a-icon",{attrs:{type:"link"}}),e("span",[t._v("复制链接")])],1),e("a-menu-item",{key:"delete"},[e("a-icon",{attrs:{type:"delete"}}),e("span",[t._v("移到回收站")])],1)],1)],1)],1)],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()],2)],1)])])])],1)},n=[],r=(i("8e6e"),i("456d"),i("ac6a"),i("7f7f"),i("20d6"),i("ade3")),o=i("2f62"),s=i("24d2"),c=i("4200"),l=i("2f14"),d=i("81fe"),u=i("3f5e"),f=i("1b80"),h=i("97a8"),p=i("f8c7");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 v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?m(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var g={name:"project-space-files",mixins:[f["a"]],data:function(){return{code:this.$route.params.code,loading:!0,showLoadingMore:!1,loadingMore:!1,project:{task_board_theme:"simple"},currentFileIndex:{},files:[]}},components:{projectSelect:p["a"]},computed:v({},Object(o["c"])({uploader:function(t){return t.common.uploader}})),watch:{uploader:{handler:function(t,e){var i=this,a=t.fileList,n=a.findIndex((function(t){return t.projectName==i.project.name}));-1!==n&&this.getFiles()},deep:!0}},created:function(){this.getProject(),this.getFiles()},mounted:function(){var t=this;setTimeout((function(){t.uploader.assignBrowse(document.getElementById("upload-file"))}),500)},methods:{getProject:function(){var t=this;this.loading=!0,Object(s["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data,t.$store.dispatch("setTempData",{projectCode:t.project.code})}))},getFiles:function(){var t=this,e=!(arguments.length>0&&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;u<n;u+=d){var f=a?a[u]:o[0]+u,h=l(f),p=c.getTextRect(h),m=x(p,c.get("rotate")||0);s?s.union(m):s=m}return s}}function x(t,e){var i=e*Math.PI/180,a=t.plain(),n=a.width,r=a.height,o=n*Math.abs(Math.cos(i))+Math.abs(r*Math.sin(i)),s=n*Math.abs(Math.sin(i))+Math.abs(r*Math.cos(i)),c=new h(a.x,a.y,o,s);return c}function w(t){var e=t.get("interval");return null==e?"auto":e}function C(t){return"category"===t.type&&0===w(t.getLabelModel())}i("216a"),i("8c2a"),e.getScaleExtent=p,e.niceScaleExtent=v,e.createScaleByModel=g,e.ifAxisCrossZero=b,e.makeLabelFormatter=_,e.getAxisRawValue=y,e.estimateLabelUnionRect=k,e.getOptionCategoryInterval=w,e.shouldShowAllLabels=C},"697e7":function(t,e,i){var a=i("de00"),n=i("22d1"),r=i("6d8b"),o=i("d2cf"),s=i("afa0"),c=i("ed21"),l=i("30a3"),d=i("cdaa"),u=!n.canvasSupported,f={canvas:c},h={},p="4.3.2";function m(t,e){var i=new y(a(),t,e);return h[i.id]=i,i}function v(t){if(t)t.dispose();else{for(var e in h)h.hasOwnProperty(e)&&h[e].dispose();h={}}return this}function g(t){return h[t]}function b(t,e){f[t]=e}function _(t){delete h[t]}var y=function(t,e,i){i=i||{},this.dom=e,this.id=t;var a=this,c=new s,h=i.renderer;if(u){if(!f.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");h="vml"}else h&&f[h]||(h="canvas");var p=new f[h](e,c,i,t);this.storage=c,this.painter=p;var m=n.node||n.worker?null:new d(p.getViewportRoot(),p.root);this.handler=new o(c,p,m,p.root),this.animation=new l({stage:{update:r.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=c.delFromStorage,g=c.addToStorage;c.delFromStorage=function(t){v.call(c,t),t&&t.removeSelfFromZr(a)},c.addToStorage=function(t){g.call(c,t),t.addSelfToZr(a)}};y.prototype={constructor:y,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,_(this.id)}},e.version=p,e.init=m,e.dispose=v,e.getInstance=g,e.registerPainter=b},"69ff":function(t,e,i){var a=i("6d8b"),n=a.each,r=a.map,o=a.isFunction,s=a.createHashMap,c=a.noop,l=i("f47d"),d=l.createTask,u=i("8918"),f=u.getUID,h=i("7e63"),p=i("843e"),m=i("e0d3"),v=m.normalizeToArray;function g(t,e,i,a){this.ecInstance=t,this.api=e,this.unfinished;i=this._dataProcessorHandlers=i.slice(),a=this._visualHandlers=a.slice();this._allHandlers=i.concat(a),this._stageTaskMap=s()}var b=g.prototype;function _(t,e,i,a,r){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{},n(e,(function(e,n){if(!r.visualType||r.visualType===e.visualType){var c=t._stageTaskMap.get(e.uid),l=c.seriesTaskMap,d=c.overallTask;if(d){var u,f=d.agentStubMap;f.each((function(t){s(r,t)&&(t.dirty(),u=!0)})),u&&d.dirty(),y(d,a);var h=t.getPerformArgs(d,r.block);f.each((function(t){t.perform(h)})),o|=d.perform(h)}else l&&l.each((function(n,c){s(r,n)&&n.dirty();var l=t.getPerformArgs(n,r.block);l.skip=!e.performRawSeries&&i.isSeriesFiltered(n.context.model),y(n,a),o|=n.perform(l)}))}})),t.unfinished|=o}b.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},b.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),a=i.context,n=!e&&i.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>i.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<e.end;r++)n.dataEach(a,r);else n&&n.progress&&n.progress(e,a)}}function E(t){return t.data.count()}function j(t,e,i){var a=e.uid,n=t._pipelineMap.get(a);!n.head&&(n.head=i),n.tail&&n.tail.pipe(i),n.tail=i,i.__idxInPipeline=n.count++,i.__pipeline=n}function D(t){A=null;try{t(N,L)}catch(e){}return A}g.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:D(t)}),t.uid=f("stageHandler"),e&&(t.visualType=e),t};var A,N={},L={};function $(t,e){for(var i in e.prototype)t[i]=c}$(N,h),$(L,p),N.eachSeriesByType=N.eachRawSeriesByType=function(t){A=t},N.eachComponent=function(t){"series"===t.mainType&&t.subType&&(A=t.subType)};var V=g;t.exports=V},"6a5b":function(t,e,i){"use strict";i("f484")},"6b28":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.uploadImage$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.util.uploadImage",c=(0,o.genDefaultParamsDealFn)({multiple:!1});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.uploadImage$=a,e.default=a},"6ba0":function(t,e,i){},"6c07":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openSlidePanel$=void 0;var r=i("c6b3"),o="biz.util.openSlidePanel";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.openSlidePanel$=a,e.default=a},"6cb7":function(t,e,i){var a=i("6d8b"),n=i("4319"),r=i("8918"),o=i("625e"),s=o.enableClassManagement,c=o.parseClassType,l=i("e0d3"),d=l.makeInner,u=i("f934"),f=i("de1c"),h=d(),p=n.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,i,a){n.call(this,t,e,i,a),this.uid=r.getUID("ec_cpt_model")},init:function(t,e,i,a){this.mergeDefaultAndTheme(t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,n=i?u.getLayoutParams(t):{},r=e.getTheme();a.merge(t,r.get(this.mainType)),a.merge(t,this.getDefaultOption()),i&&u.mergeLayoutParam(t,n,i)},mergeOption:function(t,e){a.merge(this.option,t,!0);var i=this.layoutMode;i&&u.mergeLayoutParam(this.option,t,i)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=h(this);if(!t.defaultOption){var e=[],i=this.constructor;while(i){var n=i.prototype.defaultOption;n&&e.push(n),i=i.superClass}for(var r={},o=e.length-1;o>=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;o<s;o++)e[o]=h(t[o])}}else if(a[r]){if(!K(t)){var c=t.constructor;if(t.constructor.from)e=c.from(t);else{e=new c(t.length);for(o=0,s=t.length;o<s;o++)e[o]=h(t[o])}}}else if(!i[r]&&!K(t)&&!V(t))for(var l in e={},t)t.hasOwnProperty(l)&&(e[l]=h(t[l]));return e}function p(t,e,i){if(!N(e)||!N(t))return i?h(e):t;for(var a in e)if(e.hasOwnProperty(a)){var n=t[a],r=e[a];!N(r)||!N(n)||j(r)||j(n)||V(r)||V(n)||L(r)||L(n)||K(r)||K(n)?!i&&a in t||(t[a]=h(e[a],!0)):p(n,r,i)}return t}function m(t,e){for(var i=t[0],a=1,n=t.length;a<n;a++)i=p(i,t[a],e);return i}function v(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function g(t,e,i){for(var a in e)e.hasOwnProperty(a)&&(i?null!=e[a]:null==t[a])&&(t[a]=e[a]);return t}var b,_=function(){return u.createCanvas()};function y(){return b||(b=_().getContext("2d")),b}function k(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,a=t.length;i<a;i++)if(t[i]===e)return i}return-1}function x(t,e){var i=t.prototype;function a(){}for(var n in a.prototype=e.prototype,t.prototype=new a,i)i.hasOwnProperty(n)&&(t.prototype[n]=i[n]);t.prototype.constructor=t,t.superClass=e}function w(t,e,i){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,g(t,e,i)}function C(t){if(t)return"string"!==typeof t&&"number"===typeof t.length}function S(t,e,i){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,i);else if(t.length===+t.length)for(var a=0,n=t.length;a<n;a++)e.call(i,t[a],a,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r,t)}function M(t,e,i){if(t&&e){if(t.map&&t.map===l)return t.map(e,i);for(var a=[],n=0,r=t.length;n<r;n++)a.push(e.call(i,t[n],n,t));return a}}function T(t,e,i,a){if(t&&e){if(t.reduce&&t.reduce===d)return t.reduce(e,i,a);for(var n=0,r=t.length;n<r;n++)i=e.call(a,i,t[n],n,t);return i}}function P(t,e,i){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,i);for(var a=[],n=0,r=t.length;n<r;n++)e.call(i,t[n],n,t)&&a.push(t[n]);return a}}function I(t,e,i){if(t&&e)for(var a=0,n=t.length;a<n;a++)if(e.call(i,t[a],a,t))return t[a]}function O(t,e){var i=c.call(arguments,2);return function(){return t.apply(e,i.concat(c.call(arguments)))}}function E(t){var e=c.call(arguments,1);return function(){return t.apply(this,e.concat(c.call(arguments)))}}function j(t){return"[object Array]"===n.call(t)}function D(t){return"function"===typeof t}function A(t){return"[object String]"===n.call(t)}function N(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function L(t){return!!i[n.call(t)]}function $(t){return!!a[n.call(t)]}function V(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function R(t){return t!==t}function z(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function F(t,e){return null!=t?t:e}function U(t,e,i){return null!=t?t:null!=e?e:i}function B(){return Function.call.apply(c,arguments)}function H(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function W(t,e){if(!t)throw new Error(e)}function Y(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}u.createCanvas=function(){return document.createElement("canvas")};var q="__ec_primitive__";function G(t){t[q]=!0}function K(t){return t[q]}function X(t){var e=j(t);this.data={};var i=this;function a(t,a){e?i.set(t,a):i.set(a,t)}t instanceof X?t.each(a):t&&S(t,a)}function J(t){return new X(t)}function Z(t,e){for(var i=new t.constructor(t.length+e.length),a=0;a<t.length;a++)i[a]=t[a];var n=t.length;for(a=0;a<e.length;a++)i[a+n]=e[a];return i}function Q(){}X.prototype={constructor:X,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var i in void 0!==e&&(t=O(t,e)),this.data)this.data.hasOwnProperty(i)&&t(this.data[i],i)},removeKey:function(t){delete this.data[t]}},e.$override=f,e.clone=h,e.merge=p,e.mergeAll=m,e.extend=v,e.defaults=g,e.createCanvas=_,e.getContext=y,e.indexOf=k,e.inherits=x,e.mixin=w,e.isArrayLike=C,e.each=S,e.map=M,e.reduce=T,e.filter=P,e.find=I,e.bind=O,e.curry=E,e.isArray=j,e.isFunction=D,e.isString=A,e.isObject=N,e.isBuiltInObject=L,e.isTypedArray=$,e.isDom=V,e.eqNaN=R,e.retrieve=z,e.retrieve2=F,e.retrieve3=U,e.slice=B,e.normalizeCssArray=H,e.assert=W,e.trim=Y,e.setAsPrimitive=G,e.isPrimitive=K,e.createHashMap=J,e.concatArray=Z,e.noop=Q},"6e0f":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:"inviteFromLink",staticStyle:{height:"100%"}},[e("div",{staticClass:"content"},[e("a-spin",{attrs:{spinning:t.loading}},[t.inviteLink?e("a-card",{attrs:{title:"来自 ".concat(t.inviteLink.member.name," 的邀请")}},[e("div",{staticClass:"header"},[e("span",[t._v("\n "+t._s(t.inviteLink.member.name)+" 邀请你\n "),"project"==t.inviteLink.invite_type?e("span",[t._v("加入项目「"+t._s(t.inviteLink.sourceDetail.name)+"」")]):t._e(),"organization"==t.inviteLink.invite_type?e("span",[t._v("加入组织「"+t._s(t.inviteLink.sourceDetail.name)+"」")]):t._e()])]),e("div",{staticClass:"member-info"},[e("div",{staticClass:"avatar"},[e("a-avatar",{attrs:{size:"large",src:t.inviteLink.member.avatar}})],1),e("div",{staticClass:"info"},[e("p",[t._v(t._s(t.inviteLink.member.name))]),e("p",{staticClass:"muted"},[t._v(t._s(t.inviteLink.member.email))])])]),e("a-button",{staticClass:"middle-btn",attrs:{type:"primary",block:"",size:"large"},on:{click:t.acceptInvite}},["project"==t.inviteLink.invite_type?e("span",[t._v("加入项目")]):t._e(),"organization"==t.inviteLink.invite_type?e("span",[t._v("加入组织")]):t._e()])],1):t._e()],1)],1)])},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("a481"),i("ade3")),o=i("2f62"),s=i("2f14"),c=i("82f8"),l=i("9f5d"),d=i("c24f");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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h={data:function(){return{loading:!1,inviteLink:void 0}},computed:f({},Object(o["c"])({userInfo:function(t){return t.userInfo}})),created:function(){this.getInviteInfo()},methods:{getInviteInfo:function(){var t=this;this.loading=!0,Object(c["d"])(this.$route.params.code).then((function(e){t.inviteLink=e.data,t.loading=!1}))},acceptInvite:function(){var t=this,e=this;"project"==this.inviteLink.invite_type?Object(l["a"])(this.$route.params.code).then((function(i){var a=Object(s["a"])(i);if(!a)return!1;t.$store.dispatch("setOrganizationList",i.data.organizationList),t.$store.dispatch("setCurrentOrganization",i.data.currentOrganization),setTimeout((function(){e.$router.replace({name:"task",params:{code:e.inviteLink.source_code}})}),500)})):"organization"==this.inviteLink.invite_type&&Object(d["i"])(this.$route.params.code).then((function(i){Object(s["a"])(i)&&(t.$store.dispatch("setOrganizationList",i.data.organizationList),t.$store.dispatch("setCurrentOrganization",i.data.currentOrganization),t.$notice({title:"你已成功加入组织",msg:"你可以在右上方切换当前组织"},"notice","success"),setTimeout((function(){e.$router.replace("/")}),500))}))}}},p=h,m=(i("a02a"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},"6ef3":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setRule$=void 0;var r=i("c6b3"),o="biz.contact.setRule";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.15"},n[r.ENV_ENUM.android]={vs:"2.15"},n)),e.setRule$=a,e.default=a},"6f0c":function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var n=a(i("7e03")),r=i("4cbb"),o=function(t,e,i){var a=arguments.length>3&&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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?y(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var x={components:{taskDetail:l["a"]},mixins:[v["a"]],data:function(){return{moment:c.a,loading:!1,yiyan:{},projectList:[],projectTotal:0,activities:[],tasks:[],tasksTotal:0,accounts:{list:[],total:0,page:1,pageSize:30,loading:!1},task:{list:[],taskType:"1",done:0,total:0,page:1,pageSize:10,loading:!1},showTaskDetail:!1,taskCode:"",events:{eventList:[],showLoadingMore:!1,loadingMore:!1,total:0,page:1,pageSize:10,loading:!1}}},computed:k(k({},Object(o["c"])({userInfo:function(t){return t.userInfo},socketAction:function(t){return t.socketAction}})),{},{helloTime:function(){return Object(h["d"])()}}),created:function(){this.getYiYan(),this.init()},watch:{$route:function(t,e){this.init()},socketAction:function(t){console.log(t),"organization:task"===t.action&&this.init(!1,!1)}},methods:{init:function(){var t=!(arguments.length>0&&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;a<arguments.length;a++){var n=arguments[a];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(i[r]=n[r])}return i},writable:!0,configurable:!0})},"7dc6":function(t,e,i){"use strict";i.d(e,"d",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return s}));var a=i("22b6");i("2f14");function n(t,e){return a["a"].post("project/department_member/searchInviteMember",{keyword:t,departmentCode:e})}function r(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 s(t){return a["a"].post("project/department_member/detail",t)}},"7e03":function(t,e,i){"use strict";i.r(e);var a={th:3,mi:6,bi:9,tr:12},n={zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0,abbrLabel:{th:"k",mi:"m",bi:"b",tr:"t"}},r=1e12,o=1e9,s=1e6,c=1e3;function l(t){return"number"===typeof t&&isNaN(t)}function d(t,e,i,a){var n=t.toString().split("."),r=e-(a||0),o=2===n.length?Math.min(Math.max(n[1].length,r),e):r,s=Math.pow(10,o),c=(i(t+"e+"+o)/s).toFixed(o);if(a>e-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<r&&l>=o&&!v||"b"===v?(h+=t.abbrLabel.bi,e/=o):l<o&&l>=s&&!v||"m"===v?(h+=t.abbrLabel.mi,e/=s):(l<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.length<k)for(var x=k-b.length;x>0;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<t.length;r++){var o="_ec_"+n[a](t[r],r),s=e[o];null==s?(i.push(o),e[o]=r):(s.length||(e[o]=s=[s]),s.push(r))}}a.prototype={constructor:a,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},a={},r=[],o=[];for(n(t,i,r,"_oldKeyGetter",this),n(e,a,o,"_newKeyGetter",this),d=0;d<t.length;d++){var s=r[d],c=a[s];if(null!=c){var l=c.length;l?(1===l&&(a[s]=null),c=c.shift()):a[s]=null,this._update&&this._update(c,d)}else this._remove&&this._remove(d)}for(var d=0;d<o.length;d++){s=o[d];if(a.hasOwnProperty(s)){c=a[s];if(null==c)continue;if(c.length){var u=0;for(l=c.length;u<l;u++)this._add&&this._add(c[u])}else this._add&&this._add(c)}}}};var r=a;t.exports=r},"823a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.unbind$=void 0;var r=i("c6b3"),o="biz.iot.unbind";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.unbind$=a,e.default=a},"82bc":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.pay$=void 0;var r=i("c6b3"),o="biz.alipay.pay";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.pay$=a,e.default=a},"82eb":function(t,e){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},a=9;e.ContextCachedBy=i,e.WILL_BE_RESTORED=a},"82f9":function(t,e,i){var a=i("6d8b"),n=i("76a5"),r=i("2306");function o(t,e,i,a){t[0]=i,t[1]=a,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],o(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){var e=t.get("alwaysShowContent");e&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],i=t*this._zr.getWidth(),a=e*this._zr.getHeight();this.moveTo(i,a)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);var a={},o=t,s="{marker",c="|}",l=o.indexOf(s);while(l>=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<e}}m.prototype={constructor:m,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),a=Math.max(e[0],e[1]);return 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<t.length;i++){var a=t[i].get("name");if(this.isSelected(a)){this.select(a),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],i=[];t.eachRawSeries((function(a){var n,r=a.name;if(i.push(r),a.legendVisualProvider){var o=a.legendVisualProvider,c=o.getAllNames();t.isSeriesFiltered(a)||(i=i.concat(c)),c.length?e=e.concat(c):n=!0}else n=!0;n&&s(a)&&e.push(a.name)})),this._availableNames=i;var a=this.get("data")||e,o=n.map(a,(function(t){return"string"!==typeof t&&"number"!==typeof t||(t={name:t}),new r(t,this,this.ecModel)}),this);this._data=o},getData:function(){return this._data},select:function(t){var e=this.option.selected,i=this.get("selectedMode");if("single"===i){var a=this._data;n.each(a,(function(t){e[t.get("name")]=!1}))}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,e=this.option.selected;n.each(t,(function(t){e[t.get("name",!0)]=!0}))},inverseSelect:function(){var t=this._data,e=this.option.selected;n.each(t,(function(t){var i=t.get("name",!0);e.hasOwnProperty(i)||(e[i]=!0),e[i]=!e[i]}))},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&n.indexOf(this._availableNames,t)>=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<<l)-1&~o)/i);return t[n][d]}var u=r|1<<n,f=n+1;while(r&1<<f)f++;for(var h=0,p=0,m=0;p<l;p++){var v=1<<p;v&o||(h+=(m%2?-1:1)*t[n][p]*a(t,e-1,f,u,o|v,s),m++)}return s[c]=h,h}function n(t,e){var i=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},r=a(i,8,0,0,0,n);if(0!==r){for(var o=[],s=0;s<8;s++)for(var c=0;c<8;c++)null==o[c]&&(o[c]=0),o[c]+=((s+c)%2?-1:1)*a(i,7,0===s?1:0,1<<s,1<<c,n)/r*e[s];return function(t,e,i){var a=e*o[6]+i*o[7]+1;t[0]=(e*o[0]+i*o[1]+o[2])/a,t[1]=(e*o[3]+i*o[4]+o[5])/a}}}e.buildTransformer=n},"857d":function(t,e){var i=2*Math.PI;function a(t){return t%=i,t<0&&(t+=i),t}e.normalizeRadian=a},"85e4":function(t,e,i){"use strict";i("c27d")},"862d":function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.each,o=a.isString,s=a.defaults,c=a.extend,l=a.isObject,d=a.clone,u=i("e0d3"),f=u.normalizeToArray,h=i("0f99"),p=h.guessOrdinal,m=h.BE_ORDINAL,v=i("ec6f"),g=i("2f45"),b=g.OTHER_DIMENSIONS,_=i("562e");function y(t,e,i){v.isInstance(e)||(e=v.seriesDataToSource(e)),i=i||{},t=(t||[]).slice();for(var a=(i.dimsDef||[]).slice(),u=n(),h=n(),g=[],y=k(e,t,a,i.dimCount),w=0;w<y;w++){var C=a[w]=c({},l(a[w])?a[w]:{name:a[w]}),S=C.name,M=g[w]=new _;null!=S&&null==u.get(S)&&(M.name=M.displayName=S,u.set(S,w)),null!=C.type&&(M.type=C.type),null!=C.displayName&&(M.displayName=C.displayName)}var T=i.encodeDef;!T&&i.encodeDefaulter&&(T=i.encodeDefaulter(e,y)),T=n(T),T.each((function(t,e){if(t=f(t).slice(),1===t.length&&!o(t[0])&&t[0]<0)T.set(e,!1);else{var i=T.set(e,[]);r(t,(function(t,a){o(t)&&(t=u.get(t)),null!=t&&t<y&&(i[a]=t,I(g[t],e,a))}))}}));var P=0;function I(t,e,i){null!=b.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,h.set(e,!0))}r(t,(function(t,e){var i,a,n;if(o(t))i=t,t={};else{i=t.name;var c=t.ordinalMeta;t.ordinalMeta=null,t=d(t),t.ordinalMeta=c,a=t.dimsDef,n=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var u=T.get(i);if(!1!==u){u=f(u);if(!u.length)for(var h=0;h<(a&&a.length||1);h++){while(P<g.length&&null!=g[P].coordDim)P++;P<g.length&&u.push(P++)}r(u,(function(e,r){var o=g[e];if(I(s(o,t),i,r),null==o.name&&a){var c=a[r];!l(c)&&(c={name:c}),o.name=o.displayName=c.name,o.defaultTooltip=c.defaultTooltip}n&&s(o.otherDims,n)}))}}));var O=i.generateCoord,E=i.generateCoordCount,j=null!=E;E=O?E||1:0;for(var D=O||"value",A=0;A<y;A++){M=g[A]=g[A]||new _;var N=M.coordDim;null==N&&(M.coordDim=x(D,h,j),M.coordDimIndex=0,(!O||E<=0)&&(M.isExtraCoord=!0),E--),null==M.name&&(M.name=x(M.coordDim,u)),null!=M.type||p(e,A,M.name)!==m.Must&&(!M.isExtraCoord||null==M.otherDims.itemName&&null==M.otherDims.seriesName)||(M.type="ordinal")}return g}function k(t,e,i,a){var n=Math.max(t.dimensionsDetectCount||1,e.length,i.length,a||0);return r(e,(function(t){var e=t.dimsDef;e&&(n=Math.max(n,e.length))})),n}function x(t,e,i){if(i||null!=e.get(t)){var a=0;while(null!=e.get(t+a))a++;t+=a}return e.set(t,!0),t}var w=y;t.exports=w},"862d3":function(t,e,i){"use strict";(function(e,i){t.exports=i()})(0,(function(){function t(t){var a=[];return t.AMapUI&&a.push(e(t.AMapUI)),t.Loca&&a.push(i(t.Loca)),Promise.all(a)}function e(t){return new Promise((function(e,i){var s=[];if(t.plugins)for(var c=0;c<t.plugins.length;c+=1)-1==n.AMapUI.plugins.indexOf(t.plugins[c])&&s.push(t.plugins[c]);if(r.AMapUI===a.failed)i("前次请求 AMapUI 失败");else if(r.AMapUI===a.notload){r.AMapUI=a.loading,n.AMapUI.version=t.version||n.AMapUI.version,c=n.AMapUI.version;var l=document.body||document.head,d=document.createElement("script");d.type="text/javascript",d.src="https://webapi.amap.com/ui/"+c+"/main.js",d.onerror=function(t){r.AMapUI=a.failed,i("请求 AMapUI 失败")},d.onload=function(){if(r.AMapUI=a.loaded,s.length)window.AMapUI.loadUI(s,(function(){for(var t=0,i=s.length;t<i;t++){var a=s[t].split("/").slice(-1)[0];window.AMapUI[a]=arguments[t]}for(e();o.AMapUI.length;)o.AMapUI.splice(0,1)[0]()}));else for(e();o.AMapUI.length;)o.AMapUI.splice(0,1)[0]()},l.appendChild(d)}else r.AMapUI===a.loaded?t.version&&t.version!==n.AMapUI.version?i("不允许多个版本 AMapUI 混用"):s.length?window.AMapUI.loadUI(s,(function(){for(var t=0,i=s.length;t<i;t++){var a=s[t].split("/").slice(-1)[0];window.AMapUI[a]=arguments[t]}e()})):e():t.version&&t.version!==n.AMapUI.version?i("不允许多个版本 AMapUI 混用"):o.AMapUI.push((function(t){t?i(t):s.length?window.AMapUI.loadUI(s,(function(){for(var t=0,i=s.length;t<i;t++){var a=s[t].split("/").slice(-1)[0];window.AMapUI[a]=arguments[t]}e()})):e()}))}))}function i(t){return new Promise((function(e,i){if(r.Loca===a.failed)i("前次请求 Loca 失败");else if(r.Loca===a.notload){r.Loca=a.loading,n.Loca.version=t.version||n.Loca.version;var s=n.Loca.version,c=n.AMap.version.startsWith("2"),l=s.startsWith("2");if(c&&!l||!c&&l)i("JSAPI 与 Loca 版本不对应!!");else{c=n.key,l=document.body||document.head;var d=document.createElement("script");d.type="text/javascript",d.src="https://webapi.amap.com/loca?v="+s+"&key="+c,d.onerror=function(t){r.Loca=a.failed,i("请求 AMapUI 失败")},d.onload=function(){for(r.Loca=a.loaded,e();o.Loca.length;)o.Loca.splice(0,1)[0]()},l.appendChild(d)}}else r.Loca===a.loaded?t.version&&t.version!==n.Loca.version?i("不允许多个版本 Loca 混用"):e():t.version&&t.version!==n.Loca.version?i("不允许多个版本 Loca 混用"):o.Loca.push((function(t){t?i(t):i()}))}))}if(!window)throw Error("AMap JSAPI can only be used in Browser.");var a;(function(t){t.notload="notload",t.loading="loading",t.loaded="loaded",t.failed="failed"})(a||(a={}));var n={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},r={AMap:a.notload,AMapUI:a.notload,Loca:a.notload},o={AMap:[],AMapUI:[],Loca:[]},s=[],c=function(t){"function"==typeof t&&(r.AMap===a.loaded?t(window.AMap):s.push(t))};return{load:function(e){return new Promise((function(i,o){if(r.AMap==a.failed)o("");else if(r.AMap==a.notload){var l=e.key,d=e.version,u=e.plugins;l?(window.AMap&&"lbs.amap.com"!==location.host&&o("禁止多种API加载方式混用"),n.key=l,n.AMap.version=d||n.AMap.version,n.AMap.plugins=u||n.AMap.plugins,r.AMap=a.loading,d=document.body||document.head,window.___onAPILoaded=function(n){if(delete window.___onAPILoaded,n)r.AMap=a.failed,o(n);else for(r.AMap=a.loaded,t(e).then((function(){i(window.AMap)}))["catch"](o);s.length;)s.splice(0,1)[0]()},u=document.createElement("script"),u.type="text/javascript",u.src="https://webapi.amap.com/maps?callback=___onAPILoaded&v="+n.AMap.version+"&key="+l+"&plugin="+n.AMap.plugins.join(","),u.onerror=function(t){r.AMap=a.failed,o(t)},d.appendChild(u)):o("请填写key")}else if(r.AMap==a.loaded)if(e.key&&e.key!==n.key)o("多个不一致的 key");else if(e.version&&e.version!==n.AMap.version)o("不允许多个版本 JSAPI 混用");else{if(l=[],e.plugins)for(d=0;d<e.plugins.length;d+=1)-1==n.AMap.plugins.indexOf(e.plugins[d])&&l.push(e.plugins[d]);l.length?window.AMap.plugin(l,(function(){t(e).then((function(){i(window.AMap)}))["catch"](o)})):t(e).then((function(){i(window.AMap)}))["catch"](o)}else if(e.key&&e.key!==n.key)o("多个不一致的 key");else if(e.version&&e.version!==n.AMap.version)o("不允许多个版本 JSAPI 混用");else{var f=[];if(e.plugins)for(d=0;d<e.plugins.length;d+=1)-1==n.AMap.plugins.indexOf(e.plugins[d])&&f.push(e.plugins[d]);c((function(){f.length?window.AMap.plugin(f,(function(){t(e).then((function(){i(window.AMap)}))["catch"](o)})):t(e).then((function(){i(window.AMap)}))["catch"](o)}))}}))},reset:function(){delete window.AMap,delete window.AMapUI,delete window.Loca,n={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},r={AMap:a.notload,AMapUI:a.notload,Loca:a.notload},o={AMap:[],AMapUI:[],Loca:[]}}}}))},8685:function(t,e,i){"use strict";var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"error-page"},[e("div",{staticClass:"exception"},[e("div",{staticClass:"imgBlock"},[e("div",{staticClass:"img-exception"},[t._t("img")],2)]),e("div",{staticClass:"content"},[e("h1",[t._v(t._s(t.code))]),e("div",{staticClass:"desc"},[t._v(t._s(t.desc))]),e("div",{staticClass:"actions"},[e("router-link",{attrs:{to:t.url}},[e("Button",{attrs:{type:"primary"}},[t._v(t._s(t.urlText))])],1)],1)])])])},n=[],r=i("5efb"),o=i("68fe"),s=Object(o["a"])("currentOrganization",!0),c={components:{Button:r["a"]},props:{code:{default:"500"},desc:{default:"抱歉,服务器出错了"},url:{default:s?"/home/"+s.code:"/home"},urlText:{default:"返回首页"}},data:function(){return{}}},l=c,d=(i("5d8d"),i("2877")),u=Object(d["a"])(l,a,n,!1,null,null,null);e["a"]=u.exports},8728:function(t,e){function i(t,e,i,a,n,r){if(r>e&&r>a||r<e&&r<a)return 0;if(a===e)return 0;var o=a<e?1:-1,s=(r-e)/(a-e);1!==s&&0!==s||(o=a<e?.5:-.5);var c=s*(i-t)+t;return c===n?1/0:c>n?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<t.end;s++){var f;if(1===c){var h=e.get(o[0],s);f=!isNaN(h)&&i.dataToPoint(h,null,u)}else{h=d[0]=e.get(o[0],s);var p=d[1]=e.get(o[1],s);f=!isNaN(h)&&!isNaN(p)&&i.dataToPoint(d,null,u)}r?(n[l++]=f?f[0]:NaN,n[l++]=f?f[1]:NaN):e.setItemLayout(s,f&&f.slice()||[NaN,NaN])}r&&e.setLayout("symbolPoints",n)}}}}t.exports=c},"87ea":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.removeItem$=void 0;var r=i("c6b3"),o="util.domainStorage.removeItem";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.removeItem$=a,e.default=a},"88b3":function(t,e){var i="\0__throttleOriginMethod",a="\0__throttleRate",n="\0__throttleType";function r(t,e,i){var a,n,r,o,s,c=0,l=0,d=null;function u(){l=(new Date).getTime(),d=null,t.apply(r,o||[])}e=e||0;var f=function(){a=(new Date).getTime(),r=this,o=arguments;var t=s||e,f=s||i;s=null,n=a-(f?c:l)-t,clearTimeout(d),f?d=setTimeout(u,t):n>=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<i.length;r++){var o=i[r],s=o&&o.shape,c=o&&o.type;if(s&&("sector"===c&&s.startAngle===s.endAngle||"rect"===c&&(!s.width||!s.height))){for(var l=0;l<n.length;l++)n[l][2]=a[n[l][0]],a[n[l][0]]=n[l][1];e=!0;break}}if(t.apply(this,arguments),e)for(l=0;l<n.length;l++)a[n[l][0]]=n[l][2]}:t}t.exports=r},"89d6":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={categoryAxis:{axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},valueAxis:{axisLine:{show:!1}},line:{smooth:!0},grid:{containLabel:!0,left:10,right:10}},n=["#19d4ae","#5ab1ef","#fa6e86","#ffb980","#0067a6","#c4b4e4","#d87a80","#9cbbff","#d9d0c7","#87a997","#d49ea2","#5b4947","#7ba3a8"],r=["#313695","#4575b4","#74add1","#abd9e9","#e0f3f8","#ffffbf","#fee090","#fdae61","#f46d43","#d73027","#a50026"],o=["blue","blue","green","yellow","red"],s=function(t){return['<span style="',"background-color:"+t+";","display: inline-block;","width: 10px;","height: 10px;","border-radius: 50%;","margin-right:2px;",'"></span>'].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[0]&&(e[0]=t[0]),t[1]>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]<a[0]&&(t?r.push(s(a[0]-e,n)):r.push(i[0]));var c=a[0];while(c<=a[1]){if(r.push(c),c=s(c+e,n),c===r[r.length-1])break;if(r.length>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;r<e.length;r++){var o=e[r],s=e[r-1],c=0,l=[],d=o-s,u=d/t;while(c<t-1){var f=a.round(s+(c+1)*u);f>n[0]&&f<n[1]&&l.push(f),c++}i.push(l)}return i},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=a.getPrecisionSafe(t)||0:"auto"===i&&(i=this._intervalPrecision),t=s(t,i,!0),n.addCommas(t)},niceTicks:function(t,e,i){t=t||5;var a=this._extent,n=a[1]-a[0];if(isFinite(n)){n<0&&(n=-n,a.reverse());var r=o.intervalScaleNiceTicks(a,t,e,i);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax||(e[1]+=i/2),e[0]-=i/2}else e[1]=1;var a=e[1]-e[0];isFinite(a)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/n)*n)),t.fixMax||(e[1]=s(Math.ceil(e[1]/n)*n))}});c.create=function(){return new c};var l=c;t.exports=l},"8b51":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentId$=void 0;var r=i("c6b3"),o="ui.nav.getCurrentId";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.getCurrentId$=a,e.default=a},"8b7f":function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=n.createHashMap,o=(n.retrieve,n.each);function s(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=r(),this.categoryAxisMap=r(),this.firstCategoryDimIndex=null}function c(t){var e=t.get("coordinateSystem"),i=new s(e),a=l[e];if(a)return a(t,i,i.axisMap,i.categoryAxisMap),i}var l={cartesian2d:function(t,e,i,a){var n=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",n),i.set("y",r),d(n)&&(a.set("x",n),e.firstCategoryDimIndex=0),d(r)&&(a.set("y",r),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,a){var n=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",n),d(n)&&(a.set("single",n),e.firstCategoryDimIndex=0)},polar:function(t,e,i,a){var n=t.getReferringComponents("polar")[0],r=n.findAxisModel("radiusAxis"),o=n.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",r),i.set("angle",o),d(r)&&(a.set("radius",r),e.firstCategoryDimIndex=0),d(o)&&(a.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,i,a){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,a){var n=t.ecModel,r=n.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=r.dimensions.slice();o(r.parallelAxisIndex,(function(t,r){var o=n.getComponent("parallelAxis",t),c=s[r];i.set(c,o),d(o)&&null==e.firstCategoryDimIndex&&(a.set(c,o),e.firstCategoryDimIndex=r)}))}};function d(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=c},"8ba4":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseSpaceDir$=void 0;var r=i("c6b3"),o="biz.cspace.chooseSpaceDir";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.5.6"},n[r.ENV_ENUM.android]={vs:"3.5.6"},n[r.ENV_ENUM.pc]={vs:"5.1.27"},n)),e.chooseSpaceDir$=a,e.default=a},"8bb4":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.openAccountPwdLoginPage$=void 0;var r=i("c6b3"),o="biz.auth.openAccountPwdLoginPage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.0"},n[r.ENV_ENUM.android]={vs:"6.3.0"},n)),e.openAccountPwdLoginPage$=a,e.default=a},"8bd7":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.plain$=void 0;var r=i("c6b3"),o="ui.input.plain";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.plain$=a,e.default=a},"8bfb":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.notifyWeex$=void 0;var r=i("c6b3"),o="biz.event.notifyWeex";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.5.0"},n)),e.notifyWeex$=a,e.default=a},"8c2a":function(t,e,i){var a=i("6d8b"),n=i("e0d8"),r=i("3842"),o=i("89e3"),s=n.prototype,c=o.prototype,l=r.getPrecisionSafe,d=r.round,u=Math.floor,f=Math.ceil,h=Math.pow,p=Math.log,m=n.extend({type:"log",base:10,$constructor:function(){n.apply(this,arguments),this._originalScale=new o},getTicks:function(t){var e=this._originalScale,i=this._extent,n=e.getExtent();return a.map(c.getTicks.call(this,t),(function(t){var a=r.round(h(this.base,t));return a=t===i[0]&&e.__fixMin?v(a,n[0]):a,a=t===i[1]&&e.__fixMax?v(a,n[1]):a,a}),this)},getMinorTicks:c.getMinorTicks,getLabel:c.getLabel,scale:function(t){return t=s.scale.call(this,t),h(this.base,t)},setExtent:function(t,e){var i=this.base;t=p(t)/p(i),e=p(e)/p(i),c.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=h(t,e[0]),e[1]=h(t,e[1]);var i=this._originalScale,a=i.getExtent();return i.__fixMin&&(e[0]=v(e[0],a[0])),i.__fixMax&&(e[1]=v(e[1],a[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var a=r.quantity(i),n=t/i*a;n<=.5&&(a*=10);while(!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0)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;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0}))}t.exports=i},9094:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.removeFromFloat$=void 0;var r=i("c6b3"),o="ui.multitask.removeFromFloat";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.5.0"},n[r.ENV_ENUM.android]={vs:"6.5.0"},n)),e.removeFromFloat$=a,e.default=a},"90a1":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.closeUnpayOrder$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.store.closeUnpayOrder";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.closeUnpayOrder$=a,e.default=a},"91e1":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.unsubscribe$=void 0;var r=i("c6b3"),o="biz.realm.unsubscribe";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.unsubscribe$=a,e.default=a},"926a":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.onPlayEnd$=void 0;var r=i("c6b3"),o="device.audio.onPlayEnd";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.onPlayEnd$=a,e.default=a},"934e":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.insetAdjust$=void 0;var r=i("c6b3"),o="device.screen.insetAdjust";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.6.18"},n)),e.insetAdjust$=a,e.default=a},"93d0":function(t,e){var i="original",a="arrayRows",n="objectRows",r="keyedColumns",o="unknown",s="typedArray",c="column",l="row";e.SOURCE_FORMAT_ORIGINAL=i,e.SOURCE_FORMAT_ARRAY_ROWS=a,e.SOURCE_FORMAT_OBJECT_ROWS=n,e.SOURCE_FORMAT_KEYED_COLUMNS=r,e.SOURCE_FORMAT_UNKNOWN=o,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=c,e.SERIES_LAYOUT_BY_ROW=l},"93ff8":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.share$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.util.share",c=(0,o.genDefaultParamsDealFn)({title:"",buttonName:"确定"});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[r.ENV_ENUM.pc]={vs:"4.6.37",paramsDeal:c},n)),e.share$=a,e.default=a},"944e":function(t,e,i){var a=i("3842"),n=a.round;function r(t,e,i,r){var s={},l=t[1]-t[0],d=s.interval=a.nice(l/e,!0);null!=i&&d<i&&(d=s.interval=i),null!=r&&d>r&&(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||o<e-s&&o<a-s||r>t+s&&r>i+s||r<t-s&&r<i-s)return!1;if(t===i)return Math.abs(r-t)<=s/2;c=(e-a)/(t-i),l=(t*a-i*e)/(t-i);var d=c*r-o+l,u=d*d/(c*c+1);return u<=s/2*s/2}e.containStroke=i},"96f6":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.start$=void 0;var r=i("c6b3"),o="media.voiceRecorder.start";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.start$=a,e.default=a},"96f7":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setLeft$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setLeft",c=(0,o.genDefaultParamsDealFn)({watch:!0,show:!0,control:!1,showIcon:!0,text:""});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.setLeft$=a,e.default=a},9744:function(t,e,i){"use strict";var a=i("4588"),n=i("be13");t.exports=function(t){var e=String(n(this)),i="",r=a(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(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<o||s<i||r<l||d<n)},contain:function(t,e){var i=this;return t>=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<a&&!1!==e(t[i],i,t););return t}function o(t,e){for(var i=-1,a=e.length,n=t.length;++i<a;)t[n+i]=e[i];return t}function s(t,e,i,a){var n=-1,r=t.length;for(a&&r&&(i=t[++n]);++n<r;)i=e(i,t[n],n,t);return i}function c(t,e){for(var i=-1,a=Array(t);++i<t;)a[i]=e(i);return a}function l(t){return t&&t.Object===Object?t:null}function d(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function u(t){var e=-1,i=Array(t.size);return t.forEach((function(t,a){i[++e]=[a,t]})),i}function f(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i}function h(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}function p(){this.__data__=De?De(null):{}}function m(t){return this.has(t)&&delete this.__data__[t]}function v(t){var e=this.__data__;if(De){var i=e[t];return i===Pt?void 0:i}return ve.call(e,t)?e[t]:void 0}function g(t){var e=this.__data__;return De?void 0!==e[t]:ve.call(e,t)}function b(t,e){return this.__data__[t]=De&&void 0===e?Pt:e,this}function _(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}function y(){this.__data__=[]}function k(t){var e=this.__data__,i=V(e,t);return!(i<0||(i==e.length-1?e.pop():Se.call(e,i,1),0))}function x(t){var e=this.__data__,i=V(e,t);return i<0?void 0:e[i][1]}function w(t){return V(this.__data__,t)>-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<i;){var a=t[e];this.set(a[0],a[1])}}function M(){this.__data__={hash:new h,map:new(Ie||_),string:new h}}function T(t){return at(this,t).delete(t)}function P(t){return at(this,t).get(t)}function I(t){return at(this,t).has(t)}function O(t,e){return at(this,t).set(t,e),this}function E(t){this.__data__=new _(t)}function j(){this.__data__=new _}function D(t){return this.__data__.delete(t)}function A(t){return this.__data__.get(t)}function N(t){return this.__data__.has(t)}function L(t,e){var i=this.__data__;return i instanceof _&&i.__data__.length==Tt&&(i=this.__data__=new S(i.__data__)),i.set(t,e),this}function $(t,e,i){var a=t[e];ve.call(t,e)&&vt(a,i)&&(void 0!==i||e in t)||(t[e]=i)}function V(t,e){for(var i=t.length;i--;)if(vt(t[i][0],e))return i;return-1}function R(t,e){return t&&tt(e,Mt(e),t)}function z(t,e,i,a,n,o,s){var c;if(a&&(c=o?a(t,n,o,s):a(t)),void 0!==c)return c;if(!xt(t))return t;var l=Ue(t);if(l){if(c=ct(t),!e)return Q(t,c)}else{var u=st(t),f=u==Dt||u==At;if(Be(t))return W(t,e);if(u==$t||u==Ot||f&&!o){if(d(t))return o?t:{};if(c=lt(f?{}:t),!e)return et(t,R(c,t))}else{if(!ae[u])return o?t:{};c=dt(t,u,z,e)}}s||(s=new E);var h=s.get(t);if(h)return h;if(s.set(t,c),!l)var p=i?it(t):Mt(t);return r(p||t,(function(n,r){p&&(r=n,n=t[r]),$(c,r,z(n,e,i,a,r,t,s))})),c}function F(t){return xt(t)?we(t):{}}function U(t,e,i){var a=e(t);return Ue(t)?a:o(a,i(t))}function B(t,e){return ve.call(t,e)||"object"==typeof t&&e in t&&null===rt(t)}function H(t){return Te(Object(t))}function W(t,e){if(e)return t.slice();var i=new t.constructor(t.length);return t.copy(i),i}function Y(t){var e=new t.constructor(t.byteLength);return new ke(e).set(new ke(t)),e}function q(t,e){var i=e?Y(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}function G(t,e,i){return s(e?i(u(t),!0):u(t),a,new t.constructor)}function K(t){var e=new t.constructor(t.source,te.exec(t));return e.lastIndex=t.lastIndex,e}function X(t,e,i){return s(e?i(f(t),!0):f(t),n,new t.constructor)}function J(t){return ze?Object(ze.call(t)):{}}function Z(t,e){var i=e?Y(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Q(t,e){var i=-1,a=t.length;for(e||(e=Array(a));++i<a;)e[i]=t[i];return e}function tt(t,e,i,a){i||(i={});for(var n=-1,r=e.length;++n<r;){var o=e[n];$(i,o,a?a(i[o],t[o],o,i,t):t[o])}return i}function et(t,e){return tt(t,ot(t),e)}function it(t){return U(t,Mt,ot)}function at(t,e){var i=t.__data__;return ht(e)?i["string"==typeof e?"string":"hash"]:i.map}function nt(t,e){var i=t[e];return Ct(i)?i:void 0}function rt(t){return Me(Object(t))}function ot(t){return xe(Object(t))}function st(t){return ge.call(t)}function ct(t){var e=t.length,i=t.constructor(e);return e&&"string"==typeof t[0]&&ve.call(t,"index")&&(i.index=t.index,i.input=t.input),i}function lt(t){return"function"!=typeof t.constructor||pt(t)?{}:F(rt(t))}function dt(t,e,i,a){var n=t.constructor;switch(e){case Ut:return Y(t);case Et:case jt:return new n(+t);case Bt:return q(t,a);case Ht:case Wt:case Yt:case qt:case Gt:case Kt:case Xt:case Jt:case Zt:return Z(t,a);case Nt:return G(t,a,i);case Lt:case zt:return new n(t);case Vt:return K(t);case Rt:return X(t,a,i);case Ft:return J(t)}}function ut(t){var e=t?t.length:void 0;return kt(e)&&(Ue(t)||St(t)||gt(t))?c(e,String):null}function ft(t,e){return!!(e=null==e?It:e)&&("number"==typeof t||ie.test(t))&&t>-1&&t%1==0&&t<e}function ht(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function pt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||pe)}function mt(t){if(null!=t){try{return me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function vt(t,e){return t===e||t!==t&&e!==e}function gt(t){return _t(t)&&ve.call(t,"callee")&&(!Ce.call(t,"callee")||ge.call(t)==Ot)}function bt(t){return null!=t&&kt(Fe(t))&&!yt(t)}function _t(t){return wt(t)&&bt(t)}function yt(t){var e=xt(t)?ge.call(t):"";return e==Dt||e==At}function kt(t){return"number"==typeof t&&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<o;){var s=e[r];a(i,s,n?n(i[s],t[s],s,i,t):t[s])}return i}function r(t,e){return!!(e=null==e?m:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function o(t,e,i){if(!f(i))return!1;var a=typeof e;return!!("number"==a?l(i)&&r(e,i.length):"string"==a&&e in i)&&c(i[e],t)}function s(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||_)}function c(t,e){return t===e||t!==t&&e!==e}function l(t){return null!=t&&u(C(t))&&!d(t)}function d(t){var e=f(t)?k.call(t):"";return e==v||e==g}function u(t){return"number"==typeof t&&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<n;){var c=i[a];c&&t(e,c)}return e}))}((function(t,e){if(w||s(e)||l(e))n(e,h(e),t);else for(var i in e)y.call(e,i)&&a(t,i,e[i])}));t.exports=S},716:function(t,e,i){function a(t){return n(t,!0,!0)}var n=i(714);t.exports=a},717:function(t,e){function i(t,e){for(var i=-1,a=Array(t);++i<t;)a[i]=e(i);return a}function a(t,e){var a=S(t)||s(t)?i(t.length,String):[],n=a.length,o=!!n;for(var c in t)!e&&!k.call(t,c)||o&&("length"==c||r(c,n))||a.push(c);return a}function n(t){if(!o(t))return C(t);var e=[];for(var i in Object(t))k.call(t,i)&&"constructor"!=i&&e.push(i);return e}function r(t,e){return!!(e=null==e?m:e)&&("number"==typeof t||_.test(t))&&t>-1&&t%1==0&&t<e}function o(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||y)}function s(t){return l(t)&&k.call(t,"callee")&&(!w.call(t,"callee")||x.call(t)==v)}function c(t){return null!=t&&u(t.length)&&!d(t)}function l(t){return h(t)&&c(t)}function d(t){var e=f(t)?x.call(t):"";return e==g||e==b}function u(t){return"number"==typeof t&&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);++n<r;)o[n]=a[e+n];n=-1;for(var s=Array(e+1);++n<e;)s[n]=a[n];return s[e]=o,i(t,this,s)}}function n(t,e){if("function"!=typeof t)throw new TypeError(u);return e=void 0===e?e:l(e),a(t,e)}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function s(t){return"symbol"==typeof t||o(t)&&x.call(t)==m}function c(t){return t?(t=d(t))===f||t===-f?(t<0?-1:1)*h:t===t?t:0:0===t?t:0}function l(t){var e=c(t),i=e%1;return e===e?i?e-i:e:0}function d(t){if("number"==typeof t)return t;if(s(t))return p;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(v,"");var i=b.test(t);return i||_.test(t)?y(t.slice(2),i?2:8):g.test(t)?p:+t}var u="Expected a function",f=1/0,h=17976931348623157e292,p=NaN,m="[object Symbol]",v=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,_=/^0o[0-7]+$/i,y=parseInt,k=Object.prototype,x=k.toString,w=Math.max;t.exports=n},719:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},721:function(t,e,i){t.exports=i(199)}})}))},"998c":function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("e86a"),o=Math.PI;function s(t,e){e=e||{},a.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new n.Group,s=new n.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(s);var c=e.fontSize+" sans-serif",l=new n.Rect({style:{fill:"none",text:e.text,font:c,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(i.add(l),e.showSpinner){var d=new n.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001});d.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut"),i.add(d)}return i.resize=function(){var i=r.getWidth(e.text,c),a=e.showSpinner?e.spinnerRadius:0,n=(t.getWidth()-2*a-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),o=t.getHeight()/2;e.showSpinner&&d.setShape({cx:n,cy:o}),l.setShape({x:n-a,y:o-a,width:2*a,height:2*a}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i}t.exports=s},"9a56":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.verify.startAuth";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.startAuth$=a,e.default=a},"9a60":function(t,e,i){"use strict";i("ad32")},"9a63":function(t,e){var i={utf8:{stringToBytes:function(t){return i.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(i.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=i},"9a96":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.quit$=void 0;var r=i("c6b3"),o="biz.navigation.quit";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"2.5.0"},n)),e.quit$=a,e.default=a},"9aa6":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getCloudCallInfo$=void 0;var r=i("c6b3"),o="biz.conference.getCloudCallInfo";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.getCloudCallInfo$=a,e.default=a},"9bdb":function(t,e,i){var a=i("282b"),n=a([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return n(this,t,e)}};t.exports=r},"9bef":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}})],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(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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?I(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):I(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var E={name:"project-space-task",components:{RecycleBin:g["a"],TaskTag:_["a"],draggable:h.a,projectSelect:p["a"],TaskSearch:y["a"],TaskTable:b["a"],inviteProjectMember:m["a"],projectConfig:v["a"]},data:function(){return{viewType:"task-board",code:this.$route.params.code,loading:!0,project:{task_board_theme:"simple"},stageName:"",task:{},taskStatusList:u["a"].TASK_STATUS,taskStages:[],defaultExecutor:{},projectMembers:[],projectMembersCopy:[],createTaskLoading:!1,showCreateStage:!1,preCode:"",nextCode:"",preTaskCode:"",nextTaskCode:"",taskSearchParams:{},stageKeys:[],stageModal:{form:this.$form.createForm(this),stageCode:"",stageIndex:0,modalStatus:!1,confirmLoading:!1,modalTitle:"编辑列表"},slideMenuKey:"",showInviteMember:!1,inviteMemberDraw:{visible:!1,keyword:"",searching:!1,list:[]},configDraw:{visible:!1},taskSearch:{visible:!1},downLoadUrl:Object(S["h"])("project/task/_downloadTemplate"),uploadLoading:!1,uploadAction:Object(S["c"])("project/task/uploadFile"),projectModal:{modalStatus:!1,modalTitle:"项目设置"},recycleModal:{modalStatus:!1,modalTitle:"查看回收站"},taskTagModal:{modalStatus:!1,modalTitle:"任务标签"},projectMemberModal:{loading:!1,currentStageIndex:0,modalStatus:!1,modalTitle:"设置任务执行者"}}},computed:O(O({},Object(o["c"])({userInfo:function(t){return t.userInfo},viewRefresh:function(t){return t.common.viewRefresh},socketAction:function(t){return t.socketAction}})),{},{headers:function(){return Object(S["d"])()},scrollOps:function(){return{mode:"slide",rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0},pushLoad:{enable:!0,tips:{deactive:"Push to Load",active:"Release to Load",start:"Loading...",beforeDeactive:"Load Successfully!"},auto:!0,autoLoadDistance:0}}}}),watch:{$route:function(t,e){var i=this;if(this.code!=t.params.code&&(this.code=t.params.code,this.defaultExecutor=this.userInfo,this.getProject(),this.getProjectMembers(),this.init()),"taskdetail"==e.name){var a=e.query.from;if(void 0!=a){var n=this.taskSearchParams,r=Object.assign({stageCode:this.taskStages[a].code},n);r.type="copied_list",Object(k["h"])(r).then((function(t){i.taskStages[a].tasksLoading=!1,i.taskStages[a].tasks=t.data;var e=i.taskStages[a].doneTasks=[],n=i.taskStages[a].unDoneTasks=[];t.data.forEach((function(t){t.done?e.push(t):n.push(t)}))}))}}1==t.query.re&&this.init()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.projectCode==this.code&&this.getTaskStages(!1)}},viewRefresh:function(){console.log("viewRefresh")},inviteMemberDraw:{handler:function(t){t.visible?this.slideMenuKey="member":this.slideMenuKey=!1,t.keyword&&this.searchInviteMember()},deep:!0},configDraw:{handler:function(t){t.visible?this.slideMenuKey="config":this.slideMenuKey=!1},deep:!0},showInviteMember:function(t){t||this.getProjectMembers()}},created:function(){this.defaultExecutor=this.userInfo,this.getProject(),this.getProjectMembers(),this.init()},directives:{dragscroll2:function(t){}},methods:{init:function(){this.getTaskStages()},getProject:function(){var t=this;this.loading=!0,Object(x["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data}))},getProjectMembers:function(){var t=this;Object(w["d"])({projectCode:this.code,pageSize:100}).then((function(e){t.projectMembers=e.data.list,t.projectMembersCopy=e.data.list}))},getTaskStages:function(){var t=this,e=!(arguments.length>0&&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;n<r;n++)i.push(t.to.children[n].getAttribute("id"));var o=i.findIndex((function(t){return t===e}));return o<i.length&&(a=i[o+1]),[e,a]},taskSort:function(t){var e=this.getPreAndNextCode(t);console.log(e);var i=t.to.parentNode.parentNode.parentNode.getAttribute("id");Object(C["x"])({preTaskCode:e[0],nextTaskCode:e[1],toStageCode:i})},handleResize:function(t,e){t.barSize&&(this.taskStages[e].fixedCreator=!0)},visibleDraw:function(t){"member"==t?(this.configDraw.visible=!1,this.taskSearch.visible=!1,this.inviteMemberDraw.visible=!this.inviteMemberDraw.visible):"taskSearch"==t?(this.taskSearch.visible=!this.taskSearch.visible,this.configDraw.visible=!1,this.inviteMemberDraw.visible=!1):(this.inviteMemberDraw.visible=!1,this.taskSearch.visible=!1,this.configDraw.visible=!this.configDraw.visible)},changeViewType:function(){"task-board"===this.viewType?this.viewType="task-table":this.viewType="task-board"},removeMember:function(t,e){var i=this;this.$confirm({title:"您确定要将「".concat(t.name,"」从项目中移除吗?"),content:"移除后该成员将不能查看任何关于该项目的信息",okText:"移除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(w["e"])(t.code,i.code).then((function(t){Object(S["a"])(t)&&(i.projectMembers.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})),Promise.resolve()}})},inviteMember:function(t){Object(w["c"])(t.memberCode,this.projectCode).then((function(e){var i=Object(S["a"])(e);i&&(t.joined=!0)}))},searchInviteMember:c.a.debounce((function(){var t=this;if(this.inviteMemberDraw.keyword||(this.projectMembers=JSON.parse(JSON.stringify(this.projectMembersCopy))),this.inviteMemberDraw.keyword.length<=1)return!1;this.searching=!0,this.projectMembers=this.projectMembers.filter((function(e){return-1!=e.name.indexOf(t.inviteMemberDraw.keyword)}))}),500),updateProject:function(t){this.project=t},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(T["a"])(this.project.code,e).then((function(e){Object(S["a"])(e)&&(t.project.collected=!t.project.collected)}))},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(S["a"])(t.file.response,!0))){var e=t.file.response.data;e?Object(P["b"])("成功导入".concat(e,"个任务"),"message","success"):Object(P["b"])("没有成功导入任何任务","message","warning"),this.getTaskStages(!1)}},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("文件不能超过2MB!"),e},getStatusColor:function(t){var e=this.taskStatusList.find((function(e){return e.id==t}));return e?e.color:""}}},j=E,D=(i("a6b0"),i("2877")),A=Object(D["a"])(j,a,n,!1,null,null,null);e["default"]=A.exports},"9bf0":function(t,e,i){},"9c2c":function(t,e,i){var a=i("401b"),n=a.min,r=a.max,o=a.scale,s=a.distance,c=a.add,l=a.clone,d=a.sub;function u(t,e,i,a){var u,f,h,p,m=[],v=[],g=[],b=[];if(a){h=[1/0,1/0],p=[-1/0,-1/0];for(var _=0,y=t.length;_<y;_++)n(h,h,t[_]),r(p,p,t[_]);n(h,h,a[0]),r(p,p,a[1])}for(_=0,y=t.length;_<y;_++){var k=t[_];if(i)u=t[_?_-1:y-1],f=t[(_+1)%y];else{if(0===_||_===y-1){m.push(l(t[_]));continue}u=t[_-1],f=t[_+1]}d(v,f,u),o(v,v,e);var x=s(k,u),w=s(k,f),C=x+w;0!==C&&(x/=C,w/=C),o(g,v,-x),o(b,v,w);var S=c([],k,g),M=c([],k,b);a&&(r(S,S,h),n(S,S,p),r(M,M,h),n(M,M,p)),m.push(S),m.push(M)}return i&&m.push(m.shift()),m}t.exports=u},"9cdd":function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isEnableGPUAcceleration$=void 0;var r=i("c6b3"),o="biz.util.isEnableGPUAcceleration";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.22"},n)),e.isEnableGPUAcceleration$=a,e.default=a},"9cf9":function(t,e){var i=Math.round;function a(t,e,a){if(e){var n=e.x1,o=e.x2,s=e.y1,c=e.y2;t.x1=n,t.x2=o,t.y1=s,t.y2=c;var l=a&&a.lineWidth;l&&(i(2*n)===i(2*o)&&(t.x1=t.x2=r(n,l,!0)),i(2*s)===i(2*c)&&(t.y1=t.y2=r(s,l,!0)))}}function n(t,e,i){if(e){var a=e.x,n=e.y,o=e.width,s=e.height;t.x=a,t.y=n,t.width=o,t.height=s;var c=i&&i.lineWidth;c&&(t.x=r(a,c,!0),t.y=r(n,c,!0),t.width=Math.max(r(a+o,c,!1)-t.x,0===o?0:1),t.height=Math.max(r(n+s,c,!1)-t.y,0===s?0:1))}}function r(t,e,a){if(!e)return t;var n=i(2*t);return(n+i(e))%2===0?n/2:(n+(a?1:-1))/2}e.subPixelOptimizeLine=a,e.subPixelOptimizeRect=n,e.subPixelOptimize=r},"9d57":function(t,e,i){var a=i("6d8b"),n=i("3842"),r=n.parsePercent,o=i("ee1a"),s=o.isDimensionStacked,c=i("cccd"),l="__ec_stack_",d=.5,u="undefined"!==typeof Float32Array?Float32Array:Array;function f(t){return t.get("stack")||l+t.seriesIndex}function h(t){return t.dim+t.index}function p(t){var e=[],i=t.axis,n="axis0";if("category"===i.type){for(var r=i.getBandWidth(),o=0;o<t.count;o++)e.push(a.defaults({bandWidth:r,axisKey:n,stackId:l+o},t));var s=b(e),c=[];for(o=0;o<t.count;o++){var d=s[n][l+o];d.offsetCenter=d.offset+d.width/2,c.push(d)}return c}}function m(t,e){var i=[];return e.eachSeriesByType(t,(function(t){x(t)&&!w(t)&&i.push(t)})),i}function v(t){var e={};a.each(t,(function(t){var i=t.coordinateSystem,a=i.getBaseAxis();if("time"===a.type||"value"===a.type)for(var n=t.getData(),r=a.dim+"_"+a.index,o=n.mapDimension(a.dim),s=0,c=n.count();s<c;++s){var l=n.get(o,s);e[r]?e[r].push(l):e[r]=[l]}}));var i=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r){r.sort((function(t,e){return t-e}));for(var o=null,s=1;s<r.length;++s){var c=r[s]-r[s-1];c>0&&(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&&e<a&&(a=Math.min(e,l)),i&&i>a&&(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<x;k++){var w,S,M,T,P=e.get(v,k),I=e.get(g,k),O=P>=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)<m&&(M=(M<0?-1:1)*m),isNaN(M)||b&&(r[c][I][O]+=M)}else{j=i.dataToPoint([I,P]);w=j[0]+d,S=E,M=u,T=j[1]-y,Math.abs(T)<m&&(T=(T<=0?-1:1)*m),isNaN(T)||b&&(r[c][I][O]+=T)}e.setItemLayout(k,{x:w,y:S,width:M,height:T})}}),this)}var k={seriesType:"bar",plan:c(),reset:function(t){if(x(t)&&w(t)){var e=t.getData(),i=t.coordinateSystem,a=i.grid.getRect(),n=i.getBaseAxis(),r=i.getOtherAxis(n),o=e.mapDimension(r.dim),s=e.mapDimension(n.dim),c=r.isHorizontal(),l=c?0:1,f=_(g([t]),n,t).width;return f>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+u<i)return!1;if(Math.abs(a-o)%r<1e-4)return!0;if(s){var h=a;a=n(o),o=n(h)}else a=n(a),o=n(o);a>o&&(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<y.length;B++){var H=y[B],W=H[0],Y=H[1],q=a[W];c&&q===o[W]||(e[Y]=h(e,Y,q||H[2]))}V+=C/2;var G=a.textStrokeWidth,K=c?o.textStrokeWidth:null,X=!c||G!==K,J=!c||X||a.textStroke!==o.textStroke,Z=L(a.textStroke,G),Q=$(a.textFill);if(Z&&(X&&(e.lineWidth=G),J&&(e.strokeStyle=Z)),Q&&(c&&a.textFill===o.textFill||(e.fillStyle=Q)),1===w.length)Z&&e.strokeText(w[0],N,V),Q&&e.fillText(w[0],N,V);else for(B=0;B<w.length;B++)Z&&e.strokeText(w[B],N,V),Q&&e.fillText(w[B],N,V),V+=C}function T(t,e,i,a,n,r){r!==v&&(e.__attrCachedBy=m.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=d.parseRichText(i,a)),P(t,e,o,a,n)}function P(t,e,i,a,n){var r=i.width,o=i.outerWidth,s=i.outerHeight,c=a.textPadding,l=A(x,t,a,n),u=l.baseX,f=l.baseY,h=l.textAlign,p=l.textVerticalAlign;I(e,a,n,u,f);var m=d.adjustTextX(u,o,h),v=d.adjustTextY(f,s,p),g=m,b=v;c&&(g+=c[3],b+=c[0]);var _=g+r;E(a)&&j(t,e,a,m,v,o,s);for(var y=0;y<i.lines.length;y++){var k,w=i.lines[y],C=w.tokens,S=C.length,M=w.lineHeight,T=w.width,P=0,D=g,N=_,L=S-1;while(P<S&&(k=C[P],!k.textAlign||"left"===k.textAlign))O(t,e,k,a,M,b,D,"left"),T-=k.width,D+=k.width,P++;while(L>=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<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,a=0,r=e.length;a<r;a++)this._updateAndAddDisplayable(e[a],null,t);i.length=this._displayListLen,n.canvasSupported&&o(i,s)},_updateAndAddDisplayable:function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var a=t.clipPath;if(a){e=e?e.slice():[];var n=a,r=t;while(n)n.parent=r,n.updateTransform(),e.push(n),r=n,n=n.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var c=o[s];t.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof r&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var i=this._roots[e];i instanceof r&&i.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var n=t.length;e<n;e++)this.delRoot(t[e])}else{var o=a.indexOf(this._roots,t);o>=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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var m={name:"settingSecurity",components:{AccountSetting:l["a"]},data:function(){return{form:this.$form.createForm(this),mobileForm:this.$form.createForm(this),mailForm:this.$form.createForm(this),errorTips:"",passwordInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"修改密码",okText:"保存",cancelText:"放弃"},mobileInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"修改手机",okText:"保存",cancelText:"放弃",state:{time:60,smsSendBtn:!1}},mailInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"修改邮箱",okText:"保存",cancelText:"放弃",state:{time:60,smsSendBtn:!1}}}},computed:p({},Object(c["c"])({userInfo:function(t){return t.userInfo}})),methods:{editPassword:function(){this.passwordInfo.modalStatus=!0},editMobile:function(){this.mobileInfo.modalStatus=!0},editMail:function(){this.mailInfo.modalStatus=!0},bindDingtalk:function(){var t=Object(f["b"])()+"?redirectPath="+this.$route.fullPath+"&bindDingtalk=1";location.href=t},unbindDingtalk:function(){var t=this;this.$confirm({title:"确认解绑",content:"解除绑定后将无法使用该帐号进行登录",okText:"确定",okType:"danger",cancelText:"再想想",onOk:function(){return Object(u["l"])().then((function(e){var i=Object(d["a"])(e);if(!i)return!1;t.$store.dispatch("SET_USER",e.data)})),Promise.resolve()}})},handlePasswordSubmit:function(){var t=this,e=this;this.form.validateFields((function(i,a){if(!i){var n=e.form.getFieldsValue();if(n.password.length<6||n.newPassword.length<6||n.confirmPassword.length<6)return t.setErrorTips("密码必须包含6个字符"),!1;if(n.newPassword!=n.confirmPassword)return t.setErrorTips("两次新密码不匹配"),!1;t.setErrorTips(""),n.id=e.userInfo.id,n.password=s()(n.password),n.newPassword=s()(n.newPassword),n.confirmPassword=s()(n.confirmPassword),Object(u["r"])(n).then((function(i){e.loading=!1,Object(d["a"])(i)&&(t.passwordInfo.modalStatus=!1,e.form&&e.form.resetFields())}))}}))},handleMobileSubmit:function(){var t=this,e=this;this.mobileForm.validateFields((function(i,a){if(!i){var n=e.mobileForm.getFieldsValue();t.setErrorTips(""),e.mobileInfo.confirmLoading=!0,Object(u["d"])(n).then((function(i){if(e.mobileInfo.confirmLoading=!1,Object(d["a"])(i)){var a={userInfo:i.data.member,tokenList:i.data.tokenList};e.$store.dispatch("SET_LOGGED",a),t.mobileInfo.modalStatus=!1,e.mobileForm&&e.mobileForm.resetFields()}}))}}))},handleMailSubmit:function(){var t=this,e=this;this.mailForm.validateFields((function(i,a){if(!i){var n=e.mailForm.getFieldsValue();t.setErrorTips(""),e.mailInfo.confirmLoading=!0,Object(u["c"])(n).then((function(i){e.mailInfo.confirmLoading=!1,Object(d["a"])(i)&&(t.mailInfo.modalStatus=!1,e.mailForm&&e.mailForm.resetFields())}))}}))},setErrorTips:function(){var t=arguments.length>0&&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(e<d){var i,a=t.get("name"),n="series."+(r>1?"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;u<s.count();u++)if(u<c){var h=s.getName(u),v=o(s,u);l.push(p(m(h?"data.withName":"data.withoutName"),{name:h,value:v}))}i+=l.join(m("data.separator.middle"))+m("data.separator.end"),f.push(i)}})),s+=f.join(m("series.multiple.separator.middle"))+m("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function p(t,e){if("string"!==typeof t)return t;var i=t;return a.each(e,(function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),i}function m(t){var e=i.get(t);if(null==e){for(var a=t.split("."),r=n.aria,o=0;o<a.length;++o)r=r[a[o]];return r}return e}function v(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}function g(t){return n.series.typeNames[t]||"自定义图"}}t.exports=s},b80b:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.showCallMenu$=void 0;var r=i("c6b3"),o="biz.telephone.showCallMenu";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.showCallMenu$=a,e.default=a},b87d:function(t,e,i){},b8af:function(t,e,i){},b929:function(t,e,i){"use strict";i("348f")},ba6e:function(t,e,i){"use strict";i("c305")},bb13:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getUUID$=void 0;var r=i("c6b3"),o="device.base.getUUID";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.7.6"},n)),e.getUUID$=a,e.default=a},bd46:function(t,e,i){"use strict";i("1214")},bd6b:function(t,e,i){var a=i("06ad"),n=i("4942"),r=i("6d8b"),o=r.isString,s=r.isFunction,c=r.isObject,l=r.isArrayLike,d=r.indexOf,u=function(){this.animators=[]};function f(t,e,i,a,n,r,c,l){o(a)?(r=n,n=a,a=0):s(n)?(r=n,n="linear",a=0):s(a)?(r=a,a=0):s(i)?(r=i,i=500):i||(i=500),t.stopAnimation(),h(t,"",t,e,i,a,l);var d=t.animators.slice(),u=d.length;function f(){u--,u||r&&r()}u||r&&r();for(var p=0;p<d.length;p++)d[p].done(f).start(n,c)}function h(t,e,i,a,n,r,o){var s={},d=0;for(var u in a)a.hasOwnProperty(u)&&(null!=i[u]?c(a[u])&&!l(a[u])?h(t,e?e+"."+u:u,i[u],a[u],n,r,o):(o?(s[u]=i[u],p(t,e,u,a[u])):s[u]=a[u],d++):null==a[u]||o||p(t,e,u,a[u]));d>0&&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<f;u++)l&&(l=l[c[u]]);l&&(i=l)}else i=o;if(i){var h=o.animators,p=new a(i,e);return p.during((function(t){o.dirty(r)})).done((function(){h.splice(d(h,p),1)})),h.push(p),s&&s.animation.addAnimator(p),p}n('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,i=e.length,a=0;a<i;a++)e[a].stop(t);return e.length=0,this},animateTo:function(t,e,i,a,n,r){f(this,t,e,i,a,n,r)},animateFrom:function(t,e,i,a,n,r){f(this,t,e,i,a,n,r,!0)}};var m=u;t.exports=m},bd74:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){},n=function(t,e){return new Promise((function(i,n){var r=e.onSuccess||a,o=e.onFail||a;if(delete e.onSuccess,delete e.onFail,AlipayJSBridge){var s=t.split("."),c=s.pop()||"",l=s.join(".");AlipayJSBridge.call.apply(null,["webDdExec",{serviceName:l,actionName:c,args:e},function(t){var e={},a=t.content;if(a)try{e=JSON.parse(a)}catch(t){console.error("parse dt api result error",a,t)}t.success?(r.apply(null,[e]),i(e)):(o.apply(null,[e]),n(e))}])}else{var d=new Error("Fatal error, cannot find bridge ,current env is WebView in MiniApp");o(d),n(d)}}))};e.default=n},bda7:function(t,e,i){var a=i("6d8b"),n=i("f279");function r(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,a=0;a<i.length;a++)for(var n=i[a],r=n.geometry,s=r.coordinates,c=r.encodeOffsets,l=0;l<s.length;l++){var d=s[l];if("Polygon"===r.type)s[l]=o(d,c[l],e);else if("MultiPolygon"===r.type)for(var u=0;u<d.length;u++){var f=d[u];d[u]=o(f,c[l][u],e)}}return t.UTF8Encoding=!1,t}function o(t,e,i){for(var a=[],n=e[0],r=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,c=t.charCodeAt(o+1)-64;s=s>>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<arguments.length;e++){var i=arguments[e];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t};function c(t){var e=t.dimension,i=t.rows,a=t.xAxisName,n=t.axisVisible,r=t.xAxisType;return e.map((function(t,e){return{type:r,nameLocation:"middle",nameGap:22,name:a[e]||"",axisTick:{show:!0,lineStyle:{color:"#eee"}},data:i.map((function(e){return e[t]})),show:n}}))}function l(t){var e=t.rows,i=t.axisSite,a=t.metrics,r=t.area,o=t.stack,s=t.nullAddZero,c=t.labelMap,l=t.label,d=t.itemStyle,u=t.lineStyle,f=t.areaStyle,h=t.dimension,p=[],m={},v=o&&n.getStackMap(o);return a.forEach((function(t){m[t]=[]})),e.forEach((function(t){a.forEach((function(e){var i=null;null!=t[e]?i=t[e]:s&&(i=0),m[e].push([t[h[0]],i])}))})),a.forEach((function(t){var e={name:null!=c[t]?c[t]:t,type:"line",data:m[t]};r&&(e.areaStyle={normal:{}}),i.right&&(e.yAxisIndex=~i.right.indexOf(t)?1:0),o&&v[t]&&(e.stack=v[t]),l&&(e.label=l),d&&(e.itemStyle=d),u&&(e.lineStyle=u),f&&(e.areaStyle=f),p.push(e)})),p}function d(t){for(var e=t.yAxisName,i=t.yAxisType,a=t.axisVisible,r=t.scale,o=t.min,c=t.max,l=t.digit,d={type:"value",axisTick:{show:!1},show:a},u=[],f=function(t){i[t]?u[t]=s({},d,{axisLabel:{formatter:function(e){return n.getFormated(e,i[t],l)}}}):u[t]=s({},d),u[t].name=e[t]||"",u[t].scale=r[t]||!1,u[t].min=o[t]||null,u[t].max=c[t]||null},h=0;h<2;h++)f(h);return u}function u(t){var e=t.axisSite,i=t.yAxisType,a=t.digit,o=t.labelMap,s=t.tooltipFormatter,c=e.right||[],l=o?c.map((function(t){return void 0===o[t]?t:o[t]})):c;return{trigger:"axis",formatter:function(t){if(s)return s.apply(null,arguments);var e=[],o=t[0],c=o.name,d=o.axisValueLabel,u=c||d;return e.push(u+"<br>"),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("<br>")})),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<i.length;o++){var s=n(t,e,i[o]);r.push(s)}return r.join(" ")}}e.getDefaultLabel=r},c7a2:function(t,e,i){var a=i("cbe5"),n=i("5693"),r=i("9cf9"),o=r.subPixelOptimizeRect,s={},c=a.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,a,r,c;this.subPixelOptimize?(o(s,e,this.style),i=s.x,a=s.y,r=s.width,c=s.height,s.r=e.r,e=s):(i=e.x,a=e.y,r=e.width,c=e.height),e.r?n.buildPath(t,e):t.rect(i,a,r,c),t.closePath()}});t.exports=c},c84e:function(t,e,i){"use strict";i("234e")},c883:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startClassRoom$=void 0;var r=i("c6b3"),o="biz.live.startClassRoom";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"5.1.19"},n)),e.startClassRoom$=a,e.default=a},c8b8:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.recycle$=void 0;var r=i("c6b3"),o="ui.nav.recycle";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.recycle$=a,e.default=a},c8cc:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.extendModal$=void 0;var r=i("c6b3"),o="device.notification.extendModal";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"2.5.0"},n[r.ENV_ENUM.android]={vs:"2.5.0"},n)),e.extendModal$=a,e.default=a},c8fe9:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.clearShake$=void 0;var r=i("c6b3"),o="device.accelerometer.clearShake";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.clearShake$=a,e.default=a},c95f:function(t,e,i){},ca30:function(t,e,i){"use strict";i("6632")},ca98:function(t,e,i){var a=i("6d8b"),n=i("e0d3"),r=i("6cb7"),o=a.each,s=a.clone,c=a.map,l=a.merge,d=/^(min|max)?(.+)$/;function u(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function f(t,e,i){var n,r,s=[],c=[],l=t.timeline;if(t.baseOption&&(r=t.baseOption),(l||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media){r=r||{};var d=t.media;o(d,(function(t){t&&t.option&&(t.query?c.push(t):n||(n=t))}))}return r||(r=t),r.timeline||(r.timeline=l),o([r].concat(s).concat(a.map(c,(function(t){return t.option}))),(function(t){o(e,(function(e){e(t,i)}))})),{baseOption:r,timelineOptions:s,mediaDefault:n,mediaList:c}}function h(t,e,i){var n={width:e,height:i,aspectratio:e/i},r=!0;return a.each(t,(function(t,e){var i=e.match(d);if(i&&i[1]&&i[2]){var a=i[1],o=i[2].toLowerCase();p(n[o],t,a)||(r=!1)}})),r}function p(t,e,i){return"min"===i?t>=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;l<d;l++)h(a[l].query,e,i)&&r.push(l);return!r.length&&n&&(r=[-1]),r.length&&!m(r,this._currentMediaIndices)&&(o=c(r,(function(t){return s(-1===t?n.option:a[t].option)}))),this._currentMediaIndices=r,o}};var g=u;t.exports=g},cb11:function(t,e,i){var a=i("cbe5"),n=i("9cf9"),r=n.subPixelOptimizeLine,o={},s=a.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,a,n,s;this.subPixelOptimize?(r(o,e,this.style),i=o.x1,a=o.y1,n=o.x2,s=o.y2):(i=e.x1,a=e.y1,n=e.x2,s=e.y2);var c=e.percent;0!==c&&(t.moveTo(i,a),c<1&&(n=i*(1-c)+n*c,s=a*(1-c)+s*c),t.lineTo(n,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},cb13:function(t,e,i){},cb6d:function(t,e){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function a(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_dragStart:function(t){var e=t.target;while(e&&!e.draggable)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(a(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(r,o,t),this.dispatchToElement(a(e,t),"drag",t.event);var s=this.findHover(i,n,e).target,c=this._dropTarget;this._dropTarget=s,e!==s&&(c&&s!==c&&this.dispatchToElement(a(c,t),"dragleave",t.event),s&&s!==c&&this.dispatchToElement(a(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(a(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(a(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var n=i;t.exports=n},cb8f:function(t,e,i){var a=i("3eba"),n=i("6d8b"),r=i("cd33"),o=i("eb6b");i("48ac"),i("d4b1"),i("4a9d"),a.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!n.isArray(e)&&(t.axisPointer.link=[e])}})),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=r.collect(t,e)})),a.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},cbe5:function(t,e,i){var a=i("19eb"),n=i("6d8b"),r=i("20c8"),o=i("d833"),s=i("dc2f"),c=s.prototype.getCanvasPattern,l=Math.abs,d=new r(!0);function u(t){a.call(this,t),this.path=null}u.prototype={constructor:u,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var i,a=this.style,n=this.path||d,r=a.hasStroke(),o=a.hasFill(),s=a.fill,l=a.stroke,u=o&&!!s.colorStops,f=r&&!!l.colorStops,h=o&&!!s.image,p=r&&!!l.image;(a.bind(t,this,e),this.setTransform(t),this.__dirty)&&(u&&(i=i||this.getBoundingRect(),this._fillGradient=a.getGradient(t,s,i)),f&&(i=i||this.getBoundingRect(),this._strokeGradient=a.getGradient(t,l,i)));u?t.fillStyle=this._fillGradient:h&&(t.fillStyle=c.call(s,t)),f?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=c.call(l,t));var m=a.lineDash,v=a.lineDashOffset,g=!!t.setLineDash,b=this.getGlobalScale();if(n.setScale(b[0],b[1],this.segmentIgnoreThreshold),this.__dirtyPath||m&&!g&&r?(n.beginPath(t),m&&!g&&(n.setLineDash(m),n.setLineDashOffset(v)),this.buildPath(n,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=a.fillOpacity){var _=t.globalAlpha;t.globalAlpha=a.fillOpacity*a.opacity,n.fill(t),t.globalAlpha=_}else n.fill(t);if(m&&g&&(t.setLineDash(m),t.lineDashOffset=v),r)if(null!=a.strokeOpacity){_=t.globalAlpha;t.globalAlpha=a.strokeOpacity*a.opacity,n.stroke(t),t.globalAlpha=_}else n.stroke(t);m&&g&&t.setLineDash([]),null!=a.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var a=this.path;a||(a=this.path=new r),this.__dirtyPath&&(a.beginPath(),this.buildPath(a,this.shape,!1)),t=a.getBoundingRect()}if(this._rect=t,e.hasStroke()){var n=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){n.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-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<t.length;n++){var r=t[n]||{};if(f(r[a+"AxisId"],i.id)||f(r[a+"AxisIndex"],i.componentIndex)||f(r[a+"AxisName"],i.name))return n}}function f(t,e){return"all"===t||a.isArray(t)&&a.indexOf(t,e)>=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<c[0]&&(o=c[0]),n.value=o,s&&(n.status=e.axis.scale.isBlank()?"hide":"show")}}function p(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[g(t)]}function m(t){var e=p(t);return e&&e.axisPointerModel}function v(t){return!!t.get("handle.show")}function g(t){return t.type+"||"+t.id}e.collect=s,e.fixValue=h,e.getAxisInfo=p,e.getAxisPointerModel=m,e.makeKey=g},cdaa:function(t,e,i){var a=i("607d"),n=a.addEventListener,r=a.removeEventListener,o=a.normalizeEvent,s=a.getNativeEvent,c=i("6d8b"),l=i("1fab"),d=i("22d1"),u=300,f=d.domSupported,h=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=c.map(t,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:a}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function m(t){return"mousewheel"===t&&d.browser.firefox?"DOMMouseScroll":t}function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function g(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function b(t){t&&(t.zrByTouch=!0)}function _(t,e){return o(t.dom,new k(t,e),!0)}function y(t,e){var i=e,a=!1;while(i&&9!==i.nodeType&&!(a=i.domBelongToZr||i!==e&&i===t.painterRoot))i=i.parentNode;return a}function k(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var x=k.prototype;x.stopPropagation=x.stopImmediatePropagation=x.preventDefault=c.noop;var w={mousedown:function(t){t=o(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=o(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||I(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=o(this.dom,t),I(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=o(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=y(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),b(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),w.mousemove.call(this,t),w.mousedown.call(this,t)},touchmove:function(t){t=o(this.dom,t),b(t),this.handler.processGesture(t,"change"),w.mousemove.call(this,t)},touchend:function(t){t=o(this.dom,t),b(t),this.handler.processGesture(t,"end"),w.mouseup.call(this,t),+new Date-this._lastTouchMoment<u&&w.click.call(this,t)},pointerdown:function(t){w.mousedown.call(this,t)},pointermove:function(t){v(t)||w.mousemove.call(this,t)},pointerup:function(t){w.mouseup.call(this,t)},pointerout:function(t){v(t)||w.mouseout.call(this,t)}};c.each(["click","mousewheel","dblclick","contextmenu"],(function(t){w[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}}));var C={pointermove:function(t){v(t)||C.mousemove.call(this,t)},pointerup:function(t){C.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;I(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function S(t,e){var i=e.domHandlers;d.pointerEventsSupported?c.each(h.pointer,(function(a){T(e,a,(function(e){i[a].call(t,e)}))})):(d.touchEventsSupported&&c.each(h.touch,(function(a){T(e,a,(function(n){i[a].call(t,n),g(e)}))})),c.each(h.mouse,(function(a){T(e,a,(function(n){n=s(n),e.touching||i[a].call(t,n)}))})))}function M(t,e){function i(i){function a(a){a=s(a),y(t,a.target)||(a=_(t,a),e.domHandlers[i].call(t,a))}T(e,i,a,{capture:!0})}d.pointerEventsSupported?c.each(p.pointer,i):d.touchEventsSupported||c.each(p.mouse,i)}function T(t,e,i,a){t.mounted[e]=i,t.listenerOpts[e]=a,n(t.domTarget,m(e),i,a)}function P(t){var e=t.mounted;for(var i in e)e.hasOwnProperty(i)&&r(t.domTarget,m(i),e[i],t.listenerOpts[i]);t.mounted={}}function I(t,e){if(t._mayPointerCapture=null,f&&t._pointerCapturing^e){t._pointerCapturing=e;var i=t._globalHandlerScope;e?M(t,i):P(i)}}function O(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function E(t,e){l.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new O(t,w),f&&(this._globalHandlerScope=new O(document,C)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var j=E.prototype;j.dispose=function(){P(this._localHandlerScope),f&&P(this._globalHandlerScope)},j.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},c.mixin(E,l);var D=E;t.exports=D},ceb1:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getData$=void 0;var r=i("c6b3"),o="util.openTemporary.getData";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"6.3.15"},n[r.ENV_ENUM.android]={vs:"6.3.15"},n)),e.getData$=a,e.default=a},cf26:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.scanCard$=void 0;var r=i("c6b3"),o="biz.util.scanCard";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.scanCard$=a,e.default=a},cf7e:function(t,e,i){var a=i("6d8b");function n(t){return this._axes[t]}var r=function(t){this._axes={},this._dimList=[],this.name=t||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return a.map(this._dimList,n,this)},getAxesByScale:function(t){return t=t.toLowerCase(),a.filter(this.getAxes(),(function(e){return e.scale.type===t}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,a=t instanceof Array?[]:{},n=0;n<i.length;n++){var r=i[n],o=this._axes[r];a[r]=o[e](t[r])}return a}};var o=r;t.exports=o},d02e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getPerfInfo$=void 0;var r=i("c6b3"),o="biz.util.getPerfInfo";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.14"},n[r.ENV_ENUM.android]={vs:"5.1.14"},n)),e.getPerfInfo$=a,e.default=a},d0c5:function(t,e,i){},d0dd:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startRecord$=void 0;var r=i("c6b3"),o="device.audio.startRecord";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.startRecord$=a,e.default=a},d0e1: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("662f"),i("2877")),l=Object(c["a"])(s,a,n,!1,null,null,null);e["default"]=l.exports},d15d:function(t,e,i){var a=i("6d8b"),n=a.createHashMap,r=a.each;function o(t){var e=n();t.eachSeries((function(t){var i=t.get("stack");if(i){var a=e.get(i)||e.set(i,[]),n=t.getData(),r={stackResultDimension:n.getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;a.length&&n.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(r)}})),e.each(s)}function s(t){r(t,(function(e,i){var a=[],n=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,c=o.map(r,(function(r,c,l){var d,u,f=o.get(e.stackedDimension,l);if(isNaN(f))return n;s?u=o.getRawIndex(l):d=o.get(e.stackedByDimension,l);for(var h=NaN,p=i-1;p>=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<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},buildPath:function(t,e){for(var i=e.paths||[],a=0;a<i.length;a++)i[a].buildPath(t,i[a].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),a.prototype.getBoundingRect.call(this)}});t.exports=n},d4d1:function(t,e,i){var a=i("cbe5"),n=i("401b"),r=i("897a"),o=n.min,s=n.max,c=n.scaleAndAdd,l=n.copy,d=[],u=[],f=[];function h(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,i,a,n,r,o,s,c,l,d){return"none"!==l&&l?m.apply(this,arguments):v.apply(this,arguments)}function m(t,e,i,a,n,r,o,s,c,d,p){for(var m=0,v=i,g=0;g<a;g++){var b=e[v];if(v>=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<a;x++){var w=e[k];if(k>=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;n<t.length;n++){var r=t[n];r[0]<i[0]&&(i[0]=r[0]),r[1]<i[1]&&(i[1]=r[1]),r[0]>a[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(;a<n;a++)if(!h(i[a]))break}while(a<n)a+=p(t,i,a,n,n,1,r.min,r.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),_=a.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:r(a.prototype.brush),buildPath:function(t,e){var i=e.points,a=e.stackedOnPoints,n=0,r=i.length,o=e.smoothMonotone,s=g(i,e.smoothConstraint),c=g(a,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!h(i[r-1]))break;for(;n<r;n++)if(!h(i[n]))break}while(n<r){var l=p(t,i,n,r,r,1,s.min,s.max,e.smooth,o,e.connectNulls);p(t,a,n+l-1,l,r,-1,c.min,c.max,e.stackedOnSmooth,o,e.connectNulls),n+=l+1,t.closePath()}}});e.Polyline=b,e.Polygon=_},d51b:function(t,e){var i=function(){this.head=null,this.tail=null,this._len=0},a=i.prototype;a.insert=function(t){var e=new n(t);return this.insertEntry(e),e},a.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},a.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},a.len=function(){return this._len},a.clear=function(){this.head=this.tail=null,this._len=0};var n=function(t){this.value=t,this.next,this.prev},r=function(t){this._list=new i,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var i=this._list,a=this._map,r=null;if(null==a[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=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<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(c,o),s.mixin(c,r),s.mixin(c,n);var l=c;t.exports=l},d653:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.externalComplexPicker$=void 0;var r=i("c6b3"),o="biz.contact.externalComplexPicker";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"3.0.0"},n[r.ENV_ENUM.ios]={vs:"3.0"},n[r.ENV_ENUM.android]={vs:"3.0"},n)),e.externalComplexPicker$=a,e.default=a},d6bb:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.off=e.on=void 0;var a=function(t,e){i("98e9").addEventListener(t,e)};e.on=a;var n=function(t,e){i("98e9").removeEventListener(t,e)};e.off=n},d768:function(t,e,i){"use strict";function a(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var n=i("89d6"),r=i("6f0c"),o=i("4cbb");i("94b1");var s=a(i("6521")),c=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},d=.5;function u(t){var e=t.innerRows,i=t.dimAxisName,a=t.dimension,n=t.axisVisible,r=t.dimAxisType,o=t.dims;return a.map((function(t){return{type:"category",name:i,nameLocation:"middle",nameGap:22,data:"value"===r?f(o):e.map((function(e){return e[t]})),axisLabel:{formatter:function(t){return String(t)}},show:n}}))}function f(t){for(var e=Math.max.apply(null,t),i=Math.min.apply(null,t),a=[],n=i;n<=e;n++)a.push(n);return a}function h(t){for(var e=t.meaAxisName,i=t.meaAxisType,a=t.axisVisible,n=t.digit,o=t.scale,s=t.min,c=t.max,d={type:"value",axisTick:{show:!1},show:a},u=[],f=function(t){i[t]?u[t]=l({},d,{axisLabel:{formatter:function(e){return r.getFormated(e,i[t],n)}}}):u[t]=l({},d),u[t].name=e[t]||"",u[t].scale=o[t]||!1,u[t].min=s[t]||null,u[t].max=c[t]||null},h=0;h<2;h++)f(h);return u}function p(t){var e=t.axisSite,i=t.isHistogram,a=t.meaAxisType,o=t.digit,s=t.labelMap,c=i?e.right||[]:e.top||[];return s&&(c=c.map((function(t){return void 0===s[t]?t:s[t]}))),{trigger:"axis",formatter:function(t){var e=[];return e.push(t[0].name+"<br>"),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("<br>")})),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)<p}var v=[-1,-1,-1],g=[-1,-1];function b(){var t=g[0];g[0]=g[1],g[1]=t}function _(t,e,i,a,n,r,o,s,c,l){if(l>e&&l>a&&l>r&&l>s||l<e&&l<a&&l<r&&l<s)return 0;var u=d.cubicRootAt(e,a,r,s,l,v);if(0===u)return 0;for(var f,h,p=0,m=-1,_=0;_<u;_++){var y=v[_],k=0===y||1===y?.5:1,x=d.cubicAt(t,i,n,o,y);x<c||(m<0&&(m=d.cubicExtrema(e,a,r,s,g),g[1]<g[0]&&m>1&&b(),f=d.cubicAt(e,a,r,s,g[0]),m>1&&(h=d.cubicAt(e,a,r,s,g[1]))),2===m?y<g[0]?p+=f<e?k:-k:y<g[1]?p+=h<f?k:-k:p+=s<h?k:-k:y<g[0]?p+=f<e?k:-k:p+=s<f?k:-k)}return p}function y(t,e,i,a,n,r,o,s){if(s>e&&s>a&&s>r||s<e&&s<a&&s<r)return 0;var c=d.quadraticRootAt(e,a,r,s,v);if(0===c)return 0;var l=d.quadraticExtremum(e,a,r);if(l>=0&&l<=1){for(var u=0,f=d.quadraticAt(e,a,r,l),h=0;h<c;h++){var p=0===v[h]||1===v[h]?.5:1,m=d.quadraticAt(t,i,n,v[h]);m<o||(v[h]<l?u+=f<e?p:-p:u+=r<f?p:-p)}return u}p=0===v[0]||1===v[0]?.5:1,m=d.quadraticAt(t,i,n,v[0]);return m<o?0:r<e?p:-p}function k(t,e,i,a,n,r,o,s){if(s-=e,s>i||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;g<t.length;){var b=t[g++];switch(b===f.M&&g>1&&(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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?I(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):I(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var E={name:"project-space-task",components:{RecycleBin:g["a"],TaskTag:_["a"],draggable:h.a,projectSelect:p["a"],TaskSearch:y["a"],TaskTable:b["a"],inviteProjectMember:m["a"],projectConfig:v["a"]},data:function(){return{viewType:"task-board",code:this.$route.params.code,loading:!0,project:{task_board_theme:"simple"},stageName:"",task:{},taskStatusList:u["a"].TASK_STATUS,taskStages:[],defaultExecutor:{},projectMembers:[],projectMembersCopy:[],createTaskLoading:!1,showCreateStage:!1,preCode:"",nextCode:"",preTaskCode:"",nextTaskCode:"",taskSearchParams:{},stageKeys:[],stageModal:{form:this.$form.createForm(this),stageCode:"",stageIndex:0,modalStatus:!1,confirmLoading:!1,modalTitle:"编辑列表"},slideMenuKey:"",showInviteMember:!1,inviteMemberDraw:{visible:!1,keyword:"",searching:!1,list:[]},configDraw:{visible:!1},taskSearch:{visible:!1},downLoadUrl:Object(S["h"])("project/task/_downloadTemplate"),uploadLoading:!1,uploadAction:Object(S["c"])("project/task/uploadFile"),projectModal:{modalStatus:!1,modalTitle:"项目设置"},recycleModal:{modalStatus:!1,modalTitle:"查看回收站"},taskTagModal:{modalStatus:!1,modalTitle:"任务标签"},projectMemberModal:{loading:!1,currentStageIndex:0,modalStatus:!1,modalTitle:"设置任务执行者"}}},computed:O(O({},Object(o["c"])({userInfo:function(t){return t.userInfo},viewRefresh:function(t){return t.common.viewRefresh},socketAction:function(t){return t.socketAction}})),{},{headers:function(){return Object(S["d"])()},scrollOps:function(){return{mode:"slide",rail:{background:"#e5e5e5",opacity:1},bar:{keepShow:!0},pushLoad:{enable:!0,tips:{deactive:"Push to Load",active:"Release to Load",start:"Loading...",beforeDeactive:"Load Successfully!"},auto:!0,autoLoadDistance:0}}}}),watch:{$route:function(t,e){var i=this;if(this.code!=t.params.code&&(this.code=t.params.code,this.defaultExecutor=this.userInfo,this.getProject(),this.getProjectMembers(),this.init()),"taskdetail"==e.name){var a=e.query.from;if(void 0!=a){var n=this.taskSearchParams,r=Object.assign({stageCode:this.taskStages[a].code},n);Object(k["h"])(r).then((function(t){i.taskStages[a].tasksLoading=!1,i.taskStages[a].tasks=t.data;var e=i.taskStages[a].doneTasks=[],n=i.taskStages[a].unDoneTasks=[];t.data.forEach((function(t){t.done?e.push(t):n.push(t)}))}))}}1==t.query.re&&this.init()},socketAction:function(t){if("organization:task"===t.action){var e=t.data.data;e.projectCode==this.code&&this.getTaskStages(!1)}},viewRefresh:function(){console.log("viewRefresh")},inviteMemberDraw:{handler:function(t){t.visible?this.slideMenuKey="member":this.slideMenuKey=!1,t.keyword&&this.searchInviteMember()},deep:!0},configDraw:{handler:function(t){t.visible?this.slideMenuKey="config":this.slideMenuKey=!1},deep:!0},showInviteMember:function(t){t||this.getProjectMembers()}},created:function(){this.defaultExecutor=this.userInfo,this.getProject(),this.getProjectMembers(),this.init()},directives:{dragscroll2:function(t){}},methods:{init:function(){this.getTaskStages()},getProject:function(){var t=this;this.loading=!0,Object(x["h"])(this.code).then((function(e){t.loading=!1,t.project=e.data}))},getProjectMembers:function(){var t=this;Object(w["d"])({projectCode:this.code,pageSize:100}).then((function(e){t.projectMembers=e.data.list,t.projectMembersCopy=e.data.list}))},getTaskStages:function(){var t=this,e=!(arguments.length>0&&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;n<r;n++)i.push(t.to.children[n].getAttribute("id"));var o=i.findIndex((function(t){return t===e}));return o<i.length&&(a=i[o+1]),[e,a]},taskSort:function(t){var e=this.getPreAndNextCode(t);console.log(e);var i=t.to.parentNode.parentNode.parentNode.getAttribute("id");Object(C["x"])({preTaskCode:e[0],nextTaskCode:e[1],toStageCode:i})},handleResize:function(t,e){t.barSize&&(this.taskStages[e].fixedCreator=!0)},visibleDraw:function(t){"member"==t?(this.configDraw.visible=!1,this.taskSearch.visible=!1,this.inviteMemberDraw.visible=!this.inviteMemberDraw.visible):"taskSearch"==t?(this.taskSearch.visible=!this.taskSearch.visible,this.configDraw.visible=!1,this.inviteMemberDraw.visible=!1):(this.inviteMemberDraw.visible=!1,this.taskSearch.visible=!1,this.configDraw.visible=!this.configDraw.visible)},changeViewType:function(){"task-board"===this.viewType?this.viewType="task-table":this.viewType="task-board"},removeMember:function(t,e){var i=this;this.$confirm({title:"您确定要将「".concat(t.name,"」从项目中移除吗?"),content:"移除后该成员将不能查看任何关于该项目的信息",okText:"移除",okType:"danger",cancelText:"再想想",onOk:function(){return Object(w["e"])(t.code,i.code).then((function(t){Object(S["a"])(t)&&(i.projectMembers.splice(e,1),Object(P["b"])({title:"移除成功"},"notice","success"))})),Promise.resolve()}})},inviteMember:function(t){Object(w["c"])(t.memberCode,this.projectCode).then((function(e){var i=Object(S["a"])(e);i&&(t.joined=!0)}))},searchInviteMember:c.a.debounce((function(){var t=this;if(this.inviteMemberDraw.keyword||(this.projectMembers=JSON.parse(JSON.stringify(this.projectMembersCopy))),this.inviteMemberDraw.keyword.length<=1)return!1;this.searching=!0,this.projectMembers=this.projectMembers.filter((function(e){return-1!=e.name.indexOf(t.inviteMemberDraw.keyword)}))}),500),updateProject:function(t){this.project=t},collectProject:function(){var t=this,e=this.project.collected?"cancel":"collect";Object(T["a"])(this.project.code,e).then((function(e){Object(S["a"])(e)&&(t.project.collected=!t.project.collected)}))},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(S["a"])(t.file.response,!0))){var e=t.file.response.data;e?Object(P["b"])("成功导入".concat(e,"个任务"),"message","success"):Object(P["b"])("没有成功导入任何任务","message","warning"),this.getTaskStages(!1)}},beforeUpload:function(t){var e=t.size/1024/1024<2;return e||this.$message.error("文件不能超过2MB!"),e},getStatusColor:function(t){var e=this.taskStatusList.find((function(e){return e.id==t}));return e?e.color:""}}},j=E,D=(i("752d"),i("2877")),A=Object(D["a"])(j,a,n,!1,null,null,null);e["default"]=A.exports},d990:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-menu"},[e("wrapper-content",[e("div",{staticClass:"action"},[e("Button",{attrs:{type:"primary",icon:"delete"},on:{click:t.clearNode}},[t._v("清理无效记录")])],1),t.data.length?e("Table",{attrs:{columns:t.columns,dataSource:t.data,rowKey:"node",defaultExpandAllRows:"",pagination:!1},scopedSlots:t._u([{key:"titles",fn:function(i,a){return[e("EditableCell",{attrs:{text:a.title?a.title:"-"},on:{change:function(e){return t.onCellChange(e,a.node)}}})]}},{key:"action",fn:function(i,a,n){return[-1!==a.node.indexOf("/")?e("div",[!a.children&&a.pnode?e("span",{staticStyle:{"margin-left":"24px"}}):t._e(),e("Checkbox",{attrs:{checked:t.isChecked(a,"is_login")},on:{change:function(e){return t.onChange(e,a,"is_login")}}},[a.children?e("span",[t._v("全部")]):t._e(),t._v("加入登录控制\n ")]),!a.children&&a.pnode?e("span",{staticStyle:{"margin-left":"24px"}}):t._e(),e("Checkbox",{attrs:{checked:t.isChecked(a,"is_auth")},on:{change:function(e){return t.onChange(e,a,"is_auth")}}},[a.children?e("span",[t._v("全部")]):t._e(),t._v("加入权限控制\n ")]),!a.children&&a.pnode?e("span",{staticStyle:{"margin-left":"24px"}}):t._e()],1):t._e()]}}],null,!1,4059088924)}):t._e()],1)],1)},n=[],r=(i("7f7f"),i("ac6a"),i("3af3")),o=i("0020"),s=i("5efb"),c=i("a79d"),l=i("ed3b"),d=i("b558"),u=i("bb76"),f=function(){var t=this,e=t._self._c;return e("div",{staticClass:"editable-cell"},[t.editable?e("div",{staticClass:"editable-cell-input-wrapper"},[e("a-input",{attrs:{value:t.value},on:{change:t.handleChange,pressEnter:t.check}}),e("a-icon",{staticClass:"editable-cell-icon-check",attrs:{type:"check"},on:{click:t.check}})],1):e("div",{staticClass:"editable-cell-text-wrapper"},[t.value||0==t.value?e("span",[t._v(t._s(t.value))]):e("span"),e("a-icon",{staticClass:"editable-cell-icon",attrs:{type:"edit"},on:{click:t.edit}})],1)])},h=[],p=(i("c5f6"),i("0c63")),m={name:"EditableCell",components:{"a-input":d["a"],"a-icon":p["a"]},props:{text:[String,Number],showEdit:{type:[Boolean]}},data:function(){return{value:this.text,editable:!1}},methods:{handleChange:function(t){var e=t.target.value;this.value=e},check:function(){this.editable=!1,this.$emit("change",this.value)},edit:function(){this.editable=!0}}},v=m,g=(i("c0d0"),i("2877")),b=Object(g["a"])(v,f,h,!1,null,null,null),_=b.exports,y=i("0f66"),k=(i("2f14"),i("68fe"),r["a"].Item),x=[{title:"节点",dataIndex:"node",width:"30%"},{title:"名称",width:"12%",scopedSlots:{customRender:"titles"}},{title:"操作",scopedSlots:{customRender:"action"}}],w={components:{Table:o["a"],Button:s["a"],Divider:c["a"],Modal:l["a"],Form:r["a"],FormItem:k,Input:d["a"],EditableCell:_,Checkbox:u["a"]},data:function(){return{columns:x,data:[],loading:!0}},created:function(){this.init()},methods:{init:function(){var t=this;t.$store.dispatch("pageLoading",!0),Object(y["c"])().then((function(e){t.$store.dispatch("pageLoading",!1),t.data=e.data.nodes}))},clearNode:function(){Object(y["b"])()},onCellChange:function(t,e){Object(y["d"])(JSON.stringify([{name:[{name:"title"}],value:[{value:t}],node:e}]))},onChange:function(t,e,i){var a=t.target.checked;e[i]=a;var n=[],r={name:[{name:i}],value:[{value:a}],node:e.node};e.children&&e.children.forEach((function(t){t[i]=a;var e={name:[{name:i}],value:[{value:a}],node:t.node};a&&"is_auth"===i&&(t["is_login"]=a,e.name.push({name:"is_login"}),e.value.push({value:a})),n.push(e)})),a&&"is_auth"===i&&(e["is_login"]=a,r.name.push({name:"is_login"}),r.value.push({value:a})),n.push(r),n&&Object(y["d"])(JSON.stringify(n))},rowClick:function(t,e){},isChecked:function(t,e){if(!t.children)return!!t[e];var i=0;return t.children.forEach((function(t){t[e]&&i++})),i===t.children.length}}},C=w,S=Object(g["a"])(C,a,n,!1,null,null,null);e["default"]=S.exports},d9aa:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.start$=void 0;var r=i("c6b3"),o="device.geolocation.start";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.start$=a,e.default=a},d9e3:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.go$=void 0;var r=i("c6b3"),o="ui.nav.go";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.go$=a,e.default=a},d9fc:function(t,e,i){var a=i("cbe5"),n=a.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=n},da28:function(t,e,i){},da83:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.beaconPicker$=void 0;var r=i("c6b3"),o="biz.ATMBle.beaconPicker";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.beaconPicker$=a,e.default=a},db0e:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.locate$=void 0;var r=i("c6b3"),o="biz.map.locate";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.locate$=a,e.default=a},db147:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.nfcWrite$=void 0;var r=i("c6b3"),o="device.nfc.nfcWrite";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.nfcWrite$=a,e.default=a},dc2f:function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var a=i;t.exports=a},dcb3:function(t,e,i){var a=i("6d8b"),n=i("625e"),r=i("2306"),o=i("cd33"),s=i("607d"),c=i("88b3"),l=i("e0d3"),d=l.makeInner,u=d(),f=a.clone,h=a.bind;function p(){}function m(t,e,i,a){v(u(i).lastProp,a)||(u(i).lastProp=a,e?r.updateProps(i,a,t):(i.stopAnimation(),i.attr(a)))}function v(t,e){if(a.isObject(t)&&a.isObject(e)){var i=!0;return a.each(e,(function(e,a){i=i&&v(t[a],e)})),!!i}return t===e}function g(t,e){t[e.get("label.show")?"show":"hide"]()}function b(t){return{position:t.position.slice(),rotation:t.rotation||0}}function _(t,e,i){var a=e.get("z"),n=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=a&&(t.z=a),null!=n&&(t.zlevel=n),t.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,n){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,n||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var c=this._group,l=this._handle;if(!s||"hide"===s)return c&&c.hide(),void(l&&l.hide());c&&c.show(),l&&l.show();var d={};this.makeElOption(d,o,t,e,i);var u=d.graphicKey;u!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=u;var f=this._moveAnimation=this.determineAnimation(t,e);if(c){var h=a.curry(m,e,f);this.updatePointerEl(c,d,h,e),this.updateLabelEl(c,d,h,e)}else c=this._group=new r.Group,this.createPointerEl(c,d,t,e),this.createLabelEl(c,d,t,e),i.getZr().add(c);_(c,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),a=t.axis,n="category"===a.type,r=e.get("snap");if(!r&&!n)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(n&&a.getBandWidth()>s)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;a<i;a++)try{if(!(t[a]in e)){n=!1;break}}catch(t){n=!1;break}return n}function n(){return r&&o?a(d,weex)?"Web.Vue":"Web.Unknown":!r&&o?a(d,weex)?"Weex.Vue":"Weex.Unknown":r&&s&&!o?a(c,window)?"Weex.Rax":"Weex.Unknown":r&&a(l,window)?"Web.Unknown":"Unknown.Unknown"}Object.defineProperty(e,"__esModule",{value:!0});var r="undefined"!=typeof window,o="undefined"!=typeof weex,s="undefined"!=typeof callNative,c=["__weex_config__","__weex_options__","__weex_require__"],l=["localStorage","location","navigator","XMLHttpRequest"],d=["config","requireModule","document"];e.default=n},dded:function(t,e,i){var a=i("6d8b"),n=i("42e5"),r=function(t,e,i,a,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=r||!1,n.call(this,a)};r.prototype={constructor:r},a.inherits(r,n);var o=r;t.exports=o},ddf4:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.stopRealtimeTracing$=void 0;var r=i("c6b3"),o="biz.realm.stopRealtimeTracing";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.android]={vs:"6.0.13"},n)),e.stopRealtimeTracing$=a,e.default=a},de00:function(t,e){var i=2311;function a(){return i++}t.exports=a},de1c:function(t,e){var i={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=i},dfb9:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.setMenu$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.navigation.setMenu";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.6.0",paramsDeal:o.addWatchParamsDeal},n[r.ENV_ENUM.android]={vs:"2.6.0",paramsDeal:o.addWatchParamsDeal},n)),e.setMenu$=a,e.default=a},e073:function(t,e,i){var a=i("6d8b"),n=i("e86a"),r=i("e0d3"),o=r.makeInner,s=i("697e"),c=s.makeLabelFormatter,l=s.getOptionCategoryInterval,d=s.shouldShowAllLabels,u=o();function f(t){return"category"===t.type?p(t):g(t)}function h(t,e){return"category"===t.type?v(t,e):{ticks:t.scale.getTicks()}}function p(t){var e=t.getLabelModel(),i=m(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function m(t,e){var i,n,r=b(t,"labels"),o=l(e),s=_(r,o);return s||(a.isFunction(o)?i=S(t,o):(n="auto"===o?k(t):o,i=C(t,n)),y(r,o,{labels:i,labelCategoryInterval:n}))}function v(t,e){var i,n,r=b(t,"ticks"),o=l(e),s=_(r,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),a.isFunction(o))i=S(t,o,!0);else if("auto"===o){var c=m(t,t.getLabelModel());n=c.labelCategoryInterval,i=a.map(c.labels,(function(t){return t.tickValue}))}else n=o,i=C(t,n,!0);return y(r,o,{ticks:i,tickCategoryInterval:n})}function g(t){var e=t.scale.getTicks(),i=c(t);return{labels:a.map(e,(function(e,a){return{formattedLabel:i(e,a),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}function b(t,e){return u(t)[e]||(u(t)[e]=[])}function _(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function y(t,e,i){return t.push({key:e,value:i}),i}function k(t){var e=u(t).autoInterval;return null!=e?e:u(t).autoInterval=t.calculateCategoryInterval()}function x(t){var e=w(t),i=c(t),a=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),s=r.count();if(o[1]-o[0]<1)return 0;var l=1;s>40&&(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<n;a++){var r=i[a];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}}var u=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(t){return!o(t)||s(t)||t instanceof Date?t:t.value}function h(t){return o(t)&&!(t instanceof Array)}function p(t,e){e=(e||[]).slice();var i=a.map(t||[],(function(t,e){return{exist:t}}));return r(e,(function(t,a){if(o(t)){for(var n=0;n<i.length;n++)if(!i[n].option&&null!=t.id&&i[n].exist.id===t.id+"")return i[n].option=t,void(e[a]=null);for(n=0;n<i.length;n++){var r=i[n].exist;if(!i[n].option&&(null==r.id||null==t.id)&&null!=t.name&&!g(t)&&!g(r)&&r.name===t.name+"")return i[n].option=t,void(e[a]=null)}}})),r(e,(function(t,e){if(o(t)){for(var a=0;a<i.length;a++){var n=i[a].exist;if(!i[a].option&&!g(n)&&null==t.id){i[a].option=t;break}}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<n;a++)for(var r=t[a].seriesId,o=l(t[a].dataIndex),s=i&&i[r],c=0,d=o.length;c<d;c++){var u=o[c];s&&s[u]?s[u]=null:(e[r]||(e[r]={}))[u]=1}}function r(t,e){var i=[];for(var a in t)if(t.hasOwnProperty(a)&&null!=t[a])if(e)i.push(+a);else{var n=r(t[a],!0);n.length&&i.push({seriesId:a,dataIndex:n})}return i}}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?a.isArray(e.dataIndex)?a.map(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?a.isArray(e.name)?a.map(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function y(){var t="__\0ec_inner_"+k+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var k=0;function x(t,e,i){if(a.isString(e)){var n={};n[e+"Index"]=0,e=n}var o=i&&i.defaultMainType;!o||w(e,o+"Index")||w(e,o+"Id")||w(e,o+"Name")||(e[o+"Index"]=0);var s={};return r(e,(function(n,r){n=e[r];if("dataIndex"!==r&&"dataIndexInside"!==r){var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],c=o[1],l=(o[2]||"").toLowerCase();if(!(!c||!l||null==n||"index"===l&&"none"===n||i&&i.includeMainTypes&&a.indexOf(i.includeMainTypes,c)<0)){var d={mainType:c};"index"===l&&"all"===n||(d[l]=n);var u=t.queryComponents(d);s[c+"Models"]=u,s[c+"Model"]=u[0]}}else s[r]=n})),s}function w(t,e){return t&&t.hasOwnProperty(e)}function C(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function S(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function M(t){return"auto"===t?n.domSupported?"html":"richText":t||"html"}function T(t,e){var i=a.createHashMap(),n=[];return a.each(t,(function(t){var a=e(t);(i.get(a)||(n.push(a),i.set(a,[]))).push(t)})),{keys:n,buckets:i}}e.normalizeToArray=l,e.defaultEmphasis=d,e.TEXT_STYLE_OPTIONS=u,e.getDataItemValue=f,e.isDataItemOption=h,e.mappingToExists=p,e.makeIdAndName=m,e.isNameSpecified=v,e.isIdInner=g,e.compressBatches=b,e.queryDataIndex=_,e.makeInner=y,e.parseFinder=x,e.setAttribute=C,e.getAttribute=S,e.getTooltipRenderMode=M,e.groupData=T},e0d8:function(t,e,i){var a=i("625e");function n(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}n.prototype.parse=function(t){return t},n.prototype.getSetting=function(t){return this._setting[t]},n.prototype.contain=function(t){var e=this._extent;return t>=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[0]&&(e[0]=t[0]),t[1]>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<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,a=i.indexOf(e);a>=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;e<i.length;e++)t=i[e],a&&(a.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(a)),t.parent=null;return i.length=0,this},eachChild:function(t,e){for(var i=this._children,a=0;a<i.length;a++){var n=i[a];t.call(e,n,a)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var a=this._children[i];t.call(e,a),"group"===a.type&&a.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.addToStorage(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.delFromStorage(i),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new r(0,0,0,0),a=t||this._children,n=[],o=0;o<a.length;o++){var s=a[o];if(!s.ignore&&!s.invisible){var c=s.getBoundingRect(),l=s.getLocalTransform(n);l?(i.copy(c),i.applyTransform(l),e=e||i.clone(),e.union(i)):(e=e||c.clone(),e.union(c))}}return e||i}},a.inherits(o,n);var s=o;t.exports=s},e222:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.compressImage$=void 0;var r=i("c6b3"),o="biz.util.compressImage";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.compressImage$=a,e.default=a},e263:function(t,e,i){var a=i("401b"),n=i("4a3f"),r=Math.min,o=Math.max,s=Math.sin,c=Math.cos,l=2*Math.PI,d=a.create(),u=a.create(),f=a.create();function h(t,e,i){if(0!==t.length){var a,n=t[0],s=n[0],c=n[0],l=n[1],d=n[1];for(a=1;a<t.length;a++)n=t[a],s=r(s,n[0]),c=o(c,n[0]),l=r(l,n[1]),d=o(d,n[1]);e[0]=s,e[1]=l,i[0]=c,i[1]=d}}function p(t,e,i,a,n,s){n[0]=r(t,i),n[1]=r(e,a),s[0]=o(t,i),s[1]=o(e,a)}var m=[],v=[];function g(t,e,i,a,s,c,l,d,u,f){var h,p=n.cubicExtrema,g=n.cubicAt,b=p(t,i,s,l,m);for(u[0]=1/0,u[1]=1/0,f[0]=-1/0,f[1]=-1/0,h=0;h<b;h++){var _=g(t,i,s,l,m[h]);u[0]=r(_,u[0]),f[0]=o(_,f[0])}for(b=p(e,a,c,d,v),h=0;h<b;h++){var y=g(e,a,c,d,v[h]);u[1]=r(y,u[1]),f[1]=o(y,f[1])}u[0]=r(t,u[0]),f[0]=o(t,f[0]),u[0]=r(l,u[0]),f[0]=o(l,f[0]),u[1]=r(e,u[1]),f[1]=o(e,f[1]),u[1]=r(d,u[1]),f[1]=o(d,f[1])}function b(t,e,i,a,s,c,l,d){var u=n.quadraticExtremum,f=n.quadraticAt,h=o(r(u(t,i,s),1),0),p=o(r(u(e,a,c),1),0),m=f(t,i,s,h),v=f(e,a,c,p);l[0]=r(t,s,m),l[1]=r(e,c,v),d[0]=o(t,s,m),d[1]=o(e,c,v)}function _(t,e,i,n,r,o,h,p,m){var v=a.min,g=a.max,b=Math.abs(r-o);if(b%l<1e-4&&b>1e-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:r<o&&h&&(r+=l),h){var _=o;o=r,r=_}for(var y=0;y<o;y+=Math.PI/2)y>r&&(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;a<i;a++)if(t[a].length>e)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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?R(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):R(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}for(var F=[],U=0;U<7;U++)F.push({name:"XX公司 "+(U+1)+" 号员工",total:1234.56-100*U});for(var B=[],H=1;H<20;H++)B.push({"日期":"1月".concat(H,"日"),"任务":(10*Math.random()+1).toFixed(0)});for(var W=[],Y=1;Y<13;Y++)W.push({"日期":"".concat(Y,"月"),"数量":(10*Math.random()+1).toFixed(0)});var q={components:{VeLine:c.a,VeHistogram:d.a,ChartCard:g,MiniProgress:O,Trend:C,RankList:L},mixins:[$["a"]],data:function(){return{loading:!1,rankList:F,chartExtend:{grid:{left:"-25",right:"0",top:"10",bottom:"-15"},series:{barWidth:15},xAxis:{show:!1},yAxis:{show:!1},tooltip:{backgroundColor:"#fff",textStyle:{color:"#333"},borderWidth:1,borderColor:"#e8e8e8"},axisPointer:{lineStyle:{width:0}}},projectData:{count:0,projectSchedule:0,chartData:{columns:["日期","数量"],rows:W},chartSettings:{itemStyle:{color:"#1890ff"}}},taskData:{count:0,taskOverdueCount:0,taskOverduePercent:0,chartData:{columns:["日期","任务"],rows:B},chartSettings:{area:!0,itemStyle:{color:"#b68eec"},areaStyle:{color:"#b68eec"}}},projectTotalData:{chartData:{columns:["日期","数量"],rows:W},chartSettings:{itemStyle:{color:"#1890ff"}},chartExtend:{grid:{left:"30",right:"0",top:"15",bottom:"0"},series:{barWidth:45}}},projectList:[],projectTotal:0,projectLoading:!1}},computed:z({},Object(o["c"])({userInfo:function(t){return t.userInfo}})),created:function(){this.init()},methods:{init:function(){var t=this,e=!(arguments.length>0&&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||u<e-f&&u<n-f&&u<o-f&&u<c-f||d>t+f&&d>i+f&&d>r+f&&d>s+f||d<t-f&&d<i-f&&d<r-f&&d<s-f)return!1;var h=a.cubicProjectPoint(t,e,i,n,r,o,s,c,d,u,null);return h<=f/2}e.containStroke=n},e86a:function(t,e,i){var a=i("9850"),n=i("5e76"),r=i("6d8b"),o=r.getContext,s=r.extend,c=r.retrieve2,l=r.retrieve3,d=r.trim,u={},f=0,h=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,m="12px sans-serif",v={};function g(t,e){v[t]=e}function b(t,e){e=e||m;var i=t+":"+e;if(u[i])return u[i];for(var a=(t+"").split("\n"),n=0,r=0,o=a.length;r<o;r++)n=Math.max(E(a[r],e).width,n);return f>h&&(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<s;o++)r[o]=P(r[o],n);return r.join("\n")}function T(t,e,i,a){a=s({},a),a.font=e;i=c(i,"...");a.maxIterations=c(a.maxIterations,2);var n=a.minChar=c(a.minChar,0);a.cnCharWidth=b("国",e);var r=a.ascCharWidth=b("a",e);a.placeholder=c(a.placeholder,"");for(var o=t=Math.max(0,t-1),l=0;l<n&&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;r<o&&n<e;r++){var s=t.charCodeAt(r);n+=0<=s&&s<=127?i:a}return r}function O(t){return b("国",t)}function E(t,e){return v.measureText(t,e)}function j(t,e,i,a,n){null!=t&&(t+="");var r=c(a,O(e)),o=t?t.split("\n"):[],s=o.length*r,l=s,d=!0;if(i&&(l+=i[0]+i[2]),t&&n){d=!1;var u=n.outerHeight,f=n.outerWidth;if(null!=u&&l>u)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;p<m;p++)o[p]=P(o[p],h)}return{lines:o,height:s,outerHeight:l,lineHeight:r,canCacheByTextString:d}}function D(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;var a,r=p.lastIndex=0;while(null!=(a=p.exec(t))){var o=a.index;o>r&&A(i,t.substring(r,o)),A(i,a[2],a[1]),r=p.lastIndex}r<t.length&&A(i,t.substring(r,t.length));var s=i.lines,d=0,u=0,f=[],h=e.textPadding,m=e.truncate,v=m&&m.outerWidth,g=m&&m.outerHeight;h&&(null!=v&&(v-=h[1]+h[3]),null!=g&&(g-=h[0]+h[2]));for(var _=0;_<s.length;_++){for(var y=s[_],k=0,x=0,w=0;w<y.tokens.length;w++){var C=y.tokens[w],S=C.styleName&&e.rich[C.styleName]||{},T=C.textPadding=S.textPadding,P=C.font=S.font||e.font,I=C.textHeight=c(S.textHeight,O(P));if(T&&(I+=T[0]+T[2]),C.height=I,C.lineHeight=l(S.textLineHeight,e.textLineHeight,I),C.textAlign=S&&S.textAlign||e.textAlign,C.textVerticalAlign=S&&S.textVerticalAlign||"middle",null!=g&&d+C.lineHeight>g)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&&(!j||$<L?(C.text="",C.textWidth=E=0):(C.text=M(C.text,$-L,P,m.ellipsis,{minChar:m.minChar}),C.textWidth=b(C.text,P),E=C.textWidth+L))}x+=C.width=E,S&&(k=Math.max(k,C.lineHeight))}y.width=x,y.lineHeight=k,d+=k,u=Math.max(u,x)}i.outerWidth=i.width=c(e.textWidth,u),i.outerHeight=i.height=c(e.textHeight,d),h&&(i.outerWidth+=h[1]+h[3],i.outerHeight+=h[0]+h[2]);for(_=0;_<f.length;_++){C=f[_];var V=C.percentWidth;C.width=parseInt(V,10)/100*u}return i}function A(t,e,i){for(var a=""===e,n=e.split("\n"),r=t.lines,o=0;o<n.length;o++){var s=n[o],c={styleName:i,text:s,isLineHolder:!s&&!a};if(o)r.push({tokens:[c]});else{var l=(r[r.length-1]||(r[0]={tokens:[]})).tokens,d=l.length;1===d&&l[0].isLineHolder?l[0]=c:(s||!d||a)&&l.push(c)}}}function N(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&d(e)||t.textFont||t.font}v.measureText=function(t,e){var i=o();return i.font=e||m,i.measureText(t)},e.DEFAULT_FONT=m,e.$override=g,e.getWidth=b,e.getBoundingRect=_,e.adjustTextX=x,e.adjustTextY=w,e.calculateTextPosition=C,e.adjustTextPositionOnRect=S,e.truncateText=M,e.getLineHeight=O,e.measureText=E,e.parsePlainText=j,e.parseRichText=D,e.makeFont=N},e887:function(t,e,i){var a=i("6d8b"),n=a.each,r=i("e1fc"),o=i("8918"),s=i("625e"),c=i("e0d3"),l=i("2306"),d=i("f47d"),u=d.createTask,f=i("cccd"),h=c.makeInner(),p=f();function m(){this.group=new r,this.uid=o.getUID("viewChart"),this.renderTask=u({plan:_,reset:y}),this.renderTask.context={view:this}}m.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,a){},highlight:function(t,e,i,a){b(t.getData(),a,"emphasis")},downplay:function(t,e,i,a){b(t.getData(),a,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v=m.prototype;function g(t,e,i){if(t&&(t.trigger(e,i),t.isGroup&&!l.isHighDownDispatcher(t)))for(var a=0,n=t.childCount();a<n;a++)g(t.childAt(a),e,i)}function b(t,e,i){var a=c.queryDataIndex(t,e),r=e&&null!=e.highlightKey?l.getHighlightDigit(e.highlightKey):null;null!=a?n(c.normalizeToArray(a),(function(e){g(t.getItemGraphicEl(e),i,r)})):t.eachItemGraphicEl((function(t){g(t,i,r)}))}function _(t){return p(t.model)}function y(t){var e=t.model,i=t.ecModel,a=t.api,n=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,s=n&&h(n).updateMethod,c=r?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==c&&o[c](e,i,a,n),k[c]}v.updateView=v.updateLayout=v.updateVisual=function(t,e,i,a){this.render(t,e,i,a)},s.enableClassExtend(m,["dispose"]),s.enableClassManagement(m,{registerWhenExtend:!0}),m.markUpdateMethod=function(t,e){h(t).updateMethod=e};var k={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},x=m;t.exports=x},e8f5: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:"members-profile"},[e("a-breadcrumb",{staticClass:"breadcrumb",attrs:{separator:">"}},[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<o||p>=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<t.length;i++)if(t[i]!==e[i])return!0;return!1}function w(t,e){for(var i=0;i<t.length;i++){var a=t[i];a.setTransform(e),e.beginPath(),a.buildPath(e,a.shape),e.clip(),a.restoreTransform(e)}}function C(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var S=function(t,e,i){this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=r.extend({},i||{}),this.dpr=i.devicePixelRatio||n,this._singleCanvas=a,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],c=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,a){var d=t.width,u=t.height;null!=i.width&&(d=i.width),null!=i.height&&(u=i.height),this.dpr=i.devicePixelRatio||1,t.width=d*this.dpr,t.height=u*this.dpr,this._width=d,this._height=u;var f=new l(t,this,this.dpr);f.__builtin__=!0,f.initContext(),c[p]=f,f.zlevel=p,s.push(p),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var h=this._domRoot=C(this._width,this._height);t.appendChild(h)}this._hoverlayer=null,this._hoverElements=[]};S.prototype={constructor:S,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var a=0;a<i.length;a++){var n=i[a],r=this._layers[n];if(!r.__builtin__&&r.refresh){var o=0===a?this._backgroundColor:null;r.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return i.__from=t,t.__hoverMir=i,e&&i.setStyle(e),this._hoverElements.push(i),i}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,a=r.indexOf(i,e);a>=0&&i.splice(a,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var a=e[i].__from;a&&(a.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){c(t,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(h));var a={};i.ctx.save();for(var n=0;n<e;){var r=t[n],o=r.__from;o&&o.__zr?(n++,o.invisible||(r.transform=o.transform,r.invTransform=o.invTransform,r.__clipPaths=o.__clipPaths,this._doPaintEl(r,i,!0,a))):(t.splice(n,1),o.__hoverMir=null,e--)}i.ctx.restore()}},getHoverLayer:function(){return this.getLayer(h)},_paintList:function(t,e,i){if(this._redrawId===i){e=e||!1,this._updateLayerStatus(t);var a=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!a){var n=this;d((function(){n._paintList(t,e,i)}))}}},_compositeManually:function(){var t=this.getLayer(p).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer((function(a){a.virtual&&t.drawImage(a.dom,0,0,e,i)}))},_doPaintList:function(t,e){for(var i=[],a=0;a<this._zlevelList.length;a++){var n=this._zlevelList[a],o=this._layers[n];o.__builtin__&&o!==this._hoverlayer&&(o.__dirty||e)&&i.push(o)}for(var s=!0,c=0;c<i.length;c++){o=i[c];var l=o.ctx,d={};l.save();var u=e?o.__startIndex:o.__drawIndex,h=!e&&o.incremental&&Date.now,p=h&&Date.now(),m=o.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(o.__startIndex===o.__endIndex)o.clear(!1,m);else if(u===o.__startIndex){var v=t[u];v.incremental&&v.notClear&&!e||o.clear(!1,m)}-1===u&&(console.error("For some unknown reason. drawIndex is -1"),u=o.__startIndex);for(var g=u;g<o.__endIndex;g++){var b=t[g];if(this._doPaintEl(b,o,e,d),b.__dirty=b.__dirtyText=!1,h){var _=Date.now()-p;if(_>15)break}}o.__drawIndex=g,o.__drawIndex<o.__endIndex&&(s=!1),d.prevElClipPaths&&l.restore(),l.restore()}return f.wxa&&r.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),s},_doPaintEl:function(t,e,i,a){var n=e.ctx,r=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!r||r[0]||r[3])&&(!t.culling||!k(t,this._width,this._height))){var o=t.__clipPaths,s=a.prevElClipPaths;s&&!x(o,s)||(s&&(n.restore(),a.prevElClipPaths=null,a.prevEl=null),o&&(n.save(),w(o,n),a.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(n),t.brush(n,a.prevEl||null),a.prevEl=t,t.afterBrush&&t.afterBrush(n)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=p);var i=this._layers[t];return i||(i=new l("zr_"+t,this,this.dpr),i.zlevel=t,i.__builtin__=!0,this._layerConfig[t]?r.merge(i,this._layerConfig[t],!0):this._layerConfig[t-m]&&r.merge(i,this._layerConfig[t-m],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},insertLayer:function(t,e){var i=this._layers,a=this._zlevelList,n=a.length,r=null,s=-1,c=this._domRoot;if(i[t])o("ZLevel "+t+" has been used already");else if(b(e)){if(n>0&&t>a[0]){for(s=0;s<n-1;s++)if(a[s]<t&&a[s+1]>t)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;a<n.length;a++)i=n[a],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,a,n,r=this._zlevelList;for(n=0;n<r.length;n++)a=r[n],i=this._layers[a],i.__builtin__&&t.call(e,i,a)},eachOtherLayer:function(t,e){var i,a,n,r=this._zlevelList;for(n=0;n<r.length;n++)a=r[n],i=this._layers[a],i.__builtin__||t.call(e,i,a)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var i=1;i<t.length;i++){var a=t[i];if(a.zlevel!==t[i-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var n,r=null,s=0;for(i=0;i<t.length;i++){a=t[i];var c,l=a.zlevel;n!==l&&(n=l,s=0),a.incremental?(c=this.getLayer(l+v,this._needsManuallyCompositing),c.incremental=!0,s=1):c=this.getLayer(l+(s>0?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;a<this._zlevelList.length;a++){var n=this._zlevelList[a];if(n===t||n===t+m){var o=this._layers[n];r.merge(o,i[t],!0)}}}},delLayer:function(t){var e=this._layers,i=this._zlevelList,a=e[t];a&&(a.dom.parentNode.removeChild(a.dom),delete e[t],i.splice(r.indexOf(i,t),1))},resize:function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||e!==this._height){for(var n in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(n)&&this._layers[n].resize(t,e);r.each(this._progressiveLayers,(function(i){i.resize(t,e)})),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(p).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var e=new l("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,a=e.dom.height,n=e.ctx;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,a):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())}))}else for(var r={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var c=o[s];this._doPaintEl(c,e,!0,r)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],a=["clientWidth","clientHeight"][t],n=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[a]||g(s[i])||g(o.style[i]))-(g(s[n])||0)-(g(s[r])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var i=document.createElement("canvas"),a=i.getContext("2d"),n=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,s=r.shadowOffsetX*e,c=r.shadowOffsetY*e,l=r.hasStroke()?r.lineWidth:0,d=Math.max(l/2,-s+o),f=Math.max(l/2,s+o),h=Math.max(l/2,-c+o),p=Math.max(l/2,c+o),m=n.width+d+f,v=n.height+h+p;i.width=m*e,i.height=v*e,a.scale(e,e),a.clearRect(0,0,m,v),a.dpr=e;var g={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[d-n.x,h-n.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(a);var b=u,_=new b({style:{x:0,y:0,image:i}});return null!=g.position&&(_.position=t.position=g.position),null!=g.rotation&&(_.rotation=t.rotation=g.rotation),null!=g.scale&&(_.scale=t.scale=g.scale),_}};var M=S;t.exports=M},eda2:function(t,e,i){var a=i("6d8b"),n=i("e86a"),r=i("3842");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+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<r.length;o++){var s=f[o];t=t.replace(h(s),h(s,0))}for(var c=0;c<n;c++)for(var l=0;l<r.length;l++){var d=e[c][r[l]];t=t.replace(h(f[l],c),i?u(d):d)}return t}function m(t,e,i){return a.each(e,(function(e,a){t=t.replace("{"+a+"}",i?u(e):e)})),t}function v(t,e){t=a.isString(t)?{color:t,extraCssText:e}:t||{};var i=t.color,n=t.type,r=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return i?"html"===r?"subItem"===n?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+u(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+u(i)+";"+(e||"")+'"></span>':{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<f.length;){switch(i=f[n++],d=n,a=0,i){case h:a=1;break;case m:a=1;break;case p:a=3;break;case b:a=2;break;case g:var _=e[4],y=e[5],k=c(e[0]*e[0]+e[1]*e[1]),x=c(e[2]*e[2]+e[3]*e[3]),w=l(-e[1]/x,e[0]/k);f[n]*=k,f[n++]+=_,f[n]*=x,f[n++]+=y,f[n++]*=k,f[n++]*=x,f[n++]+=w,f[n++]+=w,n+=2,d=n;break;case v:C[0]=f[n++],C[1]=f[n++],r(C,C,e),f[d++]=C[0],f[d++]=C[1],C[0]+=f[n++],C[1]+=f[n++],r(C,C,e),f[d++]=C[0],f[d++]=C[1]}for(u=0;u<a;u++){var C=s[u];C[0]=f[n++],C[1]=f[n++],r(C,C,e),f[d++]=C[0],f[d++]=C[1]}}}t.exports=d},eee2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){return new Promise((function(i,a){dd.dtBridge({m:t,args:e,onSuccess:function(t){"function"==typeof e.onSuccess&&e.onSuccess(t),i(t)},onFail:function(t){"function"==typeof e.onFail&&e.onFail(t),a(t)}})}))};e.default=a},ef97:function(t,e,i){var a=i("3eba");i("217b"),i("f17f");var n=i("7f96"),r=i("87c3"),o=i("fdde");i("01ed"),a.registerVisual(n("line","circle","line")),a.registerLayout(r("line")),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,o("line"))},f123:function(t,e,i){var a=i("9f82"),n=a.prepareDataCoordInfo,r=a.getStackedOnPoint;function o(t,e){var i=[];return e.diff(t).add((function(t){i.push({cmd:"+",idx:t})})).update((function(t,e){i.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){i.push({cmd:"-",idx:t})})).execute(),i}function s(t,e,i,a,s,c,l,d){for(var u=o(t,e),f=[],h=[],p=[],m=[],v=[],g=[],b=[],_=n(s,e,l),y=n(c,t,d),k=0;k<u.length;k++){var x=u[k],w=!0;switch(x.cmd){case"=":var C=t.getItemLayout(x.idx),S=e.getItemLayout(x.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=S.slice()),f.push(C),h.push(S),p.push(i[x.idx]),m.push(a[x.idx1]),b.push(e.getRawIndex(x.idx1));break;case"+":var M=x.idx;f.push(s.dataToPoint([e.get(_.dataDimsForPoint[0],M),e.get(_.dataDimsForPoint[1],M)])),h.push(e.getItemLayout(M).slice()),p.push(r(_,s,e,M)),m.push(a[M]),b.push(e.getRawIndex(M));break;case"-":M=x.idx;var T=t.getRawIndex(M);T!==M?(f.push(t.getItemLayout(M)),h.push(c.dataToPoint([t.get(y.dataDimsForPoint[0],M),t.get(y.dataDimsForPoint[1],M)])),p.push(i[M]),m.push(r(y,c,t,M)),b.push(T)):w=!1}w&&(v.push(x),g.push(g.length))}g.sort((function(t,e){return b[t]-b[e]}));var P=[],I=[],O=[],E=[],j=[];for(k=0;k<g.length;k++){M=g[k];P[k]=f[M],I[k]=h[M],O[k]=p[M],E[k]=m[M],j[k]=v[M]}return{current:P,next:I,stackedOnCurrent:O,stackedOnNext:E,status:j}}t.exports=s},f162:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.genBizStoreParamsDealFn=e.genBoolResultDealFn=e.forceChangeParamsDealFn=e.genDefaultParamsDealFn=e.addDefaultCorpIdParamsDeal=e.addWatchParamsDeal=void 0;var a=function(t){var e=Object.assign({},t);return e.watch=!0,e};e.addWatchParamsDeal=a;var n=function(t){var e=Object.assign({},t);return e.corpId="corpId",e};e.addDefaultCorpIdParamsDeal=n;var r=function(t){var e=Object.assign({},t);return function(t){return Object.assign({},e,t)}};e.genDefaultParamsDealFn=r;var o=function(t){var e=Object.assign({},t);return function(t){return Object.assign(t,e)}};e.forceChangeParamsDealFn=o;var s=function(t){return function(e){var i=Object.assign({},e);return t.forEach((function(t){void 0!==i[t]&&(i[t]=!!i[t])})),i}};e.genBoolResultDealFn=s;var c=function(t){var e=Object.assign({},t);return"string"!=typeof e.params?(e.params=JSON.stringify(e),e):e};e.genBizStoreParamsDealFn=c},f179:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.keepAlive$=void 0;var r=i("c6b3"),o="media.voiceRecorder.keepAlive";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.keepAlive$=a,e.default=a},f17f:function(t,e,i){var a=i("4e08"),n=(a.__DEV__,i("6d8b")),r=i("e263"),o=r.fromPoints,s=i("f706"),c=i("1418"),l=i("f123"),d=i("2306"),u=i("e0d3"),f=i("d4d1"),h=f.Polyline,p=f.Polygon,m=i("e887"),v=i("9f82"),g=v.prepareDataCoordInfo,b=v.getStackedOnPoint,_=i("b0af"),y=_.createGridClipPath,k=_.createPolarClipPath;function x(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var a=t[i],n=e[i];if(a[0]!==n[0]||a[1]!==n[1])return}return!0}}function w(t,e){var i=[],a=[],n=[],r=[];return o(t,i,a),o(e,n,r),Math.max(Math.abs(i[0]-n[0]),Math.abs(i[1]-n[1]),Math.abs(a[0]-r[0]),Math.abs(a[1]-r[1]))}function C(t){return"number"===typeof t?t:t?.5:0}function S(t,e,i){if(!i.valueDim)return[];for(var a=[],n=0,r=e.count();n<r;n++)a.push(b(i,t,e,n));return a}function M(t,e,i){for(var a=e.getBaseAxis(),n="x"===a.dim||"radius"===a.dim?0:1,r=[],o=0;o<t.length-1;o++){var s=t[o+1],c=t[o];r.push(c);var l=[];switch(i){case"end":l[n]=s[n],l[1-n]=c[1-n],r.push(l);break;case"middle":var d=(c[n]+s[n])/2,u=[];l[n]=u[n]=d,l[1-n]=c[1-n],u[1-n]=s[1-n],r.push(l),r.push(u);break;default:l[n]=c[n],l[1-n]=s[1-n],r.push(l)}}return t[o]&&r.push(t[o]),r}function T(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var a,r,o=i.length-1;o>=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;o<n;o+=r)if(1.5*c.getSymbolSize(e,o)[t.isHorizontal()?1:0]>a)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<g.length;b++){var _=g[b].cmd;if("="===_){var y=t.getItemGraphicEl(g[b].idx1);y&&v.push({el:y,ptIdx:b})}}o.animators&&o.animators.length&&o.animators[0].during((function(){for(var t=0;t<v.length;t++){var e=v[t].el;e.attr("position",o.shape.__points[v[t].ptIdx])}}))},remove:function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl((function(t,a){t.__temp&&(e.remove(t),i.setItemGraphicEl(a,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=E},f1d3:function(t,e,i){t.exports=i.p+"img/404.77e1571b.svg"},f219:function(t,e){var i="#eee",a=function(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}},n=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],r={color:n,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i},label:{color:"#000"}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:n[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:a(),logAxis:a(),valueAxis:a(),categoryAxis:a(),line:{symbol:"circle"},graph:{color:n},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};r.categoryAxis.splitLine.show=!1;var o=r;t.exports=o},f257:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.invokeWorkbench$=void 0;var r=i("c6b3"),o="biz.util.invokeWorkbench";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.pc]={vs:"6.0.8"},n)),e.invokeWorkbench$=a,e.default=a},f26f:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.uploadImageFromCamera$=void 0;var r=i("c6b3"),o="biz.util.uploadImageFromCamera";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.uploadImageFromCamera$=a,e.default=a},f273:function(t,e,i){var a=i("6d8b"),n=i("2306"),r=i("fab22"),o=i("6679"),s=i("0156"),c=i("58df"),l=c.rectCoordAxisBuildSplitArea,d=c.rectCoordAxisHandleRemove,u=["axisLine","axisTickLabel","axisName"],f=["splitArea","splitLine","minorSplitLine"],h=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new n.Group,this.group.add(this._axisGroup),t.get("show")){var l=t.getCoordSysModel(),d=s.layout(l,t),p=new r(t,d);a.each(u,p.add,p),this._axisGroup.add(p.getGroup()),a.each(f,(function(e){t.get(e+".show")&&this["_"+e](t,l)}),this),n.groupTransition(c,this._axisGroup,t),h.superCall(this,"render",t,e,i,o)}},remove:function(){d(this)},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=a.isArray(s)?s:[s];for(var c=e.coordinateSystem.getRect(),l=i.isHorizontal(),d=0,u=i.getTicksCoords({tickModel:r}),f=[],h=[],p=o.getLineStyle(),m=0;m<u.length;m++){var v=i.toGlobalCoord(u[m].coord);l?(f[0]=v,f[1]=c.y,h[0]=v,h[1]=c.y+c.height):(f[0]=c.x,f[1]=v,h[0]=c.x+c.width,h[1]=v);var g=d++%s.length,b=u[m].tickValue;this._axisGroup.add(new n.Line({anid:null!=b?"line_"+u[m].tickValue:null,subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:h[0],y2:h[1]},style:a.defaults({stroke:s[g]},p),silent:!0}))}}},_minorSplitLine:function(t,e){var i=t.axis,a=t.getModel("minorSplitLine"),r=a.getModel("lineStyle"),o=e.coordinateSystem.getRect(),s=i.isHorizontal(),c=i.getMinorTicksCoords();if(c.length)for(var l=[],d=[],u=r.getLineStyle(),f=0;f<c.length;f++)for(var h=0;h<c[f].length;h++){var p=i.toGlobalCoord(c[f][h].coord);s?(l[0]=p,l[1]=o.y,d[0]=p,d[1]=o.y+o.height):(l[0]=o.x,l[1]=p,d[0]=o.x+o.width,d[1]=p),this._axisGroup.add(new n.Line({anid:"minor_line_"+c[f][h].tickValue,subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:d[0],y2:d[1]},style:u,silent:!0}))}},_splitArea:function(t,e){l(this,this._axisGroup,t,e)}});h.extend({type:"xAxis"}),h.extend({type:"yAxis"})},f279:function(t,e,i){var a=i("9850"),n=i("e263"),r=i("401b"),o=i("0655");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var a=this.getBoundingRect();i=[a.x+a.width/2,a.y+a.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],c=[],l=this.geometries,d=0;d<l.length;d++)if("polygon"===l[d].type){var u=l[d].exterior;n.fromPoints(u,s,c),r.min(i,i,s),r.max(o,o,c)}return 0===d&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new a(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var a=0,n=i.length;a<n;a++)if("polygon"===i[a].type){var r=i[a].exterior,s=i[a].interiors;if(o.contain(r,t[0],t[1])){for(var c=0;c<(s?s.length:0);c++)if(o.contain(s[c]))continue t;return!0}}return!1},transformTo:function(t,e,i,n){var o=this.getBoundingRect(),s=o.width/o.height;i?n||(n=i/s):i=s*n;for(var c=new a(t,e,i,n),l=o.calculateTransform(c),d=this.geometries,u=0;u<d.length;u++)if("polygon"===d[u].type){for(var f=d[u].exterior,h=d[u].interiors,p=0;p<f.length;p++)r.applyTransform(f[p],f[p],l);for(var m=0;m<(h?h.length:0);m++)for(p=0;p<h[m].length;p++)r.applyTransform(h[m][p],h[m][p],l)}o=this._rect,o.copy(c),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var c=s;t.exports=c},f27b:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.multiSelect$=void 0;var r=i("c6b3"),o="biz.util.multiSelect";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"3.0.0"},n[r.ENV_ENUM.android]={vs:"3.0.0"},n)),e.multiSelect$=a,e.default=a},f2a1:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"forgot",staticStyle:{height:"100%"}},[e("div",{staticClass:"content"},[e("a-spin",{attrs:{spinning:t.loading}},[t._v("\n ddd\n ")])],1)])},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("a481"),i("ade3")),o=i("2f62"),s=i("2f14"),c=i("82f8"),l=i("9f5d"),d=i("c24f");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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h={data:function(){return{loading:!1,inviteLink:void 0}},computed:f({},Object(o["c"])({userInfo:function(t){return t.userInfo}})),created:function(){this.getInviteInfo()},methods:{getInviteInfo:function(){var t=this;this.loading=!0,Object(c["d"])(this.$route.params.code).then((function(e){t.inviteLink=e.data,t.loading=!1}))},acceptInvite:function(){var t=this,e=this;"project"==this.inviteLink.invite_type?Object(l["a"])(this.$route.params.code).then((function(i){var a=Object(s["a"])(i);if(!a)return!1;t.$store.dispatch("setOrganizationList",i.data.organizationList),t.$store.dispatch("setCurrentOrganization",i.data.currentOrganization),setTimeout((function(){e.$router.replace({name:"task",params:{code:e.inviteLink.source_code}})}),500)})):"organization"==this.inviteLink.invite_type&&Object(d["i"])(this.$route.params.code).then((function(i){t.$store.dispatch("setOrganizationList",i.data.organizationList),t.$store.dispatch("setCurrentOrganization",i.data.currentOrganization),t.$notice({title:"你已成功加入组织",msg:"你可以在右上方切换当前组织"},"notice","success"),setTimeout((function(){e.$router.replace("/")}),500)}))}}},p=h,m=(i("7bb5"),i("2877")),v=Object(m["a"])(p,a,n,!1,null,null,null);e["default"]=v.exports},f2ac:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.shareImage$=void 0;var r=i("c6b3"),o="biz.util.shareImage";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"4.1"},n[r.ENV_ENUM.android]={vs:"4.1"},n)),e.shareImage$=a,e.default=a},f3dd:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.watchShake$=void 0;var r=i("c6b3"),o=i("f162"),s="device.accelerometer.watchShake";r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:function(t){return(0,o.forceChangeParamsDealFn)({sensitivity:3.2})((0,o.addWatchParamsDeal)(t))}},n[r.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:o.addWatchParamsDeal},n)),e.watchShake$=a,e.default=a},f449: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="ui.pullToRefresh.stop";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.stop$=a,e.default=a},f47d:function(t,e,i){var a=i("6d8b"),n=(a.assert,a.isArray),r=i("4e08");r.__DEV__;function o(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var c=s.prototype;c.perform=function(t){var e,i=this._upstream,a=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var o,s=h(this._modBy),c=this._modDataCount||0,l=h(t&&t.modBy),f=t&&t.modDataCount||0;function h(t){return!(t>=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||m<v)){var g=this._progress;if(n(g))for(var b=0;b<g.length;b++)d(this,g[b],m,v,l,f);else d(this,g,m,v,l,f)}this._dueIndex=v;var _=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var l=function(){var t,e,i,a,n,r={reset:function(c,l,d,u){e=c,t=l,i=d,a=u,n=Math.ceil(a/i),r.next=i>1&&a>0?s:o}};return r;function o(){return e<t?e++:null}function s(){var r=e%n*i+Math.ceil(e/n),o=e>=t?null:r<a?r:e;return e++,o}}();function d(t,e,i,a,n,r){l.reset(i,a,n,r),t._callingProgress=e,t._callingProgress({start:i,end:a,count:a-i,next:l.next},t.context)}function u(t,e){var i,a;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(i=t._reset(t.context),i&&i.progress&&(a=i.forceFirstProgress,i=i.progress),n(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),a}c.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},c.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},c.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},c.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},c.getUpstream=function(){return this._upstream},c.getDownstream=function(){return this._downstream},c.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=o},f484:function(t,e,i){},f52b: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:"house-index"},[i("wrapper-content",[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:"action",fn:function(t,a,n){return[a.owner_code==e.userInfo.code?i("a",{on:{click:function(t){return e.rowClick(a,"edit")}}},[e._v("编辑")]):e._e(),a.owner_code!=e.userInfo.code?i("a",{on:{click:function(t){return e.rowClick(a,"quit")}}},[e._v("退出")]):e._e()]}}])})],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:{form:e.form,label:"组织名称",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"组织名称"}]},help:"必填,请填写组织名称"}},[i("a-input",{attrs:{placeholder:"组织名称"}})],1),i("a-form-item",{attrs:{label:"详细地址",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"address",help:"详细地址"}},[i("a-input")],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)],1)},n=[],r=(i("8e6e"),i("ac6a"),i("456d"),i("6b54"),i("7f7f"),i("ade3")),o=i("2f62"),s=i("d368"),c=i("2f14"),l=i("1b80"),d=i("c1df"),u=i.n(d);function f(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 h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var p=[{title:"组织名称",dataIndex:"name",width:"30%"},{title:"操作",scopedSlots:{customRender:"action"}}],m={mixins:[l["a"]],data:function(){return{columns:p,dataSource:[],loading:!0,newData:{code:0},form:{},searchForm:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑组织",okText:"保存",cancelText:"放弃"},showMap:!1,options:[]}},computed:h({},Object(o["c"])({userInfo:function(t){return t.userInfo}})),created:function(){this.init()},methods:{moment:u.a,init:function(t){var e=this;e.loading=!0,Object(s["d"])(e.requestData).then((function(i){e.dataSource=i.data.list,e.pagination.total=i.data.total,e.loading=!1,t&&e.$store.dispatch("setCurrentOrganization",i.data.list[0]),e.$store.dispatch("setOrganizationList",i.data.list)}))},rowClick:function(t,e){var i=this;i.newData={code:""},"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,areas:[t.province.toString(),t.city.toString(),t.area.toString()],address:t.address}),i.newData=t}),0)):"quit"==e&&this.$confirm({title:"确定要退出此组织?",okText:"退出",okType:"danger",cancelText:"再想想",onOk:function(){return Object(s["b"])({organizationCode:t.code}).then((function(t){Object(c["a"])(t)&&i.init(!0)})),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();e.areas=JSON.stringify(e.areas),console.log(t.newData),t.newData.code?(t.newData.organizationCode=t.newData.code,e.organizationCode=t.newData.code):Object.assign(e,t.newData),Object(s["c"])(e).then((function(i){t.actionInfo.confirmLoading=!1,Object(c["a"])(i)&&(t.newData.code?(t.newData.name=e.name,t.newData.address=e.address):t.dataSource.push(i.data),t.form.resetFields(),t.newData={code:0},t.actionInfo.modalStatus=!1,t.init())}))}}},v=m,g=i("2877"),b=Object(g["a"])(v,a,n,!1,null,null,null);e["default"]=b.exports},f561: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-add-modal",attrs:{width:"min-content",closable:!1,visible:"",title:"",footer:null},on:{cancel:t.addClose}},[e("task-add",{attrs:{taskCode:t.code},on:{close:t.addClose}})],1)},n=[],r=(i("7f7f"),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"},[e("span",{staticClass:"head-title"},[e("span",[t._v("创建工单")])]),e("span",{staticClass:"header-action text-right"},[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)],1)]),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",staticStyle:{"background-color":"#f5f5f5"}},[e("a-input",{ref:"inputTitle",attrs:{"auto-focus":"",size:"large",placeholder:"请输入工单名称"},on:{blur:t.doName},model:{value:t.task.name,callback:function(e){t.$set(t.task,"name",e)},expression:"task.name"}})],1),e("div",{staticClass:"task-basic-attrs-view muted"},[e("div",{staticClass:"field-list"},[e("div",{staticClass:"component-mount pink-bg"},[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"}],staticClass:"task-description",class:{disabled:t.task.deleted},on:{click:t.showTaskDesc}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.task.description,expression:"task.description"}],staticClass:"description-txt description-txt-con 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"},[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"]},model:{value:t.showBeginTime,callback:function(e){t.showBeginTime=e},expression:"showBeginTime"}},[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"]},model:{value:t.showEndTime,callback:function(e){t.showEndTime=e},expression:"showEndTime"}},[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"},[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"},[t._l(t.task.copied_list,(function(i,a){return e("div",{key:i.code,staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap"},on:{click:function(e){return t.spliceCopied(a)}}},[e("a-avatar",{attrs:{src:i.avatar,icon:"user",size:"small"}}),e("a",{staticClass:"muted name"},[t._v(t._s(i.name))])],1)})),e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.visibleTaskCopied,callback:function(e){t.visibleTaskCopied=e},expression:"visibleTaskCopied"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("点击设置抄送人")])]),e("div",{staticClass:"field-flex"},[[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.visibleTaskCopied?e("task-member-menu",{attrs:{projectCode:t.projectCode,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,t.visibleTaskCopied=!1},close:t.changeRecipient}}):t._e()],1)],1)],2)])]),e("div",{staticClass:"component-mount"},[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"},[e("a-dropdown",{scopedSlots:t._u([{key:"overlay",fn:function(){return[e("a-menu",{staticClass:"field-right-menu",attrs:{slot:"overlay"},on:{click:t.departmentDropClick},slot:"overlay"},t._l(t.departmentList,(function(i){return e("a-menu-item",{key:i.code},[e("div",{staticClass:"menu-item-content"},[e("a-tag",[t._v(t._s(i.name))]),e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.code==t.department.code,expression:"item.code == department.code"}],staticClass:"check muted",attrs:{type:"check"}})],1)])})),1)]},proxy:!0}])},[e("div",[t.department.name?e("span",[t._v(t._s(t.department.name)+" / "+t._s(t.liasionMan.name))]):e("span",[t._v("选择部门")])])])],1)])]),e("div",{staticClass:"component-mount"},[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.exchangeList,(function(i){return e("div",{key:i.f_key},[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))]),e("a-icon",{staticStyle:{"margin-right":"10px"},attrs:{type:"double-right"}})],1)],2),e("div",{attrs:{slot:"overlay"},slot:"overlay"},[i.show?e("task-member-menu",{attrs:{projectCode:t.projectCode,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,i.show=!1},close:t.changeExchangeShow}}):t._e()],1)],1)],1)})),e("a-dropdown",{attrs:{trigger:["click"],placement:"bottomCenter"},model:{value:t.exchangeMenu,callback:function(e){t.exchangeMenu=e},expression:"exchangeMenu"}},[e("a-tooltip",{attrs:{mouseEnterDelay:.5}},[e("template",{slot:"title"},[e("span",[t._v("添加工作流转人员")])]),e("div",{staticClass:"field-flex",staticStyle:{"flex-wrap":"wrap"}},[[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.exchangeMenu?e("task-member-menu",{attrs:{projectCode:t.projectCode,isCommit:!1},on:{inviteProjectMember:function(e){t.showInviteMember=!0,t.exchangeMenu=!1},close:t.changeExchange}}):t._e()],1)],1)],2)])]),e("div",{staticClass:"component-mount"},[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"]}},[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",{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:"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.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;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?T(Object(i),!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):T(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var I=Object(_["a"])("tokenList",!0),O="";if(I){var E=I.accessToken,j=I.tokenType;O="".concat(j," ").concat(E)}var D={name:"task-add",components:{ATextarea:M["a"],editor:p["a"],inviteProjectMember:b["a"],taskMemberMenu:k["a"]},props:{taskCode:{type:[String],default:function(){return""}},width:{type:[String,Number],default:function(){return"1360"}}},data:function(){return{moment:f.a,loading:!1,code:this.taskCode,projectCodeCurrent:"",projectName:"",task:{pri:0,priText:"普通",exchangeList:[],copied_list:[]},taskStatusList:h["a"].TASK_STATUS,taskLogList:[],taskLogTotal:0,taskMemberList:[],workTimeList:[],workTimeTotal:[],visibleTaskMenu:!1,visibleTaskCopied:!1,exchangeMenu:!1,visibleTaskTagMenu:!1,showInviteMember:!1,taskName:"",showEditName:!1,showBeginTime:!1,showEndTime:!1,showTaskDescriptionEdit:!1,showMoreDesc:!1,hasMoreDesc:!1,editorConfig:{uploadImgServer:Object(y["c"])("project/index/uploadImg"),uploadImgHeaders:{Authorization:O},menus:["head","bold","italic","justify","image","link","list","quote","table","|","fullscreen"]},departmentMemberInfo:null,childTaskList:[],showChildTask:!1,childTaskName:"",childExecutor:null,visibleChildTaskMemberMenu:!1,showInviteChildTaskMember:!1,taskSourceList:[],taskLogType:["all"],showMoreTaskLog:0,hasMoreTaskLog:!1,hideShowMore:!1,comment:"",commenting:!1,workTimeDo:{form:this.$form.createForm(this),info:null,modalTitle:"登记工时记录",modalStatus:!1,confirmLoading:!1},plainWorkTime:{form:this.$form.createForm(this),modalTitle:"设置预估工时",modalStatus:!1,confirmLoading:!1},showMentions:!1,mentionsList:[],projectCode:"",departmentList:[],department:{},liasionMan:{}}},computed:P(P({},Object(c["c"])({userInfo:function(t){return t.userInfo},uploader:function(t){return t.common.uploader},socketAction:function(t){return t.socketAction}})),{},{childTaskDoneNum:function(){var t=this.childTaskList.filter((function(t){return 1==t.done}));return t.length},checkShowMoreLog:function(){return!this.hideShowMore&&this.taskLogTotal>5},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;n<t.end;n++){var r=e.getItemLayout(n);if(l(e,r,n,i)){var o=new this._symbolCtor(e,n,this._seriesScope);o.traverse(a),o.attr("position",r),this.group.add(o),e.setItemGraphicEl(n,o)}}},c.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()};var f=s;t.exports=f},f837:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.prompt$=void 0;var r=i("c6b3"),o=i("f162"),s="device.notification.prompt",c=(0,o.genDefaultParamsDealFn)({title:"",buttonLabels:["确定","取消"]});r.ddSdk.setAPI(s,(n={},n[r.ENV_ENUM.pc]={vs:"2.7.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.prompt$=a,e.default=a},f934:function(t,e,i){var a=i("6d8b"),n=i("9850"),r=i("3842"),o=r.parsePercent,s=i("eda2"),c=a.each,l=["left","right","top","bottom","width","height"],d=[["width","left","right"],["height","top","bottom"]];function u(t,e,i,a,n){var r=0,o=0;null==a&&(a=1/0),null==n&&(n=1/0);var s=0;e.eachChild((function(c,l){var d,u,f=c.position,h=c.getBoundingRect(),p=e.childAt(l+1),m=p&&p.getBoundingRect();if("horizontal"===t){var v=h.width+(m?-m.x+h.x:0);d=r+v,d>a||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;h<i.length;h++){var p=i[h];if(!l(r,p)&&l(t,p)){r[p]=t[p];break}}return r}return s}function l(t,e){return t.hasOwnProperty(e)}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,i){c(t,(function(t){e[t]=i[t]}))}f(d[0],t,r),f(d[1],t,o)}function y(t){return k({},t)}function k(t,e){return e&&t&&c(l,(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=d,e.box=f,e.vbox=h,e.hbox=p,e.getAvailableSize=m,e.getLayoutRect=v,e.positionElement=g,e.sizeCalculable=b,e.mergeLayoutParam=_,e.getLayoutParams=y,e.copyLayoutParams=k},f973:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.startMatchRuleFromPartner$=void 0;var r=i("c6b3"),o="biz.pbp.startMatchRuleFromPartner";r.ddSdk.setAPI(o,(n={},n[r.ENV_ENUM.ios]={vs:"5.1.10"},n[r.ENV_ENUM.android]={vs:"5.1.10"},n)),e.startMatchRuleFromPartner$=a,e.default=a},f9d9:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(s,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.chooseDateTime$=void 0;var r=i("c6b3"),o=i("f162"),s="biz.calendar.chooseDateTime";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.chooseDateTime$=a,e.default=a},fab22:function(t,e,i){var a=i("6d8b"),n=a.retrieve,r=a.defaults,o=a.extend,s=a.each,c=i("eda2"),l=i("2306"),d=i("4319"),u=i("3842"),f=u.isRadianAroundZero,h=u.remRadian,p=i("a15a"),m=p.createSymbol,v=i("1687"),g=i("401b"),b=g.applyTransform,_=i("697e"),y=_.shouldShowAllLabels,k=Math.PI,x=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new l.Group;var i=new l.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};x.prototype={constructor:x,hasBuilder:function(t){return!!w[t]},add:function(t){w[t].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),a=this._transform,n=[i[0],0],r=[i[1],0];a&&(b(n,n,a),b(r,r,a));var c=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new l.Line({anid:"line",subPixelOptimize:!0,shape:{x1:n[0],y1:n[1],x2:r[0],y2:r[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var d=e.get("axisLine.symbol"),u=e.get("axisLine.symbolSize"),f=e.get("axisLine.symbolOffset")||0;if("number"===typeof f&&(f=[f,f]),null!=d){"string"===typeof d&&(d=[d,d]),"string"!==typeof u&&"number"!==typeof u||(u=[u,u]);var h=u[0],p=u[1];s([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((n[0]-r[0])*(n[0]-r[0])+(n[1]-r[1])*(n[1]-r[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var a=m(d[i],-h/2,-p/2,h,p,c.stroke,!0),r=e.r+e.offset,o=[n[0]+r*Math.cos(t.rotation),n[1]-r*Math.sin(t.rotation)];a.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(a)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=D(this,t,e),a=N(this,t,e);P(t,a,i),A(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,i=n(t.axisName,e.get("name"));if(i){var a,r,s=e.get("nameLocation"),d=t.nameDirection,u=e.getModel("nameTextStyle"),f=e.get("nameGap")||0,h=this.axisModel.axis.getExtent(),p=h[0]>h[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&&r<k?i>0?"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;c<t.length;c++){var d=t[c].coord;o[0]=d,o[1]=0,s[0]=d,s[1]=i,e&&(b(o,o,e),b(s,s,e));var u=new l.Line({anid:n+"_"+t[c].tickValue,subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:a,z2:2,silent:!0});r.push(u)}return r}function D(t,e,i){var a=e.axis,n=e.getModel("axisTick");if(n.get("show")&&!a.scale.isBlank()){for(var o=n.getModel("lineStyle"),s=i.tickDirection*n.get("length"),c=a.getTicksCoords(),l=j(c,t._transform,s,r(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks"),d=0;d<l.length;d++)t.group.add(l[d]);return l}}function A(t,e,i){var a=e.axis,n=e.getModel("minorTick");if(n.get("show")&&!a.scale.isBlank()){var o=a.getMinorTicksCoords();if(o.length)for(var s=n.getModel("lineStyle"),c=i.tickDirection*n.get("length"),l=r(s.getLineStyle(),r(e.getModel("axisTick").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})),d=0;d<o.length;d++)for(var u=j(o[d],t._transform,c,l,"minorticks_"+d),f=0;f<u.length;f++)t.group.add(u[f])}}function N(t,e,i){var a=e.axis,r=n(i.axisLabelShow,e.get("axisLabel.show"));if(r&&!a.scale.isBlank()){var o=e.getModel("axisLabel"),c=o.get("margin"),u=a.getViewLabels(),f=(n(i.labelRotate,o.get("rotate"))||0)*k/180,h=S(i.rotation,f,i.labelDirection),p=e.getCategories&&e.getCategories(!0),m=[],v=T(e),g=e.get("triggerEvent");return s(u,(function(n,r){var s=n.tickValue,u=n.formattedLabel,f=n.rawLabel,b=o;p&&p[s]&&p[s].textStyle&&(b=new d(p[s].textStyle,o,e.ecModel));var _=b.getTextColor()||e.get("axisLine.lineStyle.color"),y=a.dataToCoord(s),k=[y,i.labelOffset+i.labelDirection*c],x=new l.Text({anid:"label_"+s,position:k,rotation:h.rotation,silent:v,z2:10});l.setTextStyle(x.style,b,{text:u,textAlign:b.getShallow("align",!0)||h.textAlign,textVerticalAlign:b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||h.textVerticalAlign,textFill:"function"===typeof _?_("category"===a.type?f:"value"===a.type?s+"":s,r):_}),g&&(x.eventData=C(e),x.eventData.targetType="axisLabel",x.eventData.value=f),t._dumbGroup.add(x),x.updateTransform(),m.push(x),t.group.add(x),x.decomposeTransform()})),m}}var L=x;t.exports=L},fae1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.apiObj=void 0;var a=i("da83"),n=i("18cc"),r=i("3a02"),o=i("026a"),s=i("e6a6"),c=i("37ed"),l=i("1860"),d=i("82bc"),u=i("8bb4"),f=i("3df3"),h=i("f9d9"),p=i("bfef"),m=i("5dc6"),v=i("be29"),g=i("6413"),b=i("21d0"),_=i("ec97"),y=i("d812"),k=i("0e44"),x=i("d2fb"),w=i("8052"),C=i("27b7"),S=i("10b3"),M=i("a8b1"),T=i("4938"),P=i("53cb"),I=i("9aa6"),O=i("4ddd"),E=i("e198"),j=i("e406"),D=i("0645"),A=i("5ffd"),N=i("aaa5"),L=i("e9cb"),$=i("d653"),V=i("62e49"),R=i("ea47"),z=i("6ef3"),F=i("8ba4"),U=i("0b30"),B=i("2f7e"),H=i("6023"),W=i("fd37"),Y=i("af13"),q=i("2faf"),G=i("ff77"),K=i("8c3c"),X=i("676f"),J=i("32fa"),Z=i("6428c"),Q=i("6cd9"),tt=i("ff9d"),et=i("10c4"),it=i("8bfb"),at=i("4fa2"),nt=i("8e4d"),rt=i("297c"),ot=i("7ba0"),st=i("127b"),ct=i("7edc"),lt=i("1c8c"),dt=i("823a"),ut=i("c883"),ft=i("2dc6"),ht=i("db0e"),pt=i("a5e2"),mt=i("349f"),vt=i("7759"),gt=i("63da"),bt=i("cd27"),_t=i("1980"),yt=i("0919"),kt=i("508f"),xt=i("9a96"),wt=i("5f66"),Ct=i("94b9"),St=i("96f7"),Mt=i("dfb9"),Tt=i("477c"),Pt=i("7b40"),It=i("2c5d"),Ot=i("f973"),Et=i("2b7b"),jt=i("e90d"),Dt=i("2094"),At=i("620f"),Nt=i("ddf4"),Lt=i("ab27"),$t=i("91e1"),Vt=i("edb5"),Rt=i("ecfc"),zt=i("233e"),Ft=i("90a1"),Ut=i("3450"),Bt=i("2683"),Ht=i("06442"),Wt=i("a703"),Yt=i("1e49"),qt=i("a22e"),Gt=i("9504"),Kt=i("b80b"),Xt=i("d816"),Jt=i("52f5"),Zt=i("a52f"),Qt=i("e9e2"),te=i("7673"),ee=i("a906"),ie=i("3b97"),ae=i("e222"),ne=i("838f"),re=i("47be"),oe=i("fc0c"),se=i("4a21"),ce=i("254a"),le=i("d02e"),de=i("f257"),ue=i("9cdd"),fe=i("a8ce"),he=i("f27b"),pe=i("230ef"),me=i("1142"),ve=i("8929"),ge=i("c42c"),be=i("6c07"),_e=i("c048"),ye=i("2cc5"),ke=i("0498"),xe=i("1cbc"),we=i("678b"),Ce=i("cf26"),Se=i("e6d8"),Me=i("f629"),Te=i("e4ef"),Pe=i("93ff8"),Ie=i("f2ac"),Oe=i("9593"),Ee=i("1584"),je=i("3408"),De=i("0c8b"),Ae=i("a60d"),Ne=i("6b28"),Le=i("f26f"),$e=i("9e31"),Ve=i("e625"),Re=i("9a56"),ze=i("3bba"),Fe=i("ea3f"),Ue=i("12eb"),Be=i("c8fe9"),He=i("f3dd"),We=i("ad47"),Ye=i("926a"),qe=i("0b1f"),Ge=i("28e7"),Ke=i("eb62"),Xe=i("ea97"),Je=i("d0dd"),Ze=i("481b3"),Qe=i("a61f"),ti=i("c327"),ei=i("2df1"),ii=i("03b1"),ai=i("bb13"),ni=i("f694"),ri=i("1137"),oi=i("b7f0"),si=i("8437"),ci=i("5a70"),li=i("d9aa"),di=i("2c6c"),ui=i("1ee2"),fi=i("40cc"),hi=i("703a"),pi=i("64f9"),mi=i("035f"),vi=i("db147"),gi=i("1f44"),bi=i("1e48"),_i=i("4281"),yi=i("c8cc"),ki=i("af9e"),xi=i("351c"),wi=i("f837"),Ci=i("54f9"),Si=i("addb"),Mi=i("4c7e"),Ti=i("934e"),Pi=i("b2d5"),Ii=i("5c02"),Oi=i("f179"),Ei=i("fd61"),ji=i("5b92"),Di=i("96f6"),Ai=i("7091"),Ni=i("eb86"),Li=i("8d49"),$i=i("ae37"),Vi=i("11c3"),Ri=i("e1bd"),zi=i("7297"),Fi=i("8bd7"),Ui=i("5210"),Bi=i("9094"),Hi=i("78d2"),Wi=i("8b51"),Yi=i("d9e3"),qi=i("5f16"),Gi=i("c8b8"),Ki=i("1f29"),Xi=i("0226"),Ji=i("832b"),Zi=i("f449"),Qi=i("d200"),ta=i("af70"),ea=i("7556"),ia=i("87ea"),aa=i("8e67"),na=i("ceb1");e.apiObj={biz:{ATMBle:{beaconPicker:a.beaconPicker$,detectFace:n.detectFace$,detectFaceFullScreen:r.detectFaceFullScreen$,faceManager:o.faceManager$,punchModePicker:s.punchModePicker$},alipay:{bindAlipay:c.bindAlipay$,openAuth:l.openAuth$,pay:d.pay$},auth:{openAccountPwdLoginPage:u.openAccountPwdLoginPage$,requestAuthInfo:f.requestAuthInfo$},calendar:{chooseDateTime:h.chooseDateTime$,chooseHalfDay:p.chooseHalfDay$,chooseInterval:m.chooseInterval$,chooseOneDay:v.chooseOneDay$},chat:{chooseConversationByCorpId:g.chooseConversationByCorpId$,collectSticker:b.collectSticker$,createSceneGroup:_.createSceneGroup$,getRealmCid:y.getRealmCid$,locationChatMessage:k.locationChatMessage$,openSingleChat:x.openSingleChat$,pickConversation:w.pickConversation$,sendEmotion:C.sendEmotion$,toConversation:S.toConversation$,toConversationByOpenConversationId:M.toConversationByOpenConversationId$},clipboardData:{setData:T.setData$},conference:{createCloudCall:P.createCloudCall$,getCloudCallInfo:I.getCloudCallInfo$,getCloudCallList:O.getCloudCallList$,videoConfCall:E.videoConfCall$},contact:{choose:j.choose$,chooseMobileContacts:D.chooseMobileContacts$,complexPicker:A.complexPicker$,createGroup:N.createGroup$,departmentsPicker:L.departmentsPicker$,externalComplexPicker:$.externalComplexPicker$,externalEditForm:V.externalEditForm$,rolesPicker:R.rolesPicker$,setRule:z.setRule$},cspace:{chooseSpaceDir:F.chooseSpaceDir$,delete:U.delete$,preview:B.preview$,saveFile:H.saveFile$},customContact:{choose:W.choose$,multipleChoose:Y.multipleChoose$},ding:{create:q.create$,post:G.post$},edu:{finishMiniCourseByRecordId:K.finishMiniCourseByRecordId$,getMiniCourseDraftList:X.getMiniCourseDraftList$,joinClassroom:J.joinClassroom$,makeMiniCourse:Z.makeMiniCourse$,newMsgNotificationStatus:Q.newMsgNotificationStatus$,startAuth:tt.startAuth$,tokenFaceImg:et.tokenFaceImg$},event:{notifyWeex:it.notifyWeex$},intent:{fetchData:at.fetchData$},iot:{bind:nt.bind$,bindMeetingRoom:rt.bindMeetingRoom$,getDeviceProperties:ot.getDeviceProperties$,invokeThingService:st.invokeThingService$,queryMeetingRoomList:ct.queryMeetingRoomList$,setDeviceProperties:lt.setDeviceProperties$,unbind:dt.unbind$},live:{startClassRoom:ut.startClassRoom$,startUnifiedLive:ft.startUnifiedLive$},map:{locate:ht.locate$,search:pt.search$,view:mt.view$},media:{compressVideo:vt.compressVideo$},microApp:{openApp:gt.openApp$},navigation:{close:bt.close$,goBack:_t.goBack$,hideBar:yt.hideBar$,navigateToMiniProgram:kt.navigateToMiniProgram$,quit:xt.quit$,replace:wt.replace$,setIcon:Ct.setIcon$,setLeft:St.setLeft$,setMenu:Mt.setMenu$,setRight:Tt.setRight$,setTitle:Pt.setTitle$},pbp:{componentPunchFromPartner:It.componentPunchFromPartner$,startMatchRuleFromPartner:Ot.startMatchRuleFromPartner$,stopMatchRuleFromPartner:Et.stopMatchRuleFromPartner$},realm:{getRealtimeTracingStatus:jt.getRealtimeTracingStatus$,getUserExclusiveInfo:Dt.getUserExclusiveInfo$,startRealtimeTracing:At.startRealtimeTracing$,stopRealtimeTracing:Nt.stopRealtimeTracing$,subscribe:Lt.subscribe$,unsubscribe:$t.unsubscribe$},resource:{getInfo:Vt.getInfo$,reportDebugMessage:Rt.reportDebugMessage$},shortCut:{addShortCut:zt.addShortCut$},store:{closeUnpayOrder:Ft.closeUnpayOrder$,createOrder:Ut.createOrder$,getPayUrl:Bt.getPayUrl$,inquiry:Ht.inquiry$},tabwindow:{isTab:Wt.isTab$},telephone:{call:Yt.call$,checkBizCall:qt.checkBizCall$,quickCallList:Gt.quickCallList$,showCallMenu:Kt.showCallMenu$},user:{checkPassword:Xt.checkPassword$,get:Jt.get$},util:{callComponent:Zt.callComponent$,chooseImage:Qt.chooseImage$,chosen:te.chosen$,clearWebStoreCache:ee.clearWebStoreCache$,closePreviewImage:ie.closePreviewImage$,compressImage:ae.compressImage$,datepicker:ne.datepicker$,datetimepicker:re.datetimepicker$,decrypt:oe.decrypt$,downloadFile:se.downloadFile$,encrypt:ce.encrypt$,getPerfInfo:le.getPerfInfo$,invokeWorkbench:de.invokeWorkbench$,isEnableGPUAcceleration:ue.isEnableGPUAcceleration$,isLocalFileExist:fe.isLocalFileExist$,multiSelect:he.multiSelect$,open:pe.open$,openLink:me.openLink$,openLocalFile:ve.openLocalFile$,openModal:ge.openModal$,openSlidePanel:be.openSlidePanel$,presentWindow:_e.presentWindow$,previewImage:ye.previewImage$,previewVideo:ke.previewVideo$,saveImage:xe.saveImage$,scan:we.scan$,scanCard:Ce.scanCard$,setGPUAcceleration:Se.setGPUAcceleration$,setScreenBrightnessAndKeepOn:Me.setScreenBrightnessAndKeepOn$,setScreenKeepOn:Te.setScreenKeepOn$,share:Pe.share$,shareImage:Ie.shareImage$,startDocSign:Oe.startDocSign$,systemShare:Ee.systemShare$,timepicker:je.timepicker$,uploadAttachment:De.uploadAttachment$,uploadFile:Ae.uploadFile$,uploadImage:Ne.uploadImage$,uploadImageFromCamera:Le.uploadImageFromCamera$,ut:$e.ut$},verify:{openBindIDCard:Ve.openBindIDCard$,startAuth:Re.startAuth$},watermarkCamera:{getWatermarkInfo:ze.getWatermarkInfo$,setWatermarkInfo:Fe.setWatermarkInfo$}},channel:{permission:{requestAuthCode:Ue.requestAuthCode$}},device:{accelerometer:{clearShake:Be.clearShake$,watchShake:He.watchShake$},audio:{download:We.download$,onPlayEnd:Ye.onPlayEnd$,onRecordEnd:qe.onRecordEnd$,pause:Ge.pause$,play:Ke.play$,resume:Xe.resume$,startRecord:Je.startRecord$,stop:Ze.stop$,stopRecord:Qe.stopRecord$,translateVoice:ti.translateVoice$},base:{getInterface:ei.getInterface$,getPhoneInfo:ii.getPhoneInfo$,getUUID:ai.getUUID$,getWifiStatus:ni.getWifiStatus$,openSystemSetting:ri.openSystemSetting$},connection:{getNetworkType:oi.getNetworkType$},geolocation:{checkPermission:si.checkPermission$,get:ci.get$,start:li.start$,status:di.status$,stop:ui.stop$},launcher:{checkInstalledApps:fi.checkInstalledApps$,launchApp:hi.launchApp$},nfc:{nfcRead:pi.nfcRead$,nfcStop:mi.nfcStop$,nfcWrite:vi.nfcWrite$},notification:{actionSheet:gi.actionSheet$,alert:bi.alert$,confirm:_i.confirm$,extendModal:yi.extendModal$,hidePreloader:ki.hidePreloader$,modal:xi.modal$,prompt:wi.prompt$,showPreloader:Ci.showPreloader$,toast:Si.toast$,vibrate:Mi.vibrate$},screen:{insetAdjust:Ti.insetAdjust$,resetView:Pi.resetView$,rotateView:Ii.rotateView$}},media:{voiceRecorder:{keepAlive:Oi.keepAlive$,pause:Ei.pause$,resume:ji.resume$,start:Di.start$,stop:Ai.stop$}},net:{bjGovApn:{loginGovNet:Ni.loginGovNet$}},runtime:{message:{fetch:Li.fetch$,post:$i.post$},monitor:{getLoadTime:Vi.getLoadTime$},permission:{requestAuthCode:Ri.requestAuthCode$,requestOperateAuthCode:zi.requestOperateAuthCode$}},ui:{input:{plain:Fi.plain$},multitask:{addToFloat:Ui.addToFloat$,removeFromFloat:Bi.removeFromFloat$},nav:{close:Hi.close$,getCurrentId:Wi.getCurrentId$,go:Yi.go$,preload:qi.preload$,recycle:Gi.recycle$},progressBar:{setColors:Ki.setColors$},pullToRefresh:{disable:Xi.disable$,enable:Ji.enable$,stop:Zi.stop$},webViewBounce:{disable:Qi.disable$,enable:ta.enable$}},util:{domainStorage:{getItem:ea.getItem$,removeItem:ia.removeItem$,setItem:aa.setItem$},openTemporary:{getData:na.getData$}}}},fb05:function(t,e,i){var a=i("6d8b"),n=a.each,r=a.isArray,o=a.isObject,s=i("26e1"),c=i("e0d3"),l=c.normalizeToArray;function d(t,e){e=e.split(",");for(var i=t,a=0;a<e.length;a++)if(i=i&&i[e[a]],null==i)break;return i}function u(t,e,i,a){e=e.split(",");for(var n,r=t,o=0;o<e.length-1;o++)n=e[o],null==r[n]&&(r[n]={}),r=r[n];(a||null==r[e[o]])&&(r[e[o]]=i)}function f(t){n(h,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var h=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function m(t,e){s(t,e),t.series=l(t.series),n(t.series,(function(t){if(o(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var i=d(t,"pointer.color");null!=i&&u(t,"itemStyle.color",i)}f(t)}})),t.dataRange&&(t.visualMap=t.dataRange),n(p,(function(e){var i=t[e];i&&(r(i)||(i=[i]),n(i,(function(t){f(t)})))}))}t.exports=m},fc0c:function(t,e,i){"use strict";function a(t){return r.ddSdk.invokeAPI(o,t)}var n;Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt$=void 0;var r=i("c6b3"),o="biz.util.decrypt";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.decrypt$=a,e.default=a},fd37: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.customContact.choose",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.5.2",paramsDeal:c},n[r.ENV_ENUM.android]={vs:"2.5.2",paramsDeal:c},n)),e.choose$=a,e.default=a},fd61: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="media.voiceRecorder.pause";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.pause$=a,e.default=a},fd63:function(t,e,i){var a=i("42e5"),n=i("6d8b"),r=n.isFunction,o={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=(t.visualColorAccessPath||"itemStyle.color").split("."),o=t.get(n),s=!r(o)||o instanceof a?null:o;o&&!s||(o=t.getColorFromPalette(t.name,null,e.getSeriesCount())),i.setVisual("color",o);var c=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=t.get(c);if(i.setVisual("borderColor",l),!e.isSeriesFiltered(t)){s&&i.each((function(e){i.setItemVisual(e,"color",s(t.getDataParams(e)))}));var d=function(t,e){var i=t.getItemModel(e),a=i.get(n,!0),r=i.get(c,!0);null!=a&&t.setItemVisual(e,"color",a),null!=r&&t.setItemVisual(e,"borderColor",r)};return{dataEach:i.hasItemOption?d:null}}}};t.exports=o},fd72:function(t,e,i){"use strict";i.r(e);i("ac6a");var a=function(){var t=this,e=this,i=e._self._c;return i("div",{staticClass:"admin-menu"},[i("wrapper-content",[i("div",{staticClass:"action"},[i("Button",{attrs:{type:"primary",icon:"plus"},on:{click:function(t){return e.rowClick(null,"new")}}},[e._v("添加")])],1),i("Table",{attrs:{columns:e.columns,dataSource:e.dataSource,loading:e.loading,pagination:!1},scopedSlots:e._u([{key:"url",fn:function(t,a,n){return[a.params?i("span",[e._v(e._s(a.url+"/"+a.params))]):i("span",[e._v(e._s(a.url))]),null!==a.values&&""!==a.values?i("span",[e._v(" - "+e._s(a.values))]):e._e()]}},{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[i("a",{attrs:{disabled:3==a.dept},on:{click:function(t){return e.rowClick(a,"add")}}},[e._v("添加下级")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"edit")}}},[e._v("编辑")]),i("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("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.rowClick(a,"del")}}},[e._v("删除")])]}}])})],1),i("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("Form",{attrs:{autoFormCreate:function(e){t.form=e}},on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[i("a-row",{attrs:{gutter:24}},[i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{form:e.form,label:"名称",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"title",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入名称"}]},help:"必填,请填写菜单名称(如:系统管理),建议字符不要太长,一般4-6个汉字"}},[i("Input",{attrs:{placeholder:"菜单名称"}})],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"地址",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"url",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入路由地址"}]},help:'必填,请填写路由地址(如:admin/user/index,对应的文件位于:views/admin/user/index.vue)。如果是上级菜单时,请填写"#"符号,不要填写路由地址。'}},[i("Input",{attrs:{placeholder:"路由地址"}})],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"路径",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"file_path",help:"选填,文件路径。默认与地址相同,特殊的文件路径可以在此定义"}},[i("Input",{attrs:{placeholder:"路由地址"}})],1)],1),i("a-col",{attrs:{span:12}},[i("a-form-item",{attrs:{label:"节点",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"node",fieldDecoratorOptions:{rules:[{required:!0,message:"请绑定权限节点"}]},help:'必填,将当前路由与权限节点进行绑定,没有该节点权限的菜单将会被隐藏。不进行绑定,请填写"#"符号。'}},[i("a-select",{attrs:{showSearch:"",placeholder:"请选择权限节点",filterOption:!1,notFoundContent:e.fetching?void 0:null},on:{search:e.fetchNode,change:e.handleChange}},[e.fetching?i("a-spin",{attrs:{slot:"notFoundContent",size:"small"},slot:"notFoundContent"}):e._e(),e._l(e.nodeList,(function(t){return i("a-select-option",{key:t.node},[e._v(e._s(t.node)+" - "+e._s(t.title)+"\n ")])}))],2)],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"排序",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"sort",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入排序"}],initialValue:0},help:"必填,整数。数字越小越靠前,最小值为0。"}},[i("Input",{attrs:{placeholder:"排序"}})],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"参数",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"params",help:"选填,请填写路由的额外参数(如::id,则路由为:admin/user/index/:id)"}},[i("Input",{attrs:{placeholder:"额外参数"}})],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"数值",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"values",help:"选填,请填写路由的额外参数数值(如路由为 admin/user/index/:id,参数值为 1,则最终的链接会解析成:admin/user/index/1)"}},[i("Input",{attrs:{placeholder:"参数数值"}})],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"图标",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"icon",help:"可选,设置菜单选项前置图标"}},[i("Input",{attrs:{placeholder:"前置图标"}})],1)],1)],1),i("a-row",{attrs:{gutter:24}},[i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"侧栏",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"show_slider",fieldDecoratorOptions:{valuePropName:"checked",initialValue:!0},help:"可选,取消勾选,则该页面将不显示侧边菜单栏"}},[i("Checkbox",[e._v("是否显示侧栏")])],1)],1),i("a-col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"内页",labelCol:{span:3},wrapperCol:{span:21},fieldDecoratorId:"is_inner",fieldDecoratorOptions:{valuePropName:"checked",initialValue:!1},help:"可选,选中为菜单内页,将不会显示在导航菜单上。用于菜单选中项渲染判断"}},[i("Checkbox",[e._v("是否内页")])],1)],1)],1),i("FormItem",[i("div",{staticClass:"action-btn",staticStyle:{"text-align":"center"}},[i("Button",{staticClass:"middle-btn",attrs:{type:"primary",htmlType:"submit",size:"large",loading:e.actionInfo.confirmLoading}},[e._v("保存\n ")]),i("Button",{staticClass:"middle-btn",attrs:{size:"large"},on:{click:function(t){e.actionInfo.modalStatus=!1}}},[e._v("取消\n ")])],1)])],1)],1)],1)},n=[],r=(i("c5f6"),i("55dd"),i("3af3")),o=i("0020"),s=i("5efb"),c=i("a79d"),l=i("ed3b"),d=i("b558"),u=i("bb76"),f=i("1f27"),h=i("2f14"),p=(i("68fe"),i("0f66")),m=i("b047"),v=i.n(m),g=r["a"].Item,b=[{title:"名称",dataIndex:"title",width:"15%"},{title:"地址",dataIndex:"url",width:"20%",scopedSlots:{customRender:"url"}},{title:"路径",dataIndex:"file_path"},{title:"节点",width:"20%",dataIndex:"node"},{title:"排序",dataIndex:"sort"},{title:"类型",dataIndex:"innerText"},{title:"操作",dataIndex:"id",scopedSlots:{customRender:"action"}}],_={components:{Table:o["a"],Button:s["a"],Divider:c["a"],Modal:l["a"],Form:r["a"],FormItem:g,Input:d["a"],Checkbox:u["a"]},data:function(){return this.lastFetchId=0,this.fetchNode=v()(this.fetchNode,800),{columns:b,data:[],dataSource:[],nodeList:[],loading:!0,fetching:!1,newMenu:null,form:{},actionInfo:{modalStatus:!1,confirmLoading:!1,modalTitle:"编辑菜单",okText:"确定",cancelText:"放弃"}}},created:function(){this.init()},methods:{init:function(){var t=this;t.loading=!0,Object(f["d"])().then((function(e){t.loading=!1;var i=e.data;i.forEach((function(t){t.key=t.id,t.dept=1,t.children&&t.children.forEach((function(t){t.key=t.id,t.dept=2,t.children&&t.children.forEach((function(t){t.key=t.id,t.dept=3}))}))})),t.dataSource=i}))},rowClick:function(t,e){var i=this;if(i.newMenu=null,i.nodeList=[],"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({title:t.title,file_path:t.file_path,url:t.url,sort:t.sort,node:t.node,params:t.params,values:t.values,icon:t.icon,is_inner:t.is_inner,show_slider:t.show_slider}),i.newMenu=t}),0):"add"==e?(i.newMenu={status:1,dept:parseInt(t.dept)+1},i.newMenu.pid=t.id):i.newMenu={status:1,dept:1,pid:0};else if("status"==e){var a=t.status;t.status=Number(!a),a?Object(f["c"])(t.id,t.status):Object(f["f"])(t.id,t.status)}else if("del"==e)l["a"].confirm({title:"确定要删除此菜单?",content:"删除后不可恢复,且子菜单会被同时删除",okText:"确定",okType:"danger",cancelText:"放弃",onOk:function(){return Object(f["a"])(t.id).then((function(e){i.dataSource.forEach((function(e,a){e.id!=t.id?e.children&&e.children.forEach((function(i,a){i.id!=t.id?i.children&&i.children.forEach((function(e,a){e.id!=t.id||i.children.splice(a,1)})):e.children.splice(a,1)})):i.dataSource.splice(a,1)}))})),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.newMenu.id?e.id=t.newMenu.id:Object.assign(e,t.newMenu),Object(f["b"])(e).then((function(i){t.actionInfo.confirmLoading=!1,Object(h["a"])(i)&&(t.newMenu.id?(t.newMenu.title=e.title,t.newMenu.url=e.url,t.newMenu.sort=e.sort,t.newMenu.file_path=e.file_path,t.newMenu.node=e.node,t.newMenu.params=e.params,t.newMenu.values=e.values,t.newMenu.icon=e.icon,t.newMenu.is_inner=!!e.is_inner,t.newMenu.show_slider=!!e.show_slider,t.dataSource.forEach((function(t){t.id!=e.id?t.children&&t.children.forEach((function(t){t.id!=e.id?t.children&&t.children.forEach((function(t){t.id!=e.id||Object.assign(t,e)})):Object.assign(t,e)})):Object.assign(t,e)}))):(e=i.data,e.key=i.data.id,e.is_inner=!!i.data.is_inner,e.show_slider=!!i.data.show_slider,e.dept=t.newMenu.dept,0==t.newMenu.pid?t.dataSource.push(e):t.dataSource.forEach((function(t){t.id!=e.pid?t.children&&t.children.forEach((function(t){t.id!=e.pid?t.children&&t.children.forEach((function(t){t.id!=e.id||(t.children?t.children.push(e):t.children=[e])})):t.children?t.children.push(e):t.children=[e]})):t.children?t.children.push(e):t.children=[e]}))),t.form.resetFields(),t.newMenu=null,t.actionInfo.modalStatus=!1)}))},handleChange:function(t){this.nodeList=[],this.fetching=!1},fetchNode:function(t){var e=this;this.lastFetchId+=1;var i=this.lastFetchId;this.nodeList=[],this.fetching=!0,Object(p["a"])("project",t).then((function(t){i===e.lastFetchId&&(e.fetching=!1,e.nodeList=t.data)}))}}},y=_,k=i("2877"),x=Object(k["a"])(y,a,n,!1,null,null,null);e["default"]=x.exports},fd9f:function(t,e,i){"use strict";i("7fa3")},fdde:function(t,e){var i={average:function(t){for(var e=0,i=0,a=0;a<t.length;a++)isNaN(t[a])||(e+=t[a],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},a=function(t,e){return Math.round(t.length/2)};function n(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,n){var r=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var c,l=s.getBaseAxis(),d=s.getOtherAxis(l),u=l.getExtent(),f=Math.abs(u[1]-u[0]),h=Math.round(r.count()/f);if(h>1)"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}}]);
|