Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

1 linha
30 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50365d46"],{"011a":function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("app-header",{attrs:{showUserCenter:!0,id:"proj-list-page",showRecycleBin:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v(" "+e._s(e.currentPlatform.orgName)+" ")]},proxy:!0},{key:"center",fn:function(){return[r("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[r("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称"},on:{changeSearchContent:e.changeSearchContent,hideSearchBar:e.hideSearchBar,showSearchBar:e.showSearchBar,goToSearch:e.searchForProj,maxTextLengthArrived:e.maxTextLengthArrived}})]},proxy:!0}])}),r("div",{staticClass:"layout_content"},[r("section",{staticClass:"yiyun_warpContent"},[r("div",{staticClass:"yiyun-rows mt-20",attrs:{id:"new"}},[r("div",{staticClass:"yiyun-col-4 timer-part"},[r("div",{staticClass:"yiyun_row",staticStyle:{width:"95%"}},[r("timer",{attrs:{cnName:e.cnName}})],1)]),e._m(0)]),e.noProjTip?r("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[r("h1",[e._v("空空如也")])]):e._e()]),e.isUserPerm?r("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(t){return t.stopPropagation(),e.createNewProjectClick(t)}}},[e._v("新建项目")]):e._e(),r("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,openPrjInfo:e.openPrjInfo,addNewFolders:e.addNewFolders},on:{watchAllBtnClick:e.watchAllBtnClick,lookProjDetailClick:e.lookProjDetailClick}})],1)],1)},n=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"yiyun-col-4"},[r("div",{staticClass:"yiyun_row"},[r("div",{staticClass:"section_item fr section_item_aside_fr"})])])}],s=(r("caad"),r("96cf"),r("1da1")),i=r("f96e"),a=r("2f4c"),c=r("0f13"),l=r("a06e"),u=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.cnName?r("div",[r("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),r("div",{staticClass:"now-time"},[r("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},h=[],d=r("0bb4"),p={props:["cnName"],data:function(){return{nowTime:"",nowDate:"",welcome:"",timer:null}},methods:{setDateTime:function(){this.nowDate=d["a"].getDate(),this.createDate=this.nowDate,this.nowTime=d["a"].getTime();var e=this.nowTime.substring(0,2);e<12&&e>0?this.welcome="上午好! ":12==e?this.welcome="中午好! ":e>12&&e>20?this.welcome="晚上好,注意休息! ":e>12&&e<20&&(this.welcome="下午好!")}},mounted:function(){this.setDateTime(),this.timer=setInterval(this.setDateTime,1e3)},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}},f=p,m=(r("9d0d"),r("63b7"),r("2877")),w=Object(m["a"])(f,u,h,!1,null,"0481b847",null),g=w.exports,v=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("section",{staticClass:"yiyun_warpContent"},[r("div",{staticClass:"yiyun-rows",attrs:{id:"alone"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[r("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),r("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),r("div",{staticClass:"prjitemList"},[r("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,o){return r("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:12,lg:8,xl:6}},[r("proj-item",{attrs:{projItem:t},on:{lookProjDetailClick:function(r){return e.lookProjDetailClick(t)},watchAllBtnClick:function(r){return e.watchAllBtnClick(t,o)}}})],1)})),1)],1)])])])},j=[],S=(r("fb6a"),r("b775")),C=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"prjitem"},[r("div",{ref:"projitem",staticClass:"prjitem_content",style:e.showBackground(e.projItem.ShowImgUrl),on:{mouseenter:function(t){e.showSetIcon(e.projItem.Id),e.isMouseHover=!0},mouseleave:function(t){e.hiddenSetIcon,e.isMouseHover=!1},click:function(t){return t.stopPropagation(),e.goFilePage(e.projItem)}}},[1==e.projItem.newProjStatus?r("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),r("div",{staticClass:"prjitem_title",class:{"move-item-name":e.focusProjId==e.projItem.Id&&e.isMouseHover},attrs:{title:e.projItem.ProjName}},[e._v(e._s(e.subProjName(e.projItem.ProjName)))]),r("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[r("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]),r("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目管理")])])])])},I=[],P={data:function(){return{focusProjId:"",isEmpty:!1,isMouseHover:!1}},props:{projItem:{type:Object,default:function(){return{}}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),o=e.slice(t-6,t);return r+"..."+o}return e},watchAllBtnClick:function(){this.$emit("watchAllBtnClick")},showSetIcon:function(e){this.focusProjId=e},hiddenSetIcon:function(){this.focusProjId=""},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){return console.log(e)}));var t={API:"folder/queryNodeFolderListByProjectId",Action:"打开项目",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.projName,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(S["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},b=P,k=(r("6654"),r("7df1"),Object(m["a"])(b,C,I,!1,null,"2b5d1f78",null)),y=k.exports,B={data:function(){return{isEmpty:!1}},components:{ProjItem:y},props:{projList:{type:Array,default:function(){return[]}},openPrjInfo:Function,addNewFolders:Function},watch:{projListLength:{immediate:!0,handler:function(e){this.isEmpty=!(e>0)}}},computed:{projListLength:function(){return this.projList?this.projList.length:0}},methods:{lookProjDetailClick:function(e){this.$emit("lookProjDetailClick",e)},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),o=e.slice(t-6,t);return r+"..."+o}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},x=B,N=(r("01a6"),Object(m["a"])(x,v,j,!1,null,"22c87fa3",null)),D=N.exports,_=r("2ef0"),T=(window.BMap,window.Velocity),E={elNew:"#new",components:{SearchBar:a["a"],Timer:g,AppHeader:i["a"],ProjList:D},data:function(){var e=this.$store.state.currentPlatform;return{currentPlatform:e,isUserPerm:Object(c["c"])(e.accessList,c["a"].ProjectManager),nowDate:"",nowTime:"",cnName:"",currProjId:"",feedbackdesc:"",projList:[],nowProj:"",isEmpty:!1,createUserId:"",isProjectManager:!1,newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},isNewProj:!1,isBottomNewProj:!1,isDistProj:!0,isShowAllProject:!0,isHideAllProject:!1,isPointGroup:!0,pageIndex:1,isAloneDistProj:!1,createDate:new Date,noProjTip:!1,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",scrollIndex:12,welcome:"",isShowProjSetting:!1,isEditProjFolder:!1,fetchTickIns:null,searchContent:"",searchProjList:[],isShowSearchBar:!1,isSearching:!1,homeScrollTop:0,contentBodyEl:null}},computed:{showProjList:function(){return this.isShowSearchBar&&this.searchContent&&this.isSearching?this.searchProjList:this.projList},showCenterTitle:function(){return this.isShowSearchBar&&this.searchContent?"“".concat(this.searchContent,"”搜索结果"):"我的项目"}},watch:{searchContent:function(){this.searchForProj()}},mounted:function(){this.cnName=JSON.parse(sessionStorage.user).userName,sessionStorage.setItem("pageTitle","我的项目"),this.listProjects(!0),this.contentBodyEl=document.getElementById("bigbody"),this.contentBodyEl&&this.contentBodyEl.addEventListener("scroll",this.recordContentScrollTop)},beforeDestroy:function(){sessionStorage.dotIndex=this.ind,this.fetchTickIns&&(clearTimeout(this.fetchTickIns),this.fetchTickIns=null),this.contentBodyEl&&this.contentBodyEl.removeEventListener("scroll",this.recordContentScrollTop)},methods:{recordContentScrollTop:function(){this.homeScrollTop=this.contentBodyEl.scrollTop,sessionStorage.setItem("homeScrollTop",this.homeScrollTop)},maxTextLengthArrived:function(){this.$notify({message:"请输入35个字之内的搜索内容",type:["warning"]})},hideSearchBar:function(){this.isShowSearchBar=!1,this.searchContent=""},showSearchBar:function(){this.isShowSearchBar=!0},searchForProj:Object(_["debounce"])(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=/^\s*$/,!t.test(this.searchContent)){e.next=5;break}return e.abrupt("return");case 5:return this.isSearching=!0,e.next=8,l["e"](this.searchContent);case 8:r=e.sent,0==r.Code?this.searchProjList=r.Data:this.$notify({type:["error"],message:"查询数据失败, 请稍后重试。"});case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),500),changeSearchContent:function(e){this.searchContent=e},createNewProjectClick:function(){this.$router.push("/newproject").catch((function(e){return console.log(e)}))},lookProjDetailClick:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.$router.push({name:"projdetail"}).catch((function(e){console.log(e)}))},watchAllBtnClick:function(e,t){var r=["341999987607363584","341984912360235008","342002217261621248"];console.log(e),t%2==0||r.includes(e.Id)?this.toWatchPageClick(e):this.toLinkPageClick(e)},toWatchPageClick:function(e){this.$router.push({path:"watch"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toLinkPageClick:function(e){this.$router.push({path:"watchlink"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toRecycle:function(){this.$router.push({name:"recycle",params:{title:"我的项目"}})},createProjSuccess:function(){this.refreshListProj()},closeNewProj:function(){this.isNewProj=!1,this.isBottomNewProj=!1},listProjects:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,l["d"](t.$store.state.accountId);case 2:o=r.sent,t.projList=o.Data,t.$nextTick((function(){var e=document.getElementById("bigbody");t.homeScrollTop=parseInt(sessionStorage.getItem("homeScrollTop")||0),e&&e.scrollTo(0,t.homeScrollTop)})),e&&(t.fetchTickIns=setTimeout((function(){return t.listProjects(!0)}),6e4));case 6:case"end":return r.stop()}}),r)})))()},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){console.log(e)})),sessionStorage.pageName="workspace"},toCloudIndex:function(e){sessionStorage.projId=e.projID,sessionStorage.firstFolderId=e.folderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),sessionStorage.login="cloud",this.$router.push({name:"cloud"})},toProjNotice:function(e){sessionStorage.createUserID=e.createUserID,sessionStorage.templateID=e.templateID,sessionStorage.projId=e.projID,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.comFolderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),this.$router.push({name:"projnotice",params:{title:"我的项目",allproj:!1}})},showAllProject:function(){this.isHideAllProject=!0,this.isDistProj=!1,this.isPointGroup=!1,this.isShowAllProject=!1},hideAllProject:function(){this.isHideAllProject=!1,this.isDistProj=!0,this.isPointGroup=!0,this.isShowAllProject=!0,this.projectsWithPage()},beforeEnter:function(e){e.style.opacity=0},enter:function(e,t){T(e,{opacity:1,bottom:"0px"},{duration:500,complete:t})},leave:function(e,t){T(e,{bottom:"-740px",opacity:"0"},{duration:500,complete:t})},showzhankai:function(){this.isBottomNewProj=!0,this.isNewProj=!1},addNewFolders:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.isAloneDistProj=!0},closeDistWork:function(e){"index"==e&&this.listProjects(),this.isAloneDistProj=!1},refreshListProj:function(e){this.listProjects(),this.isNewProj=!1},closeProjSet:function(){this.isShowProjSetting=!1,this.listProjects()},openPrjInfo:function(e){this.currProjId=e.Id,this.isProjectManager=e.Status,this.isShowProjSetting=!0,this.isEditProjFolder=!1},projEditSuccess:function(){this.isShowProjSetting=!1,this.listProjects()}}},$=E,W=(r("c95a"),r("1a6e"),r("ec82"),Object(m["a"])($,o,n,!1,null,"0be02e90",null));t["default"]=W.exports},"01a6":function(e,t,r){"use strict";var o=r("391a"),n=r.n(o);n.a},"01a8":function(e,t,r){"use strict";var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[e.isClient?r("div",{staticClass:"app-header-top"},[r("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[r("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),r("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),r("div",{staticClass:"top-center"}),r("div",{staticClass:"top-right"},[r("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[r("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),r("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?r("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):r("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),r("div",{staticClass:"close",on:{mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1},click:function(t){return t.stopPropagation(),e.closeBrowserWindow(t)}}},[r("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭.svg",alt:""}}),r("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):e._e(),e.isWorkspaceTopBar&&!e.isClient||e.isShowTopBar&&!e.isClient?r("div",{staticClass:"app-header-top"}):e._e(),r("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[r("div",{staticClass:"app-header-content-left"},[e._t("left",[r("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),r("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),r("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),r("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?r("span",{on:{click:e.toRecycle}},[r("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?r("user-center"):e._e()],2)])])},n=[],s=r("1392"),i=r("1d40"),a={components:{UserCenter:s["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,showRecycleBin:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:i["a"].isClient,isMaxWindowNow:!1,isCloseHover:!1}},computed:{isMaxWindowSize:function(){return this.$store.state.isMaxWindowSize},isOnLine:function(){return this.$store.state.gatewayState}},watch:{isMaxWindowSize:function(e){this.isMaxWindowNow=e}},created:function(){this.isMaxWindowNow="true"===sessionStorage.getItem("isMaxWindowNow")&&Boolean(sessionStorage.getItem("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){i["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),i["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),i["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){i["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=a,l=(r("8fc1"),r("2877")),u=Object(l["a"])(c,o,n,!1,null,"06f5aedd",null);t["a"]=u.exports},"0bb4":function(e,t,r){"use strict";r("fb6a"),r("4d63"),r("ac1f"),r("25f0"),r("466d"),r("5319"),r("841c");t["a"]={getDateTimeString:function(e){var t=e.getFullYear(),r=e.getMonth()+1;r=r<10?"0"+r:r;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var s=e.getMinutes();s=s<10?"0"+s:s;var i=e.getSeconds();i=i<10?"0"+i:i;var a=t+"-"+r+"-"+o+" "+n+":"+s+":"+i;return a},getDateTimeStringByStr:function(e){var t=new Date(e),r=t.getFullYear(),o=t.getMonth()+1;o=o<10?"0"+o:o;var n=t.getDate();n=n<10?"0"+n:n;var s=t.getHours();s=s<10?"0"+s:s;var i=t.getMinutes();i=i<10?"0"+i:i;var a=t.getSeconds();a=a<10?"0"+a:a;var c=r+"-"+o+"-"+n+" "+s+":"+i+":"+a;return c},formatDate:function(e){var t=e.getFullYear(),r=e.getMonth()+1,o=e.getDate();r=r<10?"0"+r:r,o=o<10?"0"+o:o;var n=t+"-"+r+"-"+o;return n},convertToDate:function(e){var t=e.slice(6,19),r=new Date(parseInt(t));return this.formatDate(r)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var r=parseInt(e),o=new Date(r),n="";n+=o.getFullYear()+"-";var s=o.getMonth()+1;n+=s<10?"0"+s+"-":s+"-";var i=o.getDate();return n+=i<10?"0"+i:i,!0===t&&(n+=" "+o.getHours()+":",n+=o.getMinutes()+":",n+=o.getSeconds()),n},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(t);return null!=r?r[2]:null},validNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):t?r():r(new Error("这里不能为空"))},validNullOrNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):r()},validNullOrNumber2:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error(" ")):r()},validDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):t?r():r(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):r()},validNullOrDecimal2:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error(" ")):r()},validRequired:function(e,t,r){t?r():r(new Error("这里不能为空"))},validEmail:function(e,t,r){if(""!=t){var o=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;o.test(t)?r():r(new Error("邮箱格式不正确!"))}else r()},validPhoneNum:function(e,t,r){if(""!=t){var o=/(^\d{11}$)/;o.test(t)?r():r(new Error("请输入11位有效手机号码!"))}else r(new Error("请输入手机号"))},validVerificationCode:function(e,t,r){if(""!=t){var o=/(^\d{6}$)/;o.test(t)?r():r(new Error("请输入有效的验证码!"))}else r(new Error("请输入验证码"))},validPhone:function(e,t,r){""!=t&&11!=t.length?r(new Error("请输入11位有效手机号码!")):r()},validPhoneAndRequired:function(e,t,r){""!=t?11!=t.length?r(new Error("请输入11位有效手机号码!")):r():r(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,r){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var o=(t-1)*e,n=o+e;n>r.length&&(n=r.length);var s=[];if(null!=r&&r.length>0)for(var i=o;i<n;i++)s.push(r[i]);return s},getDate:function(){var e=new Date;this.nowDate=e.toLocaleDateString();var t="";switch(e.getDay()){case 0:t="星期日";break;case 1:t="星期一";break;case 2:t="星期二";break;case 3:t="星期三";break;case 4:t="星期四";break;case 5:t="星期五";break;case 6:t="星期六";break}var r=e.getMonth()+1;return e.getFullYear()+"年"+r+"月"+e.getDate()+"日 "+t},getTime:function(){var e=new Date,t=e.getMinutes(),r=e.getHours();return t<10&&(t="0"+t),r<10&&(r="0"+r),r+":"+t}}},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},1586:function(e,t,r){},"1a6e":function(e,t,r){"use strict";var o=r("1586"),n=r.n(o);n.a},"2f4c":function(e,t,r){"use strict";var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"search-bar",class:{"show-search-bar":e.isShowSearchBar}},[r("div",{staticClass:"search-entry",class:{"set-high-index":!e.isShowSearchBar},on:{mouseenter:function(t){e.isSearchHover=!0},mouseleave:function(t){e.isSearchHover=!1},click:function(t){return t.stopPropagation(),e.showSearchBar(t)}}},[r("img",{directives:[{name:"show",rawName:"v-show",value:!e.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),r("img",{directives:[{name:"show",rawName:"v-show",value:e.isSearchHover,expression:"isSearchHover"}],staticClass:"vert-hori-center search-active-img",attrs:{src:"/static/img/搜索激活.svg",alt:""}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[r("i",{staticClass:"search-icon",on:{click:function(t){return t.stopPropagation(),e.goToSearch(t)}}}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchContent,expression:"searchContent"}],staticClass:"search-input",attrs:{type:"text",placeholder:e.placeholder,maxlength:"35"},domProps:{value:e.searchContent},on:{keyup:function(t){return t.stopPropagation(),e.enterSearchContent(t)},input:function(t){t.target.composing||(e.searchContent=t.target.value)}}}),r("i",{staticClass:"close-icon",on:{click:function(t){return t.stopPropagation(),e.hideSearchBar(t)}}})])])},n=[],s={data:function(){return{searchContent:"",isSearchHover:!1,isShowSearchBar:!1}},props:{placeholder:{type:String,default:"搜索的文本"}},watch:{searchContent:function(e){35==e.length&&this.$emit("maxTextLengthArrived"),this.changeSearchContent()}},methods:{enterSearchContent:function(e){this.searchContent&&13==e.keyCode&&this.goToSearch()},changeSearchContent:function(){this.$emit("changeSearchContent",this.searchContent)},goToSearch:function(){this.$emit("goToSearch")},hideSearchBar:function(){this.isShowSearchBar=!1,this.$emit("hideSearchBar")},showSearchBar:function(){this.searchContent="",this.isShowSearchBar=!0,this.$emit("showSearchBar")}}},i=s,a=(r("76ae"),r("2877")),c=Object(a["a"])(i,o,n,!1,null,"df8317c6",null);t["a"]=c.exports},"391a":function(e,t,r){},"466d":function(e,t,r){"use strict";var o=r("d784"),n=r("825a"),s=r("50c4"),i=r("1d80"),a=r("8aa5"),c=r("14c3");o("match",1,(function(e,t,r){return[function(t){var r=i(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,r):new RegExp(t)[e](String(r))},function(e){var o=r(t,e,this);if(o.done)return o.value;var i=n(e),l=String(this);if(!i.global)return c(i,l);var u=i.unicode;i.lastIndex=0;var h,d=[],p=0;while(null!==(h=c(i,l))){var f=String(h[0]);d[p]=f,""===f&&(i.lastIndex=a(l,s(i.lastIndex),u)),p++}return 0===p?null:d}]}))},"4d63":function(e,t,r){var o=r("83ab"),n=r("da84"),s=r("94ca"),i=r("7156"),a=r("9bf2").f,c=r("241c").f,l=r("44e7"),u=r("ad6d"),h=r("9f7f"),d=r("6eeb"),p=r("d039"),f=r("69f3").set,m=r("2626"),w=r("b622"),g=w("match"),v=n.RegExp,j=v.prototype,S=/a/g,C=/a/g,I=new v(S)!==S,P=h.UNSUPPORTED_Y,b=o&&s("RegExp",!I||P||p((function(){return C[g]=!1,v(S)!=S||v(C)==C||"/a/i"!=v(S,"i")})));if(b){var k=function(e,t){var r,o=this instanceof k,n=l(e),s=void 0===t;if(!o&&n&&e.constructor===k&&s)return e;I?n&&!s&&(e=e.source):e instanceof k&&(s&&(t=u.call(e)),e=e.source),P&&(r=!!t&&t.indexOf("y")>-1,r&&(t=t.replace(/y/g,"")));var a=i(I?new v(e,t):v(e,t),o?this:j,k);return P&&r&&f(a,{sticky:r}),a},y=function(e){e in k||a(k,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},B=c(v),x=0;while(B.length>x)y(B[x++]);j.constructor=k,k.prototype=j,d(n,"RegExp",k)}m("RegExp")},5122:function(e,t,r){},"63b7":function(e,t,r){"use strict";var o=r("fabf"),n=r.n(o);n.a},6654:function(e,t,r){"use strict";var o=r("6eb7"),n=r.n(o);n.a},"6d1d":function(e,t,r){},"6eb7":function(e,t,r){},"76ae":function(e,t,r){"use strict";var o=r("e9b0"),n=r.n(o);n.a},"7df1":function(e,t,r){"use strict";var o=r("a5b4"),n=r.n(o);n.a},"841c":function(e,t,r){"use strict";var o=r("d784"),n=r("825a"),s=r("1d80"),i=r("129f"),a=r("14c3");o("search",1,(function(e,t,r){return[function(t){var r=s(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,r):new RegExp(t)[e](String(r))},function(e){var o=r(t,e,this);if(o.done)return o.value;var s=n(e),c=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var u=a(s,c);return i(s.lastIndex,l)||(s.lastIndex=l),null===u?-1:u.index}]}))},"8fc1":function(e,t,r){"use strict";var o=r("99ab"),n=r.n(o);n.a},"99ab":function(e,t,r){},"9d0d":function(e,t,r){"use strict";var o=r("cf15"),n=r.n(o);n.a},a06e:function(e,t,r){"use strict";r.d(t,"d",(function(){return s})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return p}));r("96cf");var o=r("1da1"),n=r("b775");function s(e){return i.apply(this,arguments)}function i(){return i=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/queryProjectListByUserId",{userId:t});case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),i.apply(this,arguments)}function a(e){return c.apply(this,arguments)}function c(){return c=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(e){return u.apply(this,arguments)}function u(){return u=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/editProject",t);case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function h(e){return d.apply(this,arguments)}function d(){return d=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/assignedWork",t);case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return f=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/searchProject",{projName:t});case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},a5b4:function(e,t,r){},c95a:function(e,t,r){"use strict";var o=r("5122"),n=r.n(o);n.a},caad:function(e,t,r){"use strict";var o=r("23e7"),n=r("4d64").includes,s=r("44d2"),i=r("ae40"),a=i("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:!a},{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},cf15:function(e,t,r){},e9b0:function(e,t,r){},ec82:function(e,t,r){"use strict";var o=r("6d1d"),n=r.n(o);n.a},f96e:function(e,t,r){"use strict";var o=r("01a8");r.d(t,"a",(function(){return o["a"]}))},fabf:function(e,t,r){}}]);