Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

2 Zeilen
24 KiB

  1. (function(e){function n(n){for(var c,a,u=n[0],i=n[1],s=n[2],d=0,f=[];d<u.length;d++)a=u[d],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&f.push(r[a][0]),r[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);l&&l(n);while(f.length)f.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],c=!0,a=1;a<t.length;a++){var u=t[a];0!==r[u]&&(c=!1)}c&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+"."+{"chunk-05a1125b":"32d0ac09","chunk-0d3a42ee":"04e38c1a","chunk-2d0c061a":"f5b5ec37","chunk-2d224b2b":"da76e0bd","chunk-2d226007":"1664d2cc","chunk-2d22fcc4":"64351891","chunk-37f74005":"f062c300","chunk-3fe09320":"2a99372a","chunk-3fe478f8":"4c34b625","chunk-5acb4ad4":"34664d89","chunk-6610d797":"daccfd7b","chunk-a57ac5ae":"20c18f9b","chunk-b5d13ce8":"1b4125b0","chunk-bd5a3f5c":"dc11dd11","chunk-1fe39068":"222e4d04","chunk-1fe40532":"d626b935","chunk-2d0b3688":"8c505859","chunk-2d0cf6a4":"32a7ad43","chunk-2d0dddf0":"d54df269","chunk-2d0e148e":"dced2211","chunk-2d207f39":"c05a9b66","chunk-2d21b850":"8ea8eb8c","chunk-578abaf6":"5bdf40e4","chunk-0f09bee9":"be79983f","chunk-7e46c9de":"41b38204","chunk-f6418e24":"2ef4929b","chunk-385437ae":"df7162e7","chunk-0edf1e34":"d2d054d3","chunk-1480e558":"83748de9","chunk-14cbfe68":"7c89ade2","chunk-2027ffed":"b4022d8b","chunk-28085ec6":"2078c4e1","chunk-43839702":"e8ca06ac","chunk-c2118af8":"2398f236","chunk-5cefa2e4":"614634f4","chunk-613e88d1":"6e68ad8e","chunk-74b26ff1":"8b049c90","chunk-cdec288e":"9e561247","chunk-ef8ce8b2":"94c0f8c8","chunk-eb6bd3dc":"be59f634","chunk-0f555441":"1c4aec96","chunk-fa61d866":"b036df94"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-05a1125b":1,"chunk-0d3a42ee":1,"chunk-37f74005":1,"chunk-6610d797":1,"chunk-bd5a3f5c":1,"chunk-0f09bee9":1,"chunk-385437ae":1,"chunk-0edf1e34":1,"chunk-1480e558":1,"chunk-14cbfe68":1,"chunk-2027ffed":1,"chunk-28085ec6":1,"chunk-43839702":1,"chunk-c2118af8":1,"chunk-5cefa2e4":1,"chunk-613e88d1":1,"chunk-74b26ff1":1,"chunk-cdec288e":1,"chunk-ef8ce8b2":1,"chunk-0f555441":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="static/css/"+({}[e]||e)+"."+{"chunk-05a1125b":"0cea0e94","chunk-0d3a42ee":"74b1f484","chunk-2d0c061a":"31d6cfe0","chunk-2d224b2b":"31d6cfe0","chunk-2d226007":"31d6cfe0","chunk-2d22fcc4":"31d6cfe0","chunk-37f74005":"5e4df2ed","chunk-3fe09320":"31d6cfe0","chunk-3fe478f8":"31d6cfe0","chunk-5acb4ad4":"31d6cfe0","chunk-6610d797":"0c46bf74","chunk-a57ac5ae":"31d6cfe0","chunk-b5d13ce8":"31d6cfe0","chunk-bd5a3f5c":"946d3591","chunk-1fe39068":"31d6cfe0","chunk-1fe40532":"31d6cfe0","chunk-2d0b3688":"31d6cfe0","chunk-2d0cf6a4":"31d6cfe0","chunk-2d0dddf0":"31d6cfe0","chunk-2d0e148e":"31d6cfe0","chunk-2d207f39":"31d6cfe0","chunk-2d21b850":"31d6cfe0","chunk-578abaf6":"31d6cfe0","chunk-0f09bee9":"64c8ed61","chunk-7e46c9de":"31d6cfe0","chunk-f6418e24":"31d6cfe0","chunk-385437ae":"e17a55c4","chunk-0edf1e34":"52b4af07","chunk-1480e558":"1dfaa181","chunk-14cbfe68":"13b02e8c","chunk-2027ffed":"9ae5818a","chunk-28085ec6":"3af4ccb9","chunk-43839702":"8ab88330","chunk-c2118af8":"4d946c6c","chunk-5cefa2e4":"74f669f0","chunk-613e88d1":"b08c3f7d","chunk-74b26ff1":"351d7309","chunk-cdec288e":"d3216466","chunk-ef8ce8b2":"65074e9d","chunk-eb6bd3dc":"31d6cfe0","chunk-0f555441":"2e1e3092","chunk-fa61d866":"31d6cfe0"}[e]+".css",r=i.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var s=o[u],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===c||d===r))return n()}var f=document.getElementsByTagName("style");for(u=0;u<f.length;u++){s=f[u],d=s.getAttribute("data-href");if(d===c||d===r)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var c=n&&n.target&&n.target.src||r,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete a[e],l.parentNode.removeChild(l),t(o)},l.href=r;var h=document.getElementsByTagName("head")[0];h.appendChild(l)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=o);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=u(e);var f=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(l);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}r[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="/",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=n,s=s.slice();for(var f=0;f<s.length;f++)n(s[f]);var l=d;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"0f13":function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"d",(function(){return a})),t.d(n,"a",(function(){return r})),t.d(n,"c",(function(){return o}));t("c975");var c={MANAGE_CENTER:"MANAGE_CENTER",COMPANY:"COMPANY",TEMPLATE_CONSOLE:"TEMPLATE_CONSOLE"};function a(e,n,t,c){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:c,orgName:t,accessList:a}}var r={CompanyConsole:"company_console",ProjectManager:"project_manager"};function o(e,n){return-1!==e.indexOf(n)}},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o})),t.d(n,"e",(function(){return u})),t.d(n,"d",(function(){return i})),t.d(n,"a",(function(){return s}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var c=t("3835"),a=t("2b0e");function r(e){return Object.entries(e).reduce((function(e,n){var t=Object(c["a"])(n,2),a=t[0],r=t[1];return e["".concat(a[0].toLocaleLowerCase()).concat(a.slice(1))]=r,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(c["a"])(n,2),a=t[0],r=t[1];return e["".concat(a[0].toLocaleUpperCase()).concat(a.slice(1))]=r,e}),{})}var u=function(e){return new Promise((function(n){return setTimeout(n,e)}))},i={success:function(e){a["default"].prototype.$notify({title:"",message:e,type:"success",offset:100,duration:2500})},error:function(e){a["default"].prototype.$notify({message:e,type:"error",offset:100,duration:2500})},info:function(e){a["default"].prototype.$notify({title:"",message:e,type:"info",offset:100,duration:2500})},warning:function(e){a["default"].prototype.$notify({title:"",message:e,type:"warning",offset:100,duration:2500})}};function s(e,n){var t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download",n),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}},"41cb":function(e,n,t){"use strict";t("b0c0"),t("d3b7");var c=t("2b0e"),a=t("8c4f"),r={login:"LOCKING | 登录",project:"LOCKING | 项目编辑",platform:"LOCKING | 平台选择",template:"LOCKING | 模板控制台",projnotice:"LOCKING | 更新提醒",notFound:"404 | 未找到该页面",workspace:"LOCKING | 项目详情",search:"LOCKING | 搜索",recycle:"LOCKING | 回收站",cloud:"LOCKING | 云盘",cloudrecycle:"LOCKING | 云回收站",cloudsource:"LOCKING | 云资源管理器",company:"LOCKING | 企业后台",message2:"LOCKING | 企业后台",company_message:"LOCKING | 平台消息",company_user:"LOCKING | 通讯录",company_project:"LOCKING | 项目管理",company_template:"LOCKING | 模板与应用",company_setting:"LOCKING | 通用设置",company_template_detail:"LOCKING | 模板查看",company_app:"LOCKING | 应用",company_template_market:"LOCKING | 应用市场",system:"LOCKING | 总后台",system_template:"LOCKING | 流程模板",system_template_mind:"LOCKING | 思维导图",system_template_matrix:"LOCKING | 矩阵模板",system_runmanage:"LOCKING | 运行管理",system_appcenter:"LOCKING | 应用管理",system_setting:"LOCKING | 总体权限",system_appinfo:"LOCKING | 应用介绍",system_template_file:"流程模板 | 样板文件"};c["default"].use(a["a"]);var o=new a["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-5acb4ad4"),t.e("chunk-6610d797")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-43839702")]).then(t.bind(null,"46a4"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-cdec288e")]).then(t.bind(null,"1670"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-14cbfe68")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-613e88d1")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-28085ec6")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return Promise.all([t.e("chunk-5acb4ad4"),t.e("chunk-a57ac5ae")]).then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-fa61d866").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-5acb4ad4"),t.e("chunk-c2118af8")]).then(t.bind(null,"11f4"))}},{path:"/project",name:"project",component:function(){return t.e("chunk-0d3a42ee").then(t.bind(null,"47c5"))}},{path:"/recycle",name:"recycle",component:function(){return t.e("chunk-2d22fcc4").then(t.bind(null,"ea0b"))}},{path:"/search",name:"search",component:function(){return t.e("chunk-2d226007").then(t.bind(null,"e798"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-5acb4ad4"),t.e("chunk-0f09bee9")]).then(t.bind(null,"4488"))}},{path:"/cloudrecycle",name:"cloudrecycle",component:function(){return t.e("chunk-2d224b2b").then(t.bind(null,"e0f0"))}},{path:"/cloudsource",name:"cloudsource",component:function(){return t.e("chunk-2d0c061a").then(t.bind(null,"4217"))}},{path:"/company",name:"company",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-1480e558")]).then(t.bind(null,"db21"))},redirect:{name:"company_home"},children:[{path:"home",name:"company_home",component:function(){return t.e("chunk-3fe09320").then(t.bind(null,"345a"))}},{path:"message",name:"company_message",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return Promise.all([t.e("chunk-f6418e24"),t.e("chunk-0f555441")]).then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-578abaf6")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d0dddf0")]).then(t.bind(null,"82dd"))}},{path:"template/detail",name:"company_template_detail",component:function(){return t.e("chunk-b5d13ce8").then(t.bind(null,"ce1d"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d207f39")]).then(t.bind(null,"a35f"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-ef8ce8b2")]).then(function(){var n=[t("65b7")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/template/create",name:"template_create",component:function(e){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-74b26ff1")]).then(function(){var n=[t("d235")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/system",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-0edf1e34")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-eb6bd3dc").then(t.bind(null,"f851"))}},{path:"template",name:"system_template",component:function(){return t.e("chunk-37f74005").then(t.bind(null,"81b5"))}},{path:"runmanage",name:"system_runmanage",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-7e46c9de")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-2027ffed")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-f6418e24"),t.e("chunk-385437ae"),t.e("chunk-5cefa2e4")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-3fe478f8").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-bd5a3f5c"),t.e("chunk-1fe40532")]).then(t.bind(null,"ddca"))}},{path:"*",redirect:{name:"system_customer"}}]},{path:"*",name:"notfound",component:function(){return t.e("chunk-05a1125b").then(t.bind(null,"9403"))}}]});o.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),o.afterEach((function(e){window.document.title=r[e.name]||"LOCKING | 云建筑"}));n["a"]=o},"53be":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4de4"),t("e260"),t("e6cf"),t("cca6"),t("a79d");var c=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view",{ref:"mainpage",staticClass:"mt-48",attrs:{id:"bigbody"}})],1)},r=[],o=(t("b0c0"),{components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1}},created:function(){null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1)},mounted:function(){window.addEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll:function(){},showOption:function(){this.showIndexOption=!0},showHelp:function(){this.showHelpPage=!0},closeShowOption:function(){this.showIndexOption=!1,this.showHelpPage=!1},closeWorkSet:function(){"workspace"==this.$route.name&&this.$refs["mainpage"].closeAppManagePain()},getSearchName:function(e){this.searchName=e},getIsShowOutWorkSpace:function(e){this.outWorkSpace=!1,this.isShowOutWorkSpace=e},getOutWorkSpace:function(e){this.outWorkSpace=e}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)},watch:{$route:function(e){this.mypath=e.path}}}),u=o,i=(t("5c0b"),t("2877")),s=Object(i["a"])(u,a,r,!1,null,null,null),d=s.exports,f=t("41cb"),l=t("5c96"),h=t.n(l),p=(t("0fae"),t("96cf"),t("1da1")),m=t("b775"),b=t("0f13"),k=t("3de1"),y=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},g=function(){var e=y();try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),c=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=c)}catch(a){console.log("加载session数据失败"),e=y()}return e},v={state:g(),setCurrentPlatform:function(e){this.state.currentPlatform=e,this.state.currentCompanyId=e.orgId,sessionStorage.companyId=e.orgId,sessionStorage.platform=JSON.stringify(e)},login:function(e,n){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function c(){var a,r,o,u,i,s,d,f,l,h,p,y,g,v,O,C,_,N,w;return regeneratorRuntime.wrap((function(c){while(1)switch(c.prev=c.next){case 0:return c.next=2,Object(m["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(a=c.sent,r=0===a.Code,r){c.next=6;break}return c.abrupt("return",a);case 6:if(t.state.isLogin=!0,o=Object(k["b"])(a.Data||{}),delete o.userExt,u=o.companyId,i=o.cnName,s=o.id,d=o.permission,f=o.backgroundPermission,l=[],h={accountId:s,accountName:e,userName:i,platformList:l,userInfo:o},p=3===f,y=2===f,!p){c.next=18;break}l.push(Object(b["d"])(b["b"].MANAGE_CENTER,u,"LOCKING 总后台",void 0,[])),c.next=29;break;case 18:return c.next=20,Object(m["b"])("company/queryFrontDeskCompanyById",{id:u});case 20:if(g=c.sent,0===g.Code){c.next=23;break}return c.abrupt("return",g);case 23:v=g.Data,O=void 0===v?{}:v,C=O.company,_=C.LogoUrl,N=C.CompanyName,w=[],y&&w.push(b["a"].CompanyConsole),1===d&&w.push(b["a"].ProjectManager),l.push(Object(b["d"])(b["b"].COMPANY,u,N,_,w));case 29:return t.state.isLogin=!0,Object.assign(t.state,h),sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(h),c.abrupt("return",{Code:a.Code,Data:h});case 35:case"end":return c.stop()}}),c)})))()},logout:function(){this.state=y(),Object(m["b"])("authentication/loginOut"),sessionStorage.clear()}},O=t("2f62"),C=t("a78e"),_=t.n(C),N=t("5ab9"),w=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},I=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),L=t("32ed"),j=t.n(L),S=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.src,expression:"src"}]})},E=[],x={props:{src:String}},G=x,K=Object(i["a"])(G,S,E,!1,null,null,null),T=K.exports;t("856b"),t("d903"),t("c610"),t("935a"),t("53be");c["default"].use(h.a),c["default"].use(P["a"]),c["default"].use(O["a"]),c["default"].prototype.$cookie=_.a,c["default"].component("ImgLazy",T),c["default"].prototype.$axios=m["a"],c["default"].prototype.$fetch=m["a"],c["default"].prototype.$fetchApi=m["b"],c["default"].filter("resolveImg",I),c["default"].filter("resolveAvator",w),c["default"].use(j.a),c["default"].config.productionTip=!1,new c["default"]({router:f["a"],store:v,render:function(e){return e(d)}}).$mount("#app")},"5ab9":function(e,n,t){"use strict";t.d(n,"c",(function(){return i})),t.d(n,"b",(function(){return s})),t.d(n,"a",(function(){return f}));t("99af"),t("c975"),t("ac1f"),t("1276"),t("96cf");var c=t("1da1"),a=t("9b15"),r=t("2ef0"),o=new a({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),u=function(e){return"".concat((new Date).getTime(),"/").concat(e)},i=function(e){return"oss://".concat(e)};function s(e,n){return d.apply(this,arguments)}function d(){return d=Object(c["a"])(regeneratorRuntime.mark((function e(n,t){var c,a,r,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=i.length>2&&void 0!==i[2]?i[2]:{},e.prev=1,a=u(n),e.next=5,o.multipartUpload(a,t,c);case 5:return r=e.sent,e.abrupt("return",r);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var f=Object(r["memoize"])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(0!==e.indexOf("oss://"))return e;var t=e.substr(6),c=n||t.split("/").pop();try{var a=3600,r=o.signatureUrl(t,{expires:a,response:{"content-disposition":'attachment; filename="'.concat(c,'"')}});return setTimeout((function(){f.cache.delete(e)}),1e3*a),r}catch(u){return null}}))},"5c0b":function(e,n,t){"use strict";var c=t("9c0c"),a=t.n(c);a.a},"856b":function(e,n,t){},"935a":function(e,n,t){},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return f}));t("99af"),t("c975"),t("fb6a"),t("d3b7"),t("ac1f"),t("1276"),t("96cf");var c=t("3835"),a=t("1da1"),r=t("bc3a"),o=t.n(r),u=t("41cb"),i=t("3de1");function s(e,n,t){return d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t,a){var r,u,i,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=l(n),u=Object(c["a"])(r,2),i=u[0],s=u[1],e.prev=1,e.next=4,"GET"===i?o.a.get(s,{params:t},a):o.a.post(s,t,a);case 4:return d=e.sent,e.abrupt("return",d.data);case 8:if(e.prev=8,e.t0=e["catch"](1),!e.t0.response||!e.t0.response.status){e.next=16;break}e.t1=e.t0.response.status,e.next=404===e.t1?14:15;break;case 14:return e.abrupt("return",{Code:404,Msg:"找不到指定的服务。"});case 15:return e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 16:return console.error(e.t0),e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 18:case"end":return e.stop()}}),e,null,[[1,8]])}))),d.apply(this,arguments)}function f(e){return 0!==e.Code&&i["d"].error(e.Msg),e}function l(e){var n=e.split("/"),t=Object(c["a"])(n,1),a=t[0],r=-1!==["template","project","folder","file"].indexOf(a)?"pms":"cms",o="api/".concat(r,"/").concat("authentication"===a?"":"v1/").concat(e),u="GET";switch(e){case"authentication/login":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"dept/addDept":case"dept/updateDept":case"user/addUser":case"user/resetPassWord":case"user/updateUser":case"template/createTemplate":case"template/fileExchange":case"template/updateTemplate":case"template/uploadingXmind":case"template/addTemplateNodeModelFile":case"template/createNestedRelevance":case"template/deleteNestedRelevance":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":u="POST";break;default:u="GET";break}return[u,o]}o.a.defaults.withCredentials=!0,o.a.interceptors.request.use((function(e){return 0===e.url.indexOf("api/")&&(e.url="".concat("/api/").concat(e.url.slice(4))),e}),(function(e){return Promise.reject(e)})),o.a.interceptors.response.use((function(e){return e}),(function(e){if(e.response)switch(e.response.status){case 401:"/"!=u["a"].currentRoute.fullPath&&(i["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=o.a},c610:function(e,n,t){},d903:function(e,n,t){}});
  2. //# sourceMappingURL=app.c0873be2.js.map