m)t.minute-=m,t.hour++,t.hour>=y&&(K(t),t.hour=x);return t}function K(t){return t.day++,t.weekday=(t.weekday+1)%f,t.day>c&&t.day>G(t.year,t.month)&&(t.day=p,t.month++,t.month>h&&(t.month=d,t.year++)),t}function Z(t){return t.day--,t.weekday=(t.weekday+6)%f,t.day=0)e(t);return t}function Q(t,e){var i=525600*(e.year-t.year),n=43800*(e.month-t.month),r=1440*(e.day-t.day),s=60*(e.hour-t.hour),a=e.minute-t.minute;return i+n+r+s+a}function tt(t,e,i,n){void 0===i&&(i=K),void 0===n&&(n=6);while(t.weekday!==e&&--n>=0)i(t);return t}function et(t){for(var e=[1,1,1,1,1,1,1],i=[0,0,0,0,0,0,0],n=0;nn,t}function j(t){return t instanceof Date||"number"===typeof t&&isFinite(t)}function $(t,e,i){return t.hasTime!==e&&(t.hasTime=e,e||(t.hour=b,t.minute=v,t.time=q(t)),i&&B(t,i,t.hasTime)),t}function N(t,e,i){return t.hasTime=!0,t.hour=Math.floor(e/m),t.minute=e%m,t.time=q(t),i&&B(t,i,!0),t}function R(t){return t.weekday=z(t),t}function H(t){return t.time=q(t),t.date=U(t),t}function z(t){if(t.hasDay){var e=Math.floor,i=t.day,n=(t.month+9)%h+1,r=e(t.year/100),s=t.year%100-(t.month<=2?1:0);return((i+e(2.6*n-.2)-2*r+s+e(s/4)+e(r/4))%7+7)%7}return t.weekday}function G(t,e){return Object(n["isLeapYear"])(t)?l[e]:o[e]}function W(t){var e=t.date,i=t.time,n=t.year,r=t.month,s=t.day,a=t.weekday,o=t.hour,l=t.minute,c=t.hasDay,u=t.hasTime,h=t.past,d=t.present,p=t.future;return{date:e,time:i,year:n,month:r,day:s,weekday:a,hour:o,minute:l,hasDay:c,hasTime:u,past:h,present:d,future:p}}function Y(t,e){var i=String(t);while(i.lengthm)t.minute-=m,t.hour++,t.hour>=y&&(K(t),t.hour=x);return t}function K(t){return t.day++,t.weekday=(t.weekday+1)%f,t.day>c&&t.day>G(t.year,t.month)&&(t.day=p,t.month++,t.month>h&&(t.month=d,t.year++)),t}function Z(t){return t.day--,t.weekday=(t.weekday+6)%f,t.day=0)e(t);return t}function Q(t,e){var i=525600*(e.year-t.year),n=43800*(e.month-t.month),r=1440*(e.day-t.day),s=60*(e.hour-t.hour),a=e.minute-t.minute;return i+n+r+s+a}function tt(t,e,i,n){void 0===i&&(i=K),void 0===n&&(n=6);while(t.weekday!==e&&--n>=0)i(t);return t}function et(t){for(var e=[1,1,1,1,1,1,1],i=[0,0,0,0,0,0,0],n=0;n0)&&!(n=s.next()).done)a.push(n.value)}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=s["return"])&&i.call(s)}finally{if(r)throw r.error}}return a},l=function(){for(var t=[],e=0;e":">"};function C(t){return t.replace(/[&<>]/g,(function(t){return S[t]||t}))}function k(t,e){for(var i={},n=0;n=i&&r0)&&!(n=s.next()).done)a.push(n.value)}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=s["return"])&&i.call(s)}finally{if(r)throw r.error}}return a},l=function(){for(var t=[],e=0;e":">"};function C(t){return t.replace(/[&<>]/g,(function(t){return S[t]||t}))}function k(t,e){for(var i={},n=0;n=i&&r32?this.$notify({message:"项目名称不得超出32个字符。",type:"warning"}):(this.isProjName=!1,this.isTemSelect=!0,this.isTemImprove=!1,this.isTemNest=!1,this.getSelectTemplateData())}else this.$notify({message:"请输入项目名称。",type:["warning"]})},enterProjNameInput:function(){this.isProjName=!0,this.isTemSelect=!1},enterTemplateImprove:function(){this.isTemSelect=!1,this.isTemImprove=!0,this.getTempProps(this.selectTemplate.Id)},getTempProps:function(e){var t=this;p["n"](e).then((function(e){e.Data.propertys.forEach((function(e,a){t.checkNewProjData.CustomProps[a]={},t.checkNewProjData.CustomProps[a]["TempPropId"]=e.Id,t.checkNewProjData.CustomProps[a]["PropertyName"]=e.PropertyName,t.checkNewProjData.CustomProps[a]["PropValue"]="";var r=t.checkNewProjData.CustomProps;t.checkNewProjData.CustomProps=Object(n["a"])(r)})),t.checkNewProjData=Object(c["a"])({},t.checkNewProjData)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,this.coverSrc="static/img/faceImg/face".concat("".concat(100+this.srcIndex).slice(1),".png"),this.newProjData.projectData.showImgUrl=this.coverSrc},coverUploadSuccess:function(e){var t=Object(m["c"])(e.ossUrl);this.coverSrc=t,this.newProjData.projectData.showImgUrl=t},getSelectTemplateData:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["m"](e.companyId);case 2:a=t.sent,r=a.Data||[],e.templateList=r,e.templateList&&e.templateList.length&&"{}"===JSON.stringify(e.selectTemplate)&&(e.selectTemplate=r[0],e.checkedIndex=0);case 6:case"end":return t.stop()}}),t)})))()},getSelectTemplateList:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var r,s,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["p"](e);case 2:r=a.sent,s=r.Data,o=s.children||[],t.newProjData.listFolder=[],o.forEach((function(e){var a={folderID:"",projID:"",superID:"",levelID:"",firstFolderID:"",tempNodeID:e.id,folderName:e.topic,fileCount:0,childCount:0,modifyUserID:"",deleted:0,default:!0,listUser:[],manageUser:[]};t.newProjData.listFolder.push(a)}));case 7:case"end":return a.stop()}}),a)})))()},createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isDisableCreate=!0,e.newProjData.userId=sessionStorage.userId,e.newProjData.projectData.templateID=e.selectTemplate.Id,e.newProjData.projectData.showImgUrl=e.coverSrc,a=e,e.checkNewProjData.Proj.ProjName=e.newProjData.projectData.projName,e.checkNewProjData.Proj.CompanyId=e.$store.state.currentCompanyId,e.checkNewProjData.Proj.ShowImgUrl=String(e.newProjData.projectData.showImgUrl),e.checkNewProjData.Proj.TemplateId=e.selectTemplate.Id,e.checkNewProjData.Proj.CreateUserId=sessionStorage.userId,e.checkNewProjData.Proj.ModifyUserId=sessionStorage.userId,t.next=13,p["p"](e.selectTemplate.Id);case 13:r=t.sent,e.checkNewProjData.Node=r.Data,e.$fetchApi("project/createProject",e.checkNewProjData).then((function(t){0===t.Code?(a.$notify({message:"新项目创建成功。",type:["success"]}),sessionStorage.projId=t.Data,sessionStorage.createUserID=sessionStorage.userId,sessionStorage.templateID=e.selectTemplate.Id,sessionStorage.allocated=0,e.$router.push({name:"projdetail",query:{isShowDistworkPage:!0}}).catch((function(e){console.log(e)}))):a.$notify.error({message:"项目创建失败, 请稍后重试。",offset:100,duration:5e3})})).catch((function(e){return console.log(e)})),s={API:"project/createProject",Action:"创建项目",CompanyName:sessionStorage.CompanyName,Subject:e.checkNewProjData.Proj.ProjName,Source:sessionStorage.client,ProjectName:e.checkNewProjData.Proj.ProjName},Object(u["b"])("operation/record",s);case 18:case"end":return t.stop()}}),t)})))()},loadTempNodeTree:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.templateId,t.next=3,p["p"](a);case 3:if(r=t.sent,e.listTempNodeTree=r.Data?[r.Data]:[],r.Data){t.next=7;break}return t.abrupt("return");case 7:e.nodeClick(r.Data);case 8:case"end":return t.stop()}}),t)})))()},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0}},watch:{isProjDescScroll:function(e){var t=this;e&&setTimeout((function(){t.projDescEl=t.$refs.projdesc,t.projDescEl&&t.projDescEl.addEventListener("scroll",t.watchProjDescScroll)}),50)}},mounted:function(){this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll)}},h=j,D=(a("04c4"),a("2877")),P=Object(D["a"])(h,r,s,!1,null,null,null);t["default"]=P.exports}}]);
\ No newline at end of file
diff --git a/static/js/chunk-3261285a.b93fddd2.js b/static/js/chunk-3261285a.b93fddd2.js
deleted file mode 100644
index aa39b791..00000000
--- a/static/js/chunk-3261285a.b93fddd2.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3261285a"],{"04c4":function(e,t,a){"use strict";var r=a("14d6"),s=a.n(r);s.a},"14d6":function(e,t,a){},a341:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"new-proj"},[a("AppHeader",{staticClass:"new-proj-header",attrs:{theme:"basis",showBackBtn:"",isShowTopBar:!0,backBtnTitle:"取消项目创建"}}),a("div",{staticClass:"proj_manage"},[a("div",{staticClass:"proj_manage_content"},[a("div",{staticClass:"projModule adjust-top-radius"},[e.isProjName?a("div",{staticClass:"projName_input"},[a("div",{staticClass:"newProj_header "},[a("div",{staticClass:"newProj_title"},[e._v(" 输入项目名称 ")]),a("div",{staticClass:"nextbtn",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.enterTemplateSelect()}}},[e._v("下一步")])]),a("div",{staticClass:"newProj_content"},[a("div",{staticClass:"upload_img"},[a("div",{staticClass:"upload_imgBox",style:e.showBackground(e.coverSrc)},[a("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[a("span",[e._v("编辑")])]),a("span",{staticClass:"faceBtn",on:{click:function(t){return t.stopPropagation(),e.setSystemCoverRandom(t)}}},[e._v("使用随机封面")])],1)]),a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.newProjData.projectData.projName,expression:"newProjData.projectData.projName"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入 请输入32个字之内的字符"},domProps:{value:e.newProjData.projectData.projName},on:{input:function(t){t.target.composing||e.$set(e.newProjData.projectData,"projName",t.target.value)}}})])])]):e._e(),e.isTemSelect?a("div",{staticClass:"template_select"},[a("TopHeader",{ref:"projdesc",staticClass:"set_position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"修改项目名称",onBackBtnClick:e.enterProjNameInput,title:"选择项目模板"}},[a("div",{staticClass:"slot_btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.enterTemplateImprove()}},slot:"right"},[e._v("选定模板")])]),a("div",{staticClass:"template_select_content"},e._l(e.templateList,(function(t,r){return a("div",{key:t.Id,staticClass:"template_info",on:{click:function(a){return a.stopPropagation(),e.isChecked(r,t)}}},[a("div",{staticClass:"check_box",class:{checked:e.checkedIndex==r}},[a("i",{staticClass:"el-icon-check"})]),a("span",{staticClass:"template_info_name"},[e._v(e._s(t.TempName))])])})),0)],1):e._e(),e.isTemImprove?a("div",{staticClass:"template_improve"},[a("TopHeader",{staticClass:"set_position header-wrap",attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"选择模板",onBackBtnClick:e.enterTemplateSelect,title:"完善模板信息"}},[a("div",{staticClass:"slot_btn",attrs:{slot:"right",type:"primary"},on:{click:function(t){return t.stopPropagation(),e.createProject()}},slot:"right"},[e._v("创建")])]),a("div",{staticClass:"template_improve_content"},[a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("模板名称:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.selectTemplate.TempName))])]),a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("创建时间:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.createDate))])]),e._l(e.checkNewProjData.CustomProps,(function(t){return a("div",{key:t.Id,staticClass:"template_improve_info template_improve_infoInput"},[a("div",{staticClass:"template_title"},[e._v(e._s((t.PropertyName?t.PropertyName:"自定义字段")+":"))]),a("div",{staticClass:"template_title_info"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.PropValue,expression:"prop.PropValue"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入"},domProps:{value:t.PropValue},on:{input:function(a){a.target.composing||e.$set(t,"PropValue",a.target.value)}}})])])}))],2)],1):e._e()])])])],1)},s=[],o=(a("4160"),a("159b"),a("96cf"),a("1da1")),c=a("5530"),i=a("2909"),n=a("b1f3"),l=a("f96e"),p=a("b0f9"),m=(a("93d6"),a("5ab9")),d=a("9e5b"),u=a("b775"),h={components:{AppHeader:l["a"],TopHeader:n["a"],FileUploader:d["a"]},props:{},data:function(){return{isProjName:!0,isTemSelect:!1,isTemImprove:!1,templateId:sessionStorage.templateID,listTempNodeTree:[],NestTemplateList:[],otherTemplateList:[],tempNodeList:[],nestNodeId:"",title:"",checkedIndex:NaN,selectTemplate:{},srcIndex:2,coverSrc:"static/img/faceImg/face01.png",templateList:[],isProjDescScroll:!1,projDescEl:null,plastScrollTime:null,createDate:(new Date).toLocaleDateString(),checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],a=t(e);return{background:"center/cover no-repeat url(".concat(a,")")}},enterTemplateSelect:function(){if(void 0!=this.newProjData.projectData.projName&&null!=this.newProjData.projectData.projName&&""!=this.newProjData.projectData.projName){var e=/[/\\]{1,}/g;e.test(this.newProjData.projectData.projName)?this.$notify({message:"项目名称请不要包含'/' '\\'等字符。",type:["warning"]}):this.newProjData.projectData.projName.length>32?this.$notify({message:"项目名称不得超出32个字符。",type:"warning"}):(this.isProjName=!1,this.isTemSelect=!0,this.isTemImprove=!1,this.isTemNest=!1,this.getSelectTemplateData())}else this.$notify({message:"请输入项目名称。",type:["warning"]})},enterProjNameInput:function(){this.isProjName=!0,this.isTemSelect=!1},enterTemplateImprove:function(){this.isTemSelect=!1,this.isTemImprove=!0,this.getTempProps(this.selectTemplate.Id)},getTempProps:function(e){var t=this;p["m"](e).then((function(e){e.Data.propertys.forEach((function(e,a){t.checkNewProjData.CustomProps[a]={},t.checkNewProjData.CustomProps[a]["TempPropId"]=e.Id,t.checkNewProjData.CustomProps[a]["PropertyName"]=e.PropertyName,t.checkNewProjData.CustomProps[a]["PropValue"]="";var r=t.checkNewProjData.CustomProps;t.checkNewProjData.CustomProps=Object(i["a"])(r)})),t.checkNewProjData=Object(c["a"])({},t.checkNewProjData)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,10===this.srcIndex?this.coverSrc="static/img/faceImg/face"+this.srcIndex+".png":this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.newProjData.projectData.showImgUrl=this.coverSrc},coverUploadSuccess:function(e){var t=Object(m["c"])(e.ossUrl);this.coverSrc=t,this.newProjData.projectData.showImgUrl=t},getSelectTemplateData:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["n"]();case 2:a=t.sent,r=a.Data||[],e.templateList=r,e.templateList&&e.templateList.length&&"{}"===JSON.stringify(e.selectTemplate)&&(e.selectTemplate=r[0],e.checkedIndex=0);case 6:case"end":return t.stop()}}),t)})))()},getSelectTemplateList:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var r,s,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["o"](e);case 2:r=a.sent,s=r.Data,o=s.children||[],t.newProjData.listFolder=[],o.forEach((function(e){var a={folderID:"",projID:"",superID:"",levelID:"",firstFolderID:"",tempNodeID:e.id,folderName:e.topic,fileCount:0,childCount:0,modifyUserID:"",deleted:0,default:!0,listUser:[],manageUser:[]};t.newProjData.listFolder.push(a)}));case 7:case"end":return a.stop()}}),a)})))()},createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isDisableCreate=!0,e.newProjData.userId=sessionStorage.userId,e.newProjData.projectData.templateID=e.selectTemplate.Id,e.newProjData.projectData.showImgUrl=e.coverSrc,a=e,e.checkNewProjData.Proj.ProjName=e.newProjData.projectData.projName,e.checkNewProjData.Proj.CompanyId=e.$store.state.currentCompanyId,e.checkNewProjData.Proj.ShowImgUrl=String(e.newProjData.projectData.showImgUrl),e.checkNewProjData.Proj.TemplateId=e.selectTemplate.Id,e.checkNewProjData.Proj.CreateUserId=sessionStorage.userId,e.checkNewProjData.Proj.ModifyUserId=sessionStorage.userId,t.next=13,p["o"](e.selectTemplate.Id);case 13:r=t.sent,e.checkNewProjData.Node=r.Data,e.$fetchApi("project/createProject",e.checkNewProjData).then((function(t){0===t.Code?(a.$notify({message:"新项目创建成功。",type:["success"]}),sessionStorage.projId=t.Data,sessionStorage.createUserID=sessionStorage.userId,sessionStorage.templateID=e.selectTemplate.Id,sessionStorage.allocated=0,e.$router.push({name:"projdetail",query:{isShowDistworkPage:!0}}).catch((function(e){console.log(e)}))):a.$notify.error({message:"项目创建失败, 请稍后重试。",offset:100,duration:5e3})})).catch((function(e){return console.log(e)})),s={API:"project/createProject",Action:"创建项目",CompanyName:sessionStorage.CompanyName,Subject:e.checkNewProjData.Proj.ProjName,Source:sessionStorage.client,ProjectName:e.checkNewProjData.Proj.ProjName},Object(u["b"])("operation/record",s);case 18:case"end":return t.stop()}}),t)})))()},loadTempNodeTree:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.templateId,t.next=3,p["o"](a);case 3:if(r=t.sent,e.listTempNodeTree=r.Data?[r.Data]:[],r.Data){t.next=7;break}return t.abrupt("return");case 7:e.nodeClick(r.Data);case 8:case"end":return t.stop()}}),t)})))()},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0}},watch:{isProjDescScroll:function(e){var t=this;e&&setTimeout((function(){t.projDescEl=t.$refs.projdesc,t.projDescEl&&t.projDescEl.addEventListener("scroll",t.watchProjDescScroll)}),50)}},mounted:function(){this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll)}},j=h,v=(a("04c4"),a("2877")),D=Object(v["a"])(j,r,s,!1,null,null,null);t["default"]=D.exports}}]);
\ No newline at end of file
diff --git a/static/js/chunk-347878ae.154aa5f7.js b/static/js/chunk-347878ae.47e6d8f9.js
similarity index 100%
rename from static/js/chunk-347878ae.154aa5f7.js
rename to static/js/chunk-347878ae.47e6d8f9.js
diff --git a/static/js/chunk-3ccf94d4.1667d95c.js b/static/js/chunk-3ccf94d4.72adece4.js
similarity index 53%
rename from static/js/chunk-3ccf94d4.1667d95c.js
rename to static/js/chunk-3ccf94d4.72adece4.js
index 0530c265..8370c7da 100644
--- a/static/js/chunk-3ccf94d4.1667d95c.js
+++ b/static/js/chunk-3ccf94d4.72adece4.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3ccf94d4"],{"01a8":function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("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?i("div",{staticClass:"app-header-top"},[i("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[i("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),i("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),i("div",{staticClass:"top-center"}),i("div",{staticClass:"top-right"},[i("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[i("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),i("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?i("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):i("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),i("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)}}},[i("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:""}}),i("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?i("div",{staticClass:"app-header-top"}):e._e(),i("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[i("div",{staticClass:"app-header-content-left"},[e._t("left",[i("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()}}}),i("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),i("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),i("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?i("span",{on:{click:e.toRecycle}},[i("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?i("user-center"):e._e()],2)])])},s=[],o=i("1392"),a=i("1d40"),r={components:{UserCenter:o["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:a["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(){a["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),a["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),a["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){a["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=r,l=(i("8fc1"),i("2877")),w=Object(l["a"])(c,n,s,!1,null,"06f5aedd",null);t["a"]=w.exports},"8fc1":function(e,t,i){"use strict";var n=i("99ab"),s=i.n(n);s.a},"99ab":function(e,t,i){},ae7f:function(e,t,i){},bb14:function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-nav"},e._l(e.list,(function(t){return i("div",{key:t.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===e.currentKey.indexOf(t.key)},on:{click:function(i){return e.goto(t.key)}}},[e._v(" "+e._s(t.label)+" ")])})),0)},s=[],o=(i("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(e){this.$router.push({name:e})}},watch:{$route:function(e){this.currentKey=e.name}}}),a=o,r=(i("c84d"),i("2877")),c=Object(r["a"])(a,n,s,!1,null,"49e804bc",null);t["a"]=c.exports},c84d:function(e,t,i){"use strict";var n=i("ae7f"),s=i.n(n);s.a},db21:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("app-header",{directives:[{name:"show",rawName:"v-show",value:e.showHeader,expression:"showHeader"}],attrs:{theme:"white",showUserCenter:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v("LOCKING")]},proxy:!0},{key:"center",fn:function(){return[i("app-nav",{attrs:{list:e.navList}})]},proxy:!0}])}),i("router-view")],1)},s=[],o=(i("13d5"),i("b0c0"),i("f96e")),a=i("bb14"),r=function(e,t){return{key:e,label:t}},c=[r("company_home","首页"),r("company_user","通讯录")],l=c.reduce((function(e,t){return e[t.key]=!0,e}),{}),w=function(e){return l[e]},u={components:{AppHeader:o["a"],AppNav:a["a"]},data:function(){return{showHeader:w(this.$route.name),navList:c}},methods:{},watch:{$route:function(e){this.showHeader=w(e.name)}}},d=u,h=i("2877"),p=Object(h["a"])(d,n,s,!1,null,null,null);t["default"]=p.exports},f96e:function(e,t,i){"use strict";var n=i("01a8");i.d(t,"a",(function(){return n["a"]}))}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3ccf94d4"],{"01a8":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},s=[],o=n("1392"),a=n("1d40"),r={components:{UserCenter:o["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:a["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(){a["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),a["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),a["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){a["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=r,l=(n("8fc1"),n("2877")),w=Object(l["a"])(c,i,s,!1,null,"06f5aedd",null);t["a"]=w.exports},"8fc1":function(e,t,n){"use strict";var i=n("99ab"),s=n.n(i);s.a},"99ab":function(e,t,n){},ae7f:function(e,t,n){},bb14:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-nav"},e._l(e.list,(function(t){return n("div",{key:t.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===e.currentKey.indexOf(t.key)},on:{click:function(n){return e.goto(t.key)}}},[e._v(" "+e._s(t.label)+" ")])})),0)},s=[],o=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(e){this.$router.push({name:e})}},watch:{$route:function(e){this.currentKey=e.name}}}),a=o,r=(n("c84d"),n("2877")),c=Object(r["a"])(a,i,s,!1,null,"49e804bc",null);t["a"]=c.exports},c84d:function(e,t,n){"use strict";var i=n("ae7f"),s=n.n(i);s.a},db21:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:e.showHeader,expression:"showHeader"}],attrs:{theme:"white",showUserCenter:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v("LOCKING")]},proxy:!0},{key:"center",fn:function(){return[n("app-nav",{attrs:{list:e.navList}})]},proxy:!0}])}),n("router-view")],1)},s=[],o=(n("13d5"),n("b0c0"),n("f96e")),a=n("bb14"),r=function(e,t){return{key:e,label:t}},c=[r("company_home","首页"),r("company_user","通讯录"),r("company_template","模板与应用")],l=c.reduce((function(e,t){return e[t.key]=!0,e}),{}),w=function(e){return l[e]},u={components:{AppHeader:o["a"],AppNav:a["a"]},data:function(){return{showHeader:w(this.$route.name),navList:c}},methods:{},watch:{$route:function(e){this.showHeader=w(e.name)}}},d=u,h=n("2877"),p=Object(h["a"])(d,i,s,!1,null,null,null);t["default"]=p.exports},f96e:function(e,t,n){"use strict";var i=n("01a8");n.d(t,"a",(function(){return i["a"]}))}}]);
\ No newline at end of file
diff --git a/static/js/chunk-3fbc85f3.331e06cd.js b/static/js/chunk-3fbc85f3.331e06cd.js
deleted file mode 100644
index 4369ff46..00000000
--- a/static/js/chunk-3fbc85f3.331e06cd.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fbc85f3"],{"01a8":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},a=[],i=n("1392"),c=n("1d40"),s={components:{UserCenter:i["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:c["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(){c["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){c["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)}},o=s,u=(n("8fc1"),n("2877")),l=Object(u["a"])(o,r,a,!1,null,"06f5aedd",null);t["a"]=l.exports},2909:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("6b75");function a(e){if(Array.isArray(e))return Object(r["a"])(e)}var i=n("db90"),c=n("06c5");function s(){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 o(e){return a(e)||Object(i["a"])(e)||Object(c["a"])(e)||s()}},"5be0":function(e,t,n){},"6dcf":function(e,t,n){"use strict";var r=n("5be0"),a=n.n(r);a.a},"8fc1":function(e,t,n){"use strict";var r=n("99ab"),a=n.n(r);a.a},"99ab":function(e,t,n){},b0f9:function(e,t,n){"use strict";n.d(t,"n",(function(){return i})),n.d(t,"s",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"f",(function(){return f})),n.d(t,"r",(function(){return b})),n.d(t,"l",(function(){return g})),n.d(t,"k",(function(){return y})),n.d(t,"b",(function(){return x})),n.d(t,"o",(function(){return O})),n.d(t,"j",(function(){return R})),n.d(t,"h",(function(){return _})),n.d(t,"i",(function(){return S})),n.d(t,"a",(function(){return I})),n.d(t,"g",(function(){return E})),n.d(t,"c",(function(){return q})),n.d(t,"e",(function(){return H})),n.d(t,"q",(function(){return U}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function s(e){return o.apply(this,arguments)}function o(){return o=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function u(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function p(e){return d.apply(this,arguments)}function d(){return d=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function h(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function b(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e){return B.apply(this,arguments)}function B(){return B=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function x(e){return j.apply(this,arguments)}function j(){return j=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function O(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function R(e,t,n){return W.apply(this,arguments)}function W(){return W=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return i=e.sent,e.abrupt("return",Object(a["c"])(i));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function _(e){return T.apply(this,arguments)}function T(){return T=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function S(e){return N.apply(this,arguments)}function N(){return N=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return M=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function E(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function q(e){return F.apply(this,arguments)}function F(){return F=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function H(e){return $.apply(this,arguments)}function $(){return $=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function U(e){return z.apply(this,arguments)}function z(){return z=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}},b1f3:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[n("div",{staticClass:"app-header-content"},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),n("div",{staticClass:"app-header-content-right"},[e._t("right"),e.showUserCenter?n("user-center"):e._e()],2)]),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2)])},a=[],i=n("1392"),c={components:{UserCenter:i["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean},data:function(){return{isWindowScrollIng:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},s=c,o=(n("6dcf"),n("2877")),u=Object(o["a"])(s,r,a,!1,null,"373b66dc",null);t["a"]=u.exports},db90:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},f96e:function(e,t,n){"use strict";var r=n("01a8");n.d(t,"a",(function(){return r["a"]}))}}]);
\ No newline at end of file
diff --git a/static/js/chunk-3fbc85f3.fd30866f.js b/static/js/chunk-3fbc85f3.fd30866f.js
new file mode 100644
index 00000000..03d22e94
--- /dev/null
+++ b/static/js/chunk-3fbc85f3.fd30866f.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fbc85f3"],{"01a8":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},a=[],i=n("1392"),c=n("1d40"),s={components:{UserCenter:i["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:c["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(){c["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){c["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)}},o=s,u=(n("8fc1"),n("2877")),l=Object(u["a"])(o,r,a,!1,null,"06f5aedd",null);t["a"]=l.exports},2909:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("6b75");function a(e){if(Array.isArray(e))return Object(r["a"])(e)}var i=n("db90"),c=n("06c5");function s(){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 o(e){return a(e)||Object(i["a"])(e)||Object(c["a"])(e)||s()}},"5be0":function(e,t,n){},"6dcf":function(e,t,n){"use strict";var r=n("5be0"),a=n.n(r);a.a},"8fc1":function(e,t,n){"use strict";var r=n("99ab"),a=n.n(r);a.a},"99ab":function(e,t,n){},b0f9:function(e,t,n){"use strict";n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return s})),n.d(t,"t",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"n",(function(){return h})),n.d(t,"q",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"s",(function(){return g})),n.d(t,"l",(function(){return y})),n.d(t,"k",(function(){return x})),n.d(t,"b",(function(){return O})),n.d(t,"p",(function(){return R})),n.d(t,"j",(function(){return _})),n.d(t,"h",(function(){return S})),n.d(t,"i",(function(){return N})),n.d(t,"a",(function(){return E})),n.d(t,"g",(function(){return q})),n.d(t,"c",(function(){return H})),n.d(t,"e",(function(){return U})),n.d(t,"r",(function(){return A}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function s(e){return o.apply(this,arguments)}function o(){return o=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function u(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function p(e){return d.apply(this,arguments)}function d(){return d=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function h(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function m(e){return f.apply(this,arguments)}function f(){return f=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function b(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e){return B.apply(this,arguments)}function B(){return B=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function x(e){return j.apply(this,arguments)}function j(){return j=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function O(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function R(e){return W.apply(this,arguments)}function W(){return W=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function _(e,t,n){return T.apply(this,arguments)}function T(){return T=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return i=e.sent,e.abrupt("return",Object(a["c"])(i));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function S(e){return I.apply(this,arguments)}function I(){return I=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function N(e){return M.apply(this,arguments)}function M(){return M=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function E(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function q(e){return F.apply(this,arguments)}function F(){return F=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function H(e){return $.apply(this,arguments)}function $(){return $=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function U(e){return z.apply(this,arguments)}function z(){return z=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function A(e){return P.apply(this,arguments)}function P(){return P=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}},b1f3:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[n("div",{staticClass:"app-header-content"},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),n("div",{staticClass:"app-header-content-right"},[e._t("right"),e.showUserCenter?n("user-center"):e._e()],2)]),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2)])},a=[],i=n("1392"),c={components:{UserCenter:i["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean},data:function(){return{isWindowScrollIng:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},s=c,o=(n("6dcf"),n("2877")),u=Object(o["a"])(s,r,a,!1,null,"373b66dc",null);t["a"]=u.exports},db90:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},f96e:function(e,t,n){"use strict";var r=n("01a8");n.d(t,"a",(function(){return r["a"]}))}}]);
\ No newline at end of file
diff --git a/static/js/chunk-4a5d94c9.8cd926f9.js b/static/js/chunk-4a5d94c9.8cd926f9.js
new file mode 100644
index 00000000..1036126e
--- /dev/null
+++ b/static/js/chunk-4a5d94c9.8cd926f9.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a5d94c9"],{"01a8":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},a=[],i=n("1392"),c=n("1d40"),s={components:{UserCenter:i["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:c["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(){c["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),c["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){c["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)}},o=s,u=(n("8fc1"),n("2877")),p=Object(u["a"])(o,r,a,!1,null,"06f5aedd",null);t["a"]=p.exports},2827:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("96cf");var r=n("1da1"),a=n("b775");function i(e,t){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("templateCompany/addTemplateCompany",{companyId:t,templateId:n});case 2:return r=e.sent,Object(a["c"])(r),e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}},"8fc1":function(e,t,n){"use strict";var r=n("99ab"),a=n.n(r);a.a},"99ab":function(e,t,n){},b0f9:function(e,t,n){"use strict";n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return s})),n.d(t,"t",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"n",(function(){return w})),n.d(t,"q",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"s",(function(){return g})),n.d(t,"l",(function(){return x})),n.d(t,"k",(function(){return j})),n.d(t,"b",(function(){return B})),n.d(t,"p",(function(){return C})),n.d(t,"j",(function(){return T})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return M})),n.d(t,"a",(function(){return q})),n.d(t,"g",(function(){return H})),n.d(t,"c",(function(){return F})),n.d(t,"e",(function(){return z})),n.d(t,"r",(function(){return U}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function s(e){return o.apply(this,arguments)}function o(){return o=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function u(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function l(e){return d.apply(this,arguments)}function d(){return d=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function w(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function m(e){return f.apply(this,arguments)}function f(){return f=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function b(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function x(e){return O.apply(this,arguments)}function O(){return O=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function B(e){return R.apply(this,arguments)}function R(){return R=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function C(e){return W.apply(this,arguments)}function W(){return W=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function T(e,t,n){return N.apply(this,arguments)}function N(){return N=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return i=e.sent,e.abrupt("return",Object(a["c"])(i));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function I(e){return _.apply(this,arguments)}function _(){return _=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function M(e){return S.apply(this,arguments)}function S(){return S=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function q(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function H(e){return E.apply(this,arguments)}function E(){return E=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function F(e){return $.apply(this,arguments)}function $(){return $=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function z(e){return P.apply(this,arguments)}function P(){return P=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function U(e){return A.apply(this,arguments)}function A(){return A=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),A.apply(this,arguments)}},b3b1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/queryAllIndustry");case 2:return t=e.sent,e.abrupt("return",t.Data||[]);case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function s(e){return o.apply(this,arguments)}function o(){return o=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/renameIndustry",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}}}]);
\ No newline at end of file
diff --git a/static/js/chunk-4c803a36.c42e11ac.js b/static/js/chunk-4c803a36.7bddece5.js
similarity index 100%
rename from static/js/chunk-4c803a36.c42e11ac.js
rename to static/js/chunk-4c803a36.7bddece5.js
diff --git a/static/js/chunk-550c5be4.857ba9cb.js b/static/js/chunk-550c5be4.cfedd08d.js
similarity index 100%
rename from static/js/chunk-550c5be4.857ba9cb.js
rename to static/js/chunk-550c5be4.cfedd08d.js
diff --git a/static/js/chunk-584d398d.b1f975fd.js b/static/js/chunk-584d398d.4efa8ffb.js
similarity index 100%
rename from static/js/chunk-584d398d.b1f975fd.js
rename to static/js/chunk-584d398d.4efa8ffb.js
diff --git a/static/js/chunk-5e79f418.5d961cee.js b/static/js/chunk-5e79f418.5d961cee.js
new file mode 100644
index 00000000..d59d8c88
--- /dev/null
+++ b/static/js/chunk-5e79f418.5d961cee.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5e79f418"],{4083:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template_list"},[n("div",{staticClass:"layout_content"},[e._m(0),n("section",{staticClass:"layout_warp_4 template_grid"},[n("div",{staticClass:"card add",on:{click:e.addTemp}},[e._m(1)]),e._l(e.listTemp,(function(t){return n("div",{key:t.id,staticClass:"card",on:{click:function(n){return n.stopPropagation(),e.checkTemplateDetail(t)}}},[n("div",{staticClass:"card_inner"},[n("h3",{staticClass:"card_title"},[e._v(e._s(t.tempName))]),e._m(2,!0)])])}))],2)])])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"title_section mt-40"},[n("div",{staticClass:"EC_col_24"},[n("div",{staticClass:"adminnavBox",staticStyle:{"margin-bottom":"0"}},[n("h3",[e._v("已添加模板")])])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card_inner"},[n("i",{staticClass:"addpicImg_large"}),n("span",{staticClass:"addlebel"},[e._v("添加模板")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card_right"},[n("i",{staticClass:"Cicon icon font_family icon-gerenshezhi card_icon"})])}],u=(n("d81d"),n("96cf"),n("1da1")),c=n("b775"),i=n("3de1"),s=n("b0f9"),p={data:function(){return{companyId:sessionStorage.companyId,listTemp:[]}},filters:{},mounted:function(){this.loadlistTemp()},methods:{checkTemplateDetail:function(e){this.$router.push({name:"company_template_detail",params:{name:e.tempName,id:e.id,prevViewName:"模板与应用"}})},addTemp:function(){this.$router.push({name:"company_template_market"})},loadlistTemp:function(){var e=this;return Object(u["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(s["m"])(e.companyId);case 2:if(n=t.sent,Object(c["c"])(n),!n.Code){t.next=6;break}return t.abrupt("return");case 6:e.listTemp=(n.Data||[]).map((function(e){return Object(i["b"])(e)}));case 7:case"end":return t.stop()}}),t)})))()}}},o=p,l=(n("7747"),n("2877")),m=Object(l["a"])(o,r,a,!1,null,"75440960",null);t["default"]=m.exports},7747:function(e,t,n){"use strict";var r=n("abb0"),a=n.n(r);a.a},abb0:function(e,t,n){},b0f9:function(e,t,n){"use strict";n.d(t,"o",(function(){return u})),n.d(t,"m",(function(){return i})),n.d(t,"t",(function(){return p})),n.d(t,"d",(function(){return l})),n.d(t,"n",(function(){return d})),n.d(t,"q",(function(){return b})),n.d(t,"f",(function(){return w})),n.d(t,"s",(function(){return v})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return x})),n.d(t,"b",(function(){return _})),n.d(t,"p",(function(){return T})),n.d(t,"j",(function(){return I})),n.d(t,"h",(function(){return q})),n.d(t,"i",(function(){return E})),n.d(t,"a",(function(){return F})),n.d(t,"g",(function(){return M})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return A})),n.d(t,"r",(function(){return P}));n("96cf");var r=n("1da1"),a=n("b775");function u(){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function i(e){return s.apply(this,arguments)}function s(){return s=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}function p(e){return o.apply(this,arguments)}function o(){return o=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function l(e){return m.apply(this,arguments)}function m(){return m=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e){return f.apply(this,arguments)}function f(){return f=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function b(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function w(e){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function v(e){return j.apply(this,arguments)}function j(){return j=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function O(e){return g.apply(this,arguments)}function g(){return g=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function x(e){return R.apply(this,arguments)}function R(){return R=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function _(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function T(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function I(e,t,n){return N.apply(this,arguments)}function N(){return N=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return u=e.sent,e.abrupt("return",Object(a["c"])(u));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return B=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function E(e){return $.apply(this,arguments)}function $(){return $=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function F(e){return D.apply(this,arguments)}function D(){return D=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),D.apply(this,arguments)}function M(e){return J.apply(this,arguments)}function J(){return J=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),J.apply(this,arguments)}function S(e){return z.apply(this,arguments)}function z(){return z=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function A(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function P(e){return Q.apply(this,arguments)}function Q(){return Q=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),Q.apply(this,arguments)}}}]);
\ No newline at end of file
diff --git a/static/js/chunk-638e5b5a.5ba57e63.js b/static/js/chunk-638e5b5a.b2f51abe.js
similarity index 100%
rename from static/js/chunk-638e5b5a.5ba57e63.js
rename to static/js/chunk-638e5b5a.b2f51abe.js
diff --git a/static/js/chunk-655d6881.0f0e3dfc.js b/static/js/chunk-655d6881.0f0e3dfc.js
new file mode 100644
index 00000000..be7937ca
--- /dev/null
+++ b/static/js/chunk-655d6881.0f0e3dfc.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-655d6881"],{"0a95":function(e,t,a){},"86d3":function(e,t,a){"use strict";var i=a("0a95"),n=a.n(i);n.a},be38:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"template_market"},[a("app-header",{attrs:{theme:"basis",showBackBtn:!0,backBtnTitle:"模板与应用"},scopedSlots:e._u([{key:"center",fn:function(){return[e._v("模板市场")]},proxy:!0}])}),a("section",{staticClass:"card"},[a("div",{staticClass:"card_left"},[a("div",{staticClass:"card_search_box"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"搜索模板","prefix-icon":"Cicon icon font_family icon-icon_sousuo iconsize_mini"},model:{value:e.searchKeywords,callback:function(t){e.searchKeywords=t},expression:"searchKeywords"}})],1),a("div",{staticClass:"list"},e._l(e.templateTreeList,(function(t){return a("div",{key:t.id,staticClass:"list_item",class:{list_item_active:e.currentHeadNode===t},attrs:{title:t.label},on:{click:function(a){a.stopPropagation(),e.currentHeadNode=t}}},[e._v(e._s(t.label))])})),0)]),a("div",{staticClass:"card_right"},[e.currentHeadNode&&e.currentHeadNode?e._l(e.filterViewList(e.currentHeadNode.children),(function(t){return a("div",{key:t.id,staticClass:"block"},[a("div",{staticClass:"block_label"},[e._v(e._s(t.label))]),a("div",{staticClass:"block_item_box"},[e._l(t.children,(function(t){return a("div",{key:t.id,staticClass:"block_item"},[a("div",{staticClass:"block_item_split_line"}),a("div",{staticClass:"block_item_left",on:{click:function(a){return a.stopPropagation(),e.checkTemplateDetail(t)}}},[a("i",{staticClass:"Cicon icon font_family icon-gerenshezhi block_item_logo"})]),a("div",{staticClass:"block_item_right"},[a("div",{staticClass:"block_item_right_label",on:{click:function(a){return a.stopPropagation(),e.checkTemplateDetail(t)}}},[e._v(e._s(t.label))]),a("div",{staticClass:"block_item_right_intro",on:{click:function(a){return a.stopPropagation(),e.checkTemplateDetail(t)}}},[e._v(e._s(t.data.introduce||"暂无简介"))]),a("el-button",{staticClass:"block_item_right_button",attrs:{disabled:!!e.addedTemplateIdMap[t.id]},on:{click:function(a){return a.stopPropagation(),e.addTemplate(t)}}},[e._v(e._s(e.addedTemplateIdMap[t.id]?"已添加":"添加"))])],1)])})),e._l(Array.from({length:(3-t.children.length%3)%3},(function(e,t){return"empty_"+t})),(function(e){return a("div",{key:e,staticClass:"block_item empty"})}))],2)])})):e._e()],2)])],1)},n=[],r=(a("99af"),a("4de4"),a("4160"),a("c975"),a("13d5"),a("a434"),a("b0c0"),a("d3b7"),a("3ca3"),a("159b"),a("ddb0"),a("ade3")),c=a("3835"),s=(a("96cf"),a("1da1")),d=a("5530"),l=a("01a8"),o=a("b3b1"),u=a("b0f9"),p=a("3de1"),m=a("2827"),f={components:{appHeader:l["a"]},data:function(){return{companyId:sessionStorage.companyId,templateTreeList:[],currentHeadNode:null,addedTemplateIdMap:{},searchKeywords:""}},mounted:function(){this.loadTemplateList()},methods:{filterViewList:function(e){var t=this.searchKeywords;return t?e.reduce((function(e,a){var i=a.children.filter((function(e){return-1!==e.label.indexOf(t)}));if(i.length){var n=Object(d["a"])(Object(d["a"])({},a),{},{children:i});e.push(n)}return e}),[]):e},checkTemplateDetail:function(e){this.$router.push({name:"company_template_detail",params:{name:e.label,id:e.id,prevViewName:"模板市场"}})},loadTemplateList:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var a,i,n,r,s,d,l,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([Object(u["o"])(),Object(o["a"])(),Object(u["m"])(e.companyId)]);case 2:a=t.sent,i=Object(c["a"])(a,3),n=i[0],r=i[1],s=i[2],d=b(n.Data||[],r),l=Object(c["a"])(d,1),p=l[0],e.templateTreeList=p,e.currentHeadNode=p[0],s.Data&&(e.addedTemplateIdMap=s.Data.reduce((function(e,t){return e[t.Id]=!0,e}),{}));case 11:case"end":return t.stop()}}),t)})))()},addTemplate:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(m["a"])(t.companyId,e.id);case 2:if(i=a.sent,!i.Code){a.next=5;break}return a.abrupt("return");case 5:t.$notify({message:"添加成功",type:"success"}),t.addedTemplateIdMap=Object(d["a"])(Object(d["a"])({},t.addedTemplateIdMap),{},Object(r["a"])({},e.id,!0));case 7:case"end":return a.stop()}}),a)})))()}}};function b(e,t){var a={},i=e.reduce((function(e,t){var a=Object(p["b"])(t),i=a.detailIndustryId,n={id:a.id,label:a.tempName,parentId:i,isLeaf:!0,type:"template",data:a};return e[i]=(e[i]||[]).concat(n),e}),{}),n=t.reduce((function(e,t){var i=Object(p["b"])(t);if(i.level>2)return e;var n="0"!==i.superId&&i.superId?i.superId:null,r={id:i.id,label:i.name,parentId:n,data:i,type:"industry",children:[],isLeaf:!1};return e[0][r.id]=r,e[1].unshift(r),a[r.id]=r,n&&(e[2][n]||(e[2][n]=[]),e[2][n].push(r)),1===i.level&&e[3].push(r),e}),[{},[],{},[]]),r=Object(c["a"])(n,4),s=r[0],d=r[1],l=r[2],o=r[3];return d.forEach((function(e){var t=l[e.id];t&&(e.children=e.children.concat(t));var a=i[e.id];if(a&&(e.children=e.children.concat(a)),0===e.children.length){var n=s[e.parentId],r=n?l[n.id]:o;r.splice(r.indexOf(e),1)}})),[o,a]}var _=f,h=(a("86d3"),a("2877")),v=Object(h["a"])(_,i,n,!1,null,"7f690d34",null);t["default"]=v.exports}}]);
\ No newline at end of file
diff --git a/static/js/chunk-6a615eb9.5444617b.js b/static/js/chunk-6a615eb9.8416994b.js
similarity index 70%
rename from static/js/chunk-6a615eb9.5444617b.js
rename to static/js/chunk-6a615eb9.8416994b.js
index a695d018..9de8531d 100644
--- a/static/js/chunk-6a615eb9.5444617b.js
+++ b/static/js/chunk-6a615eb9.8416994b.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a615eb9"],{"011a":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"app"}},[s("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[s("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[s("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}])}),s("div",{staticClass:"layout_content"},[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows mt-20",attrs:{id:"new"}},[s("div",{staticClass:"yiyun-col-4 timer-part"},[s("div",{staticClass:"yiyun_row",staticStyle:{width:"95%"}},[s("timer",{attrs:{cnName:e.cnName}})],1)]),e._m(0)]),e.noProjTip?s("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[s("h1",[e._v("空空如也")])]):e._e()]),e.isUserPerm?s("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(),s("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,openPrjInfo:e.openPrjInfo,addNewFolders:e.addNewFolders},on:{watchAllBtnClick:e.watchAllBtnClick,lookProjDetailClick:e.lookProjDetailClick}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.showContinueNewProj}},[e._m(1)]),e._m(2),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close",staticStyle:{"margin-top":"15px"},on:{click:e.closeNewProj}},[e._v("关闭")])]),s("transition-group",{attrs:{css:!1},on:{"before-enter":e.beforeEnter,enter:e.enter,leave:e.leave}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isNewProj,expression:"isNewProj"}],key:0,staticClass:"bottomdialogbox bg_baise"},[s("NewProj",{attrs:{isNewProj:e.isNewProj},on:{refreshListProj:e.refreshListProj,isShowBottom:e.showzhankai,createProjSuccess:e.createProjSuccess}})],1),e.isAloneDistProj?s("div",{key:1,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("DistWork",{on:{offDialog:e.closeDistWork}})],1):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjSetting,expression:"isShowProjSetting"}],key:2,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("ProjSetting",{attrs:{isProjManager:e.isProjectManager,createUserId:e.createUserId,projId:e.currProjId,nowprj:e.nowProj,isSetFolder:e.isEditProjFolder},on:{offDialog:e.closeProjSet,editSuccess:e.projEditSuccess}})],1)])],1)},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun-col-4"},[s("div",{staticClass:"yiyun_row"},[s("div",{staticClass:"section_item fr section_item_aside_fr"})])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",{staticClass:"yiyun_zhankaibtn"},[s("i",{staticClass:"Cicon text_gray icon font_family icon-icon_zhankai",attrs:{title:"展开面板"}})])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],a=(s("caad"),s("96cf"),s("1da1")),n=s("0bb4"),o=s("f96e"),l=s("2f4c"),c=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.offDialog}},[e._v(" 关闭 ")]),e._m(0)]),s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage&&e.isShowManager,expression:"isShowThreePage == true && isShowManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],attrs:{title:e.curProjCreatePeop}},[e._v(" "+e._s(e.curProjCreatePeop)+" ")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage||1==e.isShowThreePage,expression:"isShowSecondPage == true || isShowThreePage == true"}]},[e._v("指派职员")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage,expression:"isShowThreePage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowFirstPage,expression:"isShowFirstPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid2,expression:"isShowdivid2"}],staticClass:"linescoll"}),s("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody2"}},[s("div",{class:{dialogcontentbodyrow:e.isShowFirstPage},attrs:{id:"bottomDiaChild2"}},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"line_from"},[e.isProjManager?s("div",{staticClass:"fuzeren"},[s("div",[s("span",{staticClass:"label_text",class:{notclick:!e.isAllowedAssignedManager}},[e._v("项目管理权限")])]),s("div",{staticClass:"mt-10"},[s("div",{staticClass:"fl firstPeople"},[s("div",{class:{notclick:!e.isAllowedAssignedManager}},[s("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedManager?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addProjManager()}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listManagerUser,(function(t,i){return s("li",{key:i,class:{notclick:!e.isAllowedAssignedManager}},[i<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:t.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e(),14!=i||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==e.listManagerUser.length-1&&i>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起项目负责人")])]):e._e()])})),0)])])]):e._e(),s("folder-list",{attrs:{id:e.userId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})],1)])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowPrjDesc,expression:"isShowPrjDesc"}],staticClass:"PaincenterBox"},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责:"}},[s("span",[e._v(e._s(e.nowProject.cnName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.strCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.propertyID,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"yiyunlargeItem"},[s("el-form-item",{attrs:{label:t.propName+":"}},[s("span",[e._v(e._s(t.propValue))])])],1)])}))],2)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSecondPage||e.isShowThreePage,expression:"isShowSecondPage || isShowThreePage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8 left-dept-wrap"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,i){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:i,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,r){return s("div",{key:r,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(i,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])])])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"yiyun_line set-yiyun-line"}),s("div",{staticClass:"right-selected-user-wrap"},e._l(e.listDeptComputed,(function(t){return s("div",{key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(i){return s("div",{key:i},[i==t.id?s("div",[s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(i,r){return s("div",{key:r,staticClass:"renyuanbox"},[i.deptId==t.id?s("div",{staticClass:"user_info_item",on:{click:function(t){return t.stopPropagation(),e.changeManagerClick(i)}}},[2==i.folderPerm?s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl set-crown-position",attrs:{title:"负责人"}}):e._e(),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(i.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(i.cnName))]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return t.stopPropagation(),e.removeSelectUser(i)}}})])]):e._e()])}))],2)})),0)])])])])])])])])},u=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],d=(s("4de4"),s("7db0"),s("4160"),s("a15b"),s("d81d"),s("13d5"),s("fb6a"),s("a434"),s("b0c0"),s("d3b7"),s("ac1f"),s("6062"),s("2532"),s("3ca3"),s("1276"),s("159b"),s("ddb0"),s("5530")),h=s("4f96"),f=s("3835"),p=s("2909"),m=s("93d6"),v=s("2ef0"),g=s("b775"),w=s("3de1"),_=s("a06e"),C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",e._l(e.folderList,(function(t,i){return s("div",{key:i,staticClass:"tianjiaxiezuorenBox"},[s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text",class:{notclick:!(e.isAllowedAssignedFolder(t)||e.isStaff(t))}},[s("i",{directives:[{name:"show",rawName:"v-show",value:t.listChildren&&t.listChildren.length,expression:"folder.listChildren && folder.listChildren.length"}],staticClass:"hand",class:t.expanded?"el-icon-caret-bottom":"el-icon-caret-right",on:{click:function(s){return e.toggleFolderExpand(t)}}}),e._v(" "+e._s(t.folderName)+" ")])]),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]):s("div",{staticClass:"avtarface notclick"},[s("img",{attrs:{src:"/static/img/暂无.svg",alt:"",srcset:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{"notclick noManagerText":!e.isAllowedAssignedFolder(t)}},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(i,r){return s("li",{key:r},[s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(i.headImgUrl)},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]):s("div",{staticClass:"avtarface notclick",class:{allopacity:e.isStaff(t)},attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(i.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{notclick:!e.isAllowedAssignedFolder(t),allopacity:e.isStaff(t)}},[e._v(e._s(i.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedStaffFolder(t)?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(i,r){return s("li",{key:r,class:{notclick:!(e.isAllowedAssignedStaffFolder(t)||e.isStaff(t))}},[r<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(i.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(i.cnName))])]):e._e(),14!=r||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&r==e.listUserComputed(t.listUser).length-1&&r>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})]),t.listChildren?[s("folder-list",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"folder.expanded"}],staticClass:"folder-children",attrs:{folderList:t.listChildren,id:e.id,allManager:e.allManager,allManagerChild:e.allManagerChild,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})]:e._e()],2)})),0)},j=[],P=(s("45fc"),{name:"folderList",props:{id:String,allManager:Object,allManagerChild:Array,folderList:Array,aloneAddUserForFolder:Function,aloneAddUserOnlyStaff:Function,allChildrenLists:Array},data:function(){return{showAll:!1}},methods:{showAllClick:function(){this.showAll=!0},toggleFolderExpand:function(e){e.expanded=!e.expanded,this.$forceUpdate()},isAllowedAssignedFolder:function(e){var t=this;return this.allManager.id==this.id||this.allManagerChild.length>0&&this.allManagerChild.find((function(e){return e.id==t.id}))||this.allChildrenLists.length>0&&this.allChildrenLists.includes(e)},isAllowedAssignedStaffFolder:function(e){return""!=e.manageUser&&e.manageUser[0].id==this.id||this.isAllowedAssignedFolder(e)},isStaff:function(e){var t=this;return e.listUser.some((function(e){return e.id===t.id}))}},computed:{listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}}}}),S=P,y=(s("f044"),s("2877")),b=Object(y["a"])(S,C,j,!1,null,"cc1419c4",null),k=b.exports,D={components:{FolderList:k},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",cnName:"",selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,checked:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isShowPrjDesc:!1,isSlectPal:!0,folderPerm:"1",isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,currListDeptUserData:[],userList:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[]}},created:function(){this.loadProjManager()},mounted:function(){this._getUserInfo(sessionStorage.userId),this.cnName=JSON.parse(sessionStorage.user).cnName,window.addEventListener("scroll",this.handleScroll,!0),this.fetchProjectDetail()},computed:{isAllowedAssignedManager:function(){var e=this;return this.currUser.id==this.userId||this.listManagerUser.length>0&&this.listManagerUser.find((function(t){return t.id==e.userId}))},listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 2==e.folderPerm||0==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(e){return function(e){for(var t=[],s=0;s0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id},changeManagerClick:function(e){var t=this;if(this.isShowManager){var s=this.listManagerUser.map((function(e){return e.id}))||[];!s.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限更换工作负责人。",offset:100,duration:5e3}):this.selectedUser.forEach((function(s){s.folderPerm=s.id===e.id?2:1,2===s.folderPerm&&t.InitData.manageUser.splice(0,1,s)}))}},loadProjManager:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/projects/manager/"+sessionStorage.projId+"/"+sessionStorage.userId)}).then((function(t){null!=t.data&&""!=t.data&&(e.isProjManager=t.data.isProjManager)})).catch((function(e){console.log(e)}))},handleScroll:function(){var e=document.getElementById("bottomDiaChild2");e.scrollTop&&e.scrollTop>0?this.isShowdivid2=!0:this.isShowdivid2=!1},isAllhide:function(){this.isShowPrjDesc=!1,this.isShowThreePage=!1,this.isShowSecondPage=!1},offDialog:function(){this.selectedUser=[],this.selectedManageUser=[],this.$emit("offDialog",this.$route.name)},showzhankai:function(){this.isBottomNewProj=!0},showContinueNewProj:function(){this.isBottomNewProj=!1},backFirstPage:function(){var e=this;this.listDept=JSON.parse(JSON.stringify(this.currListDeptUserData)),this.isShowManager||(this.listManagerUser=[],this.selectedUser.forEach((function(t){t.id!=e.currUser.id&&e.listManagerUser.push(t)}))),this.isAllhide(),this.isShowManager=!0,this.isShowFirstPage=!0},toFirstPage:function(){var e=this;this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var r=e.data;r.listUser=t.filter((function(t){return t.deptId===e.id})),i.push(r),e.children&&e.children.length&&s.plainTreeNodes(e.children,t,i)})),i},addProjManager:function(){var e=this;this.isShowManager=!1,this.isShowStaffList=!0;var t={listUser:[]};t.listUser=this.listManagerUser,this.setFolderPerm(t),this.selectedUser=t.listUser;var s=t.listUser.find((function(t){return t.id===e.currUser.id}));s||(this.currUser.folderPerm=2,t.listUser.push(this.currUser)),this.selectedManageUser=[],this.isShowThreePage=!0,this.isShowFirstPage=!1},handleCheckTopAll:function(e){for(var t=0;t0&&this.handleCheckItemAll(t,e)},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t&&0!==e&&0!==t},removeSelectUser:function(e){e.id!=this.currUser.id||this.isShowManager?e.id!=sessionStorage.userId||this.isShowManager?this.isAllowedDelete(e)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限移除自己。",offset:100,duration:5e3}):2==e.folderPerm?this.removeManageUser(e):(this.checkDeptUserName(!1,e),this.cancelCheck(e.id)):this.$notify({message:"不能移除自己。",offset:100,duration:5e3}):this.$notify({type:"warning",message:"没有权限删除项目创建者。",offset:100,duration:5e3})},removeManageUser:function(e){e.folderPerm=0;for(var t=0;t0&&1==this.isShowThreePage?this.isShowStaffList=!0:this.isShowStaffList=!1},goShowPrjDesc:function(){this.isShowPrjDesc=!0,this.isShowFirstPage=!1},showAllClick:function(){this.showAll=!0},openECtree:function(e){this.nodeLeaves=!0,this.opentree=!1},closeECtree:function(e){this.nodeLeaves=!1,this.opentree=!0},getChildren:function(e,t){var s=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&s.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,s){var i=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren.length>0&&i.getChildren(e.listChildren,s)}))},getfolderPerm:function(e){var t=this;e.forEach((function(e){e.listUser.forEach((function(e){e.folderPerm=1})),e.manageUser.length>0&&(e.manageUser[0].folderPerm=2,e.listUser.push(e.manageUser[0])),e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},fetchProjectDetail:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,i,r,a,n,o,l,c,u,d,h;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getUserList(),e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:sessionStorage.projId}),Object(m["e"])(e.$store.state.currentCompanyId)]);case 2:s=t.sent,i=Object(f["a"])(s,3),r=i[0],a=i[1],n=i[2],o=e.plainTreeNodes(n,r),o.forEach((function(e){e.listUser=e.listUser.sort((function(e,t){return e.cnName.localeCompare(t.cnName)}))})),e.listDept=o,e.currListDeptUserData=o,l=a.Data||{},c=l.folder,u=l.manager,console.log(c,u,r),d=r.reduce((function(e,t){return e[t.id]=t,e}),{}),e.listManagerUser=u.map((function(e){return d[e.UserId]})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.listManagerUser=e.listManagerUser.slice(1)),e.oldListManagerUser=Object(v["cloneDeep"])(e.listManagerUser),h=I(c,d),e.getfolderPerm(h),e.listNewFolder=h,e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 21:case"end":return t.stop()}}),t)})))()},getUserList:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(m["g"])({id:e.$store.state.currentCompanyId,nodeType:"company"},1,1e4);case 2:return s=t.sent,i=s.list,e.userList=i,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})))()},_getUserInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,Object(m["f"])(e);case 3:return s.sent,s.next=6,Object(m["f"])(sessionStorage.createUserID);case 6:i=s.sent,t.curProjCreatePeop=i.cnName+" 指派了新工作,请完成工作指派",1==sessionStorage.allocated&&(t.curProjCreatePeop="项目管理"),t.isProjManager=!0,s.next=15;break;case 12:s.prev=12,s.t0=s["catch"](0),console.log(s.t0);case 15:case"end":return s.stop()}}),s,null,[[0,12]])})))()},createFolders:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,i,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var r=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return r.push(e.id),e.id})).join(","):"";var a=e.listUser.filter((function(e){return!r.includes(e.id)}));t.GeneralId=e.listUser.length>0?a.map((function(e){return e.id})).join(","):"",t.OldManager=e.oldManager,t.OldGeneralId=e.oldGeneralId,s.Work.push(t),i(e.listChildren)}))},s={Id:sessionStorage.createUserID,ProjId:sessionStorage.projId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},s.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",i(e.listNewFolder),t.next=6,Object(_["a"])(s);case 6:r=t.sent,console.log(r),a=e,0===r.Code?(a.$notify({message:"工作指派完成。",type:"success",offset:100,duration:2500}),a.offDialog()):a.$notify({type:"error",message:"服务器异常,工作指派失败。",offset:100,duration:5e3});case 10:case"end":return t.stop()}}),t)})))()}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function I(e,t){var s=Object(h["a"])(e),i=s[0],r=(s[1],s.slice(2)),a=i.Id,n=[],o={};return r.forEach((function(e){var s=Object(w["b"])(e);o[s.id]=s,s.listChildren=[],s.listUser=s.oldGeneralId.split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])})),s.manageUser=("0"===s.oldManager?"":s.oldManager).split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])}));var i=s.superId;if(i!==a){var r=o[i];r&&r.listChildren.push(s)}else n.push(s)})),n}var U=D,x=(s("d5e1"),Object(y["a"])(U,c,u,!1,null,"22df4093",null)),N=x.exports,T=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"bottomdialog"},[i("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[i("span",{on:{click:e.offDialog}},[e._v("关闭")])]),i("div",{staticClass:"yiyun_dialog_center"},[i("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"backshangyicheng prev_to_1",on:{click:e.backdistNewProj}},[i("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),i("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backWorkerPal}},[i("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),i("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistWork}},[i("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),i("span",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistProjName}},[i("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),i("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[i("div",{staticClass:"EC_col_16"},[i("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}]},[e._v("新建项目")]),i("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}]},[e._v("项目概况")]),i("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}]},[e._v("工作指派")]),i("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}]},[e._v("指派职员")]),i("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}]},[e._v("指派工作负责人")])]),i("div",{staticClass:"EC_col_8"},[i("div",{staticClass:"fr mt-26"},[i("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.goprojInfo}},[e._v("下一步")]),i("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:"",disabled:e.isDisableCreate},on:{click:e.createProject}},[e._v("创建项目")])],1)]),i("div",{staticClass:"clear"}),i("div",{staticClass:"yiyun_Tbline"})])]),i("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),i("div",{staticClass:"clear"}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid,expression:"isShowdivid"}],staticClass:"linescoll"}),i("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody"}},[i("div",{ref:"diaNewproH",staticClass:"dialogcontentbodyrow",attrs:{id:"bottomDiaChild"}},[i("div",{staticClass:"centerWarpDia"},[i("div",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"PaincenterBox"},[i("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[i("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[i("div",{staticClass:"yiyunlargeItem"},[i("el-form-item",{attrs:{label:"项目名称"}},[i("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"请输入项目名称"},model:{value:e.newProjData.projectData.projName,callback:function(t){e.$set(e.newProjData.projectData,"projName",t)},expression:"newProjData.projectData.projName"}})],1)],1)]),i("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[i("div",{staticClass:"yiyunlargeItem"},[i("el-form-item",{attrs:{label:"选择工作链"}},[i("el-select",{staticClass:"bg_w",attrs:{filterable:"","no-data-text":"暂无数据",placeholder:"请选择工作链"},on:{change:e.changeSelectTemplate},model:{value:e.newProjData.projectData.templateID,callback:function(t){e.$set(e.newProjData.projectData,"templateID",t)},expression:"newProjData.projectData.templateID"}},e._l(e.templateList,(function(e){return i("el-option",{key:e.Id,attrs:{label:e.TempName,value:e.Id}})})),1)],1)],1)])])],1),i("div",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"PaincenterBox"},[i("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[i("div",{staticClass:"yiyun_col-6 fl"},[i("div",{staticClass:"yiyunlargeItem"},[i("el-form-item",{attrs:{label:"项目负责:"}},[i("span",{staticClass:"forminfocom"},[e._v(e._s(e.projectCreaterName))])])],1)]),i("div",{staticClass:"yiyun_col-6 fl"},[i("div",{staticClass:"yiyunlargeItem"},[i("el-form-item",{attrs:{label:"创建时间:"}},[i("span",{staticClass:"forminfocom"},[e._v(e._s(e.createDate))])])],1)]),e._l(e.checkNewProjData.CustomProps,(function(t){return i("div",{key:t.Id,staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[i("div",{staticClass:"yiyunlargeItem"},[i("el-form-item",{attrs:{label:t.PropertyName}},[i("el-input",{key:t.Id,staticClass:"labelinputbefore",attrs:{placeholder:"输入"},on:{input:e.userDefineInput},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}})],1)],1)])})),i("div",{staticClass:"clear"}),i("div",{staticClass:"yiyun_col-12img fl mt-10"},[i("div",{staticClass:"clear"}),i("div",{staticClass:"yiyun_col-6"},[i("div",{staticClass:"pageImgBox"},[i("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),i("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[i("span",[e._v("编辑")])]),i("span",{staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])]),i("div",{staticClass:"clear"}),i("el-form-item",[i("div",{staticClass:"tianjiaxiezuoren",staticStyle:{display:"none"}},[i("h5",[e._v("添加协作人")]),i("div",[i("div",{staticClass:"touxiang_hezuorenBox"},[i("div",{staticClass:"touxiang_hezuorenBox-item"},[i("img",{attrs:{src:s("03aa"),alt:""}})])]),i("i",{staticClass:"yiyun_icon_large icon_topnav_large_add",attrs:{title:"添加合作人"}})])])])],2)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"PaincenterBox"},[i("div",{staticClass:"xiezuobox"},[i("div",{staticClass:"fuzeren"},[e._m(0),i("div",{staticClass:"mt-10"},[i("div",{staticClass:"fl firstPeople"},[i("div",[i("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[i("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),i("div",{staticClass:"fl vhLine mlr-20"}),i("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addManager()}}},[i("i",{staticClass:"el-icon-plus middleaddEC"})]),i("div",{staticClass:"fl chengyuanbox"},[i("ul",{staticClass:"ECworkerList"},e._l(e.newProjData.projectData.listProjManager,(function(t,s){return i("li",{key:s},[s<14||e.showAll?i("div",[i("div",{staticClass:"avtarface",attrs:{title:t.userName}},[i("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e()])})),0)])])]),e._l(e.newProjData.listFolder,(function(t,s){return i("div",{key:s},[i("div",{staticClass:"EC_Tree"},[e.tempIndex!=s||0==s?i("div",[i("em",{staticClass:"ec_number label_text"},[e._v(e._s(t.folderIndex))]),1==e.showTitle||e.tempIndex!=s?i("div",[i("span",{staticClass:"label_text"},[e._v(e._s(t.folderName))]),0==t.default?i("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle(s)}}},[e._v("编辑")]):e._e()],1):e._e()]):e._e(),2==e.showTitle&&e.tempIndex==s?i("div",{staticClass:"self_newitem"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":" label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),i("div",{staticClass:"selfoptiongroup"},[0==t.default?i("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?i("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),i("div",{staticClass:"mt-10"},[i("div",{staticClass:"fl firstPeople"},[""==t.manageUser?i("div",[i("div",{staticClass:"avtarface",on:{click:function(t){return e.addUserPal(s)}}},[i("i",{staticClass:"large_huangguan el-icon-plus"})]),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(t,r){return i("li",{key:r},[i("div",[i("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[i("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),i("div",{staticClass:"eiditIconimgBox",on:{click:function(t){return e.addUserPal(s)}}},[i("i",{staticClass:"icon font_family icon-icon_bianji1 eiditIconimg"})])]),i("span",{staticClass:"Text_tiny tinyText_wirte",attrs:{title:t.cnName}},[e._v(e._s(t.cnName))])])])}))],2),i("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?i("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(t){return e.addUser(s)}}},[i("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),i("div",{staticClass:"fl chengyuanbox"},[i("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(s,r){return i("li",{key:r},[r<14||e.showAll?i("div",[i("div",{staticClass:"avtarface",attrs:{title:s.cnName}},[i("img",{attrs:{src:e._f("resolveAvator")(s.headImgUrl)}})]),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(s.cnName))])]):e._e(),14!=r||e.showAll?e._e():i("div",{on:{click:e.showAllClick}},[i("span",{staticClass:"zhangkai_down"}),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&r==t.listUser.length-1&&r>14?i("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[i("span",{staticClass:"zhangkai_up"}),i("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)])]),i("div",{staticClass:"clear"})])})),i("div",{staticClass:"line_from",staticStyle:{display:"none"}},[i("div",e._l(e.newProjData.listFolder,(function(t,s){return i("div",{key:s,staticClass:"tianjiaxiezuorenBox"},[i("div",{staticStyle:{height:"50px"}},[1==e.showTitle?i("div",[i("h5",{staticClass:"fl label_text"},[e._v(e._s(t.folderName))]),0==t.default?i("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle()}}},[e._v("编辑")]):e._e()],1):e._e(),2==e.showTitle?i("div",{staticClass:"self_newitem"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),i("div",{staticClass:"selfoptiongroup"},[0==t.default?i("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?i("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),i("div",{staticClass:"self_newitem"},[i("div",{staticClass:"touxiang_hezuorenBox fl"},e._l(t.listUser,(function(t,r){return i("div",{key:r,staticClass:"yonghutouxiangBox"},[i("div",{staticClass:"touxiang_hezuorenBox-item"},[i("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),i("i",{staticClass:"icon_delete el-icon-delete",attrs:{title:"删除"},on:{click:function(t){return e.deleteNewProjUser(s,r)}}})]),i("span",[e._v(e._s(t.cnName))])])})),0),i("i",{staticClass:"yiyun_icon_large icon_topnav_large_add add_worker_xiezuo",attrs:{title:"添加合作人"},on:{click:function(t){return e.addUser(s)}}})])])})),0)])],2)]),i("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"PaincenterBox"},[i("div",{staticClass:"xiezuobox"},[i("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[i("div",{staticClass:"row_painfl"},[i("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[i("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[i("template",{slot:"title"},[i("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return i("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:s,attrs:{accordion:""}},[i("el-collapse-item",[i("template",{slot:"title"},[i("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,r){return i("div",{key:r,staticClass:"user_info_item",attrs:{label:t}},[i("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(i){return e.handleCheckedOnlyOne(s,t,i)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[i("div",{staticClass:"checkboxlabelitem"},[i("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),i("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),i("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[i("ul",{staticClass:"popover_ul popover_ul"},[i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),i("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),i("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),i("div",{staticClass:"shuxian"}),i("div",{staticClass:"yiyun_col-6"},[i("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),i("div",{staticClass:"row_painfr"},[i("div",{staticClass:"yiyun_line"}),i("span",[e._v("工作负责人")]),i("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?i("div",{staticClass:"main_workerBox"},[i("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),i("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.selectedUser.length?i("div",e._l(e.selectedUser,(function(t,s){return i("div",{key:s,staticClass:"user_info_item mainpeople_H"},[i("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),i("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),i("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),i("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[i("ul",{staticClass:"popover_ul popover_ul"},[i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),i("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),i("span",{staticClass:"user_info_role"},[i("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),i("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])])])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"PaincenterBox"},[i("div",{staticClass:"xiezuobox"},[i("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[i("div",{staticClass:"row_painfl"},[i("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[i("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[i("template",{slot:"title"},[i("span",{staticClass:"quanxuanbtn"},[i("el-checkbox",{staticClass:"checkBoxCol",on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")])],1),i("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return i("el-collapse",{directives:[{name:"show",rawName:"v-show",value:e.listDept.length>0,expression:"listDept.length > 0"}],key:s,attrs:{accordion:""}},[i("el-collapse-item",[i("template",{slot:"title"},[i("span",{staticClass:"quanxuanbtn"},[i("el-checkbox",{key:s,staticClass:"checkBoxCol",on:{change:function(t){return e.handleCheckItemAll(s,t)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"dept.disabled"}},[e._v("全选")])],1),i("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,r){return i("div",{key:r,staticClass:"user_info_item",attrs:{label:t}},[i("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(i){return e.handleCheckedOne(s,t,i)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"user.disabled"}},[i("div",{staticClass:"checkboxlabelitem"},[i("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),i("span",{staticClass:"user_info_name"},[e._v(e._s(t.userName))]),i("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[i("ul",{staticClass:"popover_ul popover_ul"},[i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),i("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),i("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),i("div",{staticClass:"shuxian"}),i("div",{staticClass:"yiyun_col-6"},[i("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),e.isShowManager?i("div",{staticClass:"row_painfr"},[i("div",{staticClass:"yiyun_line"}),i("span",[e._v("工作负责人")]),i("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?i("div",{staticClass:"main_workerBox"},[i("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),i("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?i("div",e._l(e.selectedUser,(function(t,s){return i("div",{key:s,staticClass:"user_info_item mainpeople_H"},[i("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),i("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),i("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),i("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[i("ul",{staticClass:"popover_ul popover_ul"},[i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),i("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),i("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("修改")])],1)})),0):e._e(),i("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])]):e._e(),e.isShowFirstPeople?i("div",e._l(e.listDept,(function(t){return i("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(s){return i("div",{key:s},[s==t.id?i("div",[i("div",{staticClass:"yiyun_line"}),i("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(s,r){return i("div",{key:r,staticClass:"renyuanbox"},[s.deptId==t.id?i("div",{staticClass:"user_info_item"},[i("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(s.headImgUrl),alt:""}}),i("span",{staticClass:"user_info_name"},[e._v(e._s(s.userName))]),i("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[i("ul",{staticClass:"popover_ul popover_ul"},[i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.roleName))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.phone))])]),i("li",[i("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(s.projCount)+"个")])])]),i("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(s.position))])]),i("span",{staticClass:"user_info_role"},[[i("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:s.folderPerm,callback:function(t){e.$set(s,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return i("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[i("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),i("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],i("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(s)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},A=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"label_text"},[e._v("项目管理权限")])])}],F=s("b0f9"),B=s("5ab9"),M=s("9e5b"),O={props:{isNewProj:{type:Boolean,default:!1}},data:function(){var e=this.$store.state.userInfo;return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",isShowdivid:!1,filePicker:"uploadCover",uploadLabel:"编辑封面",srcIndex:2,coverSrc:"static/img/faceImg/face01.png",cnName:"",listDept:[],selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,SelectTemplateNodeList:{},selectTemlateData:"",selectTemlateID:"",diaBodyheight:!1,checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},activeName:"1",NewProductDailog:!0,ProjInfoDialog:!1,showAll:!1,marchWorkDialog:!1,marchWorkerDialog:!1,marchWorkerPalDialog:!1,isDisableCreate:!1,nodeLeaves:!1,isShowFirstPeople:!1,opentree:!0,currWorkName:"",uploadCoverTimes:0,arryUnUseCover:[],uploadCompId:sessionStorage.companyId,uploadTypeCover:2,ischeckAll:!1,newProjFolderIndex:1,projectCreaterName:e.cnName,createDate:(new Date).toLocaleDateString(),listNewFolder:[],listMyPermFolders:[],isSlectPal:!0,roles:[{value:1,label:"编辑和查看",description:""},{value:0,label:"仅查看",description:""}],folderPerm:"1",nowFolderIndex:"",tempIndex:0,currSelectData:[],currUser:e,isShowManager:!0,templateList:[]}},watch:{isNewProj:function(e){0==e&&this.reSetDialog()},marchWorkerPalDialog:function(){}},components:{FileUploader:M["a"]},created:function(){},mounted:function(){this.listDeptUsers(),this.getSelectTemplateData(),window.addEventListener("scroll",this.handleScroll,!0)},computed:{listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){var e=this;return function(t){return t.filter((function(t){return e.isShowManager?2!=t.folderPerm:t.userID!=e.currUser.userID}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0?this.isShowdivid=!0:this.isShowdivid=!1},showzhankai:function(){this.$emit("isShowBottom",!0)},offDialog:function(){var e=this,t=this;this.$confirm("放弃“新建项目”您编辑的内容被清空。是否放弃?","",{confirmButtonText:"放弃",cancelButtonText:"取消",showClose:!1,type:"error",beforeClose:function(e,s,i){"confirm"==e&&(t.isDisableCreate=!1,t.SelectTemplateNodeList=[],t.selectedUser=[],t.selectedManageUser=[],t.marchWorkDialog=!1,t.marchWorkerDialog=!1,t.marchWorkerPalDialog=!1,t.ProjInfoDialog=!1,t.NewProductDailog=!0,t.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},t.$emit("refreshListProj",!1)),s.doClose()}}).then((function(){e.isDisableCreate=!1,e.newProjData.projectData={},e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}})).catch((function(e){}))},reSetDialog:function(){var e=this;e.isDisableCreate=!1,e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},e.checkNewProjData={Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},e.$emit("refreshListProj",!1)},godistWork:function(){this.isAllhide()},isAllhide:function(){this.NewProductDailog=!1,this.ProjInfoDialog=!1,this.marchWorkDialog=!1,this.marchWorkerDialog=!1,this.marchWorkerPalDialog=!1},backdistProjName:function(){this.isAllhide(),this.NewProductDailog=!0},backdistNewProj:function(){this.isAllhide(),this.ProjInfoDialog=!0},backdistWork:function(){var e=this;1==this.marchWorkerPalDialog?this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){e.newProjData.listFolder[e.nowFolderIndex]=e.currSelectData,e.cancelCheck(),e.isAllhide(),e.marchWorkDialog=!0})):(this.cancelCheck(),this.isAllhide(),this.marchWorkDialog=!0)},backWorkerPal:function(){this.isAllhide(),this.marchWorkerPalDialog=!0},addUserPal:function(e){this.currSelectData=JSON.parse(JSON.stringify(this.newProjData.listFolder[parseInt(e)])),this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.nowFolderIndex=parseInt(e),this.isAllhide(),this.marchWorkerPalDialog=!0,this.isShowFirstPeople=!1,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addUser:function(e){this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!0,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addManager:function(){var e=this;this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!1,E(this.$store.state.currentCompanyId).then((function(t){e.listDept=t,e.listDept=Object(p["a"])(e.listDept),console.log("1111111111111111111111111",e.listDept)})).catch((function(e){console.log(e)})),this.selectedUser=this.newProjData.projectData.listProjManager},deleteNewProjUser:function(e,t){this.newProjData.listFolder[e].listUser.splice(t,1)},deleteDistWorkUser:function(e,t){this.listNewFolder[e].listUser.splice(t,1)},eidtTitle:function(e){this.tempIndex=e,this.showTitle=2},saveTitle:function(e){this.tempIndex=0,this.showTitle=1},deleCustomFolder:function(e){this.newProjData.listFolder.splice(e,1)},addProjFolderWork:function(){this.eidtTitle(this.newProjData.listFolder.length),this.newfolder={folderName:"自定义工作"+this.newProjFolderIndex,default:!1,deleted:0,listUser:[],manageUser:[]},this.newProjData.listFolder.push(this.newfolder),this.newProjFolderIndex=this.newProjFolderIndex+1},setDistManagerUser:function(){var e=this;this.selectedManageUser.splice(0,this.selectedManageUser.length),this.selectedUser.forEach((function(t){2==t.folderPerm&&e.selectedManageUser.push(t)}))},handleCheckTopAll:function(e){for(var t=0;t0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s]["selected"]&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0)for(var s=0;s0&&1==this.marchWorkerDialog?this.isShowFirstPeople=!0:this.isShowFirstPeople=!1},changeSelectTemplate:function(e){this.selectTemlateID=e;for(var t=0;t35?this.$notify({message:"项目名称不得超出35个字符。",type:"warning",offset:100,duration:2500}):void 0!=this.newProjData.projectData.templateID&&null!=this.newProjData.projectData.templateID&&""!=this.newProjData.projectData.templateID?(F["m"](this.selectTemlateID).then((function(t){t.Data.propertys.forEach((function(t,s){e.checkNewProjData.CustomProps[s]={},e.checkNewProjData.CustomProps[s]["TempPropId"]=t.Id,e.checkNewProjData.CustomProps[s]["PropertyName"]=t.PropertyName,e.checkNewProjData.CustomProps[s]["PropValue"]="";var i=e.checkNewProjData.CustomProps;e.checkNewProjData.CustomProps=Object(p["a"])(i)})),e.checkNewProjData=Object(p["a"])(e.checkNewProjData)})),this.isAllhide(),this.setSystemCoverRandom(),this.ProjInfoDialog=!0):this.$notify({message:"请选择工作链。",type:"warning",offset:100,duration:2500})}else this.$notify({message:"请输入项目名称。",type:"warning",offset:100,duration:2500})},listFolders:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/folders/allot/"+sessionStorage.userId+"/"+sessionStorage.projId)}).then((function(t){e.listMyPermFolders=t.data})).catch((function(e){console.log(e)}))}},destroyed:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function E(e){return L.apply(this,arguments)}function L(){return L=Object(a["a"])(regeneratorRuntime.mark((function e(t){var s,i,r,a,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(m["d"])(t),Object(m["g"])({id:t,nodeType:"company"},1,1e4)]);case 2:return s=e.sent,i=Object(f["a"])(s,2),r=i[0],a=i[1].list,n=r[0].children||[],o=W(n,a),e.abrupt("return",o.filter((function(e){return e.listUser&&e.listUser.length})));case 9:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function W(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var i=e.data;i.listUser=t.filter((function(t){return t.deptId===e.id})),s.push(i),e.children&&e.children.length&&W(e.children,t,s)})),s}var $=O,R=Object(y["a"])($,T,A,!1,null,null,null),z=R.exports,H=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toSecondPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers&&e.isShowProjInfo,expression:"isShowSetUsers && isShowProjInfo"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}]},[e._v("项目编辑")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}]},[e._v("指派职员")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}]},[e._v("指派工作负责人")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetManager,expression:"isShowSetManager == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.toThreePage}},[e._v("分配职员")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetUsers,expression:"isShowSetUsers == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("完成或跳过")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetFolder,expression:"isShowSetFolder == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowEditProjBtn,expression:"isShowEditProjBtn"}],staticClass:"fr width_120 edit120",attrs:{type:"primary",round:""},on:{click:e.EidtProjectInfo}},[e._v("编辑项目概况")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.saveProjectInfo}},[e._v("保存")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{staticClass:"dialogcontentbody"},[s("div",{staticClass:"dialogcontentbodyrow"},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"line_from"},[s("div",[e._l(e.listNewFolder,(function(t,i){return s("div",{key:i,staticClass:"tianjiaxiezuorenBox"},[1==e.showTitle?s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text"},[e._v(" "+e._s(t.folderName)+" ")]),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{on:{click:e.eidtTitle}},[e._v("编辑")]):e._e()],1)]):e._e(),2==e.showTitle?s("div",{staticClass:"self_newitem"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{attrs:{type:"primary"},on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?s("el-button",{on:{click:function(t){return e.deleTitle(i)}}},[e._v("删除")]):e._e()],1)]):e._e(),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(e.listManagerComputed(t.manageUser),(function(i,r){return s("li",{key:r},[s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+i.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(i.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(i,r){return s("li",{key:r},[r<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+i.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(i.cnName))])]):e._e(),14!=r||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&r==t.listUser.length-1&&r>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})])])})),e._m(0)],2)])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox ",staticStyle:{"margin-left":"4px"}},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"110px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责人:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateUserName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:t.PropertyName+":"}},[e.isShowInfoEdit?s("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"输入"},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}}):e._e(),e.isShowInfoEdit?e._e():s("span",[e._v(e._s(t.PropValue))])],1)],1)])})),s("div",{staticClass:"yiyun_col-12 fl mt-10"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_col-6"},[s("div",{staticClass:"pageImgBox"},[s("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),s("file-uploader",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[s("span",[e._v("编辑")])]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])])],2),s("div",{staticClass:"clear"})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,i){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:i,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,r){return s("div",{key:r,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOnlyOne(i,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,i){return s("div",{key:i,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])])])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("el-checkbox",{staticClass:"checkxiezuoren",staticStyle:{color:"white"},on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")]),s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])],1),e._l(e.listDept,(function(t,i){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:i,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("el-checkbox",{key:i,staticClass:" checkxiezuoren",staticStyle:{color:"white"},on:{change:function(t){return e.handleCheckItemAll(i,t)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"dept.selected"}},[e._v("全选")]),s("span",{staticClass:" checkBoxCol"},[e._v(e._s(t.deptName)+" ")])],1),e._l(e.listUserStaff(t.listUser),(function(t,r){return s("div",{key:r,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(i,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,i){return s("div",{key:i,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("编辑")])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])]),e.isShowStaffList?s("div",e._l(e.listDept,(function(t){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.deptID,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(i){return s("div",{key:i},[i==t.deptID?s("div",[s("div",{staticClass:"yiyun_line"}),s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.listUserComputed(e.selectedUser),(function(i,r){return s("div",{key:r,staticClass:"renyuanbox"},[i.deptID==t.deptID?s("div",{staticClass:"user_info_item"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(i.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(i.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(i.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(i.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(i.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(i.position))])]),s("span",{staticClass:"user_info_role"},[[s("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:i.folderPerm,callback:function(t){e.$set(i,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return s("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[s("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),s("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(i)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},J=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"fl label_text"},[e._v("自定义工作")]),s("span",{staticClass:"fr mt-10"},[s("i",{staticClass:"yiyunPlusmini"})])])}],q=s("5a0c"),V=s.n(q),Z={components:{FileUploader:M["a"]},props:{isProjManager:{type:Boolean,default:!1},isSetFolder:{type:Boolean,default:!1},projId:{type:String,default:""},createUserId:{type:String,default:""}},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",uploadCompId:sessionStorage.companyId,coverSrc:"static/img/faceImg/face01.png",uploadTypeCover:2,filePicker:"projFilePicker",srcIndex:2,selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isSlectPal:!0,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",initData:[],listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],isShowSetFolder:!1,isShowSetManager:!1,isShowSetUsers:!1,isShowProjInfo:!0,isShowInfoEdit:!1,isShowEditProjBtn:!1,isShowSaveAllBtn:!1,currWorkName:"",currentProjId:"",currSelectData:[]}},mounted:function(){},computed:{listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0&&1==this.isShowSetUsers?this.isShowStaffList=!0:this.isShowStaffList=!1},showAllClick:function(){this.showAll=!0},listProjFolder:function(){},projInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["c"](e);case 2:i=s.sent,t.nowProject=i.Data,t.nowProject.ProjCreateTime=V()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(d["a"])({},t.nowProject),t.listProjProp=i.Data.CustomProps,t.listProjProp=Object(p["a"])(t.listProjProp),t.coverSrc=i.Data.ShowImgUrl;case 9:case"end":return s.stop()}}),s)})))()},listDeptUsers:function(){var e=sessionStorage.companyId,t=this;this.$axios({method:"get",url:encodeURI("/api/sysinfo/deptusers/"+e)}).then((function(e){t.listDept=e.data.data})).catch((function(e){console.log(e)}))},saveProject:function(){var e=this;this.$axios({method:"put",url:encodeURI("/api/projects"),data:{projectData:this.nowProject,listFolder:this.listNewFolder,listProjProp:this.listProjProp,userId:sessionStorage.userId}}).then((function(t){1===t.data.state?(e.$notify({message:t.data.message,type:"success",offset:30,duration:2500}),e.offDialog()):e.$notify({message:t.data.message,type:"error",offset:30,duration:5e3})})).catch((function(e){console.log(e)}))},coverUploadSuccess:function(e){var t=Object(B["c"])(e.ossUrl);this.coverSrc=t,this.nowProject.ShowImgUrl=t},setSystemCover:function(){this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.showImgUrl=this.srcIndex,this.srcIndex<9?this.srcIndex=this.srcIndex+1:this.srcIndex=1},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,10===this.srcIndex?this.coverSrc="static/img/faceImg/face"+this.srcIndex+".png":this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.ShowImgUrl=this.coverSrc}},watch:{isProjManager:function(e){this.isShowEditProjBtn=e},isSetFolder:function(e){this.isShowSetFolder=e,this.isShowProjInfo=!e,this.isShowEditProjBtn=!e,e&&(this.isShowSaveAllBtn=!1)},projId:function(e){this.currentProjId=e,this.projInfo(e)}}},Y=Z,G=Object(y["a"])(Y,H,J,!1,null,null,null),X=G.exports,Q=s("0f13"),K=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.cnName?s("div",[s("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),s("div",{staticClass:"now-time"},[s("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},ee=[],te={props:["cnName"],data:function(){return{nowTime:"",nowDate:"",welcome:"",timer:null}},methods:{setDateTime:function(){this.nowDate=n["a"].getDate(),this.createDate=this.nowDate,this.nowTime=n["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}},se=te,ie=(s("9d0d"),s("63b7"),Object(y["a"])(se,K,ee,!1,null,"0481b847",null)),re=ie.exports,ae=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows",attrs:{id:"alone"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[s("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),s("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),s("div",{staticClass:"prjitemList"},[s("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,i){return s("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:12,lg:8,xl:6}},[s("proj-item",{attrs:{projItem:t},on:{lookProjDetailClick:function(s){return e.lookProjDetailClick(t)},watchAllBtnClick:function(s){return e.watchAllBtnClick(t,i)}}})],1)})),1)],1)])])])},ne=[],oe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"prjitem"},[s("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?s("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),s("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)))]),s("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]),s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目管理")])])])])},le=[],ce={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"],s=t(e);return{background:"center/cover no-repeat url(".concat(s,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var s=e.slice(0,7),i=e.slice(t-6,t);return s+"..."+i}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(g["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},ue=ce,de=(s("6654"),s("7df1"),Object(y["a"])(ue,oe,le,!1,null,"2b5d1f78",null)),he=de.exports,fe={data:function(){return{isEmpty:!1}},components:{ProjItem:he},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 s=e.slice(0,7),i=e.slice(t-6,t);return s+"..."+i}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},pe=fe,me=(s("01a6"),Object(y["a"])(pe,ae,ne,!1,null,"22c87fa3",null)),ve=me.exports,ge=(window.BMap,window.Velocity),we={elNew:"#new",components:{SearchBar:l["a"],DistWork:N,NewProj:z,ProjSetting:X,Timer:re,AppHeader:o["a"],ProjList:ve},data:function(){var e=this.$store.state.currentPlatform;return{currentPlatform:e,isUserPerm:Object(Q["c"])(e.accessList,Q["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(v["debounce"])(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,s;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,_["e"](this.searchContent);case 8:s=e.sent,0==s.Code?this.searchProjList=s.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 s=["341999987607363584","341984912360235008","342002217261621248"];console.log(e),t%2==0||s.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(a["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["d"](t.$store.state.accountId);case 2:i=s.sent,t.projList=i.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 s.stop()}}),s)})))()},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()},showNewProj:function(){this.isNewProj=!0},beforeEnter:function(e){e.style.opacity=0},enter:function(e,t){ge(e,{opacity:1,bottom:"0px"},{duration:500,complete:t})},leave:function(e,t){ge(e,{bottom:"-740px",opacity:"0"},{duration:500,complete:t})},showOption:function(){this.$emit("showOption",!0)},showHelp:function(){this.$emit("showHelp",!0)},showContinueNewProj:function(){this.isNewProj=!0,this.isBottomNewProj=!1},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=we,Ce=(s("c95a"),s("d614"),s("ec82"),Object(y["a"])(_e,i,r,!1,null,"5c9fe164",null));t["default"]=Ce.exports},"01a6":function(e,t,s){"use strict";var i=s("391a"),r=s.n(i);r.a},"01a8":function(e,t,s){"use strict";var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("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?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),s("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)}}},[s("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:""}}),s("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?s("div",{staticClass:"app-header-top"}):e._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[s("div",{staticClass:"app-header-content-left"},[e._t("left",[s("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()}}}),s("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),s("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?s("span",{on:{click:e.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?s("user-center"):e._e()],2)])])},r=[],a=s("1392"),n=s("1d40"),o={components:{UserCenter:a["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:n["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(){n["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){n["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)}},l=o,c=(s("8fc1"),s("2877")),u=Object(c["a"])(l,i,r,!1,null,"06f5aedd",null);t["a"]=u.exports},"03aa":function(e,t,s){e.exports=s.p+"static/img/user_Img001.82ca55ca.png"},"0bb4":function(e,t,s){"use strict";s("fb6a"),s("4d63"),s("ac1f"),s("25f0"),s("466d"),s("5319"),s("841c");t["a"]={getDateTimeString:function(e){var t=e.getFullYear(),s=e.getMonth()+1;s=s<10?"0"+s:s;var i=e.getDate();i=i<10?"0"+i:i;var r=e.getHours();r=r<10?"0"+r:r;var a=e.getMinutes();a=a<10?"0"+a:a;var n=e.getSeconds();n=n<10?"0"+n:n;var o=t+"-"+s+"-"+i+" "+r+":"+a+":"+n;return o},getDateTimeStringByStr:function(e){var t=new Date(e),s=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var r=t.getDate();r=r<10?"0"+r:r;var a=t.getHours();a=a<10?"0"+a:a;var n=t.getMinutes();n=n<10?"0"+n:n;var o=t.getSeconds();o=o<10?"0"+o:o;var l=s+"-"+i+"-"+r+" "+a+":"+n+":"+o;return l},formatDate:function(e){var t=e.getFullYear(),s=e.getMonth()+1,i=e.getDate();s=s<10?"0"+s:s,i=i<10?"0"+i:i;var r=t+"-"+s+"-"+i;return r},convertToDate:function(e){var t=e.slice(6,19),s=new Date(parseInt(t));return this.formatDate(s)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var s=parseInt(e),i=new Date(s),r="";r+=i.getFullYear()+"-";var a=i.getMonth()+1;r+=a<10?"0"+a+"-":a+"-";var n=i.getDate();return r+=n<10?"0"+n:n,!0===t&&(r+=" "+i.getHours()+":",r+=i.getMinutes()+":",r+=i.getSeconds()),r},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),s=window.location.search.substr(1).match(t);return null!=s?s[2]:null},validNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):t?s():s(new Error("这里不能为空"))},validNullOrNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):s()},validNullOrNumber2:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error(" ")):s()},validDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):t?s():s(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):s()},validNullOrDecimal2:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error(" ")):s()},validRequired:function(e,t,s){t?s():s(new Error("这里不能为空"))},validEmail:function(e,t,s){if(""!=t){var i=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;i.test(t)?s():s(new Error("邮箱格式不正确!"))}else s()},validPhoneNum:function(e,t,s){if(""!=t){var i=/(^\d{11}$)/;i.test(t)?s():s(new Error("请输入11位有效手机号码!"))}else s(new Error("请输入手机号"))},validVerificationCode:function(e,t,s){if(""!=t){var i=/(^\d{6}$)/;i.test(t)?s():s(new Error("请输入有效的验证码!"))}else s(new Error("请输入验证码"))},validPhone:function(e,t,s){""!=t&&11!=t.length?s(new Error("请输入11位有效手机号码!")):s()},validPhoneAndRequired:function(e,t,s){""!=t?11!=t.length?s(new Error("请输入11位有效手机号码!")):s():s(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,s){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var i=(t-1)*e,r=i+e;r>s.length&&(r=s.length);var a=[];if(null!=s&&s.length>0)for(var n=i;n1?arguments[1]:void 0)}})},2909:function(e,t,s){"use strict";s.d(t,"a",(function(){return l}));var i=s("6b75");function r(e){if(Array.isArray(e))return Object(i["a"])(e)}var a=s("db90"),n=s("06c5");function o(){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 l(e){return r(e)||Object(a["a"])(e)||Object(n["a"])(e)||o()}},"2f4c":function(e,t,s){"use strict";var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"search-bar",class:{"show-search-bar":e.isShowSearchBar}},[s("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)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!e.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),s("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:""}})]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[s("i",{staticClass:"search-icon",on:{click:function(t){return t.stopPropagation(),e.goToSearch(t)}}}),s("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)}}}),s("i",{staticClass:"close-icon",on:{click:function(t){return t.stopPropagation(),e.hideSearchBar(t)}}})])])},r=[],a={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")}}},n=a,o=(s("76ae"),s("2877")),l=Object(o["a"])(n,i,r,!1,null,"df8317c6",null);t["a"]=l.exports},"391a":function(e,t,s){},"45fc":function(e,t,s){"use strict";var i=s("23e7"),r=s("b727").some,a=s("a640"),n=s("ae40"),o=a("some"),l=n("some");i({target:"Array",proto:!0,forced:!o||!l},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,s){"use strict";var i=s("d784"),r=s("825a"),a=s("50c4"),n=s("1d80"),o=s("8aa5"),l=s("14c3");i("match",1,(function(e,t,s){return[function(t){var s=n(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,s):new RegExp(t)[e](String(s))},function(e){var i=s(t,e,this);if(i.done)return i.value;var n=r(e),c=String(this);if(!n.global)return l(n,c);var u=n.unicode;n.lastIndex=0;var d,h=[],f=0;while(null!==(d=l(n,c))){var p=String(d[0]);h[f]=p,""===p&&(n.lastIndex=o(c,a(n.lastIndex),u)),f++}return 0===f?null:h}]}))},"4d63":function(e,t,s){var i=s("83ab"),r=s("da84"),a=s("94ca"),n=s("7156"),o=s("9bf2").f,l=s("241c").f,c=s("44e7"),u=s("ad6d"),d=s("9f7f"),h=s("6eeb"),f=s("d039"),p=s("69f3").set,m=s("2626"),v=s("b622"),g=v("match"),w=r.RegExp,_=w.prototype,C=/a/g,j=/a/g,P=new w(C)!==C,S=d.UNSUPPORTED_Y,y=i&&a("RegExp",!P||S||f((function(){return j[g]=!1,w(C)!=C||w(j)==j||"/a/i"!=w(C,"i")})));if(y){var b=function(e,t){var s,i=this instanceof b,r=c(e),a=void 0===t;if(!i&&r&&e.constructor===b&&a)return e;P?r&&!a&&(e=e.source):e instanceof b&&(a&&(t=u.call(e)),e=e.source),S&&(s=!!t&&t.indexOf("y")>-1,s&&(t=t.replace(/y/g,"")));var o=n(P?new w(e,t):w(e,t),i?this:_,b);return S&&s&&p(o,{sticky:s}),o},k=function(e){e in b||o(b,e,{configurable:!0,get:function(){return w[e]},set:function(t){w[e]=t}})},D=l(w),I=0;while(D.length>I)k(D[I++]);_.constructor=b,b.prototype=_,h(r,"RegExp",b)}m("RegExp")},"4f96":function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));var i=s("0d21"),r=s("db90"),a=s("06c5"),n=s("3d8c");function o(e){return Object(i["a"])(e)||Object(r["a"])(e)||Object(a["a"])(e)||Object(n["a"])()}},5122:function(e,t,s){},"5a34":function(e,t,s){var i=s("44e7");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},6062:function(e,t,s){"use strict";var i=s("6d61"),r=s("6566");e.exports=i("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},"63b7":function(e,t,s){"use strict";var i=s("fabf"),r=s.n(i);r.a},6566:function(e,t,s){"use strict";var i=s("9bf2").f,r=s("7c73"),a=s("e2cc"),n=s("0366"),o=s("19aa"),l=s("2266"),c=s("7dd0"),u=s("2626"),d=s("83ab"),h=s("f183").fastKey,f=s("69f3"),p=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,s,c){var u=e((function(e,i){o(e,u,t),p(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=i&&l(i,e[c],e,s)})),f=m(t),v=function(e,t,s){var i,r,a=f(e),n=g(e,t);return n?n.value=s:(a.last=n={index:r=h(t,!0),key:t,value:s,previous:i=a.last,next:void 0,removed:!1},a.first||(a.first=n),i&&(i.next=n),d?a.size++:e.size++,"F"!==r&&(a.index[r]=n)),e},g=function(e,t){var s,i=f(e),r=h(t);if("F"!==r)return i.index[r];for(s=i.first;s;s=s.next)if(s.key==t)return s};return a(u.prototype,{clear:function(){var e=this,t=f(e),s=t.index,i=t.first;while(i)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete s[i.index],i=i.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,s=f(t),i=g(t,e);if(i){var r=i.next,a=i.previous;delete s.index[i.index],i.removed=!0,a&&(a.next=r),r&&(r.previous=a),s.first==i&&(s.first=r),s.last==i&&(s.last=a),d?s.size--:t.size--}return!!i},forEach:function(e){var t,s=f(this),i=n(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:s.first){i(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),a(u.prototype,s?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&i(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,s){var i=t+" Iterator",r=m(t),a=m(i);c(e,t,(function(e,t){p(this,{type:i,target:e,state:r(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,s=e.last;while(s&&s.removed)s=s.previous;return e.target&&(e.last=s=s?s.next:e.state.first)?"keys"==t?{value:s.key,done:!1}:"values"==t?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),s?"entries":"values",!s,!0),u(t)}}},6654:function(e,t,s){"use strict";var i=s("6eb7"),r=s.n(i);r.a},"6d1d":function(e,t,s){},"6d61":function(e,t,s){"use strict";var i=s("23e7"),r=s("da84"),a=s("94ca"),n=s("6eeb"),o=s("f183"),l=s("2266"),c=s("19aa"),u=s("861d"),d=s("d039"),h=s("1c7e"),f=s("d44e"),p=s("7156");e.exports=function(e,t,s){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",w=r[e],_=w&&w.prototype,C=w,j={},P=function(e){var t=_[e];n(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,s){return t.call(this,0===e?0:e,s),this})};if(a(e,"function"!=typeof w||!(v||_.forEach&&!d((function(){(new w).entries().next()})))))C=s.getConstructor(t,e,m,g),o.REQUIRED=!0;else if(a(e,!0)){var S=new C,y=S[g](v?{}:-0,1)!=S,b=d((function(){S.has(1)})),k=h((function(e){new w(e)})),D=!v&&d((function(){var e=new w,t=5;while(t--)e[g](t,t);return!e.has(-0)}));k||(C=t((function(t,s){c(t,C,e);var i=p(new w,t,C);return void 0!=s&&l(s,i[g],i,m),i})),C.prototype=_,_.constructor=C),(b||D)&&(P("delete"),P("has"),m&&P("get")),(D||y)&&P(g),v&&_.clear&&delete _.clear}return j[e]=C,i({global:!0,forced:C!=w},j),f(C,e),v||s.setStrong(C,e,m),C}},"6eb7":function(e,t,s){},"76ae":function(e,t,s){"use strict";var i=s("e9b0"),r=s.n(i);r.a},"78dc":function(e,t,s){},"7df1":function(e,t,s){"use strict";var i=s("a5b4"),r=s.n(i);r.a},"841c":function(e,t,s){"use strict";var i=s("d784"),r=s("825a"),a=s("1d80"),n=s("129f"),o=s("14c3");i("search",1,(function(e,t,s){return[function(t){var s=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,s):new RegExp(t)[e](String(s))},function(e){var i=s(t,e,this);if(i.done)return i.value;var a=r(e),l=String(this),c=a.lastIndex;n(c,0)||(a.lastIndex=0);var u=o(a,l);return n(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},"8fc1":function(e,t,s){"use strict";var i=s("99ab"),r=s.n(i);r.a},"98de":function(e,t,s){},"99ab":function(e,t,s){},"9d0d":function(e,t,s){"use strict";var i=s("cf15"),r=s.n(i);r.a},a06e:function(e,t,s){"use strict";s.d(t,"d",(function(){return a})),s.d(t,"c",(function(){return o})),s.d(t,"b",(function(){return c})),s.d(t,"a",(function(){return d})),s.d(t,"e",(function(){return f}));s("96cf");var i=s("1da1"),r=s("b775");function a(e){return n.apply(this,arguments)}function n(){return n=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("project/queryProjectListByUserId",{userId:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("project/editProject",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("project/assignedWork",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("project/searchProject",{projName:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},a5b4:function(e,t,s){},ab13:function(e,t,s){var i=s("b622"),r=i("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(s){try{return t[r]=!1,"/./"[e](t)}catch(i){}}return!1}},b0f9:function(e,t,s){"use strict";s.d(t,"n",(function(){return a})),s.d(t,"s",(function(){return o})),s.d(t,"d",(function(){return c})),s.d(t,"m",(function(){return d})),s.d(t,"p",(function(){return f})),s.d(t,"f",(function(){return m})),s.d(t,"r",(function(){return g})),s.d(t,"l",(function(){return _})),s.d(t,"k",(function(){return j})),s.d(t,"b",(function(){return S})),s.d(t,"o",(function(){return b})),s.d(t,"j",(function(){return D})),s.d(t,"h",(function(){return U})),s.d(t,"i",(function(){return N})),s.d(t,"a",(function(){return A})),s.d(t,"g",(function(){return B})),s.d(t,"c",(function(){return O})),s.d(t,"e",(function(){return L})),s.d(t,"q",(function(){return $}));s("96cf");var i=s("1da1"),r=s("b775");function a(){return n.apply(this,arguments)}function n(){return n=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function m(e){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return w.apply(this,arguments)}function w(){return w=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/updateTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function j(e){return P.apply(this,arguments)}function P(){return P=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function S(e){return y.apply(this,arguments)}function y(){return y=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/connectNestTemplateFolder",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function b(e){return k.apply(this,arguments)}function k(){return k=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function D(e,t,s){return I.apply(this,arguments)}function I(){return I=Object(i["a"])(regeneratorRuntime.mark((function e(t,s,i){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:s,nestedNodeId:i});case 2:return a=e.sent,e.abrupt("return",Object(r["c"])(a));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function U(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/fileExchange",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function N(e){return T.apply(this,arguments)}function T(){return T=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function A(e){return F.apply(this,arguments)}function F(){return F=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/addTemplateNodeModelFile",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function B(e){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function O(e){return E.apply(this,arguments)}function E(){return E=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/createNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function L(e){return W.apply(this,arguments)}function W(){return W=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/deleteNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function $(e){return R.apply(this,arguments)}function R(){return R=Object(i["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/renameTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(r["c"])(s));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}},bb2f:function(e,t,s){var i=s("d039");e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c704:function(e,t,s){},c95a:function(e,t,s){"use strict";var i=s("5122"),r=s.n(i);r.a},caad:function(e,t,s){"use strict";var i=s("23e7"),r=s("4d64").includes,a=s("44d2"),n=s("ae40"),o=n("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!o},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cf15:function(e,t,s){},d5e1:function(e,t,s){"use strict";var i=s("78dc"),r=s.n(i);r.a},d614:function(e,t,s){"use strict";var i=s("c704"),r=s.n(i);r.a},db90:function(e,t,s){"use strict";s.d(t,"a",(function(){return i}));s("a4d3"),s("e01a"),s("d28b"),s("a630"),s("d3b7"),s("3ca3"),s("ddb0");function i(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},e9b0:function(e,t,s){},ec82:function(e,t,s){"use strict";var i=s("6d1d"),r=s.n(i);r.a},f044:function(e,t,s){"use strict";var i=s("98de"),r=s.n(i);r.a},f183:function(e,t,s){var i=s("d012"),r=s("861d"),a=s("5135"),n=s("9bf2").f,o=s("90e3"),l=s("bb2f"),c=o("meta"),u=0,d=Object.isExtensible||function(){return!0},h=function(e){n(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,c)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[c].objectID},p=function(e,t){if(!a(e,c)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[c].weakData},m=function(e){return l&&v.REQUIRED&&d(e)&&!a(e,c)&&h(e),e},v=e.exports={REQUIRED:!1,fastKey:f,getWeakData:p,onFreeze:m};i[c]=!0},f96e:function(e,t,s){"use strict";var i=s("01a8");s.d(t,"a",(function(){return i["a"]}))},fabf:function(e,t,s){}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a615eb9"],{"011a":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"app"}},[s("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[s("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[s("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}])}),s("div",{staticClass:"layout_content"},[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows mt-20",attrs:{id:"new"}},[s("div",{staticClass:"yiyun-col-4 timer-part"},[s("div",{staticClass:"yiyun_row",staticStyle:{width:"95%"}},[s("timer",{attrs:{cnName:e.cnName}})],1)]),e._m(0)]),e.noProjTip?s("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[s("h1",[e._v("空空如也")])]):e._e()]),e.isUserPerm?s("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(),s("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,openPrjInfo:e.openPrjInfo,addNewFolders:e.addNewFolders},on:{watchAllBtnClick:e.watchAllBtnClick,lookProjDetailClick:e.lookProjDetailClick}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.showContinueNewProj}},[e._m(1)]),e._m(2),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close",staticStyle:{"margin-top":"15px"},on:{click:e.closeNewProj}},[e._v("关闭")])]),s("transition-group",{attrs:{css:!1},on:{"before-enter":e.beforeEnter,enter:e.enter,leave:e.leave}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isNewProj,expression:"isNewProj"}],key:0,staticClass:"bottomdialogbox bg_baise"},[s("NewProj",{attrs:{isNewProj:e.isNewProj},on:{refreshListProj:e.refreshListProj,isShowBottom:e.showzhankai,createProjSuccess:e.createProjSuccess}})],1),e.isAloneDistProj?s("div",{key:1,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("DistWork",{on:{offDialog:e.closeDistWork}})],1):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjSetting,expression:"isShowProjSetting"}],key:2,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("ProjSetting",{attrs:{isProjManager:e.isProjectManager,createUserId:e.createUserId,projId:e.currProjId,nowprj:e.nowProj,isSetFolder:e.isEditProjFolder},on:{offDialog:e.closeProjSet,editSuccess:e.projEditSuccess}})],1)])],1)},i=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun-col-4"},[s("div",{staticClass:"yiyun_row"},[s("div",{staticClass:"section_item fr section_item_aside_fr"})])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",{staticClass:"yiyun_zhankaibtn"},[s("i",{staticClass:"Cicon text_gray icon font_family icon-icon_zhankai",attrs:{title:"展开面板"}})])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],a=(s("caad"),s("96cf"),s("1da1")),n=s("0bb4"),o=s("f96e"),l=s("2f4c"),c=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.offDialog}},[e._v(" 关闭 ")]),e._m(0)]),s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage&&e.isShowManager,expression:"isShowThreePage == true && isShowManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],attrs:{title:e.curProjCreatePeop}},[e._v(" "+e._s(e.curProjCreatePeop)+" ")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage||1==e.isShowThreePage,expression:"isShowSecondPage == true || isShowThreePage == true"}]},[e._v("指派职员")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage,expression:"isShowThreePage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowFirstPage,expression:"isShowFirstPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid2,expression:"isShowdivid2"}],staticClass:"linescoll"}),s("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody2"}},[s("div",{class:{dialogcontentbodyrow:e.isShowFirstPage},attrs:{id:"bottomDiaChild2"}},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"line_from"},[e.isProjManager?s("div",{staticClass:"fuzeren"},[s("div",[s("span",{staticClass:"label_text",class:{notclick:!e.isAllowedAssignedManager}},[e._v("项目管理权限")])]),s("div",{staticClass:"mt-10"},[s("div",{staticClass:"fl firstPeople"},[s("div",{class:{notclick:!e.isAllowedAssignedManager}},[s("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedManager?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addProjManager()}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listManagerUser,(function(t,r){return s("li",{key:r,class:{notclick:!e.isAllowedAssignedManager}},[r<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:t.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e(),14!=r||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&r==e.listManagerUser.length-1&&r>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起项目负责人")])]):e._e()])})),0)])])]):e._e(),s("folder-list",{attrs:{id:e.userId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})],1)])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowPrjDesc,expression:"isShowPrjDesc"}],staticClass:"PaincenterBox"},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责:"}},[s("span",[e._v(e._s(e.nowProject.cnName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.strCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.propertyID,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"yiyunlargeItem"},[s("el-form-item",{attrs:{label:t.propName+":"}},[s("span",[e._v(e._s(t.propValue))])])],1)])}))],2)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSecondPage||e.isShowThreePage,expression:"isShowSecondPage || isShowThreePage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8 left-dept-wrap"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])])])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"yiyun_line set-yiyun-line"}),s("div",{staticClass:"right-selected-user-wrap"},e._l(e.listDeptComputed,(function(t){return s("div",{key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(r){return s("div",{key:r},[r==t.id?s("div",[s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(r,i){return s("div",{key:i,staticClass:"renyuanbox"},[r.deptId==t.id?s("div",{staticClass:"user_info_item",on:{click:function(t){return t.stopPropagation(),e.changeManagerClick(r)}}},[2==r.folderPerm?s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl set-crown-position",attrs:{title:"负责人"}}):e._e(),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(r.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(r.cnName))]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return t.stopPropagation(),e.removeSelectUser(r)}}})])]):e._e()])}))],2)})),0)])])])])])])])])},u=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],d=(s("4de4"),s("7db0"),s("4160"),s("a15b"),s("d81d"),s("13d5"),s("fb6a"),s("a434"),s("b0c0"),s("d3b7"),s("ac1f"),s("6062"),s("2532"),s("3ca3"),s("1276"),s("159b"),s("ddb0"),s("5530")),h=s("4f96"),f=s("3835"),p=s("2909"),m=s("93d6"),v=s("2ef0"),g=s("b775"),w=s("3de1"),_=s("a06e"),C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",e._l(e.folderList,(function(t,r){return s("div",{key:r,staticClass:"tianjiaxiezuorenBox"},[s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text",class:{notclick:!(e.isAllowedAssignedFolder(t)||e.isStaff(t))}},[s("i",{directives:[{name:"show",rawName:"v-show",value:t.listChildren&&t.listChildren.length,expression:"folder.listChildren && folder.listChildren.length"}],staticClass:"hand",class:t.expanded?"el-icon-caret-bottom":"el-icon-caret-right",on:{click:function(s){return e.toggleFolderExpand(t)}}}),e._v(" "+e._s(t.folderName)+" ")])]),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]):s("div",{staticClass:"avtarface notclick"},[s("img",{attrs:{src:"/static/img/暂无.svg",alt:"",srcset:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{"notclick noManagerText":!e.isAllowedAssignedFolder(t)}},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(r,i){return s("li",{key:i},[s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]):s("div",{staticClass:"avtarface notclick",class:{allopacity:e.isStaff(t)},attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{notclick:!e.isAllowedAssignedFolder(t),allopacity:e.isStaff(t)}},[e._v(e._s(r.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedStaffFolder(t)?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(r,i){return s("li",{key:i,class:{notclick:!(e.isAllowedAssignedStaffFolder(t)||e.isStaff(t))}},[i<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])]):e._e(),14!=i||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==e.listUserComputed(t.listUser).length-1&&i>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})]),t.listChildren?[s("folder-list",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"folder.expanded"}],staticClass:"folder-children",attrs:{folderList:t.listChildren,id:e.id,allManager:e.allManager,allManagerChild:e.allManagerChild,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})]:e._e()],2)})),0)},j=[],P=(s("45fc"),{name:"folderList",props:{id:String,allManager:Object,allManagerChild:Array,folderList:Array,aloneAddUserForFolder:Function,aloneAddUserOnlyStaff:Function,allChildrenLists:Array},data:function(){return{showAll:!1}},methods:{showAllClick:function(){this.showAll=!0},toggleFolderExpand:function(e){e.expanded=!e.expanded,this.$forceUpdate()},isAllowedAssignedFolder:function(e){var t=this;return this.allManager.id==this.id||this.allManagerChild.length>0&&this.allManagerChild.find((function(e){return e.id==t.id}))||this.allChildrenLists.length>0&&this.allChildrenLists.includes(e)},isAllowedAssignedStaffFolder:function(e){return""!=e.manageUser&&e.manageUser[0].id==this.id||this.isAllowedAssignedFolder(e)},isStaff:function(e){var t=this;return e.listUser.some((function(e){return e.id===t.id}))}},computed:{listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}}}}),S=P,y=(s("f044"),s("2877")),b=Object(y["a"])(S,C,j,!1,null,"cc1419c4",null),k=b.exports,D={components:{FolderList:k},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",cnName:"",selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,checked:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isShowPrjDesc:!1,isSlectPal:!0,folderPerm:"1",isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,currListDeptUserData:[],userList:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[]}},created:function(){this.loadProjManager()},mounted:function(){this._getUserInfo(sessionStorage.userId),this.cnName=JSON.parse(sessionStorage.user).cnName,window.addEventListener("scroll",this.handleScroll,!0),this.fetchProjectDetail()},computed:{isAllowedAssignedManager:function(){var e=this;return this.currUser.id==this.userId||this.listManagerUser.length>0&&this.listManagerUser.find((function(t){return t.id==e.userId}))},listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 2==e.folderPerm||0==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(e){return function(e){for(var t=[],s=0;s0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id},changeManagerClick:function(e){var t=this;if(this.isShowManager){var s=this.listManagerUser.map((function(e){return e.id}))||[];!s.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限更换工作负责人。",offset:100,duration:5e3}):this.selectedUser.forEach((function(s){s.folderPerm=s.id===e.id?2:1,2===s.folderPerm&&t.InitData.manageUser.splice(0,1,s)}))}},loadProjManager:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/projects/manager/"+sessionStorage.projId+"/"+sessionStorage.userId)}).then((function(t){null!=t.data&&""!=t.data&&(e.isProjManager=t.data.isProjManager)})).catch((function(e){console.log(e)}))},handleScroll:function(){var e=document.getElementById("bottomDiaChild2");e.scrollTop&&e.scrollTop>0?this.isShowdivid2=!0:this.isShowdivid2=!1},isAllhide:function(){this.isShowPrjDesc=!1,this.isShowThreePage=!1,this.isShowSecondPage=!1},offDialog:function(){this.selectedUser=[],this.selectedManageUser=[],this.$emit("offDialog",this.$route.name)},showzhankai:function(){this.isBottomNewProj=!0},showContinueNewProj:function(){this.isBottomNewProj=!1},backFirstPage:function(){var e=this;this.listDept=JSON.parse(JSON.stringify(this.currListDeptUserData)),this.isShowManager||(this.listManagerUser=[],this.selectedUser.forEach((function(t){t.id!=e.currUser.id&&e.listManagerUser.push(t)}))),this.isAllhide(),this.isShowManager=!0,this.isShowFirstPage=!0},toFirstPage:function(){var e=this;this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var i=e.data;i.listUser=t.filter((function(t){return t.deptId===e.id})),r.push(i),e.children&&e.children.length&&s.plainTreeNodes(e.children,t,r)})),r},addProjManager:function(){var e=this;this.isShowManager=!1,this.isShowStaffList=!0;var t={listUser:[]};t.listUser=this.listManagerUser,this.setFolderPerm(t),this.selectedUser=t.listUser;var s=t.listUser.find((function(t){return t.id===e.currUser.id}));s||(this.currUser.folderPerm=2,t.listUser.push(this.currUser)),this.selectedManageUser=[],this.isShowThreePage=!0,this.isShowFirstPage=!1},handleCheckTopAll:function(e){for(var t=0;t0&&this.handleCheckItemAll(t,e)},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t&&0!==e&&0!==t},removeSelectUser:function(e){e.id!=this.currUser.id||this.isShowManager?e.id!=sessionStorage.userId||this.isShowManager?this.isAllowedDelete(e)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限移除自己。",offset:100,duration:5e3}):2==e.folderPerm?this.removeManageUser(e):(this.checkDeptUserName(!1,e),this.cancelCheck(e.id)):this.$notify({message:"不能移除自己。",offset:100,duration:5e3}):this.$notify({type:"warning",message:"没有权限删除项目创建者。",offset:100,duration:5e3})},removeManageUser:function(e){e.folderPerm=0;for(var t=0;t0&&1==this.isShowThreePage?this.isShowStaffList=!0:this.isShowStaffList=!1},goShowPrjDesc:function(){this.isShowPrjDesc=!0,this.isShowFirstPage=!1},showAllClick:function(){this.showAll=!0},openECtree:function(e){this.nodeLeaves=!0,this.opentree=!1},closeECtree:function(e){this.nodeLeaves=!1,this.opentree=!0},getChildren:function(e,t){var s=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&s.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,s){var r=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren.length>0&&r.getChildren(e.listChildren,s)}))},getfolderPerm:function(e){var t=this;e.forEach((function(e){e.listUser.forEach((function(e){e.folderPerm=1})),e.manageUser.length>0&&(e.manageUser[0].folderPerm=2,e.listUser.push(e.manageUser[0])),e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},fetchProjectDetail:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a,n,o,l,c,u,d,h;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getUserList(),e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:sessionStorage.projId}),Object(m["e"])(e.$store.state.currentCompanyId)]);case 2:s=t.sent,r=Object(f["a"])(s,3),i=r[0],a=r[1],n=r[2],o=e.plainTreeNodes(n,i),o.forEach((function(e){e.listUser=e.listUser.sort((function(e,t){return e.cnName.localeCompare(t.cnName)}))})),e.listDept=o,e.currListDeptUserData=o,l=a.Data||{},c=l.folder,u=l.manager,console.log(c,u,i),d=i.reduce((function(e,t){return e[t.id]=t,e}),{}),e.listManagerUser=u.map((function(e){return d[e.UserId]})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.listManagerUser=e.listManagerUser.slice(1)),e.oldListManagerUser=Object(v["cloneDeep"])(e.listManagerUser),h=I(c,d),e.getfolderPerm(h),e.listNewFolder=h,e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 21:case"end":return t.stop()}}),t)})))()},getUserList:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(m["g"])({id:e.$store.state.currentCompanyId,nodeType:"company"},1,1e4);case 2:return s=t.sent,r=s.list,e.userList=r,t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})))()},_getUserInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,Object(m["f"])(e);case 3:return s.sent,s.next=6,Object(m["f"])(sessionStorage.createUserID);case 6:r=s.sent,t.curProjCreatePeop=r.cnName+" 指派了新工作,请完成工作指派",1==sessionStorage.allocated&&(t.curProjCreatePeop="项目管理"),t.isProjManager=!0,s.next=15;break;case 12:s.prev=12,s.t0=s["catch"](0),console.log(s.t0);case 15:case"end":return s.stop()}}),s,null,[[0,12]])})))()},createFolders:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var i=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return i.push(e.id),e.id})).join(","):"";var a=e.listUser.filter((function(e){return!i.includes(e.id)}));t.GeneralId=e.listUser.length>0?a.map((function(e){return e.id})).join(","):"",t.OldManager=e.oldManager,t.OldGeneralId=e.oldGeneralId,s.Work.push(t),r(e.listChildren)}))},s={Id:sessionStorage.createUserID,ProjId:sessionStorage.projId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},s.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",r(e.listNewFolder),t.next=6,Object(_["a"])(s);case 6:i=t.sent,console.log(i),a=e,0===i.Code?(a.$notify({message:"工作指派完成。",type:"success",offset:100,duration:2500}),a.offDialog()):a.$notify({type:"error",message:"服务器异常,工作指派失败。",offset:100,duration:5e3});case 10:case"end":return t.stop()}}),t)})))()}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function I(e,t){var s=Object(h["a"])(e),r=s[0],i=(s[1],s.slice(2)),a=r.Id,n=[],o={};return i.forEach((function(e){var s=Object(w["b"])(e);o[s.id]=s,s.listChildren=[],s.listUser=s.oldGeneralId.split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])})),s.manageUser=("0"===s.oldManager?"":s.oldManager).split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])}));var r=s.superId;if(r!==a){var i=o[r];i&&i.listChildren.push(s)}else n.push(s)})),n}var U=D,x=(s("d5e1"),Object(y["a"])(U,c,u,!1,null,"22df4093",null)),N=x.exports,T=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"bottomdialog"},[r("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[r("span",{on:{click:e.offDialog}},[e._v("关闭")])]),r("div",{staticClass:"yiyun_dialog_center"},[r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"backshangyicheng prev_to_1",on:{click:e.backdistNewProj}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backWorkerPal}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistWork}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistProjName}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[r("div",{staticClass:"EC_col_16"},[r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}]},[e._v("新建项目")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}]},[e._v("项目概况")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}]},[e._v("工作指派")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}]},[e._v("指派职员")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}]},[e._v("指派工作负责人")])]),r("div",{staticClass:"EC_col_8"},[r("div",{staticClass:"fr mt-26"},[r("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.goprojInfo}},[e._v("下一步")]),r("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:"",disabled:e.isDisableCreate},on:{click:e.createProject}},[e._v("创建项目")])],1)]),r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_Tbline"})])]),r("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),r("div",{staticClass:"clear"}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid,expression:"isShowdivid"}],staticClass:"linescoll"}),r("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody"}},[r("div",{ref:"diaNewproH",staticClass:"dialogcontentbodyrow",attrs:{id:"bottomDiaChild"}},[r("div",{staticClass:"centerWarpDia"},[r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"PaincenterBox"},[r("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[r("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"项目名称"}},[r("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"请输入项目名称"},model:{value:e.newProjData.projectData.projName,callback:function(t){e.$set(e.newProjData.projectData,"projName",t)},expression:"newProjData.projectData.projName"}})],1)],1)]),r("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"选择工作链"}},[r("el-select",{staticClass:"bg_w",attrs:{filterable:"","no-data-text":"暂无数据",placeholder:"请选择工作链"},on:{change:e.changeSelectTemplate},model:{value:e.newProjData.projectData.templateID,callback:function(t){e.$set(e.newProjData.projectData,"templateID",t)},expression:"newProjData.projectData.templateID"}},e._l(e.templateList,(function(e){return r("el-option",{key:e.Id,attrs:{label:e.TempName,value:e.Id}})})),1)],1)],1)])])],1),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"PaincenterBox"},[r("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[r("div",{staticClass:"yiyun_col-6 fl"},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"项目负责:"}},[r("span",{staticClass:"forminfocom"},[e._v(e._s(e.projectCreaterName))])])],1)]),r("div",{staticClass:"yiyun_col-6 fl"},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"创建时间:"}},[r("span",{staticClass:"forminfocom"},[e._v(e._s(e.createDate))])])],1)]),e._l(e.checkNewProjData.CustomProps,(function(t){return r("div",{key:t.Id,staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:t.PropertyName}},[r("el-input",{key:t.Id,staticClass:"labelinputbefore",attrs:{placeholder:"输入"},on:{input:e.userDefineInput},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}})],1)],1)])})),r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_col-12img fl mt-10"},[r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_col-6"},[r("div",{staticClass:"pageImgBox"},[r("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),r("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[r("span",[e._v("编辑")])]),r("span",{staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])]),r("div",{staticClass:"clear"}),r("el-form-item",[r("div",{staticClass:"tianjiaxiezuoren",staticStyle:{display:"none"}},[r("h5",[e._v("添加协作人")]),r("div",[r("div",{staticClass:"touxiang_hezuorenBox"},[r("div",{staticClass:"touxiang_hezuorenBox-item"},[r("img",{attrs:{src:s("03aa"),alt:""}})])]),r("i",{staticClass:"yiyun_icon_large icon_topnav_large_add",attrs:{title:"添加合作人"}})])])])],2)],1),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"fuzeren"},[e._m(0),r("div",{staticClass:"mt-10"},[r("div",{staticClass:"fl firstPeople"},[r("div",[r("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[r("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),r("div",{staticClass:"fl vhLine mlr-20"}),r("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addManager()}}},[r("i",{staticClass:"el-icon-plus middleaddEC"})]),r("div",{staticClass:"fl chengyuanbox"},[r("ul",{staticClass:"ECworkerList"},e._l(e.newProjData.projectData.listProjManager,(function(t,s){return r("li",{key:s},[s<14||e.showAll?r("div",[r("div",{staticClass:"avtarface",attrs:{title:t.userName}},[r("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e()])})),0)])])]),e._l(e.newProjData.listFolder,(function(t,s){return r("div",{key:s},[r("div",{staticClass:"EC_Tree"},[e.tempIndex!=s||0==s?r("div",[r("em",{staticClass:"ec_number label_text"},[e._v(e._s(t.folderIndex))]),1==e.showTitle||e.tempIndex!=s?r("div",[r("span",{staticClass:"label_text"},[e._v(e._s(t.folderName))]),0==t.default?r("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle(s)}}},[e._v("编辑")]):e._e()],1):e._e()]):e._e(),2==e.showTitle&&e.tempIndex==s?r("div",{staticClass:"self_newitem"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":" label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),r("div",{staticClass:"selfoptiongroup"},[0==t.default?r("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?r("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),r("div",{staticClass:"mt-10"},[r("div",{staticClass:"fl firstPeople"},[""==t.manageUser?r("div",[r("div",{staticClass:"avtarface",on:{click:function(t){return e.addUserPal(s)}}},[r("i",{staticClass:"large_huangguan el-icon-plus"})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(t,i){return r("li",{key:i},[r("div",[r("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[r("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),r("div",{staticClass:"eiditIconimgBox",on:{click:function(t){return e.addUserPal(s)}}},[r("i",{staticClass:"icon font_family icon-icon_bianji1 eiditIconimg"})])]),r("span",{staticClass:"Text_tiny tinyText_wirte",attrs:{title:t.cnName}},[e._v(e._s(t.cnName))])])])}))],2),r("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?r("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(t){return e.addUser(s)}}},[r("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),r("div",{staticClass:"fl chengyuanbox"},[r("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(s,i){return r("li",{key:i},[i<14||e.showAll?r("div",[r("div",{staticClass:"avtarface",attrs:{title:s.cnName}},[r("img",{attrs:{src:e._f("resolveAvator")(s.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(s.cnName))])]):e._e(),14!=i||e.showAll?e._e():r("div",{on:{click:e.showAllClick}},[r("span",{staticClass:"zhangkai_down"}),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==t.listUser.length-1&&i>14?r("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[r("span",{staticClass:"zhangkai_up"}),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)])]),r("div",{staticClass:"clear"})])})),r("div",{staticClass:"line_from",staticStyle:{display:"none"}},[r("div",e._l(e.newProjData.listFolder,(function(t,s){return r("div",{key:s,staticClass:"tianjiaxiezuorenBox"},[r("div",{staticStyle:{height:"50px"}},[1==e.showTitle?r("div",[r("h5",{staticClass:"fl label_text"},[e._v(e._s(t.folderName))]),0==t.default?r("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle()}}},[e._v("编辑")]):e._e()],1):e._e(),2==e.showTitle?r("div",{staticClass:"self_newitem"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),r("div",{staticClass:"selfoptiongroup"},[0==t.default?r("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?r("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),r("div",{staticClass:"self_newitem"},[r("div",{staticClass:"touxiang_hezuorenBox fl"},e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"yonghutouxiangBox"},[r("div",{staticClass:"touxiang_hezuorenBox-item"},[r("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),r("i",{staticClass:"icon_delete el-icon-delete",attrs:{title:"删除"},on:{click:function(t){return e.deleteNewProjUser(s,i)}}})]),r("span",[e._v(e._s(t.cnName))])])})),0),r("i",{staticClass:"yiyun_icon_large icon_topnav_large_add add_worker_xiezuo",attrs:{title:"添加合作人"},on:{click:function(t){return e.addUser(s)}}})])])})),0)])],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[r("div",{staticClass:"row_painfl"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[r("template",{slot:"title"},[r("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return r("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:s,attrs:{accordion:""}},[r("el-collapse-item",[r("template",{slot:"title"},[r("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[r("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(r){return e.handleCheckedOnlyOne(s,t,r)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[r("div",{staticClass:"checkboxlabelitem"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),r("div",{staticClass:"shuxian"}),r("div",{staticClass:"yiyun_col-6"},[r("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),r("div",{staticClass:"row_painfr"},[r("div",{staticClass:"yiyun_line"}),r("span",[e._v("工作负责人")]),r("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?r("div",{staticClass:"main_workerBox"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),r("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.selectedUser.length?r("div",e._l(e.selectedUser,(function(t,s){return r("div",{key:s,staticClass:"user_info_item mainpeople_H"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[r("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),r("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])])])])]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[r("div",{staticClass:"row_painfl"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[r("template",{slot:"title"},[r("span",{staticClass:"quanxuanbtn"},[r("el-checkbox",{staticClass:"checkBoxCol",on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")])],1),r("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return r("el-collapse",{directives:[{name:"show",rawName:"v-show",value:e.listDept.length>0,expression:"listDept.length > 0"}],key:s,attrs:{accordion:""}},[r("el-collapse-item",[r("template",{slot:"title"},[r("span",{staticClass:"quanxuanbtn"},[r("el-checkbox",{key:s,staticClass:"checkBoxCol",on:{change:function(t){return e.handleCheckItemAll(s,t)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"dept.disabled"}},[e._v("全选")])],1),r("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[r("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(r){return e.handleCheckedOne(s,t,r)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"user.disabled"}},[r("div",{staticClass:"checkboxlabelitem"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.userName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),r("div",{staticClass:"shuxian"}),r("div",{staticClass:"yiyun_col-6"},[r("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),e.isShowManager?r("div",{staticClass:"row_painfr"},[r("div",{staticClass:"yiyun_line"}),r("span",[e._v("工作负责人")]),r("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?r("div",{staticClass:"main_workerBox"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),r("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?r("div",e._l(e.selectedUser,(function(t,s){return r("div",{key:s,staticClass:"user_info_item mainpeople_H"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("修改")])],1)})),0):e._e(),r("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])]):e._e(),e.isShowFirstPeople?r("div",e._l(e.listDept,(function(t){return r("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(s){return r("div",{key:s},[s==t.id?r("div",[r("div",{staticClass:"yiyun_line"}),r("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(s,i){return r("div",{key:i,staticClass:"renyuanbox"},[s.deptId==t.id?r("div",{staticClass:"user_info_item"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(s.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(s.userName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(s.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(s.position))])]),r("span",{staticClass:"user_info_role"},[[r("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:s.folderPerm,callback:function(t){e.$set(s,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return r("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[r("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],r("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(s)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},A=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"label_text"},[e._v("项目管理权限")])])}],F=s("b0f9"),B=s("5ab9"),M=s("9e5b"),O={props:{isNewProj:{type:Boolean,default:!1}},data:function(){var e=this.$store.state.userInfo;return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",isShowdivid:!1,filePicker:"uploadCover",uploadLabel:"编辑封面",srcIndex:2,coverSrc:"static/img/faceImg/face01.png",cnName:"",listDept:[],selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,SelectTemplateNodeList:{},selectTemlateData:"",selectTemlateID:"",diaBodyheight:!1,checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},activeName:"1",NewProductDailog:!0,ProjInfoDialog:!1,showAll:!1,marchWorkDialog:!1,marchWorkerDialog:!1,marchWorkerPalDialog:!1,isDisableCreate:!1,nodeLeaves:!1,isShowFirstPeople:!1,opentree:!0,currWorkName:"",uploadCoverTimes:0,arryUnUseCover:[],uploadCompId:sessionStorage.companyId,uploadTypeCover:2,ischeckAll:!1,newProjFolderIndex:1,projectCreaterName:e.cnName,createDate:(new Date).toLocaleDateString(),listNewFolder:[],listMyPermFolders:[],isSlectPal:!0,roles:[{value:1,label:"编辑和查看",description:""},{value:0,label:"仅查看",description:""}],folderPerm:"1",nowFolderIndex:"",tempIndex:0,currSelectData:[],currUser:e,isShowManager:!0,templateList:[]}},watch:{isNewProj:function(e){0==e&&this.reSetDialog()},marchWorkerPalDialog:function(){}},components:{FileUploader:M["a"]},created:function(){},mounted:function(){this.listDeptUsers(),this.getSelectTemplateData(),window.addEventListener("scroll",this.handleScroll,!0)},computed:{listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){var e=this;return function(t){return t.filter((function(t){return e.isShowManager?2!=t.folderPerm:t.userID!=e.currUser.userID}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0?this.isShowdivid=!0:this.isShowdivid=!1},showzhankai:function(){this.$emit("isShowBottom",!0)},offDialog:function(){var e=this,t=this;this.$confirm("放弃“新建项目”您编辑的内容被清空。是否放弃?","",{confirmButtonText:"放弃",cancelButtonText:"取消",showClose:!1,type:"error",beforeClose:function(e,s,r){"confirm"==e&&(t.isDisableCreate=!1,t.SelectTemplateNodeList=[],t.selectedUser=[],t.selectedManageUser=[],t.marchWorkDialog=!1,t.marchWorkerDialog=!1,t.marchWorkerPalDialog=!1,t.ProjInfoDialog=!1,t.NewProductDailog=!0,t.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},t.$emit("refreshListProj",!1)),s.doClose()}}).then((function(){e.isDisableCreate=!1,e.newProjData.projectData={},e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}})).catch((function(e){}))},reSetDialog:function(){var e=this;e.isDisableCreate=!1,e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},e.checkNewProjData={Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},e.$emit("refreshListProj",!1)},godistWork:function(){this.isAllhide()},isAllhide:function(){this.NewProductDailog=!1,this.ProjInfoDialog=!1,this.marchWorkDialog=!1,this.marchWorkerDialog=!1,this.marchWorkerPalDialog=!1},backdistProjName:function(){this.isAllhide(),this.NewProductDailog=!0},backdistNewProj:function(){this.isAllhide(),this.ProjInfoDialog=!0},backdistWork:function(){var e=this;1==this.marchWorkerPalDialog?this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){e.newProjData.listFolder[e.nowFolderIndex]=e.currSelectData,e.cancelCheck(),e.isAllhide(),e.marchWorkDialog=!0})):(this.cancelCheck(),this.isAllhide(),this.marchWorkDialog=!0)},backWorkerPal:function(){this.isAllhide(),this.marchWorkerPalDialog=!0},addUserPal:function(e){this.currSelectData=JSON.parse(JSON.stringify(this.newProjData.listFolder[parseInt(e)])),this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.nowFolderIndex=parseInt(e),this.isAllhide(),this.marchWorkerPalDialog=!0,this.isShowFirstPeople=!1,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addUser:function(e){this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!0,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addManager:function(){var e=this;this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!1,E(this.$store.state.currentCompanyId).then((function(t){e.listDept=t,e.listDept=Object(p["a"])(e.listDept),console.log("1111111111111111111111111",e.listDept)})).catch((function(e){console.log(e)})),this.selectedUser=this.newProjData.projectData.listProjManager},deleteNewProjUser:function(e,t){this.newProjData.listFolder[e].listUser.splice(t,1)},deleteDistWorkUser:function(e,t){this.listNewFolder[e].listUser.splice(t,1)},eidtTitle:function(e){this.tempIndex=e,this.showTitle=2},saveTitle:function(e){this.tempIndex=0,this.showTitle=1},deleCustomFolder:function(e){this.newProjData.listFolder.splice(e,1)},addProjFolderWork:function(){this.eidtTitle(this.newProjData.listFolder.length),this.newfolder={folderName:"自定义工作"+this.newProjFolderIndex,default:!1,deleted:0,listUser:[],manageUser:[]},this.newProjData.listFolder.push(this.newfolder),this.newProjFolderIndex=this.newProjFolderIndex+1},setDistManagerUser:function(){var e=this;this.selectedManageUser.splice(0,this.selectedManageUser.length),this.selectedUser.forEach((function(t){2==t.folderPerm&&e.selectedManageUser.push(t)}))},handleCheckTopAll:function(e){for(var t=0;t0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s]["selected"]&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0)for(var s=0;s0&&1==this.marchWorkerDialog?this.isShowFirstPeople=!0:this.isShowFirstPeople=!1},changeSelectTemplate:function(e){this.selectTemlateID=e;for(var t=0;t35?this.$notify({message:"项目名称不得超出35个字符。",type:"warning",offset:100,duration:2500}):void 0!=this.newProjData.projectData.templateID&&null!=this.newProjData.projectData.templateID&&""!=this.newProjData.projectData.templateID?(F["n"](this.selectTemlateID).then((function(t){t.Data.propertys.forEach((function(t,s){e.checkNewProjData.CustomProps[s]={},e.checkNewProjData.CustomProps[s]["TempPropId"]=t.Id,e.checkNewProjData.CustomProps[s]["PropertyName"]=t.PropertyName,e.checkNewProjData.CustomProps[s]["PropValue"]="";var r=e.checkNewProjData.CustomProps;e.checkNewProjData.CustomProps=Object(p["a"])(r)})),e.checkNewProjData=Object(p["a"])(e.checkNewProjData)})),this.isAllhide(),this.setSystemCoverRandom(),this.ProjInfoDialog=!0):this.$notify({message:"请选择工作链。",type:"warning",offset:100,duration:2500})}else this.$notify({message:"请输入项目名称。",type:"warning",offset:100,duration:2500})},listFolders:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/folders/allot/"+sessionStorage.userId+"/"+sessionStorage.projId)}).then((function(t){e.listMyPermFolders=t.data})).catch((function(e){console.log(e)}))}},destroyed:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function E(e){return L.apply(this,arguments)}function L(){return L=Object(a["a"])(regeneratorRuntime.mark((function e(t){var s,r,i,a,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(m["d"])(t),Object(m["g"])({id:t,nodeType:"company"},1,1e4)]);case 2:return s=e.sent,r=Object(f["a"])(s,2),i=r[0],a=r[1].list,n=i[0].children||[],o=W(n,a),e.abrupt("return",o.filter((function(e){return e.listUser&&e.listUser.length})));case 9:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function W(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var r=e.data;r.listUser=t.filter((function(t){return t.deptId===e.id})),s.push(r),e.children&&e.children.length&&W(e.children,t,s)})),s}var $=O,R=Object(y["a"])($,T,A,!1,null,null,null),z=R.exports,H=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toSecondPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers&&e.isShowProjInfo,expression:"isShowSetUsers && isShowProjInfo"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}]},[e._v("项目编辑")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}]},[e._v("指派职员")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}]},[e._v("指派工作负责人")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetManager,expression:"isShowSetManager == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.toThreePage}},[e._v("分配职员")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetUsers,expression:"isShowSetUsers == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("完成或跳过")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetFolder,expression:"isShowSetFolder == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowEditProjBtn,expression:"isShowEditProjBtn"}],staticClass:"fr width_120 edit120",attrs:{type:"primary",round:""},on:{click:e.EidtProjectInfo}},[e._v("编辑项目概况")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.saveProjectInfo}},[e._v("保存")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{staticClass:"dialogcontentbody"},[s("div",{staticClass:"dialogcontentbodyrow"},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"line_from"},[s("div",[e._l(e.listNewFolder,(function(t,r){return s("div",{key:r,staticClass:"tianjiaxiezuorenBox"},[1==e.showTitle?s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text"},[e._v(" "+e._s(t.folderName)+" ")]),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{on:{click:e.eidtTitle}},[e._v("编辑")]):e._e()],1)]):e._e(),2==e.showTitle?s("div",{staticClass:"self_newitem"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{attrs:{type:"primary"},on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?s("el-button",{on:{click:function(t){return e.deleTitle(r)}}},[e._v("删除")]):e._e()],1)]):e._e(),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(e.listManagerComputed(t.manageUser),(function(r,i){return s("li",{key:i},[s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+r.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(r,i){return s("li",{key:i},[i<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+r.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])]):e._e(),14!=i||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==t.listUser.length-1&&i>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})])])})),e._m(0)],2)])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox ",staticStyle:{"margin-left":"4px"}},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"110px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责人:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateUserName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:t.PropertyName+":"}},[e.isShowInfoEdit?s("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"输入"},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}}):e._e(),e.isShowInfoEdit?e._e():s("span",[e._v(e._s(t.PropValue))])],1)],1)])})),s("div",{staticClass:"yiyun_col-12 fl mt-10"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_col-6"},[s("div",{staticClass:"pageImgBox"},[s("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),s("file-uploader",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[s("span",[e._v("编辑")])]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])])],2),s("div",{staticClass:"clear"})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOnlyOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,r){return s("div",{key:r,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])])])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("el-checkbox",{staticClass:"checkxiezuoren",staticStyle:{color:"white"},on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")]),s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])],1),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("el-checkbox",{key:r,staticClass:" checkxiezuoren",staticStyle:{color:"white"},on:{change:function(t){return e.handleCheckItemAll(r,t)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"dept.selected"}},[e._v("全选")]),s("span",{staticClass:" checkBoxCol"},[e._v(e._s(t.deptName)+" ")])],1),e._l(e.listUserStaff(t.listUser),(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,r){return s("div",{key:r,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("编辑")])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])]),e.isShowStaffList?s("div",e._l(e.listDept,(function(t){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.deptID,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(r){return s("div",{key:r},[r==t.deptID?s("div",[s("div",{staticClass:"yiyun_line"}),s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.listUserComputed(e.selectedUser),(function(r,i){return s("div",{key:i,staticClass:"renyuanbox"},[r.deptID==t.deptID?s("div",{staticClass:"user_info_item"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(r.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(r.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(r.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(r.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(r.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(r.position))])]),s("span",{staticClass:"user_info_role"},[[s("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:r.folderPerm,callback:function(t){e.$set(r,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return s("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[s("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),s("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(r)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},q=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"fl label_text"},[e._v("自定义工作")]),s("span",{staticClass:"fr mt-10"},[s("i",{staticClass:"yiyunPlusmini"})])])}],J=s("5a0c"),V=s.n(J),Z={components:{FileUploader:M["a"]},props:{isProjManager:{type:Boolean,default:!1},isSetFolder:{type:Boolean,default:!1},projId:{type:String,default:""},createUserId:{type:String,default:""}},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",uploadCompId:sessionStorage.companyId,coverSrc:"static/img/faceImg/face01.png",uploadTypeCover:2,filePicker:"projFilePicker",srcIndex:2,selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isSlectPal:!0,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",initData:[],listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],isShowSetFolder:!1,isShowSetManager:!1,isShowSetUsers:!1,isShowProjInfo:!0,isShowInfoEdit:!1,isShowEditProjBtn:!1,isShowSaveAllBtn:!1,currWorkName:"",currentProjId:"",currSelectData:[]}},mounted:function(){},computed:{listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0&&1==this.isShowSetUsers?this.isShowStaffList=!0:this.isShowStaffList=!1},showAllClick:function(){this.showAll=!0},listProjFolder:function(){},projInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["c"](e);case 2:r=s.sent,t.nowProject=r.Data,t.nowProject.ProjCreateTime=V()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(d["a"])({},t.nowProject),t.listProjProp=r.Data.CustomProps,t.listProjProp=Object(p["a"])(t.listProjProp),t.coverSrc=r.Data.ShowImgUrl;case 9:case"end":return s.stop()}}),s)})))()},listDeptUsers:function(){var e=sessionStorage.companyId,t=this;this.$axios({method:"get",url:encodeURI("/api/sysinfo/deptusers/"+e)}).then((function(e){t.listDept=e.data.data})).catch((function(e){console.log(e)}))},saveProject:function(){var e=this;this.$axios({method:"put",url:encodeURI("/api/projects"),data:{projectData:this.nowProject,listFolder:this.listNewFolder,listProjProp:this.listProjProp,userId:sessionStorage.userId}}).then((function(t){1===t.data.state?(e.$notify({message:t.data.message,type:"success",offset:30,duration:2500}),e.offDialog()):e.$notify({message:t.data.message,type:"error",offset:30,duration:5e3})})).catch((function(e){console.log(e)}))},coverUploadSuccess:function(e){var t=Object(B["c"])(e.ossUrl);this.coverSrc=t,this.nowProject.ShowImgUrl=t},setSystemCover:function(){this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.showImgUrl=this.srcIndex,this.srcIndex<9?this.srcIndex=this.srcIndex+1:this.srcIndex=1},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,10===this.srcIndex?this.coverSrc="static/img/faceImg/face"+this.srcIndex+".png":this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.ShowImgUrl=this.coverSrc}},watch:{isProjManager:function(e){this.isShowEditProjBtn=e},isSetFolder:function(e){this.isShowSetFolder=e,this.isShowProjInfo=!e,this.isShowEditProjBtn=!e,e&&(this.isShowSaveAllBtn=!1)},projId:function(e){this.currentProjId=e,this.projInfo(e)}}},Y=Z,G=Object(y["a"])(Y,H,q,!1,null,null,null),X=G.exports,Q=s("0f13"),K=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.cnName?s("div",[s("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),s("div",{staticClass:"now-time"},[s("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},ee=[],te={props:["cnName"],data:function(){return{nowTime:"",nowDate:"",welcome:"",timer:null}},methods:{setDateTime:function(){this.nowDate=n["a"].getDate(),this.createDate=this.nowDate,this.nowTime=n["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}},se=te,re=(s("9d0d"),s("63b7"),Object(y["a"])(se,K,ee,!1,null,"0481b847",null)),ie=re.exports,ae=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows",attrs:{id:"alone"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[s("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),s("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),s("div",{staticClass:"prjitemList"},[s("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,r){return s("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:12,lg:8,xl:6}},[s("proj-item",{attrs:{projItem:t},on:{lookProjDetailClick:function(s){return e.lookProjDetailClick(t)},watchAllBtnClick:function(s){return e.watchAllBtnClick(t,r)}}})],1)})),1)],1)])])])},ne=[],oe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"prjitem"},[s("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?s("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),s("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)))]),s("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]),s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目管理")])])])])},le=[],ce={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"],s=t(e);return{background:"center/cover no-repeat url(".concat(s,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var s=e.slice(0,7),r=e.slice(t-6,t);return s+"..."+r}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(g["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},ue=ce,de=(s("6654"),s("7df1"),Object(y["a"])(ue,oe,le,!1,null,"2b5d1f78",null)),he=de.exports,fe={data:function(){return{isEmpty:!1}},components:{ProjItem:he},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 s=e.slice(0,7),r=e.slice(t-6,t);return s+"..."+r}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},pe=fe,me=(s("01a6"),Object(y["a"])(pe,ae,ne,!1,null,"22c87fa3",null)),ve=me.exports,ge=(window.BMap,window.Velocity),we={elNew:"#new",components:{SearchBar:l["a"],DistWork:N,NewProj:z,ProjSetting:X,Timer:ie,AppHeader:o["a"],ProjList:ve},data:function(){var e=this.$store.state.currentPlatform;return{currentPlatform:e,isUserPerm:Object(Q["c"])(e.accessList,Q["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(v["debounce"])(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,s;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,_["e"](this.searchContent);case 8:s=e.sent,0==s.Code?this.searchProjList=s.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 s=["341999987607363584","341984912360235008","342002217261621248"];console.log(e),t%2==0||s.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(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["d"](t.$store.state.accountId);case 2:r=s.sent,t.projList=r.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 s.stop()}}),s)})))()},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()},showNewProj:function(){this.isNewProj=!0},beforeEnter:function(e){e.style.opacity=0},enter:function(e,t){ge(e,{opacity:1,bottom:"0px"},{duration:500,complete:t})},leave:function(e,t){ge(e,{bottom:"-740px",opacity:"0"},{duration:500,complete:t})},showOption:function(){this.$emit("showOption",!0)},showHelp:function(){this.$emit("showHelp",!0)},showContinueNewProj:function(){this.isNewProj=!0,this.isBottomNewProj=!1},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=we,Ce=(s("c95a"),s("d614"),s("ec82"),Object(y["a"])(_e,r,i,!1,null,"5c9fe164",null));t["default"]=Ce.exports},"01a6":function(e,t,s){"use strict";var r=s("391a"),i=s.n(r);i.a},"01a8":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("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?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),s("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)}}},[s("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:""}}),s("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?s("div",{staticClass:"app-header-top"}):e._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[s("div",{staticClass:"app-header-content-left"},[e._t("left",[s("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()}}}),s("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),s("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?s("span",{on:{click:e.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?s("user-center"):e._e()],2)])])},i=[],a=s("1392"),n=s("1d40"),o={components:{UserCenter:a["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:n["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(){n["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){n["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)}},l=o,c=(s("8fc1"),s("2877")),u=Object(c["a"])(l,r,i,!1,null,"06f5aedd",null);t["a"]=u.exports},"03aa":function(e,t,s){e.exports=s.p+"static/img/user_Img001.82ca55ca.png"},"0bb4":function(e,t,s){"use strict";s("fb6a"),s("4d63"),s("ac1f"),s("25f0"),s("466d"),s("5319"),s("841c");t["a"]={getDateTimeString:function(e){var t=e.getFullYear(),s=e.getMonth()+1;s=s<10?"0"+s:s;var r=e.getDate();r=r<10?"0"+r:r;var i=e.getHours();i=i<10?"0"+i:i;var a=e.getMinutes();a=a<10?"0"+a:a;var n=e.getSeconds();n=n<10?"0"+n:n;var o=t+"-"+s+"-"+r+" "+i+":"+a+":"+n;return o},getDateTimeStringByStr:function(e){var t=new Date(e),s=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var i=t.getDate();i=i<10?"0"+i:i;var a=t.getHours();a=a<10?"0"+a:a;var n=t.getMinutes();n=n<10?"0"+n:n;var o=t.getSeconds();o=o<10?"0"+o:o;var l=s+"-"+r+"-"+i+" "+a+":"+n+":"+o;return l},formatDate:function(e){var t=e.getFullYear(),s=e.getMonth()+1,r=e.getDate();s=s<10?"0"+s:s,r=r<10?"0"+r:r;var i=t+"-"+s+"-"+r;return i},convertToDate:function(e){var t=e.slice(6,19),s=new Date(parseInt(t));return this.formatDate(s)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var s=parseInt(e),r=new Date(s),i="";i+=r.getFullYear()+"-";var a=r.getMonth()+1;i+=a<10?"0"+a+"-":a+"-";var n=r.getDate();return i+=n<10?"0"+n:n,!0===t&&(i+=" "+r.getHours()+":",i+=r.getMinutes()+":",i+=r.getSeconds()),i},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),s=window.location.search.substr(1).match(t);return null!=s?s[2]:null},validNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):t?s():s(new Error("这里不能为空"))},validNullOrNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):s()},validNullOrNumber2:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error(" ")):s()},validDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):t?s():s(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):s()},validNullOrDecimal2:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error(" ")):s()},validRequired:function(e,t,s){t?s():s(new Error("这里不能为空"))},validEmail:function(e,t,s){if(""!=t){var r=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;r.test(t)?s():s(new Error("邮箱格式不正确!"))}else s()},validPhoneNum:function(e,t,s){if(""!=t){var r=/(^\d{11}$)/;r.test(t)?s():s(new Error("请输入11位有效手机号码!"))}else s(new Error("请输入手机号"))},validVerificationCode:function(e,t,s){if(""!=t){var r=/(^\d{6}$)/;r.test(t)?s():s(new Error("请输入有效的验证码!"))}else s(new Error("请输入验证码"))},validPhone:function(e,t,s){""!=t&&11!=t.length?s(new Error("请输入11位有效手机号码!")):s()},validPhoneAndRequired:function(e,t,s){""!=t?11!=t.length?s(new Error("请输入11位有效手机号码!")):s():s(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,s){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var r=(t-1)*e,i=r+e;i>s.length&&(i=s.length);var a=[];if(null!=s&&s.length>0)for(var n=r;n1?arguments[1]:void 0)}})},2909:function(e,t,s){"use strict";s.d(t,"a",(function(){return l}));var r=s("6b75");function i(e){if(Array.isArray(e))return Object(r["a"])(e)}var a=s("db90"),n=s("06c5");function o(){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 l(e){return i(e)||Object(a["a"])(e)||Object(n["a"])(e)||o()}},"2f4c":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"search-bar",class:{"show-search-bar":e.isShowSearchBar}},[s("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)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!e.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),s("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:""}})]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[s("i",{staticClass:"search-icon",on:{click:function(t){return t.stopPropagation(),e.goToSearch(t)}}}),s("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)}}}),s("i",{staticClass:"close-icon",on:{click:function(t){return t.stopPropagation(),e.hideSearchBar(t)}}})])])},i=[],a={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")}}},n=a,o=(s("76ae"),s("2877")),l=Object(o["a"])(n,r,i,!1,null,"df8317c6",null);t["a"]=l.exports},"391a":function(e,t,s){},"45fc":function(e,t,s){"use strict";var r=s("23e7"),i=s("b727").some,a=s("a640"),n=s("ae40"),o=a("some"),l=n("some");r({target:"Array",proto:!0,forced:!o||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,s){"use strict";var r=s("d784"),i=s("825a"),a=s("50c4"),n=s("1d80"),o=s("8aa5"),l=s("14c3");r("match",1,(function(e,t,s){return[function(t){var s=n(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,s):new RegExp(t)[e](String(s))},function(e){var r=s(t,e,this);if(r.done)return r.value;var n=i(e),c=String(this);if(!n.global)return l(n,c);var u=n.unicode;n.lastIndex=0;var d,h=[],f=0;while(null!==(d=l(n,c))){var p=String(d[0]);h[f]=p,""===p&&(n.lastIndex=o(c,a(n.lastIndex),u)),f++}return 0===f?null:h}]}))},"4d63":function(e,t,s){var r=s("83ab"),i=s("da84"),a=s("94ca"),n=s("7156"),o=s("9bf2").f,l=s("241c").f,c=s("44e7"),u=s("ad6d"),d=s("9f7f"),h=s("6eeb"),f=s("d039"),p=s("69f3").set,m=s("2626"),v=s("b622"),g=v("match"),w=i.RegExp,_=w.prototype,C=/a/g,j=/a/g,P=new w(C)!==C,S=d.UNSUPPORTED_Y,y=r&&a("RegExp",!P||S||f((function(){return j[g]=!1,w(C)!=C||w(j)==j||"/a/i"!=w(C,"i")})));if(y){var b=function(e,t){var s,r=this instanceof b,i=c(e),a=void 0===t;if(!r&&i&&e.constructor===b&&a)return e;P?i&&!a&&(e=e.source):e instanceof b&&(a&&(t=u.call(e)),e=e.source),S&&(s=!!t&&t.indexOf("y")>-1,s&&(t=t.replace(/y/g,"")));var o=n(P?new w(e,t):w(e,t),r?this:_,b);return S&&s&&p(o,{sticky:s}),o},k=function(e){e in b||o(b,e,{configurable:!0,get:function(){return w[e]},set:function(t){w[e]=t}})},D=l(w),I=0;while(D.length>I)k(D[I++]);_.constructor=b,b.prototype=_,h(i,"RegExp",b)}m("RegExp")},"4f96":function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));var r=s("0d21"),i=s("db90"),a=s("06c5"),n=s("3d8c");function o(e){return Object(r["a"])(e)||Object(i["a"])(e)||Object(a["a"])(e)||Object(n["a"])()}},5122:function(e,t,s){},"5a34":function(e,t,s){var r=s("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},6062:function(e,t,s){"use strict";var r=s("6d61"),i=s("6566");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"63b7":function(e,t,s){"use strict";var r=s("fabf"),i=s.n(r);i.a},6566:function(e,t,s){"use strict";var r=s("9bf2").f,i=s("7c73"),a=s("e2cc"),n=s("0366"),o=s("19aa"),l=s("2266"),c=s("7dd0"),u=s("2626"),d=s("83ab"),h=s("f183").fastKey,f=s("69f3"),p=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,s,c){var u=e((function(e,r){o(e,u,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&l(r,e[c],e,s)})),f=m(t),v=function(e,t,s){var r,i,a=f(e),n=g(e,t);return n?n.value=s:(a.last=n={index:i=h(t,!0),key:t,value:s,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=n),r&&(r.next=n),d?a.size++:e.size++,"F"!==i&&(a.index[i]=n)),e},g=function(e,t){var s,r=f(e),i=h(t);if("F"!==i)return r.index[i];for(s=r.first;s;s=s.next)if(s.key==t)return s};return a(u.prototype,{clear:function(){var e=this,t=f(e),s=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete s[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,s=f(t),r=g(t,e);if(r){var i=r.next,a=r.previous;delete s.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),s.first==r&&(s.first=i),s.last==r&&(s.last=a),d?s.size--:t.size--}return!!r},forEach:function(e){var t,s=f(this),r=n(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:s.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),a(u.prototype,s?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,s){var r=t+" Iterator",i=m(t),a=m(r);c(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,s=e.last;while(s&&s.removed)s=s.previous;return e.target&&(e.last=s=s?s.next:e.state.first)?"keys"==t?{value:s.key,done:!1}:"values"==t?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),s?"entries":"values",!s,!0),u(t)}}},6654:function(e,t,s){"use strict";var r=s("6eb7"),i=s.n(r);i.a},"6d1d":function(e,t,s){},"6d61":function(e,t,s){"use strict";var r=s("23e7"),i=s("da84"),a=s("94ca"),n=s("6eeb"),o=s("f183"),l=s("2266"),c=s("19aa"),u=s("861d"),d=s("d039"),h=s("1c7e"),f=s("d44e"),p=s("7156");e.exports=function(e,t,s){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",w=i[e],_=w&&w.prototype,C=w,j={},P=function(e){var t=_[e];n(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,s){return t.call(this,0===e?0:e,s),this})};if(a(e,"function"!=typeof w||!(v||_.forEach&&!d((function(){(new w).entries().next()})))))C=s.getConstructor(t,e,m,g),o.REQUIRED=!0;else if(a(e,!0)){var S=new C,y=S[g](v?{}:-0,1)!=S,b=d((function(){S.has(1)})),k=h((function(e){new w(e)})),D=!v&&d((function(){var e=new w,t=5;while(t--)e[g](t,t);return!e.has(-0)}));k||(C=t((function(t,s){c(t,C,e);var r=p(new w,t,C);return void 0!=s&&l(s,r[g],r,m),r})),C.prototype=_,_.constructor=C),(b||D)&&(P("delete"),P("has"),m&&P("get")),(D||y)&&P(g),v&&_.clear&&delete _.clear}return j[e]=C,r({global:!0,forced:C!=w},j),f(C,e),v||s.setStrong(C,e,m),C}},"6eb7":function(e,t,s){},"76ae":function(e,t,s){"use strict";var r=s("e9b0"),i=s.n(r);i.a},"78dc":function(e,t,s){},"7df1":function(e,t,s){"use strict";var r=s("a5b4"),i=s.n(r);i.a},"841c":function(e,t,s){"use strict";var r=s("d784"),i=s("825a"),a=s("1d80"),n=s("129f"),o=s("14c3");r("search",1,(function(e,t,s){return[function(t){var s=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,s):new RegExp(t)[e](String(s))},function(e){var r=s(t,e,this);if(r.done)return r.value;var a=i(e),l=String(this),c=a.lastIndex;n(c,0)||(a.lastIndex=0);var u=o(a,l);return n(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},"8fc1":function(e,t,s){"use strict";var r=s("99ab"),i=s.n(r);i.a},"98de":function(e,t,s){},"99ab":function(e,t,s){},"9d0d":function(e,t,s){"use strict";var r=s("cf15"),i=s.n(r);i.a},a06e:function(e,t,s){"use strict";s.d(t,"d",(function(){return a})),s.d(t,"c",(function(){return o})),s.d(t,"b",(function(){return c})),s.d(t,"a",(function(){return d})),s.d(t,"e",(function(){return f}));s("96cf");var r=s("1da1"),i=s("b775");function a(e){return n.apply(this,arguments)}function n(){return n=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/queryProjectListByUserId",{userId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/editProject",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/assignedWork",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/searchProject",{projName:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},a5b4:function(e,t,s){},ab13:function(e,t,s){var r=s("b622"),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(s){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},b0f9:function(e,t,s){"use strict";s.d(t,"o",(function(){return a})),s.d(t,"m",(function(){return o})),s.d(t,"t",(function(){return c})),s.d(t,"d",(function(){return d})),s.d(t,"n",(function(){return f})),s.d(t,"q",(function(){return m})),s.d(t,"f",(function(){return g})),s.d(t,"s",(function(){return _})),s.d(t,"l",(function(){return j})),s.d(t,"k",(function(){return S})),s.d(t,"b",(function(){return b})),s.d(t,"p",(function(){return D})),s.d(t,"j",(function(){return U})),s.d(t,"h",(function(){return N})),s.d(t,"i",(function(){return A})),s.d(t,"a",(function(){return B})),s.d(t,"g",(function(){return O})),s.d(t,"c",(function(){return L})),s.d(t,"e",(function(){return $})),s.d(t,"r",(function(){return z}));s("96cf");var r=s("1da1"),i=s("b775");function a(){return n.apply(this,arguments)}function n(){return n=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function m(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/updateTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function j(e){return P.apply(this,arguments)}function P(){return P=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function S(e){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function b(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/connectNestTemplateFolder",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function D(e){return I.apply(this,arguments)}function I(){return I=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function U(e,t,s){return x.apply(this,arguments)}function x(){return x=Object(r["a"])(regeneratorRuntime.mark((function e(t,s,r){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:s,nestedNodeId:r});case 2:return a=e.sent,e.abrupt("return",Object(i["c"])(a));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function N(e){return T.apply(this,arguments)}function T(){return T=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/fileExchange",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function A(e){return F.apply(this,arguments)}function F(){return F=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function B(e){return M.apply(this,arguments)}function M(){return M=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/addTemplateNodeModelFile",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function O(e){return E.apply(this,arguments)}function E(){return E=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function L(e){return W.apply(this,arguments)}function W(){return W=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/createNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function $(e){return R.apply(this,arguments)}function R(){return R=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function z(e){return H.apply(this,arguments)}function H(){return H=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/renameTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}},bb2f:function(e,t,s){var r=s("d039");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c704:function(e,t,s){},c95a:function(e,t,s){"use strict";var r=s("5122"),i=s.n(r);i.a},caad:function(e,t,s){"use strict";var r=s("23e7"),i=s("4d64").includes,a=s("44d2"),n=s("ae40"),o=n("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!o},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cf15:function(e,t,s){},d5e1:function(e,t,s){"use strict";var r=s("78dc"),i=s.n(r);i.a},d614:function(e,t,s){"use strict";var r=s("c704"),i=s.n(r);i.a},db90:function(e,t,s){"use strict";s.d(t,"a",(function(){return r}));s("a4d3"),s("e01a"),s("d28b"),s("a630"),s("d3b7"),s("3ca3"),s("ddb0");function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},e9b0:function(e,t,s){},ec82:function(e,t,s){"use strict";var r=s("6d1d"),i=s.n(r);i.a},f044:function(e,t,s){"use strict";var r=s("98de"),i=s.n(r);i.a},f183:function(e,t,s){var r=s("d012"),i=s("861d"),a=s("5135"),n=s("9bf2").f,o=s("90e3"),l=s("bb2f"),c=o("meta"),u=0,d=Object.isExtensible||function(){return!0},h=function(e){n(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,c)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[c].objectID},p=function(e,t){if(!a(e,c)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[c].weakData},m=function(e){return l&&v.REQUIRED&&d(e)&&!a(e,c)&&h(e),e},v=e.exports={REQUIRED:!1,fastKey:f,getWeakData:p,onFreeze:m};r[c]=!0},f96e:function(e,t,s){"use strict";var r=s("01a8");s.d(t,"a",(function(){return r["a"]}))},fabf:function(e,t,s){}}]);
\ No newline at end of file
diff --git a/static/js/chunk-6cb025ae.b77419fd.js b/static/js/chunk-6cb025ae.b96f0205.js
similarity index 100%
rename from static/js/chunk-6cb025ae.b77419fd.js
rename to static/js/chunk-6cb025ae.b96f0205.js
diff --git a/static/js/chunk-74b26ff1.19058c6a.js b/static/js/chunk-74b26ff1.5a929340.js
similarity index 100%
rename from static/js/chunk-74b26ff1.19058c6a.js
rename to static/js/chunk-74b26ff1.5a929340.js
diff --git a/static/js/chunk-78390ace.887dc9d4.js b/static/js/chunk-78390ace.35745896.js
similarity index 86%
rename from static/js/chunk-78390ace.887dc9d4.js
rename to static/js/chunk-78390ace.35745896.js
index 23b64f7b..51295e54 100644
--- a/static/js/chunk-78390ace.887dc9d4.js
+++ b/static/js/chunk-78390ace.35745896.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78390ace"],{"498a":function(e,t,a){"use strict";var i=a("23e7"),s=a("58a8").trim,n=a("c8d2");i({target:"String",proto:!0,forced:n("trim")},{trim:function(){return s(this)}})},"81b5":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"layout_content template-list"},[a("section",{staticClass:"title_section"},[e._m(0),e._m(1),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"fr"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"fl"},[a("div",{staticClass:"yiyun_col-12 ce text_concenter"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"矩阵搜索","prefix-icon":"icon font_family icon-icon_sousuo searchsize"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searhTempNode(t)}},model:{value:e.searhNodeName,callback:function(t){e.searhNodeName=t},expression:"searhNodeName"}})],1)])])])]),a("section",{staticClass:"yiyun_section1"},[a("div",{staticClass:"fl_navBox",on:{contextmenu:function(t){return e.treeSpaceMenu(t)}}},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"admininput_search"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"搜索名称","prefix-icon":"Cicon icon font_family icon-icon_sousuo iconsize_mini"},model:{value:e.filterTreeText,callback:function(t){e.filterTreeText=t},expression:"filterTreeText"}})],1),a("div",{staticClass:"navtreebox"},[a("el-tree",{ref:"tree",attrs:{data:e.listTemplateTree,"default-expand-all":!0,"node-key":"id","expand-on-click-node":!1,"filter-node-method":e.filterTreeNode,indent:8,"highlight-current":!0},on:{"node-contextmenu":e.treeRightClick,"node-click":e.getTempNameAndData},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,s=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{staticClass:"sanjiaow"},["default"==s.id?a("i",{staticClass:"el-icon-models"}):e._e(),0==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop"}):e._e(),1==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-icon-models"}):e._e(),a("span",[e._v(e._s(s.label))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==s.isLeaf,expression:"data.isLeaf == false"}],staticClass:"fr rightdrop"},[a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more morebtn"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:1==s.data.level,expression:"data.data.level == 1"}],on:{click:e.createLargeIndustry}},[e._v("新增大行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level<=2,expression:"data.data.level <= 2"}],on:{click:function(t){return e.createChildIndustry(s.data)}}},[e._v("新增子行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level>1,expression:"data.data.level > 1"}],on:{click:function(t){return e.createNextChildIndustry(s.data)}}},[e._v("新增细分行业")])]),a("el-dropdown-item",[a("span",{on:{click:function(t){return e.deleteIndustry(s)}}},[e._v("删除")])])],1)],1)],1)])}}])})],1),a("div",{staticClass:"bottombtn",on:{click:e.createInsertTemplate}},[e._v("新增模板")])])])]),a("div",{staticClass:"fl_contentBox"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.contentpain,expression:"contentpain == 1"}],staticClass:"admin_contentBox_body",on:{contextmenu:function(t){return e.tableSpaceMenu(t)}}},[1==e.mainPane?a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[e.eidtModelpane?e._e():a("h4",{staticClass:"admintitle"},[e._v(" "+e._s(e.templateName)+" ")]),e.eidtModelpane?a("h4",{staticClass:"admintitle"},[e._v(" 编辑:"+e._s(e.templateName)+" ")]):e._e()]),e._m(2),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"topoption"},[a("div",{staticClass:"fl"},[e.eidtModelpane?e._e():a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.editmodelInfo}},[e._v(" 编辑 ")]),e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.cancelEdit}},[e._v(" 退出 ")]):e._e(),e.eidtModelpane?a("el-button",{attrs:{type:"primary"},on:{click:e.savemodelInfo}},[e._v("保存")]):e._e()],1),a("div",{staticClass:"fr"},[e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.delTemplateClick}},[e._v(" 删除模板 ")]):e._e()])])])]),a("div",{staticClass:"clear"}),e.isShowTempInfo?a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"listCardIcon mt-30"},[a("div",[a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goNodeFile}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("样板文件管理")]),a("img",{attrs:{src:"/static\\img\\card_0.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMind}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("思维导图查看器")]),a("img",{attrs:{src:"/static/img/card_2.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMatrix}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("矩阵编辑器")]),a("img",{attrs:{src:"/static/img/card_3.png",alt:""}})])])])]),a("div",{staticClass:"clear"}),a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{"label-width":"90px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item mt-40"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.TempName)+" ")])])],1)]),a("div",{staticClass:"clear"}),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.FirstIndustryId])+" ")])])],1)]):e._e(),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.DetailIndustryId])+" ")])])],1)]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模版编码"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.FullCode)+" ")])])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定状态"}},[a("div",[0==e.currentTemplateData.Temple.Locked?a("span",[e._v("未锁定")]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",[e._v("已锁定")]):e._e(),a("div",{staticClass:"fr"},[0==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e()])])])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板简介"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.Introduce)+" ")])])],1)])])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板数据")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"使用数:"}},[a("div",[e._v(e._s(e.nowCount)+" 个项目")])])],1)]),a("div",{staticClass:"clear"})])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[e._l(e.currentTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",[e._v(e._s(t.PropertyName))])])],1)])})),a("div",{staticClass:"clear"})],2)])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),e.eidtModelpane?a("div",{staticClass:"largecontentBox"},[a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"tempform",attrs:{model:e.editTemplateData,rules:e.templateRules,"label-width":"120px","label-position":"right"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"textlabelblock UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称:",prop:"Temple.TempName"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"模板名称"},model:{value:e.editTemplateData.Temple.TempName,callback:function(t){e.$set(e.editTemplateData.Temple,"TempName",t)},expression:"editTemplateData.Temple.TempName"}})],1)])],1)]),e.editTemplateData.Temple.Id?e._e():a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"XMind文件:",required:""}},[a("div",{staticClass:"boolEdit_Input"},[a("div",[a("file-uploader",{attrs:{"http-request":e.uploadXMindFile,"on-success":e.onUploadSuccess}},[a("el-button",[e._v("上传XMind文件")])],1)],1)])])],1)]),a("div",{staticClass:"clear"}),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"启用模板:"}},[a("div",{staticClass:"boolEdit_Input"},[a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"0","inactive-value":"1"},model:{value:e.editTemplateData.Temple.Disable,callback:function(t){e.$set(e.editTemplateData.Temple,"Disable",t)},expression:"\n editTemplateData.Temple.Disable\n "}})],1)])])],1)]):e._e(),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定模板:"}},[a("div",{staticClass:"boolEdit_Input"},[0==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e(),a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"1","inactive-value":"0"},model:{value:e.editTemplateData.Temple.Locked,callback:function(t){e.$set(e.editTemplateData.Temple,"Locked",t)},expression:"editTemplateData.Temple.Locked"}})],1)])])],1)]):e._e(),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业:",prop:"Temple.FirstIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getSonIndustry},model:{value:e.editTemplateData.Temple.FirstIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"FirstIndustryId",t)},expression:"\n editTemplateData.Temple.FirstIndustryId\n "}},e._l(e.topIndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业:",prop:"Temple.DetailIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"子行业名称"},model:{value:e.editTemplateData.Temple.DetailIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"DetailIndustryId",t)},expression:"editTemplateData.Temple.DetailIndustryId"}},e._l(e.level2IndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"细分行业:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"细分行业"},model:{value:e.editTemplateData.IndLevel3,callback:function(t){e.$set(e.editTemplateData,"IndLevel3",t)},expression:"editTemplateData.IndLevel3"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"自定义"},model:{value:e.editTemplateData.IndLevel4,callback:function(t){e.$set(e.editTemplateData,"IndLevel4",t)},expression:"editTemplateData.IndLevel4"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"介绍:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"请输入模板简介"},model:{value:e.editTemplateData.Temple.Introduce,callback:function(t){e.$set(e.editTemplateData.Temple,"Introduce",t)},expression:"\n editTemplateData.Temple.Introduce\n "}})],1)])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"yiyun_col-12"},[e._l(e.editTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input noshodow"},[a("el-input",{attrs:{autofocus:!0},model:{value:t.PropertyName,callback:function(a){e.$set(t,"PropertyName",a)},expression:"item.PropertyName"}},[a("i",{staticClass:"el-icon-close el-input__icon deletIocn",attrs:{slot:"suffix",title:"删除"},on:{click:function(a){return e.removeProperty(t,e.editTemplateData)}},slot:"suffix"})])],1)])],1)])])})),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-button",{staticClass:"defualtLarge block-btn",on:{click:function(t){return e.addProperty(e.editTemplateData)}}},[e._v("新增填写项目")])],1)])],1)])])],2),a("div",{staticClass:"clear"})])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(3),e._m(4),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(5),e._m(6),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[a("i",{staticClass:"backprevIcon el-icon-arrow-left"})])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2)],1),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2),void 0],2),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(9),e._m(10),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(11),e._m(12),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n0?a("span",{staticClass:"processCss"},[e._v(e._s(t.row.count))]):e._e(),t.row.count>0?a("el-progress",{staticClass:"currZindex",attrs:{"text-inside":!0,"stroke-width":24,percentage:Math.round(t.row.count/t.row.totalCount*100),"show-text":!1,color:Math.round(t.row.count/t.row.totalCount*100)>=60?"#4A90E2":Math.round(t.row.count/t.row.totalCount*100)>=30?"#4AE2A6":Math.round(t.row.count/t.row.totalCount*100)>0?"#F8D12A":"white"}}):e._e()]}}])})],1)],1)])])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.treeMenuVisible,expression:"treeMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"treeMenu"}},[a("li",{staticClass:"menu__item",on:{click:function(t){return t.stopPropagation(),e.reNameTemplate(t)}}},[e._v("重命名节点")])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.tableMenuVisible,expression:"tableMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"tableMenu"}},[a("li",{staticClass:"menu__item",on:{click:e.newInsertFolder}},[e._v("新增文件夹")]),a("li",{staticClass:"menu__item",on:{click:function(t){return e.reNameFolder(1)}}},[e._v("重命名")]),a("li",{staticClass:"menu__item",on:{click:e.delFolder}},[e._v("删除")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"treeSpaceMenu",show:e.treeSpaceMenuVisible},on:{"update:show":function(t){return e.treeSpaceMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item",on:{click:e.createInsertTemplate}},[e._v("新增模板")]),a("li",{staticClass:"menu__item",on:{click:e.createLargeIndustry}},[e._v("新增行业")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"MatrixLookInfoMenu",show:e.MatrixLookInfoMenuVisible},on:{"update:show":function(t){return e.MatrixLookInfoMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixVerticalName))]),a("li",{staticClass:"menu__item"},[a("el-button",{class:e.btnMatrixLookInfo,on:{click:e.matrixRightNodeClick}},[e._v("输出数据")])],1),a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixHorizontalName))])])]),a("el-dialog",{staticStyle:{"margin-top":"8%"},attrs:{visible:e.isImportDialog,width:"28%","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:""},on:{"update:visible":function(t){e.isImportDialog=t}}},[a("el-form",{staticClass:"editnone el-form-item__label",staticStyle:{"margin-left":"10%"}},[a("el-form-item",{attrs:{label:"模板名称:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{model:{value:e.importTempName,callback:function(t){e.importTempName=t},expression:"importTempName"}})],1)]),a("el-form-item",{attrs:{label:"已选文件:"}},[a("el-input",{attrs:{disabled:!0},model:{value:e.importXmindName,callback:function(t){e.importXmindName=t},expression:"importXmindName"}})],1),a("div",{staticClass:"upHeadImg",staticStyle:{"margin-bottom":"30px"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.cancelImport()}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.enterImport()}}},[e._v("确 定")])],1)],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"adminnavBox"},[a("h3",[e._v("模板列表")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"EC_searchBox"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v(" 列表查看模式 ")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("总体概况")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])}],n=(a("99af"),a("4de4"),a("4160"),a("c975"),a("a15b"),a("baa5"),a("d81d"),a("13d5"),a("fb6a"),a("a434"),a("b0c0"),a("d3b7"),a("ac1f"),a("3ca3"),a("5319"),a("1276"),a("498a"),a("159b"),a("ddb0"),a("5530")),r=a("3835"),l=(a("96cf"),a("1da1")),o=a("b0f9"),c=a("b3b1"),u=a("9e5b"),d=a("3de1"),m=a("2ef0"),p=a("b775"),f={components:{FileUploader:u["a"]},data:function(){return{isShowEditBtn:!0,isShowSaveBtn:!1,isImportDialog:!1,eidtFiles:!1,treeMenuVisible:!1,treeSpaceMenuVisible:!1,tableMenuVisible:!1,tableSpaceMenuVisible:!1,MatrixLookInfoMenuVisible:!1,isShowZoom:!1,isShowMindTemplatePane:!1,isShowListTemplatePane:!0,isShowMatrixTemplatePane:!1,isShowLookIndustryInfo:!1,isShowNewIndustry:!1,isShowBigIndustry:!1,isShowSonIndustry:!1,isShowModelpanel:!1,isShowXmindBtn:!1,isShowTempInfo:!1,boolEdit:!1,el_formLabelcolor:"textlabelgray",listTemplateTree:[],listWorkFolderTable:[],breadcrumb_item:[{nodeName:"全部"}],contentpain:"1",templateID:"",templateName:"",superID:"",treeMenuClickData:[],tableMenuClickData:[],tableRightEventData:[],listTemplateMindTree:[],listMatirxPermission:[],matrixRightNodeData:"",createIndustryName:"",listBigIndustry:[],listSonIndustry:[],listDetailIndustry:[],listTemplateClassify:[],listTempProp:[],listTempIndustury:[],selectBigIndustryIndex:"",selectSonIndustryIndex:"",selectDetailIndustryIndex:"",currTemplateFullCode:"",industryName:"",industryCode:"",lookIndustryBigName:"",lookIndustryCode:"",lookIndustrySonName:"",newTemplateCustomCode:"",listProperty:[],introduce:"",newTemplateName:"",searhNodeName:"",mindZoom:.8,filterTreeText:"",chunkUploadUrl:"/api/webupload/chunks",uploadProjId:"123456852963",uploadCompId:sessionStorage.companyId,uploadTypeCover:2,uploadCoverTimes:0,importUrl:"",importTempName:"",importXmindName:"",uploadLabel:"选择XMind文件",matrixVerticalName:"",matrixHorizontalName:"",btnMatrixLookInfo:"martixLeaveColor",templateRules:{"Temple.TempName":[{required:!0,message:"请输入模板名称",trigger:["blur","change"]}],"Temple.FirstIndustryId":[{required:!0,message:"请选择大行业",trigger:"change"}],"Temple.DetailIndustryId":[{required:!0,message:"请选择子行业",trigger:"change"}]},editTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},currentTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},eidtModelpane:!1,ModelForm:{mName:"",used:!1,clock:!1,mparentType:"",mchildType:"",mgrandsonType:"",mcode:"",mNumber:"",mDesc:"",mself_1:"",mself_2:"",mself_3:"",mself_4:""},mainPane:"1",arrayIndustryID:[],loading:!1,nowCount:0,allIndList:[],topIndList:[],level2IndList:[],mapIndIdToIndName:{},mapIndIdToIndNode:{},isXimdUpLoadSuccess:!1}},created:function(){this.getListTemplateClassify(),this.getTemplateData()},methods:{getTempNameAndData:function(e,t){if(this.isShowIndustry(),"default"==e.id)this.contentpain=3;else if("template"===e.type){this.eidtModelpane&&this.cancelEdit();var a=e;this.contentpain=1,this.templateName=a.label,this.templateID=a.id,this.treeMenuClickData=a,this.getTemplateDetail(a.id),this.listMatirxPermission=[],this.breadcrumb_item=[{nodeName:"全部"}],this.isShowTempInfo=!0,this.nowCount=0}else{this.contentpain=2;var i=e,s=i.data.LevelId,n=s.split("-");if(n.length>0){var r=this.$refs.tree.getNode(n[0]);this.lookIndustryBigName=r.label}if(n.length>1){var l=this.$refs.tree.getNode(n[1]);this.lookIndustrySonName=l.label,this.lookIndustryCode=l.data.data.code}this.createIndustryName=i.label,this.isShowLookIndustryInfo=!0,this.selectBigIndustryIndex=0}},getListTemplateClassify:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("template/queryTemplateQuoteCount");case 2:a=t.sent,Object(p["c"])(a),i=a.Data||[],s=i.reduce((function(e,t){return(t.Count||0)+e}),0),e.listTemplateClassify=i.map((function(e){return{tempName:e.TempName,count:e.Count,totalCount:s}}));case 7:case"end":return t.stop()}}),t)})))()},getFolderNodeData:function(e){this.getFolderData(e.nodeID,e.templateID),this.templateID=e.templateID,this.breadcrumb_item.push(e)},getbreadcrumb:function(e,t){this.breadcrumb_item.length-1!=t&&("全部"==e.nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(e.nodeID,e.templateID));for(var a=0;at&&this.breadcrumb_item.splice(a)},backUp:function(){var e=this.breadcrumb_item.length-2;"全部"==this.breadcrumb_item[e].nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(this.breadcrumb_item[e].nodeID,this.breadcrumb_item[e].templateID),this.breadcrumb_item.splice(this.breadcrumb_item.length-1)},matirxMouseEnter:function(e,t){this.MatrixLookInfoMenuVisible=!1,this.mousueCheckChangeColor(e,"orange")},mousueCheckChangeColor:function(e,t){var a="";"orange"==t?a="2px solid orange":"green"==t&&(a="2px solid green");for(var i=0;i50)t.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500});else{var s={templateID:t.templateID,superID:t.superID,nodeName:i,createUserID:sessionStorage.userId,modifyUserID:sessionStorage.userId};e.$axios({method:"post",url:encodeURI("/api/Templates/nodes"),data:s}).then((function(e){1==e.data.state?(t.$notify({message:"文件夹创建成功",type:["success"],duration:2500}),t.getFolderData(t.superID,t.templateID)):t.$notify({message:e.data.message,type:["error"],duration:2500})})).catch((function(e){console.log(e)}))}}))},modifyTemplate:function(){var e=this,t=this;t.$refs["tempform"].validate(function(){var a=Object(l["a"])(regeneratorRuntime.mark((function a(i){var s,n,r,l,c,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i){a.next=2;break}return a.abrupt("return");case 2:if(s=Object(m["cloneDeep"])(e.editTemplateData),n=s.TempleProperties,r=!!s.Temple.Id,l=r?"编辑":"创建",r||s.Node&&0!==s.Node.length){a.next=9;break}return d["d"].warning("Xmind文件尚未上传。"),a.abrupt("return");case 9:return r&&(s.Temple.Disable=+s.Temple.Disable,s.Temple.Locked=+s.Temple.Locked),s.ChildIndustry=[s.IndLevel3,s.IndLevel4].filter((function(e){return e})).join(","),s.Templepeoperty=n.map((function(e){return e.PropertyName})).join(","),e.loading=!0,a.next=15,r?o["r"](s):o["d"](s);case 15:if(c=a.sent,t.loading=!1,0===c.Code){a.next=19;break}return a.abrupt("return");case 19:u=e.editTemplateData.Temple.TempName||"",d["d"].success("模板“".concat(u,"”").concat(l,"完成。")),r?(e.treeMenuClickData.data.tempName=e.editTemplateData.Temple.TempName,e.treeMenuClickData.label=e.editTemplateData.Temple.TempName,e.templateName=e.editTemplateData.Temple.TempName,e.isShowTempInfo=!0,e.eidtModelpane=!1,e.currentTemplateData=e.editTemplateData):(t.isShowModelpanel=!1,t.isShowLookIndustryInfo=!0,t.getTemplateData(),t.getListTemplateClassify());case 22:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}())},reNameFolder:function(e){var t=this,a=this;1!=e&&(a.tableMenuClickData=e);var i=a.tableMenuClickData;this.$prompt("当前文件夹名称: "+i.nodeName,"重命名",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"名称不能为空"}).then((function(e){var s=e.value;s.trim().length>50?a.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500}):(i.nodeName=s,t.$axios({method:"put",url:encodeURI("/api/Templates/nodes/"),data:i}).then((function(e){1==e.data.state&&a.$notify({message:"重命名成功",type:["success"],offset:100,duration:2500})})).catch((function(e){console.log(e)})))})).catch((function(){a.$notify.warning({message:"操作已取消",offset:100,duration:2500})})),this.tableMenuClickData=[]},delFolder:function(e){var t=this,a=this;0==a.tableMenuClickData.length&&(a.tableMenuClickData=e);var i=a.tableMenuClickData.nodeName,s=a.tableMenuClickData.nodeID,n=a.tableMenuClickData.superID,r=a.tableMenuClickData.templateID;this.$confirm("您正在删除 "+i+" 文件夹是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$axios({method:"delete",url:encodeURI("/api/Templates/nodes/"+s+"/"+i+"/"+sessionStorage.userId)}).then((function(e){a.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),a.getFolderData(n,r)})).catch((function(e){console.log(e)}))})),this.tableMenuClickData=[]},reNameTemplate:function(){var e,t,a=this,i=this;1==i.treeMenuClickData.isLeaf?(e=i.treeMenuClickData.data.tempName,t="模板重命名"):(e=i.treeMenuClickData.data.name,t="行业重命名"),this.$prompt("当前名称: "+i.treeMenuClickData.label,t,{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputValue:e,inputErrorMessage:"名称不能为空"}).then(function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(t){var s,n,r,l,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.value,1!=i.treeMenuClickData.isLeaf){e.next=9;break}return n={id:i.treeMenuClickData.id,tempName:s},e.next=5,o["q"](n);case 5:r=e.sent,0==r.Code&&(a.$notify({message:"模板重命名成功",type:"success"}),i.treeMenuClickData.data.tempName=s,a.currentTemplateData.Temple.TempName=s,a.templateName=s,i.treeMenuClickData.label=s),e.next=14;break;case 9:return l={id:i.treeMenuClickData.id,industryName:s},e.next=12,Object(c["b"])(l);case 12:u=e.sent,0==u.Code&&(a.$notify({message:"行业重命名成功",type:"success"}),i.treeMenuClickData.data.name=s,i.createIndustryName=s,i.treeMenuClickData.label=s);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){i.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},disableTemplate:function(){var e=this,t=this;this.$confirm("当前模板名称: "+t.treeMenuClickData.tempName,"禁用",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.treeMenuClickData.disable=1,e.$axios({method:"put",url:encodeURI("/api/Templates/"),data:t.treeMenuClickData}).then((function(e){1==e.data.state&&t.$notify({message:"禁用模板成功",type:["success"],offset:100,duration:2500}),t.getTemplateData()})).catch((function(e){console.log(e)}))})).catch((function(){t.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},delTemplate:function(){var e=this;if(0!=this.treeMenuClickData.isLeaf){var t=this;this.$confirm("您正在删除 "+t.treeMenuClickData.label+" 模板是否继续?","删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$axios({method:"delete",url:encodeURI("/api/Templates/"+t.treeMenuClickData.data.templateID+"/"+t.treeMenuClickData.label+"/"+sessionStorage.userId)}).then((function(e){t.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),t.$refs.tree.remove(t.treeMenuClickData)})).catch((function(e){console.log(e)}))}))}else this.deleteIndustry(this.treeMenuClickData)},delTemplateClick:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentTemplateData,i=a.Temple.Id,t.next=4,o["p"](i);case 4:if(s=t.sent,n=a.Temple.TempName||"",!(0==s.Code&&s.Data>0)){t.next=9;break}return e.$notify({type:["error"],message:"当前有项目使用该模板 无法删除模板"}),t.abrupt("return");case 9:e.$confirm("您正在删除 ["+n+"] 模板是否继续?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(l["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["f"](a.Temple.Id);case 2:if(i=t.sent,0===i.Code){t.next=5;break}return t.abrupt("return");case 5:d["d"].success("模板“".concat(n,"”删除成功")),e.getTemplateData(),e.getListTemplateClassify();case 8:case"end":return t.stop()}}),t)}))));case 10:case"end":return t.stop()}}),t)})))()},importXmind:function(){this.isImportDialog=!0,this.importXmindName="",this.importTempName="",this.importUrl=""},enterImport:function(){var e=this,t="",a="";if(0==this.treeMenuClickData.isLeaf&&3==this.treeMenuClickData.data.level){var i=this.treeMenuClickData.data.levelID.split("-");t=i[0],a=i[2]}else 1==this.treeMenuClickData.isLeaf&&(t=this.treeMenuClickData.data.firstIndustryID,a=this.treeMenuClickData.data.detailIndustryID);var s=this;if(s.uploadCoverTimes>0){var n={xMindFilePath:s.importUrl.replace("\\","\\\\"),tempName:s.importTempName,type:0,firstIndustryID:t,detailIndustryID:a,companyId:sessionStorage.companyId,userId:sessionStorage.userId};this.$axios({method:"post",url:encodeURI("/api/templates/XMind"),data:n}).then((function(t){s.$notify({message:t.data.message,type:["success"],offset:100,duration:2500}),e.isImportDialog=!1,e.getTemplateData()})).catch((function(e){console.log(e)}))}},getMatirxPermission:function(){var e=this,t=this;this.$axios({method:"get",url:encodeURI("/api/templates/nodes/tree/"+t.templateID)}).then((function(a){for(var i=a.data,s=0;s0)for(var t=0;t1800?e.style.left=event.clientX-100+"px":e.style.left=event.clientX+1+"px",document.addEventListener("click",this.foo),event.clientY>700?1==this.treeMenuVisible?e.style.top=event.clientY-150+"px":1==this.MatrixLookInfoMenuVisible?e.style.top=event.clientY-100+"px":e.style.top=event.clientY-30+"px":e.style.top=event.clientY-10+"px"},coverUploadSuccess:function(e){this.uploadCoverTimes=this.uploadCoverTimes+1,this.importUrl=e.filePath,this.importXmindName=e.fileName},uploadXMindFile:function(e){var t=e.file;return o["s"](t)},onUploadSuccess:function(e){var t=e.response;0===t.Code?(d["d"].success("Xmind文件解析成功。"),this.editTemplateData.Node=t.Data,this.isXimdUpLoadSuccess=!0):d["d"].warning("请上传正确的Xmind文件。")},createLargeIndustry:function(){this.isShowIndustry(),this.createIndustryName="新增大行业",this.isShowNewIndustry=!0},createChildIndustry:function(e){var t;switch(this.isShowIndustry(),this.createIndustryName="新增子行业",this.isShowBigIndustry=!0,this.isShowNewIndustry=!0,e.level){case 1:t=this.$refs.tree.getNode(e.industryID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break;case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break}},createNextChildIndustry:function(e){var t,a;switch(this.isShowIndustry(),this.createIndustryName="新增细分行业",this.isShowBigIndustry=!0,this.isShowSonIndustry=!0,this.isShowNewIndustry=!0,e.level){case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,a=this.$refs.tree.getNode(e.industryID),this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break;case 3:a=this.$refs.tree.getNode(e.superID),t=this.$refs.tree.getNode(a.data.data.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break}},createInsertTemplate:function(){this.isShowIndustry(),this.importXmindName="",this.createIndustryName="新增模板",this.isShowModelpanel=!0,this.isXimdUpLoadSuccess=!1},isShowIndustry:function(){this.contentpain="2",this.isShowNewIndustry=!1,this.isShowBigIndustry=!1,this.isShowSonIndustry=!1,this.isShowModelpanel=!1,this.isShowLookIndustryInfo=!1,this.isShowTempInfo=!1,this.clearNewInsertInfo()},cacelNewInfustry:function(){this.isShowNewIndustry=!1,this.isShowLookIndustryInfo=!0},cacelInsertTemplate:function(){var e=this;this.$confirm("取消操作会清除当前所填写的模板信息,是否确认取消?","",{confirmButtonText:"确定",cancelButtonText:"返回",type:"warning",showClose:!1}).then((function(){e.isShowModelpanel=!1,e.isShowLookIndustryInfo=!1,e.getListTemplateClassify(),e.contentpain=3}))},clearNewInsertInfo:function(){this.listBigIndustry=[],this.listSonIndustry=[],this.listDetailIndustry=[],this.listProperty=[],this.industryName="",this.industryCode="",this.selectSonIndustryIndex="",this.selectDetailIndustryIndex="",this.selectBigIndustryIndex="",this.newTemplateName="",this.newTemplateCustomCode="",this.currTemplateFullCode="",this.currentTemplateData={Temple:{},TempleProperties:[]},this.editTemplateData={Temple:{},TempleProperties:[]}},getSonIndustry:function(e){this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e})),this.currentTemplateData.Temple.DetailIndustryId=void 0,this.editTemplateData.Temple.DetailIndustryId=void 0},refreshFormData:function(){this.editTemplateData.Temple=Object(n["a"])({},this.editTemplateData.Temple)},filterTreeNode:function(e,t){return!e||-1!==t.label.indexOf(e)},addProperty:function(e){var t={PropertyName:"",Id:"".concat(Math.random()).slice(2,6),CreateTime:new Date};e.TempleProperties.push(t)},removeProperty:function(e,t){t.TempleProperties=t.TempleProperties.filter((function(t){return t!==e}))},editmodelInfo:function(){this.isShowTempInfo=!1,this.eidtModelpane=!0;var e=this.editTemplateData=Object(m["cloneDeep"])(this.currentTemplateData);this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e.Temple.FirstIndustryId}))},cancelEdit:function(){this.isShowTempInfo=!0,this.eidtModelpane=!1},savemodelInfo:function(){this.modifyTemplate("editTemplateForm")},goscanList:function(){this.mainPane="2"},goNodeFile:function(){this.$router.push({name:"system_template_file",params:{id:this.templateID,data:this.treeMenuClickData}})},goscanMind:function(){sessionStorage.templateID=this.templateID,this.$router.push({name:"system_template_mind",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},goscanMatrix:function(){this.$router.push({name:"system_template_matrix",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},backmodlemain:function(){this.mainPane="1"},toNodeFile:function(){var e=this.currentTemplateData;this.$router.push({name:"system_template_file",params:{id:e.Temple.Id,data:e.Temple}})},getTemplateDetail:function(e){var t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var i,s,n,l,c,u,d,m,p,f,h,v,b;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Promise.all([o["m"](e),o["p"](e)]);case 2:if(i=a.sent,s=Object(r["a"])(i,2),n=s[0],l=s[1],c=t.mapIndIdToIndNode,t.nowCount=l.Data||0,0===n.Code){a.next=10;break}return a.abrupt("return");case 10:u=n.Data,d=u.propertys,m=u.template,p=d.map((function(e){return e.Id=e.Id||e.PropertyName,e})),f=t.currentTemplateData={Temple:m,TempleProperties:p},h=m.CustomCode,h&&"0"!==h&&(v=c[h],4===v.data.Level?(f.IndLevel4=v.label,b=c[v.parentId],f.IndLevel3=b.label):f.IndLevel3=v.label),f.Temple.Disable="".concat(f.Temple.Disable),f.Temple.Locked="".concat(f.Temple.Locked);case 17:case"end":return a.stop()}}),a)})))()}},watch:{filterTreeText:function(e){this.$refs.tree.filter(e)}}};function h(e,t){var a={},i=e.reduce((function(e,t){var a="0"!==t.CustomCode&&t.CustomCode?t.CustomCode:void 0,i=a||t.DetailIndustryId,s={id:t.Id,label:t.TempName,parentId:i,isLeaf:!0,type:"template",data:t};return e[i]=(e[i]||[]).concat(s),e}),{}),s=t.reduce((function(e,t){var i="0"!==t.SuperId&&t.SuperId?t.SuperId:null,s={id:t.Id,label:t.Name,parentId:i,data:t,type:"industry",children:[],isLeaf:!1};return e[0][s.id]=s,e[1].unshift(s),a[s.id]=s,i&&(e[2][i]||(e[2][i]=[]),e[2][i].push(s)),1===t.Level&&e[3].push(s),e}),[{},[],{},[]]),n=Object(r["a"])(s,4),l=n[0],o=n[1],c=n[2],u=n[3];return o.forEach((function(e){var t=c[e.id];t&&(e.children=e.children.concat(t));var a=i[e.id];if(a&&(e.children=e.children.concat(a)),0===e.children.length){var s=l[e.parentId],n=s?c[s.id]:u;n.splice(n.indexOf(e),1)}})),[u,a]}var v=f,b=(a("b764"),a("2877")),y=Object(b["a"])(v,i,s,!1,null,"d7109108",null);t["default"]=y.exports},"9e5b":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-upload",{attrs:{action:"","http-request":e.httpRequest||e.handleUpload,"before-upload":e.beforeUpload,showFileList:e.showFileList,"on-success":e.handleSuccess},scopedSlots:e._u([e._l(e.$slots,(function(t,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}))],null,!0)})},s=[],n=(a("b0c0"),a("5530")),r=a("5ab9"),l=a("2ef0"),o={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:l["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(e,t,a){e?this.onSuccess(Object(n["a"])(Object(n["a"])({},t),{},{ossUrl:e.name}),a):console.log(e,t)},beforeUpload:function(e){return console.log("fileInfo: ",e),!0},handleUpload:function(e){var t=e.file;e.onSuccess,e.onError,e.file.name;return r["b"](t.name,t)}}},c=o,u=a("2877"),d=Object(u["a"])(c,i,s,!1,null,null,null);t["a"]=d.exports},a434:function(e,t,a){"use strict";var i=a("23e7"),s=a("23cb"),n=a("a691"),r=a("50c4"),l=a("7b0b"),o=a("65f0"),c=a("8418"),u=a("1dde"),d=a("ae40"),m=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min,v=9007199254740991,b="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var a,i,u,d,m,p,y=l(this),C=r(y.length),_=s(e,C),I=arguments.length;if(0===I?a=i=0:1===I?(a=0,i=C-_):(a=I-2,i=h(f(n(t),0),C-_)),C+a-i>v)throw TypeError(b);for(u=o(y,i),d=0;dC-i+a;d--)delete y[d-1]}else if(a>i)for(d=C-i;d>_;d--)m=d+i-1,p=d+a-1,m in y?y[p]=y[m]:delete y[p];for(d=0;d1&&(r=o(r,s(arguments[1]))),r<0&&(r=a+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:c}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78390ace"],{"498a":function(e,t,a){"use strict";var i=a("23e7"),s=a("58a8").trim,n=a("c8d2");i({target:"String",proto:!0,forced:n("trim")},{trim:function(){return s(this)}})},"81b5":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"layout_content template-list"},[a("section",{staticClass:"title_section"},[e._m(0),e._m(1),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"fr"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"fl"},[a("div",{staticClass:"yiyun_col-12 ce text_concenter"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"矩阵搜索","prefix-icon":"icon font_family icon-icon_sousuo searchsize"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searhTempNode(t)}},model:{value:e.searhNodeName,callback:function(t){e.searhNodeName=t},expression:"searhNodeName"}})],1)])])])]),a("section",{staticClass:"yiyun_section1"},[a("div",{staticClass:"fl_navBox",on:{contextmenu:function(t){return e.treeSpaceMenu(t)}}},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"admininput_search"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"搜索名称","prefix-icon":"Cicon icon font_family icon-icon_sousuo iconsize_mini"},model:{value:e.filterTreeText,callback:function(t){e.filterTreeText=t},expression:"filterTreeText"}})],1),a("div",{staticClass:"navtreebox"},[a("el-tree",{ref:"tree",attrs:{data:e.listTemplateTree,"default-expand-all":!0,"node-key":"id","expand-on-click-node":!1,"filter-node-method":e.filterTreeNode,indent:8,"highlight-current":!0},on:{"node-contextmenu":e.treeRightClick,"node-click":e.getTempNameAndData},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,s=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{staticClass:"sanjiaow"},["default"==s.id?a("i",{staticClass:"el-icon-models"}):e._e(),0==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop"}):e._e(),1==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-icon-models"}):e._e(),a("span",[e._v(e._s(s.label))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==s.isLeaf,expression:"data.isLeaf == false"}],staticClass:"fr rightdrop"},[a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more morebtn"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:1==s.data.level,expression:"data.data.level == 1"}],on:{click:e.createLargeIndustry}},[e._v("新增大行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level<=2,expression:"data.data.level <= 2"}],on:{click:function(t){return e.createChildIndustry(s.data)}}},[e._v("新增子行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level>1,expression:"data.data.level > 1"}],on:{click:function(t){return e.createNextChildIndustry(s.data)}}},[e._v("新增细分行业")])]),a("el-dropdown-item",[a("span",{on:{click:function(t){return e.deleteIndustry(s)}}},[e._v("删除")])])],1)],1)],1)])}}])})],1),a("div",{staticClass:"bottombtn",on:{click:e.createInsertTemplate}},[e._v("新增模板")])])])]),a("div",{staticClass:"fl_contentBox"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.contentpain,expression:"contentpain == 1"}],staticClass:"admin_contentBox_body",on:{contextmenu:function(t){return e.tableSpaceMenu(t)}}},[1==e.mainPane?a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[e.eidtModelpane?e._e():a("h4",{staticClass:"admintitle"},[e._v(" "+e._s(e.templateName)+" ")]),e.eidtModelpane?a("h4",{staticClass:"admintitle"},[e._v(" 编辑:"+e._s(e.templateName)+" ")]):e._e()]),e._m(2),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"topoption"},[a("div",{staticClass:"fl"},[e.eidtModelpane?e._e():a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.editmodelInfo}},[e._v(" 编辑 ")]),e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.cancelEdit}},[e._v(" 退出 ")]):e._e(),e.eidtModelpane?a("el-button",{attrs:{type:"primary"},on:{click:e.savemodelInfo}},[e._v("保存")]):e._e()],1),a("div",{staticClass:"fr"},[e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.delTemplateClick}},[e._v(" 删除模板 ")]):e._e()])])])]),a("div",{staticClass:"clear"}),e.isShowTempInfo?a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"listCardIcon mt-30"},[a("div",[a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goNodeFile}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("样板文件管理")]),a("img",{attrs:{src:"/static\\img\\card_0.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMind}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("思维导图查看器")]),a("img",{attrs:{src:"/static/img/card_2.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMatrix}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("矩阵编辑器")]),a("img",{attrs:{src:"/static/img/card_3.png",alt:""}})])])])]),a("div",{staticClass:"clear"}),a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{"label-width":"90px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item mt-40"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.TempName)+" ")])])],1)]),a("div",{staticClass:"clear"}),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.FirstIndustryId])+" ")])])],1)]):e._e(),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.DetailIndustryId])+" ")])])],1)]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模版编码"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.FullCode)+" ")])])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定状态"}},[a("div",[0==e.currentTemplateData.Temple.Locked?a("span",[e._v("未锁定")]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",[e._v("已锁定")]):e._e(),a("div",{staticClass:"fr"},[0==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e()])])])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板简介"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.Introduce)+" ")])])],1)])])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板数据")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"使用数:"}},[a("div",[e._v(e._s(e.nowCount)+" 个项目")])])],1)]),a("div",{staticClass:"clear"})])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[e._l(e.currentTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",[e._v(e._s(t.PropertyName))])])],1)])})),a("div",{staticClass:"clear"})],2)])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),e.eidtModelpane?a("div",{staticClass:"largecontentBox"},[a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"tempform",attrs:{model:e.editTemplateData,rules:e.templateRules,"label-width":"120px","label-position":"right"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"textlabelblock UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称:",prop:"Temple.TempName"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"模板名称"},model:{value:e.editTemplateData.Temple.TempName,callback:function(t){e.$set(e.editTemplateData.Temple,"TempName",t)},expression:"editTemplateData.Temple.TempName"}})],1)])],1)]),e.editTemplateData.Temple.Id?e._e():a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"XMind文件:",required:""}},[a("div",{staticClass:"boolEdit_Input"},[a("div",[a("file-uploader",{attrs:{"http-request":e.uploadXMindFile,"on-success":e.onUploadSuccess}},[a("el-button",[e._v("上传XMind文件")])],1)],1)])])],1)]),a("div",{staticClass:"clear"}),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"启用模板:"}},[a("div",{staticClass:"boolEdit_Input"},[a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"0","inactive-value":"1"},model:{value:e.editTemplateData.Temple.Disable,callback:function(t){e.$set(e.editTemplateData.Temple,"Disable",t)},expression:"\n editTemplateData.Temple.Disable\n "}})],1)])])],1)]):e._e(),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定模板:"}},[a("div",{staticClass:"boolEdit_Input"},[0==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e(),a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"1","inactive-value":"0"},model:{value:e.editTemplateData.Temple.Locked,callback:function(t){e.$set(e.editTemplateData.Temple,"Locked",t)},expression:"editTemplateData.Temple.Locked"}})],1)])])],1)]):e._e(),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业:",prop:"Temple.FirstIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getSonIndustry},model:{value:e.editTemplateData.Temple.FirstIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"FirstIndustryId",t)},expression:"\n editTemplateData.Temple.FirstIndustryId\n "}},e._l(e.topIndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业:",prop:"Temple.DetailIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"子行业名称"},model:{value:e.editTemplateData.Temple.DetailIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"DetailIndustryId",t)},expression:"editTemplateData.Temple.DetailIndustryId"}},e._l(e.level2IndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"细分行业:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"细分行业"},model:{value:e.editTemplateData.IndLevel3,callback:function(t){e.$set(e.editTemplateData,"IndLevel3",t)},expression:"editTemplateData.IndLevel3"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"自定义"},model:{value:e.editTemplateData.IndLevel4,callback:function(t){e.$set(e.editTemplateData,"IndLevel4",t)},expression:"editTemplateData.IndLevel4"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"介绍:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"请输入模板简介"},model:{value:e.editTemplateData.Temple.Introduce,callback:function(t){e.$set(e.editTemplateData.Temple,"Introduce",t)},expression:"\n editTemplateData.Temple.Introduce\n "}})],1)])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"yiyun_col-12"},[e._l(e.editTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input noshodow"},[a("el-input",{attrs:{autofocus:!0},model:{value:t.PropertyName,callback:function(a){e.$set(t,"PropertyName",a)},expression:"item.PropertyName"}},[a("i",{staticClass:"el-icon-close el-input__icon deletIocn",attrs:{slot:"suffix",title:"删除"},on:{click:function(a){return e.removeProperty(t,e.editTemplateData)}},slot:"suffix"})])],1)])],1)])])})),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-button",{staticClass:"defualtLarge block-btn",on:{click:function(t){return e.addProperty(e.editTemplateData)}}},[e._v("新增填写项目")])],1)])],1)])])],2),a("div",{staticClass:"clear"})])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(3),e._m(4),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(5),e._m(6),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[a("i",{staticClass:"backprevIcon el-icon-arrow-left"})])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2)],1),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2),void 0],2),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(9),e._m(10),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(11),e._m(12),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n0?a("span",{staticClass:"processCss"},[e._v(e._s(t.row.count))]):e._e(),t.row.count>0?a("el-progress",{staticClass:"currZindex",attrs:{"text-inside":!0,"stroke-width":24,percentage:Math.round(t.row.count/t.row.totalCount*100),"show-text":!1,color:Math.round(t.row.count/t.row.totalCount*100)>=60?"#4A90E2":Math.round(t.row.count/t.row.totalCount*100)>=30?"#4AE2A6":Math.round(t.row.count/t.row.totalCount*100)>0?"#F8D12A":"white"}}):e._e()]}}])})],1)],1)])])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.treeMenuVisible,expression:"treeMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"treeMenu"}},[a("li",{staticClass:"menu__item",on:{click:function(t){return t.stopPropagation(),e.reNameTemplate(t)}}},[e._v("重命名节点")])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.tableMenuVisible,expression:"tableMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"tableMenu"}},[a("li",{staticClass:"menu__item",on:{click:e.newInsertFolder}},[e._v("新增文件夹")]),a("li",{staticClass:"menu__item",on:{click:function(t){return e.reNameFolder(1)}}},[e._v("重命名")]),a("li",{staticClass:"menu__item",on:{click:e.delFolder}},[e._v("删除")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"treeSpaceMenu",show:e.treeSpaceMenuVisible},on:{"update:show":function(t){return e.treeSpaceMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item",on:{click:e.createInsertTemplate}},[e._v("新增模板")]),a("li",{staticClass:"menu__item",on:{click:e.createLargeIndustry}},[e._v("新增行业")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"MatrixLookInfoMenu",show:e.MatrixLookInfoMenuVisible},on:{"update:show":function(t){return e.MatrixLookInfoMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixVerticalName))]),a("li",{staticClass:"menu__item"},[a("el-button",{class:e.btnMatrixLookInfo,on:{click:e.matrixRightNodeClick}},[e._v("输出数据")])],1),a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixHorizontalName))])])]),a("el-dialog",{staticStyle:{"margin-top":"8%"},attrs:{visible:e.isImportDialog,width:"28%","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:""},on:{"update:visible":function(t){e.isImportDialog=t}}},[a("el-form",{staticClass:"editnone el-form-item__label",staticStyle:{"margin-left":"10%"}},[a("el-form-item",{attrs:{label:"模板名称:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{model:{value:e.importTempName,callback:function(t){e.importTempName=t},expression:"importTempName"}})],1)]),a("el-form-item",{attrs:{label:"已选文件:"}},[a("el-input",{attrs:{disabled:!0},model:{value:e.importXmindName,callback:function(t){e.importXmindName=t},expression:"importXmindName"}})],1),a("div",{staticClass:"upHeadImg",staticStyle:{"margin-bottom":"30px"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.cancelImport()}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.enterImport()}}},[e._v("确 定")])],1)],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"adminnavBox"},[a("h3",[e._v("模板列表")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"EC_searchBox"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v(" 列表查看模式 ")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("总体概况")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])}],n=(a("99af"),a("4de4"),a("4160"),a("c975"),a("a15b"),a("baa5"),a("d81d"),a("13d5"),a("fb6a"),a("a434"),a("b0c0"),a("d3b7"),a("ac1f"),a("3ca3"),a("5319"),a("1276"),a("498a"),a("159b"),a("ddb0"),a("5530")),r=a("3835"),l=(a("96cf"),a("1da1")),o=a("b0f9"),c=a("b3b1"),u=a("9e5b"),d=a("3de1"),m=a("2ef0"),p=a("b775"),f={components:{FileUploader:u["a"]},data:function(){return{isShowEditBtn:!0,isShowSaveBtn:!1,isImportDialog:!1,eidtFiles:!1,treeMenuVisible:!1,treeSpaceMenuVisible:!1,tableMenuVisible:!1,tableSpaceMenuVisible:!1,MatrixLookInfoMenuVisible:!1,isShowZoom:!1,isShowMindTemplatePane:!1,isShowListTemplatePane:!0,isShowMatrixTemplatePane:!1,isShowLookIndustryInfo:!1,isShowNewIndustry:!1,isShowBigIndustry:!1,isShowSonIndustry:!1,isShowModelpanel:!1,isShowXmindBtn:!1,isShowTempInfo:!1,boolEdit:!1,el_formLabelcolor:"textlabelgray",listTemplateTree:[],listWorkFolderTable:[],breadcrumb_item:[{nodeName:"全部"}],contentpain:"1",templateID:"",templateName:"",superID:"",treeMenuClickData:[],tableMenuClickData:[],tableRightEventData:[],listTemplateMindTree:[],listMatirxPermission:[],matrixRightNodeData:"",createIndustryName:"",listBigIndustry:[],listSonIndustry:[],listDetailIndustry:[],listTemplateClassify:[],listTempProp:[],listTempIndustury:[],selectBigIndustryIndex:"",selectSonIndustryIndex:"",selectDetailIndustryIndex:"",currTemplateFullCode:"",industryName:"",industryCode:"",lookIndustryBigName:"",lookIndustryCode:"",lookIndustrySonName:"",newTemplateCustomCode:"",listProperty:[],introduce:"",newTemplateName:"",searhNodeName:"",mindZoom:.8,filterTreeText:"",chunkUploadUrl:"/api/webupload/chunks",uploadProjId:"123456852963",uploadCompId:sessionStorage.companyId,uploadTypeCover:2,uploadCoverTimes:0,importUrl:"",importTempName:"",importXmindName:"",uploadLabel:"选择XMind文件",matrixVerticalName:"",matrixHorizontalName:"",btnMatrixLookInfo:"martixLeaveColor",templateRules:{"Temple.TempName":[{required:!0,message:"请输入模板名称",trigger:["blur","change"]}],"Temple.FirstIndustryId":[{required:!0,message:"请选择大行业",trigger:"change"}],"Temple.DetailIndustryId":[{required:!0,message:"请选择子行业",trigger:"change"}]},editTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},currentTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},eidtModelpane:!1,ModelForm:{mName:"",used:!1,clock:!1,mparentType:"",mchildType:"",mgrandsonType:"",mcode:"",mNumber:"",mDesc:"",mself_1:"",mself_2:"",mself_3:"",mself_4:""},mainPane:"1",arrayIndustryID:[],loading:!1,nowCount:0,allIndList:[],topIndList:[],level2IndList:[],mapIndIdToIndName:{},mapIndIdToIndNode:{},isXimdUpLoadSuccess:!1}},created:function(){this.getListTemplateClassify(),this.getTemplateData()},methods:{getTempNameAndData:function(e,t){if(this.isShowIndustry(),"default"==e.id)this.contentpain=3;else if("template"===e.type){this.eidtModelpane&&this.cancelEdit();var a=e;this.contentpain=1,this.templateName=a.label,this.templateID=a.id,this.treeMenuClickData=a,this.getTemplateDetail(a.id),this.listMatirxPermission=[],this.breadcrumb_item=[{nodeName:"全部"}],this.isShowTempInfo=!0,this.nowCount=0}else{this.contentpain=2;var i=e,s=i.data.LevelId,n=s.split("-");if(n.length>0){var r=this.$refs.tree.getNode(n[0]);this.lookIndustryBigName=r.label}if(n.length>1){var l=this.$refs.tree.getNode(n[1]);this.lookIndustrySonName=l.label,this.lookIndustryCode=l.data.data.code}this.createIndustryName=i.label,this.isShowLookIndustryInfo=!0,this.selectBigIndustryIndex=0}},getListTemplateClassify:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("template/queryTemplateQuoteCount");case 2:a=t.sent,Object(p["c"])(a),i=a.Data||[],s=i.reduce((function(e,t){return(t.Count||0)+e}),0),e.listTemplateClassify=i.map((function(e){return{tempName:e.TempName,count:e.Count,totalCount:s}}));case 7:case"end":return t.stop()}}),t)})))()},getFolderNodeData:function(e){this.getFolderData(e.nodeID,e.templateID),this.templateID=e.templateID,this.breadcrumb_item.push(e)},getbreadcrumb:function(e,t){this.breadcrumb_item.length-1!=t&&("全部"==e.nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(e.nodeID,e.templateID));for(var a=0;at&&this.breadcrumb_item.splice(a)},backUp:function(){var e=this.breadcrumb_item.length-2;"全部"==this.breadcrumb_item[e].nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(this.breadcrumb_item[e].nodeID,this.breadcrumb_item[e].templateID),this.breadcrumb_item.splice(this.breadcrumb_item.length-1)},matirxMouseEnter:function(e,t){this.MatrixLookInfoMenuVisible=!1,this.mousueCheckChangeColor(e,"orange")},mousueCheckChangeColor:function(e,t){var a="";"orange"==t?a="2px solid orange":"green"==t&&(a="2px solid green");for(var i=0;i50)t.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500});else{var s={templateID:t.templateID,superID:t.superID,nodeName:i,createUserID:sessionStorage.userId,modifyUserID:sessionStorage.userId};e.$axios({method:"post",url:encodeURI("/api/Templates/nodes"),data:s}).then((function(e){1==e.data.state?(t.$notify({message:"文件夹创建成功",type:["success"],duration:2500}),t.getFolderData(t.superID,t.templateID)):t.$notify({message:e.data.message,type:["error"],duration:2500})})).catch((function(e){console.log(e)}))}}))},modifyTemplate:function(){var e=this,t=this;t.$refs["tempform"].validate(function(){var a=Object(l["a"])(regeneratorRuntime.mark((function a(i){var s,n,r,l,c,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i){a.next=2;break}return a.abrupt("return");case 2:if(s=Object(m["cloneDeep"])(e.editTemplateData),n=s.TempleProperties,r=!!s.Temple.Id,l=r?"编辑":"创建",r||s.Node&&0!==s.Node.length){a.next=9;break}return d["d"].warning("Xmind文件尚未上传。"),a.abrupt("return");case 9:return r&&(s.Temple.Disable=+s.Temple.Disable,s.Temple.Locked=+s.Temple.Locked),s.ChildIndustry=[s.IndLevel3,s.IndLevel4].filter((function(e){return e})).join(","),s.Templepeoperty=n.map((function(e){return e.PropertyName})).join(","),e.loading=!0,a.next=15,r?o["s"](s):o["d"](s);case 15:if(c=a.sent,t.loading=!1,0===c.Code){a.next=19;break}return a.abrupt("return");case 19:u=e.editTemplateData.Temple.TempName||"",d["d"].success("模板“".concat(u,"”").concat(l,"完成。")),r?(e.treeMenuClickData.data.tempName=e.editTemplateData.Temple.TempName,e.treeMenuClickData.label=e.editTemplateData.Temple.TempName,e.templateName=e.editTemplateData.Temple.TempName,e.isShowTempInfo=!0,e.eidtModelpane=!1,e.currentTemplateData=e.editTemplateData):(t.isShowModelpanel=!1,t.isShowLookIndustryInfo=!0,t.getTemplateData(),t.getListTemplateClassify());case 22:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}())},reNameFolder:function(e){var t=this,a=this;1!=e&&(a.tableMenuClickData=e);var i=a.tableMenuClickData;this.$prompt("当前文件夹名称: "+i.nodeName,"重命名",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"名称不能为空"}).then((function(e){var s=e.value;s.trim().length>50?a.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500}):(i.nodeName=s,t.$axios({method:"put",url:encodeURI("/api/Templates/nodes/"),data:i}).then((function(e){1==e.data.state&&a.$notify({message:"重命名成功",type:["success"],offset:100,duration:2500})})).catch((function(e){console.log(e)})))})).catch((function(){a.$notify.warning({message:"操作已取消",offset:100,duration:2500})})),this.tableMenuClickData=[]},delFolder:function(e){var t=this,a=this;0==a.tableMenuClickData.length&&(a.tableMenuClickData=e);var i=a.tableMenuClickData.nodeName,s=a.tableMenuClickData.nodeID,n=a.tableMenuClickData.superID,r=a.tableMenuClickData.templateID;this.$confirm("您正在删除 "+i+" 文件夹是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$axios({method:"delete",url:encodeURI("/api/Templates/nodes/"+s+"/"+i+"/"+sessionStorage.userId)}).then((function(e){a.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),a.getFolderData(n,r)})).catch((function(e){console.log(e)}))})),this.tableMenuClickData=[]},reNameTemplate:function(){var e,t,a=this,i=this;1==i.treeMenuClickData.isLeaf?(e=i.treeMenuClickData.data.tempName,t="模板重命名"):(e=i.treeMenuClickData.data.name,t="行业重命名"),this.$prompt("当前名称: "+i.treeMenuClickData.label,t,{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputValue:e,inputErrorMessage:"名称不能为空"}).then(function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(t){var s,n,r,l,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.value,1!=i.treeMenuClickData.isLeaf){e.next=9;break}return n={id:i.treeMenuClickData.id,tempName:s},e.next=5,o["r"](n);case 5:r=e.sent,0==r.Code&&(a.$notify({message:"模板重命名成功",type:"success"}),i.treeMenuClickData.data.tempName=s,a.currentTemplateData.Temple.TempName=s,a.templateName=s,i.treeMenuClickData.label=s),e.next=14;break;case 9:return l={id:i.treeMenuClickData.id,industryName:s},e.next=12,Object(c["b"])(l);case 12:u=e.sent,0==u.Code&&(a.$notify({message:"行业重命名成功",type:"success"}),i.treeMenuClickData.data.name=s,i.createIndustryName=s,i.treeMenuClickData.label=s);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){i.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},disableTemplate:function(){var e=this,t=this;this.$confirm("当前模板名称: "+t.treeMenuClickData.tempName,"禁用",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.treeMenuClickData.disable=1,e.$axios({method:"put",url:encodeURI("/api/Templates/"),data:t.treeMenuClickData}).then((function(e){1==e.data.state&&t.$notify({message:"禁用模板成功",type:["success"],offset:100,duration:2500}),t.getTemplateData()})).catch((function(e){console.log(e)}))})).catch((function(){t.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},delTemplate:function(){var e=this;if(0!=this.treeMenuClickData.isLeaf){var t=this;this.$confirm("您正在删除 "+t.treeMenuClickData.label+" 模板是否继续?","删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$axios({method:"delete",url:encodeURI("/api/Templates/"+t.treeMenuClickData.data.templateID+"/"+t.treeMenuClickData.label+"/"+sessionStorage.userId)}).then((function(e){t.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),t.$refs.tree.remove(t.treeMenuClickData)})).catch((function(e){console.log(e)}))}))}else this.deleteIndustry(this.treeMenuClickData)},delTemplateClick:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentTemplateData,i=a.Temple.Id,t.next=4,o["q"](i);case 4:if(s=t.sent,n=a.Temple.TempName||"",!(0==s.Code&&s.Data>0)){t.next=9;break}return e.$notify({type:["error"],message:"当前有项目使用该模板 无法删除模板"}),t.abrupt("return");case 9:e.$confirm("您正在删除 ["+n+"] 模板是否继续?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(l["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["f"](a.Temple.Id);case 2:if(i=t.sent,0===i.Code){t.next=5;break}return t.abrupt("return");case 5:d["d"].success("模板“".concat(n,"”删除成功")),e.getTemplateData(),e.getListTemplateClassify();case 8:case"end":return t.stop()}}),t)}))));case 10:case"end":return t.stop()}}),t)})))()},importXmind:function(){this.isImportDialog=!0,this.importXmindName="",this.importTempName="",this.importUrl=""},enterImport:function(){var e=this,t="",a="";if(0==this.treeMenuClickData.isLeaf&&3==this.treeMenuClickData.data.level){var i=this.treeMenuClickData.data.levelID.split("-");t=i[0],a=i[2]}else 1==this.treeMenuClickData.isLeaf&&(t=this.treeMenuClickData.data.firstIndustryID,a=this.treeMenuClickData.data.detailIndustryID);var s=this;if(s.uploadCoverTimes>0){var n={xMindFilePath:s.importUrl.replace("\\","\\\\"),tempName:s.importTempName,type:0,firstIndustryID:t,detailIndustryID:a,companyId:sessionStorage.companyId,userId:sessionStorage.userId};this.$axios({method:"post",url:encodeURI("/api/templates/XMind"),data:n}).then((function(t){s.$notify({message:t.data.message,type:["success"],offset:100,duration:2500}),e.isImportDialog=!1,e.getTemplateData()})).catch((function(e){console.log(e)}))}},getMatirxPermission:function(){var e=this,t=this;this.$axios({method:"get",url:encodeURI("/api/templates/nodes/tree/"+t.templateID)}).then((function(a){for(var i=a.data,s=0;s0)for(var t=0;t1800?e.style.left=event.clientX-100+"px":e.style.left=event.clientX+1+"px",document.addEventListener("click",this.foo),event.clientY>700?1==this.treeMenuVisible?e.style.top=event.clientY-150+"px":1==this.MatrixLookInfoMenuVisible?e.style.top=event.clientY-100+"px":e.style.top=event.clientY-30+"px":e.style.top=event.clientY-10+"px"},coverUploadSuccess:function(e){this.uploadCoverTimes=this.uploadCoverTimes+1,this.importUrl=e.filePath,this.importXmindName=e.fileName},uploadXMindFile:function(e){var t=e.file;return o["t"](t)},onUploadSuccess:function(e){var t=e.response;0===t.Code?(d["d"].success("Xmind文件解析成功。"),this.editTemplateData.Node=t.Data,this.isXimdUpLoadSuccess=!0):d["d"].warning("请上传正确的Xmind文件。")},createLargeIndustry:function(){this.isShowIndustry(),this.createIndustryName="新增大行业",this.isShowNewIndustry=!0},createChildIndustry:function(e){var t;switch(this.isShowIndustry(),this.createIndustryName="新增子行业",this.isShowBigIndustry=!0,this.isShowNewIndustry=!0,e.level){case 1:t=this.$refs.tree.getNode(e.industryID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break;case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break}},createNextChildIndustry:function(e){var t,a;switch(this.isShowIndustry(),this.createIndustryName="新增细分行业",this.isShowBigIndustry=!0,this.isShowSonIndustry=!0,this.isShowNewIndustry=!0,e.level){case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,a=this.$refs.tree.getNode(e.industryID),this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break;case 3:a=this.$refs.tree.getNode(e.superID),t=this.$refs.tree.getNode(a.data.data.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break}},createInsertTemplate:function(){this.isShowIndustry(),this.importXmindName="",this.createIndustryName="新增模板",this.isShowModelpanel=!0,this.isXimdUpLoadSuccess=!1},isShowIndustry:function(){this.contentpain="2",this.isShowNewIndustry=!1,this.isShowBigIndustry=!1,this.isShowSonIndustry=!1,this.isShowModelpanel=!1,this.isShowLookIndustryInfo=!1,this.isShowTempInfo=!1,this.clearNewInsertInfo()},cacelNewInfustry:function(){this.isShowNewIndustry=!1,this.isShowLookIndustryInfo=!0},cacelInsertTemplate:function(){var e=this;this.$confirm("取消操作会清除当前所填写的模板信息,是否确认取消?","",{confirmButtonText:"确定",cancelButtonText:"返回",type:"warning",showClose:!1}).then((function(){e.isShowModelpanel=!1,e.isShowLookIndustryInfo=!1,e.getListTemplateClassify(),e.contentpain=3}))},clearNewInsertInfo:function(){this.listBigIndustry=[],this.listSonIndustry=[],this.listDetailIndustry=[],this.listProperty=[],this.industryName="",this.industryCode="",this.selectSonIndustryIndex="",this.selectDetailIndustryIndex="",this.selectBigIndustryIndex="",this.newTemplateName="",this.newTemplateCustomCode="",this.currTemplateFullCode="",this.currentTemplateData={Temple:{},TempleProperties:[]},this.editTemplateData={Temple:{},TempleProperties:[]}},getSonIndustry:function(e){this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e})),this.currentTemplateData.Temple.DetailIndustryId=void 0,this.editTemplateData.Temple.DetailIndustryId=void 0},refreshFormData:function(){this.editTemplateData.Temple=Object(n["a"])({},this.editTemplateData.Temple)},filterTreeNode:function(e,t){return!e||-1!==t.label.indexOf(e)},addProperty:function(e){var t={PropertyName:"",Id:"".concat(Math.random()).slice(2,6),CreateTime:new Date};e.TempleProperties.push(t)},removeProperty:function(e,t){t.TempleProperties=t.TempleProperties.filter((function(t){return t!==e}))},editmodelInfo:function(){this.isShowTempInfo=!1,this.eidtModelpane=!0;var e=this.editTemplateData=Object(m["cloneDeep"])(this.currentTemplateData);this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e.Temple.FirstIndustryId}))},cancelEdit:function(){this.isShowTempInfo=!0,this.eidtModelpane=!1},savemodelInfo:function(){this.modifyTemplate("editTemplateForm")},goscanList:function(){this.mainPane="2"},goNodeFile:function(){this.$router.push({name:"system_template_file",params:{id:this.templateID,data:this.treeMenuClickData}})},goscanMind:function(){sessionStorage.templateID=this.templateID,this.$router.push({name:"system_template_mind",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},goscanMatrix:function(){this.$router.push({name:"system_template_matrix",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},backmodlemain:function(){this.mainPane="1"},toNodeFile:function(){var e=this.currentTemplateData;this.$router.push({name:"system_template_file",params:{id:e.Temple.Id,data:e.Temple}})},getTemplateDetail:function(e){var t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var i,s,n,l,c,u,d,m,p,f,h,v,b;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Promise.all([o["n"](e),o["q"](e)]);case 2:if(i=a.sent,s=Object(r["a"])(i,2),n=s[0],l=s[1],c=t.mapIndIdToIndNode,t.nowCount=l.Data||0,0===n.Code){a.next=10;break}return a.abrupt("return");case 10:u=n.Data,d=u.propertys,m=u.template,p=d.map((function(e){return e.Id=e.Id||e.PropertyName,e})),f=t.currentTemplateData={Temple:m,TempleProperties:p},h=m.CustomCode,h&&"0"!==h&&(v=c[h],4===v.data.Level?(f.IndLevel4=v.label,b=c[v.parentId],f.IndLevel3=b.label):f.IndLevel3=v.label),f.Temple.Disable="".concat(f.Temple.Disable),f.Temple.Locked="".concat(f.Temple.Locked);case 17:case"end":return a.stop()}}),a)})))()}},watch:{filterTreeText:function(e){this.$refs.tree.filter(e)}}};function h(e,t){var a={},i=e.reduce((function(e,t){var a="0"!==t.CustomCode&&t.CustomCode?t.CustomCode:void 0,i=a||t.DetailIndustryId,s={id:t.Id,label:t.TempName,parentId:i,isLeaf:!0,type:"template",data:t};return e[i]=(e[i]||[]).concat(s),e}),{}),s=t.reduce((function(e,t){var i="0"!==t.SuperId&&t.SuperId?t.SuperId:null,s={id:t.Id,label:t.Name,parentId:i,data:t,type:"industry",children:[],isLeaf:!1};return e[0][s.id]=s,e[1].unshift(s),a[s.id]=s,i&&(e[2][i]||(e[2][i]=[]),e[2][i].push(s)),1===t.Level&&e[3].push(s),e}),[{},[],{},[]]),n=Object(r["a"])(s,4),l=n[0],o=n[1],c=n[2],u=n[3];return o.forEach((function(e){var t=c[e.id];t&&(e.children=e.children.concat(t));var a=i[e.id];if(a&&(e.children=e.children.concat(a)),0===e.children.length){var s=l[e.parentId],n=s?c[s.id]:u;n.splice(n.indexOf(e),1)}})),[u,a]}var v=f,b=(a("b764"),a("2877")),y=Object(b["a"])(v,i,s,!1,null,"d7109108",null);t["default"]=y.exports},"9e5b":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-upload",{attrs:{action:"","http-request":e.httpRequest||e.handleUpload,"before-upload":e.beforeUpload,showFileList:e.showFileList,"on-success":e.handleSuccess},scopedSlots:e._u([e._l(e.$slots,(function(t,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}))],null,!0)})},s=[],n=(a("b0c0"),a("5530")),r=a("5ab9"),l=a("2ef0"),o={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:l["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(e,t,a){e?this.onSuccess(Object(n["a"])(Object(n["a"])({},t),{},{ossUrl:e.name}),a):console.log(e,t)},beforeUpload:function(e){return console.log("fileInfo: ",e),!0},handleUpload:function(e){var t=e.file;e.onSuccess,e.onError,e.file.name;return r["b"](t.name,t)}}},c=o,u=a("2877"),d=Object(u["a"])(c,i,s,!1,null,null,null);t["a"]=d.exports},a434:function(e,t,a){"use strict";var i=a("23e7"),s=a("23cb"),n=a("a691"),r=a("50c4"),l=a("7b0b"),o=a("65f0"),c=a("8418"),u=a("1dde"),d=a("ae40"),m=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min,v=9007199254740991,b="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var a,i,u,d,m,p,y=l(this),C=r(y.length),_=s(e,C),I=arguments.length;if(0===I?a=i=0:1===I?(a=0,i=C-_):(a=I-2,i=h(f(n(t),0),C-_)),C+a-i>v)throw TypeError(b);for(u=o(y,i),d=0;dC-i+a;d--)delete y[d-1]}else if(a>i)for(d=C-i;d>_;d--)m=d+i-1,p=d+a-1,m in y?y[p]=y[m]:delete y[p];for(d=0;d1&&(r=o(r,s(arguments[1]))),r<0&&(r=a+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:c}}]);
\ No newline at end of file
diff --git a/static/js/chunk-7a18b3e4.4656f19e.js b/static/js/chunk-7a18b3e4.4656f19e.js
new file mode 100644
index 00000000..ce43b3ca
--- /dev/null
+++ b/static/js/chunk-7a18b3e4.4656f19e.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a18b3e4"],{"01a8":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},a=[],i=n("1392"),s=n("1d40"),o={components:{UserCenter:i["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:s["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(){s["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),s["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),s["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){s["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=o,u=(n("8fc1"),n("2877")),l=Object(u["a"])(c,r,a,!1,null,"06f5aedd",null);t["a"]=l.exports},"0999":function(e,t,n){"use strict";var r=n("f2e8"),a=n.n(r);a.a},"8fc1":function(e,t,n){"use strict";var r=n("99ab"),a=n.n(r);a.a},"99ab":function(e,t,n){},ad8f:function(e,t,n){"use strict";var r=n("b30f"),a=n.n(r);a.a},b0f9:function(e,t,n){"use strict";n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"t",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"n",(function(){return m})),n.d(t,"q",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"s",(function(){return g})),n.d(t,"l",(function(){return T})),n.d(t,"k",(function(){return N})),n.d(t,"b",(function(){return C})),n.d(t,"p",(function(){return j})),n.d(t,"j",(function(){return O})),n.d(t,"h",(function(){return R})),n.d(t,"i",(function(){return M})),n.d(t,"a",(function(){return W})),n.d(t,"g",(function(){return D})),n.d(t,"c",(function(){return P})),n.d(t,"e",(function(){return z})),n.d(t,"r",(function(){return $}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return s.apply(this,arguments)}function s(){return s=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}function o(e){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function u(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function d(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function m(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function b(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function T(e){return x.apply(this,arguments)}function x(){return x=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function N(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function C(e){return _.apply(this,arguments)}function _(){return _=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function j(e){return I.apply(this,arguments)}function I(){return I=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function O(e,t,n){return B.apply(this,arguments)}function B(){return B=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return i=e.sent,e.abrupt("return",Object(a["c"])(i));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function R(e){return S.apply(this,arguments)}function S(){return S=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function M(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function W(e){return E.apply(this,arguments)}function E(){return E=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function D(e){return A.apply(this,arguments)}function A(){return A=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),A.apply(this,arguments)}function P(e){return V.apply(this,arguments)}function V(){return V=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),V.apply(this,arguments)}function z(e){return q.apply(this,arguments)}function q(){return q=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}function $(e){return F.apply(this,arguments)}function F(){return F=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}},b30f:function(e,t,n){},b3b1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return s.apply(this,arguments)}function s(){return s=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/queryAllIndustry");case 2:return t=e.sent,e.abrupt("return",t.Data||[]);case 4:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}function o(e){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/renameIndustry",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}},bccc:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout_content template_mind",class:{"calc-height-64":e.isClient,"calc-height-40":!e.isClient}},[n("app-header",{attrs:{showBackBtn:"",theme:"white",title:e.tempName,backBtnTitle:"退出思维导图查看器",onBackBtnClick:e.onBackBtnClick}}),n("section",{staticClass:"yiyun_section"},[n("div",[n("div",{staticClass:"mlr-10"},[n("div",{staticClass:"yiyunTable_list"},[n("div",{staticStyle:{float:"right","margin-right":"50px","margin-top":"20px",width:"300px"}},[n("el-slider",{staticClass:"self_slider",attrs:{height:"100px","format-tooltip":e.biliToolTip,min:40,max:150},on:{change:e.zoomOut},model:{value:e.mindZoom,callback:function(t){e.mindZoom=t},expression:"mindZoom"}})],1),n("div",{class:{"adjust-TszMind-pos":e.selectedNode},attrs:{id:"TszMind"}})])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:!!e.selectedNode,expression:"!!selectedNode"}],staticClass:"xmind_popup"},[e.selectedNode?n("div",[e.currentPopupViewType===e.popupViewType.NODE_DETAIL?n("div",[n("div",{staticClass:"xmind_popup_head"},[e._v(e._s(e.selectedNode.topic))]),n("div",{staticClass:"xmind_popup_section"},[e.selectedNode.data.isNest?e._e():n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.changePopupViewType(e.popupViewType.ADD_SUB_TEMPLATE)}}},[e._v("嵌套模板")]),e.selectedNode.data.isNest?n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.removeNestTemplate()}}},[e._v("移除嵌套模板")]):e._e(),e.selectedNode.data.isNest?n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.gotoMatrix()}}},[e._v("查看文件交换关系")]):e._e()],1)]):e.currentPopupViewType===e.popupViewType.ADD_SUB_TEMPLATE?n("div",[n("div",{staticClass:"xmind_popup_head"},[e._v("选择嵌套模板")]),n("template-tree",{attrs:{filterList:e.filterCurrentTemplate.bind(this),nodeClick:e.onSelectSubTemplate}}),n("div",{staticClass:"xmind_popup_foot"},[n("el-button",{staticClass:"xmind_popup_foot_button",on:{click:e.cancelAddSubTemplate}},[e._v("取消")]),n("el-button",{staticClass:"xmind_popup_foot_button",attrs:{disabled:!e.selectedSubTemplateNode},on:{click:e.doNestTemplate}},[e._v("嵌套")])],1)],1):e._e()]):e._e()])])],1)},a=[],i=(n("99af"),n("4de4"),n("7db0"),n("4160"),n("b0c0"),n("159b"),n("96cf"),n("1da1")),s=n("b0f9"),o=n("f96e"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navtreebox",class:{"navtreebox-inclient":e.isClient}},[n("el-tree",{ref:"tree",attrs:{data:e.listTemplateTree,"default-expand-all":!0,"node-key":"id","expand-on-click-node":!1,"filter-node-method":e.filterTreeNode,indent:8,"highlight-current":!0},on:{"node-contextmenu":e.nodeRightClick,"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,a=t.data;return n("span",{staticClass:"custom-tree-node"},[n("span",{staticClass:"sanjiaow"},["default"==a.id?n("i",{staticClass:"el-icon-models"}):e._e(),0==a.isLeaf&&1==r.isLeaf?n("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop"}):e._e(),1==a.isLeaf&&1==r.isLeaf?n("i",{staticClass:"el-icon-models"}):e._e(),n("span",[e._v(e._s(a.label))])])])}}])})],1)},u=[],l=(n("c975"),n("13d5"),n("a434"),n("d3b7"),n("3ca3"),n("ddb0"),n("3835")),d=n("2ef0"),p=n("b3b1"),m=n("1d40"),h={props:{nodeClick:{type:Function,default:d["noop"]},nodeRightClick:{type:Function,default:d["noop"]},filterTreeNode:{type:Function,default:d["noop"]},filterList:{type:Function,default:d["identity"]}},data:function(){return{listTemplateTree:[],allIndList:[],topIndList:[],level2IndList:[],mapIndIdToIndName:{},mapIndIdToIndNode:{},isClient:m["a"].isClient}},created:function(){this.fetchTemplateList()},methods:{getIndustryData:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(p["a"])();case 2:return n=t.sent,e.topIndList=n.filter((function(e){return 1===e.Level})),e.level2IndList=[],e.allIndList=n,r=n.reduce((function(e,t){return e[t.Id]=t.Name,e}),{}),e.mapIndIdToIndName=r,t.abrupt("return",n);case 9:case"end":return t.stop()}}),t)})))()},fetchTemplateList:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r,a,i,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([s["o"](),e.getIndustryData()]);case 2:n=t.sent,r=Object(l["a"])(n,2),a=r[0],i=r[1],console.log(i),o=f(e.filterList(a.Data||[]),i),c=Object(l["a"])(o,2),u=c[0],d=c[1],e.mapIndIdToIndNode=d,e.listTemplateTree=u;case 10:case"end":return t.stop()}}),t)})))()}}};function f(e,t){var n={},r=e.reduce((function(e,t){var n="0"!==t.CustomCode&&t.CustomCode?t.CustomCode:void 0,r=n||t.DetailIndustryId,a={id:t.Id,label:t.TempName,parentId:r,isLeaf:!0,type:"template",data:t};return e[r]=(e[r]||[]).concat(a),e}),{}),a=t.reduce((function(e,t){var r="0"!==t.SuperId&&t.SuperId?t.SuperId:null,a={id:t.Id,label:t.Name,parentId:r,data:t,type:"industry",children:[],isLeaf:!1};return e[0][a.id]=a,e[1].unshift(a),n[a.id]=a,r&&(e[2][r]||(e[2][r]=[]),e[2][r].push(a)),1===t.Level&&e[3].push(a),e}),[{},[],{},[]]),i=Object(l["a"])(a,4),s=i[0],o=i[1],c=i[2],u=i[3];return o.forEach((function(e){var t=c[e.id];t&&(e.children=e.children.concat(t));var n=r[e.id];if(n&&(e.children=e.children.concat(n)),0===e.children.length){var a=s[e.parentId],i=a?c[a.id]:u;i.splice(i.indexOf(e),1)}})),[u,n]}var w=h,b=(n("ad8f"),n("2877")),v=Object(b["a"])(w,c,u,!1,null,"5b7275a0",null),g=v.exports,y=n("3de1"),T=window.jsMind,x=window.jQuery,N={NODE_DETAIL:1,ADD_SUB_TEMPLATE:2,ADD_CHILD_NODE:3},k={components:{TemplateTree:g,AppHeader:o["a"]},data:function(){return{nestNodeList:[],templateList:[],cloneTemplateMindTree:[],listTemplateMindTree:[],mindZoom:60,tempName:this.$route.params.name,tempId:sessionStorage.templateID,jm:null,selectedNode:null,popupViewType:N,currentPopupViewType:N.NODE_DETAIL,selectedSubTemplateNode:null,isClient:m["a"].isClient}},created:function(){this.getNestNode(this.tempId),this.getTemplateMindTree()},watch:{},methods:{getNestNode:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,s["l"](e);case 2:r=n.sent,t.nestNodeList=r.Data||[];case 4:case"end":return n.stop()}}),n)})))()},addNestNode:function(e){var t=this.findAllNestNode(e);e.children?0!==t.length&&(e.children=e.children.concat(t)):0!==t.length&&(e.children=[],e.children=e.children.concat(t))},getAddNestNode:function(e){var t=this;this.addNestNode(e),e.children&&e.children.forEach((function(e){t.getAddNestNode(e)}))},findAllNestNode:function(e){var t;t=this.nestNodeList.filter((function(t){return t.ParentNodeId==e.id}));var n=t.length;if(n>0){var r=[];return t.forEach((function(e){var t={id:"",isNest:!0,label:"",topic:"",templateId:""};t.id=e.Id,t.label=e.TemplateName,t.topic=e.TemplateName,t.templateId=e.TemplateId,r.push(t)})),r}return[]},onBackBtnClick:function(){this.$router.push({name:"system_template",params:{data:this.$route.params.data}})},filterCurrentTemplate:function(e){var t=this.tempId;return e.filter((function(e){return e.Id!==t}))},zoomIn:function(){this.mindZoom-=1;var e=document.getElementsByClassName("jsmind-inner");e[0].style.zoom=this.mindZoom/100},zoomOut:function(e){this.mindZoom+=1;var t=document.getElementsByClassName("jsmind-inner");t[0].style.zoom=this.mindZoom/100},biliToolTip:function(e){return e+"%"},scanMind:function(){var e=this,t={meta:{name:"mindhh",author:"hh",version:"0.2"},format:"node_tree",data:this.listTemplateMindTree[0]},n={container:"TszMind",editable:!1,theme:"",mode:"side",support_html:!1,view:{engine:"canvas",hmargin:100,vmargin:50,line_width:1,line_color:"#cccdd7"}};if(null==document.querySelector("jmnodes")){var r=new T(n);r.disable_edit(),r.end_edit(),r.show(t),this.jm=r}else T.current.show(t);this.isShowZoom=!0;var a=x(".jsmind-inner"),i=a[0];i.style.zoom=.8;var s=x(i).find("jmnodes").get(0);s.addEventListener("click",this.onNodeClick.bind(this)),setTimeout((function(){return C(e.listTemplateMindTree[0])}),0)},getTemplateMindTree:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.tempId,t.next=3,s["p"](n);case 3:r=t.sent,e.listTemplateMindTree=r.Data?[r.Data]:[],e.getAddNestNode(e.listTemplateMindTree[0]),e.scanMind();case 7:case"end":return t.stop()}}),t)})))()},onNodeClick:function(e){if("JMNODE"===e.target.tagName){var t=e.target,n=this.jm,r=t.getAttribute("nodeid"),a=n.mind.nodes,i=a[r];this.currentPopupViewType=this.popupViewType.NODE_DETAIL,this.selectedNode=i}else this.selectedNode=null},changePopupViewType:function(e){this.currentPopupViewType=e},onSelectSubTemplate:function(e){"template"===e.type?this.selectedSubTemplateNode=e:this.selectedSubTemplateNode=null},cancelAddSubTemplate:function(){this.changePopupViewType(this.popupViewType.NODE_DETAIL),this.selectedSubTemplateNode=null},doNestTemplate:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r,a,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.selectedSubTemplateNode,r=e.selectedNode,a=e.tempId,i=e.selectedSubTemplateNode.label,t.next=6,s["c"]({Id:n.id,ParentId:r.id,ParentTemplateId:a,Name:i});case 6:if(o=t.sent,0===o.Code){t.next=9;break}return t.abrupt("return");case 9:y["d"].success("嵌套成功"),e.selectedNode=null,e.getNestNode(e.tempId),e.getTemplateMindTree();case 13:case"end":return t.stop()}}),t)})))()},removeNestTemplate:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,r,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.selectedNode,r=n.parent,a=n.data.templateId,e.next=5,s["e"]({parentNodeId:r.id,templateId:a});case 5:if(i=e.sent,0===i.Code){e.next=8;break}return e.abrupt("return");case 8:y["d"].success("移除成功"),t.selectedNode=null,t.getNestNode(t.tempId),t.getTemplateMindTree();case 12:case"end":return e.stop()}}),e)})))()},gotoMatrix:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.selectedNode,r=n.parent,e.$router.push({name:"system_template_matrix",params:{name:r.topic,id:r.id,subTemplateId:n.data.templateId,templateId:e.tempId}});case 3:case"end":return t.stop()}}),t)})))()}}};function C(e){e&&e.children&&e.children.forEach((function(e){if(e.label=e.topic,e.isNest){var t=x("jmnode[nodeid=".concat(e.id,"]"));t.prepend('')}else C(e)}))}var _=k,j=(n("0999"),Object(b["a"])(_,r,a,!1,null,"d552047a",null));t["default"]=j.exports},f2e8:function(e,t,n){},f96e:function(e,t,n){"use strict";var r=n("01a8");n.d(t,"a",(function(){return r["a"]}))}}]);
\ No newline at end of file
diff --git a/static/js/chunk-7a18b3e4.61cf14fc.js b/static/js/chunk-7a18b3e4.61cf14fc.js
deleted file mode 100644
index a9c15561..00000000
--- a/static/js/chunk-7a18b3e4.61cf14fc.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a18b3e4"],{"01a8":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):n("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),n("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)}}},[n("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:""}}),n("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?n("div",{staticClass:"app-header-top"}):e._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("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()}}}),n("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),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?n("span",{on:{click:e.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?n("user-center"):e._e()],2)])])},a=[],i=n("1392"),s=n("1d40"),o={components:{UserCenter:i["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:s["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(){s["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),s["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),s["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){s["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=o,u=(n("8fc1"),n("2877")),l=Object(u["a"])(c,r,a,!1,null,"06f5aedd",null);t["a"]=l.exports},"0999":function(e,t,n){"use strict";var r=n("f2e8"),a=n.n(r);a.a},"8fc1":function(e,t,n){"use strict";var r=n("99ab"),a=n.n(r);a.a},"99ab":function(e,t,n){},ad8f:function(e,t,n){"use strict";var r=n("b30f"),a=n.n(r);a.a},b0f9:function(e,t,n){"use strict";n.d(t,"n",(function(){return i})),n.d(t,"s",(function(){return o})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"p",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"r",(function(){return b})),n.d(t,"l",(function(){return g})),n.d(t,"k",(function(){return y})),n.d(t,"b",(function(){return N})),n.d(t,"o",(function(){return _})),n.d(t,"j",(function(){return j})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return R})),n.d(t,"a",(function(){return M})),n.d(t,"g",(function(){return W})),n.d(t,"c",(function(){return D})),n.d(t,"e",(function(){return P})),n.d(t,"q",(function(){return z}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return s.apply(this,arguments)}function s(){return s=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}function o(e){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function u(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function d(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function m(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function b(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/updateTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return T.apply(this,arguments)}function T(){return T=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function N(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/connectNestTemplateFolder",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function j(e,t,n){return I.apply(this,arguments)}function I(){return I=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:r});case 2:return i=e.sent,e.abrupt("return",Object(a["c"])(i));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function O(e){return B.apply(this,arguments)}function B(){return B=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/fileExchange",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function R(e){return S.apply(this,arguments)}function S(){return S=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function M(e){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/addTemplateNodeModelFile",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function W(e){return E.apply(this,arguments)}function E(){return E=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function D(e){return A.apply(this,arguments)}function A(){return A=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/createNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),A.apply(this,arguments)}function P(e){return V.apply(this,arguments)}function V(){return V=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/deleteNestedRelevance",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),V.apply(this,arguments)}function z(e){return q.apply(this,arguments)}function q(){return q=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("template/renameTemplate",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}},b30f:function(e,t,n){},b3b1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));n("96cf");var r=n("1da1"),a=n("b775");function i(){return s.apply(this,arguments)}function s(){return s=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/queryAllIndustry");case 2:return t=e.sent,e.abrupt("return",t.Data||[]);case 4:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}function o(e){return c.apply(this,arguments)}function c(){return c=Object(r["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["b"])("industry/renameIndustry",t);case 2:return n=e.sent,e.abrupt("return",Object(a["c"])(n));case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}},bccc:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout_content template_mind",class:{"calc-height-64":e.isClient,"calc-height-40":!e.isClient}},[n("app-header",{attrs:{showBackBtn:"",theme:"white",title:e.tempName,backBtnTitle:"退出思维导图查看器",onBackBtnClick:e.onBackBtnClick}}),n("section",{staticClass:"yiyun_section"},[n("div",[n("div",{staticClass:"mlr-10"},[n("div",{staticClass:"yiyunTable_list"},[n("div",{staticStyle:{float:"right","margin-right":"50px","margin-top":"20px",width:"300px"}},[n("el-slider",{staticClass:"self_slider",attrs:{height:"100px","format-tooltip":e.biliToolTip,min:40,max:150},on:{change:e.zoomOut},model:{value:e.mindZoom,callback:function(t){e.mindZoom=t},expression:"mindZoom"}})],1),n("div",{class:{"adjust-TszMind-pos":e.selectedNode},attrs:{id:"TszMind"}})])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:!!e.selectedNode,expression:"!!selectedNode"}],staticClass:"xmind_popup"},[e.selectedNode?n("div",[e.currentPopupViewType===e.popupViewType.NODE_DETAIL?n("div",[n("div",{staticClass:"xmind_popup_head"},[e._v(e._s(e.selectedNode.topic))]),n("div",{staticClass:"xmind_popup_section"},[e.selectedNode.data.isNest?e._e():n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.changePopupViewType(e.popupViewType.ADD_SUB_TEMPLATE)}}},[e._v("嵌套模板")]),e.selectedNode.data.isNest?n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.removeNestTemplate()}}},[e._v("移除嵌套模板")]):e._e(),e.selectedNode.data.isNest?n("el-button",{staticClass:"xmind_popup_button",on:{click:function(t){return e.gotoMatrix()}}},[e._v("查看文件交换关系")]):e._e()],1)]):e.currentPopupViewType===e.popupViewType.ADD_SUB_TEMPLATE?n("div",[n("div",{staticClass:"xmind_popup_head"},[e._v("选择嵌套模板")]),n("template-tree",{attrs:{filterList:e.filterCurrentTemplate.bind(this),nodeClick:e.onSelectSubTemplate}}),n("div",{staticClass:"xmind_popup_foot"},[n("el-button",{staticClass:"xmind_popup_foot_button",on:{click:e.cancelAddSubTemplate}},[e._v("取消")]),n("el-button",{staticClass:"xmind_popup_foot_button",attrs:{disabled:!e.selectedSubTemplateNode},on:{click:e.doNestTemplate}},[e._v("嵌套")])],1)],1):e._e()]):e._e()])])],1)},a=[],i=(n("99af"),n("4de4"),n("7db0"),n("4160"),n("b0c0"),n("159b"),n("96cf"),n("1da1")),s=n("b0f9"),o=n("f96e"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navtreebox",class:{"navtreebox-inclient":e.isClient}},[n("el-tree",{ref:"tree",attrs:{data:e.listTemplateTree,"default-expand-all":!0,"node-key":"id","expand-on-click-node":!1,"filter-node-method":e.filterTreeNode,indent:8,"highlight-current":!0},on:{"node-contextmenu":e.nodeRightClick,"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,a=t.data;return n("span",{staticClass:"custom-tree-node"},[n("span",{staticClass:"sanjiaow"},["default"==a.id?n("i",{staticClass:"el-icon-models"}):e._e(),0==a.isLeaf&&1==r.isLeaf?n("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop"}):e._e(),1==a.isLeaf&&1==r.isLeaf?n("i",{staticClass:"el-icon-models"}):e._e(),n("span",[e._v(e._s(a.label))])])])}}])})],1)},u=[],l=(n("c975"),n("13d5"),n("a434"),n("d3b7"),n("3ca3"),n("ddb0"),n("3835")),d=n("2ef0"),p=n("b3b1"),m=n("1d40"),h={props:{nodeClick:{type:Function,default:d["noop"]},nodeRightClick:{type:Function,default:d["noop"]},filterTreeNode:{type:Function,default:d["noop"]},filterList:{type:Function,default:d["identity"]}},data:function(){return{listTemplateTree:[],allIndList:[],topIndList:[],level2IndList:[],mapIndIdToIndName:{},mapIndIdToIndNode:{},isClient:m["a"].isClient}},created:function(){this.fetchTemplateList()},methods:{getIndustryData:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(p["a"])();case 2:return n=t.sent,e.topIndList=n.filter((function(e){return 1===e.Level})),e.level2IndList=[],e.allIndList=n,r=n.reduce((function(e,t){return e[t.Id]=t.Name,e}),{}),e.mapIndIdToIndName=r,t.abrupt("return",n);case 9:case"end":return t.stop()}}),t)})))()},fetchTemplateList:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r,a,i,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([s["n"](),e.getIndustryData()]);case 2:n=t.sent,r=Object(l["a"])(n,2),a=r[0],i=r[1],console.log(i),o=f(e.filterList(a.Data||[]),i),c=Object(l["a"])(o,2),u=c[0],d=c[1],e.mapIndIdToIndNode=d,e.listTemplateTree=u;case 10:case"end":return t.stop()}}),t)})))()}}};function f(e,t){var n={},r=e.reduce((function(e,t){var n="0"!==t.CustomCode&&t.CustomCode?t.CustomCode:void 0,r=n||t.DetailIndustryId,a={id:t.Id,label:t.TempName,parentId:r,isLeaf:!0,type:"template",data:t};return e[r]=(e[r]||[]).concat(a),e}),{}),a=t.reduce((function(e,t){var r="0"!==t.SuperId&&t.SuperId?t.SuperId:null,a={id:t.Id,label:t.Name,parentId:r,data:t,type:"industry",children:[],isLeaf:!1};return e[0][a.id]=a,e[1].unshift(a),n[a.id]=a,r&&(e[2][r]||(e[2][r]=[]),e[2][r].push(a)),1===t.Level&&e[3].push(a),e}),[{},[],{},[]]),i=Object(l["a"])(a,4),s=i[0],o=i[1],c=i[2],u=i[3];return o.forEach((function(e){var t=c[e.id];t&&(e.children=e.children.concat(t));var n=r[e.id];if(n&&(e.children=e.children.concat(n)),0===e.children.length){var a=s[e.parentId],i=a?c[a.id]:u;i.splice(i.indexOf(e),1)}})),[u,n]}var w=h,b=(n("ad8f"),n("2877")),v=Object(b["a"])(w,c,u,!1,null,"5b7275a0",null),g=v.exports,T=n("3de1"),y=window.jsMind,x=window.jQuery,N={NODE_DETAIL:1,ADD_SUB_TEMPLATE:2,ADD_CHILD_NODE:3},k={components:{TemplateTree:g,AppHeader:o["a"]},data:function(){return{nestNodeList:[],templateList:[],cloneTemplateMindTree:[],listTemplateMindTree:[],mindZoom:60,tempName:this.$route.params.name,tempId:sessionStorage.templateID,jm:null,selectedNode:null,popupViewType:N,currentPopupViewType:N.NODE_DETAIL,selectedSubTemplateNode:null,isClient:m["a"].isClient}},created:function(){this.getNestNode(this.tempId),this.getTemplateMindTree()},watch:{},methods:{getNestNode:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,s["l"](e);case 2:r=n.sent,t.nestNodeList=r.Data||[];case 4:case"end":return n.stop()}}),n)})))()},addNestNode:function(e){var t=this.findAllNestNode(e);e.children?0!==t.length&&(e.children=e.children.concat(t)):0!==t.length&&(e.children=[],e.children=e.children.concat(t))},getAddNestNode:function(e){var t=this;this.addNestNode(e),e.children&&e.children.forEach((function(e){t.getAddNestNode(e)}))},findAllNestNode:function(e){var t;t=this.nestNodeList.filter((function(t){return t.ParentNodeId==e.id}));var n=t.length;if(n>0){var r=[];return t.forEach((function(e){var t={id:"",isNest:!0,label:"",topic:"",templateId:""};t.id=e.Id,t.label=e.TemplateName,t.topic=e.TemplateName,t.templateId=e.TemplateId,r.push(t)})),r}return[]},onBackBtnClick:function(){this.$router.push({name:"system_template",params:{data:this.$route.params.data}})},filterCurrentTemplate:function(e){var t=this.tempId;return e.filter((function(e){return e.Id!==t}))},zoomIn:function(){this.mindZoom-=1;var e=document.getElementsByClassName("jsmind-inner");e[0].style.zoom=this.mindZoom/100},zoomOut:function(e){this.mindZoom+=1;var t=document.getElementsByClassName("jsmind-inner");t[0].style.zoom=this.mindZoom/100},biliToolTip:function(e){return e+"%"},scanMind:function(){var e=this,t={meta:{name:"mindhh",author:"hh",version:"0.2"},format:"node_tree",data:this.listTemplateMindTree[0]},n={container:"TszMind",editable:!1,theme:"",mode:"side",support_html:!1,view:{engine:"canvas",hmargin:100,vmargin:50,line_width:1,line_color:"#cccdd7"}};if(null==document.querySelector("jmnodes")){var r=new y(n);r.disable_edit(),r.end_edit(),r.show(t),this.jm=r}else y.current.show(t);this.isShowZoom=!0;var a=x(".jsmind-inner"),i=a[0];i.style.zoom=.8;var s=x(i).find("jmnodes").get(0);s.addEventListener("click",this.onNodeClick.bind(this)),setTimeout((function(){return _(e.listTemplateMindTree[0])}),0)},getTemplateMindTree:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.tempId,t.next=3,s["o"](n);case 3:r=t.sent,e.listTemplateMindTree=r.Data?[r.Data]:[],e.getAddNestNode(e.listTemplateMindTree[0]),e.scanMind();case 7:case"end":return t.stop()}}),t)})))()},onNodeClick:function(e){if("JMNODE"===e.target.tagName){var t=e.target,n=this.jm,r=t.getAttribute("nodeid"),a=n.mind.nodes,i=a[r];this.currentPopupViewType=this.popupViewType.NODE_DETAIL,this.selectedNode=i}else this.selectedNode=null},changePopupViewType:function(e){this.currentPopupViewType=e},onSelectSubTemplate:function(e){"template"===e.type?this.selectedSubTemplateNode=e:this.selectedSubTemplateNode=null},cancelAddSubTemplate:function(){this.changePopupViewType(this.popupViewType.NODE_DETAIL),this.selectedSubTemplateNode=null},doNestTemplate:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r,a,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.selectedSubTemplateNode,r=e.selectedNode,a=e.tempId,i=e.selectedSubTemplateNode.label,t.next=6,s["c"]({Id:n.id,ParentId:r.id,ParentTemplateId:a,Name:i});case 6:if(o=t.sent,0===o.Code){t.next=9;break}return t.abrupt("return");case 9:T["d"].success("嵌套成功"),e.selectedNode=null,e.getNestNode(e.tempId),e.getTemplateMindTree();case 13:case"end":return t.stop()}}),t)})))()},removeNestTemplate:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,r,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.selectedNode,r=n.parent,a=n.data.templateId,e.next=5,s["e"]({parentNodeId:r.id,templateId:a});case 5:if(i=e.sent,0===i.Code){e.next=8;break}return e.abrupt("return");case 8:T["d"].success("移除成功"),t.selectedNode=null,t.getNestNode(t.tempId),t.getTemplateMindTree();case 12:case"end":return e.stop()}}),e)})))()},gotoMatrix:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.selectedNode,r=n.parent,e.$router.push({name:"system_template_matrix",params:{name:r.topic,id:r.id,subTemplateId:n.data.templateId,templateId:e.tempId}});case 3:case"end":return t.stop()}}),t)})))()}}};function _(e){e&&e.children&&e.children.forEach((function(e){if(e.label=e.topic,e.isNest){var t=x("jmnode[nodeid=".concat(e.id,"]"));t.prepend('')}else _(e)}))}var C=k,j=(n("0999"),Object(b["a"])(C,r,a,!1,null,"d552047a",null));t["default"]=j.exports},f2e8:function(e,t,n){},f96e:function(e,t,n){"use strict";var r=n("01a8");n.d(t,"a",(function(){return r["a"]}))}}]);
\ No newline at end of file
diff --git a/static/js/chunk-131f93ca.35af715b.js b/static/js/chunk-7d913a8a.dc2ae5a5.js
similarity index 99%
rename from static/js/chunk-131f93ca.35af715b.js
rename to static/js/chunk-7d913a8a.dc2ae5a5.js
index 6e0a4910..90301981 100644
--- a/static/js/chunk-131f93ca.35af715b.js
+++ b/static/js/chunk-7d913a8a.dc2ae5a5.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-131f93ca"],{1148:function(e,t,i){"use strict";var a=i("a691"),n=i("1d80");e.exports="".repeat||function(e){var t=String(n(this)),i="",s=a(e);if(s<0||s==1/0)throw RangeError("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(i+=t);return i}},"408a":function(e,t,i){var a=i("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},9807:function(e,t,i){"use strict";var a=i("e2fd"),n=i.n(a);n.a},a429:function(e,t,i){"use strict";i("b0c0");var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"uploadFileList"},[i("ul",{staticClass:"updatebox shangchuandinwei",attrs:{id:"updatebox"}},e._l(e.fileList,(function(t){return i("li",{key:t.id,staticClass:"updateboxlist1",attrs:{id:t.id}},[i("div",{staticClass:"fl"},[i("i",{staticClass:"fa fa-file fl_icon"}),i("span",{staticClass:"shenluehao",attrs:{title:t.name}},[e._v(e._s(t.name))]),i("span",{staticClass:"fiflesize"},[e._v(e._s(e.fileSize))]),i("span",{staticClass:"fifleprogress"},[e._v(e._s(e.processPercentage))])]),i("div",{ref:"fr",refInFor:!0,staticClass:"fr"},[i("i",{staticClass:"fa fa-pause-circle hand",on:{click:function(i){return e.stop(t)}}}),i("i",{staticClass:"fa fa-times-circle hand",on:{click:function(i){return e.removeFile(t)}}})]),i("div",{staticClass:"clear"}),i("div",{staticClass:"progressionbg"})])})),0),i("div",{ref:"filePicker",staticClass:"updatefile",attrs:{id:e.btnId},on:{click:e.sureClick}})])},n=[],s=(i("7db0"),i("4160"),i("a9e3"),i("b680"),i("ac1f"),i("1276"),i("159b"),window.WebUploader),r=window.jQuery,o={name:"fileUploader",componentName:"fileUploader",props:{auto:{type:Boolean,default:!1},dragfile:{type:Boolean,default:!1},dragTag:{type:String,default:""},multiple:{type:Boolean,default:!1},url:{type:String,default:""},accept:{type:String,default:"*"},fileNumLimit:{type:Number,default:300},fileSizeLimit:{type:Number,default:7574913024},fileSingleSizeLimit:{type:Number,default:5368709120},formData:{type:Object,default:null},keyGenerator:{type:Function,default:function(e){(new Date).getTime();var t="${currentTime}.${file.name}";return t}},btnId:{type:String,default:function(e){return e}},label:{type:String,default:function(e){return e}},projId:{type:String,default:function(e){return e}},companyId:{type:String,default:function(e){return e}},typeId:{type:Number,default:function(e){return e}}},data:function(){return{uploader:null,fileList:[],fileCount:0,fileSize:0,processPercentage:0,fileCancelNum:0,GUID:s.Base.guid(),fileMd5:"",fileName:"",count:0,oldJindu:0,filesArr:[],fileData:{},map:{},uniqueId:s.Base.guid()}},mounted:function(){this.initWebUpload()},methods:{initWebUpload:function(){var e=this;s.Uploader.register({"before-send-file":"beforeSendFile","before-send":"beforeSend","after-send-file":"afterSendFile"},{beforeSendFile:function(t){r("#"+t.id).children("div").eq(0).append('');var i=s.Deferred();return(new s.Uploader).md5File(t,0,10485760).progress((function(e){r("#"+t.id).find("p.state").text("正在读取文件信息...")})).then((function(a){r("#"+t.id).find("p.state").text("成功获取文件信息..."),e.fileMd5=a,i.resolve()})),r("#"+t.id).find("p.state").css("display","none"),e.fileName=t.name,i.promise()},beforeSend:function(t){var i=s.Deferred();return r.ajax({type:"POST",url:"/api/webupload/chunks/checkormerge",contentType:"application/json;charset=utf-8",data:JSON.stringify({fileName:e.fileName,guid:e.GUID,processPercentage:e.processPercentage,fileMd5:e.fileMd5,chunk:t.chunk,chunkSize:t.end-t.start,action:"checkChunks",uniqueId:e.uniqueId,projId:e.projId,companyId:e.companyId,typeId:e.typeId}),cache:!0,async:!1,timeout:3e3,dataType:"json",success:function(e){"1"===e.ifExist?i.reject():i.resolve()}}),this.owner.options.formData.fileMd5=e.fileMd5,this.owner.options.formData.fileName=e.fileName,this.owner.options.formData.uniqueId=e.uniqueId,i.promise()},afterSendFile:function(e,t){}}),this.uploader=s.create({auto:this.auto,swf:"./uploader.swf",server:this.url,pick:{id:"#"+this.btnId,label:this.label,multiple:this.multiple},paste:"#updatebox",dnd:this.dragTag,accept:this.getAccept(this.accept),threads:3,fileNumLimit:this.fileNumLimit,fileSizeLimit:this.fileSizeLimit,fileSingleSizeLimit:this.fileSingleSizeLimit,formData:{guid:this.GUID,filename:this.fileName,uniqueId:this.uniqueId,projId:this.projId,companyId:this.companyId,typeId:this.typeId},multiple:this.multiple,chunked:!0,chunkSize:2097152,duplicate:!0,compress:!1}),this.uploader.on("fileQueued",(function(e){})),this.uploader.on("filesQueued",(function(t){e.fileAdd(t)})),this.uploader.on("uploadStart",(function(t){e.$emit("upload-start",{uniqueId:e.uniqueId,fileName:e.fileData.name})})),this.uploader.on("fileDequeued",(function(t){e.fileDequeued(t)})),this.uploader.on("uploadProgress",(function(t,i){t.statusText="uploading",e.uploadProcess(t,i)})),this.uploader.on("uploadSuccess",(function(t,i){"true"==i.chunked?"true"==i.hasError?e.$notify({type:"error",message:"文件未成功上传",offset:100,duration:5e3}):r.ajax({type:"POST",async:!1,url:"/api/webupload/chunks/checkormerge",contentType:"application/json;charset=utf-8",data:JSON.stringify({fileName:i.filename,fileMd5:e.fileMd5,guid:e.GUID,fileExt:i.f_ext,action:"mergeChunksFiles",uniqueId:e.uniqueId,projId:e.projId,companyId:e.companyId,typeId:e.typeId}),success:function(a){if(null!=a&&""!=a){var n=a;e.fileData=t,e.fileData.savePath=decodeURIComponent(n.savePath),e.fileData.fileCount=e.uploader.getFiles().length,e.$emit("upload-success",{uniqueId:e.uniqueId,fileName:e.fileData.name,filePath:decodeURIComponent(n.savePath),fileSize:e.fileData.size,unZipPath:decodeURIComponent(n.unZipPath),fileExt:i.f_ext}),e.fileList=[]}else e.$notify({type:"error",message:"文件未成功上传",offset:100,duration:5e3})},error:function(){e.$notify({type:"error",message:"文件未成功上传",offset:100,duration:5e3})}}):(e.fileData=t,e.fileData.savePath=decodeURIComponent(i.savePath),e.fileData.fileCount=e.uploader.getFiles().length,e.$emit("upload-success",{uniqueId:e.uniqueId,fileName:e.fileData.name,filePath:decodeURIComponent(i.savePath),fileSize:e.fileData.size,unZipPath:decodeURIComponent(i.unZipPath),fileExt:i.f_ext}),e.fileList=[])})),this.uploader.on("uploadComplete",(function(t,i){this.getStats().queueNum<=0&&this.getStats().progressNum<=0&&(r("#updatebox").children("li").remove(),e.uniqueId=s.Base.guid())})),this.uploader.on("uploadError",(function(e,t){console.error(t)})),this.uploader.on("error",(function(t){"F_EXCEED_SIZE"===t?e.$notify({message:"文件大小不能超过1M",offset:100,duration:5e3,type:"error"}):"Q_EXCEED_NUM_LIMIT"===t?e.$notify({type:"error",message:"文件上传已达到最大上限数",offset:100,duration:5e3}):"Q_TYPE_DENIED"===t&&e.$notify({type:"error",dangerouslyUseHTMLString:!0,message:"文件类型不允许
或文件为空",offset:100,duration:5e3})}))},fileAdd:function(e){var t=this;e.forEach((function(e,i){t.fileList.push(e)}))},uploadProcess:function(e,t){var i=this,a=r("#"+e.id).children("div").last(),n=r("#"+e.id).children("div").eq(0).find("span.fifleprogress"),s=r("#"+e.id).children("div").eq(0).find("span.fiflesize");n.length||r("#"+e.id).children("div").eq(0).append(''),s.length||r("#"+e.id).children("div").eq(0).append(''),i.fileSize=i.toConvertFileSize(e.size),r("#"+e.id).find("span.fiflesize").text(i.fileSize),"paused"==e.statusText?(i.processPercentage=t,a.css("background-color","#daf3ff"),a.css("width",t),r("#"+e.id).find("span.fifleprogress").text(i.processPercentage)):"uploading"==e.statusText&&(a.css("background-color","#daf3ff"),a.css("width",Math.round(100*t)+"%"),r("#"+e.id).find("span.fifleprogress").text(Math.round(100*t)+"%"),i.processPercentage=Math.round(100*t)+"%")},upload:function(e){this.uploader.upload(e)},stop:function(e){var t=this,i=r("#"+e.id).children("div").eq(1).children("i").first().attr("class");"fa fa-pause-circle hand"==i?(t.setState(e,"paused"),t.uploadProcess(e,t.processPercentage),t.uploader.stop(!0)):"fa hand fa-play-circle"==i&&(t.setState(e,"uploading"),t.uploadProcess(e,t.processPercentage),t.uploader.upload(e))},cancelFile:function(e){this.uploader.cancelFile(e)},removeFile:function(e){this.uploader.removeFile(e,!0)},fileDequeued:function(e){var t=this,i=this.uploader.getStats();t.fileCancelNum=i.cancelNum,r.ajax({type:"POST",async:!1,url:"/api/webupload/chunks/clear",contentType:"application/json;charset=utf-8",data:JSON.stringify({guid:t.GUID,fileName:t.fileName}),success:function(t){"true"==t.hasError&&r("#"+e.id).remove()}})},setState:function(e,t){switch(t){case"pedding":break;case"ready":break;case"uploading":r("#"+e.id).children("div").eq(1).children("i").first().removeClass("fa hand fa-play-circle "),r("#"+e.id).children("div").eq(1).children("i").first().addClass("fa fa-pause-circle hand"),e.statusText="uploading";break;case"paused":r("#"+e.id).children("div").eq(1).children("i").first().removeClass("fa fa-pause-circle hand "),r("#"+e.id).children("div").eq(1).children("i").first().addClass("fa hand fa-play-circle"),e.statusText="paused";break;case"confirm":break;case"finish":break}},toConvertFileSize:function(e){return e>=0&&e<1024?Math.round(e)+" B":e>=1024&&e<1048576?Math.round(e/1024).toFixed(2)+"K":e>=1024&&e<1073741824?Math.round(e/1048576).toFixed(2)+" M":Math.round(e/1073741824).toFixed(2)+" G"},getAccept:function(e){switch(e=e.toLowerCase(),"image,pdf"==e&&(e="pdf,image"),"text,pdf"==e&&(e="pdf,text"),"image,text"==e&&(e="text,image"),e){case"*":return e;case"rar":return{title:"tar",extensions:"zip,rar",mimeTypes:".zip,.rar"};case"rfa":return{title:"rfa",extensions:"rfa",mimeTypes:".rfa"};case"pdf":return{title:"pdf",extensions:"pdf",mimeTypes:".pdf"};case"text":return{title:"Texts",extensions:"doc,docx,xls,xlsx,ppt,pptx,txt",mimeTypes:".doc,docx,.xls,.xlsx,.ppt,.pptx,.txt"};case"video":return{title:"Videos",extensions:"mp4",mimeTypes:".mp4"};case"image":return{title:"Images",extensions:"gif,jpg,jpeg,bmp,png",mimeTypes:".gif,.jpg,.jpeg,.bmp,.png"};case"pdf,image":return{title:"Images",extensions:"pdf,gif,jpg,jpeg,bmp,png",mimeTypes:".pdf,.gif,.jpg,.jpeg,.bmp,.png"};case"pdf,text":return{title:"Texts",extensions:"pdf,doc,docx,xls,xlsx,ppt,pptx,txt",mimeTypes:".pdf,.doc,docx,.xls,.xlsx,.ppt,.pptx,.txt"};case"text,image":return{title:"Texts",extensions:"doc,docx,xls,xlsx,ppt,pptx,txt,gif,jpg,jpeg,bmp,png",mimeTypes:".doc,docx,.xls,.xlsx,.ppt,.pptx,.txt,.gif,.jpg,.jpeg,.bmp,.png"};default:var t=e.split(","),i="";if(null!=t&&t.length>0)for(var a=0;a=4096)t+=12,i/=4096;while(i>=2)t+=1,i/=2;return t},c=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){l.call({})}));a({target:"Number",proto:!0,forced:c},{toFixed:function(e){var t,i,a,o,l=s(this),c=n(e),p=[0,0,0,0,0,0],h="",m="0",g=function(e,t){var i=-1,a=t;while(++i<6)a+=e*p[i],p[i]=a%1e7,a=d(a/1e7)},x=function(e){var t=6,i=0;while(--t>=0)i+=p[t],p[t]=d(i/e),i=i%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var i=String(p[e]);t=""===t?i:t+r.call("0",7-i.length)+i}return t};if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*u(2,69,1))-69,i=t<0?l*u(2,-t,1):l/u(2,t,1),i*=4503599627370496,t=52-t,t>0){g(0,i),a=c;while(a>=7)g(1e7,0),a-=7;g(u(10,a,1),0),a=t-1;while(a>=23)x(1<<23),a-=23;x(1<0?(o=m.length,m=h+(o<=c?"0."+r.call("0",c-o)+m:m.slice(0,o-c)+"."+m.slice(o-c))):m=h+m,m}})},e2fd:function(e,t,i){}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d913a8a"],{1148:function(e,t,i){"use strict";var a=i("a691"),n=i("1d80");e.exports="".repeat||function(e){var t=String(n(this)),i="",s=a(e);if(s<0||s==1/0)throw RangeError("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(i+=t);return i}},"408a":function(e,t,i){var a=i("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},9807:function(e,t,i){"use strict";var a=i("e2fd"),n=i.n(a);n.a},a429:function(e,t,i){"use strict";i("b0c0");var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"uploadFileList"},[i("ul",{staticClass:"updatebox shangchuandinwei",attrs:{id:"updatebox"}},e._l(e.fileList,(function(t){return i("li",{key:t.id,staticClass:"updateboxlist1",attrs:{id:t.id}},[i("div",{staticClass:"fl"},[i("i",{staticClass:"fa fa-file fl_icon"}),i("span",{staticClass:"shenluehao",attrs:{title:t.name}},[e._v(e._s(t.name))]),i("span",{staticClass:"fiflesize"},[e._v(e._s(e.fileSize))]),i("span",{staticClass:"fifleprogress"},[e._v(e._s(e.processPercentage))])]),i("div",{ref:"fr",refInFor:!0,staticClass:"fr"},[i("i",{staticClass:"fa fa-pause-circle hand",on:{click:function(i){return e.stop(t)}}}),i("i",{staticClass:"fa fa-times-circle hand",on:{click:function(i){return e.removeFile(t)}}})]),i("div",{staticClass:"clear"}),i("div",{staticClass:"progressionbg"})])})),0),i("div",{ref:"filePicker",staticClass:"updatefile",attrs:{id:e.btnId},on:{click:e.sureClick}})])},n=[],s=(i("7db0"),i("4160"),i("a9e3"),i("b680"),i("ac1f"),i("1276"),i("159b"),window.WebUploader),r=window.jQuery,o={name:"fileUploader",componentName:"fileUploader",props:{auto:{type:Boolean,default:!1},dragfile:{type:Boolean,default:!1},dragTag:{type:String,default:""},multiple:{type:Boolean,default:!1},url:{type:String,default:""},accept:{type:String,default:"*"},fileNumLimit:{type:Number,default:300},fileSizeLimit:{type:Number,default:7574913024},fileSingleSizeLimit:{type:Number,default:5368709120},formData:{type:Object,default:null},keyGenerator:{type:Function,default:function(e){(new Date).getTime();var t="${currentTime}.${file.name}";return t}},btnId:{type:String,default:function(e){return e}},label:{type:String,default:function(e){return e}},projId:{type:String,default:function(e){return e}},companyId:{type:String,default:function(e){return e}},typeId:{type:Number,default:function(e){return e}}},data:function(){return{uploader:null,fileList:[],fileCount:0,fileSize:0,processPercentage:0,fileCancelNum:0,GUID:s.Base.guid(),fileMd5:"",fileName:"",count:0,oldJindu:0,filesArr:[],fileData:{},map:{},uniqueId:s.Base.guid()}},mounted:function(){this.initWebUpload()},methods:{initWebUpload:function(){var e=this;s.Uploader.register({"before-send-file":"beforeSendFile","before-send":"beforeSend","after-send-file":"afterSendFile"},{beforeSendFile:function(t){r("#"+t.id).children("div").eq(0).append('