diff --git a/dist/index.html b/dist/index.html index 56ed7841..6f6bf5e2 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -LOCKING | 云建筑
\ No newline at end of file +LOCKING | 云建筑
\ No newline at end of file diff --git a/dist/static/css/chunk-4a1ab742.da9c8f3c.css b/dist/static/css/chunk-0cbaa28b.20fbf0eb.css similarity index 73% rename from dist/static/css/chunk-4a1ab742.da9c8f3c.css rename to dist/static/css/chunk-0cbaa28b.20fbf0eb.css index e1be3d08..a9814795 100644 --- a/dist/static/css/chunk-4a1ab742.da9c8f3c.css +++ b/dist/static/css/chunk-0cbaa28b.20fbf0eb.css @@ -1 +1 @@ -.hide-state[data-v-32666977]{visibility:hidden}.black[data-v-32666977]{color:#fff!important}.white-color[data-v-32666977],.white[data-v-32666977]{background-color:#fcfcfc}.white[data-v-32666977]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-32666977]{box-sizing:border-box}.app-header[data-v-32666977]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-32666977]{position:relative;-webkit-app-region:drag;display:flex;justify-content:space-between;height:24px;line-height:24px;padding:0 0 0 45px}.app-header-top .top-center[data-v-32666977]{flex:1}.app-header-top .top-left[data-v-32666977],.app-header-top .top-right[data-v-32666977]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-32666977]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-32666977]{background-color:#4ae2a6}.app-header-top .offline[data-v-32666977]{background-color:#d6243a}.app-header-top .top-left .state[data-v-32666977]{color:rgba(0,0,0,.56);font-size:11px;font-family:PingFangSC-Regular;margin:0 0 0 11px;cursor:default}.app-header-top .top-right .close[data-v-32666977],.app-header-top .top-right .min[data-v-32666977],.app-header-top .top-right .my-max[data-v-32666977]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-32666977]:hover,.app-header-top .top-right .my-max[data-v-32666977]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-32666977]:hover{background-color:#d0021b}.app-header-content[data-v-32666977]{display:flex;justify-content:space-between;position:relative;-webkit-app-region:drag;height:40px;width:100%;padding:0 46px 0 64px;font-size:16px}.app-header-content-right[data-v-32666977]{display:flex;align-items:center}.app-header-content-right>div[data-v-32666977],.app-header-content-right>span[data-v-32666977]{margin-left:12px}.app-header-content-left[data-v-32666977]{line-height:40px}.app-header-center[data-v-32666977]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-32666977]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-32666977]{background-color:#32323c}.inRecycle[data-v-32666977]{color:#9c22ff}.adjust-content-pos[data-v-32666977]{position:relative;top:-10px}.stand-place[data-v-32666977]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.platform[data-v-506cc9e0]{background-color:#32323c!important;margin-top:0!important;height:100vh!important}.platform_section[data-v-506cc9e0]{margin-top:48px;padding:1px 64px 0}.platform_title[data-v-506cc9e0]{color:#fff;margin-top:300px;font-size:48px}.platform_list[data-v-506cc9e0]{left:34px;position:absolute}.yiyun_product_item[data-v-506cc9e0]{background-color:#fff;height:228px}.projectbox_item_model:hover>.project_item_model[data-v-506cc9e0]{transform:none}.project_item_model[data-v-506cc9e0]:hover{transform:scale(1.02)!important}.fandatupian[data-v-506cc9e0]{min-height:100%}h4.biaoqianweizhi2[data-v-506cc9e0]{color:#32323c;text-shadow:none}.projectbox_item_model[data-v-506cc9e0]{height:308px}.platform_logo[data-v-506cc9e0]{position:absolute;top:24px;right:24px;width:86px;height:86px}.project_gantetubox_warp[data-v-506cc9e0]{margin-top:16px}.likeButton[data-v-506cc9e0]{width:100%;height:64px;line-height:32px;border-radius:16px;font-size:20px;padding:16px}.likeButton[data-v-506cc9e0] span:only-child{display:flex;justify-content:space-between}.likeButton .icon[data-v-506cc9e0]{font-size:30px} \ No newline at end of file +.hide-state[data-v-32666977]{visibility:hidden}.black[data-v-32666977]{color:#fff!important}.white-color[data-v-32666977],.white[data-v-32666977]{background-color:#fcfcfc}.white[data-v-32666977]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-32666977]{box-sizing:border-box}.app-header[data-v-32666977]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-32666977]{position:relative;-webkit-app-region:drag;display:flex;justify-content:space-between;height:24px;line-height:24px;padding:0 0 0 45px}.app-header-top .top-center[data-v-32666977]{flex:1}.app-header-top .top-left[data-v-32666977],.app-header-top .top-right[data-v-32666977]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-32666977]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-32666977]{background-color:#4ae2a6}.app-header-top .offline[data-v-32666977]{background-color:#d6243a}.app-header-top .top-left .state[data-v-32666977]{color:rgba(0,0,0,.56);font-size:11px;font-family:PingFangSC-Regular;margin:0 0 0 11px;cursor:default}.app-header-top .top-right .close[data-v-32666977],.app-header-top .top-right .min[data-v-32666977],.app-header-top .top-right .my-max[data-v-32666977]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-32666977]:hover,.app-header-top .top-right .my-max[data-v-32666977]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-32666977]:hover{background-color:#d0021b}.app-header-content[data-v-32666977]{display:flex;justify-content:space-between;position:relative;-webkit-app-region:drag;height:40px;width:100%;padding:0 46px 0 64px;font-size:16px}.app-header-content-right[data-v-32666977]{display:flex;align-items:center}.app-header-content-right>div[data-v-32666977],.app-header-content-right>span[data-v-32666977]{margin-left:12px}.app-header-content-left[data-v-32666977]{line-height:40px}.app-header-center[data-v-32666977]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-32666977]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-32666977]{background-color:#32323c}.inRecycle[data-v-32666977]{color:#9c22ff}.adjust-content-pos[data-v-32666977]{position:relative;top:-10px}.stand-place[data-v-32666977]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.platform[data-v-60bac8c6]{background-color:#32323c!important;margin-top:0!important;height:100vh!important}.platform_section[data-v-60bac8c6]{margin-top:48px;padding:1px 64px 0}.platform_title[data-v-60bac8c6]{color:#fff;margin-top:300px;font-size:48px}.platform_list[data-v-60bac8c6]{left:34px;position:absolute}.yiyun_product_item[data-v-60bac8c6]{background-color:#fff;height:228px}.projectbox_item_model:hover>.project_item_model[data-v-60bac8c6]{transform:none}.project_item_model[data-v-60bac8c6]:hover{transform:scale(1.02)!important}.fandatupian[data-v-60bac8c6]{min-height:100%}h4.biaoqianweizhi2[data-v-60bac8c6]{color:#32323c;text-shadow:none}.projectbox_item_model[data-v-60bac8c6]{height:308px}.platform_logo[data-v-60bac8c6]{position:absolute;top:24px;right:24px;width:86px;height:86px}.project_gantetubox_warp[data-v-60bac8c6]{margin-top:16px}.likeButton[data-v-60bac8c6]{width:100%;height:64px;line-height:32px;border-radius:16px;font-size:20px;padding:16px}.likeButton[data-v-60bac8c6] span:only-child{display:flex;justify-content:space-between}.likeButton .icon[data-v-60bac8c6]{font-size:30px} \ No newline at end of file diff --git a/dist/static/css/chunk-690b640b.8a7e8ef9.css b/dist/static/css/chunk-db5e9236.58b258f4.css similarity index 97% rename from dist/static/css/chunk-690b640b.8a7e8ef9.css rename to dist/static/css/chunk-db5e9236.58b258f4.css index 4a291e72..cfa461d2 100644 --- a/dist/static/css/chunk-690b640b.8a7e8ef9.css +++ b/dist/static/css/chunk-db5e9236.58b258f4.css @@ -1 +1 @@ -.hide-state[data-v-32666977]{visibility:hidden}.black[data-v-32666977]{color:#fff!important}.white-color[data-v-32666977],.white[data-v-32666977]{background-color:#fcfcfc}.white[data-v-32666977]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-32666977]{box-sizing:border-box}.app-header[data-v-32666977]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-32666977]{position:relative;-webkit-app-region:drag;display:flex;justify-content:space-between;height:24px;line-height:24px;padding:0 0 0 45px}.app-header-top .top-center[data-v-32666977]{flex:1}.app-header-top .top-left[data-v-32666977],.app-header-top .top-right[data-v-32666977]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-32666977]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-32666977]{background-color:#4ae2a6}.app-header-top .offline[data-v-32666977]{background-color:#d6243a}.app-header-top .top-left .state[data-v-32666977]{color:rgba(0,0,0,.56);font-size:11px;font-family:PingFangSC-Regular;margin:0 0 0 11px;cursor:default}.app-header-top .top-right .close[data-v-32666977],.app-header-top .top-right .min[data-v-32666977],.app-header-top .top-right .my-max[data-v-32666977]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-32666977]:hover,.app-header-top .top-right .my-max[data-v-32666977]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-32666977]:hover{background-color:#d0021b}.app-header-content[data-v-32666977]{display:flex;justify-content:space-between;position:relative;-webkit-app-region:drag;height:40px;width:100%;padding:0 46px 0 64px;font-size:16px}.app-header-content-right[data-v-32666977]{display:flex;align-items:center}.app-header-content-right>div[data-v-32666977],.app-header-content-right>span[data-v-32666977]{margin-left:12px}.app-header-content-left[data-v-32666977]{line-height:40px}.app-header-center[data-v-32666977]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-32666977]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-32666977]{background-color:#32323c}.inRecycle[data-v-32666977]{color:#9c22ff}.adjust-content-pos[data-v-32666977]{position:relative;top:-10px}.stand-place[data-v-32666977]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.app-nav-item[data-v-49e804bc]{display:inline-block;vertical-align:top;padding:0 30px;cursor:pointer}.app-nav-item.app-nav-item-active[data-v-49e804bc]{border-bottom:2px solid #8c00ff}.header-logout[data-v-4017b5e2]{cursor:pointer} \ No newline at end of file +.hide-state[data-v-32666977]{visibility:hidden}.black[data-v-32666977]{color:#fff!important}.white-color[data-v-32666977],.white[data-v-32666977]{background-color:#fcfcfc}.white[data-v-32666977]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-32666977]{box-sizing:border-box}.app-header[data-v-32666977]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-32666977]{position:relative;-webkit-app-region:drag;display:flex;justify-content:space-between;height:24px;line-height:24px;padding:0 0 0 45px}.app-header-top .top-center[data-v-32666977]{flex:1}.app-header-top .top-left[data-v-32666977],.app-header-top .top-right[data-v-32666977]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-32666977]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-32666977]{background-color:#4ae2a6}.app-header-top .offline[data-v-32666977]{background-color:#d6243a}.app-header-top .top-left .state[data-v-32666977]{color:rgba(0,0,0,.56);font-size:11px;font-family:PingFangSC-Regular;margin:0 0 0 11px;cursor:default}.app-header-top .top-right .close[data-v-32666977],.app-header-top .top-right .min[data-v-32666977],.app-header-top .top-right .my-max[data-v-32666977]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-32666977]:hover,.app-header-top .top-right .my-max[data-v-32666977]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-32666977]:hover{background-color:#d0021b}.app-header-content[data-v-32666977]{display:flex;justify-content:space-between;position:relative;-webkit-app-region:drag;height:40px;width:100%;padding:0 46px 0 64px;font-size:16px}.app-header-content-right[data-v-32666977]{display:flex;align-items:center}.app-header-content-right>div[data-v-32666977],.app-header-content-right>span[data-v-32666977]{margin-left:12px}.app-header-content-left[data-v-32666977]{line-height:40px}.app-header-center[data-v-32666977]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-32666977]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-32666977]{background-color:#32323c}.inRecycle[data-v-32666977]{color:#9c22ff}.adjust-content-pos[data-v-32666977]{position:relative;top:-10px}.stand-place[data-v-32666977]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.app-nav-item[data-v-49e804bc]{display:inline-block;vertical-align:top;padding:0 30px;cursor:pointer}.app-nav-item.app-nav-item-active[data-v-49e804bc]{border-bottom:2px solid #8c00ff}.header-logout[data-v-f67b3230]{cursor:pointer} \ No newline at end of file diff --git a/dist/static/js/app.dfb1dc5c.js b/dist/static/js/app.e3944176.js similarity index 94% rename from dist/static/js/app.dfb1dc5c.js rename to dist/static/js/app.e3944176.js index be78e97c..be242098 100644 --- a/dist/static/js/app.dfb1dc5c.js +++ b/dist/static/js/app.e3944176.js @@ -1 +1 @@ -(function(e){function n(n){for(var a,r,i=n[0],u=n[1],s=n[2],l=0,d=[];l4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:r}}var c={CompanyConsole:"company_console",ProjectManager:"project_manager"};function o(e,n){return-1!==e.indexOf(n)}},"1d40":function(e,n,t){"use strict";(function(e){t("99af"),t("4de4"),t("7db0"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b0c0"),t("d3b7"),t("07ac"),t("ac1f"),t("5319"),t("1276");var a=t("5530"),r=(t("96cf"),t("1da1")),c=t("3835"),o=t("b775"),i=t("3de1"),u=t("2ef0"),s=t("2b0e"),l=!!e.electron,d=5,f=5,p=[],h=[],m=[],b=[],g=function(){p=[],h=[],m=[],b=[]},k=function(){},y=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},v=function(e,n){return new Promise((function(t,a){e.on("open",(function(){e.send(n)})),e.on("message",(function(n){t(n),e.close()})),e.on("error",(function(e){return a(e)}))}))},w=function(e){return l?e:k},C={isClient:l,init:w((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:w((function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u["identity"],r=y("keeplive"),c=1,o=null,i=e.electron.ipcRenderer;function s(){n(!0),r.send(c)}i.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){o=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(o),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),subscribeGatewayMessage:w((function(){var e=y("messageNotify");e.on("message",(function(e){var n=e.data;try{var t=n.split("\n"),a=Object(c["a"])(t,2),r=a[0],o=a[1];i["d"].warning(o,r)}catch(u){console.error("gateway message error:",n,u)}}))})),shrinkBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("shrink-browser-window");case 3:case"end":return n.stop()}}),n)})))),enlargeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("enlarge-browser-window");case 3:case"end":return n.stop()}}),n)})))),unmaxBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("unmax-browser-window");case 3:case"end":return n.stop()}}),n)})))),closeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("close-browser-window");case 3:case"end":return n.stop()}}),n)})))),isMaxWindowNow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("is-max-window-now");case 3:return a=n.sent,n.abrupt("return",a);case 5:case"end":return n.stop()}}),n)})))),initClientConfig:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:w((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u["identity"],n=y("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return s["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r,c,o){var i,s,l,d=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=d.length>6&&void 0!==d[6]?d[6]:u["identity"],e.next=3,v(y("init"),[a,t,n].join("|"));case 3:s=e.sent,c(s.data),l=y("subscriptionFileChange"),l.on("open",(function(){l.send(n)})),l.on("message",r),l.on("error",i),o(l);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r,c,o){return e.apply(this,arguments)}}()),leaveProject:w((function(e){e.close(),g()})),downloadFile:w((function(e,n,t,a,r){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u["identity"],l=function u(){var l=y("download"),d={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",d),l.on("open",(function(){var r={API:"open",Action:"打开文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",r),l.send([e,n,t,a].join("|"))})),l.on("message",(function(e){return"-1"===e.data?(s["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void c(e)):"-2"===e.data?(i["d"].error("请先关闭本地文件后再下载"),void c(e)):void r(e,l)})),l.on("error",(function(e){c(e)})),l.on("close",(function(){if(m=m.filter((function(e){return e!==u})),b.length){var e=b.shift();m.push(e),e()}}))};m.length>=f?b.push(l):(m.push(l),l())})),analyzeSystemPath:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v(y("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,a=JSON.parse(t.data),r=Object.values(a).map((function(e){var n=e.name,t=e.extension,a=e.relativePath,r=e.absolutePath,c=0===t.indexOf(".")?t.slice(1):t,o=n.slice(0,-t.length);return{fileName:o,extension:c,relativePath:a.split("\\").filter(u["identity"]).join("/"),fullPath:r}})),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e["catch"](3),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(n){return e.apply(this,arguments)}}()),chooseFiles:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-files");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-folders");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),uploadFile:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,c,l,f,m,b,g,k,v,w,C,O,j,I,N,S,x,P,_,L,E,R,G,A,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,c=n.projectId,l=n.projectName,f=n.folderId,m=n.folderName,b=n.folderLevelId,g=n.distFileRelativePath,k=void 0===g?"":g,v=n.fileName,w=n.fileExtension,C=n.sourceFilePath,O=n.fileList,j=n.onSuccess,I=n.onProgress,N=void 0===I?u["identity"]:I,S=n.onError,x=void 0===S?u["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(k?"/".concat(k):""),G=O.find((function(e){return k===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),A=G?Object(i["c"])(Object(a["a"])(Object(a["a"])({},G),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:f,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:c,RelativePath:k,Status:1,Version:1},N({process:0},A),$=function e(){var n=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}x.apply(void 0,arguments)},c=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}j.apply(void 0,arguments)},u=y("upload");u.on("open",(function(){var e="",n="",a=!1,r=[C,E,l,R.replace(/\//g,"\\"),e,n,t,a].join("|");u.send(r),N({process:0},A)})),u.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var r,l,d,f,p,h,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),n(t,A),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),n(t,A),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),l=r.size,d=r.process,f=r.hash,p=r.commitHistoryHash,N(r,A),100===d&&f){e.next=14;break}return e.abrupt("return");case 14:return u.close(),A.FileSize=+l,A.IpfsCid=f,h=Object(a["a"])({},A),G||delete h.Id,G?(h.HistoryCurrentIpfsCid=p,h.HistoryPreIpfsCid=""):h.HistoryCurrentIpfsCid=p,e.next=22,Object(o["b"])("file/".concat(G?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(o["c"])(m),0===m.Code){e.next=27;break}return n(m,A),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(s["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(A.ArchName)}),P()),c(A),e.next=36;break;case 32:e.prev=32,e.t0=e["catch"](8),console.error("socket-upload-file parse data have error:",e.t0),n(e.t0,A);case 36:case"end":return e.stop()}}),e,null,[[8,32]])})));return function(n){return e.apply(this,arguments)}}()),u.on("error",(function(e){n(e,A)}))},p.length>=d?h.push($):(p.push($),$());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:w((function(e,n,t,a,c,s,l,d,f,p){var h=arguments.length>10&&void 0!==arguments[10]?arguments[10]:u["identity"],m=arguments.length>11&&void 0!==arguments[11]?arguments[11]:u["identity"],b=y("upload"),g=e.archName,k=e.extension,v=(e.id,"".concat(g).concat(k?".".concat(k):"")),w="".concat(n,"\\").concat(a,"\\").concat(v);b.on("open",(function(){var e=[w,v,t,a,c,s,l,d].join("|");b.send(e)})),b.on("message",function(){var n=Object(r["a"])(regeneratorRuntime.mark((function n(t){var a,r,s,l,d,g,k,y;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return i["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),m(t),n.abrupt("return");case 8:if(n.prev=8,a=JSON.parse(t.data),console.log("progressData"),r=a.size,s=a.process,l=a.hash,d=a.commitHistoryHash,g=a.version,h(a),100===s&&l){n.next=15;break}return n.abrupt("return");case 15:return b.close(),k=Object(i["c"])(Object(u["cloneDeep"])(e)),k.ModifyUserId=sessionStorage.userId,k.HistoryPreIpfsCid=c,k.HistoryCurrentIpfsCid=d,f||(k.Size=+r,k.IpfsCid=l,k.Version=g),n.next=23,Object(o["b"])("file/updateFile",k);case 23:return y=n.sent,Object(o["c"])(y),f&&(k.Size=+r,k.IpfsCid=l,k.Version=g),p(k),n.abrupt("return");case 30:n.prev=30,n.t0=n["catch"](8),console.error("socket-update-file parse data have error:",t);case 33:case"end":return n.stop()}}),n,null,[[8,30]])})));return function(e){return n.apply(this,arguments)}}()),b.on("error",(function(n){m(n,e)}))})),queryCommitHistory:w((function(e,n,t){var a=y("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return i["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),a=Object.values(n);t(a)}))})),editCommitHistoryMilestone:w((function(e,n,t,a,r){var c=y("editCommitHistoryMilestone");c.on("open",(function(){c.send([e,n,t,a].join("|"))})),c.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else i["d"].error("设置里程碑失败")}))})),openFile:w((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:w((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=C}).call(this,t("c8ba"))},"1f09":function(e,n,t){},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return o})),t.d(n,"e",(function(){return i})),t.d(n,"d",(function(){return u})),t.d(n,"a",(function(){return s}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var a=t("3835"),r=t("2b0e");function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=c,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=c,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["success"],duration:2500})},error:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["error"],duration:2500})},warning:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["warning"],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 a=t("2b0e"),r=t("8c4f"),c={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:"流程模板 | 样板文件"};a["default"].use(r["a"]);var o=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-c2e1c254")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-22bb4e5e")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-4df53c5e")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6de2f277")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-3261285a")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-5200721f")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-4a1ab742")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-0988e6e9")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-05bf99c1").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-6263de0e"),t.e("chunk-0c61360e")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-986f67ac")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-6263de0e"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-6d72e803")]).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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-a245e438")]).then(t.bind(null,"db21"))},redirect:{name:"company_home"},children:[{path:"home",name:"company_home",component:function(){return t.e("chunk-309e49e4").then(t.bind(null,"345a"))}},{path:"message",name:"company_message",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-145b0de7").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-7108be3f").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-0dd095ba")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-fc0ddb7a")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),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-131f93ca"),t.e("chunk-638e5b5a"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-690b640b")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-7fa4531a").then(t.bind(null,"f851"))}},{path:"template",name:"system_template",component:function(){return t.e("chunk-78390ace").then(t.bind(null,"81b5"))}},{path:"runmanage",name:"system_runmanage",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-f695b3ca")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-b8cf4c88")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),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=c[e.name]||"LOCKING | 云建筑"}));n["a"]=o},"51b0":function(e,n,t){},"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 a=t("2b0e"),r=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-40",class:{"mt-64":e.setMarginTop,"calc-height":e.setMarginTop,"workspace-bigbody":e.$route.path.indexOf("/workspace")>=0,"mt-76":"newproject"==e.$route.name||"projdetail"==e.$route.name},attrs:{id:"bigbody"}})],1)},c=[],o=(t("c975"),t("b0c0"),t("1d40")),i={components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1,isClient:o["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.04.20 18:35"),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),this.isClient&&(o["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n})),o["a"].subscribeGatewayMessage())},computed:{setMarginTop:function(){return this.isClient||"workspace"==this.$route.name},currentRoutePath:function(){return this.$route.path}},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},currentRoutePath:function(e){e.indexOf("projdetail")>=0?document.body.classList.add("set-bgc"):document.body.classList.remove("set-bgc")}}},u=i,s=(t("5c0b"),t("b8ff"),t("6964"),t("2877")),l=Object(s["a"])(u,r,c,!1,null,"d326a332",null),d=l.exports,f=t("41cb"),p=t("5c96"),h=t.n(p),m=(t("0fae"),t("96cf"),t("1da1")),b=t("b775"),g=t("0f13"),k=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:o["a"].isClient?"桌面端":"WEB端"}},v=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},w=function(){var e=Object.assign(y(),v());try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),a=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=a)}catch(r){console.log("加载session数据失败"),e=Object.assign(y(),v())}return e},C={state:w(),setCurrentPlatform:function(e){this.state.currentPlatform=e,this.state.currentCompanyId=e.orgId,sessionStorage.companyId=e.orgId,sessionStorage.platform=JSON.stringify(e),sessionStorage.CompanyName=JSON.parse(sessionStorage.platform).orgName,sessionStorage.accountName=JSON.parse(sessionStorage.user).accountName;var n={API:"authentication/login",Action:"登录",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",n)},setIsMaxWindowSize:function(e){this.state.isMaxWindowSize=e},changeGatewayState:function(e){this.state.gatewayState=e},login:function(e,n){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function a(){var r,c,o,i,u,s,l,d,f,p,h,m,y,v,w,C,O,j,I;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,c=0===r.Code,c){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,o=Object(k["b"])(r.Data||{}),delete o.userExt,i=o.companyId,u=o.cnName,s=o.id,l=o.permission,d=o.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:o},h=3===d,m=2===d,!h){a.next=18;break}f.push(Object(g["d"])(g["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),a.next=29;break;case 18:return a.next=20,Object(b["b"])("company/queryFrontDeskCompanyById",{id:i});case 20:if(y=a.sent,0===y.Code){a.next=23;break}return a.abrupt("return",y);case 23:v=y.Data,w=void 0===v?{}:v,C=w.company,O=C.LogoUrl,j=C.CompanyName,I=[],m&&I.push(g["a"].CompanyConsole),1===l&&I.push(g["a"].ProjectManager),f.push(Object(g["d"])(g["b"].COMPANY,i,j,O,I));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},O=t("2f62"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=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"}]})},R=[],G={props:{src:String}},A=G,$=Object(s["a"])(A,E,R,!1,null,null,null),T=$.exports,M=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),K=a["default"].extend(M["default"]),F=document.createElement("div");F.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(F);var W=function(e){var n=new K({propsData:e});n.vm=n.$mount(),F.appendChild(n.vm.$el)},H=W;a["default"].use(h.a),a["default"].use(P["a"]),a["default"].use(O["a"]),a["default"].prototype.$cookie=I.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:C,render:function(e){return e(d)}}).$mount("#app")},"5ab9":function(e,n,t){"use strict";t.d(n,"c",(function(){return u})),t.d(n,"b",(function(){return s})),t.d(n,"a",(function(){return d}));t("99af"),t("c975"),t("ac1f"),t("1276"),t("96cf");var a=t("1da1"),r=t("9b15"),c=t("2ef0"),o=new r({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),i=function(e){return"".concat((new Date).getTime(),"/").concat(e)},u=function(e){return"oss://".concat(e)};function s(e,n){return l.apply(this,arguments)}function l(){return l=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,r=i(n),e.next=5,o.multipartUpload(r,t,a);case 5:return c=e.sent,e.abrupt("return",c);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]])}))),l.apply(this,arguments)}var d=Object(c["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),a=n||t.split("/").pop();try{var r=3600,c=o.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){d.cache.delete(e)}),1e3*r),c}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var a=t("1f09"),r=t.n(a);r.a},"5c0b":function(e,n,t){"use strict";var a=t("9c0c"),r=t.n(a);r.a},6964:function(e,n,t){"use strict";var a=t("7dff"),r=t.n(a);r.a},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var a=t("f225"),r=t.n(a);r.a},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return f}));t("99af"),t("c975"),t("fb6a"),t("d3b7"),t("ac1f"),t("25f0"),t("1276"),t("96cf");var a=t("3835"),r=t("1da1"),c=t("bc3a"),o=t.n(c),i=t("2b0e"),u=t("41cb"),s=t("3de1");function l(e,n,t){return d.apply(this,arguments)}function d(){return d=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,r){var c,i,u,s,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=p(n),i=Object(a["a"])(c,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?o.a.get(s,{params:t},r):o.a.post(s,t,r);case 4:return l=e.sent,e.abrupt("return",l.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){if(0!==e.Code){var n=e.Code?e.Code.toString():"",t="error";404===e.Code&&(t="warning"),i["default"].prototype.$notify({message:e.Msg,title:n+"错误",type:t})}return e}function p(e){var n=e.split("/"),t=Object(a["a"])(n,1),r=t[0],c=-1!==["template","project","folder","file","templateCompany"].indexOf(r)?"pms":"cms",o="api/".concat(c,"/").concat("authentication"===r?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":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/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":case"templateCompany/addTemplateCompany":case"project/addProjectGobalConfig":case"file/submitDeliverables":i="POST";break;default:i="GET";break}return[i,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&&(s["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=o.a},b8ff:function(e,n,t){"use strict";var a=t("cc4f"),r=t.n(a);r.a},c610:function(e,n,t){},cc4f:function(e,n,t){},d2ad:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition",{attrs:{name:"fade"}},[e.show?t("div",{staticClass:"notification_box"},[Array.isArray(e.type)?t("div",{staticClass:"notification_img"},[t("img",{class:e.type[1]?"leftIcon":""+e.typeList[e.type[0]].class,attrs:{src:e.typeList[e.type[0]].imgSrc,alt:""}}),e.type[1]?t("img",{staticClass:"righticon",attrs:{src:e.typeList[e.type[1]].imgSrc,alt:""}}):e._e()]):t("div",{staticClass:"notification_img"},[t("img",{class:e.typeList[e.type].class,attrs:{src:e.typeList[e.type].imgSrc,alt:""}})]),t("div",{staticClass:"notification_msg"},[t("div",{staticClass:"notification_msg_content"},[t("div",{staticClass:"notification_title",class:{hidden:!e.title}},[e._v(e._s(e.title))]),t("div",{staticClass:"notification_context",class:{middle:!e.title}},[e._v(e._s(e.message))])]),t("p",{staticClass:"closeBtn",attrs:{href:""},on:{click:e.handleClose}},[t("img",{attrs:{src:"/static/img/删除.svg",alt:""}})])])]):e._e()])},r=[],c=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),o={success:c("success.svg","notifyIcon"),error:c("严重警示.svg","notifyIcon"),warning:c("事件警示.svg","notifyIcon"),"file-txt":c("file_txt.png","fileIcon"),"file-pdf":c("file_pdf.png","fileIcon"),"file-word":c("file_word.png","fileIcon"),"file-excel":c("file_excel.png","fileIcon"),"file-ppt":c("file_ppt.png","fileIcon"),upload:c("upload.png","notifyIcon"),download:c("download.svg","notifyIcon"),cooperation:c("download.svg","notifyIcon")},i={name:"Notification",props:{type:{},inItem:{type:Boolean,defalt:!1},offset:{type:Number,default:100},title:{type:String,default:""},message:{type:String,default:""},duration:{type:Number,default:3e3}},data:function(){return{show:!1,typeList:o,timer:""}},watch:{show:function(e){var n=this;e||setTimeout((function(){n.destroyElement()}),1e3)}},methods:{destroyElement:function(){this.$destroy(!0),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},handleClose:function(){this.show=!1}},created:function(){var e=this;this.timer=setTimeout((function(){e.show=!1}),this.duration)},mounted:function(){this.show=!0},beforeDestroy:function(){clearTimeout(this.timer)}},u=i,s=(t("5b49"),t("99e1"),t("2877")),l=Object(s["a"])(u,a,r,!1,null,"3a7b0566",null);n["default"]=l.exports},d903:function(e,n,t){},f225:function(e,n,t){}}); \ No newline at end of file +(function(e){function n(n){for(var a,r,i=n[0],u=n[1],s=n[2],l=0,d=[];l4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:r}}var c={CompanyConsole:"company_console",ProjectManager:"project_manager"};function o(e,n){return-1!==e.indexOf(n)}},"1d40":function(e,n,t){"use strict";(function(e){t("99af"),t("4de4"),t("7db0"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b0c0"),t("d3b7"),t("07ac"),t("ac1f"),t("5319"),t("1276");var a=t("5530"),r=(t("96cf"),t("1da1")),c=t("3835"),o=t("b775"),i=t("3de1"),u=t("2ef0"),s=t("2b0e"),l=!!e.electron,d=5,f=5,p=[],h=[],m=[],b=[],g=function(){p=[],h=[],m=[],b=[]},k=function(){},y=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},v=function(e,n){return new Promise((function(t,a){e.on("open",(function(){e.send(n)})),e.on("message",(function(n){t(n),e.close()})),e.on("error",(function(e){return a(e)}))}))},w=function(e){return l?e:k},C={isClient:l,init:w((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:w((function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u["identity"],r=y("keeplive"),c=1,o=null,i=e.electron.ipcRenderer;function s(){n(!0),r.send(c)}i.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){o=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(o),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),subscribeGatewayMessage:w((function(){var e=y("messageNotify");e.on("message",(function(e){var n=e.data;try{var t=n.split("\n"),a=Object(c["a"])(t,2),r=a[0],o=a[1];i["d"].warning(o,r)}catch(u){console.error("gateway message error:",n,u)}}))})),shrinkBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("shrink-browser-window");case 3:case"end":return n.stop()}}),n)})))),enlargeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("enlarge-browser-window");case 3:case"end":return n.stop()}}),n)})))),unmaxBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("unmax-browser-window");case 3:case"end":return n.stop()}}),n)})))),closeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("close-browser-window");case 3:case"end":return n.stop()}}),n)})))),isMaxWindowNow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("is-max-window-now");case 3:return a=n.sent,n.abrupt("return",a);case 5:case"end":return n.stop()}}),n)})))),initClientConfig:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:w((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u["identity"],n=y("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return s["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r,c,o){var i,s,l,d=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=d.length>6&&void 0!==d[6]?d[6]:u["identity"],e.next=3,v(y("init"),[a,t,n].join("|"));case 3:s=e.sent,c(s.data),l=y("subscriptionFileChange"),l.on("open",(function(){l.send(n)})),l.on("message",r),l.on("error",i),o(l);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r,c,o){return e.apply(this,arguments)}}()),leaveProject:w((function(e){e.close(),g()})),downloadFile:w((function(e,n,t,a,r){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u["identity"],l=function u(){var l=y("download"),d={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",d),l.on("open",(function(){var r={API:"open",Action:"打开文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",r),l.send([e,n,t,a].join("|"))})),l.on("message",(function(e){return"-1"===e.data?(s["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void c(e)):"-2"===e.data?(i["d"].error("请先关闭本地文件后再下载"),void c(e)):void r(e,l)})),l.on("error",(function(e){c(e)})),l.on("close",(function(){if(m=m.filter((function(e){return e!==u})),b.length){var e=b.shift();m.push(e),e()}}))};m.length>=f?b.push(l):(m.push(l),l())})),analyzeSystemPath:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v(y("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,a=JSON.parse(t.data),r=Object.values(a).map((function(e){var n=e.name,t=e.extension,a=e.relativePath,r=e.absolutePath,c=0===t.indexOf(".")?t.slice(1):t,o=n.slice(0,-t.length);return{fileName:o,extension:c,relativePath:a.split("\\").filter(u["identity"]).join("/"),fullPath:r}})),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e["catch"](3),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(n){return e.apply(this,arguments)}}()),chooseFiles:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-files");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-folders");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),uploadFile:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,c,l,f,m,b,g,k,v,w,C,O,j,I,N,S,x,P,_,L,E,R,G,A,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,c=n.projectId,l=n.projectName,f=n.folderId,m=n.folderName,b=n.folderLevelId,g=n.distFileRelativePath,k=void 0===g?"":g,v=n.fileName,w=n.fileExtension,C=n.sourceFilePath,O=n.fileList,j=n.onSuccess,I=n.onProgress,N=void 0===I?u["identity"]:I,S=n.onError,x=void 0===S?u["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(k?"/".concat(k):""),G=O.find((function(e){return k===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),A=G?Object(i["c"])(Object(a["a"])(Object(a["a"])({},G),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:f,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:c,RelativePath:k,Status:1,Version:1},N({process:0},A),$=function e(){var n=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}x.apply(void 0,arguments)},c=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}j.apply(void 0,arguments)},u=y("upload");u.on("open",(function(){var e="",n="",a=!1,r=[C,E,l,R.replace(/\//g,"\\"),e,n,t,a].join("|");u.send(r),N({process:0},A)})),u.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var r,l,d,f,p,h,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),n(t,A),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),n(t,A),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),l=r.size,d=r.process,f=r.hash,p=r.commitHistoryHash,N(r,A),100===d&&f){e.next=14;break}return e.abrupt("return");case 14:return u.close(),A.FileSize=+l,A.IpfsCid=f,h=Object(a["a"])({},A),G||delete h.Id,G?(h.HistoryCurrentIpfsCid=p,h.HistoryPreIpfsCid=""):h.HistoryCurrentIpfsCid=p,e.next=22,Object(o["b"])("file/".concat(G?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(o["c"])(m),0===m.Code){e.next=27;break}return n(m,A),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(s["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(A.ArchName)}),P()),c(A),e.next=36;break;case 32:e.prev=32,e.t0=e["catch"](8),console.error("socket-upload-file parse data have error:",e.t0),n(e.t0,A);case 36:case"end":return e.stop()}}),e,null,[[8,32]])})));return function(n){return e.apply(this,arguments)}}()),u.on("error",(function(e){n(e,A)}))},p.length>=d?h.push($):(p.push($),$());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:w((function(e,n,t,a,c,s,l,d,f,p){var h=arguments.length>10&&void 0!==arguments[10]?arguments[10]:u["identity"],m=arguments.length>11&&void 0!==arguments[11]?arguments[11]:u["identity"],b=y("upload"),g=e.archName,k=e.extension,v=(e.id,"".concat(g).concat(k?".".concat(k):"")),w="".concat(n,"\\").concat(a,"\\").concat(v);b.on("open",(function(){var e=[w,v,t,a,c,s,l,d].join("|");b.send(e)})),b.on("message",function(){var n=Object(r["a"])(regeneratorRuntime.mark((function n(t){var a,r,s,l,d,g,k,y;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return i["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),m(t),n.abrupt("return");case 8:if(n.prev=8,a=JSON.parse(t.data),console.log("progressData"),r=a.size,s=a.process,l=a.hash,d=a.commitHistoryHash,g=a.version,h(a),100===s&&l){n.next=15;break}return n.abrupt("return");case 15:return b.close(),k=Object(i["c"])(Object(u["cloneDeep"])(e)),k.ModifyUserId=sessionStorage.userId,k.HistoryPreIpfsCid=c,k.HistoryCurrentIpfsCid=d,f||(k.Size=+r,k.IpfsCid=l,k.Version=g),n.next=23,Object(o["b"])("file/updateFile",k);case 23:return y=n.sent,Object(o["c"])(y),f&&(k.Size=+r,k.IpfsCid=l,k.Version=g),p(k),n.abrupt("return");case 30:n.prev=30,n.t0=n["catch"](8),console.error("socket-update-file parse data have error:",t);case 33:case"end":return n.stop()}}),n,null,[[8,30]])})));return function(e){return n.apply(this,arguments)}}()),b.on("error",(function(n){m(n,e)}))})),queryCommitHistory:w((function(e,n,t){var a=y("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return i["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),a=Object.values(n);t(a)}))})),editCommitHistoryMilestone:w((function(e,n,t,a,r){var c=y("editCommitHistoryMilestone");c.on("open",(function(){c.send([e,n,t,a].join("|"))})),c.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else i["d"].error("设置里程碑失败")}))})),openFile:w((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:w((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=C}).call(this,t("c8ba"))},"1f09":function(e,n,t){},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return o})),t.d(n,"e",(function(){return i})),t.d(n,"d",(function(){return u})),t.d(n,"a",(function(){return s}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var a=t("3835"),r=t("2b0e");function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=c,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=c,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["success"],duration:2500})},error:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["error"],duration:2500})},warning:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["warning"],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 a=t("2b0e"),r=t("8c4f"),c={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:"流程模板 | 样板文件"};a["default"].use(r["a"]);var o=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-c2e1c254")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-22bb4e5e")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-4df53c5e")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6de2f277")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-3261285a")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-5200721f")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-0cbaa28b")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-0988e6e9")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-05bf99c1").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-9c6c01fa"),t.e("chunk-6263de0e"),t.e("chunk-0c61360e")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-986f67ac")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-6263de0e"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-6d72e803")]).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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-a245e438")]).then(t.bind(null,"db21"))},redirect:{name:"company_home"},children:[{path:"home",name:"company_home",component:function(){return t.e("chunk-309e49e4").then(t.bind(null,"345a"))}},{path:"message",name:"company_message",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-145b0de7").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-7108be3f").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-0dd095ba")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-fc0ddb7a")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),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-131f93ca"),t.e("chunk-638e5b5a"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-db5e9236")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-7fa4531a").then(t.bind(null,"f851"))}},{path:"template",name:"system_template",component:function(){return t.e("chunk-78390ace").then(t.bind(null,"81b5"))}},{path:"runmanage",name:"system_runmanage",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-f695b3ca")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-b8cf4c88")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),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=c[e.name]||"LOCKING | 云建筑"}));n["a"]=o},"51b0":function(e,n,t){},"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 a=t("2b0e"),r=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-40",class:{"mt-64":e.setMarginTop,"calc-height":e.setMarginTop,"workspace-bigbody":e.$route.path.indexOf("/workspace")>=0,"mt-76":"newproject"==e.$route.name||"projdetail"==e.$route.name},attrs:{id:"bigbody"}})],1)},c=[],o=(t("c975"),t("b0c0"),t("1d40")),i={components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1,isClient:o["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.04.21 10:46"),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),this.isClient&&(o["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n})),o["a"].subscribeGatewayMessage())},computed:{setMarginTop:function(){return this.isClient||"workspace"==this.$route.name},currentRoutePath:function(){return this.$route.path}},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},currentRoutePath:function(e){e.indexOf("projdetail")>=0?document.body.classList.add("set-bgc"):document.body.classList.remove("set-bgc")}}},u=i,s=(t("5c0b"),t("b8ff"),t("6964"),t("2877")),l=Object(s["a"])(u,r,c,!1,null,"d326a332",null),d=l.exports,f=t("41cb"),p=t("5c96"),h=t.n(p),m=(t("0fae"),t("96cf"),t("1da1")),b=t("b775"),g=t("0f13"),k=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:o["a"].isClient?"桌面端":"WEB端"}},v=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},w=function(){var e=Object.assign(y(),v());try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),a=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=a)}catch(r){console.log("加载session数据失败"),e=Object.assign(y(),v())}return e},C={state:w(),setCurrentPlatform:function(e){this.state.currentPlatform=e,this.state.currentCompanyId=e.orgId,sessionStorage.companyId=e.orgId,sessionStorage.platform=JSON.stringify(e),sessionStorage.CompanyName=JSON.parse(sessionStorage.platform).orgName,sessionStorage.accountName=JSON.parse(sessionStorage.user).accountName;var n={API:"authentication/login",Action:"登录",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",n)},setIsMaxWindowSize:function(e){this.state.isMaxWindowSize=e},changeGatewayState:function(e){this.state.gatewayState=e},login:function(e,n){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function a(){var r,c,o,i,u,s,l,d,f,p,h,m,y,v,w,C,O,j,I;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,c=0===r.Code,c){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,o=Object(k["b"])(r.Data||{}),delete o.userExt,i=o.companyId,u=o.cnName,s=o.id,l=o.permission,d=o.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:o},h=3===d,m=2===d,!h){a.next=18;break}f.push(Object(g["d"])(g["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),a.next=29;break;case 18:return a.next=20,Object(b["b"])("company/queryFrontDeskCompanyById",{id:i});case 20:if(y=a.sent,0===y.Code){a.next=23;break}return a.abrupt("return",y);case 23:v=y.Data,w=void 0===v?{}:v,C=w.company,O=C.LogoUrl,j=C.CompanyName,I=[],m&&I.push(g["a"].CompanyConsole),1===l&&I.push(g["a"].ProjectManager),f.push(Object(g["d"])(g["b"].COMPANY,i,j,O,I));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},O=t("2f62"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=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"}]})},R=[],G={props:{src:String}},A=G,$=Object(s["a"])(A,E,R,!1,null,null,null),T=$.exports,M=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),K=a["default"].extend(M["default"]),F=document.createElement("div");F.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(F);var W=function(e){var n=new K({propsData:e});n.vm=n.$mount(),F.appendChild(n.vm.$el)},H=W;a["default"].use(h.a),a["default"].use(P["a"]),a["default"].use(O["a"]),a["default"].prototype.$cookie=I.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:C,render:function(e){return e(d)}}).$mount("#app")},"5ab9":function(e,n,t){"use strict";t.d(n,"c",(function(){return u})),t.d(n,"b",(function(){return s})),t.d(n,"a",(function(){return d}));t("99af"),t("c975"),t("ac1f"),t("1276"),t("96cf");var a=t("1da1"),r=t("9b15"),c=t("2ef0"),o=new r({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),i=function(e){return"".concat((new Date).getTime(),"/").concat(e)},u=function(e){return"oss://".concat(e)};function s(e,n){return l.apply(this,arguments)}function l(){return l=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,r=i(n),e.next=5,o.multipartUpload(r,t,a);case 5:return c=e.sent,e.abrupt("return",c);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]])}))),l.apply(this,arguments)}var d=Object(c["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),a=n||t.split("/").pop();try{var r=3600,c=o.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){d.cache.delete(e)}),1e3*r),c}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var a=t("1f09"),r=t.n(a);r.a},"5c0b":function(e,n,t){"use strict";var a=t("9c0c"),r=t.n(a);r.a},6964:function(e,n,t){"use strict";var a=t("7dff"),r=t.n(a);r.a},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var a=t("f225"),r=t.n(a);r.a},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return f}));t("99af"),t("c975"),t("fb6a"),t("d3b7"),t("ac1f"),t("25f0"),t("1276"),t("96cf");var a=t("3835"),r=t("1da1"),c=t("bc3a"),o=t.n(c),i=t("2b0e"),u=t("41cb"),s=t("3de1");function l(e,n,t){return d.apply(this,arguments)}function d(){return d=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,r){var c,i,u,s,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=p(n),i=Object(a["a"])(c,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?o.a.get(s,{params:t},r):o.a.post(s,t,r);case 4:return l=e.sent,e.abrupt("return",l.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){if(0!==e.Code){var n=e.Code?e.Code.toString():"",t="error";404===e.Code&&(t="warning"),i["default"].prototype.$notify({message:e.Msg,title:n+"错误",type:t})}return e}function p(e){var n=e.split("/"),t=Object(a["a"])(n,1),r=t[0],c=-1!==["template","project","folder","file","templateCompany"].indexOf(r)?"pms":"cms",o="api/".concat(c,"/").concat("authentication"===r?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":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/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":case"templateCompany/addTemplateCompany":case"project/addProjectGobalConfig":case"file/submitDeliverables":i="POST";break;default:i="GET";break}return[i,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&&(s["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=o.a},b8ff:function(e,n,t){"use strict";var a=t("cc4f"),r=t.n(a);r.a},c610:function(e,n,t){},cc4f:function(e,n,t){},d2ad:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition",{attrs:{name:"fade"}},[e.show?t("div",{staticClass:"notification_box"},[Array.isArray(e.type)?t("div",{staticClass:"notification_img"},[t("img",{class:e.type[1]?"leftIcon":""+e.typeList[e.type[0]].class,attrs:{src:e.typeList[e.type[0]].imgSrc,alt:""}}),e.type[1]?t("img",{staticClass:"righticon",attrs:{src:e.typeList[e.type[1]].imgSrc,alt:""}}):e._e()]):t("div",{staticClass:"notification_img"},[t("img",{class:e.typeList[e.type].class,attrs:{src:e.typeList[e.type].imgSrc,alt:""}})]),t("div",{staticClass:"notification_msg"},[t("div",{staticClass:"notification_msg_content"},[t("div",{staticClass:"notification_title",class:{hidden:!e.title}},[e._v(e._s(e.title))]),t("div",{staticClass:"notification_context",class:{middle:!e.title}},[e._v(e._s(e.message))])]),t("p",{staticClass:"closeBtn",attrs:{href:""},on:{click:e.handleClose}},[t("img",{attrs:{src:"/static/img/删除.svg",alt:""}})])])]):e._e()])},r=[],c=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),o={success:c("success.svg","notifyIcon"),error:c("严重警示.svg","notifyIcon"),warning:c("事件警示.svg","notifyIcon"),"file-txt":c("file_txt.png","fileIcon"),"file-pdf":c("file_pdf.png","fileIcon"),"file-word":c("file_word.png","fileIcon"),"file-excel":c("file_excel.png","fileIcon"),"file-ppt":c("file_ppt.png","fileIcon"),upload:c("upload.png","notifyIcon"),download:c("download.svg","notifyIcon"),cooperation:c("download.svg","notifyIcon")},i={name:"Notification",props:{type:{},inItem:{type:Boolean,defalt:!1},offset:{type:Number,default:100},title:{type:String,default:""},message:{type:String,default:""},duration:{type:Number,default:3e3}},data:function(){return{show:!1,typeList:o,timer:""}},watch:{show:function(e){var n=this;e||setTimeout((function(){n.destroyElement()}),1e3)}},methods:{destroyElement:function(){this.$destroy(!0),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},handleClose:function(){this.show=!1}},created:function(){var e=this;this.timer=setTimeout((function(){e.show=!1}),this.duration)},mounted:function(){this.show=!0},beforeDestroy:function(){clearTimeout(this.timer)}},u=i,s=(t("5b49"),t("99e1"),t("2877")),l=Object(s["a"])(u,a,r,!1,null,"3a7b0566",null);n["default"]=l.exports},d903:function(e,n,t){},f225:function(e,n,t){}}); \ No newline at end of file diff --git a/dist/static/js/chunk-038ce22f.4a707a44.js b/dist/static/js/chunk-038ce22f.e00faabb.js similarity index 100% rename from dist/static/js/chunk-038ce22f.4a707a44.js rename to dist/static/js/chunk-038ce22f.e00faabb.js diff --git a/dist/static/js/chunk-05a1125b.6f1f0133.js b/dist/static/js/chunk-05a1125b.d7574c0f.js similarity index 100% rename from dist/static/js/chunk-05a1125b.6f1f0133.js rename to dist/static/js/chunk-05a1125b.d7574c0f.js diff --git a/dist/static/js/chunk-05bf99c1.eee0dc40.js b/dist/static/js/chunk-05bf99c1.2eade590.js similarity index 100% rename from dist/static/js/chunk-05bf99c1.eee0dc40.js rename to dist/static/js/chunk-05bf99c1.2eade590.js diff --git a/dist/static/js/chunk-0988e6e9.1d010422.js b/dist/static/js/chunk-0988e6e9.dbae1c99.js similarity index 100% rename from dist/static/js/chunk-0988e6e9.1d010422.js rename to dist/static/js/chunk-0988e6e9.dbae1c99.js diff --git a/dist/static/js/chunk-0c61360e.a438c013.js b/dist/static/js/chunk-0c61360e.ceb3c5e6.js similarity index 100% rename from dist/static/js/chunk-0c61360e.a438c013.js rename to dist/static/js/chunk-0c61360e.ceb3c5e6.js diff --git a/dist/static/js/chunk-0cbaa28b.971bbfaa.js b/dist/static/js/chunk-0cbaa28b.971bbfaa.js new file mode 100644 index 00000000..3da5501c --- /dev/null +++ b/dist/static/js/chunk-0cbaa28b.971bbfaa.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0cbaa28b"],{"01a8":function(t,e,s){"use strict";var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.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(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!t.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:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?s("div",{staticClass:"app-header-top"}):t._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[s("div",{staticClass:"app-header-content-left"},[t._t("left",[s("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),s("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),s("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?s("span",{on:{click:t.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showUserCenter?s("user-center"):t._e()],2)])])},i=[],a=s("1392"),n=s("1d40"),r={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(t){this.isMaxWindowNow=t}},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 t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=r,l=(s("8525"),s("2877")),p=Object(l["a"])(c,o,i,!1,null,"32666977",null);e["a"]=p.exports},"0a7f":function(t,e,s){"use strict";s.r(e);var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"platform"},[s("app-header",{attrs:{theme:"black",showBackBtn:!0,backBtnTitle:"返回登入",onBackBtnClick:t.onBackBtnClick}}),s("div",{staticClass:"platform_section"},[s("div",{staticClass:"platform_title"},[t._v("链接到")]),s("div",{staticClass:"platform_list"},[s("section",{staticClass:"yiyun_warpContent mt-20"},[s("div",{staticClass:"yiyun-rows"},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[s("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),s("span",{staticClass:"noprotext"},[t._v("暂无")])]),t._l(t.platformList,(function(e){return s("div",{key:e.platfromType||e.orgId,staticClass:"yiyun-col-3 yiyun-col-md-4 yiyun-col-sm-6 yiyun-col-ty-12 mb-40"},[s("div",{staticClass:"yiyun_row"},[s("div",{staticClass:"projectbox_item_model"},[s("div",{staticClass:"project_item_model"},[s("div",{staticClass:"yiyun_product_item",on:{click:function(s){return s.stopPropagation(),t.navToPlatform(e)}}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.orgLogo,expression:"platformInfo.orgLogo"}],staticClass:"fandatupian",attrs:{alt:""}}),"COMPANY"!==e.platformType?s("img",{staticClass:"platform_logo",attrs:{src:"static/img/platform/"+("MANAGE_CENTER"===e.platformType?"LOCKING.svg":"template.svg")}}):t._e(),s("div",{staticClass:"clear"}),e.orgLogo?t._e():s("h4",{staticClass:"biaoqianweizhi2",attrs:{title:e.orgName}},[t._v(t._s(e.orgName))])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"COMPANY"===e.platformType&&t.haveAccess(e.accessList,t.AccessCode.CompanyConsole),expression:"platformInfo.platformType === 'COMPANY' && haveAccess(platformInfo.accessList, AccessCode.CompanyConsole)"}],staticClass:"project_gantetubox_warp"},[s("div",{staticClass:"project_gantetubox"}),s("el-button",{staticClass:"likeButton",attrs:{round:""},on:{click:function(s){return t.navToPlatform(e,!0)}}},[s("img",{attrs:{src:"static/img/platform/operate.svg"}}),s("span",[t._v("企业后台")]),s("i",{staticClass:"icon el-icon-arrow-right"})])],1)])])])}))],2)])])])],1)},i=[],a=(s("b64b"),s("96cf"),s("1da1")),n=s("f96e"),r=s("0f13"),c=s("1d40"),l=s("e3fa"),p={components:{AppHeader:n["a"]},mounted:function(){if(console.log("mounted",this.$store),this.$cookie.get("isAutoLogin")){var t="true"===this.$cookie.get("isCompanyConsole"),e=JSON.parse(this.$cookie.get("platformInfo")||"{}");Object.keys(e).length>0&&this.navToPlatform(e,t)}},data:function(){return{haveAccess:r["c"],AccessCode:r["a"]}},methods:{navToPlatform:function(t){var e=arguments,s=this;return Object(a["a"])(regeneratorRuntime.mark((function o(){var i,a,n,p,u,d;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(i=e.length>1&&void 0!==e[1]&&e[1],!c["a"].isClient||"COMPANY"!=t.platformType||i){o.next=15;break}return a=t.orgId,o.next=5,Object(l["a"])(a);case 5:if(n=o.sent,0!=n.Code){o.next=13;break}p=n.Data.company.IpfsApi?n.Data.company.IpfsApi:"",u=n.Data.company.IpfsBootstrap?n.Data.company.IpfsBootstrap:"",d=p+"|"+u,c["a"].initClientConfig(d),o.next=15;break;case 13:return s.$notify({message:"获取企业信息失败, 请稍后重试。",type:["error"],offset:100,duration:5e3}),o.abrupt("return");case 15:s.$store.setCurrentPlatform(t),s.$router.push({path:t.platformType===r["b"].MANAGE_CENTER?"/system":t.platformType===r["b"].TEMPLATE_CONSOLE?"/template":i?"/company":"/index"}).catch((function(t){return console.log(t)})),c["a"].isClient&&s.$cookie.get("isAutoLogin")&&(s.$cookie.set("isCompanyConsole",i),s.$cookie.set("platformInfo",JSON.stringify(t),{expires:7}));case 18:case"end":return o.stop()}}),o)})))()},onBackBtnClick:function(){this.$store.logout(),this.$router.push({path:"/",query:{isChangeCount:!0}})}},computed:{platformList:function(){return this.$store.state.platformList},isEmpty:function(){return 0===this.platformList}}},u=p,d=(s("66b0"),s("2877")),m=Object(d["a"])(u,o,i,!1,null,"60bac8c6",null);e["default"]=m.exports},"1bfa":function(t,e,s){},"588b":function(t,e,s){},"66b0":function(t,e,s){"use strict";var o=s("1bfa"),i=s.n(o);i.a},8525:function(t,e,s){"use strict";var o=s("588b"),i=s.n(o);i.a},e3fa:function(t,e,s){"use strict";s.d(e,"a",(function(){return a}));s("96cf");var o=s("1da1"),i=s("b775");function a(t){return n.apply(this,arguments)}function n(){return n=Object(o["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(i["b"])("company/queryCompanyById",{id:e});case 2:return s=t.sent,t.abrupt("return",Object(i["c"])(s));case 4:case"end":return t.stop()}}),t)}))),n.apply(this,arguments)}},f96e:function(t,e,s){"use strict";var o=s("01a8");s.d(e,"a",(function(){return o["a"]}))}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-0dd095ba.031bc45c.js b/dist/static/js/chunk-0dd095ba.fd25f864.js similarity index 100% rename from dist/static/js/chunk-0dd095ba.031bc45c.js rename to dist/static/js/chunk-0dd095ba.fd25f864.js diff --git a/dist/static/js/chunk-11067227.c68673b4.js b/dist/static/js/chunk-11067227.06fbff80.js similarity index 100% rename from dist/static/js/chunk-11067227.c68673b4.js rename to dist/static/js/chunk-11067227.06fbff80.js diff --git a/dist/static/js/chunk-131f93ca.90f075d6.js b/dist/static/js/chunk-131f93ca.39c846f6.js similarity index 100% rename from dist/static/js/chunk-131f93ca.90f075d6.js rename to dist/static/js/chunk-131f93ca.39c846f6.js diff --git a/dist/static/js/chunk-145b0de7.6cb0cce5.js b/dist/static/js/chunk-145b0de7.0abc6cf8.js similarity index 100% rename from dist/static/js/chunk-145b0de7.6cb0cce5.js rename to dist/static/js/chunk-145b0de7.0abc6cf8.js diff --git a/dist/static/js/chunk-1fe39068.8747500e.js b/dist/static/js/chunk-1fe39068.b11c54e1.js similarity index 100% rename from dist/static/js/chunk-1fe39068.8747500e.js rename to dist/static/js/chunk-1fe39068.b11c54e1.js diff --git a/dist/static/js/chunk-1fe40532.e090d2b8.js b/dist/static/js/chunk-1fe40532.e6f09db5.js similarity index 100% rename from dist/static/js/chunk-1fe40532.e090d2b8.js rename to dist/static/js/chunk-1fe40532.e6f09db5.js diff --git a/dist/static/js/chunk-22bb4e5e.f8660e0e.js b/dist/static/js/chunk-22bb4e5e.9aa6fc74.js similarity index 100% rename from dist/static/js/chunk-22bb4e5e.f8660e0e.js rename to dist/static/js/chunk-22bb4e5e.9aa6fc74.js diff --git a/dist/static/js/chunk-28990618.65abc852.js b/dist/static/js/chunk-28990618.d5ece9fc.js similarity index 100% rename from dist/static/js/chunk-28990618.65abc852.js rename to dist/static/js/chunk-28990618.d5ece9fc.js diff --git a/dist/static/js/chunk-2d0ac90d.c9aaf0c0.js b/dist/static/js/chunk-2d0ac90d.00d57bd8.js similarity index 100% rename from dist/static/js/chunk-2d0ac90d.c9aaf0c0.js rename to dist/static/js/chunk-2d0ac90d.00d57bd8.js diff --git a/dist/static/js/chunk-2d0b3688.4e7dae99.js b/dist/static/js/chunk-2d0b3688.0d104caa.js similarity index 100% rename from dist/static/js/chunk-2d0b3688.4e7dae99.js rename to dist/static/js/chunk-2d0b3688.0d104caa.js diff --git a/dist/static/js/chunk-2d0c061a.05abcca9.js b/dist/static/js/chunk-2d0c061a.50805424.js similarity index 100% rename from dist/static/js/chunk-2d0c061a.05abcca9.js rename to dist/static/js/chunk-2d0c061a.50805424.js diff --git a/dist/static/js/chunk-2d0cf6a4.1aa8f6c1.js b/dist/static/js/chunk-2d0cf6a4.01515d05.js similarity index 100% rename from dist/static/js/chunk-2d0cf6a4.1aa8f6c1.js rename to dist/static/js/chunk-2d0cf6a4.01515d05.js diff --git a/dist/static/js/chunk-2d0e148e.0adcbe23.js b/dist/static/js/chunk-2d0e148e.f48f69ae.js similarity index 100% rename from dist/static/js/chunk-2d0e148e.0adcbe23.js rename to dist/static/js/chunk-2d0e148e.f48f69ae.js diff --git a/dist/static/js/chunk-2d21b850.b14428b2.js b/dist/static/js/chunk-2d21b850.c57a3338.js similarity index 100% rename from dist/static/js/chunk-2d21b850.b14428b2.js rename to dist/static/js/chunk-2d21b850.c57a3338.js diff --git a/dist/static/js/chunk-2d224b2b.3c266dea.js b/dist/static/js/chunk-2d224b2b.1cf281f2.js similarity index 100% rename from dist/static/js/chunk-2d224b2b.3c266dea.js rename to dist/static/js/chunk-2d224b2b.1cf281f2.js diff --git a/dist/static/js/chunk-309e49e4.251da317.js b/dist/static/js/chunk-309e49e4.0723424f.js similarity index 100% rename from dist/static/js/chunk-309e49e4.251da317.js rename to dist/static/js/chunk-309e49e4.0723424f.js diff --git a/dist/static/js/chunk-3261285a.485b9170.js b/dist/static/js/chunk-3261285a.c7635047.js similarity index 100% rename from dist/static/js/chunk-3261285a.485b9170.js rename to dist/static/js/chunk-3261285a.c7635047.js diff --git a/dist/static/js/chunk-4a1ab742.f4280b87.js b/dist/static/js/chunk-4a1ab742.f4280b87.js deleted file mode 100644 index 51f88393..00000000 --- a/dist/static/js/chunk-4a1ab742.f4280b87.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a1ab742"],{"01a8":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.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(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!t.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:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?s("div",{staticClass:"app-header-top"}):t._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[s("div",{staticClass:"app-header-content-left"},[t._t("left",[s("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),s("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),s("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?s("span",{on:{click:t.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showUserCenter?s("user-center"):t._e()],2)])])},o=[],a=s("1392"),n=s("1d40"),r={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(t){this.isMaxWindowNow=t}},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 t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=r,l=(s("8525"),s("2877")),p=Object(l["a"])(c,i,o,!1,null,"32666977",null);e["a"]=p.exports},"0a7f":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"platform"},[s("app-header",{attrs:{theme:"black",showBackBtn:!0,backBtnTitle:"返回登入"}}),s("div",{staticClass:"platform_section"},[s("div",{staticClass:"platform_title"},[t._v("链接到")]),s("div",{staticClass:"platform_list"},[s("section",{staticClass:"yiyun_warpContent mt-20"},[s("div",{staticClass:"yiyun-rows"},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[s("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),s("span",{staticClass:"noprotext"},[t._v("暂无")])]),t._l(t.platformList,(function(e){return s("div",{key:e.platfromType||e.orgId,staticClass:"yiyun-col-3 yiyun-col-md-4 yiyun-col-sm-6 yiyun-col-ty-12 mb-40"},[s("div",{staticClass:"yiyun_row"},[s("div",{staticClass:"projectbox_item_model"},[s("div",{staticClass:"project_item_model"},[s("div",{staticClass:"yiyun_product_item",on:{click:function(s){return s.stopPropagation(),t.navToPlatform(e)}}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.orgLogo,expression:"platformInfo.orgLogo"}],staticClass:"fandatupian",attrs:{alt:""}}),"COMPANY"!==e.platformType?s("img",{staticClass:"platform_logo",attrs:{src:"static/img/platform/"+("MANAGE_CENTER"===e.platformType?"LOCKING.svg":"template.svg")}}):t._e(),s("div",{staticClass:"clear"}),e.orgLogo?t._e():s("h4",{staticClass:"biaoqianweizhi2",attrs:{title:e.orgName}},[t._v(t._s(e.orgName))])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"COMPANY"===e.platformType&&t.haveAccess(e.accessList,t.AccessCode.CompanyConsole),expression:"platformInfo.platformType === 'COMPANY' && haveAccess(platformInfo.accessList, AccessCode.CompanyConsole)"}],staticClass:"project_gantetubox_warp"},[s("div",{staticClass:"project_gantetubox"}),s("el-button",{staticClass:"likeButton",attrs:{round:""},on:{click:function(s){return t.navToPlatform(e,!0)}}},[s("img",{attrs:{src:"static/img/platform/operate.svg"}}),s("span",[t._v("企业后台")]),s("i",{staticClass:"icon el-icon-arrow-right"})])],1)])])])}))],2)])])])],1)},o=[],a=(s("b64b"),s("96cf"),s("1da1")),n=s("f96e"),r=s("0f13"),c=s("1d40"),l=s("e3fa"),p={components:{AppHeader:n["a"]},mounted:function(){if(console.log("mounted",this.$store),this.$cookie.get("isAutoLogin")){var t="true"===this.$cookie.get("isCompanyConsole"),e=JSON.parse(this.$cookie.get("platformInfo")||"{}");Object.keys(e).length>0&&this.navToPlatform(e,t)}},data:function(){return{haveAccess:r["c"],AccessCode:r["a"]}},methods:{navToPlatform:function(t){var e=arguments,s=this;return Object(a["a"])(regeneratorRuntime.mark((function i(){var o,a,n,p,u,d;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(o=e.length>1&&void 0!==e[1]&&e[1],!c["a"].isClient||"COMPANY"!=t.platformType||o){i.next=15;break}return a=t.orgId,i.next=5,Object(l["a"])(a);case 5:if(n=i.sent,0!=n.Code){i.next=13;break}p=n.Data.company.IpfsApi?n.Data.company.IpfsApi:"",u=n.Data.company.IpfsBootstrap?n.Data.company.IpfsBootstrap:"",d=p+"|"+u,c["a"].initClientConfig(d),i.next=15;break;case 13:return s.$notify({message:"获取企业信息失败, 请稍后重试。",type:["error"],offset:100,duration:5e3}),i.abrupt("return");case 15:s.$store.setCurrentPlatform(t),s.$router.push({path:t.platformType===r["b"].MANAGE_CENTER?"/system":t.platformType===r["b"].TEMPLATE_CONSOLE?"/template":o?"/company":"/index"}).catch((function(t){return console.log(t)})),c["a"].isClient&&s.$cookie.get("isAutoLogin")&&(s.$cookie.set("isCompanyConsole",o),s.$cookie.set("platformInfo",JSON.stringify(t),{expires:7}));case 18:case"end":return i.stop()}}),i)})))()}},computed:{platformList:function(){return this.$store.state.platformList},isEmpty:function(){return 0===this.platformList}}},u=p,d=(s("6ab7"),s("2877")),m=Object(d["a"])(u,i,o,!1,null,"506cc9e0",null);e["default"]=m.exports},"588b":function(t,e,s){},"6ab7":function(t,e,s){"use strict";var i=s("7b3e1"),o=s.n(i);o.a},"7b3e1":function(t,e,s){},8525:function(t,e,s){"use strict";var i=s("588b"),o=s.n(i);o.a},e3fa:function(t,e,s){"use strict";s.d(e,"a",(function(){return a}));s("96cf");var i=s("1da1"),o=s("b775");function a(t){return n.apply(this,arguments)}function n(){return n=Object(i["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("company/queryCompanyById",{id:e});case 2:return s=t.sent,t.abrupt("return",Object(o["c"])(s));case 4:case"end":return t.stop()}}),t)}))),n.apply(this,arguments)}},f96e:function(t,e,s){"use strict";var i=s("01a8");s.d(e,"a",(function(){return i["a"]}))}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-4df53c5e.0709fd8d.js b/dist/static/js/chunk-4df53c5e.5bca4b73.js similarity index 100% rename from dist/static/js/chunk-4df53c5e.0709fd8d.js rename to dist/static/js/chunk-4df53c5e.5bca4b73.js diff --git a/dist/static/js/chunk-5200721f.d4fc42a1.js b/dist/static/js/chunk-5200721f.cf9d6c15.js similarity index 100% rename from dist/static/js/chunk-5200721f.d4fc42a1.js rename to dist/static/js/chunk-5200721f.cf9d6c15.js diff --git a/dist/static/js/chunk-6263de0e.5e15eda6.js b/dist/static/js/chunk-6263de0e.45b0a2a8.js similarity index 100% rename from dist/static/js/chunk-6263de0e.5e15eda6.js rename to dist/static/js/chunk-6263de0e.45b0a2a8.js diff --git a/dist/static/js/chunk-638e5b5a.8057d4a9.js b/dist/static/js/chunk-638e5b5a.bf440753.js similarity index 100% rename from dist/static/js/chunk-638e5b5a.8057d4a9.js rename to dist/static/js/chunk-638e5b5a.bf440753.js diff --git a/dist/static/js/chunk-6d72e803.5c8d36af.js b/dist/static/js/chunk-6d72e803.ed20050e.js similarity index 100% rename from dist/static/js/chunk-6d72e803.5c8d36af.js rename to dist/static/js/chunk-6d72e803.ed20050e.js diff --git a/dist/static/js/chunk-6de2f277.b047f838.js b/dist/static/js/chunk-6de2f277.451709af.js similarity index 100% rename from dist/static/js/chunk-6de2f277.b047f838.js rename to dist/static/js/chunk-6de2f277.451709af.js diff --git a/dist/static/js/chunk-7108be3f.5fb3bf14.js b/dist/static/js/chunk-7108be3f.536c0fb6.js similarity index 100% rename from dist/static/js/chunk-7108be3f.5fb3bf14.js rename to dist/static/js/chunk-7108be3f.536c0fb6.js diff --git a/dist/static/js/chunk-74b26ff1.47d80a8f.js b/dist/static/js/chunk-74b26ff1.44064cf3.js similarity index 100% rename from dist/static/js/chunk-74b26ff1.47d80a8f.js rename to dist/static/js/chunk-74b26ff1.44064cf3.js diff --git a/dist/static/js/chunk-78390ace.28c17e11.js b/dist/static/js/chunk-78390ace.e72d3912.js similarity index 100% rename from dist/static/js/chunk-78390ace.28c17e11.js rename to dist/static/js/chunk-78390ace.e72d3912.js diff --git a/dist/static/js/chunk-7fa4531a.bb239dda.js b/dist/static/js/chunk-7fa4531a.cab52233.js similarity index 100% rename from dist/static/js/chunk-7fa4531a.bb239dda.js rename to dist/static/js/chunk-7fa4531a.cab52233.js diff --git a/dist/static/js/chunk-986f67ac.d3e7f015.js b/dist/static/js/chunk-986f67ac.ff4f3e0f.js similarity index 100% rename from dist/static/js/chunk-986f67ac.d3e7f015.js rename to dist/static/js/chunk-986f67ac.ff4f3e0f.js diff --git a/dist/static/js/chunk-9c6c01fa.32043f6b.js b/dist/static/js/chunk-9c6c01fa.6c6818b3.js similarity index 100% rename from dist/static/js/chunk-9c6c01fa.32043f6b.js rename to dist/static/js/chunk-9c6c01fa.6c6818b3.js diff --git a/dist/static/js/chunk-a245e438.05c017cf.js b/dist/static/js/chunk-a245e438.56e8081e.js similarity index 87% rename from dist/static/js/chunk-a245e438.05c017cf.js rename to dist/static/js/chunk-a245e438.56e8081e.js index b2f02050..a023720b 100644 --- a/dist/static/js/chunk-a245e438.05c017cf.js +++ b/dist/static/js/chunk-a245e438.56e8081e.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a245e438"],{"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("8525"),n("2877")),w=Object(l["a"])(c,i,s,!1,null,"32666977",null);t["a"]=w.exports},"588b":function(e,t,n){},8525:function(e,t,n){"use strict";var i=n("588b"),s=n.n(i);s.a},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 +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a245e438"],{"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("8525"),n("2877")),w=Object(l["a"])(c,i,s,!1,null,"32666977",null);t["a"]=w.exports},"588b":function(e,t,n){},8525:function(e,t,n){"use strict";var i=n("588b"),s=n.n(i);s.a},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:"",backBtnTitle:"返回",onBackBtnClick:e.onBackBtnClick},scopedSlots:e._u([{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:{onBackBtnClick:function(){this.$router.push({name:"platform"})}},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/dist/static/js/chunk-b8cf4c88.5972e15c.js b/dist/static/js/chunk-b8cf4c88.a3e63059.js similarity index 100% rename from dist/static/js/chunk-b8cf4c88.5972e15c.js rename to dist/static/js/chunk-b8cf4c88.a3e63059.js diff --git a/dist/static/js/chunk-c2e1c254.1cc8d008.js b/dist/static/js/chunk-c2e1c254.d0f5f8f2.js similarity index 100% rename from dist/static/js/chunk-c2e1c254.1cc8d008.js rename to dist/static/js/chunk-c2e1c254.d0f5f8f2.js diff --git a/dist/static/js/chunk-690b640b.c1e5bb81.js b/dist/static/js/chunk-db5e9236.e0613d06.js similarity index 64% rename from dist/static/js/chunk-690b640b.c1e5bb81.js rename to dist/static/js/chunk-db5e9236.e0613d06.js index cc548aae..d1739138 100644 --- a/dist/static/js/chunk-690b640b.c1e5bb81.js +++ b/dist/static/js/chunk-db5e9236.e0613d06.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-690b640b"],{"01a8":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.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(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!t.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:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?n("div",{staticClass:"app-header-top"}):t._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[n("div",{staticClass:"app-header-content-left"},[t._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),n("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?n("span",{on:{click:t.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showUserCenter?n("user-center"):t._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(t){this.isMaxWindowNow=t}},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 t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=r,l=(n("8525"),n("2877")),u=Object(l["a"])(c,i,s,!1,null,"32666977",null);e["a"]=u.exports},"266d":function(t,e,n){"use strict";var i=n("8d64"),s=n.n(i);s.a},"588b":function(t,e,n){},8525:function(t,e,n){"use strict";var i=n("588b"),s=n.n(i);s.a},"8d64":function(t,e,n){},ae7f:function(t,e,n){},bb14:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-nav"},t._l(t.list,(function(e){return n("div",{key:e.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===t.currentKey.indexOf(e.key)},on:{click:function(n){return t.goto(e.key)}}},[t._v(" "+t._s(e.label)+" ")])})),0)},s=[],o=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(t){this.$router.push({name:t})}},watch:{$route:function(t){this.currentKey=t.name}}}),a=o,r=(n("c84d"),n("2877")),c=Object(r["a"])(a,i,s,!1,null,"49e804bc",null);e["a"]=c.exports},c84d:function(t,e,n){"use strict";var i=n("ae7f"),s=n.n(i);s.a},f364:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:t.showHeader,expression:"showHeader"}],attrs:{theme:"white"},scopedSlots:t._u([{key:"left",fn:function(){return[t._v("LOCKING")]},proxy:!0},{key:"right",fn:function(){return[n("span",{staticClass:"header-logout",on:{click:t.tryToLogout}},[t._v("退出登录")])]},proxy:!0},{key:"center",fn:function(){return[n("app-nav",{attrs:{list:t.navList}})]},proxy:!0}])}),n("router-view")],1)},s=[],o=(n("13d5"),n("b0c0"),n("f96e")),a=n("bb14"),r=(n("1d40"),function(t,e){return{key:t,label:e}}),c=[r("system_customer","客户列表"),r("system_template","流程模板")],l=c.reduce((function(t,e){return t[e.key]=!0,t}),{});l["system_template_file"]=!0;var u=function(t){return l[t]},w={components:{AppHeader:o["a"],AppNav:a["a"]},data:function(){return{showHeader:u(this.$route.name),navList:c}},methods:{tryToLogout:function(){var t=this;this.$confirm("退出当前账户,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){t.$store.logout(),t.$router.push({path:"/",query:{isChangeCount:!0}})})).catch((function(t){return console.log(t)}))}},watch:{$route:function(t){this.showHeader=u(t.name)}}},d=w,h=(n("266d"),n("2877")),p=Object(h["a"])(d,i,s,!1,null,"4017b5e2",null);e["default"]=p.exports},f96e:function(t,e,n){"use strict";var i=n("01a8");n.d(e,"a",(function(){return i["a"]}))}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-db5e9236"],{"01a8":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?n("div",{staticClass:"app-header-top"},[n("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[n("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),n("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[n("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),n("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.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(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!t.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:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?n("div",{staticClass:"app-header-top"}):t._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[n("div",{staticClass:"app-header-content-left"},[t._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),n("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),n("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?n("span",{on:{click:t.toRecycle}},[n("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showUserCenter?n("user-center"):t._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(t){this.isMaxWindowNow=t}},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 t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=r,l=(n("8525"),n("2877")),u=Object(l["a"])(c,i,s,!1,null,"32666977",null);e["a"]=u.exports},"17b3":function(t,e,n){},"588b":function(t,e,n){},7837:function(t,e,n){"use strict";var i=n("17b3"),s=n.n(i);s.a},8525:function(t,e,n){"use strict";var i=n("588b"),s=n.n(i);s.a},ae7f:function(t,e,n){},bb14:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-nav"},t._l(t.list,(function(e){return n("div",{key:e.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===t.currentKey.indexOf(e.key)},on:{click:function(n){return t.goto(e.key)}}},[t._v(" "+t._s(e.label)+" ")])})),0)},s=[],o=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(t){this.$router.push({name:t})}},watch:{$route:function(t){this.currentKey=t.name}}}),a=o,r=(n("c84d"),n("2877")),c=Object(r["a"])(a,i,s,!1,null,"49e804bc",null);e["a"]=c.exports},c84d:function(t,e,n){"use strict";var i=n("ae7f"),s=n.n(i);s.a},f364:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:t.showHeader,expression:"showHeader"}],attrs:{theme:"white",backBtnTitle:"返回",onBackBtnClick:t.onBackBtnClick},scopedSlots:t._u([{key:"right",fn:function(){return[n("span",{staticClass:"header-logout",on:{click:t.tryToLogout}},[t._v("退出登录")])]},proxy:!0},{key:"center",fn:function(){return[n("app-nav",{attrs:{list:t.navList}})]},proxy:!0}])}),n("router-view")],1)},s=[],o=(n("13d5"),n("b0c0"),n("f96e")),a=n("bb14"),r=(n("1d40"),function(t,e){return{key:t,label:e}}),c=[r("system_customer","客户列表"),r("system_template","流程模板")],l=c.reduce((function(t,e){return t[e.key]=!0,t}),{});l["system_template_file"]=!0;var u=function(t){return l[t]},w={components:{AppHeader:o["a"],AppNav:a["a"]},data:function(){return{showHeader:u(this.$route.name),navList:c}},methods:{onBackBtnClick:function(){this.$router.push({name:"platform"})},tryToLogout:function(){var t=this;this.$confirm("退出当前账户,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){t.$store.logout(),t.$router.push({path:"/",query:{isChangeCount:!0}})})).catch((function(t){return console.log(t)}))}},watch:{$route:function(t){this.showHeader=u(t.name)}}},d=w,h=(n("7837"),n("2877")),p=Object(h["a"])(d,i,s,!1,null,"f67b3230",null);e["default"]=p.exports},f96e:function(t,e,n){"use strict";var i=n("01a8");n.d(e,"a",(function(){return i["a"]}))}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-ef8ce8b2.0b3c302a.js b/dist/static/js/chunk-ef8ce8b2.1e745ff9.js similarity index 100% rename from dist/static/js/chunk-ef8ce8b2.0b3c302a.js rename to dist/static/js/chunk-ef8ce8b2.1e745ff9.js diff --git a/dist/static/js/chunk-f695b3ca.b106827f.js b/dist/static/js/chunk-f695b3ca.2bee9b1d.js similarity index 100% rename from dist/static/js/chunk-f695b3ca.b106827f.js rename to dist/static/js/chunk-f695b3ca.2bee9b1d.js diff --git a/dist/static/js/chunk-fc0ddb7a.7247973d.js b/dist/static/js/chunk-fc0ddb7a.ecbfefc5.js similarity index 100% rename from dist/static/js/chunk-fc0ddb7a.7247973d.js rename to dist/static/js/chunk-fc0ddb7a.ecbfefc5.js